/* =========================================================
   CCSchool.fr — Feuille de style partagee
   Identite propre a CCSchool (distincte de BIZ DIGITAL SCHOOL)
   Palette claire, chaleureuse, premium et humaine.
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  /* Fonds clairs chaleureux */
  --ivory:       #FBF7F0;  /* fond principal, ivoire chaud */
  --cream:       #F4EEE1;  /* surface alternee */
  --cream-soft:  #FBF3E7;  /* cartes tres douces */
  --white:       #FFFFFF;

  /* Signature : emeraude / teal lumineux */
  --emerald:      #0E7A6B;  /* signature, titres, liens */
  --emerald-deep: #0A5C50;  /* texte emeraude accessible */
  --emerald-soft: #E4F1ED;  /* fond de puce doux */

  /* Accent chaleureux : corail / terracotta */
  --coral:      #E06A44;  /* CTA, elements larges */
  --coral-deep: #BF4E2C;  /* texte corail accessible sur clair */
  --coral-soft: #FBE7DE;  /* fond doux */

  /* Touche premium : prune / lavande */
  --plum:      #7C5E93;  /* details, citations, petites icones */
  --plum-soft: #EFE8F3;

  /* Or doux (filets, details ponctuels) */
  --gold: #C99A4E;

  /* Encre chaude (texte) */
  --ink:      #2B2622;  /* texte principal */
  --ink-soft: #5C544C;  /* texte secondaire */
  --line:     #E6DECF;  /* filets */

  --radius:    18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(43, 38, 34, .06);
  --shadow:    0 14px 40px rgba(43, 38, 34, .10);
  --shadow-lg: 0 26px 70px rgba(43, 38, 34, .14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1160px;
  --gap:  clamp(1rem, 3vw, 2.4rem);
}

/* ---------- Reset doux ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--emerald-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--coral-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p  { margin: 0 0 1.1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.section { padding: clamp(3.4rem, 8vw, 6rem) 0; }
.section--tint { background: var(--cream); }
.section--emerald {
  background: linear-gradient(155deg, var(--emerald) 0%, var(--emerald-deep) 100%);
  color: var(--cream-soft);
}
.section--emerald h1, .section--emerald h2, .section--emerald h3 { color: var(--white); }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: .9rem;
}
.section--emerald .eyebrow { color: #FFD9A8; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); }
.section--emerald .lead { color: rgba(255,255,255,.9); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 800; font-size: 1rem;
  padding: .85rem 1.55rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--coral); color: var(--white); box-shadow: 0 10px 26px rgba(224,106,68,.32); }
.btn--primary:hover { background: var(--coral-deep); color: var(--white); }
.btn--emerald { background: var(--emerald); color: var(--white); box-shadow: 0 10px 26px rgba(14,122,107,.28); }
.btn--emerald:hover { background: var(--emerald-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--emerald-deep); border-color: var(--emerald); }
.btn--ghost:hover { background: var(--emerald); color: var(--white); }
.btn--light { background: var(--white); color: var(--emerald-deep); }
.btn--light:hover { background: var(--cream-soft); color: var(--emerald-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, .86);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0; position: relative;
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--emerald), var(--emerald-deep));
  color: var(--white); font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
  letter-spacing: -.02em; box-shadow: var(--shadow-sm);
}
.brand-mark span { line-height: 1; }
.brand small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-deep); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: .5rem .72rem; border-radius: 10px;
  font-weight: 700; font-size: .93rem; color: var(--ink-soft);
}
.nav-links a:hover { color: var(--emerald-deep); background: var(--emerald-soft); }
.nav-links a[aria-current="page"] { color: var(--emerald-deep); background: var(--emerald-soft); }
.nav-cta { margin-left: .4rem; }
.nav-cta .btn { padding: .6rem 1.1rem; font-size: .9rem; }

.nav-toggle {
  display: none; background: transparent; border: 2px solid var(--line);
  border-radius: 12px; width: 46px; height: 46px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2.5px; border-radius: 2px;
  background: var(--ink); transition: transform .25s ease, opacity .2s ease; position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + .5rem); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: .7rem; box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem 1rem; font-size: 1rem; }
  .nav-cta { margin: .3rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 82% 12%, rgba(224,106,68,.16), transparent 60%),
    radial-gradient(55% 60% at 12% 88%, rgba(124,94,147,.14), transparent 60%),
    radial-gradient(70% 65% at 50% 0%, rgba(14,122,107,.10), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.hero h1 { margin-bottom: .8rem; }
.hero h1 em { font-style: italic; color: var(--emerald-deep); }
.hero .lead { max-width: 40ch; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Visuel decoratif (sans image externe) */
.hero-visual {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--emerald), var(--emerald-deep));
  box-shadow: var(--shadow-lg); overflow: hidden; display: grid; place-items: center;
}
.hero-visual::after {
  content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%;
  right: -12%; top: -12%; background: radial-gradient(circle, rgba(224,106,68,.55), transparent 68%);
}
.hero-visual .blob {
  position: absolute; width: 42%; aspect-ratio: 1; border-radius: 46% 54% 60% 40%;
  left: -8%; bottom: -10%; background: rgba(124,94,147,.5); filter: blur(4px);
}
.hero-card {
  position: relative; z-index: 2; background: var(--white); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow); max-width: 78%; text-align: center;
}
.hero-card .big { font-family: var(--serif); font-size: 2.4rem; color: var(--emerald-deep); line-height: 1; }
.hero-card .lbl { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: clamp(1rem, 2.6vw, 1.7rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #DcCfb6; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card--tint { background: var(--cream-soft); }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem;
  background: var(--emerald-soft); color: var(--emerald-deep);
}
.icon-badge--coral { background: var(--coral-soft); color: var(--coral-deep); }
.icon-badge--plum { background: var(--plum-soft); color: var(--plum); }

/* ---------- Timeline / Stepper ---------- */
.timeline { position: relative; margin: 2.4rem 0 0; padding-left: 0; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 3px;
  background: linear-gradient(var(--emerald), var(--plum)); border-radius: 3px;
}
.timeline li { position: relative; padding: 0 0 1.7rem 4.6rem; }
.timeline .step-num {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--emerald); color: var(--emerald-deep);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.3rem;
  box-shadow: var(--shadow-sm); z-index: 1;
}
.timeline li:nth-child(even) .step-num { border-color: var(--coral); color: var(--coral-deep); }
.timeline h3 { margin-bottom: .25rem; }
.timeline .step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }

