/* Site nicolasfermini.fr, reconstruit depuis la page Framer (octobre 2026).
   Les couleurs et styles de texte reprennent les styles du projet Framer. */
:root {
  --fond: rgb(244, 243, 239);
  --encre: rgb(20, 20, 20);
  --gris: rgb(95, 95, 91);
  --sombre: rgb(17, 19, 18);
  --hero: rgb(30, 36, 34);
  --clair-2: rgba(244, 243, 239, 0.72);
  --filet: rgba(20, 20, 20, 0.15);
  --filet-clair: rgba(244, 243, 239, 0.22);
  --carte: rgb(255, 255, 255);
  --cadre: rgb(233, 232, 226);
  --photo: rgb(214, 213, 207);
  --champ: rgba(244, 243, 239, 0.07);
  --vert: rgb(46, 86, 72);
  --menthe: rgb(150, 214, 182);
  --menthe-voile: rgba(150, 214, 182, 0.14);
  --vert-voile: rgba(46, 86, 72, 0.10);
  --ombre: 0 1px 2px rgba(20, 20, 20, 0.04), 0 8px 24px rgba(20, 20, 20, 0.06);
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --section: 104px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[id] { scroll-margin-top: 80px; }

/* Typographie (styles Framer) */
.h1 { font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
.h2-petit { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.h3 { font-family: var(--sans); font-weight: 500; font-size: 20px; line-height: 1.3; }
.h3-serif { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
.chiffre { font-family: var(--serif); font-size: 40px; line-height: 1.05; letter-spacing: -0.01em; }
.chiffre-petit { font-family: var(--serif); font-size: 32px; line-height: 1.05; letter-spacing: -0.02em; }
.corps { font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.gris { color: var(--gris); }
.petit { font-size: 14px; line-height: 1.45; text-wrap: pretty; }
.citation { font-family: var(--serif); font-size: 19px; line-height: 1.45; text-wrap: balance; }
.insecable { white-space: nowrap; }
.lien { font-weight: 500; font-size: 15px; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.lien:hover { opacity: .65; }
.clair { color: var(--fond); }
.clair-2 { color: var(--clair-2); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 4px; border: 0; font: 500 15px/1.2 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: opacity .15s; }
.btn:hover { opacity: .9; }
.btn-accent { background: var(--menthe); color: var(--sombre); gap: 10px; }
.btn-accent:hover { opacity: 1; background: rgb(172, 226, 198); }
.btn .fleche { display: inline-block; transition: transform .2s ease; }
.btn:hover .fleche { transform: translateX(4px); }
.btn-clair { background: var(--fond); color: var(--encre); }
.btn-sombre { background: var(--encre); color: var(--fond); }
.btn-voile { background: rgba(244, 243, 239, 0.14); color: var(--fond); }
.btn-petit { height: 42px; padding: 0 18px; }

/* Mise en page */
.section { padding: 0 24px var(--section); }
.section-pleine { padding: var(--section) 24px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.filet { height: 1px; background: var(--filet); border: 0; margin: 0; }
.filet-clair { height: 1px; background: var(--filet-clair); border: 0; margin: 0; }
.sombre { background: var(--sombre); color: var(--fond); }
.deux-col { display: flex; flex-wrap: wrap; gap: 20px 64px; align-items: flex-start; }
.deux-col > * { flex: 1 1 300px; min-width: 0; }
.stack { display: flex; flex-direction: column; align-items: flex-start; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 10; background: rgba(244, 243, 239, 0.92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .2s ease; }
.header.defile { box-shadow: 0 1px 0 var(--filet), 0 6px 20px rgba(20, 20, 20, 0.05); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: calc(var(--max) + 48px); margin: 0 auto; padding: 16px 24px; }
.header a { text-decoration: none; }
.header-nom { font-family: var(--serif); font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; }
.header-nav { display: flex; align-items: center; gap: 24px; }
.header-lien { font-weight: 500; font-size: 14px; line-height: 1.4; white-space: nowrap; }
.header-lien:hover { opacity: .65; }
.header-cta { height: 40px; padding: 0 16px; }
.burger { display: none; width: 40px; height: 40px; margin-right: -8px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; padding: 0; color: var(--encre); }
.burger .ico-fermer { display: none; }
.burger[aria-expanded="true"] .ico-ouvrir { display: none; }
.burger[aria-expanded="true"] .ico-fermer { display: block; }
.panneau { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: 8px 24px 28px; background: var(--fond); border-bottom: 1px solid var(--filet); }
.panneau .header-lien { font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.panneau .btn { margin-top: 24px; width: 100%; }

/* Héros */
.hero { position: relative; overflow: hidden; color: var(--fond); padding: 112px 24px 104px; background:
    radial-gradient(60% 70% at 85% 30%, rgba(150, 214, 182, 0.16), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, rgba(46, 86, 72, 0.55), transparent 70%),
    var(--hero); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(244, 243, 239, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 243, 239, 0.05) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(80% 80% at 70% 40%, #000, transparent); mask-image: radial-gradient(80% 80% at 70% 40%, #000, transparent); }
.hero .wrap { position: relative; width: 100%; }
.hero-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-contenu { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-contenu .corps { max-width: 520px; }
.hero .h1 em { font-style: italic; color: var(--menthe); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* Logos */
.logos { padding: 32px 0; display: flex; flex-direction: column; gap: 20px; }
.logos-ligne { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 0; padding: 0; list-style: none; }
.logos-ligne li { display: flex; align-items: center; justify-content: center; flex: 0 1 auto; min-width: 0; --s: 1; }
.logos-ligne img { height: calc(var(--h) * var(--s)); width: auto; max-width: 100%; object-fit: contain; }

/* Blocs visuels en attente de capture */
.cadre { background: var(--cadre); border-radius: 6px; padding: 24px; }
.carte-vide { background: var(--carte); border-radius: 6px; padding: 24px; display: flex; align-items: center; justify-content: center; text-align: center; }

/* Trois domaines */
.trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.trois > div { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 699px) {
  .trois { grid-template-columns: 1fr; }
  .trois .illu { max-width: 440px; }
}
@media (max-width: 809px) and (min-width: 700px) {
  .trois { column-gap: 20px; }
  .trois .illu { padding: 12px; }
}

/* FAQ */
.faq { border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 20px/1.3 var(--sans); }
.faq details[open] summary { padding-bottom: 12px; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding-bottom: 22px; }

/* À propos */
.apropos { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; width: 100%; }
.portrait { width: 220px; height: 275px; object-fit: cover; background: var(--photo); border-radius: 4px; flex: 0 0 auto; }
.apropos-texte { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.apropos-texte .corps { max-width: 720px; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.contact-intro { flex: 5 1 300px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.formulaire { flex: 7 1 300px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.champs { display: flex; flex-wrap: wrap; gap: 18px; width: 100%; }
.champ { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.champs > .champ { flex: 1 1 200px; }
.champ label { font-size: 14px; line-height: 1.45; color: var(--clair-2); }
.champ input, .champ select, .champ textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid transparent; border-radius: 4px; background: var(--champ); color: var(--fond); font: 14px/1.45 var(--sans); transition: border-color .15s, box-shadow .15s; }
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--clair-2) 50%), linear-gradient(135deg, var(--clair-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.champ select option { color: var(--encre); }
.champ textarea { height: 128px; padding: 12px 14px; resize: vertical; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--filet-clair); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--menthe); box-shadow: 0 0 0 3px rgba(150, 214, 182, .25); }

/* Pied de page */
.pied { background: var(--sombre); color: var(--fond); border-top: 1px solid var(--filet-clair); padding: 72px 24px 32px; }
.pied .wrap { display: flex; flex-direction: column; gap: 40px; }
.pied-haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; }
.pied-haut .h2 { flex: 1 1 280px; max-width: 640px; }
.pied-milieu { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 24px; }
.pied-colonnes { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.pied-colonnes > div, .pied-identite { display: flex; flex-direction: column; gap: 12px; }
.pied-identite { gap: 6px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--fond); }
.pied-titre { font-weight: 500; font-size: 15px; line-height: 1.2; text-wrap: balance; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--filet-clair); }

/* Tablette : moins de 810 px (breakpoint Framer) */
@media (max-width: 809px) {
  :root { --section: 80px; }
  .header-nav, .header-bar > .header-cta { display: none; }
  .burger { display: inline-flex; }
  .panneau.ouvert { display: flex; }
  .header.menu-ouvert { background: var(--fond); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .panneau { box-shadow: 0 24px 40px -16px rgba(20, 20, 20, .18); max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .panneau > * { flex-shrink: 0; }
  .h1 { font-size: 44px; }
  .h2 { font-size: 34px; }
  .logos-ligne { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; }
  .logos-ligne li { grid-column: span 2; --s: .9; }
  .logos-ligne li:nth-child(4) { grid-column: 2 / span 2; }
  .logos-ligne li:nth-child(5) { grid-column: 4 / span 2; }
}

@media (max-width: 809px) and (max-height: 480px) {
  .panneau .header-lien { padding: 10px 0; font-size: 18px; }
  .panneau .btn { margin-top: 16px; }
}
/* Formulaire : 16 px sur mobile pour éviter le zoom automatique d'iOS */
@media (max-width: 809px), (hover: none) and (pointer: coarse) {
  .champ input, .champ select, .champ textarea { font-size: 16px; }
}

/* Mobile : moins de 480 px */
@media (max-width: 479px) {
  :root { --section: 64px; }
  .hero { min-height: 560px; }
  .h1 { font-size: 38px; }
  .h2 { font-size: 30px; }
  .h2-petit { font-size: 28px; }
  .chiffre { font-size: 34px; }
  .logos-ligne { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .logos-ligne li, .logos-ligne li:nth-child(4) { grid-column: span 1; --s: .8; }
  .logos-ligne li:nth-child(5) { grid-column: 1 / -1; }
  .portrait { width: 176px; height: 220px; }
}

/* Champ piège anti-robots du formulaire */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Refonte octobre 2026 ---- */

/* Apparition au défilement (ajoutée en JS, page lisible sans) */
.anim { transition: opacity .7s ease, transform .7s ease; }
.anim.cache { opacity: 0; transform: translateY(18px); }
.anim.vu { opacity: 1; transform: none; }

/* Tableau de bord illustré */
.tableau { width: 100%; margin: 0; background: var(--carte); border-radius: 10px; box-shadow: var(--ombre); overflow: hidden; }
.tableau-barre { display: flex; align-items: center; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--filet); }
.tableau-barre span { width: 9px; height: 9px; border-radius: 50%; background: var(--photo); }
.tableau-barre p { margin-left: 10px; font-weight: 500; }
.tableau-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 20px; }
.kpi { border: 1px solid var(--filet); border-radius: 8px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.kpi-val { margin-top: auto; font-family: var(--serif); font-size: 34px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-var { font-size: 13px; font-weight: 500; color: var(--vert); }
.tableau-courbe { grid-column: span 2; border: 1px solid var(--filet); border-radius: 8px; padding: 16px; height: 200px; position: relative; }
.tableau-courbe svg { width: 100%; height: 100%; display: block; }
.grille-l { stroke: var(--filet); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.aire { fill: var(--vert-voile); }
.trace { fill: none; stroke: var(--vert); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 2; stroke-dashoffset: 2; animation: trace 2.2s ease-out .3s forwards; }
/* Point final : centre sur le bord droit du tracé, à 34/180 de sa hauteur */
.tableau-point { position: absolute; right: 11px; top: calc(16px + (100% - 32px) * 34 / 180 - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--vert); animation: pulse 2s ease-in-out 2.4s infinite; }
.tableau-barres { border: 1px solid var(--filet); border-radius: 8px; padding: 16px; height: 200px; display: flex; align-items: flex-end; gap: 8px; }
.tableau-barres i { flex: 1; height: calc(var(--v) * 100%); background: var(--hero); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: monte 1s ease-out both; }
.tableau-barres i:nth-child(2) { animation-delay: .1s; } .tableau-barres i:nth-child(3) { animation-delay: .2s; }
.tableau-barres i:nth-child(4) { animation-delay: .3s; } .tableau-barres i:nth-child(5) { animation-delay: .4s; }
.tableau-barres i:nth-child(6) { animation-delay: .5s; background: var(--vert); }
.tableau figcaption { padding: 0 20px 16px; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes monte { from { transform: scaleY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }

/* Signaux « Vous reconnaissez-vous ? » */
.signaux { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.signal { background: var(--carte); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--ombre); transition: opacity .7s ease, transform .3s ease, box-shadow .25s ease; }
.signal:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(20,20,20,.05), 0 14px 32px rgba(20,20,20,.09); }
.signal-ico { width: 44px; height: 44px; margin-bottom: 8px; padding: 9px; border-radius: 10px; background: var(--vert-voile); fill: none; stroke: var(--vert); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; box-sizing: content-box; }
.signal-ico .tiret { stroke-dasharray: 3 4; }
.signal .h3 { text-wrap: balance; }

/* Illustrations des trois domaines */
.illu { background: var(--cadre); border-radius: 10px; padding: 20px; }
.illu svg { display: block; width: 100%; height: auto; background: var(--carte); border-radius: 8px; }
.noeud { fill: var(--carte); stroke: var(--encre); stroke-width: 1.4; }
.noeud-fort { fill: var(--hero); stroke: var(--hero); }
.etiquette { font: 500 12px var(--sans); fill: var(--encre); text-anchor: middle; dominant-baseline: middle; }
.etiquette-claire { fill: var(--fond); }
.lien-org { fill: none; stroke: var(--gris); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 2s ease-out .2s forwards; }
.pastille { fill: var(--vert); animation: apparait .5s ease-out both 1.8s; }
.pastille:nth-of-type(2) { animation-delay: 1.9s; } .pastille:nth-of-type(3) { animation-delay: 2s; } .pastille:nth-of-type(4) { animation-delay: 2.1s; }
.rituel { fill: none; stroke: var(--vert); stroke-width: 1.4; stroke-dasharray: 3 3; transform-origin: 140px 176px; animation: tourne 8s linear infinite; }
.rituel-fleche { fill: none; stroke: var(--vert); stroke-width: 1.6; }
.lien-outil { fill: none; stroke: var(--gris); stroke-width: 1.4; stroke-dasharray: 4 4; }
.flux { fill: var(--vert); }
.entonnoir { fill: var(--vert-voile); stroke: var(--vert); stroke-width: 1.2; animation: apparait .6s ease-out both; }
.e2 { animation-delay: .25s; } .e3 { animation-delay: .5s; }
.e4 { fill: var(--vert); animation-delay: .75s; }
/* Liseré autour des étiquettes : la goutte passe dessous sans les traverser */
.entonnoir ~ .etiquette:not(.etiquette-claire) { stroke: rgb(234, 238, 237); stroke-width: 3px; stroke-linejoin: round; paint-order: stroke; }
.goutte { fill: var(--vert); animation: tombe 2.6s ease-in infinite 1s; }
@keyframes apparait { from { opacity: 0; transform: translateY(6px); } }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes tombe { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(150px); opacity: 0; } }
.accent-g { padding-left: 18px; border-left: 2px solid var(--vert); }


/* À propos : chiffres clés et certifications */
.apropos-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 40px; padding: 8px 0; width: 100%; }
.apropos-chiffres > div { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 2px solid var(--vert); }

@media (max-width: 809px) {
  .kpi { padding: 14px; }
  .kpi-val { font-size: 28px; }
}
@media (max-width: 479px) {
  .tableau-courbe { grid-column: 1 / -1; }
  .tableau-barres { grid-column: 1 / -1; height: 140px; }
  .signal { padding: 22px; }
  .tableau-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px; gap: 8px; }
  .kpi { padding: 10px; }
  .kpi .petit { font-size: 12px; }
  .kpi-val { font-size: 22px; }
  .apropos-chiffres { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .apropos-chiffres .chiffre { font-size: 28px; }
  .tableau-courbe { height: 150px; }
}
@media (max-width: 359px) {
  .tableau-grille { padding: 10px; gap: 6px; }
  .kpi { padding: 8px 7px; }
  .kpi .petit { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .trace, .lien-org, .cf-trace, .cf-liens { stroke-dashoffset: 0; }
}

/* ---- Deuxième proposition (octobre 2026) ---- */

/* Surtitres de section */
.titre-bloc { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.surtitre { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 12px; font-weight: 500; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--vert); }
.surtitre::before { content: ""; flex: none; width: 22px; height: 1px; margin-top: calc(.6em - .5px); background: currentColor; }
.surtitre-clair { color: var(--menthe); }

/* Héros : preuves chiffrées */
.hero-preuves { list-style: none; margin: 12px 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 16px 36px; border-top: 1px solid var(--filet-clair); width: 100%; }
.hero-preuves li { display: flex; flex-direction: column; gap: 2px; }
.hero-preuves strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--fond); }
.hero-preuves span { font-size: 13px; color: var(--clair-2); max-width: 170px; }
.hero-preuves span, .apropos-chiffres .petit, .cas-chiffres .petit { text-wrap: balance; }

/* Héros : cartes flottantes illustrées */
.hero-visuel { position: relative; height: 440px; }
.cf { position: absolute; background: rgb(237, 236, 233); color: var(--encre); border-radius: 14px; padding: 16px 18px; box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 24px 48px rgba(0, 0, 0, .28); animation: flotte 7s ease-in-out infinite; }
.cf-tete { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cf-tete p { font-size: 12px; font-weight: 500; color: var(--gris); letter-spacing: .02em; }
.cf-pastille { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px var(--vert-voile); }
.cf-pilotage { top: 0; right: 0; width: 300px; }
.cf-val { font-family: var(--serif); font-size: 36px; line-height: 1; display: flex; align-items: baseline; gap: 10px; }
.cf-val span { font-family: var(--sans); font-size: 13px; color: var(--vert); font-weight: 500; }
.cf-graph { display: block; width: 100%; height: 80px; margin-top: 10px; }
.cf-aire { fill: var(--vert-voile); }
.cf-trace { fill: none; stroke: var(--vert); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 2s ease-out .5s forwards; }
.cf-crm { top: 168px; left: 0; width: 290px; animation-delay: -2.3s; }
.cf-colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cf-colonnes > div { background: var(--cadre); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; min-height: 96px; }
.cf-colonnes span { font-size: 11px; font-weight: 500; color: var(--gris); }
.cf-colonnes i { display: block; height: 14px; border-radius: 4px; background: var(--carte); box-shadow: 0 1px 2px rgba(20, 20, 20, .08); }
.cf-colonnes i.ok { background: var(--vert); }
.cf-deal { position: absolute; left: 26px; top: 66px; width: 70px; height: 14px; border-radius: 4px; background: var(--menthe); box-shadow: 0 4px 10px rgba(46, 86, 72, .35); animation: deal 5s ease-in-out infinite 1s; }
.cf-orga { bottom: 0; right: 24px; width: 230px; animation-delay: -4.6s; }
.cf-orga svg { display: block; width: 100%; height: auto; }
.cf-liens { fill: none; stroke: var(--gris); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 1.8s ease-out .8s forwards; }
.cf-noeud { fill: var(--carte); stroke: var(--encre); stroke-width: 1.2; }
.cf-noeud.fort { fill: var(--hero); stroke: var(--hero); }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes deal { 0%, 12% { transform: translate(0, 0); opacity: 0; } 18% { opacity: 1; } 45%, 55% { transform: translate(86px, 0); } 85%, 100% { transform: translate(172px, -22px); opacity: 0; } }

/* Méthode : frise en quatre étapes */
.frise { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.frise::before { content: ""; position: absolute; left: 22px; right: calc(25% - 43px); top: 22px; height: 1px; background: var(--filet-clair); }
.frise::after { content: ""; position: absolute; left: 22px; right: calc(25% - 43px); top: 22px; height: 1px; background: var(--menthe); transform-origin: left; transform: scaleX(1); transition: transform 1.6s ease .2s; }
.frise.cache::after { transform: scaleX(0); }
.frise.vu::after { transform: scaleX(1); }
.frise.anim.cache { opacity: 1; transform: none; }
.etape { position: relative; display: flex; flex-direction: column; gap: 12px; padding-right: 8px; }
.etape-num { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 500 14px var(--sans); color: var(--menthe); background: var(--sombre); border: 1px solid var(--menthe); box-shadow: 0 0 0 6px var(--sombre); margin-bottom: 8px; position: relative; z-index: 1; }
.methode { background: radial-gradient(50% 80% at 100% 0%, rgba(46, 86, 72, 0.35), transparent 70%), var(--sombre); }

/* Études de cas : marque à gauche, résultats à droite */
.cas { width: 100%; display: flex; flex-direction: column; gap: 24px; }
.cas-carte { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--carte); border-radius: 14px; overflow: hidden; box-shadow: var(--ombre); }
.cas-marque { padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-content: center;
  background: linear-gradient(150deg, rgba(var(--teinte), 0.16), rgba(var(--teinte), 0.04) 70%), var(--carte); border-right: 1px solid var(--filet); }
.cas-logo { height: auto; max-width: 100%; }
.cas-ident { display: flex; flex-direction: column; gap: 4px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cas-marque { container-type: inline-size; }
@container (max-width: 400px) {
  .tags { row-gap: 0; }
  .tags::after { content: ""; flex-basis: 100%; order: 1; }
  .tags li:nth-child(n+3) { order: 2; margin-top: 6px; }
}
.tags li { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--filet); }
.cas-detail { padding: 36px 36px; display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.cas-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px 28px; }
.cas-chiffres > div { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 2px solid var(--vert); }

/* Façons de travailler ensemble */
.offres-fond { background: linear-gradient(180deg, var(--fond) 0%, var(--cadre) calc(100% - var(--section)), var(--fond) 100%); }
#cas-client { padding-bottom: 0; }
.offres { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.offres-echelle { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.offres-echelle i { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--vert-voile), var(--vert)); }
.offre-carte { background: var(--carte); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--ombre); transition: opacity .7s ease, transform .3s ease, box-shadow .25s ease; }
.offre-carte:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(20,20,20,.05), 0 16px 36px rgba(20,20,20,.10); }
.offre-carte .corps { font-size: 15px; flex: 1; }
.offre-pour { font-size: 14px; font-weight: 500; color: var(--vert); }
.jauge { display: flex; gap: 4px; margin-bottom: 6px; }
.jauge i { width: 22px; height: 6px; border-radius: 3px; background: var(--vert-voile); }
.offre-carte[style*="--n:1"] .jauge i:nth-child(-n+1),
.offre-carte[style*="--n:2"] .jauge i:nth-child(-n+2),
.offre-carte[style*="--n:3"] .jauge i:nth-child(-n+3),
.offre-carte[style*="--n:4"] .jauge i:nth-child(-n+4) { background: var(--vert); }
.lien-fleche { font-size: 14px; font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; padding-top: 6px; }
.lien-fleche span { transition: transform .2s ease; }
.lien-fleche:hover span { transform: translateX(4px); }

/* À propos : certifications */
.certifs { display: flex; flex-direction: column; gap: 14px; width: 100%; padding-top: 4px; }
.certifs-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.certifs-liste li > div { min-width: 0; }
.certifs-liste li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; background: var(--carte); box-shadow: var(--ombre); }
.certifs-liste img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.certif-nom { font-size: 14px; font-weight: 500; line-height: 1.3; }

/* Bandeau logos : monochrome, couleur au survol (en couleur sur écran tactile) */
.logos-ligne img { filter: grayscale(1); opacity: .85; transition: filter .3s ease, opacity .3s ease; }
.logos-ligne li:hover img { filter: none; opacity: 1; }
@media (hover: none) { .logos-ligne img { filter: none; opacity: 1; } }

@media (max-width: 1020px) {
  .hero-grille { grid-template-columns: 1fr; gap: 48px; }
  .hero-visuel { height: 400px; max-width: 560px; width: 100%; margin-inline: auto; }
  .frise { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .frise::before, .frise::after { display: none; }
  .offres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offres-echelle { display: none; }
  .cas-carte { grid-template-columns: 1fr; }
  .cas-marque { border-right: 0; border-bottom: 1px solid var(--filet); padding: 28px 24px; }
  .cas-detail { padding: 28px 24px; }
}
@media (max-width: 809px) {
  .hero { padding: 72px 24px 64px; }
  .apropos-texte { flex-basis: 100%; max-width: 640px; }
}
@media (min-width: 600px) {
  .cas-chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .cas-chiffres { grid-template-columns: 1fr; }
  .signaux, .offres { grid-template-columns: 1fr; }
  .cf-orga { display: none; }
  .hero-visuel { height: 340px; }
}
@media (max-width: 479px) {
  .h1 { font-size: 40px; }
  .hero-visuel { height: 320px; }
  .cf-pilotage { width: 230px; }
  .cf-val { font-size: 28px; }
  .cf-graph { height: 56px; }
  .cf-crm { top: 140px; width: 240px; }
  .cf-deal { left: 22px; width: 58px; }
  @keyframes deal { 0%, 12% { transform: translate(0, 0); opacity: 0; } 18% { opacity: 1; } 45%, 55% { transform: translate(72px, 0); } 85%, 100% { transform: translate(144px, -22px); opacity: 0; } }
  .hero .boutons { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero .boutons .btn { width: 100%; }
  .frise { grid-template-columns: 1fr; }
  .certifs-liste { grid-template-columns: 1fr; }
  .cas-chiffres .chiffre { font-size: 30px; }
}
@media (max-width: 374px) {
  .hero .surtitre { letter-spacing: .1em; }
}
/* Chiffres du héros : trois colonnes égales */
.hero-preuves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.hero-preuves span { max-width: none; }
@media (max-width: 599px) {
  .hero-preuves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
  .hero-preuves strong { font-size: 22px; }
  .hero-preuves span { font-size: 12px; max-width: none; }
}
@media (max-width: 359px) {
  .hero-preuves strong { font-size: 21px; }
}
/* Grand écran : lignes alignées d'une carte à l'autre */
@media (min-width: 1021px) {
  .frise { grid-template-rows: auto auto 1fr; }
  .etape { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
  .offre-carte .h3-serif { text-wrap: balance; }
  @supports (grid-template-rows: subgrid) {
    .offre-carte { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 12px; }
    .offre-carte .lien-fleche { justify-self: start; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .cf-trace, .cf-liens { stroke-dashoffset: 0; }
}

/* Page Mentions légales : colonne de lecture alignée sur l'en-tête */
.legal { display: flex; flex-direction: column; gap: 56px; }
.legal > * { max-width: 760px; }
.legal-bloc { display: flex; flex-direction: column; gap: 16px; padding-top: 32px; border-top: 1px solid var(--filet); }
.legal-liste { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 10px 24px; margin: 8px 0 0; }
.legal-liste dt { color: var(--gris); }
.legal-liste dd { margin: 0; overflow-wrap: anywhere; }
.legal a { text-underline-offset: 3px; }
.legal a:hover { opacity: .65; }
@media (max-width: 479px) {
  .legal { gap: 40px; }
  .legal-liste { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal-liste dd + dt { margin-top: 12px; }
}
