/* ===================================================================
   LICORNE BÂTIMENT — Version "Grands groupes BTP"
   Institutionnel, éditorial, clair · anthracite + or + blanc
   =================================================================== */

:root {
  --gold: #c79a2e;
  --gold-d: #a9821f;
  --ink: #14161b;
  --ink-2: #3a3e47;
  --grey: #6c7079;
  --line: #e6e3dc;
  --paper: #ffffff;
  --mist: #f5f3ee;
  --mist-2: #efece4;
  --ff-head: 'Archivo', 'Arial Narrow', sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --maxw: 1240px;
  --gut: clamp(1.2rem, 4vw, 2.2rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; overflow-x: hidden; overflow-x: clip; color-scheme: light; }
body {
  font-family: var(--ff-body); color: var(--ink); background: var(--paper);
  line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased;
  width: 100%; max-width: 100%;
  overflow-x: hidden; overflow-x: clip;
  -webkit-tap-highlight-color: rgba(199, 154, 46, .2);
}
/* Pas de délai de tap / double-tap-zoom parasite sur les éléments interactifs */
a, button, .btn, input, select, textarea, summary, label[for] { touch-action: manipulation; }
/* Empêche les longues chaînes (e-mails, URLs) d'élargir la page sur mobile */
.footer-col a, .footer-brand p, .contact-list a, .zone-note { overflow-wrap: anywhere; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: #fff; }
/* Texte lisible par les lecteurs d'écran uniquement (SEO/accessibilité) */
.sr-only {
  position: absolute; 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(--maxw); margin: 0 auto; padding-inline: var(--gut); }

.skip-link { position: fixed; top: -100px; left: 12px; z-index: 3000; background: var(--gold); color: #fff; padding: .7rem 1.1rem; font-weight: 600; transition: top .25s; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.9rem; font-family: var(--ff-body);
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, background .25s, color .25s, border-color .25s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.7); font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar-item { letter-spacing: .04em; }
.topbar-right { display: flex; align-items: center; gap: .8rem; }
.topbar-right a { transition: color .2s; }
.topbar-right a:hover { color: var(--gold); }
.topbar .sep { opacity: .4; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand-logo { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: .85rem; font-weight: 500; color: var(--ink-2); position: relative; transition: color .2s; }
.nav a:not(.nav-cta):hover { color: var(--ink); }
.nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold); transition: width .25s; }
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { background: var(--gold); color: #fff; padding: .7rem 1.3rem; font-weight: 600; letter-spacing: .04em; }
.nav-cta:hover { background: var(--gold-d); }
/* Bouton "Devis gratuit" — halos dorés qui suivent le curseur */
.nav-cta.hover-btn { position: relative; overflow: hidden; isolation: isolate; }
.hb-label { position: relative; z-index: 2; }
.hb-circle {
  position: absolute; width: 30px; height: 30px; border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 1;
  background: radial-gradient(circle, #fff6d6 0%, #f0cf6a 55%, rgba(240,207,106,0) 75%);
  filter: blur(9px); mix-blend-mode: screen;
  opacity: 0; transition: opacity .3s ease;
}
.hb-circle.in { opacity: .9; }
.hb-circle.out { opacity: 0; transition: opacity 1.2s ease; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2px; background: var(--ink); transition: .3s; }
.burger.open span { background: #fff; } /* croix blanche sur le menu sombre */
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: linear-gradient(120deg, #23262e, #14161b 70%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,14,17,.85) 0%, rgba(13,14,17,.55) 45%, rgba(13,14,17,.2) 100%); }
.hero-inner { position: relative; z-index: 2; padding-block: clamp(3rem, 9vh, 7rem); max-width: 820px; }
.hero-logo { display: inline-block; margin-bottom: 1.4rem; }
.hero-logo img { height: clamp(90px, 13vw, 140px); width: auto; display: block; filter: drop-shadow(0 8px 22px rgba(0,0,0,.55)); }
.hero-kicker { font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1.2rem; padding-left: 3.2rem; position: relative; }
.hero-kicker::before { content: ''; position: absolute; left: 0; top: 50%; width: 2.4rem; height: 1px; background: var(--gold); }
.hero-title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); font-weight: 300; max-width: 620px; color: rgba(255,255,255,.85); margin: 1.5rem 0 2.4rem; text-wrap: pretty; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 1px; height: 54px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero-scroll span { position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--gold); animation: scrolldown 2s infinite; }
@keyframes scrolldown { 0%{transform:translateY(-100%)} 100%{transform:translateY(350%)} }

/* ---------- Chiffres clés ---------- */
.figures { background: var(--ink); color: #fff; }
.figures-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.figure { padding: 2.6rem 1.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.figure:last-child { border-right: 0; }
.figure-num { display: block; font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.figure-num.word { font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: .01em; }
.figure-label { display: block; margin-top: .6rem; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- Sections génériques ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 760px; margin-bottom: 3.5rem; }
.section-index { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 1rem; }
.section-index.light { color: var(--gold); }
.section-title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.section-title.light { color: #fff; }
.section-lead { margin-top: 1.2rem; color: var(--grey); font-size: 1.08rem; max-width: 60ch; text-wrap: pretty; }

/* ---------- Expertises (zig-zag) ---------- */
.expertise-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.expertise-row:first-of-type { border-top: 0; }
.expertise-row.reverse .expertise-media { order: 2; }
.expertise-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #2a2d35, #14161b); }
.expertise-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.expertise-row:hover .expertise-media img { transform: scale(1.05); }
.expertise-tag { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.92); color: var(--ink); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .8rem; }
.expertise-no { font-family: var(--ff-head); font-weight: 700; font-size: .9rem; color: var(--gold-d); letter-spacing: .1em; }
.expertise-text h3 { font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; margin: .5rem 0 1rem; }
.expertise-text p { color: var(--grey); margin-bottom: 1.4rem; max-width: 48ch; }
.ticks { display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.ticks li { font-size: .82rem; font-weight: 500; color: var(--ink-2); background: var(--mist); border: 1px solid var(--line); padding: .4rem .9rem; }

/* ---------- L'entreprise ---------- */
.groupe { background: var(--mist); }
.groupe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.groupe-text p { color: var(--ink-2); margin: 1.1rem 0; max-width: 48ch; }
.groupe-text .section-title { margin-top: .4rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .6rem; margin-top: .8rem; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: .25rem; transition: gap .25s; }
.link-arrow span { color: var(--gold-d); transition: transform .25s; }
.link-arrow:hover span { transform: translateX(5px); }
.groupe-media { aspect-ratio: 5 / 6; overflow: hidden; background: linear-gradient(135deg, #2a2d35, #14161b); }
.groupe-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Engagements ---------- */
.engagements { background: var(--ink); color: #fff; }
.engagements-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.engagement { padding: 2rem 1.8rem 2rem 0; border-top: 2px solid var(--gold); margin-right: 1px; }
.engagement-no { font-family: var(--ff-head); font-weight: 800; font-size: 1.1rem; color: var(--gold); }
.engagement h3 { font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; margin: .8rem 0 .6rem; }
.engagement p { color: rgba(255,255,255,.65); font-size: .95rem; margin: 0; }

/* ---------- Réalisations ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.project { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(135deg, #2a2d35, #14161b); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.project:hover img { transform: scale(1.07); }
.project figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 1.4rem; background: linear-gradient(to top, rgba(13,14,17,.88), transparent); color: #fff; }
.project-cat { font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; }
.project-loc { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }

/* Galerie "à venir" — tuiles dégradées sobres, sans fausses photos */
.projects-soon .project { aspect-ratio: 5 / 4; border: 1px solid var(--line); }
.projects-soon .project figcaption { justify-content: center; background: linear-gradient(to top, rgba(13,14,17,.55), transparent); }
.projects-soon .project-cat { color: #fff; }
.projects-soon .p1 { background: linear-gradient(150deg, #2f333d, #15171b); }
.projects-soon .p2 { background: linear-gradient(150deg, #3a3326, #16140f); }
.projects-soon .p3 { background: linear-gradient(150deg, #2a3540, #14181b); }
.projects-soon .project::after { content: '📷'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; opacity: .25; }

/* ---------- CTA ---------- */
.cta { background: var(--gold); color: #fff; }
.cta-inner { text-align: center; padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-inner h2 { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.02em; }
.cta-inner p { margin: .8rem 0 2rem; font-size: 1.1rem; color: rgba(255,255,255,.9); }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary:hover { background: var(--ink); color: #fff; }

/* ---------- Zone ---------- */
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.zone-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 1.8rem; border-top: 1px solid var(--line); }
.zone-list li { padding: .9rem .2rem; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink-2); position: relative; padding-left: 1.6rem; }
.zone-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; background: var(--gold); }
.zone-map { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); }
.zone-map iframe { width: 100%; height: 100%; }

/* ---------- Contact ---------- */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.contact-list { margin-top: 2rem; }
.contact-list li { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.cl-label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.contact-list a:hover { color: var(--gold-d); }
.contact-form { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.6rem, 3vw, 2.6rem); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .5rem; }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); background: var(--paper); font-family: var(--ff-body); font-size: .98rem; color: var(--ink); border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,154,46,.15); }
.field textarea { resize: vertical; }
.field-error { display: none; margin-top: .35rem; font-size: .8rem; font-weight: 500; color: #c0392b; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #d98b80; background: #fdf6f5; }
.form-note { font-size: .8rem; color: var(--grey); margin-top: 1rem; }
.form-success { margin-top: 1rem; padding: 1rem; background: #eef7ef; border: 1px solid #b9ddbd; color: #2f7a3a; font-size: .92rem; border-radius: 10px; }
.form-success.form-error { background: #fdeceb; border-color: #e0a8a0; color: #c0392b; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.65); }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.footer-logo { height: 60px; width: auto; background: #fff; padding: 8px 12px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .92rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,.6); font-size: .92rem; margin-bottom: .65rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.footer-bottom p { font-size: .84rem; color: rgba(255,255,255,.45); }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { font-size: .84rem; color: rgba(255,255,255,.55); }
.footer-legal a:hover { color: var(--gold); }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .engagements-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .expertise-row, .groupe-grid, .zone-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .expertise-row.reverse .expertise-media { order: 0; }
  .expertise-media, .groupe-media { aspect-ratio: 16 / 10; }
  /* Menu burger dès la tablette : les liens horizontaux ne tiennent plus */
  /* On retire le backdrop-filter du header sur mobile : sinon il devient le
     "containing block" du menu fixe et le bride à la hauteur du header. */
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .burger { display: flex; z-index: 1100; } /* reste au-dessus du menu pour le fermer */

  /* ===== Menu plein écran premium (anthracite + or) ===== */
  .nav {
    position: fixed; inset: 0; width: 100%; max-width: none; z-index: 999;
    background:
      radial-gradient(120% 55% at 88% 4%, rgba(199,154,46,.18), transparent 58%),
      linear-gradient(165deg, #1e2028 0%, #14161b 72%);
    flex-direction: column; align-items: stretch; justify-content: center;
    gap: 0; padding: 8rem 2.4rem 3rem; overflow-y: auto;
    transform: translateX(100%); opacity: 0;
    transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .4s ease;
    box-shadow: none;
  }
  .nav.open { transform: none; opacity: 1; }

  /* Liens : grands, espacés, puce dorée, entrée en cascade */
  .nav a:not(.nav-cta) {
    color: rgba(255,255,255,.92); font-family: var(--ff-head); font-weight: 600;
    font-size: 1.4rem; letter-spacing: .005em; line-height: 1.2;
    padding: 1.15rem .2rem; display: flex; align-items: center; gap: .95rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateX(26px); opacity: 0;
    transition: color .25s ease, transform .55s cubic-bezier(.22,1,.36,1), opacity .45s ease;
  }
  .nav a:not(.nav-cta)::before {
    content: ''; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%;
    background: var(--gold); opacity: .55; transition: opacity .25s ease, transform .25s ease;
  }
  .nav a:not(.nav-cta)::after { display: none; } /* neutralise le soulignement du bureau */
  .nav a:not(.nav-cta):hover, .nav a:not(.nav-cta):active { color: var(--gold); }
  .nav a:not(.nav-cta):hover::before, .nav a:not(.nav-cta):active::before { opacity: 1; transform: scale(1.4); }
  .nav.open a:not(.nav-cta) { transform: none; opacity: 1; }
  .nav.open a:not(.nav-cta):nth-child(1) { transition-delay: .06s; }
  .nav.open a:not(.nav-cta):nth-child(2) { transition-delay: .12s; }
  .nav.open a:not(.nav-cta):nth-child(3) { transition-delay: .18s; }
  .nav.open a:not(.nav-cta):nth-child(4) { transition-delay: .24s; }

  /* Bouton "Devis gratuit" : pleine largeur, entrée différée */
  .nav .nav-cta {
    margin-top: 1.9rem; align-self: stretch; justify-content: center; text-align: center;
    padding: 1.15rem 1.2rem; font-size: .92rem; border-radius: 12px;
    box-shadow: 0 16px 34px -14px rgba(199,154,46,.7);
    transform: translateY(16px); opacity: 0;
    transition: transform .55s cubic-bezier(.22,1,.36,1) .3s, opacity .45s ease .3s, background .25s;
  }
  .nav.open .nav-cta { transform: none; opacity: 1; }
  /* Pied de page : 2 colonnes sur tablette */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 0 2.4rem; }
}
@media (max-width: 680px) {
  .topbar-item { display: none; }
  .topbar-inner { justify-content: center; }
  .figures-grid { grid-template-columns: 1fr; }
  .figure { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .figure:last-child { border-bottom: 0; }
  .projects { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: .2rem; }
  /* Pied de page : 1 colonne sur smartphone */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   HERO CLAIR — titre script + illustration maison animée
   =================================================================== */
.hero-light {
  min-height: auto;
  color: var(--ink);
  background:
    radial-gradient(900px circle at 82% 8%, rgba(199,154,46,.12), transparent 55%),
    radial-gradient(700px circle at 0% 100%, rgba(199,154,46,.07), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--mist) 100%);
  align-items: center;
  overflow: hidden;
}
.hero-light::after { display: none; }
.hero-light .hero-inner {
  display: grid; grid-template-columns: 1.18fr .82fr;
  gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center;
  padding-block: clamp(3rem, 8vh, 6rem); max-width: var(--maxw);
}
.hero-light .hero-kicker { color: var(--gold-d); }
.hero-light .hero-kicker::before { background: var(--gold); }
.hero-title { display: flex; flex-direction: column; gap: .2rem; }
.hero-script {
  font-family: 'Great Vibes', cursive; font-weight: 400;
  color: var(--gold-d); line-height: 1;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  margin-bottom: -.3rem;
}
.hero-display {
  font-family: var(--ff-head); font-weight: 900; color: var(--ink);
  font-size: clamp(3rem, 8.5vw, 6rem); line-height: .95; letter-spacing: -.02em;
}
.hero-display::after {
  content: ''; display: block; width: clamp(120px, 35%, 250px); height: 5px;
  background: var(--gold); border-radius: 3px; margin-top: 1.1rem;
  transform-origin: left; animation: drawline 1s .5s both;
}
@keyframes drawline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* "Nous réalisons" — accroche pleine */
.hero-lead-in {
  font-family: var(--ff-head); font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); color: var(--ink);
  letter-spacing: -.01em; margin-bottom: .15rem;
}

/* Mot rotatif (effet "text-rotate" recréé en vanilla) — lettres évidées, une ligne */
.hero-rotate {
  font-family: var(--ff-head); font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.1; letter-spacing: -.015em;
  text-transform: uppercase;
  display: flex; align-items: flex-end;
  overflow: hidden; padding: .06em 0 .18em; min-height: 1.3em;
  max-width: 100%;
}
.tr-fit {
  display: inline-flex; flex-wrap: nowrap; white-space: nowrap;
  align-items: flex-end; line-height: 1.1;
}
.tr-word { display: inline-flex; flex: 0 0 auto; }
.tr-char {
  display: inline-block; line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--gold-d);
  transform: translateY(115%); opacity: 0;
  transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .45s ease;
}
.tr-char.in { transform: translateY(0); opacity: 1; }
.tr-char.out {
  transform: translateY(-125%); opacity: 0;
  transition: transform .45s cubic-bezier(.66,0,.84,0), opacity .35s ease;
}
.tr-space { display: inline-block; width: .28em; }
.hero-rule {
  display: block; width: 0; height: 5px;
  background: var(--gold); border-radius: 3px; margin-top: 1.1rem;
  transition: width .55s cubic-bezier(.22, 1, .36, 1);
}
.hero-light .hero-lead { color: var(--grey); margin-top: 1.6rem; }
.hero-light .hero-scroll { background: rgba(20,22,27,.14); }
.hero-light .hero-scroll span { background: var(--gold); }

.btn-ghost-dark { background: transparent; color: var(--ink); border-color: rgba(20,22,27,.25); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Visuel du hero : logo mis en valeur — entrée soignée + halo doré */
.hero-illus { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-illus::before {
  content: ''; position: absolute; z-index: 0;
  width: min(82%, 540px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(199,154,46,.20) 0%, rgba(199,154,46,.07) 46%, transparent 70%);
  animation: haloBreath 6s ease-in-out infinite;
  pointer-events: none;
}
.hero-illus .house { width: 100%; height: auto; mix-blend-mode: multiply; }
.hero-illus .hero-emblem {
  position: relative; z-index: 1;
  width: 100%; max-width: 600px; height: auto;
  filter: drop-shadow(0 24px 48px rgba(20, 22, 27, .16));
  animation: emblemIn 1.1s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes emblemIn {
  from { opacity: 0; transform: scale(.9) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes haloBreath {
  0%, 100% { transform: scale(1);    opacity: .7; }
  50%      { transform: scale(1.05); opacity: 1; }
}
.hero.no-illus .hero-illus { display: none; }
.hero.no-illus .hero-inner { grid-template-columns: 1fr; max-width: 820px; }

/* ===================================================================
   ZONE D'INTERVENTION — version moderne (carte + pastilles)
   =================================================================== */
.zone-modern {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.6rem;
  align-items: stretch;
}
.zone-modern .zone-map {
  aspect-ratio: auto; height: 100%; min-height: 380px;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(13,14,17,.3);
}
.zone-side {
  background: var(--ink); color: #fff; border-radius: 18px;
  padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column;
}
.zone-side-label {
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.4rem;
}
.zone-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.zone-chips li {
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2); border-radius: 100px;
  padding: .55rem 1.1rem; cursor: default;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.zone-chips li:hover {
  background: var(--gold); color: #15161b; border-color: var(--gold);
  transform: translateY(-3px);
}
.zone-note { margin-top: auto; padding-top: 1.6rem; font-size: .92rem; color: rgba(255,255,255,.65); }
.zone-note a { color: var(--gold); font-weight: 600; }
.zone-note a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .hero-light .hero-inner { grid-template-columns: 1fr; }
  .hero-illus { order: -1; max-width: 460px; margin: 0 auto; }
  .zone-modern { grid-template-columns: 1fr; }
  .zone-modern .zone-map { min-height: 300px; }
}

/* ===================================================================
   SAVOIR-FAIRE — cartes empilées (sticky scroll-cards)
   =================================================================== */
.cards-stack { position: relative; }
.stack-card {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 3vh, 2.5rem) var(--gut);
}
.stack-card-inner {
  position: relative; margin: 0;
  width: min(1120px, 100%); height: min(78vh, 600px);
  border-radius: 22px; overflow: hidden;
  display: flex; align-items: flex-end;
  box-shadow: 0 40px 90px -40px rgba(13,14,17,.65);
  border: 1px solid rgba(255,255,255,.08);
}
.stack-card-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.stack-card-inner::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,11,14,.82) 0%, rgba(10,11,14,.32) 38%, transparent 65%);
}
.stack-card-body { position: relative; z-index: 2; padding: clamp(1.8rem, 4vw, 3.4rem); color: #fff; max-width: 720px; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.stack-card-tag {
  display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #14161b; background: var(--gold); padding: .4rem .9rem; border-radius: 100px; margin-bottom: 1.1rem;
}
.stack-card-title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.04; letter-spacing: -.02em; }
.stack-card-desc { margin-top: .9rem; font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 52ch; }
.stack-card-ticks { display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin-top: 1.4rem; }
.stack-card-ticks li {
  font-size: .82rem; font-weight: 500; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  padding: .4rem .9rem; border-radius: 100px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ---- Comparateur avant / après (intégré aux cartes empilées) ---- */
.stack-card-inner.has-compare::after { display: none; } /* pas de voile global : on garde les photos visibles */
.cmp {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-before { z-index: 1; }
.cmp-after { position: absolute; inset: 0; z-index: 2; overflow: hidden; clip-path: inset(0 0 0 var(--cmp, 50%)); }
.cmp-divider {
  position: absolute; top: 0; bottom: 0; z-index: 4; left: var(--cmp, 50%);
  width: 3px; background: rgba(255,255,255,.92); transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0,0,0,.4); pointer-events: none;
}
.cmp-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.45);
  transition: transform .2s ease;
}
.cmp.dragging .cmp-knob { transform: translate(-50%,-50%) scale(1.12); }
.cmp-tag {
  position: absolute; top: 1rem; z-index: 3;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: rgba(10,11,14,.55); padding: .32rem .8rem; border-radius: 100px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none;
}
.cmp-tag-l { left: 1rem; }
.cmp-tag-r { right: 1rem; }
/* le texte de la carte reste lisible (voile propre au bas) et laisse passer le glissement */
.has-compare .stack-card-body {
  z-index: 5; pointer-events: none; width: 100%;
  background: linear-gradient(to top, rgba(10,11,14,.8) 0%, rgba(10,11,14,.32) 45%, transparent 78%);
  padding-top: 3.4rem; text-shadow: 0 1px 16px rgba(0,0,0,.6);
}

/* ===================================================================
   INTRO — scroll-expansion : le logo central s'agrandit au défilement
   =================================================================== */
.xhero { position: relative; height: 220vh; background: #0c0d10; }
.xhero-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100dvh;
  overflow: hidden;
  display: grid; place-items: center;
  background: #0c0d10;
}
.xhero-bg { position: absolute; inset: 0; z-index: 0; will-change: opacity; }
.xhero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.xhero-bg-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,14,.42), rgba(10,11,14,.55)); }
.xhero-media {
  position: relative; z-index: 2; margin: 0;
  width: min(1180px, 94vw); height: min(78vh, 760px);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 50px 110px -35px rgba(0,0,0,.75);
  transform: scale(.26); transform-origin: center; will-change: transform;
}
.xhero-media img { width: 100%; height: 100%; object-fit: cover; }
.xhero-hint {
  position: absolute; bottom: 6vh; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: #fff; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
}
.xhero-arrow { font-size: 1.3rem; animation: xbob 1.8s ease-in-out infinite; }
@keyframes xbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ===================================================================
   HERO PLEINE IMAGE — façon grands groupes BTP (fond photo + texte)
   =================================================================== */
.hero-shot {
  position: relative; min-height: 90vh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden; background: var(--ink);
}
.hero-shot .hero-media { position: absolute; inset: 0; z-index: 0; background: linear-gradient(120deg, #23262e, #14161b 70%); }
.hero-shot .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shot::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,11,14,.92) 0%, rgba(10,11,14,.72) 42%, rgba(10,11,14,.40) 100%);
}
.hero-shot .hero-inner { position: relative; z-index: 2; display: block; max-width: var(--maxw); padding-block: clamp(5rem, 13vh, 8rem); }
.hero-shot .hero-text { max-width: 880px; }
.hero-shot .hero-kicker { color: #e3c25f; }
.hero-shot .hero-kicker::before { background: #e3c25f; }
.hero-shot .hero-lead-in { color: #fff; }
.hero-shot .hero-lead { color: rgba(255,255,255,.84); }
.hero-shot .hero-rule { background: #d4af37; }
.hero-shot .tr-char { -webkit-text-stroke-color: #e3c25f; }
.hero-shot .hero-scroll { background: rgba(255,255,255,.22); }
.hero-shot .hero-scroll span { background: #d4af37; }
.hero-shot .btn-primary { background: #d4af37; color: #14161b; }
.hero-shot .btn-primary:hover { background: #fff; color: #14161b; }
.hero-shot .btn-ghost {
  background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero-shot .btn-ghost:hover { background: #fff; color: #14161b; border-color: #fff; }

/* ===================================================================
   ANIMATIONS — variantes d'apparition (directionnelles, volet image)
   =================================================================== */
.reveal-l, .reveal-r, .reveal-img, .reveal-cta { will-change: transform, opacity; }
.reveal-l { opacity: 0; transform: translateX(-46px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal-r { opacity: 0; transform: translateX(46px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal-l.visible, .reveal-r.visible { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(0 100% 0 0); transition: clip-path 1.05s cubic-bezier(.16,1,.3,1); }
.reveal-img.visible { clip-path: inset(0 0 0 0); }
.reveal-img img { transform: scale(1.12); transition: transform 1.4s cubic-bezier(.16,1,.3,1); }
.reveal-img.visible img { transform: scale(1); }

/* ===================================================================
   L'ARTISAN — révélation impactante (rideau doré + Ken Burns + badge)
   =================================================================== */
.groupe-media { position: relative; aspect-ratio: auto; overflow: visible; background: none; }
.link-arrow { transition: gap .3s ease; }
.groupe-frame {
  position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 5 / 6;
  background: linear-gradient(135deg, #2a2d35, #14161b);
  box-shadow: 0 44px 100px -45px rgba(13,14,17,.55);
  transform: translateY(var(--gp-py, 0px)); will-change: transform;
}
.groupe-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.24); transition: transform 1.4s cubic-bezier(.16,1,.3,1); will-change: transform; }
.groupe.is-in .groupe-img { transform: scale(1); }
.groupe-curtain {
  position: absolute; inset: 0; z-index: 2; transform: translateY(0);
  background: linear-gradient(135deg, #f4e0a0 0%, #d4af37 40%, #b8860b 75%, #14161b 130%);
  transition: transform 1.1s cubic-bezier(.77,0,.18,1) .12s;
}
.groupe.is-in .groupe-curtain { transform: translateY(-101%); }
.groupe-badge {
  position: absolute; z-index: 3; right: -16px; bottom: -22px;
  display: flex; align-items: center; gap: .65rem;
  background: linear-gradient(135deg, #d4af37, #b8860b); color: #14161b;
  border-radius: 14px; padding: 1.05rem 1.4rem;
  box-shadow: 0 22px 46px -16px rgba(199,154,46,.75);
  opacity: 0; transform: scale(.45) rotate(-8deg); transform-origin: bottom right;
  transition: opacity .5s ease .9s, transform .65s cubic-bezier(.34,1.56,.64,1) .9s;
}
.groupe.is-in .groupe-badge { opacity: 1; transform: scale(1) rotate(0); }
.gb-num { font-family: var(--ff-head); font-weight: 800; font-size: 2.5rem; line-height: 1; }
.gb-num sup { font-size: .5em; vertical-align: super; }
.gb-label { font-size: .74rem; line-height: 1.15; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* Titre à effet "flip 3D" (chars qui se retournent) — couleurs Licorne */
.gp-head { perspective: 1000px; margin: 0 0 .2rem; }
.gp-flip {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-start;
  max-width: 100%;
  font-family: var(--ff-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1; letter-spacing: -.025em;
  color: var(--gold-d); transform-style: preserve-3d;
}
.fword { display: inline-flex; flex: 0 0 auto; }
.fspace { flex: 0 0 auto; width: .28em; }
.gp-flip .fchar {
  display: inline-block; transform-origin: bottom center;
  opacity: 0; transform: rotateX(-90deg) translateY(20px); will-change: transform, opacity;
}
.groupe.is-in .gp-flip .fchar {
  animation: flip-up .8s cubic-bezier(.175,.885,.32,1.275) forwards;
  animation-delay: calc(.05s * var(--i, 0));
}
@keyframes flip-up {
  0% { opacity: 0; transform: rotateX(-90deg) translateY(40px); }
  100% { opacity: 1; transform: rotateX(0deg) translateY(0); }
}
.gp-sub {
  font-family: var(--ff-head); font-weight: 700; letter-spacing: -.015em; line-height: 1.1;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem); color: var(--ink);
  margin: .7rem 0 1.4rem; max-width: 26ch;
}
@media (prefers-reduced-motion: reduce) {
  .gp-flip .fchar { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Texte : titre en volet + lignes en cascade */
.gp-title {
  clip-path: inset(0 0 100% 0); opacity: .001; transform: translateY(26px);
  transition: clip-path 1s cubic-bezier(.16,1,.3,1) .15s, transform 1s cubic-bezier(.16,1,.3,1) .15s, opacity .5s ease .15s;
}
.groupe.is-in .gp-title { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }
.gp-fade { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.groupe.is-in .gp-fade { opacity: 1; transform: none; }
.groupe.is-in .groupe-text > .gp-fade:nth-child(1) { transition-delay: .1s; }
.groupe.is-in .groupe-text > .gp-fade:nth-child(3) { transition-delay: .5s; }
.groupe.is-in .groupe-text > .gp-fade:nth-child(4) { transition-delay: .62s; }
.groupe.is-in .groupe-text > .gp-fade:nth-child(5) { transition-delay: .74s; }

@media (prefers-reduced-motion: reduce) {
  .groupe-img { transform: none; }
  .groupe-curtain { display: none; }
  .groupe-badge { opacity: 1; transform: none; }
  .gp-title { clip-path: none; opacity: 1; transform: none; }
  .gp-fade { opacity: 1; transform: none; }
  .groupe-frame { transform: none; }
}

/* Nos engagements — entrée en cascade + liseré doré animé + survol */
.engagement {
  position: relative; overflow: hidden;
  border-top: 0; padding-top: 2.2rem;
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s ease;
  border-radius: 4px;
}
.engagement::before {
  content: ''; position: absolute; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .7s cubic-bezier(.16,1,.3,1) .15s;
}
.engagement.reveal.visible::before { transform: scaleX(1); }
.engagements .engagement.reveal:nth-child(1) { transition-delay: .05s; }
.engagements .engagement.reveal:nth-child(2) { transition-delay: .15s; }
.engagements .engagement.reveal:nth-child(3) { transition-delay: .25s; }
.engagements .engagement.reveal:nth-child(4) { transition-delay: .35s; }
.engagement:hover { transform: translateY(-6px); background: rgba(255,255,255,.04); }
.engagement:hover .engagement-no { color: #fff; }
.engagement-no { display: block; margin-bottom: 1.2rem; transition: color .35s ease; }

/* ---- Titres "Liquid Glass" (filtre SVG + bords de verre) ---- */
.glass-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.engagements { position: relative; overflow: hidden; }
.engagements::before, .engagements::after {
  content: ''; position: absolute; z-index: 0; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
}
.engagements::before { width: 460px; height: 460px; top: -120px; left: -40px; background: radial-gradient(circle, rgba(212,175,55,.28), transparent 70%); }
.engagements::after { width: 520px; height: 520px; bottom: -160px; right: -60px; background: radial-gradient(circle, rgba(120,150,190,.20), transparent 70%); }
.engagements .container { position: relative; z-index: 1; }

.glass-title {
  position: relative; display: inline-flex; align-items: center; min-height: 2.7rem;
  margin: 0 0 1.2rem; padding: .5rem 1.05rem;
  border-radius: 14px; isolation: isolate;
  background: rgba(255,255,255,.05);
  -webkit-backdrop-filter: url("#container-glass") blur(2px) saturate(1.6);
  backdrop-filter: url("#container-glass") blur(2px) saturate(1.6);
  box-shadow:
    0 2px 8px rgba(0,0,0,.22),
    inset 3px 3px .5px -3.5px rgba(255,255,255,.10),
    inset -3px -3px .5px -3.5px rgba(255,255,255,.85),
    inset 1px 1px 1px -.5px rgba(255,255,255,.6),
    inset -1px -1px 1px -.5px rgba(255,255,255,.6),
    inset 0 0 6px 6px rgba(255,255,255,.12),
    inset 0 0 2px 2px rgba(255,255,255,.06),
    0 0 14px rgba(212,175,55,.12);
  transition: box-shadow .4s ease, background .4s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.engagement:hover .glass-title {
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
  box-shadow:
    0 6px 16px rgba(0,0,0,.28),
    inset 3px 3px .5px -3.5px rgba(255,255,255,.14),
    inset -3px -3px .5px -3.5px rgba(255,255,255,.95),
    inset 1px 1px 1px -.5px rgba(255,255,255,.7),
    inset -1px -1px 1px -.5px rgba(255,255,255,.7),
    inset 0 0 7px 6px rgba(255,255,255,.16),
    inset 0 0 2px 2px rgba(255,255,255,.08),
    0 0 22px rgba(212,175,55,.28);
}
/* Repli si backdrop-filter:url() non supporté : verre dépoli classique */
@supports not (backdrop-filter: url("#container-glass")) {
  .glass-title { -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4); }
}

/* ===================================================================
   CTA "Un projet à bâtir ?" — carte centrée + halo doré (thème Licorne)
   =================================================================== */
.cta-rect { background: var(--ink); color: #fff; padding: clamp(3rem, 7vw, 6rem) var(--gut); }
.cta-rect-inner {
  position: relative; max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 1.5rem; padding: clamp(2.6rem, 6vw, 5rem) 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(199,154,46,.10), transparent 60%),
    rgba(255,255,255,.015);
  overflow: hidden;
}
.cta-badge {
  display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.72); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.18); padding: .45rem 1.1rem; border-radius: 100px;
}
.cta-title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.1rem, 5.5vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; }
.cta-desc { color: rgba(255,255,255,.72); max-width: 50ch; font-size: 1.08rem; }
.cta-rect .cta-btn { background: var(--gold); color: #14161b; margin-top: .3rem; }
.cta-rect .cta-btn:hover { background: #fff; color: #14161b; }
.cta-glow {
  position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
  box-shadow: inset 0 -16px 130px 0 rgba(212,175,55,.45), inset 0 -16px 40px 0 rgba(199,154,46,.45);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9rem);
  mask-image: linear-gradient(to bottom, transparent, #000 9rem);
}
/* apparition en cascade (fade-in-up) quand la carte entre dans l'écran */
.cta-rect-inner .cta-badge,
.cta-rect-inner .cta-title,
.cta-rect-inner .cta-desc,
.cta-rect-inner .cta-btn {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.cta-rect-inner .cta-glow { opacity: 0; transform: scale(.94); transition: opacity .7s ease, transform .7s ease; }
.cta-rect-inner.visible .cta-badge { opacity: 1; transform: none; transition-delay: .1s; }
.cta-rect-inner.visible .cta-title { opacity: 1; transform: none; transition-delay: .2s; }
.cta-rect-inner.visible .cta-desc  { opacity: 1; transform: none; transition-delay: .3s; }
.cta-rect-inner.visible .cta-btn   { opacity: 1; transform: none; transition-delay: .5s; }
.cta-rect-inner.visible .cta-glow  { opacity: 1; transform: scale(1); transition-delay: .7s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-l, .reveal-r { opacity: 1; transform: none; }
  .reveal-img { clip-path: none; }
  .reveal-img img { transform: none; }
  .cta-rect-inner > * { opacity: 1 !important; transform: none !important; }
}

/* ===================================================================
   FORMULAIRE MODERNE — labels flottants + bouton doré
   =================================================================== */
.contact-form { border-radius: 20px; box-shadow: 0 34px 80px -45px rgba(13,14,17,.35); }
.field.float { position: relative; margin-bottom: 1.15rem; }
.field.float input, .field.float select, .field.float textarea {
  width: 100%; padding: 1.55rem 1rem .55rem;
  border: 1px solid var(--line); border-radius: 12px; background: #faf9f6;
  font-family: var(--ff-body); font-size: 1rem; color: var(--ink);
  -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field.float textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.field.float select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c7079' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.field.float label {
  position: absolute; left: 1rem; top: 1.05rem; z-index: 1;
  color: var(--grey); font-size: 1rem; font-weight: 400; pointer-events: none;
  transition: top .18s ease, font-size .18s ease, color .18s ease, letter-spacing .18s ease;
}
.field.float input:focus + label,
.field.float input:not(:placeholder-shown) + label,
.field.float textarea:focus + label,
.field.float textarea:not(:placeholder-shown) + label,
.field.float.has-select label {
  top: .42rem; font-size: .68rem; color: var(--gold-d); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.field.float input:focus, .field.float select:focus, .field.float textarea:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(199,154,46,.15);
}
.field.float.invalid input, .field.float.invalid textarea { border-color: #d98b80; background: #fdf6f5; }
.field.float .field-error { margin-top: .4rem; }

.form-submit {
  width: 100%; margin-top: .5rem; cursor: pointer; border: 0;
  background: var(--gold); color: #14161b;
  padding: 1.05rem 1.6rem; border-radius: 12px;
  font-family: var(--ff-body); font-size: .9rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  box-shadow: 0 14px 30px -12px rgba(199,154,46,.6);
  transition: background .25s, transform .25s, box-shadow .25s;
}
.form-submit:hover { background: var(--gold-d); transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(199,154,46,.7); }
.form-submit:active { transform: translateY(0); }
.form-submit .fs-arrow { transition: transform .25s ease; }
.form-submit:hover .fs-arrow { transform: translateX(5px); }

/* ===================================================================
   FAQ — accordéon natif <details> (accessible clavier, SEO FAQPage)
   =================================================================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent;
  padding: 1.35rem .2rem; gap: 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--ff-head); font-weight: 700; color: var(--ink);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.35;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-d); }
.faq-item summary::after {
  content: '+'; flex: 0 0 auto; width: 1.4em; height: 1.4em;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--mist); color: var(--gold-d);
  font-family: var(--ff-body); font-weight: 400; font-size: 1.4rem; line-height: 1;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .25s ease, color .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--gold); color: #fff; }
.faq-answer { padding: 0 .2rem 1.5rem; color: var(--grey); max-width: 68ch; }
.faq-answer p { margin: 0; }
