/* ============================================================
   Atypikali — feuille de style principale
   Design d'origine : atypikali.com (refonte statique)
   ============================================================ */

:root {
  --navy: #001a4d;
  --ink: #0b1420;
  --cyan: #01dbee;
  --cyan-dark: #00c3d4;
  --copper: #da8e45;
  --copper-deep: #e27c41;
  --cream: #fdfaf4;
  --card: #fffdf8;
  --sky: #c7e6f0;
  --gray: #707a84;
  --white: #ffffff;
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif;
  --sans: 'Lato', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --radius: 20px;
  --radius-lg: 26px;
  --shadow: 0 10px 34px rgba(11, 20, 32, .08);
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 400; line-height: 1.3; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  background: var(--cyan);
  border: 1.5px solid var(--cyan);
  border-radius: 999px;
  padding: 12px 28px;
  text-decoration: none;
  text-align: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
  cursor: pointer;
}
.btn:hover { background: var(--cyan-dark); border-color: var(--cyan-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-navy:hover { background: #00133a; border-color: #00133a; }

/* ---------- Labels de section ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--copper-deep);
  text-decoration: underline;
  text-underline-offset: 6px;
  margin-bottom: 18px;
}

/* ---------- Header ---------- */
.site-header { background: var(--cream); }
.site-header .container {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 28px;
  padding-top: 26px; padding-bottom: 26px;
}
.logo { flex: 0 0 auto; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; flex-wrap: nowrap; gap: 30px; margin-left: 8px; white-space: nowrap; }
.nav a {
  font-family: var(--serif);
  font-size: 17.5px;
  color: var(--navy);
  text-decoration: none;
  transition: color .2s ease;
}
.nav a:hover, .nav a.active { color: var(--copper-deep); }
.header-cta { margin-left: auto; flex: 0 0 auto; }
.header-cta .btn { font-size: 15px; padding: 10px 22px; line-height: 1.3; white-space: nowrap; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2.5px; background: var(--navy);
  margin: 5px auto; border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .42;
}
.hero-inner {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  padding: 110px 24px 120px;
}
.hero .eyebrow { color: var(--copper-deep); }
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 400;
  max-width: 840px;
  margin-bottom: 28px;
}
.hero p { max-width: 640px; font-size: 16px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-white { background: var(--white); }

.section-title {
  font-size: clamp(32px, 3.6vw, 46px);
  text-align: center;
  margin-bottom: 26px;
}
.section-title.bold { font-weight: 700; }
.section-title .underline-copper {
  display: inline-block;
  border-bottom: 2px solid var(--copper-deep);
  padding-bottom: 8px;
}
.section-lead {
  max-width: 900px; margin: 0 auto 40px;
  text-align: center;
}
.sub-title {
  font-size: clamp(26px, 2.6vw, 34px);
  margin: 40px 0 24px;
}
.center { text-align: center; }

/* ---------- Cartes génériques ---------- */
.panel {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 64px;
}
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.split.reverse { grid-template-columns: 1.05fr 1fr; }
.split h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 22px; }
.split p { margin-bottom: 16px; }
.split .btn { margin-top: 14px; }
.split img { border-radius: 6px; width: 100%; height: auto; object-fit: cover; }
.split a.link { color: var(--copper-deep); }

.title-sans {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 42px);
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.25;
}

/* ---------- Carrousel de cards ---------- */
.carousel-wrap { position: relative; padding: 0 46px; }
.carousel {
  display: flex; gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 4px 24px;
}
.carousel::-webkit-scrollbar { display: none; }
.card {
  flex: 0 0 calc((100% - 60px) / 3);
  min-width: 300px;
  scroll-snap-align: start;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.card-img { width: 100%; height: 230px; object-fit: cover; }
.card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.card-body p { font-size: 15px; margin-bottom: 14px; }
.card-meta { font-size: 15px; margin-bottom: 4px; }
.card-meta strong { font-weight: 700; }
.card-body .btn { margin-top: auto; align-self: flex-start; font-size: 16px; }
.carousel-arrow {
  position: absolute; top: 42%;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: var(--card); box-shadow: var(--shadow);
  color: var(--navy); font-size: 22px; line-height: 1;
  cursor: pointer; z-index: 2;
}
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin: 6px 0 30px; }
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0;
  background: rgba(0, 26, 77, .25); cursor: pointer; padding: 0;
}
.carousel-dots button.active { background: var(--navy); transform: scale(1.25); }

