/* Polices hébergées sur le site (fichiers officiels Google Fonts, licence SIL OFL) : aucune requête vers Google,
   donc aucune adresse IP transmise sans accord. latin + latin-ext ; variables (graisse, et taille optique pour Bricolage). */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/bricolage-grotesque-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/schibsted-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/schibsted-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Webnotoriété, direction visuelle de la maquette du 28/09/2026 : crème, marine, orange.
   Toutes les couleurs, rayons et typos passent par les variables ci-dessous. */
:root {
  --bg: #F5F1E9; --surface: #FFFFFF; --surface-2: #FBF8F2;
  --ink: #13304F; --ink-deep: #0E2740; --navy: #173B5E; --soft: #3E5064; --muted: #627083;
  --accent: #F2612E; --accent-hover: #DE4E1C; --accent-ink: #C03E12;
  --on-navy: #FFFFFF; --on-navy-soft: #C9D4E0; --line: #E3DBCC; --line-strong: #CFC5B3;
  --radius: 16px; --radius-sm: 10px; --maxw: 1180px; --ease: cubic-bezier(.16, 1, .3, 1);
  --font-display: 'Bricolage Grotesque', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; font-weight: 700; margin-bottom: .45rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 200; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--soft); max-width: 42rem; }
.narrow { max-width: 46rem; }
.accent { color: var(--accent); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .9rem; }
.display { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 22ch; }

/* En-tête */
header { position: sticky; top: 0; z-index: 100; background: rgba(245, 241, 233, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .3s; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--ink); display: inline-flex; align-items: center; }
/* Logo empilé (couronne, nom, trait) : assez haut pour que le nom reste lisible. */
.logo img { display: block; height: 58px; width: auto; }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 1.8rem; font-size: .93rem; font-weight: 500; }
.nav-links a { color: var(--ink); position: relative; padding: .3rem 0; }
.nav-links a:hover { text-decoration: none; color: var(--accent-ink); }
.nav-links a[aria-current] { color: var(--accent-ink); }
.nav-links a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-cta { font-size: .88rem; font-weight: 700; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--accent); color: var(--accent-ink); white-space: nowrap; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--accent); color: #fff; text-decoration: none; }
.nav-cta i, .btn i, .lien-fleche i, .porte-lien i { font-style: normal; display: inline-block; transition: transform .2s var(--ease); }
.nav-cta:hover i, .btn:hover i, .lien-fleche:hover i, .porte:hover .porte-lien i { transform: translate(2px, -2px); }
.nav-mobile-cta { display: none; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px; padding: .4rem .9rem; font: inherit; font-weight: 600; cursor: pointer; }

