/* ==========================================================================
   CycleFlow AI - feuille de style
   Charte « Aurore » : Poppins (titres et lecture), IBM Plex Sans (interface).
   Thème unique sombre (usage principal de la charte). Accents vifs réservés au fond sombre.
   Rayons : boutons en pilule, cartes 18px, champs 12px. Aucune autre valeur.
   Couches (z-index) : 10 contenu surélevé, 50 navigation, 60 menu mobile.
   ========================================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }

:root {
  --bg: #07080B;
  --surface: #0E1015;
  --surface-2: #13161C;
  --line: #1D1F26;
  --line-2: #2A2D36;
  /* Bordure des champs : 3,4:1 sur le panneau, seuil WCAG des éléments d'interface. */
  --line-field: #636775;
  --text: #F3F4F6;
  --muted: #8B8E97;
  --soft: #B4B7BF;
  --teal: #5EEAD4;
  --amber: #E8A860;
  --ring: linear-gradient(120deg, var(--teal), var(--amber));

  --f-display: "Poppins", system-ui, sans-serif;
  --f-body: "Poppins", system-ui, sans-serif;
  --f-ui: "IBM Plex Sans", system-ui, sans-serif;

  --r-card: 18px;
  --r-input: 12px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);        /* sortie franche, pour tout ce qui entre */
  --ease-mv: cubic-bezier(0.77, 0, 0.175, 1);   /* mouvement sur place */
  --t-press: 140ms;   /* retour au clic */
  --t-ui: 200ms;      /* survols, petits états */
  --t-enter: 260ms;   /* apparition d'un élément */
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; margin: 0; letter-spacing: -0.015em; line-height: 1.12; text-wrap: balance; }
::selection { background: rgba(94, 234, 212, 0.28); color: var(--text); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Grain fixe, jamais sur un conteneur qui défile */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 70; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 80; background: var(--teal); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-family: var(--f-ui); }
.skip:focus { left: 16px; }

/* --- Typographie utilitaire ------------------------------------------- */
.eyebrow { font-family: var(--f-ui); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; display: block; }
.h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 700; letter-spacing: -0.022em; line-height: 1.05; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.02em; }
.h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.012em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--soft); max-width: 60ch; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 18px; }

/* --- Boutons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--f-ui); font-size: 15.5px; font-weight: 500; letter-spacing: 0.005em;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform var(--t-press) var(--ease), background-color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-ui) var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--teal); color: #06221E; }
.btn-primary:hover { background: #7FF0DF; }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: #3A3E49; background: rgba(255,255,255,0.05); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-weight: 500; color: var(--teal); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-ui) var(--ease); }

/* --- Navigation --------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  background: rgba(7, 8, 11, 0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color var(--t-enter) var(--ease), background-color var(--t-enter) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 8, 11, 0.86); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 2.2vw, 30px); margin: 0 auto; }
.nav-links a { font-family: var(--f-ui); font-size: 15px; color: var(--muted); transition: color var(--t-ui) var(--ease); position: relative; padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--ring); }
.nav .btn { padding: 11px 20px; font-size: 14.5px; }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.nav-burger svg { width: 20px; height: 20px; }
.mnav { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 60; background: var(--bg); padding: 24px var(--gutter) 40px; display: none; flex-direction: column; gap: 4px; }
.mnav.is-open { display: flex; animation: mnavIn 220ms var(--ease) both; }
.mnav.is-open a { animation: mnavLink 300ms var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms + 40ms); }
@keyframes mnavIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mnavLink { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mnav a { font-family: var(--f-display); font-size: 26px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 24px; justify-content: center; font-size: 16px; }
@media (max-width: 960px) {
  .nav-links, .nav .btn { display: none; }
  .nav-burger { display: inline-flex; }
}

main { padding-top: var(--nav-h); }

/* --- Hero accueil : split asymétrique ------------------------------------ */
.hero { position: relative; min-height: min(calc(100dvh - var(--nav-h)), 860px); display: flex; align-items: center; padding: clamp(40px, 6vw, 88px) 0; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(closest-side, rgba(94,234,212,0.10), rgba(232,168,96,0.05) 55%, transparent 72%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; }
.hero .h1 { font-size: clamp(38px, 4.3vw, 58px); }
.hero .h1 .nw { white-space: nowrap; }
@media (max-width: 900px) { .hero .h1 .nw { white-space: normal; } }
.hero .lead { margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: end; }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 300px; justify-self: start; margin: -8px 0 8px -24px; }
}

