/* =========================================================
   START & GO PERMIS — Feuille de style partagée
   Palette : Orange vif #E8491D · Noir #111 · Blanc #fff
   ========================================================= */

/* ---------- Reset & variables ---------- */
:root {
  --orange: #E8491D;
  --orange-dark: #c53a13;
  --orange-light: #ff6a3c;
  /* teinte adoucie pour les accents de texte & petites bulles (moins criard) */
  --orange-soft: #d98a5f;
  --orange-muted: rgba(232, 73, 29, .07);
  /* orange « brûlé » plus profond & moins néon pour les boutons et gros aplats */
  --orange-btn: #C0461C;
  --orange-btn-dark: #9f3a13;
  --black: #111111;
  --ink: #1c1c1c;
  --gray: #666666;
  --gray-light: #f4f4f4;
  --gray-border: #e4e4e4;
  --white: #ffffff;

  --font-head: 'Archivo', 'Arial Black', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.16);
  --maxw: 1180px;
  --transition: .25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
  font-weight: 800;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--black); color: #eee; }
.section--gray { background: var(--gray-light); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  text-transform: uppercase;
}
.section-head p { color: var(--gray); font-size: 1.08rem; margin-top: 14px; }
.section--dark .section-head h2 { color: var(--white); }
.section--dark .section-head p { color: #b9b9b9; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  color: var(--orange-dark);
  margin-bottom: 14px;
}

.accent { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 15px 30px;
  border-radius: 60px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: linear-gradient(135deg, #E35A22 0%, #CF4118 52%, #9E320F 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(190, 58, 22, .28), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #F06730 0%, #DC4A1B 52%, #8C2A0B 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(190, 58, 22, .36), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .6);
}
.btn--ghost:hover { background: var(--white); color: var(--black); }

.btn--dark {
  background: linear-gradient(135deg, #3a3a3e 0%, #111 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .10);
}
.btn--dark:hover {
  background: linear-gradient(135deg, #48484c 0%, #050507 100%);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--white); }

.btn--lg { padding: 18px 38px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}


/* Logo image (en-tête) */
.logo-img { display: flex; align-items: center; line-height: 0; }
.logo-img img { height: 54px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links > li > a {
  display: block;
  font-weight: 600;
  font-size: .96rem;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  transition: color var(--transition), background var(--transition);
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--orange); }

.nav-cta { margin-left: 10px; }

/* Dropdown Formations */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: "▾";
  font-size: .7rem;
  margin-left: 6px;
  color: var(--gray);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 9px;
  font-weight: 600;
  font-size: .93rem;
  transition: background var(--transition), color var(--transition);
}
.dropdown a small {
  display: block;
  font-weight: 500;
  font-size: .78rem;
  color: var(--gray);
}
.dropdown a:hover { background: var(--gray-light); color: var(--orange); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 104px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(232, 73, 29, .26), transparent 48%),
    radial-gradient(circle at 12% 85%, rgba(232, 73, 29, .10), transparent 44%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: .98;
}
.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--orange);
}
.hero .lead {
  font-size: 1.18rem;
  color: #d6d6d6;
  margin: 22px 0 32px;
  max-width: 30ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 60px;
  padding: 8px 16px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px rgba(232,73,29,.25);
}

/* Carte visuelle du hero (verre sombre, accents orange) */
.hero-card {
  background: linear-gradient(155deg, rgba(30, 30, 33, .62), rgba(10, 10, 12, .74));
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(7px);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
}
.hero-card .big { color: var(--white); }
.hero-card .big::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  background: var(--orange);
  border-radius: 4px;
  margin-top: 12px;
}
.hero-card .big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  text-transform: uppercase;
  line-height: 1;
}
.hero-card p { margin-top: 6px; font-weight: 500; }
.hero-card ul { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.hero-card li {
  display: flex; align-items: center; gap: 11px;
  font-weight: 600; font-size: 1.02rem;
}
.hero-card li .check {
  width: 24px; height: 24px; flex: none;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .8rem;
}

/* ---------- Images : figures & bandeaux média ---------- */
.figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-light);
}
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

