/* ==========================================================================
   HP Couverture · site vitrine (couvreur-dordogne.fr)

   Registre : « atelier d'artisan » traité comme un site de studio.
   Base papier chaude (jamais 100 % sombre pour un artisan), mais vocabulaire
   premium : hero cinématique en carte incrustée, navbar pill en verre,
   typographie display à entrée mot à mot, grain argentique, marquee de
   chantiers, ombres multi-paliers sur les boutons.

   Charte partagée avec les pages de publicité : pierre blonde du Périgord,
   encre brou de noix, ocre de Sarlat. Newsreader (italiques) + Karla.
   ========================================================================== */

:root {
  --paper:      #F5F0E4;
  --paper-2:    #EEE7D8;
  --paper-3:    #E4DAC5;
  --white:      #FFFDF8;
  --ink:        #17130F;
  --ink-2:      #2E2721;
  --ink-soft:   #4A4038;
  --muted:      #6E6055;
  /* trois ors, un par usage, tous vérifiés au contraste :
     --gold      décor et icônes (filets, coches, poignées) : 3.26:1 sur papier
     --gold-btn  fond de bouton, texte blanc                : 5.46:1
     --gold-deep petit texte or, kickers, liens             : 5.33:1 sur papier teinté */
  --gold:       #A5762A;
  --gold-btn:   #8A621C;
  --gold-deep:  #7C5615;
  --gold-soft:  #E7D3A2;
  --brique:     #A33F22;
  --vert:       #4A6A48;
  --line:       rgba(23, 19, 15, .13);
  --line-soft:  rgba(23, 19, 15, .07);
  --line-light: rgba(245, 240, 228, .2);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans:  "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gut: clamp(18px, 4vw, 44px);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;

  /* ombres multi-paliers : c'est ce qui donne la sensation « pastille iOS » */
  --lift: 0 1px 2px rgba(23,19,15,.10), 0 4px 4px rgba(23,19,15,.08),
          0 9px 6px rgba(23,19,15,.04), 0 17px 7px rgba(23,19,15,.012),
          inset 0 2px 8px rgba(255,255,255,.26);
  --lift-soft: 0 0 0 .5px rgba(23,19,15,.05), 0 4px 30px rgba(23,19,15,.08);
  --shadow-card: 0 1px 2px rgba(23,19,15,.04), 0 18px 44px -24px rgba(23,19,15,.34);
  --shadow-deep: 0 2px 6px rgba(23,19,15,.05), 0 40px 80px -40px rgba(23,19,15,.5);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gut), 1520px); margin-inline: auto; }

/* grain argentique, posé sur les surfaces sombres et les photos */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ titres */

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.lead, .manifesto { text-wrap: pretty; }

.h-hero { font-size: clamp(2.7rem, 6.1vw, 5.9rem); font-weight: 800; letter-spacing: -.052em; line-height: .93; }
.h-xl { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.042em; line-height: .98; }
.h-lg { font-size: clamp(1.95rem, 3.6vw, 3.15rem); letter-spacing: -.038em; line-height: 1.04; }
.h-md { font-size: clamp(1.5rem, 2.3vw, 2.1rem); letter-spacing: -.03em; }
.h-sm { font-size: clamp(1.12rem, 1.5vw, 1.3rem); letter-spacing: -.024em; }

em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.012em; }

.lead { font-size: clamp(1.06rem, 1.4vw, 1.26rem); color: var(--ink-soft); max-width: 58ch; margin: 22px 0 0; }
.lead-light { color: rgba(245,240,228,.82); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-deep);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.kicker-light { color: var(--gold-soft); }

.chapno {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: .8;
  color: var(--gold); margin-bottom: 18px;
}
.chapno-light { color: var(--gold-soft); }

