/* ==========================================================================
   Romera Bois — maquette reproduisant le système visuel « Lumbert Home Carpenter »
   Valeurs relevées sur https://lumbert.like-themes.com/ (1440×900 et 390×844).
   Code original : aucun fichier CSS/JS du thème n'est repris.
   ========================================================================== */

@font-face {
  font-family: "Zalando Sans SemiExpanded";
  src: url("../fonts/zalando-sans-semiexpanded-latin.woff2") format("woff2");
  font-weight: 300 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zalando Sans SemiExpanded";
  src: url("../fonts/zalando-sans-semiexpanded-latin-ext.woff2") format("woff2");
  font-weight: 300 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Palette Lumbert Carpenter (variables relevées sur la démo) */
  --main: #b34325;        /* terre cuite : boutons, sous-titres, icônes */
  --second: #2a3f33;      /* vert forêt : sections sombres, survol des boutons */
  --gray: #c7b98d;        /* sable : éléments actifs, sous-titres sur fond sombre */
  --gray-light: #eeeee5;  /* lin : textes clairs, fonds de cartes */
  --black: #1a1c1e;       /* ébène */
  --white: #ffffff;
  --header-sticky: rgba(25, 38, 31, 0.95);
  --font: "Zalando Sans SemiExpanded", "Helvetica Neue", Arial, sans-serif;
  --radius: 24px;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* ≈ gsap power1.out */
  --container: 1400px;
  --gutter: 15px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--white); color: var(--black);
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 300;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
main, .site-footer { overflow-x: clip; } /* les états initiaux des apparitions (scale 2, ±50 px) ne doivent pas élargir la page */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; text-transform: uppercase; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gray); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* --- Titres partagés --------------------------------------------------- */
.subheader { font-size: 10px; line-height: 1; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--main); margin-bottom: 20px; }
.subheader--center, .section-title--center { text-align: center; }
.section-title { font-size: 36px; line-height: 1.2; color: var(--black); }

/* --- Boutons (Lumbert .lte-btn.btn-main.color-hover-second) ------------ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; height: 60px; padding: 17px 24px; border-radius: 32px; overflow: hidden; isolation: isolate;
  font-size: 10px; line-height: 1.6; font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border 0.25s;
}
.btn--main { background: var(--main); color: var(--white); }
.btn::before, .btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 0; z-index: -1; opacity: 0;
  background: var(--second); transition: 0.45s ease-out;
}
.btn::before { left: 50%; }
.btn::after { right: 50%; }
.btn:hover::before, .btn:hover::after, .btn:focus-visible::before, .btn:focus-visible::after { width: 50%; opacity: 1; }
.btn span { position: relative; }

/* --- Préchargeur (pace + spinner terre cuite) --------------------------- */
.preloader { position: fixed; inset: 0; z-index: 100000; background: var(--white); display: grid; place-items: center; transition: opacity 0.5s, visibility 0.5s; }
.preloader__ring { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--main); border-right-color: transparent; animation: rb-spin 1.25s linear infinite; }
.is-loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes rb-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   EN-TÊTE : transparent sur le hero, puis fixe vert forêt dès que l'on défile
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; transition: background 0.25s; }
.site-header__inner { position: relative; display: flex; align-items: center; height: 150px; padding: 0 30px; transition: height 0.25s; }
.site-header.is-sticky { background: var(--header-sticky); }
.site-header.is-sticky .site-header__inner { height: 100px; }

.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: var(--gray-light); flex: 0 0 auto; }
.brand__mark { width: 58px; height: 58px; color: var(--gray-light); transition: width 0.25s, height 0.25s; }
.brand__name { font-size: 10px; line-height: 1.1; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; text-align: center; }
.site-header.is-sticky .brand__mark { width: 40px; height: 40px; }
.site-header.is-sticky .brand__name { font-size: 8px; }