/* ---------- Tableau comparatif ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
table.compare th, table.compare td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { background: var(--emerald); color: var(--white); font-family: var(--serif); font-weight: 600; font-size: 1.02rem; }
table.compare thead th:first-child { border-top-left-radius: 0; }
table.compare th[scope="row"] { font-weight: 800; color: var(--ink); background: var(--cream-soft); }
table.compare tbody tr:hover td { background: var(--cream-soft); }
table.compare .yes { color: var(--emerald-deep); font-weight: 800; }
table.compare .no  { color: var(--coral-deep); font-weight: 800; }
.col-highlight { background: var(--emerald-soft) !important; }
/* Correctif contraste : l'en-tete mis en avant recoit un fond clair (--emerald-soft)
   via .col-highlight, il lui faut donc un texte fonce et non le blanc herite de thead. */
table.compare thead th.col-highlight {
  color: var(--emerald-deep);
  border-bottom: 3px solid var(--emerald);
}

/* ---------- Accordeon (FAQ) ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.accordion + .accordion { margin-top: .9rem; }
.acc-btn {
  width: 100%; text-align: left; background: var(--white); border: 0; cursor: pointer;
  padding: 1.15rem 1.3rem; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.acc-btn:hover { background: var(--cream-soft); }
.acc-btn .chev { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--emerald-soft); color: var(--emerald-deep); display: grid; place-items: center; font-weight: 900; transition: transform .25s ease; }
.acc-btn[aria-expanded="true"] .chev { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-panel-inner { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* ---------- Citation / temoignage ---------- */
.quote-feature {
  background: var(--white); border-left: 6px solid var(--plum); border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); position: relative;
}
.quote-feature::before {
  content: "\201C"; font-family: var(--serif); font-size: 5rem; color: var(--plum);
  opacity: .28; position: absolute; top: .1rem; left: 1rem; line-height: 1;
}
.quote-feature p { font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-style: italic; color: var(--ink); line-height: 1.4; }
.quote-feature cite { font-style: normal; font-weight: 800; color: var(--emerald-deep); font-family: var(--sans); }

.testimonial { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.testimonial p { font-style: italic; color: var(--ink); margin: 0; }
.testimonial .who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--serif); font-weight: 600; color: var(--white); background: linear-gradient(145deg, var(--plum), var(--emerald)); }
.testimonial .who b { display: block; color: var(--ink); }
.testimonial .who small { color: var(--ink-soft); }
.placeholder-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); background: var(--plum-soft); padding: .2rem .55rem; border-radius: 999px; }