/* filet de faîtage : la signature graphique du site */
.roofline {
  display: block; width: 100%; height: 10px; color: var(--gold); opacity: .4;
  background-image: linear-gradient(45deg, transparent 46%, currentColor 46%, currentColor 54%, transparent 54%),
                    linear-gradient(-45deg, transparent 46%, currentColor 46%, currentColor 54%, transparent 54%);
  background-size: 16px 10px; background-repeat: repeat-x; background-position: 0 0, 8px 0;
}

/* ------------------------------------------------------------------ boutons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--sans); font-size: .98rem; font-weight: 700; letter-spacing: -.012em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 30px; font-size: 1.04rem; }
.btn-sm { padding: 11px 18px; font-size: .89rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold-btn); color: #fff; box-shadow: var(--lift); }
.btn-gold:hover { background: #6F4C10; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: var(--lift); }
.btn-ink:hover { background: #000; }
.btn-cream { background: var(--white); color: var(--ink); box-shadow: var(--lift); }
.btn-cream:hover { background: #fff; }
.btn-line { border-color: var(--line); color: var(--ink); background: rgba(255,253,248,.55); box-shadow: var(--lift-soft); }
.btn-line:hover { background: var(--white); border-color: rgba(23,19,15,.24); }
.btn-glass {
  color: #fff; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(14px) saturate(170%); -webkit-backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.18);
}
.btn-glass:hover { background: rgba(255,255,255,.18); }

/* pastille CTA à pointe circulaire */
.btn-pill { padding: 7px 8px 7px 26px; gap: 16px; font-size: 1.02rem; }
.btn-pill .dot {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  transition: transform .35s var(--ease), background-color .3s var(--ease);
}
.btn-pill .dot svg { width: 17px; height: 17px; }
.btn-pill:hover .dot { transform: translateX(3px); }
.btn-pill.on-ink .dot { background: var(--paper); color: var(--ink); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--gold); padding: 13px 0 8px;
}
.arrow-link svg { width: 16px; height: 16px; color: var(--gold-deep); transition: transform .3s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }
.arrow-link-light { color: var(--paper); border-color: var(--gold-soft); }
.arrow-link-light svg { color: var(--gold-soft); }

/* ------------------------------------------------------------------ en-tête pill */

.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 90; pointer-events: none; }
.header-inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(23,19,15,.42);
  border: 1px solid rgba(255,253,248,.16);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.14), 0 16px 40px -26px rgba(0,0,0,.7);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.brand { display: inline-flex; align-items: center; gap: 12px; padding: 5px 0; text-decoration: none; color: #fff; transition: color .35s var(--ease); }
.brand-mark { width: 34px; height: 34px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-size: 1rem; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.brand-txt span { font-size: .69rem; letter-spacing: .07em; opacity: .74; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: rgba(255,253,248,.82); text-decoration: none; font-size: .92rem; font-weight: 600;
  letter-spacing: -.012em; padding: 10px 14px; border-radius: 999px; white-space: nowrap;
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.13); }

.header-cta { display: flex; align-items: center; gap: 9px; }
.header-cta .btn { white-space: nowrap; }

/* état posé : la pastille passe au papier */
.site-header.is-stuck .header-inner, body.light-header .header-inner {
  background: rgba(250,246,238,.84);
  border-color: rgba(23,19,15,.1);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.7), 0 14px 34px -24px rgba(23,19,15,.5);
}
.site-header.is-stuck .brand, body.light-header .brand { color: var(--ink); }
.site-header.is-stuck .nav a, body.light-header .nav a { color: var(--ink-soft); }
.site-header.is-stuck .nav a:hover, body.light-header .nav a:hover { color: var(--ink); background: rgba(23,19,15,.06); }
.site-header.is-stuck .nav a[aria-current="page"], body.light-header .nav a[aria-current="page"] { color: var(--ink); background: rgba(23,19,15,.07); }
.site-header.is-stuck .btn-glass, body.light-header .btn-glass {
  color: var(--ink); background: rgba(255,253,248,.7); border-color: rgba(23,19,15,.12); box-shadow: var(--lift-soft);
}
.site-header.is-stuck .btn-glass:hover, body.light-header .btn-glass:hover { background: #fff; }

.nav-toggle { display: none; }

/* ------------------------------------------------------------------ hero cinématique */

.hero { padding: 10px; }
.hero-frame {
  position: relative; min-height: min(96vh, 940px);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; isolation: isolate; background: var(--ink);
}
.hero-frame > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; z-index: -2;
  transform: scale(1.05); animation: heroDrift 28s var(--ease-soft) forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-frame > img { animation: none; transform: none; } }

