/* =========================================================================
   METRIX EXPERTISE — « Une maison en santé »
   Clair, chaleureux, minimaliste, photos. Serif pour les titres (Unna,
   italique pour l'emphase), Montserrat pour le texte. Accent lime en
   marqueur, jamais en aplat. Motion douce.
   ========================================================================= */

@font-face { font-family: 'Montserrat'; src: url('fonts/Montserrat-VariableFont_wght.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Unna'; src: url('fonts/Unna-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Unna'; src: url('fonts/Unna-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Unna'; src: url('fonts/Unna-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Unna'; src: url('fonts/Unna-BoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --ink:     #182315;
  --paper:   #F6F6F2;          /* crème chaud, légèrement teinté */
  --white:   #FDFDFB;
  --sage:    #E9EDE4;          /* teinte douce pour chips, étapes, fonds */
  --sage-2:  #DDE3D6;
  --accent:  #DFFF00;
  --fg:      var(--ink);
  --fg-2:    #4f5a4b;
  --fg-3:    #8a938a;
  --line:    rgba(24,35,21,.10);
  --line-2:  rgba(24,35,21,.06);

  --sans:  'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Unna', Georgia, 'Times New Roman', serif;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 22px; --r-lg: 28px; --r-pill: 999px;
}

/* ---- Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--sans); font-size: 15.5px; line-height: 1.7; color: var(--fg); background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ol, ul { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.1; }
::selection { background: var(--accent); color: var(--ink); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- Typo ------------------------------------------------------------------- */
.display { font-family: var(--serif); font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.h2 { font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); line-height: 1.06; letter-spacing: -.012em; text-wrap: balance; }
.display em, .h2 em { font-style: italic; color: var(--fg); position: relative; }
.display em::after, .h2 em::after { content: ''; position: absolute; left: -.04em; right: -.04em; bottom: .04em; height: .34em; background: var(--accent); z-index: -1; border-radius: 3px; transform: skewX(-6deg); }
.display em, .h2 em { z-index: 0; }
.lede { color: var(--fg-2); font-size: clamp(1rem, .96rem + .25vw, 1.125rem); max-width: 50ch; margin-top: 22px; line-height: 1.75; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(223,255,0,.25); }
.sec-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .h2 { margin-top: 16px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

mark { background: none; color: inherit; position: relative; z-index: 0; white-space: nowrap; }
mark::after { content: ''; position: absolute; left: -.1em; right: -.1em; bottom: .05em; height: .45em; background: var(--accent); z-index: -1; border-radius: 3px; transform: rotate(-1deg); }

/* ---- Boutons & liens ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: var(--r-pill); font-size: .86rem; font-weight: 600; letter-spacing: .01em; line-height: 1; transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .3s; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(24,35,21,.6); }
.btn--lg { padding: 17px 28px; font-size: .92rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; border-bottom: 1px solid transparent; transition: border-color .3s; }
.link-arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.link-arrow:hover { border-color: var(--fg); }
.link-arrow:hover svg { transform: translateX(4px); }
.lang-toggle { border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 12px; font-weight: 600; font-size: .74rem; letter-spacing: .06em; transition: border-color .3s, background .3s; }
.lang-toggle:hover { border-color: var(--fg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ---- Révélations -------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease) calc(var(--d, 0) * 90ms), transform 1s var(--ease) calc(var(--d, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---- Nav ------------------------------------------------------------------------------ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .4s, box-shadow .4s; }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; transition: padding .4s var(--ease); }
.nav.scrolled .nav__in { padding-block: 12px; }
.nav__logo img { height: 38px; width: auto; }
/* Deux états : en haut de l'accueil, la nav flotte sur la photo (voile sombre) ; au défilement,
   elle devient vert-noir (charte) avec logo, liens et bouton clairs. */
.nav .logo-dark { display: none; }
.nav .nav__menu a { color: rgba(253,253,251,.82); }
.nav .nav__menu a:hover, .nav .nav__menu a.active { color: #fff; }
.nav .lang-toggle { color: #fff; border-color: rgba(253,253,251,.45); }
.nav .lang-toggle:hover { border-color: #fff; }
.nav .nav__cta { background: var(--paper); color: var(--ink); }
.nav .nav__burger span { background: #fff; }
.nav.scrolled { background: rgba(24,35,21,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav__menu { display: flex; gap: clamp(18px, 2vw, 30px); }
.nav__menu a { font-size: .86rem; font-weight: 500; white-space: nowrap; color: var(--fg-2); transition: color .3s; position: relative; }
.nav__menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.nav__menu a:hover, .nav__menu a.active { color: var(--fg); }
.nav__menu a:hover::after, .nav__menu a.active::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span, .drawer__close span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--fg); border-radius: 2px; }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }

.drawer { position: fixed; inset: 0; z-index: 200; background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; padding: 96px var(--gutter) 36px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer__close { position: absolute; top: 16px; right: calc(var(--gutter) - 11px); width: 44px; height: 44px; }
.drawer__close span { top: 21px; } .drawer__close span:first-child { transform: rotate(45deg); } .drawer__close span:last-child { transform: rotate(-45deg); }
.drawer__menu a { display: block; font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.8rem); padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.drawer__foot { display: flex; gap: 12px; align-items: center; }

/* ---- Hero ------------------------------------------------------------------------------- */
/* Photo pleine largeur, fondue dans la page : crème à gauche (texte), crème en bas
   (transition vers le manifeste), voile sombre en haut (lisibilité de la nav). */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: clamp(140px, 18vh, 200px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--sage); overflow: hidden; }
.hero__bg img { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 62%; transform: scale(1.06); will-change: transform; }
.hero__bg::before, .hero__bg::after { z-index: 1; }
.hero__bg::before { content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--paper) 0%, var(--paper) 22%, rgba(246,246,242,.92) 36%, rgba(246,246,242,.55) 50%, rgba(246,246,242,0) 68%),
    linear-gradient(to top, var(--paper) 0%, rgba(246,246,242,.7) 10%, rgba(246,246,242,0) 34%); }
.hero__bg::after { content: ''; position: absolute; inset: 0 0 auto 0; height: clamp(180px, 26vh, 260px);
  background: linear-gradient(to bottom, rgba(24,35,21,.62) 0%, rgba(24,35,21,.32) 45%, rgba(24,35,21,0) 100%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero__text .display { margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; font-size: .8rem; color: var(--fg-2); }
.hero__trust i { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-3); }
/* Étiquettes de constat flottantes sur la maison */
.hero__tags { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tag { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; background: rgba(24,35,21,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: var(--r-pill); font-size: .76rem; font-weight: 600; color: var(--paper); white-space: nowrap; box-shadow: 0 16px 34px -18px rgba(24,35,21,.7), 0 0 0 1px rgba(253,253,251,.12);
  opacity: 0; animation: tag-in .9s var(--ease) calc(.9s + var(--d, 0) * .35s) forwards, tag-float 6s ease-in-out calc(2s + var(--d, 0) * .7s) infinite; }
.tag i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); box-shadow: 0 0 0 2px rgba(253,253,251,.14); }
.tag i svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tag--ok i { background: var(--accent); }            /* lime de la charte */
.tag--warn i { background: #FFB300; }               /* ambre fluo */
.tag--bad i { background: #FF3D5A; }                /* rouge fluo */
.tag:nth-child(1) { --x: 66%; --y: 27%; --d: 1; }
.tag:nth-child(2) { --x: 49%; --y: 20%; --d: 2; }
.tag:nth-child(3) { --x: 80%; --y: 56%; --d: 3; }
.tag:nth-child(4) { --x: 60%; --y: 82%; --d: 4; }
@keyframes tag-in { from { opacity: 0; transform: translate(-50%, -30%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes tag-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ---- Manifeste ----------------------------------------------------------------------------- */
.manifesto { padding-block: clamp(56px, 8vw, 110px); }
.manifesto__in { text-align: center; max-width: 760px; }
.sparkle { font-size: .9rem; letter-spacing: .6em; color: var(--fg-2); margin-bottom: 22px; }
.manifesto__text { font-family: var(--serif); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.3; text-wrap: balance; }
.manifesto .link-arrow { margin-top: 26px; }

/* ---- Cartes services ----------------------------------------------------------------------- */
.services { padding-block: var(--section); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card__media { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--sage); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 18px 6px 0; }
.card h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.card p { font-size: .9rem; color: var(--fg-2); line-height: 1.65; }
.services__note { margin-top: clamp(32px, 4vw, 48px); font-size: .92rem; color: var(--fg-2); }
.services__note a { color: var(--fg); font-weight: 600; border-bottom: 1px solid var(--fg); }

/* ---- Comment ça se passe ------------------------------------------------------------------- */
.how { padding-block: var(--section); background: var(--white); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.how__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.how__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sage); }
.how__media img { width: 100%; height: 100%; object-fit: cover; }
.how__text .h2 { margin-top: 16px; }
.steps { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 8px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line-2); }
.steps__num { width: 44px; height: 44px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; }
.steps h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--fg-2); font-size: .92rem; max-width: 50ch; }

/* ---- Dominic ---------------------------------------------------------------------------------- */
.about { padding-block: var(--section); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.about__text .h2 { margin-top: 16px; }
.about__bio { margin-top: 24px; display: grid; gap: 14px; color: var(--fg-2); max-width: 56ch; font-size: 1rem; }
.facts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-size: .78rem; font-weight: 500; padding: 8px 14px; border-radius: var(--r-pill); background: var(--sage); color: var(--fg); }
.about__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 9 / 11; background: var(--sage); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__placeholder { display: none; position: absolute; inset: 0; place-items: center; align-content: center; gap: 8px; text-align: center; color: var(--fg-2); }
.about__photo.is-placeholder .about__placeholder { display: grid; }
.about__placeholder span { font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--fg); }
.about__placeholder small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.about__media figcaption { margin-top: 14px; display: grid; font-size: .82rem; color: var(--fg-2); }
.about__media figcaption b { font-weight: 600; color: var(--fg); }

/* ---- Certifications ---------------------------------------------------------------------------- */
.certs { padding-block: var(--section); background: var(--white); border-top: 1px solid var(--line-2); }
.lede--center { margin-inline: auto; }
.certs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 32px 18px 28px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.cert:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(24,35,21,.35); }
.cert__logo { height: 50px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: var(--fg); }
.cert__logo img { height: 100%; width: auto; object-fit: contain; }
.cert__logo--wide img { height: 38px; }
.cert__logo svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.cert b { font-size: .98rem; font-weight: 600; }
.cert span { font-size: .8rem; color: var(--fg-2); line-height: 1.5; }

/* ---- Ce que vous repartez avec ------------------------------------------------------------------ */
.takeaways { padding-block: var(--section); background: var(--sage); }
.take { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.take li { background: var(--white); border-radius: var(--r); padding: 30px 28px 32px; }
.take__glyph { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--fg-3); margin-bottom: 22px; }
.take h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 10px; }
.take p { font-size: .92rem; color: var(--fg-2); }

.lumos { margin-top: 22px; display: grid; grid-template-columns: 170px minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--r); padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); }
.lumos__brand { display: grid; gap: 4px; padding-right: clamp(16px, 3vw, 32px); border-right: 1px solid rgba(253,253,251,.14); }
.lumos__logo { height: 30px; width: auto; margin-bottom: 6px; }
.lumos__brand small { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(253,253,251,.55); }
.lumos__text h3 { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; margin-bottom: 10px; }
.lumos__text p { font-size: .92rem; color: rgba(253,253,251,.72); line-height: 1.65; }
.lumos__text .link-arrow { margin-top: 14px; color: var(--paper); }
.lumos__text .link-arrow:hover { border-color: var(--paper); }
.lumos__list { display: grid; gap: 10px; }
.lumos__list li { font-size: .88rem; padding-left: 22px; position: relative; color: rgba(253,253,251,.85); line-height: 1.5; }
.lumos__list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ---- Témoignages ------------------------------------------------------------------------------- */
.quotes { padding-block: var(--section); }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { display: flex; flex-direction: column; gap: 18px; padding: 30px 28px 28px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.quote:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(24,35,21,.35); }
.quote__mark { width: 30px; height: 30px; fill: var(--ink); position: relative; z-index: 0; }
.quote blockquote p { font-family: var(--serif); font-size: clamp(1.2rem, 1rem + .6vw, 1.45rem); line-height: 1.32; color: var(--fg); text-wrap: pretty; }
.quote footer { margin-top: auto; display: grid; gap: 2px; font-size: .82rem; color: var(--fg-2); padding-top: 16px; border-top: 1px solid var(--line-2); }
.quote footer b { font-weight: 600; color: var(--fg); }
.quotes__note { margin: 26px auto 0; width: max-content; max-width: 100%; font-size: .78rem; color: var(--fg-2); padding: 8px 14px; border: 1px dashed var(--line); border-radius: var(--r-pill); text-align: center; }
.quotes__more { margin-top: 28px; text-align: center; }

/* ---- Bon à savoir (vidéos, schémas, guides) ----------------------------------------------------- */
.info { padding-block: var(--section); background: var(--white); border-top: 1px solid var(--line-2); }
.res__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.res { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.res__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; background: var(--sage); overflow: hidden; padding: 0; text-align: left; }
.res__media--schema { background: var(--white); border-bottom: 1px solid var(--line-2); }
.res__media--schema img { object-fit: contain; padding: 14px 10px 6px; }
.res__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.res__media:hover img { transform: scale(1.04); }
.res__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 16px 30px -14px rgba(24,35,21,.6); transition: transform .5s var(--ease), background .3s; }
.res__play svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 3px; }
.res__media:hover .res__play { transform: scale(1.08); background: var(--accent); }
.res__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.res__type { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.res h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; }
.res p { font-size: .9rem; color: var(--fg-2); line-height: 1.6; }
.res h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.res__body .link-arrow { margin-top: auto; padding-top: 12px; font-size: .84rem; width: max-content; }
.res__type time { color: inherit; }
.info__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.info__head .sec-head { margin-bottom: 0; }
.info__all { flex: none; margin-bottom: 6px; }
.res__grid--auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.blog__section { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line-2); }
.blog__section .h2 { margin-bottom: 28px; }
.blog__intro { margin: -14px 0 28px; max-width: 56ch; color: var(--fg-2); font-size: .95rem; }
.art__head--blog .lede { max-width: 62ch; }
.eyebrow__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-3); }
.res--guides { background: var(--ink); color: var(--paper); border-color: transparent; }
.res--guides .res__type { color: rgba(253,253,251,.55); }
.res--guides h3 { color: var(--paper); }
.res__links { display: grid; margin-top: 10px; }
.res__links li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(253,253,251,.14); font-size: .92rem; font-weight: 500; color: var(--paper); transition: color .3s; }
.res__links li:last-child a { border-bottom: 1px solid rgba(253,253,251,.14); }
.res__links li a:hover { color: var(--accent); }
.res__links svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.res__links li a:hover svg { transform: translateX(4px); }

