/* ============================================================
   SD ACCOUNTING & SOLUTIONS SARL — site internet v01
   Charte : or #A97514 · or clair #C9A24B · noir #12100E · encre #2E2A26
            gris #7A736B · pâle #A79E93 · filet #E4DCCC · crème #F8F4ED
   Typo   : Lora (titres, comme la carte de visite et la vidéo)
            Lato (texte courant) — repli Georgia / Calibri
   ============================================================ */

:root {
  --or: #A97514;
  --or-clair: #C9A24B;
  --or-pale: #EFE3CB;
  --noir: #12100E;
  --encre: #2E2A26;
  --gris: #7A736B;
  --pale: #A79E93;
  --filet: #E4DCCC;
  --creme: #F8F4ED;
  --blanc: #FFFFFF;
  --voile: 248, 244, 237;        /* rgb du voile clair (hero, étiquettes, en-tête) */
  --marbre-hero: url("assets/marbre-clair.jpg");
  --marbre-carte: url("assets/marbre-carre.jpg");
  --sur-or: #FFFFFF;             /* texte posé sur un fond or */
  color-scheme: light;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Lato", Calibri, "Segoe UI", Arial, sans-serif;

  --w: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--or); text-decoration: none; }
a:hover { color: var(--noir); }

:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--noir);
  margin: 0;
  line-height: 1.15;
}

p { margin: 0 0 1em; }

.container { width: min(var(--w), 100% - 2 * var(--gutter)); margin-inline: auto; }

.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;
}

/* ------------------------------------------------------------
   Éléments de marque réutilisés
   ------------------------------------------------------------ */
.filet-or {
  display: block; width: 72px; height: 1px; background: var(--or);
  transform-origin: left center;
}

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--or);
  font-weight: 700;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -.005em;
  margin: 14px 0 16px;
}

.section-title em {
  font-style: italic; font-weight: 400;
}

.lead {
  font-size: 19px; line-height: 1.6; color: var(--encre); max-width: 60ch;
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid var(--or);
  color: var(--or);
  background: transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--or); color: var(--sur-or); }
.btn--plein { background: var(--or); color: var(--sur-or); }
.btn--plein:hover { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.btn--clair { border-color: var(--or-clair); color: var(--or-clair); }
.btn--clair:hover { background: var(--or-clair); color: var(--noir); }

/* ------------------------------------------------------------
   En-tête
   ------------------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--or);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .6s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(var(--voile), .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 10px 0;
}
.site-header.is-scrolled::after { transform: scaleX(1); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 14px; color: var(--noir); margin-right: 20px; flex: none; }
.brand img { width: 34px; height: auto; }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: .06em;
  text-transform: uppercase; line-height: 1.1; white-space: nowrap;
}
.brand-name small {
  display: block; font-family: var(--sans); font-weight: 700; font-size: 9px;
  letter-spacing: .3em; color: var(--or); margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: var(--encre); position: relative; padding: 6px 0; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--or); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--or); }

.header-cta { display: flex; align-items: center; gap: 22px; }
.header-phone { font-family: var(--serif); font-size: 16px; color: var(--noir); white-space: nowrap; }
.header-cta .btn { padding: 12px 18px; font-size: 12px; white-space: nowrap; }

.burger {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px; padding: 0 8px;
}
.burger span { display: block; height: 1px; background: var(--noir); transition: transform .35s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   Hero — séquence d'ouverture inspirée de la vidéo
   ------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden; isolation: isolate;
  text-align: center;
  padding: 120px 0 90px;
}
.hero-bg {
  position: absolute; inset: -8% 0; z-index: -2;
  background: var(--marbre-hero) center / cover no-repeat;
  will-change: transform;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(var(--voile), .55) 0%, rgba(var(--voile), 0) 70%);
}
body.is-loaded .hero-bg { opacity: 1; }

.hero-inner { display: flex; flex-direction: column; align-items: center; }

.hero-mono { position: relative; width: clamp(96px, 12vw, 150px); margin-bottom: 26px; }
.hero-mono img { width: 100%; }
.hero-mono::after {
  /* reflet doré qui balaie le monogramme une seule fois */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%);
  -webkit-mask: url("assets/monogramme.png") center / contain no-repeat;
          mask: url("assets/monogramme.png") center / contain no-repeat;
  background-size: 250% 100%; background-position: 120% 0;
  opacity: 0;
}
body.is-loaded .hero-mono::after { animation: reflet 1.8s var(--ease) 1.5s 1 forwards; }