/* Révélation de l'anneau dans le sens horaire, depuis l'extrémité teal (le cycle se lance) */
@property --reveal { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
@media (prefers-reduced-motion: no-preference) {
  .ring-reveal {
    --reveal: 0deg;
    -webkit-mask-image: conic-gradient(from -28deg, #000 var(--reveal), transparent calc(var(--reveal) + 0.5deg));
            mask-image: conic-gradient(from -28deg, #000 var(--reveal), transparent calc(var(--reveal) + 0.5deg));
    animation: ringReveal 2.2s var(--ease) 0.25s forwards;
  }
  .ring-breathe { animation: breathe 7s ease-in-out 2.6s infinite; }
}
@keyframes ringReveal { to { --reveal: 360deg; } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.82; } }

.section-tight { padding-top: clamp(28px, 3.4vw, 44px); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(3px); }
  .link-arrow:hover svg { transform: translateX(3px); }
  .tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
  .tile-photo:hover img { transform: scale(1.03); opacity: 0.72; }
  .post:hover h3 { color: var(--teal); }
  .post:hover .post-num { color: var(--soft); }
}

/* --- Retour au clic : tout ce qui se presse doit répondre ------------------ */
.anchor-pills a:active, .faq-list summary:active, .cookie .btn:active { transform: scale(0.98); }
.faq-list summary { transition: color var(--t-ui) var(--ease), transform var(--t-press) var(--ease); }
.faq-list details[open] summary { color: var(--teal); }
.post { transition: border-color var(--t-ui) var(--ease); }
.post h3, .post-num { transition: color var(--t-ui) var(--ease); }

/* --- Entrées au défilement -------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .62s var(--ease), transform .62s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
  .reveal.is-visible { opacity: 1; transform: none; }
  /* Au-dessus de la ligne de flottaison : animation CSS pure, jamais dépendante du script */
  .hero .reveal, .page-head .reveal { opacity: 1; transform: none; transition: none; animation: fadeUp .72s var(--ease) both; animation-delay: calc(var(--i, 0) * 65ms + 40ms); }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* --- Section problème : énoncé + chiffre --------------------------------- */
.problem { border-top: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.problem-grid.grid-top { align-items: start; }
.statement { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4vw, 52px); line-height: 1.16; letter-spacing: -0.02em; }
.statement em { font-style: normal; color: var(--teal); }
.stat { border-left: 1px solid var(--line-2); padding-left: clamp(20px, 3vw, 40px); }
.stat-num { font-family: var(--f-display); font-weight: 700; font-size: clamp(64px, 8vw, 104px); line-height: 1; letter-spacing: -0.025em; color: var(--amber); }
.stat p { margin-top: 14px; color: var(--soft); max-width: 30ch; }
.stat small { display: block; margin-top: 14px; font-family: var(--f-ui); font-size: 13px; color: var(--muted); }
.problem .link-arrow { margin-top: 36px; }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }

