/* Cockpit · page d'offre. Même charte que agenceimedia.com : ton sur ton, dominante blanche.
   Blanc #FFFFFF, gris clairs #F6F6F6 / #EDEDED / #E6E6E6, gris foncé #2B2B2B. Fraunces + Inter auto-hébergées. */

@font-face { font-family: "Fraunces"; src: url("polices/fraunces-normal.woff2") format("woff2"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("polices/fraunces-italic.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("polices/inter-normal.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --fond: #FFFFFF; --surface: #F6F6F6; --surface-2: #EDEDED; --trait: #E6E6E6; --trait-fort: #C9C9C9;
  --texte: #2B2B2B; --texte-doux: #6B6B6B; --marge: clamp(1.25rem, 5vw, 4rem); --largeur: 1180px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 1rem/1.6 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--texte); outline-offset: 3px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 400; letter-spacing: -0.015em; margin: 0; }
.surtitre { margin: 0; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 var(--marge); background: rgb(255 255 255 / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.logo img { display: block; height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 2.5vw, 2rem); font-size: .9375rem; }
.nav a { text-decoration: none; color: var(--texte-doux); transition: color .2s; }
.nav a:hover { color: var(--texte); }
.nav .nav-cta { color: var(--texte); border: 1px solid var(--trait); border-radius: 999px; padding: .45rem 1rem; }
.nav .nav-cta:hover { border-color: var(--trait-fort); }

/* Boutons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 3.25rem; padding: 0 1.7rem; border-radius: 999px;
  font: 500 1rem/1 "Inter", system-ui, sans-serif; text-decoration: none; border: 1px solid transparent; white-space: nowrap;
  transition: background-color .25s, border-color .25s, transform .2s cubic-bezier(.16, 1, .3, 1); }
.btn:active { transform: scale(.98); }
.btn-plein { background: var(--texte); color: var(--fond); }
.btn-plein:hover { background: #111; }
.btn-trait { border-color: var(--trait); color: var(--texte); }
.btn-trait:hover { border-color: var(--trait-fort); }

/* Ouverture */
.ouverture { text-align: center; padding: clamp(3.5rem, 11vh, 7.5rem) var(--marge) clamp(2.5rem, 6vh, 4rem); max-width: 980px; margin: 0 auto; }
.ouverture h1 { font-size: clamp(2.75rem, 7.4vw, 5.75rem); line-height: 1.02; letter-spacing: -0.025em; margin: 1.1rem 0 1.4rem; font-variation-settings: "opsz" 144; }
.chapo { font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); color: var(--texte-doux); max-width: 41ch; margin: 0 auto 2.2rem; }
.prix-mini { margin: 1.4rem 0 0; font-size: .9375rem; color: var(--texte-doux); }
.prix-mini strong { color: var(--texte); font-weight: 500; }

/* Exemple : fenêtre d'application */
.exemple { padding: 0 var(--marge) clamp(4rem, 10vh, 7rem); }
.fenetre { max-width: var(--largeur); margin: 0 auto; border: 1px solid var(--trait); border-radius: 18px; overflow: hidden; background: var(--fond);
  box-shadow: 0 30px 80px -40px rgb(0 0 0 / .25), 0 2px 6px rgb(0 0 0 / .04); }
.fenetre-barre { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--trait); }
.fenetre-barre i { width: 11px; height: 11px; border-radius: 999px; background: var(--trait-fort); }
.fenetre-barre span { margin: 0 auto; font-size: .75rem; color: var(--texte-doux); transform: translateX(-24px); }
.legende { text-align: center; font-size: .8125rem; color: var(--texte-doux); margin: 1.1rem 0 0; }

.ck { padding: clamp(1rem, 2.5vw, 1.8rem); font-size: .875rem; }
.ck p { margin: 0; }
.ck-tete { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1rem; }
.ck-sur { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.ck-salut { font: 400 clamp(1.4rem, 2.6vw, 2rem)/1.15 "Fraunces", Georgia, serif; margin-top: .25rem !important; }
.ck-droite { text-align: right; }
.ck-heure { font: 300 clamp(1.4rem, 2.6vw, 2rem)/1.1 "Fraunces", Georgia, serif; font-variant-numeric: tabular-nums; }
.ck-grille { display: grid; gap: 12px; grid-template-columns: 1.2fr 1fr 1fr; grid-template-areas: "ia chiffres chiffres" "ia mails agenda"; }
.ck-carte { border: 1px solid var(--trait); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.ck-titre { font: 400 1.0625rem/1.2 "Fraunces", Georgia, serif; display: flex; align-items: center; gap: 8px; }
.ck-petit { font-size: .75rem; color: var(--texte-doux); }
.ck-pastille { font: 400 .6875rem/1 "Inter", sans-serif; background: var(--surface-2); border-radius: 999px; padding: 3px 8px; }
.ck-ia { grid-area: ia; background: var(--surface); border-color: var(--surface-2); }
.ck-ia-tete { display: flex; align-items: center; gap: 10px; }
.ck-sphere, .fin-sphere { border-radius: 999px; overflow: hidden; background: var(--fond); flex: none; }
.ck-sphere { width: 44px; height: 44px; }
.ck-sphere video, .fin-sphere video { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transform: scale(1.35); }
.ck-fil { display: flex; flex-direction: column; gap: 8px; flex: 1; margin-top: 4px; }
.ck-moi, .ck-lui { max-width: 90%; padding: 8px 11px; border-radius: 12px; line-height: 1.45; }
.ck-moi { align-self: flex-end; background: var(--surface-2); border-bottom-right-radius: 4px; }
.ck-lui { align-self: flex-start; background: var(--fond); border: 1px solid var(--trait); border-bottom-left-radius: 4px; }
.ck-saisie { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--trait); border-radius: 999px; padding: 5px 5px 5px 14px; background: var(--fond); color: var(--texte-doux); font-size: .8125rem; }
.ck-saisie b { width: 28px; height: 28px; border-radius: 999px; background: var(--surface-2); }
.ck-chiffres { grid-area: chiffres; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 14px; row-gap: 10px; align-content: start; }
.ck-chiffres .ck-titre, .ck-chiffres .ck-barre { grid-column: 1 / -1; }
.ck-kpi { background: var(--surface); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; }
.ck-kpi span { font-size: .75rem; color: var(--texte-doux); }
.ck-kpi strong { font: 300 clamp(1.35rem, 2.4vw, 1.85rem)/1.15 "Fraunces", Georgia, serif; margin: 2px 0; }
.ck-kpi em { font-style: normal; font-size: .75rem; color: var(--texte-doux); }
.ck-barre { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.ck-barre i { display: block; width: 86%; height: 100%; background: var(--texte); border-radius: 999px; } /* 41 200 / 48 000 ; pas de style en ligne : la CSP l'interdit */
.ck-mails { grid-area: mails; }
.ck-m { padding: 6px 0; border-top: 1px solid var(--trait); color: var(--texte-doux); line-height: 1.4; }
.ck-m:nth-of-type(2) { border-top: 0; }
.ck-m b { display: block; font-weight: 500; color: var(--texte); }
.ck-agenda { grid-area: agenda; }
.ck-c { display: flex; gap: 12px; padding: 4px 0; }
.ck-c span { font-variant-numeric: tabular-nums; font-weight: 500; min-width: 3.2em; }

/* Blocs de contenu */
.bloc { max-width: var(--largeur); margin: 0 auto; padding: clamp(3.5rem, 9vh, 6rem) var(--marge); }
.bloc h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; margin-bottom: clamp(1.75rem, 4vh, 2.75rem); }
.bloc-gris { max-width: none; background: var(--surface); }
.bloc-gris > * { max-width: calc(var(--largeur) - 2 * 4rem); margin-left: auto; margin-right: auto; }
.bloc .intro { color: var(--texte-doux); margin: -1rem auto 2rem; font-size: 1.0625rem; }
.bloc h3 { font-size: 1.3125rem; line-height: 1.25; margin-bottom: .5rem; }
.bloc p { margin: 0; color: var(--texte-doux); }

.fonctions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem); }
.fonctions article { border-top: 1px solid var(--trait); padding-top: 1.2rem; }

.metiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metiers div { background: var(--fond); border-radius: 14px; padding: 1.3rem 1.4rem; }

.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.etapes span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 999px; border: 1px solid var(--trait-fort);
  font: 400 1.0625rem/1 "Fraunces", Georgia, serif; margin-bottom: 1rem; }