.nav-desktop { position: absolute; left: 50%; transform: translateX(-50%); }
.header-icons { margin-left: auto; }
.nav-desktop__list { display: flex; }
.nav-desktop__list > li { position: relative; }
.nav-desktop__list > li > a {
  display: inline-flex; align-items: center; gap: 4px; padding: 0 16px; height: 26px;
  font-size: 12px; line-height: 25.6px; font-weight: 300; text-transform: uppercase; color: var(--gray-light);
  transition: color 0.4s;
}
.nav-desktop__list > li > a:hover, .nav-desktop__list > li:hover > a, .nav-desktop__list a.is-current { color: var(--gray); }
.nav-caret { width: 8px; height: 8px; transform: rotate(90deg); opacity: 0.8; }
.nav-desktop .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px; margin-top: 22px; padding: 10px 0;
  background: var(--white); border-radius: 12px; box-shadow: 0 12px 30px rgba(26, 28, 30, 0.12);
  opacity: 0; transform: translateY(15px); pointer-events: none; transition: 0.3s linear;
}
.nav-desktop .has-children::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 30px; }
.nav-desktop .has-children:hover > .sub-menu, .nav-desktop .has-children:focus-within > .sub-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-desktop .sub-menu a { display: block; padding: 10px 24px; font-size: 13px; font-weight: 400; color: var(--black); transition: background 0.2s; }
.nav-desktop .sub-menu a:hover { background: var(--gray-light); }

.header-icons { display: flex; gap: 26px; flex: 0 0 auto; }
.header-icons a { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 300; text-transform: lowercase; color: var(--gray-light); transition: color 0.3s; }
.header-icons a:hover { color: var(--gray); }
.header-icons svg { width: 18px; height: 18px; }

.nav-toggle { display: none; width: 30px; height: 22px; position: relative; margin-left: auto; }
.nav-toggle span { position: absolute; left: 0; right: 0; height: 2px; background: var(--gray-light); border-radius: 2px; transition: transform 0.3s; }
.nav-toggle span:nth-child(1) { top: 2px; } .nav-toggle span:nth-child(2) { top: 10px; } .nav-toggle span:nth-child(3) { top: 18px; }

/* Menu mobile plein écran (ébène) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 10001; background: var(--black); color: var(--white);
  padding: 22px 30px 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateX(-100%); transition: transform 0.5s var(--ease-out), opacity 0.5s, visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateX(0); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 34px; }
.brand--small .brand__mark { width: 40px; height: 40px; }
.brand--small .brand__name { font-size: 8px; }
.mobile-menu__close { width: 30px; height: 30px; position: relative; }
.mobile-menu__close::before, .mobile-menu__close::after { content: ""; position: absolute; left: 2px; right: 2px; top: 14px; height: 2px; background: var(--white); transform: rotate(45deg); }
.mobile-menu__close::after { transform: rotate(-45deg); }
.mobile-menu__list > li { position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.mobile-menu__list > li > a { display: block; padding: 10px 40px 10px 0; font-size: 20px; line-height: 1.4; font-weight: 600; text-transform: none; color: var(--white); }
.mobile-menu__list a.is-current { color: var(--gray); }
.sub-toggle { position: absolute; right: 0; top: 8px; width: 32px; height: 32px; }
.sub-toggle::before, .sub-toggle::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 2px; background: var(--white); transition: transform 0.3s; }
.sub-toggle::after { transform: rotate(90deg); }
.sub-toggle[aria-expanded="true"]::after { transform: rotate(0); }
.mobile-menu .sub-menu { max-height: 0; overflow: hidden; visibility: hidden; transition: max-height 0.35s ease, visibility 0.35s; }
.mobile-menu .has-children.is-expanded .sub-menu { max-height: 260px; visibility: visible; padding-bottom: 10px; }
.mobile-menu .sub-menu a { display: block; padding: 6px 0 6px 14px; font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.mobile-menu__icons { display: flex; gap: 22px; margin: 34px 0 26px; }
.mobile-menu__icons svg { width: 22px; height: 22px; }
.mobile-menu__cta { width: 100%; }

/* ==========================================================================
   HERO — zoom slider : fondu 1 s, zoom 1 → 1,2 sur 20 s, 4 500 ms par diapositive
   ========================================================================== */