/* --- Bento prestations ---------------------------------------------------- */
.bento { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-top: 52px; }
.tile { position: relative; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: clamp(24px, 3vw, 36px); overflow: hidden; display: flex; flex-direction: column; min-height: 250px; transition: border-color var(--t-ui) var(--ease), transform var(--t-enter) var(--ease); }
.tile .h3 { margin-top: auto; }
.tile p { margin-top: 10px; color: var(--soft); max-width: 42ch; }
.tile .tile-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); color: var(--teal); }
.tile .tile-icon svg { width: 22px; height: 22px; }
.tile .link-arrow { margin-top: 18px; }
.tile-photo { grid-row: span 2; min-height: 540px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.62; transition: transform .7s var(--ease-mv), opacity var(--t-ui) var(--ease); }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,11,0.1) 20%, rgba(7,8,11,0.92) 78%); }
.tile-photo > *:not(img) { position: relative; z-index: 1; }
.tile-teal { background: radial-gradient(120% 90% at 100% 0%, rgba(94,234,212,0.14), transparent 60%), var(--surface); }
.tile-amber { background: radial-gradient(120% 90% at 100% 0%, rgba(232,168,96,0.14), transparent 60%), var(--surface); }
.tile-amber .tile-icon { color: var(--amber); }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .tile-photo { grid-row: auto; min-height: 420px; } }

/* --- Split média ----------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.portrait { aspect-ratio: 4 / 5; max-width: 460px; }
.split-media.portrait img { filter: saturate(0.82) brightness(0.88) contrast(1.06); }
.split-media.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,11,0.25), transparent 30%, transparent 62%, rgba(7,8,11,0.55)); pointer-events: none; }
.badge-15 { display: inline-flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.badge-15 b { font-family: var(--f-display); font-size: clamp(56px, 6vw, 80px); line-height: 1; letter-spacing: -0.025em; background: var(--ring); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge-15 span { font-family: var(--f-ui); color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* --- Déroulé (frise) --------------------------------------------------------- */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 1px; background: var(--line-2); }
.step { position: relative; padding-right: 20px; }
.step-dot { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--f-ui); font-weight: 500; font-size: 15px; color: var(--muted); position: relative; z-index: 1; }
.step h3 { font-size: 18px; margin-top: 20px; letter-spacing: -0.01em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.step.is-key .step-dot { border-color: transparent; background: var(--ring); color: #07080B; }
.step-flag { justify-self: start; width: max-content; display: inline-block; margin-top: 12px; font-family: var(--f-ui); font-size: 12.5px; color: var(--amber); border: 1px solid rgba(232,168,96,0.35); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 22px; bottom: 22px; left: 21px; right: auto; width: 1px; height: auto; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; padding: 0; }
  .step h3 { margin-top: 10px; }
  .step > :not(.step-dot) { grid-column: 2; }
  .step-dot { grid-row: span 3; }
}

/* --- Contrôle : bandeau manifeste -------------------------------------------- */
.control { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.control-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.control-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.control-list li { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); font-family: var(--f-ui); font-size: 16px; }
.control-list li:last-child { border-bottom: 1px solid var(--line); }
.control-list svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
@media (max-width: 860px) { .control-grid { grid-template-columns: 1fr; } }

/* --- Fondateur ------------------------------------------------------------------ */
.founder-quote { font-family: var(--f-display); font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; margin-top: 22px; }
.founder-name { margin-top: 24px; font-family: var(--f-ui); color: var(--muted); }
.founder-name b { color: var(--text); font-weight: 500; }

/* --- FAQ (accordéon natif) ---------------------------------------------------- */
.faq { max-width: 860px; }
.wrap.faq { max-width: var(--wrap); }
.wrap.faq > * { max-width: 860px; }
.faq-list { margin-top: 8px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); letter-spacing: -0.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 22px; height: 22px; flex: none; color: var(--teal); transition: transform var(--t-ui) var(--ease-mv); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 26px; color: var(--soft); max-width: 68ch; }
.faq-list details[open] .answer { animation: answerIn 240ms var(--ease) both; }
@keyframes answerIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq-list .answer .link-arrow { margin-top: 12px; }
.faq-more { margin-top: 32px; }

/* --- CTA final ------------------------------------------------------------------- */
.cta-final { position: relative; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.cta-final .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, transparent, var(--bg) 88%); z-index: 1; }
.cta-final .wrap { position: relative; z-index: 2; }
.cta-final .lead { margin: 20px auto 0; }
.cta-final .btn { margin-top: 36px; }
.cta-ring { width: 64px; height: 64px; margin: 0 auto 28px; }