/* Vidéo (pages billet) : affiche + bouton ; l'iframe YouTube n'est injectée qu'au clic */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 20px 40px -16px rgba(24,35,21,.7); transition: transform .5s var(--ease), background .3s; }
.video__play svg { width: 34px; height: 34px; fill: var(--ink); margin-left: 4px; }
.video__play:hover { transform: scale(1.06); background: var(--accent); }
.video__soon { display: none; position: absolute; left: 50%; bottom: 20px; translate: -50% 0; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(246,246,242,.92); color: var(--ink); font-size: .74rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.video__soon::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.video[data-video=""] .video__play { display: none; }
.video[data-video=""] .video__soon { display: inline-block; }
.video[data-video=""] img { filter: saturate(.7); opacity: .85; }

/* ---- FAQ ---------------------------------------------------------------------------------------- */
.faq { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__grid .h2 { margin-top: 16px; }
.faq__more { margin-top: 22px; font-size: .92rem; color: var(--fg-2); }
.faq__more a { color: var(--fg); font-weight: 600; border-bottom: 1px solid var(--fg); }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1rem; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .3s, transform .5s var(--ease); }
.faq__list summary i::before, .faq__list summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--fg); transform: translate(-50%, -50%); }
.faq__list summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq__list details[open] summary i { background: var(--accent); border-color: transparent; }
.faq__list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__list p { padding: 0 48px 22px 0; color: var(--fg-2); font-size: .94rem; max-width: 60ch; }