.media-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.media-band .figure img { aspect-ratio: 4 / 3; }
.media-band--reverse .figure { order: 2; }

.prose .figure { margin: 8px 0 26px; }
.prose .figure img { aspect-ratio: 16 / 10; }

.aside-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}

/* Bandeau image plein cadre (galerie simple) */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.photo-strip .figure img { aspect-ratio: 4 / 3; }

@media (max-width: 900px) {
  .media-band { grid-template-columns: 1fr; }
  .media-band--reverse .figure { order: 0; }
  .photo-strip { grid-template-columns: 1fr; }
}

/* ---------- Marquee slogan ---------- */
.marquee {
  background: var(--orange-btn);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  border-top: 3px solid var(--black);
  border-bottom: 3px solid var(--black);
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: scroll 24s linear infinite;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: .05em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Atouts (features) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--orange-muted);
  color: var(--orange);
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { color: var(--gray); font-size: .96rem; }

/* ---------- Cartes formations ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-top {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--gray-light);
}
.card-top img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.card:hover .card-top img { transform: scale(1.06); }
.card-top .card-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: .74rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(232, 73, 29, .82), rgba(150, 48, 15, .8));
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 60px;
}
.card-top::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .28));
  z-index: 1;
}
.card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card-body p { color: var(--gray); font-size: .97rem; margin-bottom: 18px; flex: 1; }

/* ---------- Valeurs ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value {
  text-align: center;
  padding: 20px;
}
.value h3 { font-size: 1.2rem; margin: 12px 0 6px; color: var(--white); }
.value p { color: #b0b0b0; font-size: .92rem; }

/* ---------- Horaires (tableau Conduite / Bureau) ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hours-table-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hours-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.hours-table thead th {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .1em;
  padding: 15px 20px;
  text-align: left;
}
.hours-table thead th + th { text-align: center; }
.hours-table thead th:nth-child(2) { color: #ffb499; }
.hours-table tbody th {
  text-align: left; font-weight: 700; color: var(--black);
  padding: 14px 20px; white-space: nowrap;
}
.hours-table tbody td { text-align: center; padding: 14px 20px; color: #4a4a4a; }
.hours-table tbody tr + tr { border-top: 1px solid var(--gray-border); }
.hours-table tbody tr:nth-child(even) { background: #fbfaf9; }
.hours-table .v { display: block; }
.hours-table .slot { display: block; }
.hours-table .slot + .slot { margin-top: 2px; }
.hours-table .closed { color: #6b645e; font-style: italic; }
.hours-note {
  text-align: center;
  color: var(--gray);
  font-size: .9rem;
  margin-top: 18px;
}

@media (max-width: 600px) {
  .hours-table thead { display: none; }
  .hours-table, .hours-table tbody, .hours-table tr,
  .hours-table tbody th, .hours-table tbody td { display: block; width: 100%; }
  .hours-table tbody tr { padding: 14px 18px; }
  .hours-table tbody tr + tr { border-top: 1px solid var(--gray-border); }
  .hours-table tbody th { padding: 0 0 8px; font-size: 1.02rem; }
  .hours-table tbody td {
    text-align: right; padding: 5px 0;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  }
  .hours-table tbody td::before {
    content: attr(data-label);
    font-weight: 600; color: var(--gray); text-align: left; flex: none;
  }
}

/* ---------- Contact rapide (bandeau CTA) ---------- */
.cta-band {
  background: linear-gradient(120deg, #E35A22 0%, #CF4118 48%, #932D0D 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(150, 50, 20, .22), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  text-transform: uppercase;
}
.cta-band p { margin-top: 8px; font-size: 1.05rem; opacity: .95; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #cfcfcf;
  padding: 66px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-grid h3 {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 18px;
}
.footer-grid .logo { color: var(--white); margin-bottom: 16px; }
.footer-logo {
  display: inline-flex;
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.footer-logo img { height: 42px; width: auto; display: block; }
.footer-grid p { font-size: .92rem; margin-bottom: 8px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .92rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .92rem; margin-bottom: 12px;
}
.footer-contact-item .icon { color: var(--orange); flex: none; }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  display: grid; place-items: center;
  transition: background var(--transition), transform var(--transition);
}
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px;
  font-size: .84rem;
  color: #8f8f8f;
}
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 66px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(232, 73, 29, .20), transparent 48%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
}
.page-hero p { color: #cccccc; font-size: 1.12rem; margin-top: 14px; max-width: 60ch; }
.breadcrumb {
  font-size: .85rem;
  color: #999;
  margin-bottom: 16px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* ---------- Contenu éditorial (pages formation) ---------- */
.content-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 46px;
  align-items: start;
}
.prose h2 {
  font-size: 1.7rem;
  text-transform: uppercase;
  margin: 38px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.prose p { color: #444; margin-bottom: 16px; }
.prose ul { list-style: none; margin: 0 0 20px; display: grid; gap: 10px; }
.prose ul li {
  position: relative;
  padding-left: 30px;
  color: #444;
}
.prose ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .7rem;
  font-weight: 700;
}

/* Aside sticky (infos formation) */
.aside-card {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.aside-card .aside-head {
  background: var(--black);
  color: var(--white);
  padding: 22px 26px;
}
.aside-card .aside-head h3 { color: var(--white); font-size: 1.2rem; }
.aside-card .aside-body { padding: 24px 26px; }
.aside-row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--gray-border);
  font-size: .94rem;
}
.aside-row:last-of-type { border-bottom: 0; }
.aside-row .label { color: var(--gray); }
.aside-row .val { font-weight: 700; text-align: right; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--black);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { color: var(--orange-dark); font-size: 1.4rem; transition: transform var(--transition); flex: none; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height var(--transition), padding var(--transition);
  padding: 0 24px;
  color: #555;
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 22px; visibility: visible; }

/* ---------- Tarifs ---------- */
.price-intro {
  max-width: 640px; margin: 0 auto 44px; text-align: center;
}
.price-solo {
  max-width: 440px;
  margin: 0 auto 56px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.price-solo .tag { color: var(--orange-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.price-solo .amount { font-family: var(--font-head); font-weight: 800; font-size: 3rem; margin: 10px 0 4px; color: var(--black); }
.price-solo p { color: var(--gray); font-size: .95rem; }

.price-block { margin-bottom: 50px; }
.price-block-title {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 12px;
}
.price-block-title .badge {
  font-size: .7rem;
  padding: 5px 12px;
  border-radius: 60px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .04em;
}
.price-block > p.sub { color: var(--gray); margin-bottom: 24px; }

.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.price-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card--dark {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--orange);
  box-shadow: var(--shadow);
}
.price-card--dark .formule { color: var(--orange-dark); opacity: 1; }
.price-card--dark .box-label,
.price-card--dark h4,
.price-card--dark .amount,
.price-card--dark .offer .oprice { color: var(--black); }
.price-card--dark .offer { border-top-color: var(--gray-border); }
.price-card--dark .amount small { color: var(--gray); opacity: 1; }

.price-card--orange { background: linear-gradient(155deg, #E35A22 0%, #CF4118 55%, #9E320F 100%); color: var(--white); }
.price-card .formule {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700;
  opacity: .85;
}
.price-card h4 { color: var(--white); font-size: 1.25rem; margin: 8px 0 18px; }
.price-card .amount {
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--white);
}
.price-card .amount small { font-size: 1rem; font-weight: 600; opacity: .8; }
.price-card ul { list-style: none; margin: 18px 0 0; display: grid; gap: 9px; }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.price-card ul li::before { content: "→"; opacity: .8; }
.price-note {
  text-align: center; color: var(--gray); font-size: .9rem; margin-top: 10px;
}

/* Lignes d'offres dans une carte tarif */
.price-card .box-label {
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: 1.4rem; color: var(--white);
}
.price-card .offers { margin-top: 18px; display: grid; gap: 4px; }
.price-card .offer {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.price-card .offer .odesc { font-size: .93rem; line-height: 1.4; }
.price-card .offer .odesc small { display: block; opacity: .75; font-size: .8rem; }
.price-card .offer .oprice {
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  white-space: nowrap; color: var(--white);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px;
}
.field label .req { color: var(--orange); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .96rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 73, 29, .13);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-msg {
  display: none;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(232, 73, 29, .1);
  color: var(--orange-dark);
  font-weight: 600;
  font-size: .94rem;
  margin-bottom: 18px;
}
.form-msg.show { display: block; }
.form-msg.error { background: #fdecea; color: #b3261e; }

.info-card {
  background: #fff;
  color: #444;
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}
.info-card h2 { color: var(--black); font-size: 1.3rem; margin-bottom: 22px; }
.info-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-border);
}
.info-item:last-child { border-bottom: 0; }
.info-item .icon {
  width: 42px; height: 42px; flex: none;
  background: var(--orange-muted);
  color: var(--orange);
  border-radius: 11px;
  display: grid; place-items: center;
  font-size: 1.1rem;
}
.info-item .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); }
.info-item .val { font-weight: 600; color: var(--black); }
.info-item a.val:hover { color: var(--orange); }

.map-embed { margin-top: 30px; }
.map-embed iframe {
  width: 100%; height: 380px; border: 0; border-radius: var(--radius-lg);
}

/* ---------- Fiche de pré-inscription (formulaire détaillé, thème clair) ---------- */
.form-shell {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px;
}
.form-section + .form-section {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-border);
}
.form-section-title {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1.12rem;
  letter-spacing: .01em;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.form-section-title .step {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  background: var(--orange-muted);
  color: var(--orange);
  display: grid; place-items: center;
  font-family: var(--font-body);
  font-weight: 700; font-size: .9rem;
}
.form-row-3 { display: grid; grid-template-columns: 1.1fr .9fr 1.3fr; gap: 16px; }
.form-row-cpville { display: grid; grid-template-columns: .5fr 1fr; gap: 16px; }

/* Pilules de sélection (civilité, etc.) */
.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-pill span {
  display: inline-flex; align-items: center;
  padding: 11px 24px;
  border: 1.5px solid var(--gray-border);
  border-radius: 60px;
  cursor: pointer;
  font-weight: 600; font-size: .95rem;
  transition: all var(--transition);
}
.radio-pill input:checked + span {
  border-color: var(--orange);
  background: var(--orange-muted);
  color: var(--orange-dark);
}
.radio-pill input:focus-visible + span { outline: 3px solid var(--orange-dark); outline-offset: 2px; }

/* Select stylé comme les inputs */
.field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .96rem;
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 73, 29, .13);
}