/* ---------- Services (3 colonnes sur navy) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin-top: 60px; }
.service { display: flex; flex-direction: column; align-items: flex-start; }
.service .btn { margin-top: auto; }
.service img { width: 100%; height: 230px; object-fit: cover; border-radius: 4px; }
.service h3 { font-size: 30px; margin: 26px 0 4px; }
.service .service-sub { color: var(--copper-deep); font-size: 16px; margin-bottom: 16px; }
.service p { font-size: 16px; margin-bottom: 22px; }

/* ---------- Atouts (2x2) ---------- */
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px;
  max-width: 1150px; margin: 50px auto 0;
}
.feature {
  border-radius: var(--radius);
  padding: 52px 40px;
  text-align: center;
  background: var(--card);
  box-shadow: var(--shadow);
}
.feature.copper { background: var(--copper); }
.feature svg { width: 54px; height: 54px; margin: 0 auto 22px; color: var(--navy); }
.feature h3 { font-size: 29px; font-weight: 700; margin-bottom: 16px; }
.feature p { font-size: 15px; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin: 50px 0 40px; }
.stat { text-align: center; }
.stat .num {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(38px, 3.8vw, 56px);
  color: var(--copper); line-height: 1.1; margin-bottom: 14px;
}
.stat p { font-size: 15px; }
.stat .src { font-size: 13px; font-style: italic; color: var(--ink); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details {
  background: var(--card);
  border: 1px solid #e3ddd2;
  margin-bottom: 12px;
}
.faq summary {
  list-style: none;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  font-size: 16px; color: var(--copper-deep);
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .arrow { transition: transform .2s ease; flex: 0 0 auto; }
.faq details[open] summary .arrow { transform: rotate(-90deg); }
.faq .faq-body { padding: 4px 24px 22px 56px; font-size: 15.5px; }

/* ---------- Avis ---------- */
.avis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.avis-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.avis-stars { color: #f6bb06; letter-spacing: 3px; font-size: 17px; }
.avis-card p { font-size: 14.5px; }
.avis-card .avis-nom { font-weight: 700; font-size: 15px; margin-top: auto; }
.avis-card .avis-src { font-size: 13px; color: var(--gray); }

/* ---------- Ressources ---------- */
.ressources-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  align-items: stretch; margin-top: 60px;
}
.ressource { text-align: left; padding: 36px 30px; display: flex; flex-direction: column; }
.ressource.elevated {
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.ressource img { width: 100%; height: 300px; object-fit: contain; margin-bottom: 30px; }
.ressource h3 { font-size: 32px; margin-bottom: 18px; }
.ressource p { font-size: 15.5px; margin-bottom: 26px; }
.ressource .btn { align-self: flex-start; margin-top: auto; }

/* ---------- CTA bandeau ---------- */
.cta-band { text-align: center; padding: 110px 24px; }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 20px; }
.cta-band p { max-width: 760px; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--copper);
  padding: 44px 0 56px;
  font-size: 15px;
}
.footer-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: start;
}
.footer-center { text-align: center; min-width: 0; }
.footer-links { white-space: nowrap; }
.footer-links a { color: var(--copper-deep); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links .sep { color: var(--copper-deep); margin: 0 6px; }
.footer-social { display: flex; justify-content: center; gap: 18px; margin-top: 18px; }
.footer-social a { color: var(--copper-deep); }
.footer-social svg { width: 20px; height: 20px; }
.footer-contact { text-align: right; color: var(--ink); font-size: 14px; }
.footer-contact a { color: var(--ink); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .panel { padding: 40px 28px; }
  .services-grid { grid-template-columns: 1fr; gap: 50px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .avis-grid { grid-template-columns: 1fr 1fr; }
  .ressources-grid { grid-template-columns: 1fr; }
  .card { flex-basis: calc((100% - 30px) / 2); }
}
@media (max-width: 1120px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
  .site-header.open .nav {
    display: flex; flex-direction: column; gap: 18px; white-space: normal;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); padding: 24px;
    box-shadow: var(--shadow); z-index: 30; margin: 0;
  }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero-inner { padding: 70px 24px 80px; }
  .stats-grid, .avis-grid { grid-template-columns: 1fr; }
  .card { flex-basis: 100%; min-width: 260px; }
  .carousel-wrap { padding: 0 8px; }
  .carousel-arrow { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { text-align: center; }
}

/* ---------- Hero split (pages intérieures) ---------- */
.hero-split { background: var(--navy); color: var(--white); }
.hero-split .hero-grid {
  max-width: var(--container); margin: 0 auto;
  padding: 90px 24px 100px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.hero-split h1 { color: var(--white); font-size: clamp(32px, 3.8vw, 50px); margin-bottom: 24px; }
.hero-split p { margin-bottom: 16px; }
.hero-split .btn { margin-top: 18px; }
.hero-split img { border-radius: 4px; width: 100%; object-fit: cover; }

/* Titres soulignés cuivre */
.h-underline { display: inline-block; border-bottom: 2px solid var(--copper-deep); padding-bottom: 10px; }
.section-title-copper {
  color: var(--copper); text-align: center;
  font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 22px;
}
.section-navy .lead-center { text-align: center; max-width: 1100px; margin: 0 auto 8px; }

/* Rangée de 4 cards claires sur navy */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 60px; }
.pillar {
  background: var(--card); border-radius: var(--radius);
  padding: 56px 30px 40px; box-shadow: var(--shadow);
}
.pillar h3 { font-size: 27px; text-align: center; margin-bottom: 28px; }
.pillar p, .pillar li { font-size: 15px; }
.pillar p { margin-bottom: 14px; }
.pillar ul { padding-left: 20px; }

/* Listes à puces standard */
.bullets { padding-left: 22px; margin: 0 0 18px; }
.bullets li { margin-bottom: 6px; }

/* Liste d'outils (nom en gras + description) */
.tools-list { max-width: 960px; margin: 30px auto 0; padding-left: 26px; }
.tools-list li { margin-bottom: 14px; font-size: 16px; }
.tools-list li strong { font-weight: 700; }

/* CTA aligné à gauche */
.cta-left { padding: 100px 0; }
.cta-left h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 26px; }
.cta-left p { margin-bottom: 8px; }
.cta-left .btn { margin-top: 26px; }

@media (max-width: 1024px) {
  .hero-split .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* Footer avec logo */
.footer-inner { grid-template-columns: 200px 1fr 220px; align-items: center; }
.footer-logo img { width: 100px; height: auto; }
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
}

/* ---------- Section cuivre ---------- */
.section-copper { background: var(--copper); }
.section-copper h2, .section-copper .section-title { color: var(--navy); }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 56px; }
.sol-card {
  background: var(--card); border-radius: var(--radius);
  padding: 48px 36px; text-align: center;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.sol-card.tint { background: #d1802f; }
.sol-card h3 { font-size: 28px; margin-bottom: 22px; }
.sol-card p { font-size: 15.5px; margin-bottom: 26px; }
.sol-card .btn {
  margin-top: auto; align-self: center;
  height: 64px; padding: 8px 28px;
  font-size: 16px; line-height: 1.35;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Chaîne de difficultés (flèches) ---------- */
.chain { display: flex; align-items: stretch; justify-content: center; gap: 14px; margin-top: 50px; flex-wrap: wrap; }
.chain-item {
  background: var(--card); border-radius: 14px; box-shadow: var(--shadow);
  padding: 30px 24px; max-width: 200px; font-size: 15px;
  display: flex; align-items: center;
}
.chain-arrow { display: flex; align-items: center; color: var(--copper-deep); font-size: 26px; }

/* ---------- Cas clients ---------- */
.cases-title { color: var(--cyan); font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 40px; }
.case-slide {
  flex: 0 0 100%; min-width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  scroll-snap-align: start;
  background: none; box-shadow: none; border-radius: 0; overflow: visible;
}
.case-slide h3 { color: var(--white); font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 20px; }
.case-slide p { font-size: 15.5px; margin-bottom: 12px; }
.case-slide .case-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.case-slide img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 4px; background: var(--white); }
.section-navy .carousel-dots button { background: rgba(255,255,255,.35); }
.section-navy .carousel-dots button.active { background: var(--white); }

/* ---------- Hero photo centré (à propos) ---------- */
.hero-center { text-align: center; }
.hero-center .hero-inner { padding: 150px 24px 170px; }
.hero-center h1 { margin: 0 auto 24px; }
.hero-center p { max-width: 860px; margin: 0 auto; }

/* ---------- Cards à icônes ---------- */
.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1240px; margin: 50px auto 0; }
.icon-card {
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
  padding: 50px 34px; text-align: center;
}
.icon-card svg { width: 46px; height: 46px; margin: 0 auto 24px; color: var(--copper-deep); }
.icon-card h3 { font-size: 26px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e27c41' stroke-width='3'%3E%3Cpath d='M3 13l6 6L21 5'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
  .sol-grid, .icon-cards { grid-template-columns: 1fr; }
  .case-slide { grid-template-columns: 1fr; gap: 30px; }
  .chain { flex-direction: column; align-items: center; }
  .chain-arrow { transform: rotate(90deg); }
  .chain-item { max-width: 340px; }
}

/* ---------- Parcours (2x2 avec pastilles) ---------- */
.parcours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 56px; max-width: 1190px; margin: 60px auto 0; }
.parcours-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 50px 50px 44px; display: flex; flex-direction: column;
}
.parcours-card h3 { font-size: 32px; text-align: center; margin-bottom: 30px; }
.parcours-card h3 .dot { display: inline-block; width: 26px; height: 26px; border-radius: 50%; margin-right: 10px; vertical-align: baseline; }
.dot-navy { background: var(--navy); } .dot-cyan { background: var(--cyan); }
.dot-sky { background: var(--sky); } .dot-copper { background: var(--copper); }
.parcours-card .p-sub { font-weight: 700; margin-bottom: 10px; }
.parcours-card p { font-size: 15.5px; margin-bottom: 14px; }
.parcours-card .btn { margin: 18px auto 0; margin-top: auto; }