/* --- Blog : liste d'articles ---------------------------------------------- */
.post-list { margin-top: 44px; border-top: 1px solid var(--line); }
.post { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-num { font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--line-2); letter-spacing: 0.04em; }
.post h3 { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.3; }
.post-cat { display: block; margin-top: 10px; font-family: var(--f-ui); font-size: 13.5px; color: var(--teal); }
.post-state { font-family: var(--f-ui); font-size: 12.5px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
@media (max-width: 640px) {
  .post { grid-template-columns: auto 1fr; row-gap: 14px; }
  .post-state { grid-column: 2; justify-self: start; }
}

/* --- En-tête de page interne --------------------------------------------------------- */
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-head::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -320px; background: radial-gradient(closest-side, rgba(94,234,212,0.10), rgba(232,168,96,0.04) 60%, transparent 75%); pointer-events: none; }
.page-head .h1 { font-size: clamp(36px, 4.6vw, 58px); max-width: 18ch; }
.page-head .lead { margin-top: 22px; }
.page-head .hero-cta { margin-top: 32px; }
.page-head-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 64px); align-items: center; }
.page-head-grid .h1 { max-width: 15ch; }
.head-ring { width: clamp(150px, 21vw, 290px); height: auto; opacity: 0.9; justify-self: end; }
@media (max-width: 820px) { .page-head-grid { grid-template-columns: 1fr; } .head-ring { width: min(150px, 38vw); justify-self: start; margin-top: 8px; } }
.anchor-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.anchor-pills a { font-family: var(--f-ui); font-size: 14.5px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--soft); transition: border-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), transform var(--t-press) var(--ease); }
.anchor-pills a:hover { border-color: var(--teal); color: var(--text); }