/* dégradé bas + vignette : le sujet n'est jamais assombri par un voile global */
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 72% 18%, transparent 42%, rgba(16,12,8,.4) 100%),
    linear-gradient(180deg, rgba(16,12,8,.4) 0%, rgba(16,12,8,0) 26%, rgba(16,12,8,.16) 50%, rgba(16,12,8,.88) 100%);
}

.hero-in { margin-top: auto; padding: 132px 0 clamp(26px, 3vw, 44px); width: 100%; }
.hero-copy { max-width: 900px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,253,248,.92);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(12px) saturate(170%); -webkit-backdrop-filter: blur(12px) saturate(170%);
  padding: 9px 17px; border-radius: 999px; margin-bottom: 26px;
}
.hero-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-soft); }
.hero h1 { text-shadow: 0 2px 40px rgba(12,9,6,.4); }
.hero .lead { color: rgba(255,253,248,.88); max-width: 46ch; margin-top: 26px; text-shadow: 0 1px 24px rgba(12,9,6,.5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; align-items: center; }

.hero-proof {
  position: relative; border-top: 1px solid rgba(255,253,248,.16);
  background: rgba(16,12,8,.34);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.hero-proof-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-proof-item { padding: 18px 24px 20px 24px; border-right: 1px solid rgba(255,253,248,.14); }
.hero-proof-item:first-child { padding-left: 0; }
.hero-proof-item:last-child { padding-right: 0; }
.hero-proof-item:last-child { border-right: 0; }
.hero-proof-item b { display: block; font-size: .96rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.hero-proof-item span { display: block; font-size: .82rem; color: rgba(255,253,248,.68); margin-top: 3px; line-height: 1.4; }

/* hero des pages intérieures */
.page-hero { padding: calc(96px + clamp(34px, 5vw, 70px)) 0 clamp(30px, 4vw, 52px); position: relative; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 130% at 12% 0%, rgba(176,129,44,.13), transparent 62%),
              linear-gradient(180deg, var(--paper-2), var(--paper) 72%);
}
.page-hero .breadcrumb { margin-bottom: 22px; }
.page-hero .lead { margin-top: 20px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 4vw, 64px); align-items: end; }
.page-hero-visual img { border-radius: var(--r-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow-card); }

.breadcrumb { font-size: .82rem; color: var(--muted); }
.breadcrumb a { text-decoration: none; border-bottom: 1px solid var(--line); }
.breadcrumb a:hover { border-color: var(--gold); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ------------------------------------------------------------------ sections */

.section { padding: clamp(70px, 8.5vw, 130px) 0; }
.section-tight { padding: clamp(46px, 5vw, 76px) 0; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.section-dark .lead { color: rgba(245,240,228,.78); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 86px); align-items: start; }
.split-55 { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }
.split-45 { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
.figure img { width: 100%; border-radius: var(--r-md); object-fit: cover; box-shadow: var(--shadow-card); }
.figure figcaption { margin-top: 13px; font-size: .8rem; color: var(--muted); }
.section-dark .figure figcaption { color: rgba(245,240,228,.5); }
.ratio-45 img { aspect-ratio: 4 / 5; }
.ratio-11 img { aspect-ratio: 1 / 1; }
.ratio-43 img { aspect-ratio: 4 / 3; }
.ratio-169 img { aspect-ratio: 16 / 9; }

.sec-head { max-width: 62ch; }
.sec-head .kicker { margin-bottom: 16px; }

.pull {
  margin: 36px 0 0; padding-left: 26px; border-left: 2px solid var(--gold);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.26rem, 2vw, 1.7rem); line-height: 1.4; color: var(--ink-2);
}
.section-dark .pull { color: var(--paper); border-color: var(--gold-soft); }

/* manifeste : révélation caractère par caractère au défilement */
.manifesto {
  font-size: clamp(1.5rem, 3.2vw, 2.85rem); line-height: 1.24; letter-spacing: -.032em;
  font-weight: 500; max-width: 22ch;
}
.charwave span { transition: opacity .18s linear; }
.js .charwave span { opacity: .16; }

/* ------------------------------------------------------------------ repères chiffrés */

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 30px 26px; border-right: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact:last-child { padding-right: 0; }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--serif); font-size: clamp(2.1rem, 3.4vw, 3rem); font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.fact span { display: block; margin-top: 11px; font-size: .92rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ prestations */

.services-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 4vw, 74px); align-items: start; }
.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 26px; gap: 14px; align-items: baseline;
  padding: 24px 6px 24px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; position: relative; isolation: isolate;
  transition: padding-left .4s var(--ease);
}
.service-row::before {
  content: ""; position: absolute; inset: 0 -18px; border-radius: var(--r-sm);
  background: linear-gradient(90deg, rgba(176,129,44,.11), rgba(176,129,44,0) 72%);
  opacity: 0; transition: opacity .4s var(--ease); z-index: -1;
}
.service-row:hover { padding-left: 16px; }
.service-row:hover::before { opacity: 1; }
.service-row .n { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-deep); }
.service-row h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); font-weight: 700; letter-spacing: -.032em; }
.service-row p { margin: 7px 0 0; font-size: .95rem; color: var(--ink-soft); max-width: 52ch; }
.service-row .go { width: 24px; height: 24px; color: var(--gold-deep); opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.service-row:hover .go { opacity: 1; transform: translateX(0); }

.services-preview { position: sticky; top: 124px; }
.services-preview .frame { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-3); box-shadow: var(--shadow-deep); }
.services-preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity .45s var(--ease), transform .9s var(--ease);
}
.services-preview img.is-on { opacity: 1; transform: scale(1); }
.services-preview .cap { margin-top: 14px; font-size: .84rem; color: var(--muted); min-height: 2.6em; }