/* ---------- Témoignages avec guillemets ---------- */
.quote-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; }
.quote-card { background: #ececec; border-radius: 8px; padding: 40px 34px; box-shadow: var(--shadow); }
.quote-card .qmark { color: var(--copper-deep); font-family: Georgia, serif; font-size: 60px; line-height: .6; margin-bottom: 24px; }
.quote-card p { font-size: 15.5px; margin-bottom: 16px; }
.quote-card .q-author { font-family: var(--serif); color: var(--navy); font-size: 17px; }

/* ---------- Grille formations (3 colonnes) ---------- */
.formations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 56px; }
.formation-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 46px 40px 50px; text-align: center; display: flex; flex-direction: column;
}
.formation-card .eyebrow-center { color: var(--copper-deep); font-family: var(--serif); font-weight: 700; font-size: 18px; margin-bottom: 22px; }
.formation-card h3 { font-size: 26px; font-weight: 700; margin-bottom: 22px; }
.formation-card p { font-size: 15.5px; margin-bottom: 26px; }
.formation-card .btn { margin: auto auto 0; }
.formation-card.navy-invert { background: var(--navy); border: 1px solid #12306b; }
.formation-card.navy-invert h3, .formation-card.navy-invert p { color: var(--white); }

/* ---------- Formulaire charte ---------- */
.charte-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.charte-grid h2 { color: var(--white); font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 26px; }
.form-card { background: var(--cream); border-radius: 16px; padding: 56px 60px; color: var(--ink); }
.form-card label { display: block; font-size: 14.5px; margin-bottom: 6px; }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-card .row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.form-card input[type="text"], .form-card input[type="email"], .form-card select, .form-card textarea {
  width: 100%; padding: 10px 12px; margin-bottom: 18px;
  border: 1px solid #c9c4b8; border-radius: 4px; background: var(--white);
  font-family: var(--sans); font-size: 15px; color: var(--ink);
}
.form-card .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin-bottom: 22px; }
.form-card .check input { margin-top: 5px; }
.btn-dark {
  display: block; width: 100%;
  background: #222; color: var(--white); border: 0;
  font-family: var(--serif); font-weight: 700; font-size: 17px;
  padding: 16px; cursor: pointer; transition: background .2s ease;
}
.btn-dark:hover { background: #000; }

@media (max-width: 1024px) {
  .parcours-grid, .quote-cards, .formations-grid { grid-template-columns: 1fr; }
  .charte-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 36px 26px; }
  .form-card .row-3 { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Cards d'offres (4 colonnes) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.offer-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 44px 30px; display: flex; flex-direction: column;
}
.offer-card h3 { font-size: 26px; text-align: center; margin-bottom: 16px; }
.offer-card .offer-sub { text-align: center; font-style: italic; font-size: 14.5px; margin-bottom: 18px; }
.offer-card p, .offer-card li { font-size: 15px; }
.offer-card p { margin-bottom: 14px; }
.offer-card ul { padding-left: 20px; margin-bottom: 18px; }
.offer-card li { margin-bottom: 8px; }
.offer-card .btn { margin: auto auto 0; font-size: 15px; }
.offer-card.copper-tint { background: #d1802f; }
.offer-card.copper-tint h3 { color: var(--navy); }
.offer-card.navy-bg { background: var(--navy); }
.offer-card.navy-bg h3 { color: var(--copper); }
.offer-card.navy-bg p, .offer-card.navy-bg li, .offer-card.navy-bg .offer-sub { color: var(--white); }

/* ---------- Bandeau citation ---------- */
.quote-band { background: var(--navy); color: var(--white); padding: 110px 24px; text-align: center; }
.quote-band .quote-text { font-style: italic; font-size: clamp(20px, 2.2vw, 28px); }
.quote-band .quote-sig { font-family: 'La Belle Aurore', cursive; font-size: 24px; margin-top: 30px; text-align: right; max-width: 900px; margin-left: auto; margin-right: auto; }
.quote-band.on-cream { background: transparent; color: var(--navy); }
.quote-band .quote-author { font-size: 17px; margin-top: 24px; }

@media (max-width: 1024px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- Fiche formation ---------- */
.fiche-hero { background: var(--cream); }
.fiche-hero .hero-grid {
  max-width: var(--container); margin: 0 auto;
  padding: 70px 24px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start;
}
.badge-pill {
  display: inline-block;
  font-family: var(--serif); font-weight: 700; font-size: 16px;
  color: var(--navy); background: rgba(1, 219, 238, .25);
  border: 1.5px solid var(--cyan); border-radius: 999px;
  padding: 6px 22px; margin-bottom: 26px;
}
.fiche-hero h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; margin-bottom: 22px; }
.fiche-hero .fiche-lead { margin-bottom: 30px; }
.fiche-hero .fiche-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.infos-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 40px 44px 50px;
}
.infos-card h2 { font-size: 26px; font-weight: 700; margin-bottom: 30px; }
.infos-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-tile {
  background: #f3ede2; border-radius: 14px;
  padding: 40px 20px; text-align: center;
  font-family: var(--serif); font-size: 17px; color: var(--navy);
}
.info-tile svg { width: 30px; height: 30px; margin: 0 auto 18px; color: var(--navy); }

/* Faite pour vous si */
.forvou-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 44px; }
.forvou-pill {
  display: flex; align-items: center; gap: 12px;
  background: #0b2a63; border: 1px solid #1b3d7d; border-radius: 12px;
  padding: 14px 24px; max-width: 500px;
}
.forvou-pill .check {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--cyan); display: flex; align-items: center; justify-content: center;
}
.forvou-pill .check svg { width: 14px; height: 14px; color: var(--navy); }
.forvou-pill span { font-family: var(--serif); font-weight: 700; font-size: 15.5px; color: var(--cyan); text-align: center; }