/* Offre */
.offre { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  border: 1px solid var(--trait); border-radius: 22px; padding: clamp(1.75rem, 4.5vw, 3.5rem); }
.offre-prix { font: 300 clamp(3.25rem, 7vw, 5rem)/1 "Fraunces", Georgia, serif; color: var(--texte) !important; margin: .9rem 0 .5rem !important; letter-spacing: -0.02em; }
.offre-prix small { margin-left: .35rem; font: 400 1.25rem/1 "Inter", sans-serif; color: var(--texte-doux); letter-spacing: 0; }
.offre-sous { margin-bottom: 1.8rem !important; }
.offre-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.offre-liste li { display: flex; gap: .8rem; align-items: baseline; }
.offre-liste li::before { content: ""; width: .5rem; height: .5rem; border-radius: 999px; background: var(--texte); flex: none; transform: translateY(-.1rem); }
.note { font-size: .875rem; margin-top: 1.1rem !important; text-align: center; }

/* Questions */
.faq { border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font: 400 1.1875rem/1.35 "Fraunces", Georgia, serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font: 300 1.5rem/1 "Inter", sans-serif; color: var(--texte-doux); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.3rem 0; max-width: 62ch; }

/* Fin */
.fin { text-align: center; padding: clamp(4rem, 12vh, 7rem) var(--marge) clamp(4rem, 10vh, 6rem); }
.fin-sphere { width: 120px; height: 120px; margin: 0 auto 1.5rem; }
.fin h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; margin-bottom: 1rem; }
.fin p { color: var(--texte-doux); margin: 0 0 2rem; }

.pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.4rem var(--marge) 1.6rem;
  border-top: 1px solid var(--trait); font-size: .8125rem; color: var(--texte-doux); }
.pied a { text-decoration: none; color: var(--texte); }

/* Tablette */
@media (max-width: 980px) {
  .ck-grille { grid-template-columns: 1fr 1fr; grid-template-areas: "chiffres chiffres" "ia ia" "mails agenda"; }
  .fonctions, .metiers { grid-template-columns: 1fr 1fr; }
  .offre { grid-template-columns: 1fr; }
}
/* Mobile */
@media (max-width: 640px) {
  .entete { height: 64px; }
  .logo img { height: 34px; }
  .nav a:not(.nav-cta) { display: none; }
  .ck-grille { grid-template-columns: 1fr; grid-template-areas: "chiffres" "ia" "mails" "agenda"; }
  .ck-chiffres { grid-template-columns: 1fr 1fr; }
  .ck-kpi:nth-child(4) { grid-column: 1 / -1; }
  .ck-tete .ck-droite { display: none; }
  .fonctions, .metiers, .etapes { grid-template-columns: 1fr; }
  .bloc-gris > * { max-width: none; }
  .btn { width: 100%; }
  .actions-centre .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
