/* =========================================================
   COACH ACADÉMIE — Design System
   Charte : Montserrat + Nunito Sans
   Couleurs : teal #2b6b7f · gold #e8ae4c · terracotta #d4845c
   ========================================================= */

:root {
  /* Couleurs de marque */
  --teal: #083968;        /* Bleu de Prusse */
  --teal-dark: #05264a;
  --teal-soft: #e6edf5;
  --gold: #eab20c;        /* Jaune Empire */
  --gold-dark: #b8850a;
  --gold-soft: #fbeecb;
  --terracotta: #d4845c;
  --gray: #8b8680;
  --gray-light: #b9b5b0;
  --cream: #faf8f5;
  --ink: #262626;
  --ink-soft: #4a4a4a;
  --white: #ffffff;

  /* Typo */
  --font-title: "Montserrat", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  /* Rayons / ombres */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 4px 14px rgba(38,38,38,.08);
  --shadow-md: 0 10px 30px rgba(38,38,38,.12);
  --shadow-lg: 0 24px 60px rgba(8,57,104,.22);
  --shadow-gold: 0 12px 28px rgba(234,178,12,.40);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(18px, 5vw, 48px);
  --nav-h: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
ul { list-style: none; }

h1, h2, h3, h4, h5 { font-family: var(--font-title); color: var(--ink); line-height: 1.14; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.9rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); }
p { margin-bottom: 1rem; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 800; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: clamp(40px, 5.5vw, 76px); position: relative; }
.section-cream { background: var(--cream); }
.section-teal { background: var(--teal); color: #fff; }
.section-teal h2, .section-teal h3, .section-teal p, .section-teal li, .section-teal span, .section-teal strong { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-title); font-weight: 800; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
  background: var(--teal-soft); padding: 7px 16px; border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.section-teal .eyebrow { background: rgba(255,255,255,.15); color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.text-gold { color: var(--gold-dark); }
.text-teal { color: var(--teal); }

/* ---------- BOUTONS / CTA ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-title); font-weight: 800; font-size: 1rem;
  padding: 15px 30px; border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s;
  text-align: center; line-height: 1.1;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: var(--gold-dark); color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 36px rgba(209,150,58,.5); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: var(--shadow-md); }
.btn-teal:hover { background: var(--teal-dark); color: #fff; transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: #fff; color: var(--teal); transform: translateY(-3px); }
.btn-lg { padding: 18px 38px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* CTA Calendly avec pastille pulsée */
.btn-calendly { position: relative; }
.btn-calendly::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: #37b34a;
  box-shadow: 0 0 0 0 rgba(55,179,74,.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(55,179,74,.6); }
  70% { box-shadow: 0 0 0 9px rgba(55,179,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(55,179,74,0); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-calendly::before { animation: none; }
  html { scroll-behavior: auto; }
}
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(38,38,38,.06); transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 58px; width: auto; }
.brand span { display: none; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-family: var(--font-title); font-weight: 700; color: var(--ink); font-size: .96rem; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 20px; font-size: .92rem; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 3px; background: var(--teal); border-radius: 3px; transition: .3s; }

@media (max-width: 1000px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .burger { display: flex; }
}
/* Menu mobile */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; background: var(--white); z-index: 899;
  transform: translateX(100%); transition: transform .32s ease; padding: 30px var(--gutter);
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; padding: 14px 0; border-bottom: 1px solid rgba(38,38,38,.08); color: var(--ink); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- HERO ---------- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(6px, 2vw, 22px));
  background:
    radial-gradient(1100px 520px at 82% -8%, var(--gold-soft), transparent 60%),
    radial-gradient(900px 500px at -5% 15%, var(--teal-soft), transparent 55%),
    var(--white);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero h1 span { color: var(--teal); }
.hero .slogan { font-family: var(--font-title); font-style: italic; font-weight: 900; color: var(--gold-dark); font-size: clamp(1.6rem, 3vw, 2.05rem); margin-bottom: 14px; letter-spacing: -0.01em; -webkit-text-stroke: 0.7px var(--gold-dark); }
.hero-cta { margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--gray); display: flex; align-items: center; gap: 8px; }