.hero-name {
  font-family: var(--serif); font-weight: 600; color: var(--noir);
  font-size: clamp(22px, 3.4vw, 40px); letter-spacing: .08em; text-transform: uppercase;
  margin: 0;
}
.hero-ornement { width: clamp(220px, 28vw, 360px); margin: 14px 0 12px; }
.hero-poles {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center;
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--noir); font-weight: 700;
}
.hero-poles span + span::before {
  content: ""; display: inline-block; width: 1px; height: 14px; background: var(--or);
  margin-right: 18px; vertical-align: -2px;
}

.hero-rule { width: 72px; height: 1px; background: var(--or); margin: 46px 0 34px; transform: scaleX(0); }

.hero-accroche {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 3vw, 34px); line-height: 1.35; color: var(--noir); margin: 0;
}
.hero-accroche .ligne { display: block; }

.hero-lieu {
  margin-top: 30px; font-size: 11px; letter-spacing: .36em; text-transform: uppercase;
  color: var(--or); font-weight: 700;
}

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 56px; overflow: hidden; background: var(--filet);
}
.hero-scroll::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--or); animation: goutte 2.2s var(--ease) infinite;
}

/* séquence : chaque élément a son délai, lancée quand body.is-loaded */
.hero [data-seq] { opacity: 0; transform: translateY(14px); }
body.is-loaded .hero [data-seq] {
  animation: entree 1.1s var(--ease-out) forwards;
}
body.is-loaded .hero [data-seq="1"] { animation-delay: .35s; }
body.is-loaded .hero [data-seq="2"] { animation-delay: .75s; }
body.is-loaded .hero [data-seq="3"] { animation-delay: .95s; }
body.is-loaded .hero [data-seq="4"] { animation-delay: 1.15s; }
body.is-loaded .hero [data-seq="5"] { animation-delay: 2.0s; }
body.is-loaded .hero [data-seq="6"] { animation-delay: 2.7s; }
body.is-loaded .hero [data-seq="7"] { animation-delay: 3.2s; }
body.is-loaded .hero .hero-rule { animation: trait 1s var(--ease) 1.6s forwards; }
body.is-loaded .hero .hero-scroll { opacity: 0; animation: apparition 1s var(--ease) 3.8s forwards; }

/* filet de sécurité : une fois la séquence terminée (ou si les animations ne tournent pas), tout est visible */
body.is-settled .hero [data-seq], body.is-settled .hero-rule, body.is-settled .hero-scroll { opacity: 1; transform: none; animation: none; }
body.is-settled .hero-bg { opacity: 1; }
body.is-settled .hero-mono::after { display: none; }
body.is-settled .reveal { opacity: 1; transform: none; }

@keyframes entree { to { opacity: 1; transform: none; } }
@keyframes apparition { to { opacity: 1; } }
@keyframes trait { to { transform: scaleX(1); } }
@keyframes reflet {
  0% { opacity: 1; background-position: 120% 0; }
  100% { opacity: 1; background-position: -120% 0; }
}
@keyframes goutte {
  0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; }
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--creme { background: var(--creme); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal .filet-or { transform: scaleX(0); transition: transform .9s var(--ease) .2s; }
.reveal.is-visible .filet-or { transform: scaleX(1); }

/* Le cabinet */
.cabinet-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: start;
}
.cabinet-grid .section-title { max-width: 14ch; }
.cabinet-texte p { max-width: 58ch; }
.cabinet-texte p + p { margin-top: 0; }