/* --- Prestations détaillées --------------------------------------------------------------- */
.offer { display: grid; grid-template-columns: 90px 1fr 1fr; gap: clamp(20px, 4vw, 56px); padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.offer:last-of-type { border-bottom: 0; }
.offer-mark { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--teal); background: var(--surface); }
.offer-mark svg { width: 28px; height: 28px; }
.offer-kicker { font-family: var(--f-ui); color: var(--muted); font-size: 14.5px; margin-bottom: 12px; display: block; }
.offer .lead { margin-top: 18px; }
.offer-example { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); padding: 26px 28px; }
.offer-example span { font-family: var(--f-ui); font-size: 13px; letter-spacing: 0.06em; color: var(--amber); display: block; margin-bottom: 12px; }
.offer-example ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.offer-example li { display: flex; gap: 12px; color: var(--soft); }
.offer-example li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 4px; }
@media (max-width: 960px) { .offer { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.pillar { border-top: 1px solid var(--line-2); padding-top: 22px; }
.pillar h3 { font-size: 19px; display: flex; gap: 12px; align-items: center; }
.pillar h3 svg { width: 20px; height: 20px; color: var(--teal); }
.pillar p { margin-top: 10px; color: var(--soft); max-width: 44ch; }
@media (max-width: 700px) { .pillars { grid-template-columns: 1fr; } }

/* --- Audit : étapes et livrables ---------------------------------------------------------- */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.phase { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: 30px; display: flex; flex-direction: column; }
.phase .when { font-family: var(--f-ui); font-size: 13px; color: var(--amber); margin-bottom: 26px; }
.phase h3 { font-size: 21px; }
.phase .sub { color: var(--teal); font-family: var(--f-ui); font-size: 15px; margin-top: 8px; }
.phase p { margin-top: 14px; color: var(--soft); font-size: 16px; }
.phase:first-child { grid-row: span 1; }
@media (max-width: 900px) { .phases { grid-template-columns: 1fr; } }

.deliverables { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deliverable { padding: 28px 22px 28px 0; }
.deliverable + .deliverable { padding-left: 22px; border-left: 1px solid var(--line); }
.deliverable svg { width: 26px; height: 26px; color: var(--teal); }
.deliverable h3 { font-size: 17px; margin-top: 16px; letter-spacing: -0.01em; }
.deliverable p { margin-top: 8px; font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .deliverables { grid-template-columns: 1fr 1fr; } .deliverable:nth-child(3) { border-left: 0; padding-left: 0; } .deliverable:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .deliverables { grid-template-columns: 1fr; } .deliverable + .deliverable { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 40px; }
.guarantee b { font-family: var(--f-display); font-size: 22px; display: block; }
.guarantee p { margin-top: 8px; color: var(--soft); }
@media (max-width: 760px) { .guarantees { grid-template-columns: 1fr; } }

/* --- Contact : parcours en deux étapes ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.progress { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; font-family: var(--f-ui); font-size: 14.5px; color: var(--muted); }
.progress .p-step { display: inline-flex; align-items: center; gap: 10px; }
.progress .p-num { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 13.5px; }
.progress .p-step.is-active { color: var(--text); }
.progress .p-step.is-active .p-num { background: var(--teal); border-color: var(--teal); color: #06221E; }
.progress .p-step.is-done .p-num { border-color: var(--teal); color: var(--teal); }
.progress .p-line { flex: 0 0 44px; height: 1px; background: var(--line-2); }
.panel { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: clamp(24px, 3.5vw, 44px); }
.panel h2 { font-size: clamp(22px, 2.2vw, 28px); }
.panel .muted { margin-top: 10px; }
.form { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--f-ui); font-size: 14.5px; font-weight: 500; color: var(--text); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line-field); border-radius: var(--r-input); padding: 13px 15px;
  transition: border-color var(--t-ui) var(--ease), box-shadow var(--t-ui) var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: #898D97; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(94,234,212,0.16); }
.field .err { display: none; font-family: var(--f-ui); font-size: 13.5px; color: #F2A38B; }
.field.has-error input, .field.has-error select { border-color: #E07A5F; }
.field.has-error .err { display: block; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 13.5px; max-width: 46ch; }
.form-foot small a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.agenda-slot { margin-top: 28px; border-radius: var(--r-input); border: 1px dashed var(--line-2); background: var(--bg); min-height: 460px; display: grid; place-items: center; text-align: center; padding: 32px; }
.agenda-slot svg { width: 40px; height: 40px; color: var(--teal); margin: 0 auto 16px; }
.agenda-slot p { color: var(--muted); max-width: 40ch; margin: 0 auto; }
.agenda-slot iframe { width: 100%; min-height: 640px; border: 0; border-radius: var(--r-input); }
.is-hidden { display: none !important; }
.aside-card + .aside-card { margin-top: 18px; }
.aside-card { border-top: 1px solid var(--line-2); padding-top: 22px; }
.aside-card h3 { font-size: 18px; }
.aside-card p { margin-top: 8px; color: var(--soft); }
.aside-card a.mail { color: var(--teal); font-family: var(--f-ui); font-weight: 500; }

/* --- Pages de texte (légal, transparence) ------------------------------------------------ */
.doc-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 28px); font-family: var(--f-ui); font-size: 14px; max-height: calc(100dvh - var(--nav-h) - 56px); overflow: auto; }
.toc b { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { display: flex; gap: 12px; padding: 6px 0; color: var(--muted); line-height: 1.45; transition: color var(--t-ui) var(--ease); }
.toc a span { flex: none; width: 22px; color: var(--teal); }
.toc a:hover { color: var(--text); }
.toc a.is-current { color: var(--text); }
.toc a.is-current span { color: var(--amber); }
@media (max-width: 960px) { .doc-grid { grid-template-columns: 1fr; } .toc { display: none; } }
.prose { max-width: 72ch; }
.art { padding: clamp(30px, 3.4vw, 42px) 0; border-top: 1px solid var(--line); }
.art:first-child { border-top: 0; padding-top: 0; }
.art-kicker { display: block; font-family: var(--f-ui); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.prose h2 { font-size: clamp(21px, 2vw, 26px); }
.prose h3 { font-size: 18px; margin-top: 30px; color: var(--text); }
.prose p { margin-top: 14px; color: var(--soft); }
.prose p.b { color: var(--text); font-weight: 500; }
.prose p.i { font-style: italic; color: var(--muted); }
.prose ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--soft); }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 2px; border-radius: 2px; background: var(--ring); }
.prose dl { margin: 16px 0 0; display: grid; grid-template-columns: max-content 1fr; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.prose dt, .prose dd { margin: 0; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.prose dt { font-family: var(--f-ui); font-size: 14.5px; color: var(--muted); background: var(--surface); }
.prose dd { color: var(--text); }
.prose dl > :nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; } .prose dt { border-bottom: 0; padding-bottom: 2px; } }
.prose .note { margin-top: 18px; padding: 18px 20px; border-radius: var(--r-input); background: var(--surface); border: 1px solid var(--line); color: var(--soft); font-size: 15.5px; }
.prose .link-arrow { margin-top: 14px; }

/* --- Transparence IA ------------------------------------------------------------------------- */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.principle { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: clamp(24px, 3vw, 36px); }
.principle svg { width: 26px; height: 26px; color: var(--teal); }
.principle h2 { font-size: clamp(20px, 2vw, 24px); margin-top: 20px; }
.principle p { margin-top: 12px; color: var(--soft); }
.principle.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; background: radial-gradient(90% 120% at 100% 0%, rgba(232,168,96,0.10), transparent 60%), var(--surface); }
.principle.wide svg { color: var(--amber); }
.principle.wide-teal { background: radial-gradient(90% 120% at 0% 100%, rgba(94,234,212,0.10), transparent 60%), var(--surface); }
.principle.wide-teal svg { color: var(--teal); }
@media (max-width: 820px) { .principles, .principle.wide { grid-template-columns: 1fr; } }