/* ------------------------------------------------------------------ marquee */

.marquee { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px) 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8vw, 150px); z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
.marquee-tint::before { background: linear-gradient(90deg, var(--paper-2), transparent); }
.marquee-tint::after { background: linear-gradient(270deg, var(--paper-2), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee figure { margin: 0 8px; position: relative; }
.marquee img { height: clamp(180px, 24vw, 320px); width: auto; border-radius: var(--r-md); object-fit: cover; box-shadow: var(--shadow-card); }
.marquee figcaption {
  position: absolute; left: 14px; bottom: 14px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(16,12,8,.55); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 6px 13px; border-radius: 999px;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ------------------------------------------------------------------ étapes */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 46px; }
.section-dark .steps { border-color: var(--line-light); }
.step { padding: 30px 26px 32px; border-right: 1px solid var(--line); }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.section-dark .step { border-color: var(--line-light); }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--gold); margin-bottom: 16px; }
.section-dark .step .n { color: var(--gold-soft); }
.step h3 { font-size: 1.06rem; letter-spacing: -.026em; }
.step p { margin: 9px 0 0; font-size: .94rem; color: var(--ink-soft); }
.section-dark .step p { color: rgba(245,240,228,.7); }

/* ------------------------------------------------------------------ listes */

.tick { list-style: none; margin: 0; padding: 0; }
.tick li { position: relative; padding: 11px 0 11px 27px; font-size: .97rem; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.tick li:last-child { border-bottom: 0; }
.tick li::before { content: ""; position: absolute; left: 1px; top: 18px; width: 11px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }

/* ------------------------------------------------------------------ comparateur */

.compare {
  position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10;
  background: var(--ink); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  box-shadow: var(--shadow-deep);
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after-clip { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.compare .tag {
  position: absolute; top: 16px; font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 13px; border-radius: 999px; color: #fff;
  background: rgba(16,12,8,.6); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.compare .tag-before { right: 16px; }
.compare .tag-after { left: 16px; background: rgba(74,106,72,.82); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(255,253,248,.95); transform: translateX(-1px); pointer-events: none; }
.compare .handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 50px; height: 50px;
  transform: translate(-50%, -50%); border-radius: 50%; background: var(--white);
  box-shadow: 0 8px 26px rgba(15,12,10,.45), inset 0 2px 6px rgba(255,255,255,.6);
}
.compare .handle::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 11px; z-index: 2;
  transform: translate(-50%, -50%); background: var(--ink);
  clip-path: polygon(0 50%, 34% 0, 34% 100%, 66% 0, 66% 100%, 100% 50%);
}
.ba-note { margin: 15px 0 0; font-size: .82rem; color: var(--muted); }

/* ------------------------------------------------------------------ zones */

.zone-pays { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 44px; }
.pays { padding: 28px 26px 30px; border-right: 1px solid var(--line); }
.pays:first-child { padding-left: 0; }
.pays:last-child { padding-right: 0; }
.pays:last-child { border-right: 0; }
.pays h3 { font-size: 1.06rem; letter-spacing: -.026em; }
.pays .col { font-size: .93rem; color: var(--ink-soft); margin-top: 14px; }
.pays .col a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line-soft); transition: color .25s var(--ease), padding-left .25s var(--ease); }
.pays .col a:hover { color: var(--gold-deep); padding-left: 5px; }
.pays .col span { display: block; padding: 10px 0; color: var(--muted); border-bottom: 1px solid var(--line-soft); }