/* Bénéfices */
.eyebrow-cyan { color: #00b8cc; font-size: 15.5px; margin-bottom: 12px; display: inline-block; }
.benef-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 56px; margin-top: 44px; }
.benef-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 3px solid var(--cyan);
  padding: 40px 34px 46px;
}
.benef-card.navy-top { border-top-color: var(--navy); }
.benef-card .b-label { font-size: 14.5px; color: var(--gray); margin-bottom: 10px; }
.benef-card h3 { font-size: 27px; font-weight: 700; margin-bottom: 14px; }
.benef-card p, .benef-card li { font-size: 15.5px; }
.benef-card ul { padding-left: 20px; }
.benef-card li { margin-bottom: 8px; }

/* Programme */
.section-sky { background: var(--sky); }
.prog-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; align-items: start; }
.prog-grid h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; margin-bottom: 26px; }
.prog-aside p { margin-bottom: 14px; }
.prog-aside .btn { margin-top: 10px; }
.prog-modules { display: flex; flex-direction: column; gap: 26px; }
.prog-module { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 40px; }
.prog-module h3 { font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.prog-module ul { padding-left: 20px; }
.prog-module li { margin-bottom: 6px; font-size: 15.5px; }

/* Session */
.session-card { max-width: 430px; margin: 44px auto 0; }

@media (max-width: 1024px) {
  .fiche-hero .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .benef-grid { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .infos-tiles { grid-template-columns: 1fr; }
  .infos-card { padding: 28px 22px 34px; }
}

/* ---------- Ligne légale du footer ---------- */
.footer-legal {
  margin-top: 26px; padding-top: 18px;
  border-top: 1px solid #eadfc9;
  text-align: center; font-size: 12.5px; color: var(--gray);
}
.footer-legal p { margin: 2px 0; }

/* ---------- Correctifs responsive (QA) ---------- */
.formations-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.formations-grid > *, .parcours-grid > *, .offer-grid > *, .benef-grid > * { min-width: 0; }
.formation-card, .parcours-card, .offer-card { overflow-wrap: break-word; }
@media (max-width: 1024px) {
  .formations-grid.cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .formation-card { padding: 34px 22px 38px; }
  .parcours-card { padding: 36px 24px 34px; }
  .offer-card { padding: 34px 22px; }
  .pillar { padding: 40px 22px 32px; }
}

/* ============ Corrections fidélité (revue page par page) ============ */

/* Texte invisible : cartes claires dans les sections navy */
.section-navy .pillar h3, .section-navy .formation-card:not(.navy-invert) h3 { color: var(--navy); }
.section-navy .pillar p, .section-navy .pillar li,
.section-navy .formation-card:not(.navy-invert) p { color: var(--ink); }

/* Images des splits : recadrage paysage comme l'original */
.split img { max-height: 440px; object-fit: cover; }
.panel .split img { max-height: none; }

/* Heros intérieurs : titres et images aux proportions de l'original */
.hero-split h1 { font-size: clamp(30px, 2.8vw, 40px); }
.hero-split img { max-height: 380px; object-fit: cover; }
.hero-center h1 { font-size: clamp(30px, 3vw, 44px); }

/* Hero copper (accompagnement collectif) */
.hero-copper { background: var(--copper); }
.hero-copper h1 { color: var(--navy); }
.hero-copper p, .hero-copper .eyebrow { color: var(--ink); }
.hero-copper .eyebrow { text-decoration-color: var(--navy); }
.section-copper .cta-h2, .section-copper h2 { color: var(--navy); }

/* Soulignement blanc partiel dans les h1 de parcours */
.u-white { display: inline-block; border-bottom: 2px solid rgba(255,255,255,.85); padding-bottom: 4px; }

/* Cards à icônes (à propos) plus compactes */
.icon-cards { max-width: 1100px; }
.icon-card { padding: 30px 24px; }
.icon-card svg { width: 38px; height: 38px; margin-bottom: 16px; }
.icon-card h3 { font-size: 22px; }

/* Cartes : liseré discret comme l'original */
.card, .formation-card, .parcours-card { border: 1px solid #ece5d7; }
.formation-card.navy-invert { border-color: #12306b; }

/* Parcours : titres de cartes aux proportions d'origine */
.parcours-card h3 { font-size: 27px; }
.parcours-card h3 .dot { width: 20px; height: 20px; }

/* Carrousel de l'accueil : pleine largeur avec cartes qui dépassent */
.carousel-bleed { margin-inline: calc(50% - 50vw); padding-inline: 56px; }
.carousel-bleed .card { flex: 0 0 400px; }
@media (max-width: 720px) {
  .carousel-bleed { padding-inline: 16px; }
  .carousel-bleed .card { flex: 0 0 86%; }
}

/* Cas clients : photo pleine hauteur comme l'original */
.case-slide img { height: 600px; object-fit: cover; }
@media (max-width: 1024px) { .case-slide img { height: auto; max-height: 480px; } }
.section-navy h2.section-title-copper { color: var(--copper); }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--navy); color: var(--white);
  padding: 20px 24px;
  box-shadow: 0 -8px 30px rgba(11, 20, 32, .25);
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.cookie-inner p { flex: 1 1 420px; font-size: 14.5px; margin: 0; line-height: 1.55; }
.cookie-inner a { color: var(--cyan); }
.cookie-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.cookie-actions .btn { font-size: 15px; padding: 10px 22px; white-space: nowrap; }
.cookie-actions .btn-ghost {
  background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: var(--white);
}
.cookie-actions .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
@media (max-width: 720px) {
  .cookie-inner { gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
@media (max-width: 900px) {
  .footer-links { white-space: normal; }
}

/* ============ Fiche formation — structure Qualiopi ============ */

/* Fil d'ariane */
.breadcrumb { background: var(--cream); border-bottom: 1px solid #efe8da; font-size: 14px; }
.breadcrumb .container { padding-top: 12px; padding-bottom: 12px; }
.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--copper-deep); }
.breadcrumb span { margin: 0 10px; color: var(--gray); }
.breadcrumb em { font-style: normal; color: var(--navy); }

/* Badges */
.f-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.f-badge {
  font-family: var(--serif); font-weight: 700; font-size: 14.5px;
  color: var(--navy); background: rgba(1, 219, 238, .18);
  border: 1px solid var(--cyan); border-radius: 999px; padding: 5px 16px;
}

.btn-outline-navy {
  background: transparent; border-color: var(--navy); color: var(--navy);
  display: inline-flex; align-items: center; gap: 9px;
}
.btn-outline-navy:hover { background: rgba(0, 26, 77, .06); border-color: var(--navy); }
.btn-outline-navy svg { width: 18px; height: 18px; }

/* Carte tarif du hero */
.price-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 34px 38px 26px;
  border-top: 5px solid var(--cyan);
  max-width: 400px; justify-self: end; width: 100%;
}
.price-card .pc-label { text-align: center; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.price-card .pc-price { text-align: center; font-family: var(--serif); font-weight: 700; font-size: 44px; color: var(--navy); line-height: 1.15; margin-bottom: 18px; }
.pc-rows { border-top: 1px solid #ece5d7; padding-top: 18px; margin-bottom: 22px; }
.pc-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pc-ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; background: var(--cream); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.pc-ico svg { width: 20px; height: 20px; }
.pc-row span { display: block; font-size: 12.5px; color: var(--gray); line-height: 1.3; }
.pc-row strong { font-size: 14.5px; color: var(--navy); line-height: 1.35; }
.pc-note { text-align: center; font-size: 12.5px; color: var(--gray); margin-top: 12px; }

/* Format & tarif */
.format-card {
  display: inline-block; padding: 26px 58px;
  border: 2px solid var(--cyan); border-radius: 16px;
  background: rgba(1, 219, 238, .07);
}
.format-card .fc-duree { font-size: 16px; color: var(--ink); }
.format-card .fc-prix { font-family: var(--serif); font-weight: 700; font-size: 32px; color: var(--navy); }
.tarif-pill {
  display: inline-block; margin-top: 34px;
  font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--navy);
  background: rgba(218, 142, 69, .15); border: 1px solid var(--copper); border-radius: 999px;
  padding: 7px 22px;
}
.tarif-big { font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 4vw, 54px); color: var(--copper); margin-top: 10px; }

/* Objectifs pédagogiques */
.obj-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.obj-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--cream); border: 1px solid #ece5d7; border-radius: 12px;
  padding: 18px 22px;
}
.obj-check {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--cyan); color: var(--navy);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.obj-check svg { width: 13px; height: 13px; }
.obj-item p { font-size: 15.5px; margin: 0; }

/* Onglets */
.tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  background: var(--white); border: 1px solid #ece5d7; border-radius: 999px;
  padding: 6px; max-width: 860px; margin: 0 auto 44px;
}
.tab {
  flex: 1 1 auto; border: 0; background: none; cursor: pointer;
  font-family: var(--serif); font-weight: 700; font-size: 15.5px; color: var(--gray);
  border-radius: 999px; padding: 11px 20px; transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}