/* Boutons et liens fléchés */
.btn { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1rem; padding: .95rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(242, 97, 46, .7); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost, .btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .btn-secondary:hover { background: var(--ink); color: #fff; }
.actions { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.lien-fleche { font-weight: 700; color: var(--accent-ink); }

/* Hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3.5rem); }
.hero h1 { max-width: 16ch; margin-bottom: 1.3rem; }
.hero .lead { margin-bottom: .9rem; font-size: 1.25rem; color: var(--ink); font-weight: 500; }
.hero .sub, .hero .wrap > p:not(.lead):not(.eyebrow):not(.muted) { color: var(--soft); max-width: 38rem; margin-bottom: 1.8rem; }
.hero .encadre { margin-top: 1.8rem; }
/* Titre de l'accueil sur deux lignes, de la largeur de l'accroche (« …depuis 2009. ») :
   « Être trouvé sur Google » fait 9,6 em, « …Google et » 10,7 em, d'où la limite à 10 em. */
.hero-home h1 { font-size: clamp(2.4rem, 4.7vw, 3.7rem); max-width: 10em; text-wrap: wrap; }
/* Accroche agrandie dans la même proportion : même largeur que la première ligne du titre. */
.hero-home .lead { font-size: clamp(1.15rem, 1.75vw, 1.4rem); max-width: none; }
.hero-home { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 2.5rem; align-items: center; }
/* Bords estompés : le fond de l'image, à peine différent du crème de la page, ne dessine pas de rectangle. */
.hero-illus img { -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 97%, transparent); mask-composite: intersect; display: block; width: 100%; max-width: 560px; margin-left: auto; animation: flotte 7s ease-in-out infinite alternate; }
@keyframes flotte { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.reveal { animation: up .8s var(--ease) both; }
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Bandeau de chiffres (plein cadre marine). Chaque chiffre garde sa date et sa source. */
.band { background: var(--navy); color: var(--on-navy); padding: 2.4rem 0; }
.band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.band-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .45rem; padding: 0 1.8rem; }
.band-item + .band-item { border-left: 1px solid rgba(255, 255, 255, .22); }
.band-item .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1; letter-spacing: -0.03em; }
.band-item .l { font-size: .92rem; line-height: 1.45; color: var(--on-navy-soft); max-width: 30ch; }
.band .stamp { border-color: rgba(255, 255, 255, .45); color: #fff; margin-top: .2rem; }
.stamp { align-self: center; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; border: 1.5px solid var(--navy); color: var(--navy); padding: .2rem .55rem; border-radius: 4px; transform: rotate(-2deg); }
.carte .stamp { align-self: flex-start; }

/* Bande de logos */
.logos-row { padding: 2rem 0; border-bottom: 1px solid var(--line); background: #F8F7F3; }
.logos-line { display: flex; align-items: center; gap: 2.5rem; }
.kicker { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin: 0; max-width: 16rem; line-height: 1.5; flex-shrink: 0; }
/* Logos sur une seule ligne : ils rétrécissent plutôt que de passer à la ligne (retour à la ligne seulement sur téléphone). */
.logos { list-style: none; display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 1.1rem 1.5rem; flex: 1; min-width: 0; }
.logos li { flex: 0 1 auto; min-width: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); opacity: .85; }
.logos img { display: block; max-height: 70px; max-width: 100%; width: auto; height: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-line { border-top: 1px solid var(--line); }
/* Deux blocs qui se suivent ne cumulent pas leurs marges (pages composées de blocs). */
.section + .section:not(.section-line) { padding-top: 0; }
.outro { margin-top: 1.6rem; color: var(--soft); max-width: 48rem; }

/* Expertises en grille asymétrique */
.has-tag { position: relative; }
/* Étiquette décorative inclinée (maquette), en CSS pour rester nette à toutes les tailles. */
.tag-incline { position: absolute; top: .4rem; right: 24px; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; padding: .6rem 1.2rem; border-radius: 10px; transform: rotate(18deg); box-shadow: 0 12px 24px -12px rgba(192, 62, 18, .6); pointer-events: none; }
.bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 1.1rem; margin-top: 2rem; }
.bento-card { position: relative; display: flex; flex-direction: column; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.6rem 1.7rem; color: var(--ink); min-height: 200px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.bento-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(19, 48, 79, .45); }
.bento-card .num { font-size: .8rem; font-weight: 700; color: var(--soft); margin-bottom: .5rem; }
.bento-card h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; max-width: 60%; }
.bento-card p { color: var(--soft); font-size: .95rem; margin-bottom: 1.2rem; max-width: 60%; flex: 1; }
.bento-lien { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .92rem; color: var(--accent-ink); position: relative; z-index: 1; }
.rond { font-style: normal; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); font-size: 1.05rem; transition: background .2s, color .2s, transform .2s var(--ease); flex-shrink: 0; }
.bento-card:hover .rond { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateX(3px); }
.bento-illus { position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); width: 30%; max-width: 130px; height: auto; }
.bento-main { grid-row: span 2; background: var(--navy); border-color: var(--navy); color: var(--on-navy); padding: 2rem; }
.bento-main .num { color: var(--on-navy-soft); }
.bento-main h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); max-width: none; margin-bottom: .8rem; }
.bento-main p { color: var(--on-navy-soft); font-size: 1.05rem; max-width: 26rem; flex: 0; }
.bento-main .bento-lien { color: #fff; margin-top: auto; }
.bento-main .rond { width: 52px; height: 52px; background: #fff; border-color: #fff; color: var(--navy); }
.bento-main .bento-illus { top: auto; bottom: 1.8rem; right: 1.8rem; transform: none; width: 52%; max-width: 250px; }

/* Méthode : titre à gauche, étapes numérotées à droite */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split .display { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.steps { list-style: none; }
.steps li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line-strong); }
.steps li:first-child { padding-top: .2rem; }
.step-n { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--accent); letter-spacing: -0.03em; }
.step-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.steps h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.steps p:last-child { color: var(--soft); font-size: .95rem; margin: 0; }

/* Humains aux commandes (usage de l'IA) */
.humains-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: center; }
.humains .display { font-size: clamp(2.3rem, 5.2vw, 4rem); max-width: 16ch; }
.humains-top img { width: 100%; max-width: 440px; margin-left: auto; display: block; }
.piliers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.5rem; }
.piliers > div { padding: 0 2rem; }
.piliers > div:first-child { padding-left: 0; }
.piliers > div + div { border-left: 1px solid var(--line-strong); }
.piliers h3 { font-size: 1.15rem; padding-bottom: .6rem; margin-bottom: .8rem; position: relative; }
.piliers h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }
.piliers p { color: var(--soft); font-size: .95rem; margin: 0; }
.humain-closing { margin-top: 2.5rem; padding: 1.3rem 1.5rem; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; max-width: 60rem; }

