/* =========================================================
   Haumea Sciences : feuille de style
   ========================================================= */

:root {
  /* Palette Haumea Sciences (couleurs fournies par Valentine) */
  --teal-900: #284956;   /* fonds sombres (dérivé de l'azur grisé) */
  --teal-800: #365e6d;   /* azur grisé : textes, boutons */
  --teal-700: #365e6d;
  --teal-500: #6e8c96;   /* azur grisé clair */
  --teal-300: #cacec6;   /* vert grisé du logo */
  --teal-100: #e4e7e1;
  --teal-50:  #f2f4f0;

  --mauve-700: #7d5a78;  /* mauve foncé, réservé aux petits textes (contraste) */
  --mauve-500: #a98da6;
  --mauve-300: #c5acc2;  /* néon rose grisé */
  --mauve-100: #efddeb;  /* néon rose clair */

  --peach-700: #a85a45;  /* orange foncé, petits textes (contraste) */
  --peach-500: #bd6a53;  /* boutons (texte blanc lisible) */
  --peach-300: #e3a391;  /* orange */
  --peach-100: #ffeeda;  /* crème */

  --sun-400: #f5c67f;    /* jaune */
  --sun-100: #fdf0da;

  --cream: #ffeeda;      /* crème */
  --cream-soft: #fff7ee;
  --paper: #ffffff;      /* blanc */
  --ink: #365e6d;        /* azur grisé */
  --ink-soft: #557380;   /* azur grisé clair, assombri juste ce qu'il faut pour rester lisible (AA) */
  --line: rgba(54, 94, 109, .14);

  /* Typo */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;

  /* Mise en page */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(40,73,86,.06), 0 2px 8px rgba(40,73,86,.05);
  --shadow: 0 10px 30px -10px rgba(40,73,86,.18), 0 4px 10px -4px rgba(40,73,86,.08);
  --shadow-lg: 0 30px 60px -20px rgba(40,73,86,.28);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--sun-400); color: var(--teal-900); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