.tab:hover { color: var(--navy); }
.tab.active { background: var(--navy); color: var(--white); }
.tab-panel { display: none; max-width: 980px; margin: 0 auto; }
.tab-panel.active { display: block; }
.tab-panel h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.tab-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

/* Modules numérotés */
.modules { display: flex; flex-direction: column; gap: 22px; }
.module {
  background: var(--white); border: 1px solid #ece5d7; border-left: 4px solid var(--copper-deep);
  border-radius: 12px; padding: 24px 30px;
}
.module-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.module-num {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  color: var(--white); font-family: var(--serif); font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.module h3 { font-size: 21px; font-weight: 700; margin: 0; }
.module ul { padding-left: 22px; }
.module li { margin-bottom: 6px; font-size: 15.5px; }

/* Encadré note (certification interne) */
.note-box {
  margin-top: 28px; background: rgba(218, 142, 69, .1);
  border: 1px solid var(--copper); border-radius: 12px; padding: 22px 26px;
  font-size: 15px;
}

@media (max-width: 900px) {
  .fiche-hero .hero-grid { grid-template-columns: 1fr !important; }
  .price-card { justify-self: stretch; max-width: none; }
  .tab-cols { grid-template-columns: 1fr; gap: 30px; }
  .tabs { border-radius: 20px; }
  .tab { flex: 1 1 44%; }
}

/* ============ Sous-menu Formations ============ */
.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: 12px; }
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 18px; display: none; z-index: 40;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; }
.submenu-panel {
  background: var(--white); border: 1px solid #ece5d7; border-radius: 16px;
  box-shadow: 0 18px 50px rgba(11, 20, 32, .16);
  padding: 28px 32px; display: grid; grid-template-columns: repeat(4, auto); gap: 8px 42px;
  width: max-content; max-width: min(92vw, 1080px);
}
.submenu-col { min-width: 170px; }
.submenu-col p {
  font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--copper-deep); margin-bottom: 10px; font-weight: 700;
}
.submenu-col a {
  display: block; font-family: var(--sans); font-size: 14.5px; color: var(--ink);
  text-decoration: none; padding: 5px 0; white-space: nowrap;
}
.submenu-col a:hover { color: var(--copper-deep); }
.submenu-all {
  grid-column: 1 / -1; border-top: 1px solid #ece5d7; margin-top: 14px; padding-top: 14px;
}
.submenu-all a { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--navy) !important; text-decoration: none; }
.submenu-all a:hover { color: var(--copper-deep) !important; }
@media (max-width: 1120px) { .submenu { display: none !important; } .has-sub > a::after { content: ""; } }
.btn svg { width: 18px; height: 18px; vertical-align: -3px; }
.stats-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .stats-3 { grid-template-columns: 1fr; } }