/* Missions (approches) */
.approches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2rem; }
.approche { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.approche img { display: block; width: 100%; aspect-ratio: 20 / 9; object-fit: cover; }
.approche > div { padding: 1.3rem 1.4rem 1.5rem; }
.approche h3 { font-size: 1.1rem; }
.approche p { color: var(--soft); font-size: .93rem; margin: 0; }

/* Appel à l'action de bas de page (trois portes) */
.section-cta { padding-top: clamp(1rem, 3vw, 2rem); }
.cta-band { background: var(--navy); color: var(--on-navy); border-radius: calc(var(--radius) + 6px); padding: clamp(1.8rem, 4vw, 2.8rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; align-items: center; transform: rotate(-1.5deg); box-shadow: 0 30px 60px -30px rgba(14, 39, 64, .6); }
.cta-band > * { transform: rotate(1.5deg); } /* bandeau incliné comme la maquette, contenu droit */
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.cta-portes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.porte { display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: var(--on-navy-soft); font-size: .88rem; line-height: 1.45; transition: background .2s, border-color .2s; }
.porte strong { color: #fff; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.01em; }
.porte:hover { text-decoration: none; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.porte:first-child { background: var(--accent); border-color: var(--accent); color: #FFE9DF; }
.porte:first-child:hover { background: var(--accent-hover); }
.porte-lien { margin-top: auto; padding-top: .4rem; font-weight: 700; color: #fff; }
.cta-outro { margin: 2.4rem auto 0; max-width: 52rem; text-align: center; font-size: .92rem; color: var(--muted); }

/* Contenu long (pages et articles) */
.prose h2 { margin-top: 2.4rem; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; background: var(--surface-2); border-radius: var(--radius-sm); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; color: var(--soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; background: #F0EADF; }
.prose > p:first-of-type { font-size: 1.1rem; }
.table-wrap { overflow-x: auto; }
blockquote { border-left: 3px solid var(--accent); padding: .3rem 1rem; color: var(--soft); margin: 1.2rem 0; }
code { font-size: .9em; background: #EDE6D9; padding: .1em .35em; border-radius: 4px; }

/* Filets (listes titre + texte) */
.filets > div { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 2rem; padding: 1.3rem 0; border-top: 1px solid var(--line-strong); }
.filets > div:last-child { border-bottom: 1px solid var(--line-strong); }
.filets b { font-weight: 700; font-family: var(--font-display); font-size: 1.08rem; letter-spacing: -0.01em; }
.filets b a { color: var(--ink); }
.filets b a:hover { color: var(--accent-ink); }
.filets p { margin: 0; color: var(--soft); }

/* Cartes */
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.carte { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; transition: transform .25s var(--ease), box-shadow .25s; }
a.carte:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(19, 48, 79, .45); }
.carte h3 { margin: 0; }
.carte h3 a { color: var(--ink); }
.carte p { color: var(--soft); margin: 0; flex: 1; }
.carte a.lien { font-weight: 700; }
.carte a.lien::after { content: " →"; }
.encadre { background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; margin: 1.5rem 0; }
.encadre p:last-child { margin-bottom: 0; }

/* FAQ */
.faq details { border-top: 1px solid var(--line-strong); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { font-weight: 700; cursor: pointer; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .7rem 0 0; color: var(--soft); }

/* Formulaires */
form.f { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
form.f label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
form.f input, form.f select, form.f textarea { font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; }
form.f input:focus, form.f select:focus, form.f textarea:focus { border-color: var(--navy); outline: 3px solid rgba(23, 59, 94, .18); }
form.f fieldset { border: 0; display: grid; gap: .4rem; }
form.f legend { font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
form.f .cases label { display: flex; gap: .5rem; align-items: center; font-weight: 400; }
form.f .cases input { width: auto; accent-color: var(--accent); }
form.f .etat { font-size: .95rem; margin: 0; }
form.f .etat[data-etat="erreur"] { color: var(--accent-ink); }
form.f .etat[data-etat="ok"] { color: var(--navy); font-weight: 700; }
.optionnel { font-weight: 400; color: var(--muted); }

/* Photos, équipe */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.photo-hero { aspect-ratio: 16/7; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.equipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin: 1.5rem 0; }
.equipe figure { display: flex; flex-direction: column; }
.equipe .portrait { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius); background: repeating-linear-gradient(135deg, #EFE8DC 0 10px, #E6DECF 10px 20px); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .8rem; text-align: center; padding: .5rem; }
img.portrait { padding: 0; }
.equipe figcaption { margin-top: .7rem; font-weight: 700; color: var(--ink); font-size: 1rem; font-family: var(--font-display); }
.equipe-linkedin { display: inline-flex; align-items: center; gap: .4rem; margin-top: .55rem; font-family: var(--font-body); font-size: .84rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.equipe-linkedin svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.equipe-linkedin:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.equipe figcaption span { display: block; font-weight: 400; color: var(--soft); font-size: .86rem; line-height: 1.45; margin-top: .25rem; font-family: var(--font-body); }

/* Blog : faits datés */
.faits { margin-top: 3rem; background: var(--surface-2); border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius-sm); padding: 1.6rem 1.7rem; }
.faits h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.faits > p { font-size: .92rem; margin-bottom: 1rem; }
.faits table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.faits th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .35rem .7rem .35rem 0; border-bottom: 1px solid var(--line); }
.faits td { padding: .6rem .7rem .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.faits tr:last-child td { border-bottom: 0; }
.faits td.nom { font-weight: 600; }

/* Pied de page */
footer { margin-top: 1.5rem; padding: 2rem 0 2.2rem; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; }
.foot .logo { font-size: 1.2rem; }
.foot .logo img { height: 52px; }
.foot-links { display: flex; gap: .6rem 1.6rem; flex-wrap: wrap; margin-left: auto; }
.foot-links a { color: var(--ink); font-weight: 500; }
.foot-copy { padding-left: 1.6rem; border-left: 1px solid var(--line-strong); color: var(--ink); }
.foot-org { margin-top: 1.2rem; font-size: .8rem; }

@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 1rem 24px 1.4rem; gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .hero-grid, .split, .humains-top, .cta-band { grid-template-columns: 1fr; }
  .hero-illus img { max-width: 420px; margin: 0 auto; }
  .humains-top img { max-width: 320px; margin: 0; }
  .band-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .band-item + .band-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 1.6rem; }
  .logos-line { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .logos { justify-content: flex-start; width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .bento-main { grid-row: auto; min-height: 340px; }
  .piliers, .approches, .cartes, .cta-portes { grid-template-columns: 1fr; }
  .piliers { gap: 1.6rem; }
  .piliers > div { padding: 0; }
  .piliers > div + div { border-left: 0; }
  .equipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filets > div { grid-template-columns: 1fr; gap: .4rem; }
  .cta-band { transform: none; }
  .cta-band > * { transform: none; }
  .foot-links { margin-left: 0; }
  .foot-copy { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-cta { display: none; }
  .tag-incline { display: none; }
  .logo img { height: 50px; }
  .nav-links .nav-mobile-cta { display: inline-flex; align-self: flex-start; background: var(--accent); color: #fff; font-weight: 700; padding: .7rem 1.3rem; border-radius: 999px; }
  .bento-card h3, .bento-card p { max-width: 100%; }
  .bento-card .bento-illus:not(.bento-main .bento-illus) { display: none; }
  .steps li { grid-template-columns: 3rem minmax(0, 1fr); }
  .step-n { font-size: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-illus img { animation: none; }
  html { scroll-behavior: auto; }
  .bento-card, .carte, .btn { transition: none; }
}

/* ===== Pages internes (gabarit du 29/09/2026) ===== */

/* Fil d'Ariane */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.6rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Hero en deux colonnes avec visuel */
.page-hero { padding-top: clamp(1.4rem, 3vw, 2.2rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 2.5rem; align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); max-width: 14em; }
.page-hero .lead { color: var(--ink); font-weight: 500; }
.page-hero.compact h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.page-hero .hero-illus img { animation: none; }

/* Bandeau de points (bloc « band ») */
.band-points { padding: 1.9rem 0; }
.band-points + .section { padding-top: clamp(3rem, 7vw, 5.5rem); }
.band-points .point { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0 1.5rem; }
.band-points .point + .point { border-left: 1px solid rgba(255, 255, 255, .22); }
.band-points svg { width: 40px; height: 40px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.band-points span { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; letter-spacing: -0.01em; max-width: 12ch; }

/* Texte en deux colonnes : grand titre à gauche, texte à droite, filet vertical entre les deux */
.split-prose { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split-prose > div:first-child h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.split-prose .prose { border-left: 1px solid var(--line-strong); padding-left: clamp(1.5rem, 3vw, 2.5rem); color: var(--soft); }
.split-prose .prose > p:first-of-type { font-size: 1.05rem; }

/* Cartes numérotées (bloc « cards ») */
.cards-bento { display: grid; gap: 1.1rem; margin-top: 1.8rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-bento.cards-n2, .cards-bento.cards-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-bento .bento-card { min-height: 260px; padding-bottom: 5.5rem; }
.cards-bento .bento-card h3 { max-width: none; }
.cards-bento .bento-main { grid-row: auto; }
.cards-bento .bento-main h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.bento-body { color: var(--soft); font-size: .95rem; margin-bottom: 1.2rem; position: relative; z-index: 1; }
.bento-body p { margin-bottom: .6rem; }
.bento-main .bento-body { color: var(--on-navy-soft); }
.bento-main .bento-body a { color: #fff; }
.cards-bento .bento-illus { top: auto; bottom: 1.4rem; right: 1.4rem; transform: none; width: 84px; opacity: .95; }
.cards-bento .bento-main .bento-illus { width: 130px; }
.cards-bento .bento-lien { position: absolute; left: 1.7rem; bottom: 1.6rem; }
.cards-bento .bento-main .bento-lien { left: 2rem; }
.cards-plain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.8rem; }
.cards-plain .bento-card { min-height: 0; }

/* Étapes numérotées dans les pages */
.step-body { color: var(--soft); font-size: .95rem; }
.step-body p:last-child { margin: 0; }
.steps-tail { margin-top: 1.4rem; }

/* Panneau marine (listes à coches, encadrés mis en avant) */
.panel { background: var(--navy); color: var(--on-navy); border-radius: calc(var(--radius) + 6px); padding: clamp(1.8rem, 4.5vw, 3.2rem); }
.panel .eyebrow { color: #FF9A6E; }
.panel h2, .panel h3 { color: #fff; }
.panel h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1.6rem; max-width: 22ch; }
.panel a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.panel-text .prose { color: var(--on-navy-soft); max-width: 50rem; }
.panel-text .prose strong, .panel-text .prose b { color: #fff; }
.checks { list-style: none; display: grid; gap: 1.3rem 2.5rem; }
.checks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .9rem; color: var(--on-navy-soft); font-size: .95rem; }
.checks strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .2rem; }
.checks li p:last-child { margin: 0; }
.check { width: 26px; height: 26px; fill: var(--accent); margin-top: .1rem; }
.liste-coches { list-style: none; padding-left: 0 !important; }
.liste-coches li { position: relative; padding-left: 1.9rem; }
.liste-coches li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* FAQ en cartes */
.faq { margin-top: 1.6rem; display: grid; gap: .7rem; }
.faq details, .faq details:last-child { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-2); padding: 1.05rem 1.4rem; }
.faq details[open] { background: #fff; }
.faq summary::after { content: "+"; }
.faq details[open] summary::after { content: "−"; transform: none; }

/* Tableaux en carte */
.table-carte { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 1.6rem; font-size: .93rem; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.table-carte th { text-align: left; background: var(--navy); color: #fff; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: .9rem 1rem; font-weight: 700; }
.table-carte td { padding: .9rem 1rem; border-top: 1px solid var(--line); vertical-align: top; color: var(--soft); }
.table-carte td:first-child { color: var(--ink); }
.table-carte tbody tr:nth-child(even) td { background: #F6F1E8; }

@media (max-width: 960px) {
  .page-hero-grid, .split-prose, .cards-bento, .cards-bento.cards-n2, .cards-bento.cards-n4, .cards-plain, .checks-2 { grid-template-columns: 1fr; }
  .page-hero .hero-illus img { max-width: 340px; margin: 0 auto; }
  .split-prose .prose { border-left: 0; padding-left: 0; }
  .band-points .point { justify-content: flex-start; padding: 0; }
  .band-points .point + .point { border-left: 0; }
  .band-points .band-grid { gap: 1.1rem; }
}
.band-points .band-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
/* Outils interactifs (test robots IA, calculette) : carte blanche dans la colonne de lecture */
.outil { max-width: 46rem; }
.outil form.f { box-shadow: 0 24px 50px -30px rgba(19, 48, 79, .35); }
.section + .section-tool { padding-top: 0; }
/* Portraits réels : fond uni (les illustrations ont un fond transparent), sans la marge du cadre d'attente. */
.equipe img.portrait { padding: 0; background: #EAE1D2; }
/* Numéro sur la ligne du titre, plus discret que le titre lui-même. */
.cards-bento h3 .num { display: inline; font-family: var(--font-display); font-size: .62em; font-weight: 700; letter-spacing: 0; margin: 0 .25em 0 0; vertical-align: .18em; color: var(--accent-ink); }
.cards-bento .bento-main h3 .num { color: #FF9A6E; }
/* Étiquette inclinée (bloc ou hero), texte court repris du contenu de la page */
.tag-tilt { margin: .4rem 0 1.6rem .6rem; }
.tag-tilt span { display: inline-block; max-width: 15ch; text-align: center; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.15; letter-spacing: -0.01em; padding: .75rem 1.3rem; border-radius: 12px; transform: rotate(12deg); box-shadow: 0 14px 28px -14px rgba(192, 62, 18, .7); }
.split .tag-tilt, .split-prose .tag-tilt { margin-top: 1.4rem; }
.panel .tag-tilt span { box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .5); }
.hero-illus { position: relative; }
.hero-illus .tag-tilt { position: absolute; left: 2%; top: 8%; margin: 0; }
@media (max-width: 960px) { .hero-illus .tag-tilt { left: 0; top: 0; } .tag-tilt span { font-size: 1rem; } }
/* Titre pleine largeur (cartes, tableau, FAQ) : l'étiquette se pose à droite du titre, pas dessous. */
.section > .wrap:has(> .tag-tilt) { position: relative; }
.section > .wrap > .tag-tilt { position: absolute; right: 40px; top: -.4rem; margin: 0; }
@media (max-width: 960px) { .section > .wrap > .tag-tilt { position: static; margin: .2rem 0 1.4rem .4rem; } }
.panel { position: relative; }
.panel > .tag-tilt { position: absolute; right: clamp(1.8rem, 4.5vw, 3.2rem); top: clamp(1.4rem, 3.5vw, 2.6rem); margin: 0; }
@media (max-width: 960px) { .panel > .tag-tilt { position: static; margin: -.6rem 0 1.4rem .4rem; } }
/* Encadrés pleine largeur : titre à gauche, texte à droite */
.encadre { padding: 1.6rem 1.9rem; }
.encadre-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1rem 2.5rem; align-items: start; }
.encadre-split h3 { margin: 0; font-size: 1.3rem; }
.encadre-split > div:last-child p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .encadre-split { grid-template-columns: 1fr; } }
/* Compteur d'articles des rubriques (hub Blog) : pastille orange inclinée, famille des étiquettes. */
.carte .stamp { background: var(--accent); border-color: var(--accent); color: #fff; font-size: .72rem; padding: .35rem .75rem; border-radius: 8px; transform: rotate(6deg); box-shadow: 0 10px 20px -12px rgba(192, 62, 18, .7); margin: .2rem 0 .4rem .2rem; }

/* ===== Articles (gabarit du 29/09/2026) ===== */
.article-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 18em; margin-bottom: 1rem; }
.article-hero .lead { max-width: 44rem; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.1rem; font-size: .85rem; color: var(--muted); }
.chip { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.chip:hover { background: var(--accent-hover); text-decoration: none; }
.article-byline { font-size: .9rem; font-weight: 600; color: var(--ink); margin: 1.2rem 0 0; }
.article-banner { margin-top: 2.2rem; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: radial-gradient(120% 140% at 80% 20%, #FBF7F0 0%, #EFE7DA 55%, #E6DCCB 100%); height: clamp(200px, 26vw, 320px); display: flex; align-items: center; justify-content: flex-end; padding-right: 6%; position: relative; }
.article-banner::before { content: ""; position: absolute; left: -4%; bottom: -30%; width: 55%; height: 80%; border-radius: 50%; border: 36px solid var(--accent); border-color: var(--accent) transparent transparent transparent; transform: rotate(-12deg); opacity: .9; }
.article-banner img { position: relative; height: 112%; width: auto; }
.article-banner.photo { padding: 0; }
.article-banner.photo::before { display: none; }
.article-banner.photo img { width: 100%; height: 100%; object-fit: cover; }

.article-section { padding-top: clamp(2rem, 4vw, 3rem); }
.article-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.article-aside { position: sticky; top: 96px; display: grid; gap: 1.1rem; }
.toc { background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.3rem 1.2rem; }
.toc-titre { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: .8rem; }
.toc ol { list-style: none; display: grid; gap: .15rem; }
.toc a { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .3rem; padding: .45rem .5rem .45rem .7rem; border-left: 2px solid transparent; font-size: .86rem; line-height: 1.35; color: var(--soft); border-radius: 0 6px 6px 0; }
.toc a span { color: var(--muted); font-weight: 600; }
.toc a:hover { text-decoration: none; background: #F2ECE2; color: var(--ink); }
.toc a.actif { border-left-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.toc a.actif span { color: var(--accent-ink); }
.aside-cta { background: var(--navy); color: var(--on-navy-soft); border-radius: var(--radius); padding: 1.5rem 1.3rem; font-size: .92rem; }
.aside-cta-titre { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: #fff; line-height: 1.1; margin-bottom: .6rem; }
.aside-cta .btn { margin-top: .4rem; padding: .75rem 1.2rem; font-size: .92rem; }

.article-corps { min-width: 0; }
.article-corps .prose { font-size: 1.05rem; color: var(--soft); }
.article-corps .prose > p:first-of-type { font-size: 1.12rem; color: var(--ink); }
.article-corps .prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 2.6rem 0 1rem; color: var(--ink); scroll-margin-top: 110px; }
.article-corps .prose h2:first-child { margin-top: 0; }
.h-num { color: var(--accent); margin-right: .35em; }
.article-corps .prose b { color: var(--ink); }
.liste-libelles li { margin-bottom: .9rem; }
blockquote.exemple { margin: 1.6rem 0; padding: 1.2rem 1.5rem 1.2rem 3.4rem; background: #FBF3EC; border: 1px solid #F4D7C6; border-left: 4px solid var(--accent); border-radius: var(--radius-sm); color: var(--ink); position: relative; font-style: italic; }
blockquote.exemple::before { content: "“"; position: absolute; left: .9rem; top: .1rem; font-family: var(--font-display); font-style: normal; font-weight: 800; font-size: 3.2rem; color: var(--accent); line-height: 1; }
blockquote.exemple p { margin: 0; }
.article-corps .faits { margin-top: 2.6rem; }
.encadre.lecteur { margin-top: 2rem; }
.partage { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-strong); font-weight: 700; font-size: .9rem; }
.partage-btn { font: inherit; font-weight: 600; font-size: .85rem; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; }
.partage-btn:hover { border-color: var(--ink); text-decoration: none; }
.signature { display: flex; gap: 1rem; align-items: center; margin-top: 1.4rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface-2); }
.signature-logo { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
.signature strong { font-family: var(--font-display); }
.signature p { margin: .15rem 0 0; font-size: .88rem; color: var(--muted); }

a.approche.proche { color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
a.approche.proche:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(19, 48, 79, .45); }
.approche.proche img { aspect-ratio: 20 / 9; object-fit: contain; background: #EFE8DC; padding: .6rem 0; }
.approche.proche .eyebrow { margin-bottom: .4rem; font-size: .7rem; }
.approche.proche p { margin-bottom: .8rem; }

@media (max-width: 960px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; order: 0; }
  .article-aside .aside-cta { display: none; }
  .article-banner::before { border-width: 22px; }
}
/* Bandeau d'article : décor (arches, chemin orange, sphères) à gauche, illustration de la rubrique à droite. */
.article-banner { background: #E8DECD url("/images/illus/bandeau-article.svg") left center / auto 100% no-repeat; }
.article-banner::before { display: none; }
.article-banner:not(.photo) img { height: 108%; filter: drop-shadow(0 18px 24px rgba(22, 48, 77, .12)); }
/* Visuel de l'accueil : bords estompés, étroit à droite pour ne pas entamer l'étiquette « Visibilité IA ». */
.hero-home .hero-illus img { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 88%, transparent); }

/* Mise en forme libre des articles et blocs (barre d'outils de l'admin) */
.prose img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.6rem 0; }
.prose figure { margin: 1.6rem 0; } .prose figure img { margin: 0; } .prose figcaption { text-align: center; }
.prose h3 { font-size: 1.25rem; }
.prose ol { padding-left: 1.4rem; } .prose ol li::marker { color: var(--accent); font-weight: 700; }
.prose u { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose s { color: var(--muted); }
.article-corps .prose table { font-size: .95rem; }
.article-corps .prose table th, .article-corps .prose table td { border-bottom: 1px solid var(--line); }
.article-lecteur { font-size: .88rem; color: var(--muted); margin: .25rem 0 0; }

/* Bandeau de consentement aux cookies (affiché seulement si Google Analytics est configuré) */
.cookies { position: fixed; left: 16px; bottom: 16px; z-index: 300; width: min(420px, calc(100% - 32px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: 0 24px 60px -24px rgba(14, 39, 64, .55); font-size: .9rem; line-height: 1.5; }
.cookies[hidden] { display: none; }
.cookies-titre { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-bottom: .4rem; }
.cookies p { margin-bottom: .9rem; color: var(--soft); }
.cookies-titre { color: var(--ink) !important; }
.cookies-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cookies-actions .btn { justify-content: center; padding: .65rem 1rem; font-size: .92rem; }
.lien-cookies { font: inherit; font-weight: 500; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; }
.lien-cookies:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Pages juridiques (mentions légales, CGV) : sommaire fixe + sections numérotées */
.legal { padding-top: clamp(1rem, 3vw, 2rem); }
.legal-corps { display: grid; gap: 1rem; min-width: 0; }
.legal-section { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1rem; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.5rem 1.7rem; scroll-margin-top: 100px; }
.legal-num { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--accent); letter-spacing: -0.03em; }
.legal-section h2 { font-size: 1.15rem; line-height: 1.3; letter-spacing: 0; margin: .15rem 0 .8rem; }
.legal-section .prose { color: var(--soft); font-size: .98rem; }
.legal-section .prose p:last-child { margin-bottom: 0; }
.legal-section .prose > p:first-of-type { font-size: .98rem; }
.legal-voir { font-size: .88rem; color: var(--muted); padding: 0 .3rem; }
.legal-voir a { font-weight: 600; }
.page-hero.compact .lead:empty { display: none; }
@media (max-width: 960px) {
  .legal .article-aside { position: static; }
  .legal-section { grid-template-columns: 1fr; gap: .4rem; padding: 1.2rem 1.2rem; }
  .legal-num { font-size: 1.4rem; }
}
.page-hero.compact { padding-bottom: 1.2rem; }
.page-hero.compact h1 { margin-bottom: .4rem; }

/* Formulaire Fillout intégré (bloc « fillout ») */
.fillout-cadre { max-width: 46rem; margin-top: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; }
.fillout-iframe { display: block; width: 100%; height: var(--h, 700px); border: 0; border-radius: calc(var(--radius) - 6px); background: var(--surface); }
.fillout-secours { margin: .4rem .5rem .2rem; font-size: .85rem; }
.fillout-secours a { color: var(--muted); }
@media (max-width: 700px) { .fillout-iframe { height: calc(var(--h, 700px) * 1.25); } }

/* --- Accueil : animation du bandeau de chiffres (homeScript, build.php) ---
   Le vrai nombre reste dans le texte, rendu transparent ; le défilement est dessiné par-dessus. */
.band-item .n.n-anim { position: relative; color: transparent; }
.band-item .n.n-anim::after { content: attr(data-anim); position: absolute; inset: 0; color: var(--on-navy); white-space: nowrap; text-align: center; font-variant-numeric: tabular-nums; }
.stamp.stamp-attente { opacity: 0; transform: rotate(-9deg) scale(1.6); }
.stamp.stamp-pose { animation: tampon .45s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes tampon { from { opacity: 0; transform: rotate(-9deg) scale(1.6); } to { opacity: 1; transform: rotate(-2deg) scale(1); } }

/* --- Accueil : les trois questions en étapes cliquables --- */
.etapes-aide { font-size: .85rem; color: var(--muted); margin: 0 0 .7rem; display: flex; align-items: center; gap: .45rem; }
.etapes-aide::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(242, 97, 46, .18); }
.etapes-choix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1.2rem; }
.etapes-choix button { font: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; padding: .9rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.etapes-choix button:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 26px -20px rgba(19, 48, 79, .6); }
.etapes-choix button:focus-visible { outline: 3px solid rgba(242, 97, 46, .35); outline-offset: 2px; }
.etapes-choix button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.etape-n { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--accent); letter-spacing: -0.03em; }
.etapes-choix button[aria-selected="true"] .etape-n { color: #FF9A6E; }
.etape-q { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.etape-fleche { font-size: .8rem; font-weight: 700; color: var(--accent-ink); transition: transform .2s; }
.etapes-choix button:hover .etape-fleche { transform: translateX(3px); }
.etapes-choix button[aria-selected="true"] .etape-fleche { color: #FF9A6E; }
.etapes-actives li { border-bottom: 0; padding: 1.3rem 1.4rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); grid-template-columns: 1fr; }
.etapes-actives li .step-n { display: none; }
.panneau-cache { display: none !important; }

/* --- Accueil : sélecteur « Vous êtes… » --- */
.section-profils .display { margin-bottom: .6rem; }
.profils { margin-top: 1.8rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.profils-choix { display: none; }
.onglets-actifs .profils-choix { display: grid; gap: .5rem; }
.profils-choix button { font: inherit; text-align: left; cursor: pointer; padding: .8rem 1rem .8rem 2.6rem; position: relative; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 600; line-height: 1.3; transition: border-color .2s, background .2s; }
.profils-choix button::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; }
.profils-choix button:hover { border-color: var(--accent); }
.profils-choix button:focus-visible { outline: 3px solid rgba(242, 97, 46, .35); outline-offset: 2px; }
.profils-choix button[aria-selected="true"] { border-color: var(--accent); background: #FBF3EC; }
.profils-choix button[aria-selected="true"]::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #fff; }
.profils-panneaux { display: grid; gap: 1rem; }
.onglets-actifs .profils-panneaux { position: sticky; top: 6rem; }
.profil-panneau { background: var(--navy); color: var(--on-navy-soft); border-radius: calc(var(--radius) + 4px); padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.onglets-actifs .profil-panneau { animation: up .35s var(--ease) both; }
.profil-lecteur { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FF9A6E; margin: 0 0 .6rem; }
.profil-question { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.2; color: #fff; margin: 0 0 1rem; letter-spacing: -0.01em; }
.profil-panneau .lien-fleche { color: #fff; }
/* Sans JavaScript : les panneaux s'affichent tous, en liste. */
.profils:not(.onglets-actifs) { grid-template-columns: 1fr; }

/* --- Accueil : test des robots IA dans un bandeau marine incliné (sens inverse du bandeau de bas de page) --- */
.robots-band { background: var(--navy); color: var(--on-navy-soft); border-radius: calc(var(--radius) + 6px); padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; transform: rotate(1.2deg); box-shadow: 0 30px 60px -30px rgba(14, 39, 64, .6); }
.robots-band > * { transform: rotate(-1.2deg); }
.robots-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 .8rem; }
.robots-band p { margin: 0 0 1rem; }
.robots-suite .lien-fleche { color: #fff; }
.robots-outil form.f { max-width: none; color: var(--ink); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .5); }
.robots-outil form.f .etat { color: var(--soft); font-size: .88rem; }
.robots-outil form.f .etat[data-etat="erreur"] { color: var(--accent-ink); }
.robots-outil form.f .etat[data-etat="ok"] { color: var(--navy); }
.robots-outil table { font-size: .9rem; }

@media (max-width: 900px) {
  .etapes-choix { grid-template-columns: 1fr; }
  .profils { grid-template-columns: 1fr; }
  .onglets-actifs .profils-panneaux { position: static; }
  .robots-band { grid-template-columns: 1fr; transform: none; }
  .robots-band > * { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .onglets-actifs .profil-panneau, .stamp.stamp-pose { animation: none; }
  .etapes-choix button, .etapes-choix button:hover { transition: none; transform: none; }
}


/* --- Accueil : visuel du hero à deux images en fondu (heroImage, homeScript) ---
   Cadre aux proportions de la plus haute image (--r) : rien ne bouge dans la page au changement.
   L'image 2 se superpose à l'image 1 (qui reste dessous) : le fondu ne creuse jamais la page,
   l'image 1 n'est masquée qu'une fois l'image 2 entièrement affichée, et revient d'un coup au retour. */
.hero-visuel { position: relative; width: 100%; max-width: min(560px, var(--w, 560px)); margin-left: auto; aspect-ratio: var(--r, 4 / 3); animation: flotte 7s ease-in-out infinite alternate; }
/* Chaque image garde ses propres proportions (centrée dans le cadre) : le fondu des bords (mask) tombe sur l'image elle-même, pas sur une marge vide. */
.hero-illus .hv { position: absolute; left: 0; top: 50%; width: 100%; height: auto; max-width: none; margin: 0; transform: translateY(-50%); animation: none; }
.hero-illus .hv-1 { z-index: 1; }
.hero-illus .hv-2 { z-index: 2; opacity: 0; transition: opacity 1.2s ease-in-out; }
.hero-visuel.vu-2 .hv-2 { opacity: 1; }
.hero-illus .hero-visuel.vu-2 .hv-1 { opacity: 0; transition: opacity 0s linear 1.3s; }
@media (max-width: 960px) { .hero-visuel { max-width: min(420px, var(--w, 420px)); margin: 0 auto; } }
/* Animations réduites : plus de flottement, mais le fondu (simple changement d'opacité, sans mouvement) reste. */
@media (prefers-reduced-motion: reduce) { .hero-visuel { animation: none; } }

/* Titre d'encadré porté en H2 (ou en paragraphe) pour garder l'ordre des titres, avec l'apparence d'un H3. */
.encadre-titre { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.04; color: var(--ink); text-wrap: balance; margin: 0 0 .45rem; }
.encadre-split .encadre-titre { margin: 0; font-size: 1.3rem; }
h2.eyebrow { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 .9rem; text-wrap: wrap; }
@media (max-width: 600px) { .logos { flex-wrap: wrap; gap: 1rem 1.4rem; } .logos img { max-height: 44px; } }

/* Frise d'étapes (bloc « etapes », page Méthode) : pastilles marine reliées par un filet, deux colonnes par étape. */
.etapes { list-style: none; margin: 2.2rem 0 0; padding: 0; }
.etape { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 1.6rem; }
.etape::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line-strong); }
.etape:last-child::before { display: none; }
.etape-num { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--on-navy); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.etape-corps { padding: .55rem 0 2.2rem; border-bottom: 1px solid var(--line); margin-bottom: 2.2rem; }
.etape:last-child .etape-corps { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.etape h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; font-size: clamp(1.35rem, 2.3vw, 1.75rem); margin: 0 0 1.1rem; }
.etape-badge { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2; color: var(--accent-ink); background: #FCE9E0; border-radius: 999px; padding: .38rem .85rem; }
.etape-cols { display: grid; grid-template-columns: 1.65fr 1fr; gap: 1.2rem 2.4rem; }
.etape-contrib { border-left: 1px solid var(--line-strong); padding-left: 2rem; }
.etape-label { display: flex; align-items: center; gap: .5rem; margin: 0 0 .45rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.etape-contrib .etape-label { color: var(--accent-ink); }
.etape-label svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.etape-col p:not(.etape-label) { margin: 0; color: var(--soft); }
.etape-col p:not(.etape-label) + p { margin-top: .6rem; }
.etape-contrib p:not(.etape-label) { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) {
  .etape { grid-template-columns: 40px 1fr; gap: 0 1rem; }
  .etape::before { left: 19px; top: 40px; }
  .etape-num { width: 40px; height: 40px; font-size: .95rem; }
  .etape-corps { padding-top: .3rem; padding-bottom: 1.6rem; margin-bottom: 1.6rem; }
  .etape-cols { grid-template-columns: 1fr; }
  .etape-contrib { border-left: 0; padding-left: 0; padding-top: 1rem; border-top: 1px dashed var(--line-strong); }
}

/* Onglets « Vous êtes… » : lien secondaire vers la rubrique du blog, sous le lien vers la page de service. */
.profil-blog { display: block; margin-top: .6rem; font-size: .9rem; color: var(--on-navy-soft); text-decoration: underline; text-underline-offset: 3px; }
.profil-blog:hover { color: var(--on-navy); }
/* Logos clients cliquables : même rendu que le logo seul. */
.logos li a { display: block; }
.logos li a:hover img, .logos li a:focus-visible img { filter: grayscale(0); opacity: 1; }