/* ---------- Portrait placeholder ---------- */
.portrait {
  border-radius: var(--radius-lg); aspect-ratio: 4 / 5; overflow: hidden;
  background: repeating-linear-gradient(135deg, #EFE7D6, #EFE7D6 14px, #E7DDC8 14px, #E7DDC8 28px);
  display: grid; place-items: center; text-align: center; color: var(--ink-soft);
  border: 1px solid var(--line); box-shadow: var(--shadow); position: relative;
}
.portrait span { font-weight: 800; font-size: .9rem; letter-spacing: .04em; background: var(--white); padding: .4rem .8rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.portrait--photo { background: var(--cream-soft); aspect-ratio: 4 / 3; }
.portrait--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }

/* ---------- Liste a puces cochees ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: .05rem; width: 1.4rem; height: 1.4rem;
  background: var(--emerald-soft); color: var(--emerald-deep); border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; font-size: .8rem;
}
.check-list.coral li::before { background: var(--coral-soft); color: var(--coral-deep); }

/* ---------- Bandeau de badges / stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1rem; box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--emerald-deep); line-height: 1; }
.stat .lbl { font-size: .88rem; color: var(--ink-soft); font-weight: 700; margin-top: .35rem; }

/* ---------- Ruban repartition 80/20 ---------- */
.split-bar { display: flex; border-radius: 999px; overflow: hidden; box-shadow: var(--shadow-sm); font-weight: 800; color: var(--white); }
.split-bar .part-80 { flex: 0 0 80%; background: var(--emerald); padding: 1rem; text-align: center; }
.split-bar .part-20 { flex: 0 0 20%; background: var(--coral); padding: 1rem; text-align: center; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1.1rem; max-width: 640px; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 800; font-size: .92rem; color: var(--ink); }
.field .req { color: var(--coral-deep); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 2px solid var(--line); border-radius: 12px; background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px var(--emerald-soft);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--ink-soft); }
.form-success { display: none; background: var(--emerald-soft); border: 1px solid var(--emerald); color: var(--emerald-deep); padding: 1rem 1.2rem; border-radius: 12px; font-weight: 700; }
.form-success.show { display: block; }

/* Newsletter inline (footer) */
.news-inline { display: flex; gap: .6rem; flex-wrap: wrap; }
.news-inline input { flex: 1 1 220px; padding: .8rem 1rem; border-radius: 999px; border: 2px solid rgba(255,255,255,.25); background: rgba(255,255,255,.12); color: var(--white); font-size: 1rem; }
.news-inline input::placeholder { color: rgba(255,255,255,.7); }
.news-inline input:focus { outline: none; border-color: #FFD9A8; }

/* ---------- Pop-up newsletter ---------- */
.np-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(43,38,34,.5);
  display: none; align-items: center; justify-content: center; padding: 1.2rem;
  opacity: 0; transition: opacity .3s ease;
}
.np-overlay.show { display: flex; opacity: 1; }
.np-modal {
  background: var(--white); border-radius: var(--radius-lg); max-width: 480px; width: 100%;
  padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow-lg); position: relative;
  transform: translateY(16px); transition: transform .3s ease;
}
.np-overlay.show .np-modal { transform: translateY(0); }
.np-close {
  position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--cream); color: var(--ink); font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.np-close:hover { background: var(--coral-soft); color: var(--coral-deep); }
.np-modal .np-gift { display: inline-block; background: var(--coral-soft); color: var(--coral-deep); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; margin-bottom: .8rem; }
.np-modal h3 { font-size: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, #12332C 0%, #0B241F 100%); color: rgba(255,255,255,.82); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #FFD9A8; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .95rem; }
.footer-brand .brand { color: var(--white); }
.footer-brand p { font-size: .95rem; }
.newsletter-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.3rem; }
.newsletter-box p { font-size: .92rem; }

.qualiopi-bar { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.4rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; font-size: .84rem; }
.qualiopi-badge { display: inline-flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,217,168,.4); padding: .5rem .9rem; border-radius: 10px; color: #FFD9A8; font-weight: 700; }
.qualiopi-badge .q { width: 30px; height: 30px; border-radius: 8px; background: #FFD9A8; color: #0B241F; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; }
.legal-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; list-style: none; margin: 0; padding: 0; }
.copyright { text-align: center; font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 1.6rem; }
.footer-placeholder { color: #FFD9A8; font-weight: 700; }

/* ---------- Banniere CTA ---------- */
.cta-band { background: linear-gradient(150deg, var(--coral) 0%, var(--coral-deep) 100%); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.4rem); text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: var(--white); }
.cta-band .lead { color: rgba(255,255,255,.92); }
.cta-band .btn-row { justify-content: center; }
/* Correctif contraste : du blanc pur sur le corail clair du bandeau ne passait pas
   le seuil AA. On assombrit le fond du bouton secondaire pour retrouver du contraste. */