/* ============ Dynamisme au survol (zoom façon focusforma) ============ */
.btn { transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px rgba(1, 219, 238, .35); }
.btn-navy:hover { box-shadow: 0 10px 24px rgba(0, 26, 77, .3); }
.btn-outline:hover, .btn-outline-navy:hover, .btn-ghost:hover { box-shadow: 0 10px 24px rgba(11, 20, 32, .18); }

.card, .formation-card, .parcours-card, .offer-card, .benef-card, .sol-card,
.icon-card, .quote-card, .avis-card, .pillar, .feature, .ressource.elevated,
.format-card, .module, .obj-item, .info-tile, .chain-item {
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover, .formation-card:hover, .parcours-card:hover, .offer-card:hover,
.benef-card:hover, .sol-card:hover, .icon-card:hover, .quote-card:hover,
.avis-card:hover, .pillar:hover, .feature:hover, .ressource.elevated:hover,
.format-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 46px rgba(11, 20, 32, .16);
}
.module:hover, .obj-item:hover, .chain-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 20, 32, .1);
}
.service img, .split img, .card-img { transition: transform .3s ease; }
.service:hover img { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .btn, .card, .formation-card, .parcours-card, .offer-card, .benef-card, .sol-card,
  .icon-card, .quote-card, .avis-card, .pillar, .feature, .ressource.elevated,
  .format-card, .module, .obj-item, .info-tile, .chain-item, .service img, .split img, .card-img {
    transition: none;
  }
  .btn:hover, .card:hover, .formation-card:hover, .parcours-card:hover, .offer-card:hover,
  .benef-card:hover, .sol-card:hover, .icon-card:hover, .quote-card:hover, .avis-card:hover,
  .pillar:hover, .feature:hover, .ressource.elevated:hover, .format-card:hover,
  .module:hover, .obj-item:hover, .chain-item:hover, .service:hover img {
    transform: none;
  }
}

/* Icônes des indicateurs « Nos résultats » */
.stat .stat-ico { width: 42px; height: 42px; margin: 0 auto 14px; display: block; }
html, body { overflow-x: clip; }

/* ============ Quiz — parcours guidé ============ */
.quiz-split { display: grid; grid-template-columns: 380px 1fr; min-height: 78vh; }