p { margin: 0 0 1em; }
em.accent, .accent { font-style: italic; color: var(--peach-700); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6;
}
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--teal-900); color: #fff; padding: .7rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--sun-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--teal-800); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--peach { --bg: var(--peach-500); --fg: #fff; }
.btn--peach:hover { --bg: var(--peach-700); }
.btn--ghost { --bg: transparent; --fg: var(--teal-800); border-color: rgba(43,79,92,.3); }
.btn--ghost:hover { --bg: #fff; border-color: var(--teal-800); }
.btn--light { --bg: #fff; --fg: var(--teal-900); }
.btn--sm { padding: .65em 1.15em; font-size: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--teal-700);
  text-decoration: none; border-bottom: 1.5px solid transparent; transition: border-color .2s, gap .2s;
}
.link-arrow:hover { border-color: currentColor; gap: .65em; }
.link-arrow svg { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .3s, box-shadow .3s, padding .3s;
  padding-block: 18px;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled { padding-block: 10px; }
.site-header.is-scrolled::before { opacity: 1; }
.nav-open .site-header::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; }
.brand-sub { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-weight: 600; font-size: .94rem;
  padding: .5em .8em; border-radius: 999px; color: var(--ink);
  transition: background-color .2s;
}
.nav a:not(.btn):hover { background: rgba(202,206,198,.25); }
.nav a.is-active:not(.btn) { background: var(--teal-100); }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: var(--teal-900); border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; }
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 5px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translate(-50%, -1px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translate(-50%, -1px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 4px;
    background: var(--cream);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; }
  .nav .btn { margin: 18px 0 0; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(130px, 16vw, 180px);
  padding-bottom: clamp(70px, 9vw, 120px);
  background:
    radial-gradient(60% 60% at 95% 10%, rgba(197,172,194,.35), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(202,206,198,.35), transparent 70%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .hl { position: relative; white-space: nowrap; font-style: italic; }
.hero h1 .hl--teal { color: var(--teal-700); }
.hero h1 .hl--mauve { color: var(--mauve-700); }
.hero h1 .hl--peach { color: var(--peach-700); }
.hero h1 .hl svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .35em; pointer-events: none; }
.hero .lead { max-width: 600px; margin-top: 1.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 2.4rem; padding: 0; list-style: none; }
.hero-proof li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.hero-proof .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.hero-proof .dot svg { width: 16px; height: 16px; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.08; max-width: 520px; justify-self: center; width: 100%; }
.hero-arch {
  position: absolute; inset: 6% 12% 0 12%;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden; background: var(--peach-300);
  box-shadow: var(--shadow-lg);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-sun { position: absolute; width: 22%; top: 0; right: 4%; animation: spin 40s linear infinite; }
.hero-leaf { position: absolute; width: 26%; bottom: 4%; left: -2%; }

.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 12px 14px; display: flex; align-items: center; gap: 12px;
  font-size: .82rem; line-height: 1.35; max-width: 260px;
  animation: float 7s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .88rem; color: var(--ink); }
.float-card span { color: var(--ink-soft); }
.float-card .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card .ico svg { width: 18px; height: 18px; }
.float-card--a { left: -4%; top: 22%; }
.float-card--b { right: -6%; bottom: 20%; animation-delay: -3s; }
.float-thumb {
  position: absolute; width: 30%; right: -2%; top: 8%;
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(6deg);
  border: 5px solid #fff; animation: float 8s ease-in-out infinite; animation-delay: -1.5s;
}

@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes spin { to { rotate: 360deg; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin-top: 20px; }
  .float-card--a { left: -2%; }
  .float-card--b { right: -2%; }
}

.wave { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }

/* ---------- Logos clients ---------- */
.trust { padding-block: 44px; border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.trust-title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); max-width: 180px; line-height: 1.4; }
.trust-logos { flex: 1 1 300px; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.trust-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.trust-logos:hover .trust-track { animation-play-state: paused; }
.trust-group { display: flex; align-items: center; gap: clamp(32px, 4vw, 56px); padding-right: clamp(32px, 4vw, 56px); }
.trust-logos img { flex: none; height: 52px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.trust-logos img:hover { filter: none; opacity: 1; }

/* ---------- Pour qui (onglets) ---------- */
.audiences { background: var(--paper); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; background: var(--teal-50); border-radius: 999px; width: fit-content; margin-bottom: 36px; }
.tab {
  border: 0; background: transparent; padding: .8em 1.3em; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: .95rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .5em;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.tab .tab-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .5; }
.tab[aria-selected="true"] { background: #fff; color: var(--teal-900); box-shadow: var(--shadow-sm); }
.tab[aria-selected="true"] .tab-dot { opacity: 1; }
.tab[data-tone="peach"] .tab-dot { background: var(--peach-500); }
.tab[data-tone="teal"] .tab-dot { background: var(--teal-500); }
.tab[data-tone="mauve"] .tab-dot { background: var(--mauve-500); }

.panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.panel[hidden] { display: none; }
.panel-main { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.panel-main h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); }
.panel-main .pain { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.panel--peach .panel-main { background: var(--peach-100); }
.panel--teal .panel-main { background: var(--teal-50); }
.panel--mauve .panel-main { background: var(--mauve-100); }
.panel-main .btn { margin-top: 1rem; }
.panel-side { display: flex; flex-direction: column; gap: 14px; }
.deliverable {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s;
}
.deliverable:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.deliverable .num { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--peach-700); min-width: 26px; }
.deliverable strong { display: block; margin-bottom: 2px; }
.deliverable span { font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 900px) { .panel { grid-template-columns: 1fr; } .tabs { border-radius: 22px; } }

/* ---------- Expertises ---------- */
.expertises { background: var(--teal-900); color: #e9f2f1; overflow: hidden; }
.expertises .eyebrow { color: var(--sun-400); }
.expertises h2 { color: #fff; }
.expertises .lead { color: #b9d2d1; }
.exp-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.exp-card {
  grid-column: span 4; position: relative; padding: 30px 28px 28px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: background-color .3s, transform .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.exp-card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.exp-card--feature { grid-column: span 8; background: linear-gradient(135deg, rgba(227,163,145,.22), rgba(197,172,194,.14)); border-color: rgba(227,163,145,.35); }
.exp-card--feature:hover { background: linear-gradient(135deg, rgba(227,163,145,.3), rgba(197,172,194,.2)); }
.exp-card .tag { align-self: flex-start; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; padding: .35em .8em; border-radius: 999px; background: var(--sun-400); color: var(--teal-900); margin-bottom: 18px; }
.exp-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; }
.exp-icon svg { width: 26px; height: 26px; }
.exp-card h3 { color: #fff; margin-bottom: .5rem; }
.exp-card p { color: #c4d8d7; font-size: .97rem; }
.exp-list { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; }
.exp-list li { font-size: .8rem; font-weight: 600; padding: .4em .85em; border-radius: 999px; background: rgba(255,255,255,.08); color: #e4efee; }
.exp-feature-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; height: 100%; }
.exp-feature-visual { position: relative; min-height: 220px; }
.exp-feature-visual img { position: absolute; width: 46%; border-radius: 12px; box-shadow: 0 20px 40px -15px rgba(0,0,0,.5); border: 4px solid #fff; transition: transform .5s var(--ease); }
.exp-feature-visual img:nth-child(1) { left: 0; top: 8%; transform: rotate(-7deg); }
.exp-feature-visual img:nth-child(2) { left: 28%; top: 0; z-index: 2; transform: rotate(2deg); }
.exp-feature-visual img:nth-child(3) { right: 0; top: 12%; transform: rotate(8deg); }
.exp-card--feature:hover .exp-feature-visual img:nth-child(1) { transform: rotate(-11deg) translateX(-6px); }
.exp-card--feature:hover .exp-feature-visual img:nth-child(3) { transform: rotate(12deg) translateX(6px); }
.exp-card--wide { grid-column: span 6; }

@media (max-width: 1020px) {
  .exp-card, .exp-card--wide { grid-column: span 6; }
  .exp-card--feature { grid-column: span 12; }
}
@media (max-width: 680px) {
  .exp-card, .exp-card--wide, .exp-card--feature { grid-column: span 12; }
  .exp-feature-inner { grid-template-columns: 1fr; }
}

/* ---------- Démo relecture ---------- */
.review { background: var(--cream); }
.review-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.doc {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px);
  position: relative; border: 1px solid var(--line);
}
.doc-bar { display: flex; align-items: center; gap: 8px; margin: -8px 0 22px; font-size: .78rem; color: var(--ink-soft); }
.doc-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.doc-bar .label { margin-left: auto; padding: .25em .7em; background: var(--sun-100); border-radius: 999px; font-weight: 700; color: #8a6420; }
.doc h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.doc .doc-kicker { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--mauve-700); margin-bottom: .6rem; }
.doc p { color: #33525c; }
.mark {
  background: linear-gradient(transparent 55%, rgba(245,198,127,.55) 55%);
  cursor: pointer; border: 0; padding: 0 2px; font: inherit; color: inherit; text-align: left;
  border-radius: 3px; transition: background .25s;
  position: relative;
}
.mark sup {
  display: inline; padding: 1px 6px; border-radius: 999px;
  background: var(--teal-800); color: #fff; font-size: .68rem; font-weight: 800; margin-left: 3px; vertical-align: super; line-height: 1;
  font-family: var(--font-body);
}
.mark:hover, .mark.is-active { background: linear-gradient(transparent 0%, rgba(245,198,127,.75) 0%); }
.mark.is-active sup { background: var(--peach-500); }
.doc.is-fixed .mark { background: linear-gradient(transparent 55%, rgba(202,206,198,.55) 55%); }
.doc.is-fixed .mark sup { background: var(--teal-500); }

.notes { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
.note {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; text-align: left;
  padding: 16px 18px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line);
  cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.note:hover { transform: translateX(-3px); }
.note.is-active { border-color: var(--peach-500); box-shadow: var(--shadow); }
.note .n { width: 28px; height: 28px; border-radius: 50%; background: var(--teal-100); color: var(--teal-900); display: grid; place-items: center; font-weight: 800; font-size: .82rem; }
.note.is-active .n { background: var(--peach-500); color: #fff; }
.note .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--mauve-700); display: block; }
.note .t { font-size: .93rem; line-height: 1.5; color: var(--ink); }
.note .fix { display: none; margin-top: 6px; font-family: var(--font-hand); font-size: 1.25rem; line-height: 1.2; color: var(--teal-700); }
.note.is-active .fix { display: block; }
.review-toggle { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-weight: 700; font-size: .92rem; }
.switch { position: relative; width: 52px; height: 30px; border-radius: 999px; background: var(--teal-100); border: 0; cursor: pointer; transition: background .25s; flex: none; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.switch[aria-checked="true"] { background: var(--teal-700); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.doc-stamp {
  position: absolute; right: 22px; bottom: 22px; font-family: var(--font-hand); font-size: 1.5rem; color: var(--teal-700);
  border: 2px solid var(--teal-500); padding: 2px 14px; border-radius: 10px; transform: rotate(-6deg);
  opacity: 0; transition: opacity .3s, transform .3s var(--ease);
}
.doc.is-fixed .doc-stamp { opacity: 1; transform: rotate(-4deg) scale(1.03); }
.doc.is-fixed { padding-bottom: 76px; } /* le tampon « Validé » ne recouvre pas la dernière ligne */
.review-checks { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; list-style: none; padding: 0; }
.review-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.review-checks svg { width: 20px; height: 20px; flex: none; color: var(--teal-700); margin-top: 2px; }
.fineprint { font-size: .8rem; color: var(--ink-soft); margin-top: 14px; }
@media (max-width: 900px) {
  .review-grid { grid-template-columns: 1fr; }
  .notes { position: static; }
  .review-checks { grid-template-columns: 1fr; }
}

/* ---------- Formats (bande défilante) ---------- */
.marquee { background: var(--sun-400); color: var(--teal-900); overflow: hidden; padding-block: 18px; border-block: 1px solid rgba(40,73,86,.08); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); font-style: italic; padding-inline: 22px; display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee span::after { content: "✿"; font-style: normal; font-size: .8em; color: var(--peach-700); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Réalisations ---------- */
.work { background: var(--paper); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.work-head .section-head { margin-bottom: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; padding: .55em 1.05em; border-radius: 999px; cursor: pointer;
  font-size: .88rem; font-weight: 700; color: var(--ink-soft); transition: all .2s;
}
.chip:hover { border-color: var(--teal-500); color: var(--teal-900); }
.chip[aria-pressed="true"] { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }

.work-grid { columns: 4 240px; column-gap: 18px; }
.work-item { break-inside: avoid; margin-bottom: 18px; transition: opacity .35s, transform .35s var(--ease); }
.work-item.is-hidden { display: none; }
.work-card {
  display: block; width: 100%; padding: 0; border: 0; background: #fff; text-align: left; cursor: zoom-in;
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work-card img { width: 100%; transition: transform .6s var(--ease); }
.work-card:hover img { transform: scale(1.03); }
.work-card .meta { padding: 14px 16px 16px; }
.work-card .cat { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.work-card .ttl { display: block; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.25; margin-top: 4px; color: var(--ink); }
.cat--animaux { color: var(--peach-700); }
.cat--environnement { color: var(--teal-700); }
.cat--methodo { color: var(--mauve-700); }
.cat--comportement { color: #8a6420; }
.work-foot { margin-top: 30px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center; text-align: center; color: var(--ink-soft); font-size: .95rem; }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%;
  max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(30, 52, 61, .78); backdrop-filter: blur(6px); }
.lightbox-inner { display: grid; grid-template-columns: 1.1fr .9fr; background: #fff; border-radius: 22px; overflow: hidden; max-height: 92vh; }
.lightbox-img { background: var(--peach-100); display: grid; place-items: center; padding: 20px; }
.lightbox-img img { max-height: 80vh; width: auto; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox-body { padding: clamp(24px, 3vw, 40px); overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.lightbox-body h3 { margin: 0; }
.lightbox-body p { color: var(--ink-soft); }
.lightbox-close {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; z-index: 2;
}
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-skills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 8px; }
.lightbox-skills li { font-size: .78rem; font-weight: 700; padding: .35em .8em; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); }
@media (max-width: 760px) {
  .lightbox-inner { grid-template-columns: 1fr; overflow: auto; }
  .lightbox-img img { max-height: 50vh; }
  .lightbox-close { top: 8px; right: 8px; }
}

/* ---------- Méthode ---------- */
.method { background: var(--mauve-100); overflow: hidden; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; position: relative; }
.step {
  background: #fff; border-radius: var(--radius-lg); padding: 28px 26px; position: relative; counter-increment: step;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: 1;
  color: var(--mauve-300); display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.step .pill { position: absolute; top: 26px; right: 22px; font-size: .72rem; font-weight: 800; padding: .3em .7em; border-radius: 999px; background: var(--sun-100); color: #8a6420; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.promise {
  margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.promise div { display: flex; gap: 14px; align-items: flex-start; }
.promise svg { width: 26px; height: 26px; color: var(--mauve-700); flex: none; margin-top: 2px; }
.promise strong { display: block; }
.promise span { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }

/* ---------- À propos ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.about-photo { position: relative; position: sticky; top: 110px; }
.about-photo .frame { border-radius: 300px 300px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--mauve-300); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .sig {
  position: absolute; bottom: -22px; left: 50%; translate: -50% 0; background: #fff; padding: 10px 22px; border-radius: 999px;
  box-shadow: var(--shadow); font-family: var(--font-hand); font-size: 1.6rem; color: var(--teal-700); white-space: nowrap;
}
.about h2 { margin-bottom: .3em; }
.about .roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.about .roles li { font-size: .85rem; font-weight: 700; padding: .45em .95em; border-radius: 999px; }
.about .roles li:nth-child(1) { background: var(--teal-100); color: var(--teal-900); }
.about .roles li:nth-child(2) { background: var(--peach-100); color: var(--peach-700); }
.about .roles li:nth-child(3) { background: var(--mauve-100); color: var(--mauve-700); }
.about blockquote {
  margin: 1.8rem 0; padding: 0 0 0 22px; border-left: 3px solid var(--peach-300);
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.4; color: var(--teal-800);
}
.timeline { list-style: none; margin: 2rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--teal-100); }
.timeline li { position: relative; padding: 0 0 22px 36px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal-300); }
.timeline .yr { font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--peach-700); }
.timeline strong { display: block; font-size: 1.02rem; }
.timeline span { font-size: .93rem; color: var(--ink-soft); }

.pubs { margin-top: 2.4rem; border-radius: var(--radius-lg); background: var(--teal-50); padding: clamp(22px, 3vw, 34px); }
.pubs h3 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.pubs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.pubs li { padding: 12px 0; border-top: 1px solid rgba(40,73,86,.08); font-size: .93rem; line-height: 1.5; }
.pubs li:first-child { border-top: 0; }
.pubs .j { font-style: italic; color: var(--ink-soft); }
.pubs a { color: var(--teal-700); font-weight: 700; text-decoration: none; white-space: nowrap; }
.pubs a:hover { text-decoration: underline; }
.pubs .y { display: inline-block; font-weight: 800; color: var(--teal-800); margin-right: 6px; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: relative; top: 0; max-width: 380px; margin: 0 auto 30px; }
}

/* ---------- Engagement ---------- */
.engage {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(245,198,127,.25), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(202,206,198,.35), transparent 70%),
    var(--peach-100);
  overflow: hidden;
}
.engage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.manifesto {
  font-family: var(--font-display); font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.3; color: var(--teal-900);
  font-weight: 400; margin: 0 0 1.4rem;
}
.manifesto em { color: var(--peach-700); }
.engage-cards { display: grid; gap: 14px; }
.engage-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(4px);
}
.engage-card .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.engage-card .ico svg { width: 22px; height: 22px; }
.engage-card h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.engage-card p { margin: 0; font-size: .94rem; color: var(--ink-soft); }

.podcast { margin-top: clamp(48px, 6vw, 80px); background: var(--teal-900); color: #e8f1f0; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: center; position: relative; overflow: hidden; }
.podcast h3 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.podcast p { color: #b9d2d1; }
.podcast .eyebrow { color: var(--sun-400); }
.episodes { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.episode { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.06); text-decoration: none; transition: background-color .25s; }
.episode:hover { background: rgba(255,255,255,.12); }
.episode .play { width: 40px; height: 40px; border-radius: 50%; background: var(--peach-300); color: var(--teal-900); display: grid; place-items: center; }
.episode .play svg { width: 16px; height: 16px; margin-left: 2px; }
.episode strong { display: block; color: #fff; font-weight: 700; font-size: .96rem; line-height: 1.35; }
.episode span { font-size: .82rem; color: #9fbdbc; }
.episode .dur { font-size: .8rem; color: #9fbdbc; font-weight: 700; }
.podcast-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 900px) { .engage-grid, .podcast { grid-template-columns: 1fr; } }

/* ---------- Ressources ---------- */
.resources { background: var(--paper); }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.res-card { text-decoration: none; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.res-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.res-card .img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--peach-100); }
.res-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.res-card:hover img { transform: scale(1.04); }
.res-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.res-card .date { font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
.res-card h3 { font-size: 1.2rem; margin: 0; }
.res-card p { margin: 0; font-size: .93rem; color: var(--ink-soft); }
.res-card .link-arrow { margin-top: auto; padding-top: 6px; }
@media (max-width: 900px) { .res-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.newsletter {
  margin-top: clamp(40px, 5vw, 64px); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px);
  background: var(--mauve-100); display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center;
}
.newsletter h3 { margin-bottom: .3rem; }
.newsletter p { margin: 0; color: var(--ink-soft); }
.newsletter form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.newsletter input { flex: 1; border: 0; background: transparent; padding: 0 16px; font: inherit; min-width: 0; color: var(--ink); }
.newsletter input:focus { outline: none; }
.newsletter form:focus-within { box-shadow: 0 0 0 3px var(--sun-400); }
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23365e6d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--peach-100); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-soft); }
.faq .answer p:last-child { margin: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--teal-800); color: #e8f1f0; position: relative; overflow: hidden; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--sun-400); }
.contact .lead { color: #bcd5d4; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; position: relative; z-index: 1; }
.contact-info { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info li { display: flex; gap: 14px; align-items: center; }
.contact-info .ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; flex: none; }
.contact-info .ico svg { width: 20px; height: 20px; color: var(--sun-400); }
.contact-info a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-info small { display: block; color: #9fbdbc; font-size: .82rem; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .field legend { font-weight: 700; font-size: .88rem; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); padding: .8em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(202,206,198,.35); }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.needs label { cursor: pointer; }
.needs input { position: absolute; opacity: 0; pointer-events: none; }
.needs span { display: inline-block; padding: .5em 1em; border-radius: 999px; border: 1.5px solid var(--line); font-size: .86rem; font-weight: 600; transition: all .2s; user-select: none; }
.needs input:checked + span { background: var(--teal-800); border-color: var(--teal-800); color: #fff; }
.needs input:focus-visible + span { outline: 3px solid var(--sun-400); outline-offset: 2px; }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: .8rem; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.form-status { margin-top: 12px; font-weight: 700; color: var(--teal-700); text-align: center; min-height: 1.2em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #a9c4c3; padding: 64px 0 32px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #8fb0af; }
.site-footer p { margin-top: 16px; max-width: 360px; }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background-color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--peach-500); transform: translateY(-3px); text-decoration: none; }
.socials svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* Bouton retour en haut */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--peach-500); color: #fff; box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* Page légale */
.legal { padding-top: 150px; }
.legal h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.legal .todo { background: var(--sun-100); padding: .1em .4em; border-radius: 4px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .trust-track { animation: none; width: auto; }
  .trust-group { flex-wrap: wrap; justify-content: center; row-gap: 20px; padding-right: 0; }
  .trust-group[aria-hidden="true"] { display: none; }
  .trust-logos { -webkit-mask-image: none; mask-image: none; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field [aria-invalid="true"] { border-color: var(--peach-500); box-shadow: 0 0 0 4px rgba(227,163,145,.25); }
.work-card .meta, .res-card .img { display: block; }
.mark { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.promise p { margin: 0; }
@media (max-width: 600px) {
  .work-grid { columns: 2; column-gap: 12px; }
  .work-item { margin-bottom: 12px; }
  .work-card .meta { padding: 10px 12px 12px; }
  .work-card .ttl { font-size: .92rem; }
  .work-card .cat { font-size: .62rem; }
}

/* Logo officiel (vectorisé) */
.logo { display: block; height: 54px; width: auto; aspect-ratio: 298.2 / 119.2; color: var(--teal-900); transition: height .3s var(--ease); }
.site-header.is-scrolled .logo { height: 44px; }
.logo--footer { color: #fff; height: 54px; }

/* =========================================================
   Responsive — passe d'adaptation multi-formats
   ========================================================= */

/* Les colonnes de grille peuvent toujours rétrécir (évite tout débordement horizontal) */
.hero-grid > *, .panel > *, .review-grid > *, .about-grid > *, .engage-grid > *,
.contact-grid > *, .faq-grid > *, .newsletter > *, .podcast > *, .footer-grid > *,
.exp-feature-inner > *, .exp-grid > *, .res-grid > *, .steps > *, .promise > *,
.form-row > *, .lightbox-inner > *, .episode > * { min-width: 0; }
html, body { overflow-x: clip; }
img, svg, video { max-width: 100%; }
.contact-info a, .site-footer a, .pubs li { overflow-wrap: anywhere; }

/* Lisibilité minimale des petits libellés */
.work-card .cat, .note .k, .exp-card .tag, .step .pill, .doc .doc-kicker { font-size: max(.72rem, 12px); }
.nav a:not(.btn) { white-space: nowrap; }

/* Zones tactiles confortables (≥ 44 px) sur écrans tactiles */
@media (pointer: coarse) {
  .chip, .tab, .btn--sm, .link-arrow { min-height: 44px; }
  .link-arrow { display: inline-flex; align-items: center; }
  .switch { width: 58px; height: 34px; }
  .switch::after { width: 26px; height: 26px; }
  .switch[aria-checked="true"]::after { transform: translateX(24px); }
  .faq summary { min-height: 56px; }
  .contact-info a, .site-footer ul a { display: inline-block; padding-block: 8px; }
  .socials a { width: 46px; height: 46px; }
}

/* ---------- Grands écrans ---------- */
@media (min-width: 1600px) {
  :root { --container: 1320px; }
  html { font-size: 106.25%; }
  .hero-visual { max-width: 580px; }
}
@media (min-width: 2200px) {
  :root { --container: 1480px; }
  html { font-size: 118.75%; }
  .hero { min-height: min(100vh, 1300px); display: flex; align-items: center; }
  .hero > .container { width: min(100% - 2 * var(--gutter), var(--container)); }
}

/* ---------- Tablettes ---------- */
@media (max-width: 1100px) and (min-width: 901px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 32px; }
  .float-card { max-width: 220px; font-size: .78rem; }
  .float-card--a { left: -10%; }
  .about-grid { gap: 40px; }
}
@media (max-width: 900px) {
  .hero-visual { max-width: 400px; margin-top: 8px; }
  .hero { padding-bottom: 64px; }
  .work-head { align-items: flex-start; }
  .about-photo .frame { aspect-ratio: 4 / 4.4; }
  .notes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .res-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 14px; }
  .res-card .body { padding: 16px; }
  .res-card h3 { font-size: 1.05rem; }
  .res-card p { display: none; }
  .engage-cards { grid-template-columns: 1fr 1fr; }
  .engage-cards .engage-card:last-child { grid-column: span 2; }
}

/* ---------- Téléphones ---------- */
@media (max-width: 600px) {
  :root { --gutter: 20px; --radius-lg: 24px; }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 32px; }
  .logo { height: 44px; }
  .site-header.is-scrolled .logo { height: 38px; }
  .site-header { padding-block: 12px; }
  .hero { padding-top: 112px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-proof { flex-direction: column; gap: 10px; margin-top: 1.8rem; }
  .hero-visual { max-width: 330px; }
  .float-card { padding: 8px 10px; gap: 8px; max-width: 200px; font-size: .74rem; }
  .float-card strong { font-size: .8rem; }
  .float-card .ico { width: 28px; height: 28px; border-radius: 8px; }
  .float-card--a { left: -4%; top: 14%; }
  .float-card--b { right: -4%; bottom: 8%; }

  /* Onglets « Pour qui » : barre défilante horizontale */
  .tabs { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 2 * var(--gutter)); max-width: none; scrollbar-width: none; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding: 4px 6px; border-radius: 0; background: transparent; gap: 6px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; background: var(--teal-50); white-space: nowrap; }
  .tabs .tab:first-child { margin-left: calc(var(--gutter) - 6px); }
  .tabs .tab:last-child { margin-right: calc(var(--gutter) - 6px); }
  .panel-main { padding: 24px 22px; }
  .deliverable { padding: 14px 16px; }

  .exp-card { padding: 24px 22px; }
  .exp-feature-visual { min-height: 200px; }

  .doc { padding: 22px 18px; }
  .notes { grid-template-columns: 1fr; }
  .marquee { padding-block: 12px; }

  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; width: calc(100% + 2 * var(--gutter)); }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }

  .step { padding: 22px 20px; }
  .step::before { font-size: 2rem; margin-bottom: 8px; }

  .about-photo { max-width: 300px; }
  .timeline li { padding-left: 30px; }

  .engage-card { padding: 18px; }
  .podcast { padding: 24px 20px; }
  .episode { grid-template-columns: auto 1fr; padding: 12px; gap: 12px; }
  .episode .dur { grid-column: 2; margin-top: -6px; }
  .podcast-links .btn { flex: 1 1 auto; }

  /* Ressources : carrousel horizontal à balayer */
  .res-grid { display: flex; grid-template-columns: none; max-width: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .res-grid::-webkit-scrollbar { display: none; }
  .res-card { flex: 0 0 78%; scroll-snap-align: center; }
  .res-card .img { aspect-ratio: 16 / 10; }

  .newsletter form { flex-direction: column; border-radius: 18px; padding: 8px; }
  .newsletter input { padding: 12px 12px; }
  .newsletter .btn { width: 100%; }

  .faq summary { padding: 16px 18px; font-size: .98rem; }
  .faq .answer { padding: 0 18px 18px; }

  .form { padding: 22px 18px; }
  .needs span { padding: .6em .95em; }

  .site-footer { padding-top: 48px; }
  .footer-bottom { flex-direction: column; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

@media (max-width: 360px) {
  h1 { font-size: 2.1rem; }
  .hero h1 .hl { white-space: normal; }
  .tab { padding: .7em 1em; font-size: .9rem; }
}

/* ---------- Téléphones en paysage / écrans peu hauts ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .site-header { padding-block: 8px; }
  .logo, .site-header.is-scrolled .logo { height: 36px; }
  .nav-toggle { width: 40px; height: 40px; }
  .hero { padding-top: 96px; }
  .nav { justify-content: flex-start; overflow-y: auto; padding: 70px 20px 24px; flex-wrap: wrap; flex-direction: row; align-content: center; justify-content: center; gap: 6px 10px; }
  .nav a:not(.btn) { font-size: 1.25rem !important; }
  .nav .btn { margin: 8px 0 0; }
  .about-photo { position: relative; top: 0; }
  .notes { position: static; }
  .lightbox-img img { max-height: 70vh; }
}

/* Menu mobile : défilable si l'écran est court */
@media (max-width: 1100px) {
  .nav { overflow-y: auto; padding-block: 90px 32px; }
}
@media (min-width: 601px) { .tabs { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; } .tab { white-space: nowrap; flex: none; } }

/* =========================================================
   V4 : missions clients, comparateur avant / après, polyvalence
   ========================================================= */

/* Typographie française : espaces fines avant ; : ! ? gérées dans le HTML */
q { quotes: "« " " »" "“" "”"; }

/* Sous-onglets des réalisations */
.work-tabs { margin-bottom: 28px; }
.work-panel[hidden] { display: none; }
.work-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.work-intro p { margin: 0; max-width: 640px; color: var(--ink-soft); }

/* Polyvalence */
.versatility { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.versatility > div { background: var(--cream-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.versatility h3 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--teal-500); margin-bottom: 10px; }
.versatility ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.versatility li { font-size: .84rem; font-weight: 600; padding: .35em .8em; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.versatility > div:nth-child(1) li { background: var(--mauve-100); border-color: transparent; }
.versatility > div:nth-child(2) li { background: var(--peach-100); border-color: transparent; }
.versatility > div:nth-child(3) li { background: var(--teal-50); border-color: transparent; }
@media (max-width: 900px) { .versatility { grid-template-columns: 1fr; } }

/* Grille de missions */
.missions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mission.is-hidden { display: none; }
.mission-card {
  width: 100%; text-align: left; padding: 0; border: 1px solid var(--line); background: #fff; border-radius: 22px; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; height: 100%; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.mission-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mission-card .cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--teal-50); display: block; }
.mission-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mission-card:hover .cover img { transform: scale(1.04); }
.mission-card .count { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .74rem; font-weight: 800; padding: .3em .7em; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.mission-card .count svg { width: 13px; height: 13px; }
.mission-card .num { position: absolute; left: 12px; top: 12px; background: var(--teal-800); color: #fff; font-family: var(--font-display); font-style: italic; font-size: .95rem; padding: .2em .65em; border-radius: 999px; }
.mission-card .meta { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mission-card .client { font-size: max(.72rem, 12px); letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--mauve-700); }
.mission-card .ttl { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.22; color: var(--ink); }
.mission-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.mission-card .tags span { font-size: .76rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); }
.confidential { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: .86rem; color: var(--ink-soft); }
.confidential svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--teal-500); }
@media (max-width: 1020px) { .missions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .missions-grid { grid-template-columns: 1fr; gap: 14px; }
  .mission-card .ttl { font-size: 1.12rem; }
}

/* Fiche mission (dialogue) */
.mission-dialog { border: 0; padding: 0; background: transparent; width: min(1100px, 96vw); max-width: none; max-height: 94vh; overflow: visible; }
.mission-dialog::backdrop { background: rgba(30, 52, 61, .78); backdrop-filter: blur(6px); }
.md-inner { display: grid; grid-template-columns: 1.35fr 1fr; background: #fff; border-radius: 24px; overflow: hidden; max-height: 94vh; }
.md-gallery { background: var(--cream-soft); display: flex; flex-direction: column; min-width: 0; }
.md-stage { position: relative; flex: 1; display: grid; place-items: center; padding: 18px; min-height: 0; }
.md-stage img { max-width: 100%; max-height: calc(94vh - 140px); width: auto; border-radius: 14px; box-shadow: var(--shadow); user-select: none; }
.md-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.md-nav svg { width: 18px; height: 18px; }
#md-prev { left: 10px; } #md-next { right: 10px; }
.is-single .md-nav, .is-single .md-thumbs { display: none; }
.md-count { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; background: rgba(255,255,255,.92); font-size: .76rem; font-weight: 800; padding: .25em .7em; border-radius: 999px; }
.md-count:empty { display: none; }
.md-thumbs { display: flex; gap: 8px; padding: 0 18px 18px; overflow-x: auto; }
.md-thumbs button { flex: none; width: 76px; height: 56px; border-radius: 10px; overflow: hidden; padding: 0; border: 2px solid transparent; cursor: pointer; background: #fff; opacity: .65; transition: opacity .2s, border-color .2s; }
.md-thumbs button[aria-current="true"] { border-color: var(--peach-500); opacity: 1; }
.md-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.md-scroll { padding: clamp(24px, 3vw, 38px); overflow: auto; min-width: 0; }
.md-scroll .client { font-size: max(.72rem, 12px); letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--mauve-700); margin: 0 0 8px; }
.md-scroll h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); margin-bottom: 14px; }
.md-scroll h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--teal-500); margin: 18px 0 6px; }
.md-scroll p { font-size: .95rem; color: var(--ink); margin: 0 0 .6em; }
.md-scroll .md-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 16px 0 0; }
.md-scroll .md-tags li { font-size: .78rem; font-weight: 700; padding: .35em .8em; border-radius: 999px; background: var(--teal-50); color: var(--teal-800); }
.md-scroll .md-note { font-size: .8rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }
.md-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.md-close svg { width: 18px; height: 18px; }
@media (max-width: 820px) {
  .md-inner { grid-template-columns: 1fr; overflow: auto; }
  .md-stage img { max-height: 46vh; }
  .md-close { top: 8px; right: 8px; }
  .md-scroll { overflow: visible; }
}

/* Comparateur avant / après */
.ba-section { background: var(--cream-soft); }
.ba-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ba { --pos: 50%; position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1100 / 1556; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; user-select: none; touch-action: pan-y; }
.ba-before, .ba-after { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-after img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-before { background: #fff; padding: 9% 9% 6%; font-family: "Times New Roman", Times, serif; color: #222; font-size: clamp(8px, 1.55vw, 12.5px); line-height: 1.38; overflow: hidden; }
.ba-before .raw-h { font-size: 1.25em; font-weight: 700; margin: 0 0 .5em; }
.ba-before p { margin: 0 0 .7em; }
.ba-before .raw-sub { font-weight: 700; margin-top: 1em; }
.ba-before .raw-cursor { display: inline-block; width: 1px; height: 1.1em; background: #222; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; translate: -50% 0; background: #fff; box-shadow: 0 0 0 1px rgba(40,73,86,.15); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--pos); translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%; background: var(--peach-500); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); pointer-events: none; }
.ba-knob svg { width: 22px; height: 22px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba-range:focus-visible ~ .ba-knob { outline: 3px solid var(--sun-400); outline-offset: 3px; }
.ba-label { position: absolute; top: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .35em .75em; border-radius: 999px; pointer-events: none; }
.ba-label--before { left: 12px; background: #eee; color: #444; }
.ba-label--after { right: 12px; background: var(--teal-800); color: #fff; }
.ba-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.ba-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ba-points li { display: flex; gap: 12px; align-items: flex-start; }
.ba-points .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--mauve-100); color: var(--mauve-700); }
.ba-points .ico svg { width: 17px; height: 17px; }
.ba-points strong { display: block; }
.ba-points span { font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; } .ba { max-width: 420px; } }

/* Vision */
.vision-cards { display: grid; gap: 14px; }
@media (min-width: 821px) {
  .md-inner { height: min(90vh, 780px); }
  .md-gallery, .md-scroll { min-height: 0; }
  .md-gallery { overflow: hidden; }
  .md-stage img { max-height: 100%; }
  .md-stage { overflow: hidden; }
  .md-thumbs { flex: none; }
}
@media (max-width: 600px) {
  .mission-card .cover { aspect-ratio: 16 / 10; }
  .mission-card .meta { padding: 14px 16px 16px; }
  .mission-card .tags span:nth-child(n+3) { display: none; }
  .versatility > div { padding: 14px 16px; }
  .versatility li { font-size: .8rem; }
}

/* Contenus Haumea : couverture + compteur de visuels, bouton « voir tous » */
.work-card .cover-wrap { position: relative; display: block; overflow: hidden; }
.work-card .count { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .74rem; font-weight: 800; padding: .3em .7em; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.work-card .count svg { width: 13px; height: 13px; }
.work-card { cursor: pointer; }
.more-wrap { display: flex; justify-content: center; margin-top: 26px; }
.md-scroll .md-link { margin-top: 18px; }
.md-scroll .md-link .btn { color: #fff; }
.logo-rond { display: block; width: 96px; height: 96px; }
.res-card .img img { object-position: center 30%; }
.more-wrap[hidden] { display: none; }

/* ---------- Blog ---------- */
.blog { padding-top: 140px; }
.blog-nav { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: .95rem; }
.blog-nav a:not(.btn) { text-decoration: none; }
.blog-nav a:not(.btn):hover { text-decoration: underline; }
.blog h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); max-width: 22ch; }
.blog .eyebrow a { color: inherit; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 40px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.blog-card:hover, .blog-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-img { aspect-ratio: 4 / 3; background: var(--cream); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-txt { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.blog-card time { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); }
.blog-card-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; color: var(--ink); }
.blog-card-ex { font-size: .94rem; color: var(--ink-soft); line-height: 1.55; }
.post { max-width: 780px; }
.post-body { font-size: 1.06rem; line-height: 1.75; }
.post-body h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-top: 2.2rem; }
.post-body h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.post-body a { color: var(--teal-800); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.post-body blockquote { margin: 1.6rem 0; padding: 14px 22px; border-left: 4px solid var(--peach-300); background: var(--cream-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-size: 1.15rem; }
.post-body ul { padding-left: 1.3em; }
.post-figure { margin: 1.8rem 0; }
.post-figure img { border-radius: var(--radius-sm); margin-inline: auto; box-shadow: var(--shadow-sm); }
.post-carousel { margin: 1.8rem 0 2.2rem; }
.post-carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; border-radius: var(--radius); background: var(--cream); scrollbar-width: none; }
.post-carousel-track::-webkit-scrollbar { display: none; }
.post-carousel-track:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; }
.post-carousel-track img { flex: 0 0 100%; min-width: 0; max-height: 78vh; object-fit: contain; scroll-snap-align: center; }
.post-carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.post-carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.post-carousel-nav button:hover { background: var(--cream); }
.pc-count { font-weight: 700; font-size: .9rem; min-width: 4.5em; text-align: center; color: var(--ink-soft); }
.post-cta { margin-top: 3rem; padding: 26px 28px; background: var(--cream); border-radius: var(--radius); }
.post-cta p { margin-bottom: 1rem; }
.blog-footer { padding: 36px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 600px) { .blog-nav a:not(.btn) { display: none; } .blog { padding-top: 110px; } }