.cta-band .btn--ghost { background: rgba(0,0,0,.22); border-color: var(--white); color: var(--white); }
.cta-band .btn--ghost:hover { background: var(--white); color: var(--coral-deep); }

/* ---------- Pastilles infos ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.pill { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .9rem; font-weight: 700; color: var(--ink-soft); box-shadow: var(--shadow-sm); }

/* ---------- Fil d'ariane / page header ---------- */
.page-head { padding: clamp(2.6rem, 6vw, 4.2rem) 0 clamp(1.6rem, 4vw, 2.4rem); position: relative; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 70% at 85% 10%, rgba(124,94,147,.12), transparent 60%),
              radial-gradient(50% 70% at 10% 90%, rgba(224,106,68,.12), transparent 60%);
}
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumb a { font-weight: 700; }

/* ---------- Note / encart ---------- */
.callout { background: var(--plum-soft); border: 1px solid #E1D3EC; border-left: 5px solid var(--plum); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.callout--coral { background: var(--coral-soft); border-color: #F3CBBB; border-left-color: var(--coral); }
.callout--emerald { background: var(--emerald-soft); border-color: #CDE7DF; border-left-color: var(--emerald); }
.callout h3 { margin-bottom: .4rem; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Articles / blog ---------- */
.article-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-thumb { aspect-ratio: 16 / 9; background: linear-gradient(150deg, var(--emerald-soft), var(--plum-soft)); display: grid; place-items: center; color: var(--emerald-deep); font-family: var(--serif); font-size: 2rem; }
.article-thumb.c2 { background: linear-gradient(150deg, var(--coral-soft), var(--cream)); color: var(--coral-deep); }
.article-thumb.c3 { background: linear-gradient(150deg, var(--plum-soft), var(--emerald-soft)); color: var(--plum); }
.article-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.article-body .tag { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-deep); }
.article-body h3 { font-size: 1.2rem; margin: 0; }
.article-body .soon { margin-top: auto; font-weight: 800; color: var(--plum); font-size: .85rem; }

/* ---------- Reveal (anim scroll) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Accessibilite ---------- */
:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--emerald); color: var(--white); padding: .7rem 1.1rem; border-radius: 0 0 10px 0; z-index: 200; font-weight: 800; }
.skip-link:focus { left: 0; color: var(--white); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   BLOCS AJOUTES A LA REFONTE (juillet 2026)
   Logo SVG, mise en avant, tarifs, articles, fil de scroll.
   ========================================================= */

/* ---------- Logo CCSchool (SVG inline) ---------- */
.brand-logo-img { height: 120px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo-img { height: 76px; } }
/* Logo CCSchool dans le footer sombre : pose sur carte blanche pour rester lisible, sans modifier le fichier */
.footer-logo-card {
  display: inline-flex; align-items: center; background: var(--white); border-radius: 12px;
  padding: .4rem .7rem; box-shadow: var(--shadow-sm);
}
.footer-logo-card img { height: 32px; width: auto; display: block; }
.footer-address { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: .3rem; }

/* ---------- Ancres : compense l'en-tete collant ---------- */
section[id], article[id], div[id] { scroll-margin-top: 96px; }

/* ---------- Barre d'ancres interne (fil de lecture) ---------- */
.anchor-nav { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.anchor-nav a {
  display: inline-block; background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: .45rem 1rem; font-size: .88rem; font-weight: 700;
  color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.anchor-nav a:hover { background: var(--emerald-soft); color: var(--emerald-deep); border-color: var(--emerald); }

/* ---------- Bandeau « la suite » (lecture continue) ---------- */
.next-step {
  border-top: 1px solid var(--line); padding: 1.8rem 0 2.6rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.next-step .ns-label { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-deep); display: block; }
.next-step .ns-title { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }

/* ---------- Cartes mises en avant ---------- */
.card--feature {
  border: 2px solid var(--coral);
  background: linear-gradient(180deg, var(--coral-soft) 0%, var(--white) 58%);
  box-shadow: var(--shadow);
}
.feature-badge {
  display: inline-block; background: var(--coral); color: var(--white);
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .26rem .7rem; border-radius: 999px; margin-bottom: .7rem;
}
.feature-badge--plum { background: var(--plum); }

/* ---------- Mini-etapes : version compacte du parcours ---------- */
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.mini-steps li {
  display: flex; align-items: center; gap: .7rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: .6rem .9rem; box-shadow: var(--shadow-sm); font-weight: 700; font-size: .93rem; color: var(--ink);
}
.mini-steps .mn {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--emerald-soft); color: var(--emerald-deep);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: .82rem;
}
.mini-steps--plum .mn { background: var(--plum-soft); color: var(--plum); }

/* ---------- Emplacement logo / certificat ---------- */
.logo-slot {
  width: 170px; flex: none; aspect-ratio: 16 / 10; border-radius: 14px;
  background: repeating-linear-gradient(135deg, #EFE7D6, #EFE7D6 12px, #E7DDC8 12px, #E7DDC8 24px);
  border: 1px solid var(--line); display: grid; place-items: center; text-align: center;
  padding: .5rem; font-size: .76rem; font-weight: 800; color: var(--ink-soft); line-height: 1.3;
}
.certif-card { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.certif-card .certif-body { flex: 1 1 300px; }
.certif-num { font-family: var(--serif); font-size: 1.6rem; color: var(--emerald-deep); line-height: 1.1; }

/* Logo Qualiopi officiel : non modifie, pose sur carte blanche */
.certif-logo-card {
  width: 240px; flex: none; background: var(--white); border-radius: 16px;
  padding: 1.1rem; box-shadow: var(--shadow); display: grid; place-items: center;
}
.certif-logo-card img { width: 100%; height: auto; display: block; }
.qualiopi-logo-card {
  width: 52px; height: 52px; flex: none; background: var(--white); border-radius: 10px;
  padding: .35rem; display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.qualiopi-logo-card img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Cartes tarifaires ---------- */
.price-card {
  display: flex; flex-direction: column; gap: .5rem; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--emerald); }
.price-card .tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-deep); }
.price-card h3 { margin: .1rem 0 .2rem; }
.price-card .price { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.5rem); color: var(--emerald-deep); line-height: 1.05; margin: .2rem 0 .6rem; }
.price-card .price small { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0; }
.price-card p { color: var(--ink-soft); font-size: .95rem; }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card--accent { border: 2px solid var(--emerald); background: linear-gradient(180deg, var(--emerald-soft) 0%, var(--white) 55%); }

/* ---------- Badge de confiance ---------- */
.trust-badge {
  display: inline-flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  background: var(--emerald-soft); border: 1px solid #CDE7DF; border-radius: 999px;
  padding: .7rem 1.3rem; font-weight: 700; color: var(--emerald-deep); font-size: .95rem;
}
.trust-badge .tb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald); flex: none; }