/* ---- Contact -------------------------------------------------------------------------------------- */
.contact { padding-block: var(--section); background: var(--white); border-top: 1px solid var(--line-2); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact__text .h2 { margin-top: 16px; }
.contact__info { margin-top: 34px; display: grid; gap: 16px; }
.contact__info li { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: .92rem; color: var(--fg-2); }
.contact__info small { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.contact__info a { font-size: 1.25rem; font-weight: 600; color: var(--fg); }

.form { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); }
/* Thème du web component <lumos-form> (Shadow DOM, variables + ::part) */
lumos-form {
  display: block;
  --lf-font: var(--sans);
  --lf-fg: var(--ink);
  --lf-muted: var(--fg-2);
  --lf-bg: transparent;
  --lf-accent: var(--ink);
  --lf-accent-contrast: var(--paper);
  --lf-border: var(--line);
  --lf-input-bg: var(--white);
  --lf-focus-ring: rgba(223,255,0,.55);
  --lf-radius: 14px;
  --lf-gap: 16px;
}
lumos-form::part(label) { font-size: .78rem; font-weight: 600; color: var(--fg-2); }
lumos-form::part(input), lumos-form::part(select), lumos-form::part(textarea) { font-size: .95rem; padding: 13px 15px; }
lumos-form::part(button) { border-radius: var(--r-pill); font-weight: 600; font-size: .92rem; padding: 17px 28px; transition: transform .5s var(--ease), box-shadow .3s; }
lumos-form::part(button):hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(24,35,21,.6); }
lumos-form::part(success) { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; }
lumos-form::part(error) { font-size: .86rem; color: #b94a48; }

/* ---- Footer -------------------------------------------------------------------------------------- */
.footer { padding-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line-2); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding-bottom: clamp(36px, 5vw, 64px); }
.footer__brand img { width: 84px; height: auto; }
.footer__brand p { margin-top: 18px; font-family: var(--serif); font-size: 1.3rem; color: var(--fg-2); max-width: 22ch; line-height: 1.3; }
.footer__col { display: grid; gap: 8px; align-content: start; font-size: .9rem; color: var(--fg-2); }
.footer__col small { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 4px; }
.footer__col a { width: max-content; color: var(--fg); transition: opacity .3s; }
.footer__col a:hover { opacity: .6; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px; border-top: 1px solid var(--line-2); font-size: .76rem; color: var(--fg-3); }
.footer__bar a { color: var(--fg-2); }