.hero { position: relative; height: 1018px; overflow: hidden; background: var(--black); color: var(--gray-light); }
.hero__slides, .hero__bg, .hero__overlay { position: absolute; inset: 0; }
.hero__bg { background-size: cover; background-position: center; opacity: 0; transform: scale(1); transition: transform 20s ease-out, opacity 1s; will-change: transform, opacity; }
.hero__bg.is-active { opacity: 1; transform: scale(1.2); }
.hero__bg.is-leaving { opacity: 0; transition: opacity 1s; } /* transform figé en JS à sa valeur courante */
.hero__bg.is-reset { transition: none; }
.hero__overlay { background: var(--black); opacity: 0.6; }
.hero__texts { position: relative; z-index: 2; height: 100%; }
.hero__text { position: absolute; left: 118px; top: 128px; right: 160px; opacity: 0; transform: translateY(-10%); transition: opacity 1s, transform 1s; pointer-events: none; }
.hero__text.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero__subtitle { width: 300px; min-height: 76px; font-size: 18px; line-height: 1.4; font-weight: 500; text-transform: uppercase; color: var(--gray-light); }
.hero__title { margin-top: 34px; padding: 10px 0; font-size: 100px; line-height: 1; font-weight: 500; text-transform: uppercase; color: var(--gray-light); }
.hero__actions { display: flex; align-items: center; gap: 30px; margin-top: 58px; }
.video-link { display: inline-flex; align-items: center; gap: 16px; color: var(--gray-light); }
.video-link__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--gray-light); color: var(--black); display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.video-link__icon svg { width: 18px; height: 18px; margin-left: 3px; }
.video-link:hover .video-link__icon { background: var(--main); color: var(--white); }
.video-link__label { font-size: 14px; line-height: 1.3; font-weight: 400; text-transform: uppercase; transition: color 0.5s; }
.video-link:hover .video-link__label { color: var(--gray); }
.hero__bullets { position: absolute; z-index: 3; right: 72px; top: 50%; transform: translateY(-50%); display: block; padding: 0.02px 0; }
.hero__bullet { position: relative; display: block; width: 36px; height: 36px; margin: 20px 8px; border-radius: 50%; border: 2px solid transparent; transition: border-color 0.3s; }
.hero__bullet::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gray-light); transition: background 0.3s; }
.hero__bullet.is-active { border-color: var(--gray); }
.hero__bullet.is-active::before, .hero__bullet:hover::before { background: var(--gray); }

/* ==========================================================================
   À PROPOS
   ========================================================================== */
.about { position: relative; padding: 120px 0; overflow: hidden; }
.about::before {
  /* anneaux de croissance dessinés (remplace l'image décorative du thème) */
  content: ""; position: absolute; right: -180px; top: 40px; width: 760px; height: 760px; pointer-events: none; opacity: 0.55;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 17px, rgba(26, 28, 30, 0.07) 17px 18px);
  -webkit-mask: radial-gradient(circle, #000 55%, transparent 71%); mask: radial-gradient(circle, #000 55%, transparent 71%);
}
.about__grid { position: relative; display: grid; grid-template-columns: 561px 1fr; column-gap: 147px; align-items: start; }
.about__main-img img { width: 561px; height: 647px; object-fit: cover; border-radius: var(--radius); }
.about__content { padding-top: 10px; max-width: 678px; }
.about__content .section-title { margin-bottom: 19px; }
.about__text { max-width: 400px; color: rgba(20, 20, 20, 0.76); }
.about__thumbs { display: flex; gap: 29px; margin-top: 47px; }
.about__thumbs img { width: 324px; height: 324px; object-fit: cover; border-radius: var(--radius); }

/* ==========================================================================
   ATOUTS (4 pictogrammes)
   ========================================================================== */