.valeurs {
  margin: 48px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--filet);
}
.valeurs li { padding: 26px 22px 0 0; position: relative; }
.valeurs li + li { padding-left: 22px; border-left: 1px solid var(--filet); }
.valeurs h3 {
  font-family: var(--sans); font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--noir); font-weight: 700; margin-bottom: 10px;
}
.valeurs h3::before { content: "❖"; color: var(--or); font-size: 10px; margin-right: 10px; vertical-align: 2px; }
.valeurs p { font-size: 15px; color: var(--gris); margin: 0; line-height: 1.55; }

.cabinet-visuel {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--marbre-carte) center / cover;
}
.cabinet-visuel::before {
  content: ""; position: absolute; inset: 22px; border: 1px solid var(--or); pointer-events: none;
}
.cabinet-visuel img { position: absolute; width: 38%; left: 50%; top: 50%; transform: translate(-50%, -58%); }
.cabinet-visuel figcaption {
  position: absolute; left: 0; right: 0; bottom: 48px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--encre);
}
.cabinet-visuel figcaption strong { display: block; font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--or); margin-top: 8px; }

/* Expertises — index sur colonne fixe, comme les pages 01/08 de la vidéo */
.expertises-head { max-width: 62ch; margin-bottom: clamp(40px, 5vw, 72px); }

.expertises-layout {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(40px, 6vw, 110px); align-items: start;
}
.index-fixe { position: sticky; top: 120px; }
.index-num {
  position: relative; height: 230px; overflow: hidden;
}
.index-num span {
  position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-weight: 600; font-size: 220px; line-height: 1; letter-spacing: -.04em;
  color: var(--or-pale);
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .6s var(--ease);
}
.index-num span.is-current { opacity: 1; transform: none; }
.index-progress { position: relative; width: 2px; height: 120px; background: var(--filet); margin: 10px 0 18px 4px; }
.index-progress i { position: absolute; left: 0; top: 0; width: 100%; height: 12.5%; background: var(--or); transition: top .5s var(--ease); }
.index-compteur { font-size: 12px; letter-spacing: .3em; color: var(--or); font-weight: 700; }
.index-titre { font-family: var(--serif); font-size: 20px; margin-top: 8px; color: var(--noir); min-height: 2.4em; }

.poles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet); }
.pole {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 40px 0; border-bottom: 1px solid var(--filet);
  scroll-margin-top: 110px;
}
.pole-num { font-family: var(--serif); font-size: 15px; color: var(--or); padding-top: 8px; letter-spacing: .08em; }
.pole h3 {
  font-size: clamp(22px, 2.3vw, 28px); margin-bottom: 14px; display: inline-block; position: relative; padding-bottom: 10px;
}
.pole h3::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 1px; background: var(--or);
  transform: scaleX(.4); transform-origin: left; transition: transform .6s var(--ease);
}
.pole.is-current h3::after { transform: scaleX(1); }
.pole ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pole li { position: relative; padding-left: 20px; color: var(--encre); font-size: 16px; }
.pole li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--or);
}
.pole-note { margin: 14px 0 0; font-size: 14px; color: var(--gris); max-width: 52ch; }

/* Méthode — vraie séquence en trois temps */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: etape; }
.etape { position: relative; padding: 36px 32px 36px 0; border-top: 1px solid var(--or); counter-increment: etape; }
.etape + .etape { padding-left: 32px; }
.etape::before {
  content: counter(etape, decimal-leading-zero); position: absolute; top: -13px; left: 0;
  background: var(--creme); padding-right: 12px;
  font-family: var(--serif); font-size: 14px; color: var(--or); letter-spacing: .1em;
}
.etape + .etape::before { left: 32px; }
.etape h3 { font-size: 23px; margin-bottom: 12px; }
.etape p { color: var(--gris); font-size: 15.5px; margin: 0; max-width: 34ch; }
.etape small { display: block; margin-top: 14px; font-size: 12.5px; color: var(--pale); font-style: italic; }

/* Contact & horaires */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }

.horaires { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 16px; }
.horaires th { text-align: left; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--or); font-weight: 700; padding: 0 0 12px; border-bottom: 1px solid var(--or); }
.horaires td { padding: 12px 0; border-bottom: 1px solid var(--filet); vertical-align: top; }
.horaires td:first-child { font-family: var(--serif); color: var(--noir); width: 30%; }
.horaires td.rdv { color: var(--gris); }
.horaires tr.is-today td { background: linear-gradient(90deg, var(--or-pale) 0, rgba(239,227,203,0) 100%); }
.horaires tr.is-today td:first-child { padding-left: 12px; position: relative; }
.horaires tr.is-today td:first-child::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--or); }