/* ---------- Vignettes d'articles enrichies ---------- */
.article-thumb { position: relative; overflow: hidden; padding: .9rem; }
.article-thumb::after {
  content: ""; position: absolute; width: 48%; aspect-ratio: 1; border-radius: 50%;
  right: -12%; bottom: -26%; background: rgba(255,255,255,.5);
}
.thumb-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: .25rem; text-align: center; }
.thumb-inner .t-big { font-family: var(--serif); font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.05; }
.thumb-inner .t-small { font-family: var(--sans); font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.article-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Article complet (blog au fil du scroll) ---------- */
.article-full {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-sm);
}
.article-full + .article-full { margin-top: clamp(2rem, 5vw, 3.4rem); }
.article-full > h2:first-of-type { margin-top: 0; }
.article-full h3 { margin: 2.1rem 0 .5rem; color: var(--emerald-deep); }
.article-full ul { padding-left: 1.3rem; margin: 0 0 1.1rem; }
.article-full li { margin-bottom: .45rem; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .7rem;
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-deep);
}
.article-full .article-close { background: var(--cream-soft); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-top: 2rem; }
.article-full .article-close p:last-child { margin-bottom: 0; }

/* ---------- Divers ---------- */
.footer-cross { font-size: .92rem; margin-top: .9rem; }
.footer-cross a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.social-links { display: flex; gap: .9rem; margin-top: 1rem; padding: 0; list-style: none; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); color: var(--white); font-weight: 800; font-size: .78rem;
  transition: background .2s ease, transform .2s ease;
}
.social-links a:hover { background: rgba(255,217,168,.18); color: #FFD9A8; transform: translateY(-2px); }
.certif-inline { max-width: 34ch; }
.certif-inline b { color: #FFD9A8; }
.hero .portrait { max-width: 400px; margin-inline: auto; }

/* ---------- Utilitaires ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.text-emerald { color: var(--emerald-deep); }
.text-coral { color: var(--coral-deep); }
.text-plum { color: var(--plum); }
.maxw-720 { max-width: 720px; }