.features { padding: 0 0 120px; }
.features__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature { text-align: center; padding: 0 20px; }
.feature__icon { width: 70px; height: 70px; margin: 0 auto 26px; fill: none; stroke: var(--main); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.feature__title { font-size: 18px; line-height: 1; margin-bottom: 14px; }
.feature p { font-size: 14px; line-height: 1.6; max-width: 250px; margin: 0 auto; }

/* ==========================================================================
   SAVOIR-FAIRE — accordéon photo (flex 1 → 50 %, titre −90° → 0°)
   ========================================================================== */
.services { background: var(--second); padding: 120px 0; color: var(--gray-light); }
.services__subtitle { text-align: center; font-size: 18px; line-height: 1.4; font-weight: 500; text-transform: uppercase; color: var(--gray); margin-bottom: 20px; }
.services__title { text-align: center; font-size: 90px; line-height: 1; color: var(--gray-light); margin-bottom: 20px; }
.services__row { display: flex; margin: 0 calc(var(--gutter) * -1); padding-top: 20px; }
.service-card { flex: 1 1 0%; padding: 0 15px; transition: flex 0.45s ease-in-out; min-width: 0; }
.service-card__inner { position: relative; display: block; height: 800px; border-radius: var(--radius); overflow: hidden; }
.service-card__photo { position: absolute; inset: 0; overflow: hidden; }
.service-card__photo::before { content: ""; position: absolute; inset: 0; background: var(--black); opacity: 0.3; z-index: 1; pointer-events: none; }
.service-card__photo img { width: 200%; max-width: none; height: 100%; object-fit: cover; transition: width 0.45s ease-in-out; }
.service-card__info { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.service-card__title { display: block; font-size: 36px; line-height: 1; font-weight: 500; text-transform: uppercase; white-space: nowrap; color: var(--gray-light); transform: rotate(-90deg); transition: transform 0.65s; }
@media (min-width: 992px) {
  .service-card:hover { flex: 1 1 50%; }
  .service-card:hover .service-card__photo img { width: 100%; }
  .service-card:hover .service-card__title { transform: rotate(0deg); }
}

/* ==========================================================================
   PRESTATIONS (structure du bloc tarifaire, sans aucun prix)
   ========================================================================== */
.prestations { padding: 120px 0 100px; }
.prestations .section-title { margin-bottom: 70px; }
.prestations__grid { display: grid; grid-template-columns: 1fr 395px 1fr; gap: 0 100px; align-items: center; }
.prestations__group { font-size: 10px; letter-spacing: 2px; font-weight: 500; text-transform: uppercase; color: var(--main); margin-bottom: 18px; }
.presta + .presta { margin-top: 36px; }
.presta__head { display: flex; align-items: flex-start; gap: 14px; }
.presta__head h3 { font-size: 18px; line-height: 1.3; white-space: nowrap; }
.presta__line { flex: 1 1 auto; height: 1px; margin-top: 12px; background: rgba(26, 28, 30, 0.15); }
.presta__num { font-size: 18px; line-height: 1.3; font-weight: 500; white-space: nowrap; }
.presta__num sup { font-size: 10px; vertical-align: top; margin-right: 2px; position: relative; top: -2px; }
.presta p { font-size: 16px; line-height: 1.6; color: rgba(26, 28, 30, 0.7); margin-top: 3px; }
.prestations__center img { width: 395px; height: 381px; object-fit: contain; }

/* ==========================================================================
   MÉTHODE (carte blanche sur fond lin)
   ========================================================================== */
.method { background: var(--gray-light); padding: 140px 0; }
.method .container { max-width: none; padding: 0; }
.method__card { position: relative; display: grid; grid-template-columns: 594px 1fr; background: var(--white); border-radius: var(--radius); min-height: 877px; }
.method__content { padding: 64px 0 64px 64px; display: flex; flex-direction: column; justify-content: center; }
.method__title { font-size: 36px; line-height: 1.1; max-width: 530px; margin-bottom: 70px; }
.method__item { display: flex; align-items: center; gap: 30px; }
.method__item + .method__item { margin-top: 48px; }
.method__item img { flex: 0 0 100px; width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.method__item h3 { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.method__item p { font-size: 14px; line-height: 1.6; max-width: 380px; }
.method__media { position: relative; }
.method__media img { position: absolute; right: 40px; bottom: 0; top: -30px; width: 748px; max-width: calc(100% - 40px); height: calc(100% + 30px); object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }

/* ==========================================================================
   CARNET DE PROJETS (emplacement témoignages)
   ========================================================================== */
.projects { padding: 130px 0; }
.projects .section-title { margin-bottom: 60px; }
.carousel__viewport { overflow: hidden; margin: 0 -15px; padding: 0 15px; touch-action: pan-y; }
.carousel__track { display: flex; transition: transform 1s var(--ease-out); will-change: transform; }
.project-card { flex: 0 0 calc(100% / 3); padding: 0 15px; }
.project-card__inner { height: 100%; min-height: 395px; padding: 70px 45px 60px; border-radius: var(--radius); background: var(--white); text-align: center; transition: background 0.5s; }
.project-card.is-highlight .project-card__inner { background: var(--gray-light); }
.project-card__quote { display: block; height: 40px; font-size: 80px; line-height: 0.9; font-weight: 600; color: var(--main); font-style: italic; }
.project-card__text { margin: 20px auto 26px; font-size: 18px; line-height: 1.75; font-weight: 500; font-style: italic; max-width: 330px; }
.project-card__thumb { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; }
.project-card__name { font-size: 14px; line-height: 2; }
.project-card__meta { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); font-weight: 500; }
.carousel__bullets { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.carousel__bullet { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 1px solid transparent; transition: border-color 0.3s; }
.carousel__bullet::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--black); transition: background 0.3s; }
.carousel__bullet.is-active { border-color: var(--gray); }
.carousel__bullet.is-active::before { background: var(--gray); }

/* ==========================================================================
   BANDEAU PARALLAXE (background-attachment: fixed, comme la démo)
   ========================================================================== */
.parallax-band { position: relative; height: 600px; display: grid; place-items: center; background-size: cover; background-position: center; background-attachment: fixed; }
.parallax-band__overlay { position: absolute; inset: 0; background: var(--black); opacity: 0.35; }
.parallax-band__link { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 30px; color: var(--gray-light); text-align: center; }
.parallax-band__circle { width: 170px; height: 170px; border-radius: 50%; border: 1px solid rgba(238, 238, 229, 0.9); display: grid; place-items: center; transition: transform 0.5s var(--ease-out), background 0.4s; }
.parallax-band__circle svg { width: 34px; height: 34px; }
.parallax-band__link:hover .parallax-band__circle { transform: scale(1.06); background: rgba(238, 238, 229, 0.12); }
.parallax-band__title { font-size: 36px; line-height: 1.3; font-weight: 500; text-transform: uppercase; }

/* ==========================================================================
   SAVOIR-FAIRE EN MOTS (emplacement logos partenaires)
   ========================================================================== */
.marks { background: var(--second); padding: 100px 0; }
.marks__list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; }
.mark { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 140px; color: var(--gray-light); opacity: 0.5; transition: opacity 0.3s; }
.mark:hover { opacity: 1; }
.mark svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.mark svg use { fill: currentColor; stroke: none; }
.mark span { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; }

/* ==========================================================================
   FAQ (accordéon <details>, 400 ms)
   ========================================================================== */
.faq { padding: 120px 0; }
.faq__grid { display: grid; grid-template-columns: 618px 1fr; gap: 65px; align-items: start; padding-left: 30px; }
.faq .section-title { margin-bottom: 20px; }
.accordion { max-width: 500px; }
.accordion__item { border-bottom: 2px solid rgba(0, 0, 0, 0.08); }
.accordion__item summary {
  position: relative; list-style: none; cursor: pointer; padding: 18px 50px 18px 0;
  font-size: 16px; line-height: 1.6; font-weight: 500; text-transform: uppercase; color: var(--black);
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon { position: absolute; right: 0; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--main); transition: background 0.3s; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 7px; right: 7px; top: 11px; height: 2px; background: var(--white); transition: transform 0.4s; }
.accordion__icon::after { transform: rotate(90deg); }
.accordion__item[open] .accordion__icon::after { transform: rotate(0); }
.accordion__item summary:hover .accordion__icon { background: var(--second); }
.accordion__content { overflow: hidden; transition: height 0.4s ease; }
.accordion__content p { padding: 0 0 20px; color: rgba(26, 28, 30, 0.75); }
.accordion__content a { color: var(--main); }
.faq__media img { width: 625px; height: 504px; object-fit: contain; }

/* ==========================================================================
   DEMANDE DE DEVIS (carte lin sur photo)
   ========================================================================== */
.quote { padding: 140px 0; background-size: cover; background-position: center; position: relative; }
.quote::before { content: ""; position: absolute; inset: 0; background: var(--black); opacity: 0.25; }
.quote .container { position: relative; }
.quote__card { width: 770px; max-width: 100%; margin: 0 auto; padding: 100px 130px 100px 140px; background: var(--gray-light); border-radius: var(--radius); }
.quote__title { font-size: 36px; line-height: 1.4; margin-bottom: 31px; }
.field { display: block; margin-bottom: 24px; }
.field input, .field select {
  width: 100%; height: 48px; padding: 14px 26px 10px 0; border: 0; border-bottom: 1px solid rgba(26, 28, 30, 0.2); border-radius: 0;
  background: transparent; font: inherit; font-size: 16px; font-weight: 300; color: var(--black); transition: border-color 0.3s;
}
.field input::placeholder { color: rgba(26, 28, 30, 0.75); }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--main); }
.field--select { position: relative; }
.field--select select { appearance: none; -webkit-appearance: none; cursor: pointer; color: rgba(26, 28, 30, 0.75); }
.field--select::after { content: ""; position: absolute; right: 6px; top: 18px; width: 8px; height: 8px; border-right: 1.5px solid var(--black); border-bottom: 1.5px solid var(--black); transform: rotate(45deg); pointer-events: none; }
.quote__bottom { display: flex; align-items: center; gap: 30px; margin-top: 49px; }
.quote__bottom .btn { height: 54px; }
.quote__alt p { font-size: 16px; line-height: 1.4; font-weight: 500; color: rgba(20, 20, 20, 0.5); }
.quote__alt a { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--black); }
.quote__alt svg { width: 18px; height: 18px; color: var(--main); }
.quote__status { margin-top: 24px; padding: 14px 18px; border-radius: 12px; background: var(--white); font-size: 14px; border-left: 3px solid var(--main); }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.site-footer { position: relative; background-color: var(--second); color: var(--gray-light); padding: 60px 0 0; overflow: hidden; }
.site-footer::before {
  /* veinage dessiné (remplace la texture du thème) */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background: repeating-radial-gradient(ellipse 140% 60% at 85% 120%, transparent 0 22px, rgba(0, 0, 0, 0.22) 22px 23px);
}
.site-footer__grid { position: relative; display: grid; grid-template-columns: 637px 256px 1fr; padding: 0 25px 120px; }
.brand--footer .brand__mark { width: 70px; height: 70px; }
.brand--footer { margin-bottom: 40px; }
.site-footer__title { font-size: 36px; line-height: 1; color: var(--gray-light); margin-bottom: 36px; }
.site-footer__about p { max-width: 360px; font-size: 14px; line-height: 1.8; color: rgba(238, 238, 229, 0.58); }
.social { display: flex; gap: 6px; margin-top: 30px; margin-left: -9px; }
.social a { display: grid; place-items: center; width: 36px; height: 30px; color: var(--gray-light); transition: color 0.3s; }
.social a:hover { color: var(--gray); }
.social svg { width: 19px; height: 19px; }
.site-footer__heading { font-size: 18px; line-height: 1; color: var(--gray); margin: 70px 0 40px; }
.site-footer__menu a { display: inline-block; padding: 7px 0; font-size: 14px; line-height: 25.6px; font-weight: 500; text-transform: uppercase; background: linear-gradient(var(--gray), var(--gray)) no-repeat left bottom / 0 2px; transition: background-size 0.4s, color 0.4s; }
.site-footer__menu a::before { content: "›"; margin-right: 8px; color: var(--gray); }
.site-footer__menu a:hover { color: var(--gray); background-size: 100% 2px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; font-size: 14px; line-height: 1.6; }
.contact-list__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: rgba(238, 238, 229, 0.08); display: grid; place-items: center; color: var(--gray); }
.contact-list__icon svg { width: 18px; height: 18px; }
.contact-list__label { display: block; font-size: 14px; line-height: 1.3; font-weight: 500; text-transform: uppercase; color: rgba(238, 238, 229, 0.58); }
.contact-list a:hover { color: var(--gray); }
.copyright { position: relative; padding: 36px 15px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.8); border-top: 1px solid rgba(238, 238, 229, 0.08); }