.hero-visual { position: relative; }
.hero-inuks { width: 100%; height: auto; filter: drop-shadow(0 24px 50px rgba(31,78,92,.22)); }
.hero-photo {
  border-radius: 40% 40% 42% 42% / 46% 46% 40% 40%;
  aspect-ratio: 4/4.3; width: 100%; object-fit: cover;
  box-shadow: var(--shadow-lg); background: var(--teal-soft);
}
.hero-badge {
  position: absolute; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-family: var(--font-title);
}
.hero-badge b { font-weight: 900; font-size: 1.5rem; color: var(--teal); line-height: 1; }
.hero-badge small { color: var(--gray); font-size: .78rem; font-weight: 700; }
.hero-badge.b1 { top: 4%; right: -16%; }
.hero-badge.b2 { bottom: 1%; left: -22%; }
.hero-badge .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; color: var(--gold-dark); }
.hero-logo { position: absolute; top: -6%; left: -12%; background: #fff; border-radius: 50%; padding: 5px; box-shadow: var(--shadow-lg); }
.hero-logo img { width: clamp(140px, 18vw, 202px); height: auto; border-radius: 50%; display: block; }
.hero-flag { position: absolute; bottom: 1%; right: -7%; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px 14px 9px; text-align: center; }
.hero-flag img { width: clamp(66px, 8.5vw, 88px); height: auto; display: block; margin: 0 auto 4px; }
.hero-flag span { display: block; font-family: var(--font-title); font-weight: 800; font-size: .72rem; color: var(--gray); line-height: 1.15; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; order: -1; }
  .hero-badge.b1 { right: 0; }
  .hero-badge.b2 { left: 0; }
  .hero-logo { left: 0; top: 0; }
  .hero-logo img { width: 108px; }
  .hero-flag { right: 0; bottom: 0; }
  .hero-flag img { width: 84px; }
}