.statut { margin: 18px 0 0; font-size: 14px; color: var(--gris); display: flex; align-items: flex-start; gap: 10px; }
.statut::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--pale); }
.statut.is-open::before { background: var(--or); box-shadow: 0 0 0 4px rgba(169,117,20,.15); }

.coordonnees { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; font-size: 16px; }
.coordonnees li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.coordonnees li span:first-child { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--or); font-weight: 700; padding-top: 5px; }
.coordonnees a { color: var(--noir); }
.coordonnees a:hover { color: var(--or); }

.form { background: var(--creme); border: 1px solid var(--filet); padding: clamp(28px, 4vw, 48px); }
.form .champ input, .form .champ select, .form .champ textarea { background: var(--blanc); }
.form h3 { font-size: 24px; margin-bottom: 6px; }
.form > p { color: var(--gris); font-size: 15px; margin-bottom: 26px; }
.champ { display: grid; gap: 6px; margin-bottom: 18px; }
.champ label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--encre); font-weight: 700; }
.champ input, .champ select, .champ textarea {
  font: inherit; color: var(--noir); background: var(--creme); border: 0; border-bottom: 1px solid var(--filet);
  padding: 12px 14px; width: 100%; border-radius: 0; transition: border-color .3s, background .3s;
}
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--or); background: #fff; }
.champ textarea { min-height: 140px; resize: vertical; }
.champ-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--gris); margin: 4px 0 16px; line-height: 1.45; cursor: pointer; }
.consent input { margin: 3px 0 0; accent-color: var(--or); flex: none; }
.form-note { font-size: 12.5px; color: var(--pale); margin: 16px 0 0; line-height: 1.5; }
.form-ok { display: none; padding: 16px; border-left: 2px solid var(--or); background: var(--creme); font-size: 15px; margin-top: 16px; }
.form.is-sent .form-ok { display: block; }

/* Pied de page */
.site-footer { background: #12100E; color: rgba(248,244,237,.8); padding: 70px 0 34px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(201,162,75,.3); }
.footer-marque { display: flex; align-items: center; gap: 16px; color: var(--creme); }
.footer-marque img { width: 44px; }
.footer-marque .brand-name { color: var(--creme); }
.footer-marque .brand-name small { color: var(--or-clair); }
.footer-taglines { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; max-width: 46ch; }
.footer-taglines li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-family: var(--serif); font-style: italic; font-size: 14px; color: rgba(248,244,237,.72); }
.footer-taglines li b { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 10px; letter-spacing: .2em; color: var(--or-clair); padding-top: 4px; }
.site-footer h4 { color: var(--or-clair); font-family: var(--sans); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: rgba(248,244,237,.85); }
.site-footer a:hover { color: var(--or-clair); }
.footer-liens { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.reseaux { display: flex; gap: 12px; margin-top: 22px; }
.reseaux a { width: 38px; height: 38px; border: 1px solid rgba(201,162,75,.5); border-radius: 50%; display: grid; place-items: center; color: var(--or-clair); transition: background .3s, color .3s; }
.reseaux a:hover { background: var(--or-clair); color: var(--noir); }
.reseaux a[href="#"] { display: none; } /* un lien laissé à # reste invisible tant que l'adresse n'est pas renseignée */
.reseaux svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: 12px; color: rgba(248,244,237,.5); }
.footer-bottom a { color: rgba(248,244,237,.6); }

/* Page mentions légales */
.page-simple { padding: 160px 0 100px; }
.page-simple .container { max-width: 760px; }
.page-simple h2 { font-size: 22px; margin: 40px 0 10px; }
.page-simple dl { display: grid; grid-template-columns: 200px 1fr; gap: 8px 20px; margin: 0; }
.page-simple dt { color: var(--gris); font-size: 14px; }
.page-simple dd { margin: 0; }
.a-completer { color: var(--pale); font-style: italic; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1600px) {
  .header-phone { display: none; }
  .nav { gap: 18px; }
  .nav a { font-size: 12px; letter-spacing: .08em; }
  .langues button { padding: 6px 4px; }
}
@media (max-width: 1400px) { .brand-name small { display: none; } }