/* Réseaux sociaux (pied de page + Contact) */
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 8px 14px 8px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .8rem; font-weight: 600; line-height: 1; color: var(--fg); transition: background .3s, color .3s, border-color .3s; }
.social a:hover { opacity: 1; background: var(--ink); border-color: var(--ink); color: var(--paper); }
.social svg { width: 15px; height: 15px; flex: none; }
.footer__col .social { margin-top: 10px; }
.contact__info .social { margin-top: 8px; }


/* ---- Pages article (services) --------------------------------------------------------------------- */
.page-article .nav:not(.scrolled), .page-privacy .nav:not(.scrolled) { background: rgba(246,246,242,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 -1px 0 var(--line-2); }
.page-article .nav:not(.scrolled) .logo-light, .page-privacy .nav:not(.scrolled) .logo-light { display: none; }
.page-article .nav:not(.scrolled) .logo-dark, .page-privacy .nav:not(.scrolled) .logo-dark { display: block; }
.page-article .nav:not(.scrolled) .nav__menu a { color: var(--fg-2); }
.page-article .nav:not(.scrolled) .nav__menu a:hover { color: var(--fg); }
.page-article .nav:not(.scrolled) .lang-toggle, .page-privacy .nav:not(.scrolled) .lang-toggle { color: var(--fg); border-color: var(--line); }
.page-article .nav:not(.scrolled) .nav__cta, .page-privacy .nav:not(.scrolled) .nav__cta, .page-privacy .nav:not(.scrolled) .btn--dark { background: var(--ink); color: var(--paper); }
.page-article .nav:not(.scrolled) .nav__burger span { background: var(--fg); }
.page-privacy .nav.scrolled .btn--dark { background: var(--paper); color: var(--ink); }
.art { padding-top: clamp(110px, 14vh, 150px); }
.art__head { max-width: 820px; }
.art__crumbs { font-size: .78rem; color: var(--fg-3); margin-bottom: 26px; display: flex; gap: 8px; }
.art__crumbs a:hover { color: var(--fg); }
.art__head .display { margin-top: 18px; font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); }
.art__meta { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: .8rem; color: var(--fg-3); }
.art__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--fg-3); }
.art__hero { margin-top: clamp(32px, 5vw, 56px); }
.art__hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-lg); background: var(--sage); }
.art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 6vw, 96px); align-items: start; padding-block: clamp(48px, 7vw, 96px); }
.art__body { max-width: 66ch; }
.art__body h2 { font-family: var(--serif); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.1; margin: 44px 0 14px; }
.art__body h2:first-child { margin-top: 0; }
.art__body p { color: var(--fg-2); font-size: 1.02rem; line-height: 1.75; margin-bottom: 14px; }
.art__list { display: grid; gap: 10px; margin: 8px 0 18px; }
.art__list li { padding: 12px 0 12px 22px; border-top: 1px solid var(--line-2); font-size: .97rem; color: var(--fg-2); line-height: 1.6; position: relative; }
.art__list li::before { content: ''; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(223,255,0,.25); }
.art__list li b { color: var(--fg); font-weight: 600; }
.art__quote { margin: 44px 0 0; padding: 28px 30px; background: var(--sage); border-radius: var(--r); }
.art__quote p { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); line-height: 1.3; color: var(--fg); margin: 0; }
.art__quote footer { margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--fg-2); }
.art__aside { position: sticky; top: 100px; }
.art__brief { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); padding: 26px 26px 24px; }
.art__brief small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.art__brief ul { display: grid; gap: 10px; margin-bottom: 22px; }
.art__brief li { font-size: .9rem; padding-left: 20px; position: relative; line-height: 1.5; }
.art__brief li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.art__brief .btn { width: 100%; }
.art__brief p { margin-top: 14px; font-size: .82rem; color: var(--fg-2); }
.art__brief p a { font-weight: 600; color: var(--fg); }
.art__others { padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 96px); border-top: 1px solid var(--line-2); }
.art__others .h2 { margin-bottom: 28px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--3 .card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.cards--3 .card__media { aspect-ratio: 4 / 2.8; }
.art__cta { padding-block: clamp(64px, 9vw, 120px); background: var(--white); border-top: 1px solid var(--line-2); text-align: center; }
.art__cta .lede { margin: 18px auto 28px; }
.card__body .link-arrow { margin-top: 10px; font-size: .84rem; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.art__hero figcaption { margin-top: 12px; font-size: .82rem; color: var(--fg-3); }
.art__hero.art__hero--schema img { aspect-ratio: 3 / 2; object-fit: contain; background: var(--white); border: 1px solid var(--line-2); padding: clamp(16px, 4vw, 40px); }
.art__others-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.art__others .art__others-head .h2 { margin-bottom: 0; }
.art__others-head .link-arrow { margin-bottom: 6px; }

/* ---- Responsive ---------------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero { min-height: 0; padding-top: 120px; align-items: end; }
  .hero__bg { bottom: auto; height: 50vh; }
  .hero__bg img { object-position: 60% 58%; transform: none; }
  .hero__bg::before { background:
    linear-gradient(to top, var(--paper) 0%, var(--paper) 10%, rgba(246,246,242,.85) 24%, rgba(246,246,242,0) 52%); }
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__text { padding-top: calc(50vh - 120px - 24px); }
  .tag { font-size: .6rem; padding: 4px 9px 4px 4px; gap: 6px; }
  .tag i { width: 17px; height: 17px; }
  .tag i svg { width: 10px; height: 10px; }
  .hero__tags { bottom: auto; height: 50vh; }
  .tag:nth-child(1) { --x: 72%; --y: 44%; }
  .tag:nth-child(2) { --x: 50%; --y: 28%; }
  .tag:nth-child(3) { --x: 60%; --y: 63%; }
  .tag:nth-child(4) { --x: 44%; --y: 86%; }
  .how__grid, .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .cards, .cards--3 { grid-template-columns: 1fr 1fr; }
  .art__grid { grid-template-columns: 1fr; }
  .art__aside { position: static; }
  .take { grid-template-columns: 1fr; }
  .quotes__grid, .res__grid, .res__grid--auto { grid-template-columns: 1fr; }
  .info__head, .art__others-head { flex-direction: column; align-items: flex-start; }
  .lumos { grid-template-columns: 1fr; gap: 22px; }
  .lumos__brand { border-right: 0; border-bottom: 1px solid rgba(253,253,251,.14); padding: 0 0 16px; }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .how__media { aspect-ratio: 4 / 3; }
  .about__media { max-width: 440px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .nav__logo img { height: 34px; }
  .cards, .cards--3 { grid-template-columns: 1fr; }
  .art__hero img { aspect-ratio: 4 / 3; }
  .form__grid { grid-template-columns: 1fr; }
  .certs__grid { grid-template-columns: 1fr 1fr; }
  .hero__text { padding-top: calc(50vh - 120px - 24px); }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__bg img { transform: none !important; }
  .tag { opacity: 1 !important; animation: none !important; }
}