/* ---------- BARRE DE CONFIANCE ---------- */
.trust {
  background: var(--ink); color: #fff; padding-block: 26px;
}
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; }
.trust-item { display: flex; align-items: center; gap: 10px; flex: none; white-space: nowrap; }
.trust-item b { font-family: var(--font-title); font-weight: 900; font-size: 1.45rem; color: var(--gold); line-height: 1; }
.trust-item span { color: #d7d7d7; font-size: .82rem; font-weight: 700; }
.trust-item .badge-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-title); font-weight: 800; font-size: .8rem; letter-spacing: .02em; padding: 9px 16px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.22); color: #fff; white-space: nowrap; flex: none; }
.trust-item .badge-chip.tp { background: #00b67a; border-color: #00b67a; color: #fff; }
.trust-item .flag { height: 30px; width: auto; flex: none; }

/* ---------- GRILLE FORMATIONS ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid rgba(38,38,38,.08); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-top-accent { position: absolute; top: 0; left: 0; right: 0; height: 6px; }
.accent-gold { background: var(--gold); }
.accent-teal { background: var(--teal); }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag { font-family: var(--font-title); font-weight: 800; font-size: .72rem; letter-spacing: .03em; padding: 6px 12px; border-radius: var(--r-pill); text-transform: uppercase; }
.tag-rncp { background: var(--teal); color: #fff; }
.tag-cpf { background: var(--gold-soft); color: var(--gold-dark); }
.tag-rs { background: var(--terracotta); color: #fff; }
.tag-soft { background: var(--teal-soft); color: var(--teal); }
.card h3 { margin-bottom: 8px; }
.card .card-sub { font-family: var(--font-title); font-weight: 700; color: var(--gray); font-size: .92rem; margin-bottom: 18px; }
.card ul.features { margin: 8px 0 22px; display: grid; gap: 11px; }
.card ul.features li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: var(--ink-soft); }
.card ul.features li svg { flex: none; width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
.card .card-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; padding-top: 18px; border-top: 1px dashed rgba(38,38,38,.14); }
.card .card-meta div { display: flex; flex-direction: column; }
.card .card-meta small { color: var(--gray); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.card .card-meta b { font-family: var(--font-title); color: var(--ink); font-size: 1rem; }
.card .card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* ---------- PILIERS ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: #fff; border-radius: var(--r-md); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid rgba(38,38,38,.06); transition: transform .2s; }
.pillar:hover { transform: translateY(-4px); }
.pillar .ic { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; background: var(--teal-soft); color: var(--teal); }
.pillar .ic svg { width: 31px; height: 31px; }
.pillar:nth-child(2n) .ic { background: var(--gold-soft); color: var(--gold-dark); }
.pillar:nth-child(3n) .ic { background: #f6e3da; color: var(--terracotta); }
.pillar h3 { font-size: 1.12rem; margin-bottom: 8px; }
.pillar p { font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- APPROCHE (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.checklist { display: grid; gap: 14px; margin-top: 20px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.checklist li svg { flex: none; width: 24px; height: 24px; color: var(--gold-dark); margin-top: 2px; }
.section-teal .checklist li svg { color: var(--gold); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }

/* ---------- WEBINAIRE ---------- */
.webinar-card {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: var(--r-lg); padding: clamp(30px, 5vw, 56px); color: #fff;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.webinar-card::after { content:""; position:absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(232,174,76,.16); top: -120px; right: -100px; }
.webinar-card h2, .webinar-card p, .webinar-card li { color: #fff; position: relative; z-index: 1; }
.webinar-list { display: grid; gap: 12px; margin: 20px 0 26px; }
.webinar-list li { display: flex; gap: 10px; align-items: flex-start; }
.webinar-list li svg { flex: none; color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.webinar-form { background: #fff; border-radius: var(--r-md); padding: 26px; position: relative; z-index: 1; box-shadow: var(--shadow-md); }
.webinar-form h3 { color: var(--ink); font-size: 1.15rem; margin-bottom: 6px; }
.webinar-form p { color: var(--gray); font-size: .88rem; margin-bottom: 16px; }
@media (max-width: 820px) { .webinar-card { grid-template-columns: 1fr; } }

/* ---------- ÉQUIPE ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { text-align: center; }
.member .avatar { aspect-ratio: 1; border-radius: 24px; background: var(--teal-soft); object-fit: cover; width: 100%; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.member h4 { font-family: var(--font-title); font-size: 1.05rem; }
.member span { color: var(--gold-dark); font-weight: 700; font-size: .88rem; }
@media (max-width: 820px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* ---------- TÉMOIGNAGES ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid rgba(38,38,38,.06); display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.1rem; }
.quote p { font-size: 1rem; font-style: italic; color: var(--ink); }
.quote .who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; }
.quote .who .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); display: grid; place-items: center; font-family: var(--font-title); font-weight: 900; }
.quote .who b { font-family: var(--font-title); font-size: .95rem; display: block; }
.quote .who small { color: var(--gray); }
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- PARTENAIRES ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.partner {
  font-family: var(--font-title); font-weight: 800; color: var(--gray); font-size: 1.15rem;
  padding: 16px 26px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(38,38,38,.06); min-width: 150px; text-align: center;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid rgba(38,38,38,.1); border-radius: var(--r-md); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--teal); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; margin: 0; }

/* ---------- CTA FINAL ---------- */
.cta-final { background: linear-gradient(135deg, var(--gold), var(--terracotta)); text-align: center; }
.cta-final h2, .cta-final p { color: var(--ink); }
.cta-final .btn-group { justify-content: center; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: #cfcfcf; padding-block: 60px 30px; }
.footer a { color: #cfcfcf; }
.footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; margin-bottom: 40px; }
.footer .brand img { height: 64px; }
.footer h5 { font-family: var(--font-title); color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: .94rem; }
.footer .contact-li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; margin-bottom: 10px; }
.footer .contact-li svg { flex: none; width: 18px; height: 18px; color: var(--gold); margin-top: 3px; }
.socials { display: flex; gap: 12px; margin-top: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--gold); color: var(--ink); }
.a11y-note { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.08); padding: 8px 14px; border-radius: var(--r-pill); font-size: .82rem; margin-top: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .84rem; color: var(--gray-light); }
.footer-bottom a { text-decoration: underline; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- MODALS ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(31,78,92,.55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px;
  opacity: 0; transition: opacity .25s;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  background: #fff; border-radius: var(--r-lg); max-width: 520px; width: 100%;
  max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98); transition: transform .25s; position: relative;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-head { padding: 28px 30px 12px; }
.modal-head .eyebrow { margin-bottom: 12px; }
.modal-head h3 { font-size: 1.4rem; }
.modal-head p { font-size: .95rem; color: var(--gray); margin: 6px 0 0; }
.modal-body { padding: 18px 30px 30px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 0; background: var(--cream); border-radius: 50%; cursor: pointer; font-size: 1.3rem; color: var(--ink); display: grid; place-items: center; transition: background .2s; }
.modal-close:hover { background: #eee; }

/* ---------- FORMS ---------- */
.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--font-title); font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: var(--terracotta); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid #dcd8d3; border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 1rem; background: var(--white); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43,107,127,.15); }
.field textarea { min-height: 96px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px) { .row-2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 18px; font-size: .84rem; color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--teal); }
.consent a { text-decoration: underline; }
.form-note { font-size: .78rem; color: var(--gray); margin-top: 10px; display: flex; gap: 7px; align-items: flex-start; }
.form-note svg { flex: none; width: 15px; height: 15px; margin-top: 2px; }
.form-success { display: none; text-align: center; padding: 20px 4px; }
.form-success.show { display: block; }
.form-success .check { width: 66px; height: 66px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin: 0 auto 16px; }
.form-error { display: none; background: #fdecec; color: #b03030; padding: 10px 14px; border-radius: var(--r-sm); font-size: .86rem; margin-bottom: 12px; }
.form-error.show { display: block; }
.btn.loading { opacity: .7; pointer-events: none; }

/* ---------- COOKIE BANNER ---------- */
.cookie {
  position: fixed; bottom: 18px; left: 18px; right: 18px; max-width: 560px; margin-inline: auto;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 22px 24px;
  z-index: 1100; border: 1px solid rgba(38,38,38,.08); display: none;
}
.cookie.show { display: block; animation: cookieIn .4s ease; }
@keyframes cookieIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie h4 { font-family: var(--font-title); font-size: 1.05rem; margin-bottom: 6px; }
.cookie p { font-size: .88rem; margin-bottom: 14px; }
.cookie .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie .btn { padding: 11px 20px; font-size: .9rem; }

/* ---------- UTILITAIRES ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: 10px 16px; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; color: #fff; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* ---------- PAGES LÉGALES ---------- */
.legal-header { background: var(--teal); color:#fff; padding: calc(var(--nav-h) + 40px) 0 40px; }
.legal-header a.back { color: var(--gold); font-family: var(--font-title); font-weight:700; font-size:.9rem; display:inline-flex; gap:6px; align-items:center; }
.legal-header h1 { color:#fff; margin-top:14px; font-size: clamp(1.8rem,4vw,2.6rem); }
.legal-body { max-width: 820px; margin: 0 auto; padding: 50px var(--gutter) 80px; }
.legal-body h2 { font-size: 1.4rem; margin: 34px 0 12px; color: var(--teal); }
.legal-body h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; display:grid; gap:8px; }
.legal-body a { text-decoration: underline; }
.legal-body .updated { color: var(--gray); font-size:.9rem; }

/* ---------- BANDEAU CERTIFICATIONS ---------- */
.cert-band { background:#fff; border-top:1px solid rgba(38,38,38,.06); border-bottom:1px solid rgba(38,38,38,.06); padding-block: 20px; }
.cert-band .cert-inner { display:flex; align-items:center; justify-content:center; gap: clamp(28px,5vw,64px); flex-wrap:wrap; }
.cert-band img.cert-strip { max-height: 74px; width:auto; }
.cert-band .cert-extra { display:flex; align-items:center; gap: 28px; flex-wrap:wrap; }
.cert-band .cert-extra img { max-height: 60px; width:auto; }
.cert-caption { text-align:center; color:var(--gray); font-family:var(--font-title); font-weight:700; font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:22px; }

/* ---------- LOGOS PARTENAIRES (images) ---------- */
.partner-logos { display:flex; flex-wrap:wrap; gap: clamp(24px,5vw,56px); justify-content:center; align-items:center; }
.partner-logos img { max-height: 46px; max-width: 160px; width:auto; opacity:.72; filter: grayscale(30%); transition: opacity .25s, filter .25s; }
.partner-logos img:hover { opacity:1; filter:none; }

/* Handicap chip dans le footer avec image */
.footer .a11y-note img { height: 26px; width:auto; }

/* ---------- NUAGE DE MOTS ALUMNI ---------- */
.alumni-cloud { max-width: 1060px; margin: 0 auto clamp(30px,4vw,48px); }
.alumni-cloud img { width:100%; height:auto; border-radius: var(--r-lg); box-shadow: var(--shadow-md); border:1px solid rgba(38,38,38,.06); background:#fff; }
.alumni-cloud figcaption { text-align:center; color:var(--gray); font-style:italic; font-family:var(--font-title); font-weight:300; font-size:.95rem; margin-top:14px; }

/* ---------- PAGE ÉQUIPE ---------- */
.team-hero { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color:#fff; padding: calc(var(--nav-h) + 60px) 0 70px; text-align:center; position:relative; overflow:hidden; }
.team-hero::after { content:""; position:absolute; width:420px; height:420px; border-radius:50%; background:rgba(232,174,76,.14); top:-160px; right:-120px; }
.team-hero .eyebrow { background:rgba(255,255,255,.15); color:var(--gold); }
.team-hero h1 { color:#fff; position:relative; z-index:1; }
.team-hero p { color:#e7f0f2; max-width:60ch; margin:16px auto 0; position:relative; z-index:1; }

.team-cat { margin-bottom: clamp(40px,6vw,64px); }
.team-cat-head { display:flex; align-items:center; gap:16px; margin-bottom:30px; }
.team-cat-head h2 { font-size: clamp(1.4rem,3vw,2rem); white-space:nowrap; }
.team-cat-head .line { height:2px; background:linear-gradient(90deg, var(--gold), transparent); flex:1; border-radius:2px; }

.team-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap:26px; }
.team-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); max-width:760px; }
@media (max-width:640px){ .team-grid, .team-grid.two { grid-template-columns:1fr; } }

.team-card { background:#fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border:1px solid rgba(38,38,38,.06); overflow:hidden; display:flex; flex-direction:column; transition: transform .25s, box-shadow .25s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card .photo { width:100%; aspect-ratio: 1/1; object-fit:cover; object-position: center 20%; background:var(--teal-soft); }
.team-card .tc-body { padding: 22px 24px 24px; display:flex; flex-direction:column; flex:1; }
.team-card h3 { font-size:1.22rem; margin-bottom:4px; }
.team-card .role { font-family:var(--font-title); font-weight:700; color:var(--gold-dark); font-size:.9rem; margin-bottom:12px; }
.team-card .bio { font-size:.95rem; color:var(--ink-soft); margin-bottom:16px; flex:1; }
.team-card .li-link { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-title); font-weight:700; font-size:.86rem; color:var(--teal); align-self:flex-start; padding:8px 14px; border:1.5px solid var(--teal-soft); border-radius:var(--r-pill); transition: background .2s, color .2s, border-color .2s; }
.team-card .li-link:hover { background:var(--teal); color:#fff; border-color:var(--teal); }
.team-card .li-link svg { width:16px; height:16px; }

/* Hero : titre plus fin et un peu plus compact (garde la place pour l'image) */
.hero h1 { font-weight: 700; letter-spacing: -0.015em; font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
.hero h1 span.nw2 { color: var(--ink); white-space: nowrap; }
@media (max-width: 560px) { .hero h1 span.nw2 { white-space: normal; } }
/* Accroche : ligne 1 un peu plus grosse et sur une ligne */
.hero .lead { line-height: 1.7; }
.hero .lead .lead-1 { font-weight: 700; font-size: 1.06em; color: var(--ink); white-space: nowrap; }
/* Conviction : italique Montserrat, plus grosse, noire */
.hero .lead .conviction { font-family: var(--font-title); font-style: italic; font-weight: 900; color: var(--ink); font-size: 1.12em; display: inline-block; white-space: nowrap; -webkit-text-stroke: 0.4px var(--ink); }
@media (max-width: 720px) {
  .hero .lead .conviction, .hero .lead .lead-1 { white-space: normal; }
}

/* ---------- HERO : bulles compactes sur smartphone ---------- */
@media (max-width: 560px) {
  .hero-visual { max-width: 320px; }
  .hero-badge { padding: 6px 9px; gap: 7px; border-radius: 13px; }
  .hero-badge b { font-size: .9rem; }
  .hero-badge small { font-size: .58rem; }
  .hero-badge .ic { width: 24px; height: 24px; border-radius: 8px; }
  .hero-badge .ic svg { width: 14px; height: 14px; }
  .hero-badge.b1 { top: -4%; right: -7%; }
  .hero-badge.b2 { bottom: -3%; left: -6%; }
  .hero-logo { left: -6%; top: -5%; padding: 3px; }
  .hero-logo img { width: 58px; }
  .hero-flag { right: -6%; bottom: -4%; padding: 5px 8px; }
  .hero-flag img { width: 40px; margin-bottom: 2px; }
  .hero-flag span { font-size: .52rem; }
}

/* ============ TÉMOIGNAGES VIDÉOS ============ */
.tv-intro { padding: clamp(34px,5vw,60px) 0 8px; text-align:center; }
.tv-intro .lead { margin-inline:auto; }
.tv-stats { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin:26px auto 0; max-width:760px; }
.tv-stat { background:#fff; border:1px solid rgba(38,38,38,.07); box-shadow:var(--shadow-sm); border-radius:var(--r-pill); padding:10px 20px; font-family:var(--font-title); font-weight:700; color:var(--teal); font-size:.94rem; display:inline-flex; align-items:center; gap:9px; }
.tv-stat b { color:var(--gold-dark); font-size:1.05rem; }
.tv-section { padding: clamp(30px,4vw,50px) 0 clamp(50px,6vw,80px); }
.tv-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(288px,1fr)); gap:26px; }
@media (max-width:620px){ .tv-grid { grid-template-columns:1fr; } }
.tv-card { background:#fff; border-radius:var(--r-lg); box-shadow:var(--shadow-sm); border:1px solid rgba(38,38,38,.06); overflow:hidden; display:flex; flex-direction:column; transition:transform .25s, box-shadow .25s; }
.tv-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.tv-frame { position:relative; width:100%; aspect-ratio:16/9; background:linear-gradient(135deg, var(--teal), var(--teal-dark)); cursor:pointer; overflow:hidden; }
.tv-frame::after { content:""; position:absolute; width:230px; height:230px; border-radius:50%; background:rgba(232,174,76,.16); top:-90px; right:-70px; }
.tv-frame .tv-thumb { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .4s; }
.tv-frame.loaded .tv-thumb { opacity:1; }
.tv-name-badge { position:absolute; left:16px; bottom:14px; z-index:2; font-family:var(--font-title); font-weight:800; color:#fff; font-size:1.24rem; text-shadow:0 2px 10px rgba(0,0,0,.35); }
.tv-name-badge span { display:block; font-weight:600; font-size:.72rem; letter-spacing:.13em; text-transform:uppercase; color:var(--gold); margin-bottom:2px; text-shadow:none; }
.tv-play { position:absolute; z-index:2; top:50%; left:50%; transform:translate(-50%,-50%); width:66px; height:66px; border-radius:50%; background:var(--gold); display:flex; align-items:center; justify-content:center; box-shadow:0 10px 28px rgba(0,0,0,.3); transition:transform .25s, background .25s; }
.tv-frame:hover .tv-play { transform:translate(-50%,-50%) scale(1.08); background:#fff; }
.tv-play svg { width:26px; height:26px; margin-left:4px; fill:var(--teal); }
.tv-frame:hover .tv-play svg { fill:var(--teal); }
.tv-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.tv-body { padding:16px 20px 20px; display:flex; flex-direction:column; gap:4px; flex:1; }
.tv-body h3 { font-size:1.12rem; margin:0; }
.tv-role { font-family:var(--font-title); font-weight:700; color:var(--gold-dark); font-size:.82rem; }
.tv-theme { font-size:.95rem; color:var(--ink-soft); font-style:italic; margin:2px 0 0; }
.tv-consent { font-size:.82rem; color:var(--muted, #6b6b6b); text-align:center; margin-top:26px; }
.tv-consent svg { width:14px; height:14px; vertical-align:-2px; margin-right:4px; stroke:var(--teal); }

/* ============ FORMATIONS COMPLÉMENTAIRES + CALENDRIER ============ */
.fc-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); gap:28px; }
@media (max-width:640px){ .fc-grid { grid-template-columns:1fr; } }
.fc-card { background:#fff; border-radius:var(--r-lg); box-shadow:var(--shadow-sm); border:1px solid rgba(38,38,38,.06); overflow:hidden; display:flex; flex-direction:column; transition:transform .25s, box-shadow .25s; }
.fc-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.fc-imgwrap { position:relative; width:100%; aspect-ratio:1/1; background:var(--teal-soft); overflow:hidden; }
.fc-imgwrap img { width:100%; height:100%; object-fit:cover; }
.fc-imgwrap.wide { aspect-ratio:16/9; }
.fc-pill { position:absolute; top:12px; left:12px; background:var(--gold); color:var(--ink); font-family:var(--font-title); font-weight:800; font-size:.72rem; letter-spacing:.04em; padding:5px 12px; border-radius:var(--r-pill); box-shadow:var(--shadow-sm); }
.fc-body { padding:20px 22px 22px; display:flex; flex-direction:column; flex:1; }
.fc-body h3 { font-size:1.16rem; margin:0 0 6px; }
.fc-body .fc-desc { font-size:.94rem; color:var(--ink-soft); margin:0 0 14px; flex:1; }
.fc-meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.fc-tag { font-family:var(--font-title); font-weight:700; font-size:.76rem; color:var(--teal); background:var(--teal-soft); padding:5px 11px; border-radius:var(--r-pill); }
.fc-tag.gold { color:var(--gold-dark); background:var(--gold-soft); }
.fc-card .btn { margin-top:auto; }

/* Calendrier — bloc dates */
.cal-dates { list-style:none; margin:0 0 16px; padding:0; display:flex; flex-direction:column; gap:8px; }
.cal-dates li { display:flex; gap:10px; align-items:flex-start; font-size:.9rem; color:var(--ink-soft); }
.cal-dates svg { width:16px; height:16px; flex:none; margin-top:2px; stroke:var(--gold-dark); }
.cal-dates b { color:var(--ink); font-family:var(--font-title); }
.cal-legend { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin:22px 0 8px; font-size:.9rem; color:var(--ink-soft); }
.cal-legend span { display:inline-flex; align-items:center; gap:7px; }
.cal-dot { width:11px; height:11px; border-radius:50%; }

/* ============ NAV DROPDOWN ============ */
.nav-links .has-dd { position:relative; }
.nav-links .dd-toggle { display:inline-flex; align-items:center; gap:5px; cursor:pointer; font-family:var(--font-title); font-weight:700; color:var(--ink); font-size:.96rem; background:none; border:0; padding:0; }
.nav-links .dd-toggle:hover { color:var(--teal); }
.nav-links .dd-toggle svg { width:13px; height:13px; transition:transform .2s; }
.nav-links .has-dd:hover .dd-toggle svg, .nav-links .has-dd:focus-within .dd-toggle svg { transform:rotate(180deg); }
.nav-links .dd-menu { position:absolute; top:calc(100% + 12px); left:50%; transform:translateX(-50%) translateY(8px); background:#fff; border:1px solid rgba(38,38,38,.08); box-shadow:var(--shadow-lg); border-radius:14px; padding:8px; min-width:264px; opacity:0; visibility:hidden; transition:opacity .2s, transform .2s; z-index:120; }
.nav-links .dd-menu::before { content:""; position:absolute; top:-14px; left:0; right:0; height:14px; }
.nav-links .has-dd:hover .dd-menu, .nav-links .has-dd:focus-within .dd-menu { opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.nav-links .dd-menu a { display:flex; flex-direction:column; gap:1px; padding:9px 13px; border-radius:9px; font-size:.92rem; font-weight:700; color:var(--ink); }
.nav-links .dd-menu a small { font-weight:600; font-size:.76rem; color:var(--muted,#6b6b6b); font-family:var(--font-body); }
.nav-links .dd-menu a:hover { background:var(--teal-soft); color:var(--teal); }
.nav-links .dd-menu .dd-sep { height:1px; background:rgba(38,38,38,.08); margin:6px 4px; }
@media (max-width:1000px){ .nav-links .has-dd { display:none; } }
.mobile-menu .mm-sub { font-size:.98rem !important; padding-left:16px !important; color:var(--ink-soft) !important; border-bottom:1px solid rgba(38,38,38,.06) !important; }
.mobile-menu .mm-label { font-family:var(--font-title); font-weight:800; font-size:.8rem; text-transform:uppercase; letter-spacing:.1em; color:var(--gold-dark); padding:14px 0 4px; }

/* ============ FICHE FORMATION (détail) ============ */
.det-hero { background:linear-gradient(135deg, var(--teal), var(--teal-dark)); color:#fff; padding:calc(var(--nav-h) + 46px) 0 56px; position:relative; overflow:hidden; }
.det-hero::after { content:""; position:absolute; width:420px; height:420px; border-radius:50%; background:rgba(232,174,76,.13); top:-150px; right:-110px; }
.det-hero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:44px; align-items:center; position:relative; z-index:1; }
@media (max-width:900px){ .det-hero-grid { grid-template-columns:1fr; gap:26px; } }
.det-hero .eyebrow { background:rgba(255,255,255,.15); color:var(--gold); }
.det-hero h1 { color:#fff; font-size:clamp(1.9rem,4vw,2.7rem); margin:14px 0 10px; }
.det-hero .det-tagline { color:#e7f0f2; font-size:1.12rem; margin-bottom:20px; }
.det-tags { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.det-tags span { font-family:var(--font-title); font-weight:700; font-size:.78rem; padding:6px 13px; border-radius:var(--r-pill); background:rgba(255,255,255,.14); color:#fff; }
.det-tags span.gold { background:var(--gold); color:var(--ink); }
.det-hero-img { border-radius:var(--r-lg); box-shadow:var(--shadow-lg); width:100%; aspect-ratio:1/1; object-fit:cover; }
.det-hero-img.wide { aspect-ratio:16/9; }
.det-hero .btn-group { flex-wrap:wrap; }
.det-body { padding:clamp(40px,6vw,72px) 0; }
.det-grid { display:grid; grid-template-columns:1.4fr .9fr; gap:46px; align-items:start; }
@media (max-width:900px){ .det-grid { grid-template-columns:1fr; gap:34px; } }
.det-main h2 { font-size:1.5rem; margin:0 0 16px; }
.det-main h2:not(:first-child) { margin-top:40px; }
.det-prog-group { margin-bottom:18px; }
.det-prog-group h3 { font-size:1.05rem; color:var(--teal); margin:0 0 8px; }
.det-aside { position:sticky; top:calc(var(--nav-h) + 16px); background:#fff; border:1px solid rgba(38,38,38,.08); border-radius:var(--r-lg); box-shadow:var(--shadow-md); padding:26px 24px; }
.det-aside h3 { font-size:1.1rem; margin:0 0 14px; }
.det-infos { list-style:none; margin:0 0 18px; padding:0; display:flex; flex-direction:column; gap:12px; }
.det-infos li { display:flex; gap:11px; align-items:flex-start; font-size:.92rem; color:var(--ink-soft); }
.det-infos svg { width:18px; height:18px; flex:none; margin-top:1px; stroke:var(--gold-dark); }
.det-infos b { display:block; color:var(--ink); font-family:var(--font-title); font-size:.95rem; }
.det-indics { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:6px 0 4px; }
.det-indic { background:var(--teal-soft); border-radius:14px; padding:16px 10px; text-align:center; }
.det-indic b { display:block; font-family:var(--font-title); font-weight:900; color:var(--teal); font-size:1.4rem; line-height:1; }
.det-indic small { display:block; font-size:.72rem; color:var(--ink-soft); margin-top:5px; }
.det-indics-band { background:var(--gold-soft); }
.det-hero .btn-outline { border-color:rgba(255,255,255,.65); color:#fff; }
.det-hero .btn-outline:hover { background:#fff; color:var(--teal); border-color:#fff; }

/* ============ BOUTON WEBINAIRE (nav) ============ */
.btn-webinar { display:inline-flex; align-items:center; gap:7px; }
.btn-webinar svg { width:15px; height:15px; }
@media (min-width:1001px){
  .nav-cta { gap:9px; }
  .nav-cta .btn { padding-inline:15px; font-size:.9rem; }
  .nav-links { gap:16px; }
}
.mobile-menu .btn-webinar { justify-content:center; }

/* Témoignages — nom du diplômé dans le corps de la carte (Bleu de Prusse) */
.tv-name { font-family:var(--font-title); font-weight:800; color:var(--teal); font-size:1.18rem; line-height:1.2; margin:0 0 4px; }