@media (max-width: 1180px) {
  .header-cta .btn { display: none; }
  .nav { gap: 22px; }
}

@media (max-width: 1080px) {
  .expertises-layout { grid-template-columns: 240px 1fr; }
  .index-num span { font-size: 170px; }
  .index-num { height: 180px; }
}

@media (max-width: 900px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: flex; }
  .brand { flex: 1; min-width: 0; margin-right: 8px; }
  .brand-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
  .header-cta { flex: none; gap: 8px; }
  .theme-toggle { width: 34px; height: 34px; }
  .site-header.is-open { background: var(--creme); }
  .site-header.is-open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    position: absolute; left: 0; right: 0; top: 100%; background: var(--creme);
    padding: 16px var(--gutter) 28px; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--or);
  }
  .site-header.is-open .nav a { font-size: 15px; padding: 10px 0; }
  .cabinet-grid, .film-grid, .contact-grid { grid-template-columns: 1fr; }
  .cabinet-visuel { aspect-ratio: 16 / 11; }
  .expertises-layout { grid-template-columns: 1fr; }
  .index-fixe { display: none; }
  .etapes, .equipe { grid-template-columns: 1fr; }
  .etape { padding: 36px 0 28px !important; }
  .etape::before { left: 0 !important; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .valeurs { grid-template-columns: 1fr; }
  .valeurs li + li { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .brand-name { font-size: 12px; letter-spacing: .04em; }
  .brand img { width: 30px; }
  body { font-size: 16px; }
  .hero { padding-top: 110px; }
  .hero-poles { gap: 10px; font-size: 10px; letter-spacing: .22em; }
  .hero-poles span + span::before { margin-right: 10px; }
  .pole { grid-template-columns: 1fr; gap: 6px; padding: 30px 0; }
  .champ-ligne { grid-template-columns: 1fr; gap: 0; }
  .coordonnees li { grid-template-columns: 1fr; gap: 2px; }
  .page-simple dl { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Mouvement réduit : tout s'affiche sans animation
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero [data-seq], body.is-loaded .hero [data-seq] { opacity: 1; transform: none; animation: none; }
  .hero-rule, body.is-loaded .hero .hero-rule { transform: none; animation: none; }
  .hero-mono::after, body.is-loaded .hero-mono::after { display: none; }
  .hero-bg, body.is-loaded .hero-bg { opacity: 1; transition: none; }
  .hero-scroll, body.is-loaded .hero .hero-scroll { opacity: 1; animation: none; }
  .hero-scroll::after { animation: none; top: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal .filet-or { transform: none; }
  .index-num span { transition: none; }
}

/* ------------------------------------------------------------
   Actualités — cartes, liste filtrable, page article
   ------------------------------------------------------------ */
.actus-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.actus-head .section-title { margin-bottom: 0; }
.actus-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.actu { display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--filet); color: var(--encre); transition: border-color .4s var(--ease), transform .5s var(--ease); }
.actu:hover { border-color: var(--or-clair); transform: translateY(-4px); color: var(--encre); }
.actu-visuel { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--creme) var(--marbre-carte) center / cover; }
.actu-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.actu:hover .actu-visuel img { transform: scale(1.04); }
.actu-visuel .mono { position: absolute; width: auto; height: 46%; left: 50%; top: 50%; transform: translate(-50%, -50%); object-fit: contain; opacity: .95; }
.etiquette { display: inline-block; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--or); border: 1px solid var(--or-clair); padding: 5px 10px 4px; background: rgba(var(--voile), .9); }
.actu-visuel .etiquette { position: absolute; left: 16px; top: 16px; }
.actu-corps { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.actu-date { font-size: 12.5px; color: var(--pale); letter-spacing: .08em; margin: 0 0 10px; }
.actu h3 { font-size: 20px; line-height: 1.3; margin-bottom: 12px; }
.actu p.resume { font-size: 15px; color: var(--gris); margin: 0 0 18px; line-height: 1.55; }
.actu .lire { margin-top: auto; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--or); }
.actu .lire::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--or); margin-left: 12px; vertical-align: middle; transition: width .4s var(--ease); }
.actu:hover .lire::after { width: 44px; }