/* Panneau gauche */
.quiz-aside {
  background: linear-gradient(160deg, var(--navy), #00112f);
  color: #fff; padding: 54px 44px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.quiz-aside::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 219, 238, .16), transparent 70%);
  bottom: -180px; left: -140px;
}
.qa-brand {
  font-family: var(--serif); font-size: 13px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 40px; position: relative; z-index: 2;
}
.quiz-aside h2 {
  font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.3;
  color: #fff; margin-bottom: 32px; position: relative; z-index: 2;
}
.qa-steps { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 2px; margin-bottom: 34px; }
.qa-step {
  display: flex; align-items: center; gap: 14px; padding: 8px 0;
  font-size: 14.5px; color: rgba(255, 255, 255, .5); transition: color .25s ease;
}
.qa-step .n {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 12.5px; transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.qa-step.done { color: rgba(255, 255, 255, .8); }
.qa-step.done .n { background: var(--copper); border-color: var(--copper); color: #fff; }
.qa-step.now { color: #fff; }
.qa-step.now .n { background: var(--cyan); border-color: var(--cyan); color: var(--navy); font-weight: 700; }
.qa-quote {
  position: relative; z-index: 2; margin-top: auto; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--serif); font-style: italic; font-size: 15.5px;
  color: rgba(255, 255, 255, .75); line-height: 1.5;
}
.qa-quote span { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--cyan); letter-spacing: .06em; }

/* Panneau en mode résultat */
.qa-glyph { position: relative; z-index: 2; text-align: center; margin: 16px 0 24px; }
.qa-glyph svg { width: 118px; height: 118px; }
.qa-type { position: relative; z-index: 2; font-family: var(--serif); font-size: 29px; text-align: center; color: #fff; margin-bottom: 6px; }
.qa-pct { position: relative; z-index: 2; text-align: center; font-size: 13px; color: var(--cyan); letter-spacing: .1em; text-transform: uppercase; }

/* Barre compacte mobile */
.quiz-bar { display: none; background: var(--navy); color: #fff; padding: 16px 22px; }
.quiz-bar .qb-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
.quiz-bar .qb-step { font-family: var(--serif); font-size: 15px; color: #fff; }
.quiz-bar .qb-count { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); flex: 0 0 auto; }
.quiz-bar .qb-track { height: 3px; background: rgba(255, 255, 255, .18); border-radius: 3px; overflow: hidden; }
.quiz-bar .qb-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--copper), var(--cyan)); transition: width .3s ease; }

/* Colonne de droite */
.quiz-main { padding: 64px 68px; display: flex; flex-direction: column; justify-content: center; background: var(--cream); }
.quiz-main .qz-count {
  font-family: var(--serif); font-size: 13.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--copper-deep); margin-bottom: 14px;
}
.quiz-main h1, .quiz-main h2.qz-h {
  font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 42px);
  color: var(--navy); line-height: 1.24; margin-bottom: 38px; max-width: 20ch;
}
.qz-options { display: flex; flex-direction: column; gap: 12px; max-width: 660px; }
.qz-option {
  display: flex; align-items: center; gap: 18px; padding: 19px 24px; cursor: pointer;
  background: #fff; border: 1.5px solid #e9e1d1; border-radius: 12px;
  text-align: left; font-family: var(--sans); font-size: 16px; color: var(--ink);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.qz-option:hover, .qz-option:focus-visible {
  border-color: var(--cyan); box-shadow: 0 12px 30px rgba(1, 219, 238, .18);
  transform: translateX(6px); outline: none;
}
.qz-option .tick {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid #cfc7b6; position: relative; transition: background .22s ease, border-color .22s ease;
}
.qz-option:hover .tick, .qz-option:focus-visible .tick { border-color: var(--cyan); background: var(--cyan); }
.qz-option:hover .tick::after, .qz-option:focus-visible .tick::after {
  content: ""; position: absolute; inset: 0; background: no-repeat center / 11px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23001a4d' stroke-width='3'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7-8'/%3E%3C/svg%3E");
}
.qz-foot { margin-top: 30px; font-size: 13.5px; color: #8a8578; font-style: italic; }
.quiz-main .meta { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--copper-deep); margin-bottom: 24px; }
.quiz-main p.body { font-size: 16px; margin-bottom: 15px; max-width: 58ch; }
.qz-note {
  margin-top: 22px; padding: 18px 22px; background: #fff; border: 1px solid #e9e1d1;
  border-left: 4px solid var(--copper); border-radius: 10px; font-size: 14.5px; max-width: 58ch;
}
.qz-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Formulaire email */
.qz-form { max-width: 560px; }
.qz-form label { display: block; font-size: 14.5px; margin-bottom: 6px; }
.qz-form input[type="text"], .qz-form input[type="email"] {
  width: 100%; padding: 12px 14px; margin-bottom: 18px;
  border: 1.5px solid #d9d2c2; border-radius: 8px; background: #fff;
  font-family: var(--sans); font-size: 15.5px; color: var(--ink);
}
.qz-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(1, 219, 238, .18); }
.qz-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qz-form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin-bottom: 20px; }
.qz-form .check input { margin-top: 4px; }
.qz-reassure { font-size: 13px; color: #8a8578; margin-top: 12px; }

@media (max-width: 900px) {
  .quiz-split { grid-template-columns: 1fr; min-height: 0; }
  .quiz-aside { display: none; }
  .quiz-aside.as-result { display: flex; padding: 40px 26px 34px; }
  .quiz-bar { display: block; }
  .quiz-bar.hidden { display: none; }
  .quiz-main { padding: 36px 24px 48px; }
  .quiz-main h1, .quiz-main h2.qz-h { margin-bottom: 26px; }
  .qz-form .row { grid-template-columns: 1fr; gap: 0; }
}

/* Encart quiz accueil */
.quiz-band {
  background: var(--card); border: 1px solid #ece5d7; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 44px 52px;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.quiz-band h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; margin-bottom: 8px; }
.quiz-band p { margin: 0; }
.quiz-band > div:first-child { flex: 1 1 420px; }
.quiz-band .btn { flex: 0 0 auto; }

/* Preuve sociale hero */
.hero-proof {
  display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px;
  font-size: 14.5px; color: rgba(255, 255, 255, .92);
}
.hero-proof a { color: inherit; text-decoration: none; }
.hero-proof a:hover { color: var(--cyan); }
.hero-proof .star { color: #f6bb06; }

/* ============ Formulaire de charte — premium ============ */
.charte-grid { align-items: center; }
.charte-card {
  background: var(--white); border-radius: 22px;
  box-shadow: 0 26px 60px rgba(0, 8, 26, .38);
  padding: 40px 44px 38px; color: var(--ink);
}
.cc-eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper-deep); background: rgba(218, 142, 69, .12);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 14px;
}
.charte-card h3 {
  font-family: var(--serif); font-weight: 400; font-size: 27px;
  color: var(--navy); margin-bottom: 26px; line-height: 1.25;
}
.cc-block { border: 0; padding: 0; margin: 0 0 22px; }
.cc-legend {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gray); margin-bottom: 12px;
}
.cc-legend i {
  font-style: normal; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--serif); font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.cc-row { display: grid; gap: 12px; }