/* Bouton retour haut (texte circulaire) */
.go-top { position: fixed; right: 26px; bottom: 26px; z-index: 900; width: 64px; height: 64px; border-radius: 50%; background: var(--gray); color: var(--black); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 0.4s, visibility 0.4s, transform 0.4s, background 0.3s, color 0.3s; }
.go-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.go-top:hover { background: transparent; color: var(--main); box-shadow: inset 0 0 0 1px var(--main); }
.go-top__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: rb-spin 12s linear infinite; }
.go-top__text text { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; fill: currentColor; }
.go-top__arrow { width: 16px; height: 16px; }

/* ==========================================================================
   PAGES INTÉRIEURES
   ========================================================================== */
.page-header { position: relative; height: 573px; display: grid; place-items: center; text-align: center; color: var(--gray-light); background-size: cover; background-position: center; background-attachment: fixed; }
.page-header::before { content: ""; position: absolute; inset: 0; background: var(--black); opacity: 0.55; }
.page-header__inner { position: relative; padding-top: 110px; }
.page-header h1 { font-size: 60px; line-height: 1.2; color: var(--gray-light); }
.breadcrumbs { margin-top: 18px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500; }
.breadcrumbs a { color: var(--gray-light); }
.breadcrumbs span { color: var(--gray); }
.breadcrumbs a::after { content: "/"; margin: 0 10px; opacity: 0.6; }