.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 36px; }
.filtre { font: inherit; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gris); background: none; border: 1px solid var(--filet); padding: 10px 16px; cursor: pointer; transition: all .3s var(--ease); }
.filtre:hover { border-color: var(--or-clair); color: var(--or); }
.filtre.is-active { background: var(--or); border-color: var(--or); color: var(--sur-or); }
.actus-vide { color: var(--gris); font-style: italic; }
.page-actualites .container { max-width: var(--w); }

.article { max-width: 760px; }
.retour { display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--or); margin-bottom: 28px; }
.retour::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--or); margin-right: 12px; vertical-align: middle; }
.article-meta { font-size: 13px; color: var(--pale); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.article-titre { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin-bottom: 20px; }
.article-chapeau { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--encre); margin-bottom: 32px; }
.article-visuel { margin: 0 0 36px; }
.article-visuel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-visuel figcaption { font-size: 12px; color: var(--pale); margin-top: 8px; font-style: italic; }
.article-visuel.sans-image { aspect-ratio: 16 / 7; background: var(--marbre-carte) center / cover; position: relative; border: 1px solid var(--filet); }
.article-visuel.sans-image::after { content: ""; position: absolute; width: 60px; height: 76px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: url("assets/monogramme.png") center / contain no-repeat; }
.article-corps { font-size: 17.5px; line-height: 1.7; }
.article-corps h2 { font-size: 24px; margin: 36px 0 12px; }
.article-corps ul { padding-left: 20px; }
.article-corps li { margin-bottom: 6px; }
.article-corps li::marker { color: var(--or); }
.a-retenir { background: var(--creme); border-left: 2px solid var(--or); padding: 22px 26px; margin: 36px 0; }
.a-retenir h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--or); margin-bottom: 12px; }
.a-retenir ul { margin: 0; padding-left: 18px; }
.a-retenir li { font-size: 16px; }
.article-sources { font-size: 14px; color: var(--gris); border-top: 1px solid var(--filet); padding-top: 18px; margin-top: 36px; line-height: 1.7; }
.article-cta { margin-top: 48px; padding: 32px; border: 1px solid var(--or-clair); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.article-cta p { font-family: var(--serif); font-size: 20px; margin: 0; }
.avertissement { font-size: 13px; color: var(--pale); font-style: italic; margin-top: 10px; }

/* ------------------------------------------------------------
   Échéances
   ------------------------------------------------------------ */
.echeances { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 80px); border-top: 1px solid var(--or); }
.echeance { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--filet); }
.echeance-quand { font-family: var(--serif); font-size: 17px; color: var(--noir); line-height: 1.3; }
.echeance-quand small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--or); font-weight: 700; margin-top: 4px; }
.echeance h3 { font-size: 18px; margin-bottom: 4px; }
.echeance p { font-size: 15px; color: var(--gris); margin: 0; line-height: 1.5; }

/* ------------------------------------------------------------
   Questions fréquentes
   ------------------------------------------------------------ */
.faq { max-width: 820px; border-top: 1px solid var(--or); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--serif); font-size: 20px; color: var(--noir); transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--or); }
.faq summary::after { content: ""; width: 12px; height: 12px; justify-self: end; border-right: 1px solid var(--or); border-bottom: 1px solid var(--or); transform: rotate(45deg); transition: transform .4s var(--ease); margin-top: -6px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq .reponse { padding: 0 48px 26px 0; color: var(--encre); font-size: 16px; line-height: 1.65; max-width: 68ch; animation: entree .5s var(--ease-out); }
.faq .reponse p { margin: 0 0 .8em; }
.faq .reponse p:last-child { margin: 0; }

/* ------------------------------------------------------------
   Préparer votre dossier
   ------------------------------------------------------------ */
.dossier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.dossier-grid h3 { font-size: 20px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--or); }
.dossier-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.dossier-grid li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.dossier-grid li::before { content: ""; position: absolute; left: 0; top: .2em; width: 12px; height: 12px; border: 1px solid var(--or); }
.dossier-note { margin-top: 32px; font-size: 14.5px; color: var(--gris); max-width: 70ch; }

