/* Manrope auto-heberge : pas de requete vers Google (perf + RGPD).
   POLICE VARIABLE, axe wght 200-800, verifie le 13/08/2026 avec fontTools.
   Elle etait declaree comme cinq polices statiques (400/500/600/700/800) pointant chacune
   vers une COPIE DU MEME FICHIER (memes MD5). Le navigateur ne peut pas savoir que les URL
   servent des octets identiques : il telechargeait jusqu'a 5 x 24,8 Ko pour 24,8 Ko utiles.
   Une seule declaration avec une PLAGE de graisses suffit, et le navigateur interpole. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-variable.woff2') format('woff2-variations'),
       url('/assets/fonts/manrope-variable.woff2') format('woff2');
}

:root {
      --bg: #0A0A0A;
      --bg-soft: #101010;
      --panel: #141414;
      --panel-2: #191919;
      --text: #F2EFEA;
      --muted: #A8A39B;
      --muted-2: #8A857D;
      --line: rgba(242, 239, 234, .12);
      --line-strong: rgba(242, 239, 234, .2);
      --gold: #B8924D;
      --gold-soft: rgba(184, 146, 77, .16);
      --radius: 24px;
      --radius-sm: 16px;
      --shadow: 0 28px 80px rgba(0, 0, 0, .35);
      --max: 1440px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      overflow-x: hidden;
    }
    body.menu-open { overflow: hidden; }
    a { color: inherit; text-decoration: none; }
    button, input, textarea, select { font: inherit; }
    img { display: block; width: 100%; }

    .shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--gold);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
    }
    .eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
    .section { padding: 132px 0; }
    .section-head { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: end; margin-bottom: 56px; }
    .section-head h2, .feature-copy h2, .contact-copy h2 {
      margin: 14px 0 0;
      font-size: clamp(42px, 5.4vw, 82px);
      line-height: .98;
      letter-spacing: -.055em;
      font-weight: 700;
      max-width: 1000px;
    }
    .section-head p, .feature-copy p, .contact-copy p {
      margin: 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.75;
      max-width: 630px;
    }
    .gold { color: var(--gold); }

    .btn {
      min-height: 52px;
      padding: 0 22px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: 1px solid transparent;
      font-weight: 700;
      font-size: 14px;
      transition: transform .25s ease, background .25s ease, border-color .25s ease;
      white-space: nowrap;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { background: var(--gold); color: #0A0A0A; }
    .btn-primary:hover { background: #c7a663; }
    .btn-secondary { border-color: var(--line-strong); background: rgba(10,10,10,.35); backdrop-filter: blur(12px); }
    .btn-secondary:hover { border-color: rgba(242,239,234,.45); }
    .btn svg { width: 16px; height: 16px; }

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 100;
      padding: 14px 0;
      transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
    }
    .site-header.scrolled {
      background: rgba(10,10,10,.78);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(18px);
    }
    .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .13em; font-size: 17px; }
    .brand-logo { height: 26px; width: auto; object-fit: contain; flex: 0 0 auto; }
    .brand-word { line-height: 1; }
    .desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
    .desktop-nav a { color: #D1CDC6; font-size: 13px; font-weight: 600; }
    .desktop-nav a:hover { color: var(--text); }
    .header-actions { display: flex; align-items: center; gap: 12px; }
    .phone-link { font-size: 13px; font-weight: 700; color: var(--text); }
    .menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); }
    .menu-toggle span { display: block; width: 18px; height: 1px; background: currentColor; margin: 5px auto; }

    .mobile-panel {
      position: fixed;
      inset: 0;
      z-index: 90;
      background: rgba(10,10,10,.98);
      display: grid;
      place-items: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity .25s ease, visibility .25s ease;
    }
    .mobile-panel.open { opacity: 1; visibility: visible; }
    .mobile-panel nav { display: grid; gap: 24px; text-align: center; }
    .mobile-panel nav a { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
    .mobile-panel .mobile-cta { margin-top: 24px; }

    .hero {
      min-height: 86svh;
      display: grid;
      align-items: end;
      position: relative;
      isolation: isolate;
      overflow: hidden;
      padding: 116px 0 26px;
    }
    .hero-media { position: absolute; inset: 0; z-index: -2; }
    .hero-media img { height: 100%; object-fit: cover; object-position: 62% center; filter: saturate(.6) contrast(1.06) brightness(.5); transform: scale(1.02); }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        linear-gradient(90deg, rgba(10,10,10,.95) 0%, rgba(10,10,10,.74) 44%, rgba(10,10,10,.2) 76%),
        linear-gradient(0deg, #0A0A0A 0%, rgba(10,10,10,.12) 42%, rgba(10,10,10,.38) 100%);
    }
    .hero-grid { display: grid; grid-template-columns: 1.15fr .55fr; gap: 70px; align-items: end; }
    /* Hero sans encart lateral : le texte prend toute la largeur au lieu de laisser une colonne vide. */
    .hero-grid:not(:has(.hero-aside)) { grid-template-columns: 1fr; }
    .hero h1 {
      margin: 18px 0 24px;
      max-width: 1050px;
      font-size: clamp(54px, 7.8vw, 88px);
      line-height: .96;
      letter-spacing: -.067em;
      font-weight: 700;
    }
    .hero-copy { max-width: 780px; color: #C5C0B8; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.65; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
    .hero-aside {
      justify-self: end;
      max-width: 340px;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: rgba(12,12,12,.48);
      backdrop-filter: blur(16px);
    }
    .hero-aside strong { display: block; font-size: 16px; margin-bottom: 10px; }
    .hero-aside p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
    .hero-strip {
      margin-top: 72px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
      background: rgba(10,10,10,.52);
      backdrop-filter: blur(18px);
    }
    .hero-proof { padding: 22px 24px; min-height: 82px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--line); }
    .hero-proof:last-child { border-right: 0; }
    .proof-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); }
    .hero-proof span { color: #D7D3CC; font-size: 13px; font-weight: 600; }

    .reasons-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
    .reason { padding: 46px 0; display: grid; grid-template-columns: 88px 1fr; gap: 30px; border-bottom: 1px solid var(--line); }
    .reason:nth-child(odd) { padding-right: 60px; border-right: 1px solid var(--line); }
    .reason:nth-child(even) { padding-left: 60px; }
    .reason-index { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
    .reason h3 { margin: 0 0 12px; font-size: 25px; letter-spacing: -.03em; }
    .reason p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 15px; }

    .products-track { display: flex; gap: 16px; align-items: stretch; }
    .product-card {
      min-width: 0;
      min-height: 540px;
      flex: .82 1 0;
      border-radius: var(--radius);
      overflow: hidden;
      position: relative;
      isolation: isolate;
      border: 1px solid var(--line);
      cursor: pointer;
      transition: flex .52s cubic-bezier(.22,.8,.24,1), transform .35s ease, border-color .35s ease, opacity .35s ease;
    }
    .product-card.is-active { flex: 1.42 1 0; border-color: rgba(184,146,77,.42); }
    .products-track:has(.product-card:hover) .product-card:not(:hover),
    .products-track:has(.product-card:focus-visible) .product-card:not(:focus-visible) { opacity: .72; }
    .product-card:hover, .product-card:focus-visible { transform: translateY(-6px); border-color: rgba(184,146,77,.42); outline: none; }
    .product-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.35) saturate(.5) brightness(.65); transition: transform .7s ease; }
    .product-card:hover img { transform: scale(1.04); }
    .product-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,.08), rgba(10,10,10,.92)); }
    .product-card-content { height: 100%; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; }
    .product-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 800; }
    .product-card h3 { margin: 12px 0 10px; font-size: 28px; line-height: 1.08; letter-spacing: -.035em; }
    .product-card p { margin: 0; color: #C1BCB4; font-size: 14px; line-height: 1.65; }
    .products-nav { display: none; }

    .feature { min-height: 88svh; position: relative; display: grid; align-items: center; overflow: hidden; }
    .feature-media { position: absolute; inset: 0; }
    .feature-media img { height: 100%; object-fit: cover; filter: grayscale(.25) saturate(.5) brightness(.47); }
    .feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.72) 54%, rgba(10,10,10,.14) 100%); }
    .feature-copy { position: relative; z-index: 1; max-width: 790px; padding: 120px 0; }
    .feature-copy p { margin-top: 26px; }
    .feature-list { margin-top: 34px; display: grid; gap: 14px; }
    .feature-list span { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #D5D1CA; }
    .feature-list span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

    /* Schema technique. Contrairement aux autres conteneurs d'image du site
       (.hero-media, .feature-media, .product-card img) qui recadrent et
       assombrissent, une coupe annotee doit rester entiere et lisible :
       aucun object-fit, aucun filtre. */
    .diagram-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 46px; align-items: center; }
    .diagram-media { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
    .diagram-media img { display: block; width: 100%; height: auto; }
    .diagram-copy h2 { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.04; letter-spacing: -.04em; }
    .diagram-copy p { margin-top: 22px; color: var(--muted); font-size: 16px; line-height: 1.75; }
    .diagram-caption { margin-top: 20px; display: block; color: #8E8A83; font-size: 12px; line-height: 1.6; }

    .mix-section { padding: 154px 0; }
    .mix-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }
    .mix-main, .mix-info { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
    .mix-main { min-height: 640px; padding: 52px; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 80% 18%, rgba(184,146,77,.15), transparent 30%), var(--panel); }
    .mix-main h2 { margin: 0; font-size: clamp(68px, 10vw, 168px); line-height: .8; letter-spacing: -.08em; }
    .mix-main h2 span { display: block; font-size: .22em; line-height: 1.1; letter-spacing: -.02em; color: var(--gold); margin-top: 24px; }
    .mix-main p { margin: 0; max-width: 550px; color: var(--muted); font-size: 18px; line-height: 1.7; }
    .mix-info { display: grid; grid-template-rows: repeat(3, 1fr); background: var(--bg-soft); }
    .mix-stat { padding: 42px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
    .mix-stat:last-child { border-bottom: 0; }
    .mix-stat strong { font-size: 35px; letter-spacing: -.045em; margin-bottom: 8px; }
    .mix-stat span { color: var(--muted); font-size: 14px; line-height: 1.65; }
    /* Precision qui suit un bloc technique : le nuancer sans le noyer. */
    .petit-note { max-width: 760px; margin: 34px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
    .petit-note a, .reason p a { color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
    /* Bareme des aides (/particuliers/aides-isolation-facade/) : le seul tableau du site. */
    .aides-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
    .aides-table { width: 100%; border-collapse: collapse; font-size: 16px; }
    .aides-table caption { caption-side: bottom; text-align: left; padding-top: 14px; color: var(--muted-2); font-size: 13px; line-height: 1.6; }
    .aides-table th, .aides-table td { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
    .aides-table thead th { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .aides-table tbody th { font-weight: 600; max-width: 420px; }
    .aides-table td { color: var(--gold); font-weight: 700; white-space: nowrap; }
    @media (max-width: 760px) {
      .aides-table { font-size: 14px; }
      .aides-table th, .aides-table td { padding: 16px 14px 16px 0; }
      .aides-table td { white-space: normal; }
    }
    .mix-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 16px; padding: 6px 0; color: var(--gold); font-size: 14px; font-weight: 700; border-bottom: 1px solid currentColor; }
    .mix-link svg { width: 16px; height: 16px; transition: transform .25s ease; }
    .mix-link:hover svg { transform: translateX(3px); }

    .numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    /* Le nombre de chiffres varie selon les pages : les colonnes suivent, pas de case vide. */
    .numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
    .numbers-grid:has(> :last-child:nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
    .number { padding: 58px 34px; border-right: 1px solid var(--line); }
    .number:last-child { border-right: 0; }
    .number strong { display: block; font-size: clamp(44px, 5vw, 76px); letter-spacing: -.065em; line-height: 1; }
    .number span { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }

    .gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }
    .gallery-column { display: grid; gap: 16px; }
    .gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); min-height: 330px; }
    .gallery-item.large { min-height: 680px; }
    .gallery-item img { height: 100%; object-fit: cover; filter: grayscale(.15) saturate(.55) brightness(.75); transition: transform .7s ease; }
    .gallery-item:hover img { transform: scale(1.035); }
    .gallery-label { position: absolute; left: 18px; bottom: 18px; background: rgba(10,10,10,.72); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; font-size: 12px; font-weight: 700; }

    .contact-section { padding: 40px 0 120px; }
    .contact-panel { border-radius: 32px; border: 1px solid rgba(184,146,77,.3); background: radial-gradient(circle at 80% 25%, rgba(184,146,77,.16), transparent 27%), var(--panel); padding: 72px; display: grid; grid-template-columns: 1fr .72fr; gap: 70px; align-items: end; }
    .contact-copy h2 { font-size: clamp(46px, 6vw, 88px); }
    .contact-copy p { margin-top: 24px; }
    .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
    .contact-card { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: rgba(10,10,10,.35); }
    .contact-card + .contact-card { margin-top: 12px; }
    .contact-card small { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; margin-bottom: 10px; }
    .contact-card p, .contact-card a { margin: 0; color: #D8D3CC; font-size: 14px; line-height: 1.7; }

    footer { border-top: 1px solid var(--line); padding: 44px 0; }
    .footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
    .footer-contact { margin-top: 22px; font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.8; }
    .footer-contact strong { display: block; color: var(--text); font-weight: 600; }
    .footer-contact a { color: var(--muted); text-decoration: none; border-bottom: 1px solid rgba(242,239,234,.22); }
    .footer-contact a:hover { color: var(--text); border-bottom-color: currentColor; }
    .footer-copy { margin-top: 20px; color: var(--muted-2); font-size: 12px; line-height: 1.6; }
    .footer-links { display: flex; gap: 22px; color: var(--muted); font-size: 12px; }

    .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
    .reveal.visible { opacity: 1; transform: none; }

    @media (max-width: 1100px) {
      .desktop-nav { display: none; }
      .phone-link { display: none; }
      .menu-toggle { display: block; }
      .hero-grid { grid-template-columns: 1fr; }
      .hero-aside { justify-self: start; }
      .products-track { display: grid; grid-template-columns: repeat(2, 1fr); }
      .product-card, .product-card.is-active { min-height: 470px; flex: none; opacity: 1; }
      .contact-panel { grid-template-columns: 1fr; }
      .diagram-layout { grid-template-columns: 1fr; gap: 32px; }
    }

    @media (max-width: 760px) {
      .shell { width: min(calc(100% - 28px), var(--max)); }
      .section { padding: 92px 0; }
      .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
      .section-head h2, .feature-copy h2, .contact-copy h2 { line-height: 1.02; }
      .site-header { padding: 10px 0; }
      .brand { font-size: 14px; }
      .brand-logo { height: 22px; width: auto; }
      .header-actions .btn { display: none; }
      .hero { min-height: 100svh; padding-top: 120px; }
      .hero::before { background: linear-gradient(0deg, #0A0A0A 0%, rgba(10,10,10,.58) 48%, rgba(10,10,10,.52) 100%); }
      .hero h1 { font-size: clamp(52px, 15.5vw, 78px); max-width: 620px; }
      .hero-copy { font-size: 15px; }
      .hero-actions { display: grid; grid-template-columns: 1fr; }
      .hero-actions .btn { width: 100%; }
      .hero-aside { display: none; }
      .hero-strip { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
      .hero-proof { border-bottom: 1px solid var(--line); }
      .hero-proof:nth-child(2) { border-right: 0; }
      .hero-proof:nth-child(3), .hero-proof:nth-child(4) { border-bottom: 0; }
      .reasons-grid { grid-template-columns: 1fr; }
      .reason { grid-template-columns: 52px 1fr; padding: 34px 0 !important; border-right: 0 !important; }
      .products-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding-bottom: 4px; margin: 0; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
      .products-track::-webkit-scrollbar { display: none; }
      .product-card { min-width: 0; min-height: 470px; scroll-snap-align: center; }
      .product-card, .product-card.is-active { flex: 0 0 82%; opacity: 1; }
      .products-nav { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 22px; }
      .products-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; transition: opacity .4s ease; }
      .products-hint .arrow { display: inline-block; animation: swipeHint 1.5s var(--ease-out) infinite; }
      .products-nav.scrolled .products-hint { opacity: 0; }
      .products-dots { display: flex; gap: 9px; }
      .products-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.24); cursor: pointer; transition: background .3s ease, width .3s ease; }
      .products-dot.active { width: 24px; background: var(--gold); }
      @keyframes swipeHint { 0%,100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
      .feature { min-height: 760px; }
      .feature::after { background: linear-gradient(0deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.55) 66%, rgba(10,10,10,.18) 100%); }
      .feature-copy { padding: 380px 0 76px; }
      .mix-section { padding: 96px 0; }
      .mix-layout { grid-template-columns: 1fr; }
      .mix-main { min-height: 520px; padding: 32px; }
      .mix-info { grid-template-rows: none; grid-template-columns: 1fr; }
      .mix-stat { padding: 30px; }
      .numbers-grid { grid-template-columns: repeat(2, 1fr); }
      .number { padding: 38px 20px; border-bottom: 1px solid var(--line); }
      .number:nth-child(2) { border-right: 0; }
      .number:nth-child(3), .number:nth-child(4) { border-bottom: 0; }
      .gallery-grid { grid-template-columns: 1fr; }
      .gallery-item.large { min-height: 520px; }
      .contact-section { padding-bottom: 70px; }
      .contact-panel { padding: 38px 24px; border-radius: 24px; }
      .contact-actions { display: grid; }
      .contact-actions .btn { width: 100%; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-links { flex-wrap: wrap; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation: none !important; transition: none !important; }
      .reveal { opacity: 1; transform: none; }
      .hero-media img { animation: none !important; }
    }

    /* ---- ANIMATION POLISH ---- */
    :root { --ease-out: cubic-bezier(.16,1,.3,1); --ease-smooth: cubic-bezier(.22,.8,.24,1); }
    .reveal { transition-duration: .95s; transition-timing-function: var(--ease-out); will-change: opacity, transform; }
    .btn { transition: transform .3s var(--ease-out), background .25s ease, border-color .25s ease, box-shadow .3s ease; }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary:hover { box-shadow: 0 6px 18px rgba(184,146,77,.15); }
    .btn svg { transition: transform .3s var(--ease-out); }
    .btn:hover svg { transform: translateX(3px); }
    .desktop-nav a { position: relative; }
    .desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0; background: var(--gold); transition: width .32s var(--ease-out); }
    .desktop-nav a:hover::after { width: 100%; }
    .product-card { transition: flex .62s var(--ease-smooth), transform .45s var(--ease-out), border-color .45s ease, opacity .45s ease; will-change: flex, transform; }
    .product-card img { transition: transform .9s var(--ease-out), filter .55s var(--ease-out); }
    .product-card:hover img, .product-card.is-active img { transform: scale(1.06); filter: grayscale(0) saturate(1.45) brightness(.95) contrast(1.05); }
    .product-card h3 { transition: transform .45s var(--ease-out); }
    .product-card:hover h3 { transform: translateY(-2px); }
    .gallery-item img { transition: transform .95s var(--ease-out); }
    .gallery-item:hover img { transform: scale(1.05); }
    .gallery-label { transition: transform .35s var(--ease-out), border-color .3s ease, background .3s ease; }
    .gallery-item:hover .gallery-label { transform: translateY(-3px); border-color: rgba(184,146,77,.5); }
    .reason h3 { transition: color .3s ease; }
    .reason:hover h3 { color: #fff; }
    .reason-index { transition: letter-spacing .3s var(--ease-out); }
    .reason:hover .reason-index { letter-spacing: .22em; }
    .seelink { transition: color .3s ease, border-color .3s ease; }
    .contact-card { transition: border-color .35s ease; }
    .contact-card:hover { border-color: var(--line-strong); }
    .hero-media { will-change: transform; inset: -10% 0; }
    .hero-media img { animation: heroZoom 22s ease-in-out infinite alternate; }
    @keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.1); } }

    /* CTA sticky mobile */
    .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(10,10,10,.92); backdrop-filter: blur(16px); border-top: 1px solid var(--line); transform: translateY(130%); transition: transform .4s var(--ease-out); }
    .sticky-cta.show { transform: none; }
    .sticky-cta .btn { width: 100%; min-height: 54px; font-size: 15px; }
    @media (max-width: 900px) { .sticky-cta { display: block; } footer { padding-bottom: 100px; } }
    @media (max-width: 400px) { .hero h1 { font-size: clamp(38px, 12.5vw, 60px); } .section-head h2, .feature-copy h2, .contact-copy h2 { font-size: clamp(34px, 10vw, 52px); } }
    @media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

    /* ---- DYNAMISME / WOW ---- */
    /* barre de progression scroll */
    .scroll-prog { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 120; background: linear-gradient(90deg, #8a6a34, var(--gold), #e2c987); box-shadow: 0 0 12px rgba(184,146,77,.55); }
    /* entree cinematographique du hero */
    .hero .eyebrow, .hero-copy, .hero-actions, .hero-aside, .hero-strip { opacity: 0; animation: heroFade 1s var(--ease-out) forwards; }
    .hero .eyebrow { animation-delay: .12s; }
    .hero-copy { animation-delay: .5s; }
    .hero-actions { animation-delay: .62s; }
    .hero-aside { animation-delay: .72s; }
    .hero-strip { animation-delay: .84s; }
    .hero h1 { opacity: 0; animation: heroReveal 1.15s var(--ease-out) .2s forwards; }
    @keyframes heroFade { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
    @keyframes heroReveal { 0% { opacity: 0; clip-path: inset(0 0 110% 0); } 100% { opacity: 1; clip-path: inset(0 0 -12% 0); } }
    /* revelation enrichie */
    .reveal { transform: translateY(30px) scale(.985); }
    .reveal.visible { transform: none; }
    .btn { will-change: transform; }
    @media (prefers-reduced-motion: reduce) {
      .hero .eyebrow, .hero-copy, .hero-actions, .hero-aside, .hero-strip, .hero h1 { opacity: 1 !important; animation: none !important; clip-path: none !important; }
      body::after, .scroll-prog { display: none !important; }
    }

    /* ---- Fil d'Ariane (pages profondes) ---- */
    .breadcrumb { padding: 104px 0 0; }
    .breadcrumb .shell { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .04em; }
    .breadcrumb a, .breadcrumb span { color: var(--muted-2); transition: color .3s ease; }
    .breadcrumb a:hover { color: var(--gold); }
    .breadcrumb span[aria-current] { color: var(--muted); }
    .breadcrumb > .shell > *:not(:last-child)::after { content: "/"; margin-left: 10px; color: rgba(242,239,234,.22); }
    /* la page profonde commence par le fil d'Ariane : le hero n'a plus besoin de son padding haut complet */
    .breadcrumb + .hero { min-height: 78svh; padding-top: 34px; }
    @media (max-width: 760px) {
      .breadcrumb { padding-top: 88px; }
      .breadcrumb + .hero { min-height: 92svh; padding-top: 20px; }
    }

    /* liens en ligne dans le texte courant */
    .hero-copy a, .section-head p a, .feature-copy p a, .contact-copy p a,
    .reason p a, .feature-list span a {
      color: var(--text);
      border-bottom: 1px solid rgba(184,146,77,.55);
      padding-bottom: 1px;
      transition: color .3s ease, border-color .3s ease;
    }
    .hero-copy a:hover, .section-head p a:hover, .feature-copy p a:hover, .contact-copy p a:hover,
    .reason p a:hover, .feature-list span a:hover { color: var(--gold); border-color: var(--gold); }

    /* liens dans les titres de blocs : discrets mais identifiables */
    .reason h3 a { position: relative; transition: color .3s ease; }
    .reason h3 a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 0; background: var(--gold); transition: width .32s var(--ease-out); }
    .reason h3 a:hover { color: var(--gold); }
    .reason h3 a:hover::after { width: 100%; }
    .reason h3 a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 3px; }

    /* ---- Formulaire de contact ---- */
    .form-panel { border-radius: 32px; border: 1px solid var(--line); background: var(--panel); padding: 56px; }
    .contact-form { display: grid; gap: 20px; max-width: 720px; }
    /* masque par l'assistant de demande : sans cette regle, display: grid l'emporte sur [hidden] */
    .contact-form[hidden] { display: none; }
    .field { display: grid; gap: 8px; }
    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .field label { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #D8D3CC; }
    .field label .opt { color: var(--muted-2); font-weight: 500; letter-spacing: 0; }
    .field input, .field textarea {
      width: 100%;
      background: rgba(10,10,10,.55);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      color: var(--text);
      padding: 15px 16px;
      font-size: 15px;
      font-family: inherit;
      transition: border-color .25s ease, background .25s ease;
    }
    .field textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
    .field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
    .field input:hover, .field textarea:hover { border-color: var(--line-strong); }
    .field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(10,10,10,.75); }
    .field input:user-invalid, .field textarea:user-invalid { border-color: #b4553f; }
    .field-error { font-size: 12.5px; color: #d98570; min-height: 0; }
    .field-error:empty { display: none; }
    /* piege a robots : invisible pour l'humain, jamais annonce aux lecteurs d'ecran */
    .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
    .form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 4px; }
    .form-note { color: var(--muted-2); font-size: 12.5px; line-height: 1.6; max-width: 420px; }
    .form-status { font-size: 14px; line-height: 1.6; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); display: none; }
    .form-status.show { display: block; }
    .form-status.ok { border-color: rgba(184,146,77,.5); background: var(--gold-soft); color: var(--text); }
    .form-status.ko { border-color: rgba(180,85,63,.55); background: rgba(180,85,63,.12); color: #e8c3b8; }
    .contact-form button[type=submit][aria-busy="true"] { opacity: .65; pointer-events: none; }

    /* ---- Assistant de demande (remplace le formulaire quand JavaScript tourne) ---- */
    .assist { display: grid; gap: 18px; max-width: 720px; }
    .assist-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
    .assist-head strong { display: block; font-size: 15px; }
    .assist-head div span { display: block; font-size: 13px; color: var(--muted); }
    .assist-mark { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
    .assist-step { margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted-2); }
    .assist-log { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
    .assist-msg { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.55; }
    .assist-msg.bot { align-self: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-top-left-radius: 4px; }
    .assist-msg.me { align-self: flex-end; background: var(--gold); color: var(--bg); font-weight: 600; border-top-right-radius: 4px; }
    @media (prefers-reduced-motion: no-preference) { .assist-msg { animation: assist-pop .25s var(--ease-out); } }
    @keyframes assist-pop { from { transform: translateY(6px); opacity: .4; } to { transform: none; opacity: 1; } }
    .assist-chips { display: flex; flex-wrap: wrap; gap: 10px; }
    .assist-chip { font: inherit; font-size: 14px; font-weight: 600; color: var(--text); background: transparent; border: 1px solid rgba(184,146,77,.55); border-radius: 999px; padding: 11px 18px; min-height: 44px; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
    .assist-chip:hover { background: var(--gold-soft); border-color: var(--gold); }
    .assist-chip:focus-visible, .assist-reset:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
    .assist-line { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
    .assist-line .field { flex: 1 1 240px; min-width: 0; }
    .assist-form { display: grid; gap: 16px; }
    .assist-form .field textarea { min-height: 96px; }
    .assist-form button[aria-busy="true"] { opacity: .65; pointer-events: none; }
    .assist-reset { justify-self: start; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13px; color: var(--muted-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
    .assist-reset:hover { color: var(--gold); }
    @media (max-width: 760px) {
      .assist-head div span { font-size: 12.5px; }
      .assist-step { display: none; }
      .assist-msg { max-width: 94%; }
      .assist-line .btn { width: 100%; }
    }
    @media (max-width: 760px) {
      .form-panel { padding: 32px 22px; border-radius: 24px; }
      /* 16px minimum : en dessous, iOS Safari zoome la page a la mise au point du champ */
      .field input, .field textarea { font-size: 16px; }
      .field-row { grid-template-columns: 1fr; gap: 20px; }
      .form-foot { gap: 14px; }
      .form-foot .btn { width: 100%; }
    }

    /* ---- FAQ (accordéon natif, GEO/SEO) ---- */
    .faq-list { display: grid; gap: 12px; max-width: 940px; }
    .faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); overflow: hidden; transition: border-color .3s ease; }
    .faq-item[open] { border-color: rgba(184,146,77,.32); }
    .faq-item summary { list-style: none; cursor: pointer; padding: 24px 28px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; letter-spacing: -.02em; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after { content: "+"; color: var(--gold); font-size: 26px; font-weight: 300; line-height: 1; flex: 0 0 auto; transition: transform .3s var(--ease-out); }
    .faq-item[open] summary::after { transform: rotate(45deg); }
    .faq-item summary:hover { color: #fff; }
    .faq-answer { padding: 0 28px 26px; color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 780px; }
    .faq-answer a { color: var(--gold); }
    @media (max-width: 760px) {
      .faq-item summary { padding: 20px 20px; }
      .faq-answer { padding: 0 20px 22px; }
    }
    /* ---- Mentions légales (page de texte, sans hero). Pas de fil d'Ariane sur une page
       de premier niveau : ce bloc porte donc lui-même le dégagement sous le header fixe. ---- */
    .legal-head { padding: 148px 0 0; }
    .legal-head h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; margin: 16px 0 18px; }
    .legal-head h1 .gold { color: var(--gold); }
    .legal-head p { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 720px; margin: 0; }
    .legal { padding: 56px 0 132px; }
    .legal-grid { display: grid; gap: 14px; max-width: 960px; }
    .legal-block { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); padding: 30px 32px; }
    .legal-block h2 { font-size: clamp(19px, 1.9vw, 25px); letter-spacing: -.02em; font-weight: 700; margin: 0 0 18px; }
    .legal-block p { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 0 0 14px; max-width: 800px; }
    .legal-block p:last-child { margin-bottom: 0; }
    .legal-block a { color: var(--gold); }
    .legal-dl { display: grid; grid-template-columns: minmax(170px, 250px) 1fr; gap: 12px 28px; margin: 0; }
    .legal-dl dt { color: var(--muted-2); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
    .legal-dl dd { margin: 0; color: var(--text); font-size: 15px; line-height: 1.6; }
    .legal-dl dd a { color: var(--gold); }
    @media (max-width: 760px) {
      .legal-head { padding-top: 124px; }
      .legal { padding: 40px 0 92px; }
      .legal-block { padding: 24px 22px; }
      .legal-dl { grid-template-columns: 1fr; gap: 2px 0; }
      .legal-dl dt { margin-top: 12px; }
      .legal-dl dt:first-child { margin-top: 0; }
    }

/* ===== Consentement aux cookies =====
   Aucun script de mesure n'est charge avant un consentement explicite : c'est le
   blocage prealable attendu par la CNPD. Le bandeau est pose par site.js, il n'est
   donc jamais present pour un visiteur sans JavaScript -- lequel n'est de toute
   facon jamais mesure. "Refuser" a exactement le meme poids visuel qu'"Accepter" :
   un refus plus difficile que l'acceptation vicie le consentement. */
.cookie-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:60;
  background:#111; color:#F2EFE8; border-top:1px solid rgba(184,146,77,.45);
  padding:20px 0; transform:translateY(100%); transition:transform .28s ease;
}
.cookie-bar.is-open{transform:translateY(0);}
.cookie-inner{
  max-width:1180px; margin:0 auto; padding:0 clamp(18px,4vw,40px);
  display:flex; flex-wrap:wrap; gap:18px 32px; align-items:center; justify-content:space-between;
}
.cookie-text{margin:0; font-size:14.5px; line-height:1.55; max-width:62ch; color:#D9D3C6;}
.cookie-text strong{color:#fff; font-weight:600;}
.cookie-text a{color:#D8B36A; text-decoration:underline; text-underline-offset:2px;}
.cookie-actions{display:flex; gap:12px; flex-shrink:0;}
.cookie-btn{
  font:inherit; font-size:14.5px; font-weight:600; cursor:pointer;
  padding:11px 24px; border-radius:2px; border:1px solid transparent;
  min-width:132px; text-align:center; transition:background .15s, border-color .15s;
}
.cookie-accept{background:#B8924D; color:#0A0A0A; border-color:#B8924D;}
.cookie-accept:hover{background:#C9A25C; border-color:#C9A25C;}
.cookie-refuse{background:transparent; color:#F2EFE8; border-color:rgba(242,239,232,.45);}
.cookie-refuse:hover{border-color:#F2EFE8; background:rgba(242,239,232,.08);}
.cookie-btn:focus-visible{outline:2px solid #B8924D; outline-offset:2px;}
.footer-cookies{
  background:none; border:none; padding:0; font:inherit; cursor:pointer;
  color:inherit; text-align:left; text-decoration:underline; text-underline-offset:2px;
}
@media (prefers-reduced-motion:reduce){.cookie-bar{transition:none;}}
@media (max-width:720px){
  .cookie-inner{flex-direction:column; align-items:stretch;}
  .cookie-actions{width:100%;}
  .cookie-btn{flex:1; min-width:0;}
}

    /* Date de mise a jour, en pied de contenu de chaque page interne. */
    .page-maj { margin: 0; padding: 28px 0 8px; color: var(--muted-2); font-size: 13px; }
    .aides-table td.texte { color: var(--muted); font-weight: 500; white-space: normal; line-height: 1.6; }

    /* Guides pratiques (/guides/) : encadres "Ce qu'il vous faut", "Erreurs", "Pro", "Au depot". */
    .guide { padding-bottom: 0; }
    .guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .guide-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 36px; }
    .guide-box p { color: var(--muted); font-size: 16px; line-height: 1.75; margin: 16px 0 0; }
    .guide-box-or { border-color: rgba(184, 146, 77, .45); background: linear-gradient(180deg, rgba(184,146,77,.10), var(--panel)); }
    .guide-box .contact-actions { margin-top: 24px; }
    .guide-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
    .guide-list li { position: relative; padding-left: 26px; color: var(--text); font-size: 16px; line-height: 1.55; }
    .guide-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
    .guide-list-x li::before { background: transparent; border: 1.5px solid #D07668; }
    .guide-note { font-size: 14px !important; font-size: 13px; color: var(--muted-2); }
    .guide-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .guide-card { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 36px; transition: border-color .25s ease, transform .25s ease; }
    .guide-card:hover { border-color: rgba(184, 146, 77, .55); transform: translateY(-2px); }
    .guide-card h2, .guide-card h3 { margin: 0; font-size: 26px; letter-spacing: -.03em; line-height: 1.15; }
    .guide-card p { margin: 0; color: var(--muted); line-height: 1.7; }
    @media (max-width: 760px) {
      .guide-grid, .guide-cards { grid-template-columns: 1fr; }
      .guide-box, .guide-card { padding: 26px; }
    }

    /* Audit lisibilite du 29/09/2026 (mobile 375 px). */
    @media (max-width: 760px) {
      /* Le bandeau a 3 chiffres gardait 3 colonnes : la regle :has() l'emportait sur la
         media query, et « Pros & particuliers » en 44 px debordait de 100 px. */
      .numbers-grid:has(> :last-child:nth-child(3)) { grid-template-columns: 1fr; }
      .numbers-grid:has(> :last-child:nth-child(3)) .number { border-right: 0; border-bottom: 1px solid var(--line); }
      .numbers-grid:has(> :last-child:nth-child(3)) .number:last-child { border-bottom: 0; }
      .number strong { overflow-wrap: anywhere; }
      /* Cibles tactiles : 24 px minimum (WCAG 2.2), les liens du pied de page en faisaient 17. */
      .footer-links { row-gap: 4px; }
      .footer-links a, .footer-links button { display: inline-block; padding: 8px 0; }
      .footer-contact a { display: inline-block; padding: 4px 0; }
    }
    /* Le <picture> ajoute au build ne doit pas changer la mise en page : l'<img> reste
       l'enfant effectif du conteneur (hero-media, cartes, galerie). */
    picture { display: contents; }
    /* Points du carrousel : cible tactile de 24 px (WCAG 2.2), le point visible reste de 8 px. */
    .products-dot { width: 24px !important; height: 24px !important; background: transparent !important; position: relative; }
    .products-dot::before { content: ""; position: absolute; left: 8px; top: 8px; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.24); transition: background .3s ease, width .3s ease; }
    .products-dot.active { width: 40px !important; }
    .products-dot.active::before { width: 24px; background: var(--gold); }
    .contact-card a { display: inline-block; padding: 4px 0; }