.commune-index { columns: 4; column-gap: 34px; font-size: .92rem; margin-top: 32px; }
.commune-index a, .commune-index span { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-soft); break-inside: avoid; text-decoration: none; color: var(--ink-soft); }
.commune-index a { color: var(--ink); font-weight: 600; transition: color .25s var(--ease), padding-left .25s var(--ease); }
.commune-index a:hover { color: var(--gold-deep); padding-left: 5px; }

/* ------------------------------------------------------------------ galerie */

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--r-md); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-card); transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { margin-top: 12px; font-size: .87rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ FAQ */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: 1.06rem; font-weight: 600; letter-spacing: -.022em; position: relative; transition: color .25s var(--ease); }
.faq summary:hover { color: var(--gold-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 8px; top: 50%; background: var(--gold); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.faq summary::after { width: 15px; height: 2px; transform: translateY(-50%); }
.faq summary::before { width: 2px; height: 15px; transform: translate(-6.5px, -50%); }
.faq details[open] summary::before { opacity: 0; transform: translate(-6.5px, -50%) rotate(90deg); }
.faq .ans { padding: 0 44px 24px 0; font-size: .98rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ formulaire */

.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-deep); padding: 32px; position: relative; overflow: hidden;
  color: var(--ink);   /* sinon la carte hérite du crème des sections sombres */
}
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft) 55%, var(--gold-deep)); }
.form-card h2, .form-card h3 { font-size: 1.44rem; letter-spacing: -.034em; }
.form-card > p { margin: 10px 0 22px; font-size: .93rem; color: var(--muted); }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: .83rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.req { color: var(--brique); }
.opt { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px;
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
input::placeholder, textarea::placeholder { color: #9C8E80; }
input:focus, select:focus, textarea:focus { outline: none; background: var(--white); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,129,44,.16); }
textarea { resize: vertical; min-height: 80px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select { padding-right: 38px; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 16px 0 18px; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.consent input { margin: 2px 0 0; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.form-note { margin: 14px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }
.form-success, .form-error { display: none; margin-top: 15px; padding: 14px 16px; border-radius: 12px; font-size: .92rem; }
.form-success { background: rgba(74,106,72,.1); border: 1px solid rgba(74,106,72,.32); color: #33502F; }
.form-error { background: rgba(163,63,34,.09); border: 1px solid rgba(163,63,34,.3); color: #8B3319; }
form.is-sent .field, form.is-sent .consent, form.is-sent button { display: none; }

/* ------------------------------------------------------------------ contact */

.contact-lines { border-top: 1px solid var(--line); margin-top: 30px; }
.section-dark .contact-lines { border-color: var(--line-light); }
.cl { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .3s var(--ease); }
.section-dark .cl { border-color: var(--line-light); }
.cl:hover { padding-left: 6px; }
.cl .ic { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }
.section-dark .cl .ic { color: var(--gold-soft); }
.cl .ic svg { width: 100%; height: 100%; }
.cl .l { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.section-dark .cl .l { color: rgba(245,240,228,.55); }
.cl .v { display: block; font-size: 1.16rem; font-weight: 700; letter-spacing: -.028em; }
.cl .v.sm { font-size: .98rem; font-weight: 500; letter-spacing: -.012em; }

/* ------------------------------------------------------------------ maillage */

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related a {
  padding: 26px; border-radius: var(--r-md); text-decoration: none; display: block;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--lift-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.related b { display: block; font-size: 1.06rem; letter-spacing: -.026em; }
.related span { display: block; margin-top: 7px; font-size: .9rem; color: var(--ink-soft); }

/* ------------------------------------------------------------------ pied de page */

.site-footer { background: var(--ink); color: rgba(245,240,228,.72); padding: clamp(56px, 6vw, 88px) 0 34px; font-size: .93rem; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 38px; padding-bottom: 42px; border-bottom: 1px solid var(--line-light); }
.footer-top h3 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 18px; font-weight: 700; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 2px; }
.footer-top a { display: inline-block; padding: 10px 0; text-decoration: none; transition: color .25s var(--ease); }
.footer-top a:hover { color: #fff; }
.footer-brand b { display: block; color: var(--paper); font-size: 1.2rem; letter-spacing: -.03em; margin-bottom: 14px; }
.footer-brand p { max-width: 42ch; line-height: 1.6; }
.footer-legal { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 9px 30px; font-size: .8rem; color: rgba(245,240,228,.5); }
.footer-legal a { color: rgba(245,240,228,.62); text-decoration: none; border-bottom: 1px solid rgba(245,240,228,.2); }

/* ------------------------------------------------------------------ barre d'appel mobile */

.callbar { display: none; }

/* ------------------------------------------------------------------ animations d'entrée */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

.wpu span { display: inline-block; }
.js .wpu span { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .wpu.is-in span, .js .is-in .wpu span { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .wpu span { opacity: 1; transform: none; transition: none; }
  .js .charwave span { opacity: 1; }
  .service-row, .btn, .arrow-link svg, .related a, .cl, .gallery img { transition: none; }
}

/* ------------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .split, .split-55, .split-45, .services-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .services-preview { display: none; }
  .facts, .steps, .hero-proof-in { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2n), .step:nth-child(2n), .hero-proof-item:nth-child(2n) { border-right: 0; padding-right: 0; }
  .fact:nth-child(2n+1), .step:nth-child(2n+1), .hero-proof-item:nth-child(2n+1) { padding-left: 0; }
  .pays:nth-child(2n+1) { padding-left: 0; }
  .pays:nth-child(2n) { padding-right: 0; }
  .fact:nth-child(-n+2), .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-dark .step:nth-child(-n+2) { border-bottom-color: var(--line-light); }
  .zone-pays { grid-template-columns: repeat(2, 1fr); }
  .pays:nth-child(2n) { border-right: 0; }
  .pays:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .commune-index { columns: 3; }
  /* une fois les colonnes empilées, un portrait 4/5 pleine largeur devient un mur
     d'image : on le remet en paysage */
  .ratio-45 img, .ratio-11 img { aspect-ratio: 16 / 10; }
  .page-hero-visual img { aspect-ratio: 16 / 9; }
  .related { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .manifesto { max-width: none; }
}

/* la pastille d'en-tête doit tenir sur une seule ligne : en dessous de 1180 px
   on retire l'accroche de marque puis le bouton téléphone (la barre d'appel
   mobile et le pied de page les portent toujours) */
@media (max-width: 1180px) {
  .brand-txt span { display: none; }
  .header-cta .btn-glass { display: none; }
  .nav a { padding: 9px 11px; font-size: .89rem; }
}

@media (max-width: 900px) {
  .site-header { top: 10px; }
  .header-inner { position: relative; padding: 7px 7px 7px 16px; }
  .nav {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(250,246,238,.97); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 10px; box-shadow: var(--shadow-deep);
    backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  }
  .nav.is-open { display: flex; }
  .nav a, .site-header.is-stuck .nav a, body.light-header .nav a { color: var(--ink); padding: 14px 16px; font-size: 1.02rem; border-radius: 12px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
  }
  .site-header.is-stuck .nav-toggle, body.light-header .nav-toggle { color: var(--ink); border-color: var(--line); background: rgba(255,253,248,.6); }
  .nav-toggle svg { width: 20px; height: 20px; }
  .header-cta .btn-glass { display: none; }
  .header-cta .btn { white-space: nowrap; }
}

@media (max-width: 560px) { .brand-txt span { display: none; } }

@media (max-width: 430px) {
  .header-inner { padding: 6px 6px 6px 12px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-txt b { font-size: .93rem; }
  .header-cta { gap: 7px; }
  .header-cta .btn-gold { padding: 10px 14px; font-size: .85rem; }
  .nav-toggle { width: 44px; height: 44px; }
}


@media (max-width: 720px) {
  body { font-size: 16px; }
  main { padding-bottom: 78px; }
  .hero { padding: 6px; }
  .hero-frame { min-height: 88vh; border-radius: 22px; }
  .hero-frame::before {
    background:
      radial-gradient(120% 80% at 70% 10%, transparent 38%, rgba(16,12,8,.4) 100%),
      linear-gradient(180deg, rgba(16,12,8,.42) 0%, rgba(16,12,8,0) 22%, rgba(16,12,8,.52) 46%, rgba(16,12,8,.93) 100%);
  }
  .hero-in { padding-top: 110px; }
  .h-hero { font-size: clamp(2.1rem, 9.4vw, 3.1rem); letter-spacing: -.045em; }
  .hero-copy { max-width: 100%; }
  .hero-proof-in { grid-template-columns: 1fr 1fr; }
  .hero-proof-item { padding: 14px 14px 14px 0; }
  .hero-proof-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,253,248,.14); }
  .hero-proof-item span { font-size: .76rem; }
  .facts, .steps { grid-template-columns: 1fr; }
  .fact, .step { border-right: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .hero-proof-item { padding-left: 0; }
  .hero-proof-item:nth-child(2n) { padding-left: 14px; }
  .section-dark .step { border-bottom-color: var(--line-light); }
  .zone-pays { grid-template-columns: 1fr; }
  .pays { border-right: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .commune-index { columns: 2; column-gap: 20px; }
  .cols-2 { columns: 1; }
  .gallery { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .compare { aspect-ratio: 4 / 3; }
  .service-row { grid-template-columns: 42px minmax(0, 1fr); }
  .service-row .go { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .btn-pill { justify-content: space-between; }
  .form-card { padding: 24px; }

  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(245,240,228,.94);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid var(--line);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; }
  .callbar svg { width: 18px; height: 18px; }
  .callbar .call { background: var(--ink); color: var(--paper); box-shadow: var(--lift); }
  .callbar .quote { background: var(--gold-btn); color: #fff; box-shadow: var(--lift); }
}

@media print { .site-header, .callbar, .marquee, .hero-proof { display: none; } }