@media (max-width: 900px) {
  .actus-grille { grid-template-columns: 1fr 1fr; }
  .echeances, .dossier-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .actus-grille { grid-template-columns: 1fr; }
  .echeance { grid-template-columns: 1fr; gap: 6px; }
  .faq summary { font-size: 18px; }
  .article-cta { padding: 24px; }
}

/* ------------------------------------------------------------
   Commandes d'en-tête : langues et thème
   ------------------------------------------------------------ */
.langues { display: flex; align-items: center; gap: 2px; }
.langues button {
  font: inherit; font-size: 11px; letter-spacing: .16em; font-weight: 700; color: var(--gris);
  background: none; border: 0; padding: 6px 6px; cursor: pointer; transition: color .3s;
}
.langues button:hover { color: var(--or); }
.langues button[aria-pressed="true"] { color: var(--noir); border-bottom: 1px solid var(--or); }
.langues span { width: 1px; height: 10px; background: var(--filet); }
.theme-toggle {
  width: 36px; height: 36px; border: 1px solid var(--filet); border-radius: 50%; background: none;
  display: grid; place-items: center; cursor: pointer; color: var(--gris); transition: border-color .3s, color .3s;
}
.theme-toggle:hover { color: var(--or); border-color: var(--or-clair); }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.theme-toggle .lune { display: none; }
:root[data-theme="dark"] .theme-toggle .lune { display: block; }
:root[data-theme="dark"] .theme-toggle .soleil { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .lune { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .soleil { display: none; }
}
.article-langue { margin: 0 0 28px; padding: 14px 18px; border-left: 2px solid var(--or); background: var(--creme); font-size: 14.5px; color: var(--gris); }
.article-langue[hidden], .article-version[hidden] { display: none; }
@media (max-width: 900px) {
  .langues { order: -1; }
  .site-header.is-open .nav .langues { display: flex; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--filet); width: 100%; }
}

/* ------------------------------------------------------------
   Mode sombre : marbre encre, or inchangé
   ------------------------------------------------------------ */
:root[data-theme="dark"] {
  --blanc: #1A1714;
  --creme: #211D19;
  --noir: #F8F4ED;
  --encre: #E6DFD3;
  --gris: #A79E93;
  --pale: #7A736B;
  --filet: #3A342E;
  --or-pale: #3B2F14;
  --voile: 18, 16, 14;
  --marbre-hero: url("assets/marbre-sombre.jpg");
  --marbre-carte: url("assets/marbre-sombre.jpg");
  --sur-or: #12100E;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blanc: #1A1714;
    --creme: #211D19;
    --noir: #F8F4ED;
    --encre: #E6DFD3;
    --gris: #A79E93;
    --pale: #7A736B;
    --filet: #3A342E;
    --or-pale: #3B2F14;
    --voile: 18, 16, 14;
    --marbre-hero: url("assets/marbre-sombre.jpg");
    --marbre-carte: url("assets/marbre-sombre.jpg");
    --sur-or: #12100E;
    color-scheme: dark;
  }
}
/* détails qui ne passent pas par les jetons */
:root[data-theme="dark"] .burger span { background: var(--noir); }
:root[data-theme="dark"] .cabinet-visuel figcaption { color: var(--encre); }
:root[data-theme="dark"] .site-footer { border-top: 1px solid var(--filet); }
:root[data-theme="dark"] .hero-mono::after { background: linear-gradient(115deg, transparent 35%, rgba(255,235,180,.55) 50%, transparent 65%); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .burger span { background: var(--noir); }
  :root:not([data-theme="light"]) .cabinet-visuel figcaption { color: var(--encre); }
  :root:not([data-theme="light"]) .site-footer { border-top: 1px solid var(--filet); }
}