.cc-row.two { grid-template-columns: 1fr 1fr; }
.cc-row.three { grid-template-columns: 1fr 1.25fr 1fr; }
.cc-field { display: flex; flex-direction: column; }
.cc-field label {
  font-size: 12.5px; color: var(--gray); margin-bottom: 5px; letter-spacing: .02em;
}
.charte-card input[type="text"],
.charte-card input[type="email"],
.charte-card select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid #ded7c7; border-radius: 10px; background: var(--cream);
  font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.charte-card select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23001a4d' stroke-width='1.8'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 13px;
}
.charte-card input:focus, .charte-card select:focus {
  outline: none; background: var(--white);
  border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(1, 219, 238, .2);
}
.cc-check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--ink); margin: 4px 0 22px;
}
.cc-check input { margin-top: 4px; accent-color: var(--cyan); }
.cc-submit {
  width: 100%; border: 0; cursor: pointer;
  font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--navy);
  background: var(--cyan); border-radius: 999px; padding: 16px;
  box-shadow: 0 12px 28px rgba(1, 219, 238, .34);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cc-submit:hover:not(:disabled) { transform: translateY(-2px); background: var(--cyan-dark); box-shadow: 0 16px 34px rgba(1, 219, 238, .42); }
.cc-submit:disabled { opacity: .65; cursor: default; }
.cc-reassure { text-align: center; font-size: 12.5px; color: var(--gray); margin-top: 12px; }

/* colonne gauche de la section charte */
.charte-intro .points { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 12px; }
.charte-intro .points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.charte-intro .points i {
  font-style: normal; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(1, 219, 238, .18); color: var(--cyan);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.charte-intro .points svg { width: 12px; height: 12px; }

@media (max-width: 640px) {
  .charte-card { padding: 28px 22px 26px; }
  .cc-row.two, .cc-row.three { grid-template-columns: 1fr; }
}

/* Header épuré : retour au site */
.site-header.bare .container { justify-content: space-between; }
.bare-back {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--serif); font-size: 16px; color: var(--navy);
  text-decoration: none; border: 1.5px solid #ded7c7; border-radius: 999px;
  padding: 9px 20px; background: var(--white);
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.bare-back:hover { border-color: var(--cyan); color: var(--cyan-ink, #007a8a); transform: translateX(-3px); }
.bare-back svg { width: 15px; height: 15px; }
@media (max-width: 560px) {
  .bare-back { font-size: 14.5px; padding: 8px 14px; }
  .site-header.bare .logo img { width: 120px; }
}

/* ============ Organigramme ============ */
.org { display: flex; flex-direction: column; align-items: center; margin-top: 46px; }
.org-node {
  background: var(--white); border: 1.5px solid #e9e1d1; border-radius: 14px;
  box-shadow: var(--shadow); padding: 20px 26px; text-align: center;
  min-width: 232px; max-width: 268px; position: relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.org-node:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 18px 40px rgba(1,219,238,.2); }
.org-node .role {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--copper-deep); margin-bottom: 8px;
}
.org-node .who { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--navy); line-height: 1.25; }
.org-node .what { font-size: 13.5px; color: var(--gray); margin-top: 7px; line-height: 1.45; }
.org-node.root { background: var(--navy); border-color: var(--navy); min-width: 280px; }
.org-node.root .role { color: var(--cyan); }
.org-node.root .who { color: #fff; font-size: 22px; }
.org-node.root .what { color: rgba(255,255,255,.72); }
.org-node.soft { background: var(--cream); }

/* connecteurs */
.org-drop { width: 2px; height: 30px; background: #d9d1c0; }
.org-row { display: flex; align-items: flex-start; justify-content: center; gap: 26px; position: relative; }
.org-row::before {
  content: ""; position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  height: 2px; background: #d9d1c0; width: calc(100% - 268px); max-width: 720px;
}
.org-branch { display: flex; flex-direction: column; align-items: center; position: relative; }
.org-branch::before {
  content: ""; position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 30px; background: #d9d1c0;
}
.org-branch .org-stem { width: 2px; height: 30px; background: #d9d1c0; }
.org-sub { display: flex; flex-direction: column; align-items: center; }

@media (max-width: 900px) {
  .org-row { flex-direction: column; gap: 22px; }
  .org-row::before { display: none; }
  .org-branch::before { top: -22px; height: 22px; }
  .org-branch .org-stem { height: 22px; }
  .org-branch + .org-branch { margin-top: 0; }
  .org-node { max-width: 100%; width: 100%; }
  .org, .org-row, .org-branch { width: 100%; }
}