.gallery-section { padding: 100px 0 40px; }
.gallery-section + .gallery-section { padding-top: 40px; }
.gallery-section .container { max-width: 1310px; }
.gallery-section__head { margin-bottom: 40px; }
.gallery-section__head p:not(.subheader) { max-width: 640px; color: rgba(26, 28, 30, 0.7); margin-top: 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.gallery__item { margin: 0; }
.gallery__photo { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--gray-light); }
.gallery__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); transition: transform 0.4s; }
.gallery__photo:hover img { transform: scale(1.15); }
.gallery__item figcaption { padding-top: 14px; font-size: 14px; line-height: 1.5; font-weight: 500; text-transform: uppercase; }
.gallery__item figcaption small { display: block; font-size: 13px; text-transform: none; font-weight: 300; color: rgba(26, 28, 30, 0.6); }
.gallery-cta { padding: 60px 0 120px; text-align: center; }
.gallery-cta p { margin-bottom: 26px; }

.lightbox { position: fixed; inset: 0; z-index: 20000; background: rgba(26, 28, 30, 0.94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 88vw; max-height: 80vh; border-radius: 12px; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 4vh; text-align: center; color: var(--gray-light); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.lightbox__btn { position: absolute; width: 56px; height: 56px; border-radius: 50%; color: var(--gray-light); display: grid; place-items: center; border: 1px solid rgba(238, 238, 229, 0.3); transition: background 0.3s; }
.lightbox__btn:hover { background: var(--main); border-color: var(--main); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: 24px; right: 24px; font-size: 28px; line-height: 1; }
.lightbox__prev { left: 24px; top: 50%; margin-top: -28px; transform: scaleX(-1); }
.lightbox__next { right: 24px; top: 50%; margin-top: -28px; }

.story { padding: 120px 0; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.story__text p + p { margin-top: 18px; }
.story__text .section-title { margin-bottom: 30px; }
.story__media { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.story__media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.story__media img:first-child { aspect-ratio: 3 / 4; }
.story__media img:last-child { aspect-ratio: 1 / 2; object-position: top; }
.facts { background: var(--gray-light); padding: 100px 0; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.fact { background: var(--white); border-radius: var(--radius); padding: 40px 30px; }
.fact h3 { font-size: 18px; margin: 18px 0 12px; }
.fact p { font-size: 14px; }
.fact__num { font-size: 36px; font-weight: 500; color: var(--main); line-height: 1; }

.contact-page { padding: 120px 0; }
.contact-page__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.contact-page .contact-list li { color: var(--black); }
.contact-page .contact-list__icon { background: var(--gray-light); color: var(--main); }
.contact-page .contact-list__label { color: rgba(26, 28, 30, 0.55); }
.contact-page .contact-list a { color: var(--black); }
.contact-page .contact-list a:hover { color: var(--main); }
.note { margin-top: 30px; padding: 18px 22px; border-radius: 16px; background: var(--gray-light); font-size: 14px; }

/* ==========================================================================
   APPARITIONS AU DÉFILEMENT (GSAP ScrollTrigger de la démo → IntersectionObserver)
   déclenchement « top 80 % », une seule fois, 0,8 s, décalage 0,15 s
   ========================================================================== */
.js [data-reveal-group] > * { opacity: 0; transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.15s); }
.js [data-reveal-group="scaleDown"] > * { transform: scale(2); }
.js [data-reveal-group="fadeLeft"] > * { transform: translateX(-50px); }
.js [data-reveal-group="fadeRight"] > * { transform: translateX(50px); }
.js [data-reveal-group="fadeUp"] > * { transform: translateY(50px); }
.js [data-reveal-group].is-revealed > * { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1399px) {
  .about__grid { grid-template-columns: minmax(0, 561px) 1fr; column-gap: 80px; }
  .about__main-img img { width: 100%; }
  .about__thumbs img { width: calc(50% - 15px); height: auto; aspect-ratio: 1; }
  .method__card { grid-template-columns: 560px 1fr; }
  .faq__grid { grid-template-columns: minmax(0, 560px) 1fr; }
  .faq__media img { width: 100%; height: auto; }
  .site-footer__grid { grid-template-columns: 1.6fr 0.7fr 1fr; }
}
@media (max-width: 1199px) {
  .nav-desktop, .header-icons { display: none; }
  .nav-toggle { display: block; }
  .site-header__inner, .site-header.is-sticky .site-header__inner { height: 90px; padding: 0 20px; }
  .site-header { background: var(--header-sticky); }
  .brand__mark, .site-header.is-sticky .brand__mark { width: 40px; height: 40px; }
  .brand__name, .site-header.is-sticky .brand__name { font-size: 8px; }
  .hero__title { font-size: 80px; }
  .services__title { font-size: 70px; }
  .prestations__grid { grid-template-columns: 1fr 300px 1fr; gap: 0 50px; }
  .prestations__center img { width: 300px; height: auto; }
  .marks__list { grid-template-columns: repeat(3, 1fr); }
  .faq__grid { padding-left: var(--gutter); }
}
@media (max-width: 991px) {
  .hero { height: 900px; }
  .hero__text { left: 40px; right: 40px; top: 170px; }
  .hero__title { font-size: 64px; }
  .hero__bullets { right: 16px; }
  .about__grid, .faq__grid, .story__grid, .contact-page__grid { grid-template-columns: 1fr; row-gap: 60px; }
  .about__content { max-width: none; }
  .about__main-img img { height: auto; aspect-ratio: 561 / 647; }
  .features__list { grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
  .services__row { flex-wrap: wrap; row-gap: 30px; }
  .service-card { flex: 0 0 50%; }
  .service-card__photo img { width: 100%; }
  .prestations__grid { grid-template-columns: 1fr; gap: 60px; }
  .prestations__center { order: -1; justify-self: center; }
  .method .container { padding: 0 var(--gutter); }
  .method__card { grid-template-columns: 1fr; }
  .method__content { padding: 50px 40px; }
  .method__media { height: 560px; }
  .method__media img { position: static; width: 100%; max-width: none; height: 100%; border-radius: 0 0 var(--radius) var(--radius); }
  .project-card { flex-basis: 50%; }
  .faq__media { max-width: 625px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .site-footer__about { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .parallax-band, .page-header { background-attachment: scroll; }
}
@media (max-width: 767px) {
  .hero { height: 850px; }
  .hero__text { left: 20px; right: 20px; top: 150px; text-align: center; }
  .hero__subtitle { width: auto; font-size: 15px; }
  .hero__title { font-size: 48px; margin-top: 24px; }
  .hero__actions { flex-direction: column; gap: 24px; margin-top: 40px; }
  .hero__bullets { top: auto; bottom: 20px; right: 50%; transform: translateX(50%); display: flex; }
  .hero__bullet { margin: 0 4px; }
  .section-title, .method__title { font-size: 30px; }
  .about, .faq, .projects { padding: 90px 0; }
  .about__thumbs { gap: 20px; }
  .about__thumbs img { width: calc(50% - 10px); }
  .features__list { grid-template-columns: 1fr; }
  .services { padding: 90px 0; }
  .services__title { font-size: 48px; }
  .presta__head h3 { white-space: normal; }
  .method { padding: 90px 0; }
  .method__content { padding: 40px 24px; }
  .method__item { align-items: flex-start; gap: 20px; }
  .method__item img { flex-basis: 72px; width: 72px; height: 72px; }
  .project-card { flex-basis: 100%; }
  .project-card__inner { padding: 50px 28px 44px; }
  .parallax-band { height: 480px; }
  .parallax-band__circle { width: 120px; height: 120px; }
  .parallax-band__title { font-size: 24px; padding: 0 20px; }
  .marks__list { grid-template-columns: repeat(2, 1fr); }
  .quote { padding: 90px 0; }
  .quote__card { padding: 60px 24px; }
  .quote__title { font-size: 24px; }
  .quote__bottom { flex-direction: column; align-items: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr; padding: 0 20px 60px; }
  .site-footer__heading { margin: 40px 0 24px; }
  .page-header { height: 420px; }
  .page-header h1 { font-size: 36px; }
  .gallery { grid-template-columns: 1fr; }
  .facts__grid { grid-template-columns: 1fr; }
  .story__media { gap: 16px; }
}
@media (max-width: 479px) {
  .hero__title { font-size: 40px; }
  .service-card { flex: 0 0 100%; }
  .services__row { row-gap: 30px; }
}

/* Mouvement réduit : pas de zoom, pas de translations, contenu immédiatement visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .hero__bg.is-active { transform: none; }
  .js [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  .parallax-band, .page-header { background-attachment: scroll; }
  .go-top__text { animation: none; }
}