/* Consentement RGPD */
.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .88rem; color: #555;
  background: var(--orange-muted);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 8px;
}
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.consent a { color: var(--orange-dark); font-weight: 600; }

.form-actions { margin-top: 28px; display: flex; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.form-required-note { font-size: .84rem; color: var(--gray); margin-bottom: 26px; }
.form-required-note .req { color: var(--orange); font-weight: 700; }

@media (max-width: 680px) {
  .form-shell { padding: 26px 20px; }
  .form-row-3, .form-row-cpville { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; justify-content: center; }
}

/* Mise en page pré-inscription : panneau dégradé + formulaire */
.preins-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 30px;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
}
.preins-layout .form-shell { max-width: none; margin: 0; }

.preins-aside {
  position: sticky;
  top: 96px;
  background: linear-gradient(160deg, #E35A22 0%, #CF4118 52%, #932D0D 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.preins-aside::before {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px;
  background: rgba(255, 255, 255, .12);
  border-radius: 50%;
}
.preins-aside > * { position: relative; z-index: 1; }
.preins-aside .kicker {
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .74rem;
  opacity: .9;
}
.preins-aside h2 {
  color: #fff;
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: 10px 0 6px;
  line-height: 1.05;
}
.preins-aside > p { font-size: .95rem; opacity: .95; margin-bottom: 22px; }
.preins-aside ul { list-style: none; display: grid; gap: 14px; }
.preins-aside li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .96rem; }
.preins-aside li .ic {
  width: 26px; height: 26px; flex: none;
  background: rgba(255, 255, 255, .22);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .82rem;
}
.preins-aside .aside-phone {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: .9rem;
}
.preins-aside .aside-phone a { color: #fff; font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; display: block; margin-top: 4px; }

@media (max-width: 860px) {
  .preins-layout { grid-template-columns: 1fr; }
  /* relative (et non static) : garde le bloc conteneur du ::before décoratif,
     sinon il échappe au overflow:hidden et crée un débordement horizontal */
  .preins-aside { position: relative; top: auto; }
}

/* ---------- Mentions légales ---------- */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 1.4rem; text-transform: uppercase; margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: #444; margin-bottom: 14px; }
.legal ul { margin: 0 0 16px 20px; color: #444; }
.legal ul li { margin-bottom: 7px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 440px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-cards { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 18px 26px;
    border-bottom: 1px solid var(--gray-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform .3s ease;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > li > a { padding: 14px 12px; border-radius: 10px; }
  .nav-cta { margin: 12px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  /* Dropdown en accordéon mobile */
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0;
    max-height: 0; overflow: hidden; padding: 0;
    transition: max-height var(--transition);
    background: var(--gray-light);
    border-radius: 10px;
    margin: 4px 0;
  }
  .has-dropdown.open .dropdown { max-height: 400px; padding: 6px; }
  .has-dropdown > a::after { float: right; }

  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; align-items: stretch; }
}

@media (max-width: 480px) {
  .features { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 64px 0 72px; }
}

/* =========================================================
   COUCHE PREMIUM — animations, en-tête dynamique, finitions
   ========================================================= */

/* Apparition au défilement (posée par JS uniquement sous la ligne de flottaison) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,.7,.3,1), transform .7s cubic-bezier(.16,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* Entrée douce des héros au chargement */
@keyframes sg-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .container, .page-hero .container { animation: sg-fade-up .75s cubic-bezier(.16,.7,.3,1) both; }

/* En-tête : ombre + compactage au défilement */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20, 15, 10, .08); background: rgba(255,255,255,.98); }
.nav, .logo-img img { transition: height .25s ease; }
.site-header.scrolled .nav { height: 62px; }
.site-header.scrolled .logo-img img { height: 44px; }

/* Micro-interactions plus vivantes */
.feature, .card, .price-card, .value, .hours-card { will-change: transform; }
.nav-links > li > a { position: relative; }
.nav-links > li > a::before {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav-links > li > a:hover::before, .nav-links > li > a.active::before { transform: scaleX(1); }
.has-dropdown > a::before { display: none; }

/* Bouton « retour en haut » (injecté par JS) */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: linear-gradient(135deg, #FF7A45 0%, #E8491D 60%, #B23A12 100%);
  color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer;
  box-shadow: 0 10px 26px rgba(190, 58, 22, .34);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, filter .2s ease;
  display: grid; place-items: center;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { filter: brightness(1.06); transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid rgba(232,73,29,.4); outline-offset: 2px; }

/* Finitions mobile supplémentaires */
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-band .hero-actions, .cta-band .btn { width: 100%; justify-content: center; }
  .btn { white-space: normal; text-align: center; }
  .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
  .page-hero { padding: 48px 0; }
  .section-head { margin-bottom: 40px; }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero .container, .page-hero .container { animation: none; }
  .to-top { transition: none; }
  .nav-links > li > a::before { transition: none; }
}

/* =========================================================
   PASSE QUALITÉ — cohérence typo/espacements, composants, a11y
   ========================================================= */

/* ---- Accessibilité : focus visible partout ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }

/* ---- Échelle typographique homogène ---- */
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h3 { font-size: clamp(1.05rem, 1.5vw, 1.2rem); }

/* Titres des bandeaux média : plus d'inline style, une seule règle */
.media-band h2 { text-transform: uppercase; margin-bottom: 16px; }
.media-band p { color: var(--gray); margin-bottom: 16px; }
.media-band p:last-of-type { margin-bottom: 24px; }

/* ---- Rythme vertical uniforme ---- */
.section { padding: 84px 0; }
.section--tight { padding: 52px 0; }
.section-head { margin-bottom: 50px; }
.section + .section { padding-top: 84px; }

/* ---- Cartes formations : bouton aligné en bas ---- */
.btn--sm { padding: 11px 22px; font-size: .86rem; }
.card-body { gap: 0; }
.card-body p { margin-bottom: 20px; }
.card-cta { margin-top: auto; align-self: flex-start; }

/* ---- Valeurs : pastilles orange ---- */
.value .ic {
  width: 58px; height: 58px; margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(232, 73, 29, .16);
  border: 1px solid rgba(232, 73, 29, .35);
  color: #ffb499;
  display: grid; place-items: center;
  font-size: 1.45rem;
}
.value h3 { font-size: 1.15rem; }

/* ---- Tarifs : lisibilité renforcée ---- */
.price-card { padding: 32px 30px; }
.price-card .box-label { font-size: 1.5rem; letter-spacing: -.01em; }
.price-card .offer { padding: 16px 0; align-items: center; }
.price-card .offer .odesc { line-height: 1.35; }
.price-card .offer .oprice { font-size: 1.65rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-block-title { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.price-solo .amount { font-variant-numeric: tabular-nums; }

/* ---- Footer : bloc marque + 3 colonnes ---- */
.footer-top {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-top .footer-logo { margin-bottom: 0; }
.footer-tagline { color: #b9b0a9; font-size: .95rem; max-width: 46ch; margin: 0; }
.footer-grid { grid-template-columns: 1fr 1.4fr 1fr; gap: 40px; }
.footer-col-social .socials { margin-top: 4px; }
.footer-col-social p { font-size: .9rem; color: #b9b0a9; margin-top: 14px; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 36px; }
}

/* Lien du rappel téléphonique sous le tableau d'horaires */
.hours-note a { color: var(--orange-dark); font-weight: 700; }
.hours-note a:hover { text-decoration: underline; }

/* ---- Anti-débordement : longues chaînes (e-mails) et pistes de grille ---- */
a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }
.info-item, .footer-contact-item { min-width: 0; }
.contact-grid > *, .footer-grid > *, .preins-layout > *,
.content-grid > *, .cards > *, .features > * { min-width: 0; }

/* =========================================================
   CORRECTIFS ACCESSIBILITÉ (issus de la revue)
   ========================================================= */

/* Lien d'évitement clavier */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  background: var(--black);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Menu mobile fermé : ne doit pas rester focusable hors écran */
@media (max-width: 760px) {
  .nav-links { visibility: hidden; }
  .nav-links.open { visibility: visible; }
  /* Sous-menu « Formations » replié : idem */
  .dropdown { visibility: hidden; }
  .has-dropdown.open .dropdown { visibility: visible; }
}

/* Mention sous le formulaire de contact : contraste relevé */
.form-note { font-size: .82rem; color: #6b6b6b; margin-top: 14px; text-align: center; }
.form-note a { color: var(--orange-dark); font-weight: 600; }

/* Groupe de champs sans bordure native (fieldset accessible) */
.field-group { border: 0; padding: 0; margin: 0; }
.field-group > legend {
  display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; padding: 0;
}
.field-group > legend .req { color: var(--orange); }