/* --- Pied de page -------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { height: 26px; width: auto; }
.footer-brand p { margin-top: 18px; color: var(--muted); max-width: 32ch; font-size: 15.5px; }
.footer .footer-h { font-family: var(--f-ui); font-size: 13px; text-transform: none; line-height: 1.2; font-weight: 500; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-family: var(--f-ui); font-size: 15px; }
.footer ul a { color: var(--soft); transition: color var(--t-ui) var(--ease); }
.footer ul a:hover { color: var(--text); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-family: var(--f-ui); font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  /* Mouvement réduit ne veut pas dire aucune transition : on garde les
     changements de couleur et d'opacité, qui aident à comprendre l'interface,
     et on supprime tout déplacement. */
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  *, *::before, *::after { transition-property: color, background-color, border-color, opacity, box-shadow !important; transition-duration: 160ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* --- Consentement aux cookies -------------------------------------------- */
.link-like { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-like:hover { color: var(--text); }
.cookie {
  position: fixed; z-index: 70; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  max-width: 560px; margin-left: auto; padding: 22px 24px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  display: grid; gap: 18px;
}
.cookie[hidden] { display: none; }
/* Entrée posée, sortie plus rapide : le système répond plus vite qu'il ne propose. */
.cookie { transition: opacity var(--t-enter) var(--ease), transform var(--t-enter) var(--ease), display var(--t-enter) allow-discrete; }
.cookie.is-leaving { opacity: 0; transform: translateY(8px) scale(0.99); transition-duration: 160ms; }
@starting-style { .cookie { opacity: 0; transform: translateY(12px) scale(0.98); } }
.cookie b { font-family: var(--f-display); font-size: 17px; }
.cookie p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.cookie-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-actions .btn { padding: 11px 22px; font-size: 14.5px; }
.cookie-actions .btn-primary { background: transparent; color: var(--teal); border-color: var(--teal); }
.cookie-actions .btn-ghost { color: var(--soft); }
@media (hover: hover) and (pointer: fine) {
  .cookie-actions .btn-primary:hover { background: rgba(94,234,212,0.12); }
}
.cookie a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .cookie-actions .btn { flex: 1 1 auto; justify-content: center; } }
