/* =========================================================
   MéthoDEC — Feuille de style page d'accueil (version web)
   ========================================================= */

:root {
  --navy: #12233f;
  --navy-dark: #0c1a30;
  --bordeaux: #8c1c2e;
  --bordeaux-dark: #6f1523;
  --blue-light: #eaf2fb;
  --pink-light: #fbeaed;
  --grey-text: #4c5566;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1180px;
  --shadow: 0 20px 45px rgba(18, 35, 63, 0.12);
  --royal-blue: #1d3f91;
  --gold: #d4a537;
  --gold-dark: #a9781f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.5;
  background: var(--white);
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
}

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--bordeaux);
  color: var(--white);
  border: 2px solid var(--bordeaux);
}

.btn-primary:hover {
  background: var(--bordeaux-dark);
  border-color: var(--bordeaux-dark);
}

.btn-outline {
  background: transparent;
  color: var(--bordeaux);
  border: 2px solid var(--bordeaux);
}

.btn-outline:hover {
  background: var(--pink-light);
}

/* ---------- HEADER ---------- */
.site-header {
  border-bottom: 1px solid #eef1f6;
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  display: block;
  height: 52px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--bordeaux);
  border-bottom-color: var(--bordeaux);
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(180deg, var(--blue-light) 0%, #f5f9fe 100%);
  padding: 70px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero-text h1 {
  font-size: 2.7rem;
  line-height: 1.15;
  color: var(--navy);
}

.text-accent {
  color: var(--bordeaux);
}

.hero-underline {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--bordeaux);
  margin: 18px 0 20px;
  border-radius: 2px;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* -- Visuel hero : image détourée fidèle à la maquette -- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  overflow: visible;
}

.hero-illustration {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
}

/* ---------- BANDEAU ATOUTS ---------- */
.highlights {
  background: var(--navy);
  padding: 40px 0;
}

.highlights-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--white);
}

.highlight-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.highlight-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #c7cede;
}

/* ---------- NOS ACCOMPAGNEMENTS ---------- */
.programs {
  padding: 70px 0 90px;
  text-align: center;
}

.section-title {
  font-size: 1.9rem;
  color: var(--navy);
}

.section-underline {
  display: block;
  width: 50px;
  height: 3px;
  background: var(--bordeaux);
  margin: 14px auto 46px;
  border-radius: 2px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  text-align: left;
}

.program-card {
  padding: 34px;
  border-radius: var(--radius);
}

.program-dec {
  background: var(--blue-light);
}

.program-dscg {
  background: var(--pink-light);
}

.program-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(18, 35, 63, 0.08);
}

.program-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.program-card p {
  color: var(--grey-text);
  margin-bottom: 18px;
}

.program-link {
  font-weight: 600;
  color: var(--bordeaux);
}

.program-link:hover {
  text-decoration: underline;
}

/* ---------- FIL D'ARIANE ---------- */
.breadcrumb {
  padding: 18px 0;
  font-size: 0.85rem;
  color: var(--grey-text);
}

.breadcrumb a {
  color: var(--grey-text);
}

.breadcrumb a:hover {
  color: var(--bordeaux);
}

.breadcrumb-sep {
  margin: 0 8px;
  color: #b7bfcc;
}

/* ---------- EN-TÊTE DE PAGE ---------- */
.page-hero {
  text-align: center;
  padding: 20px 0 50px;
}

.page-hero h1 {
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- PARCOURS / ÉTAPES ---------- */
.process {
  padding: 0 0 60px;
}

.process-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  text-align: center;
}

.process-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.process-step p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.process-arrow {
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 27px;
  width: 40px;
  height: 0;
  border-top: 2px dashed var(--bordeaux);
  position: relative;
}

.process-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--bordeaux);
  border-right: 2px solid var(--bordeaux);
  transform: rotate(45deg);
}

/* ---------- PRESTATIONS ---------- */
.prestations {
  padding: 0 0 90px;
}

.section-title-left {
  text-align: left;
  margin-bottom: 30px;
}

.prestations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.prestation-card {
  background: var(--white);
  border: 1px solid #e7eaf1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
}

.prestation-number {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bordeaux);
  margin-bottom: 12px;
}

.prestation-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.35;
}

.prestation-bonus {
  grid-column: span 1;
  background: var(--pink-light);
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
}

.prestation-bonus .prestation-gift {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prestation-bonus h3 {
  margin: 0;
  font-size: 1rem;
}

.prestation-wide {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 18px;
}

.prestation-wide .prestation-number {
  margin-bottom: 0;
}

.prestation-wide h3 {
  flex: 1;
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .process-track {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 24px;
  }

  .process-arrow {
    display: none;
  }

  .prestations-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prestation-wide {
    grid-column: span 2;
  }
}

/* ---------- HERO DSCG ---------- */
.hero-dscg {
  padding-top: 26px;
}

.breadcrumb-hero {
  padding: 0 0 22px;
}

.hero-subtitle {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  max-width: 480px;
  margin: 6px 0 0;
}

.hero-dscg .hero-underline {
  margin-top: 20px;
}

/* ---------- LES ÉPREUVES ORALES ---------- */
.oral-exams {
  padding: 70px 0 90px;
  text-align: center;
}

.exams-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  text-align: left;
  margin-bottom: 40px;
}

.exam-card {
  padding: 36px;
  border-radius: var(--radius);
}

.exam-ue6 {
  background: var(--blue-light);
}

.exam-ue7 {
  background: var(--pink-light);
}

.exam-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(18, 35, 63, 0.08);
}

.exam-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 14px;
}

.exam-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
}

.exam-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  color: var(--grey-text);
  font-weight: 600;
}

.exam-description {
  color: var(--grey-text);
  margin-bottom: 20px;
}

.exam-checklist {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exam-checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 500;
}

.exam-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

.exam-checklist-blue li::before {
  background-color: rgba(29, 63, 145, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 12l5 5L20 6' stroke='%231d3f91' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.exam-checklist-red li::before {
  background-color: rgba(140, 28, 46, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 12l5 5L20 6' stroke='%238c1c2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.exam-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 18px;
}

.exam-cta {
  width: 100%;
  justify-content: center;
  border: none;
  color: var(--white);
}

.exam-cta-navy {
  background: var(--royal-blue);
}

.exam-cta-navy:hover {
  background: #16306f;
}

.exam-cta-bordeaux {
  background: var(--bordeaux);
}

.exam-cta-bordeaux:hover {
  background: var(--bordeaux-dark);
}

/* ---------- ACCOMPAGNEMENT SUR-MESURE ---------- */
.custom-support {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  gap: 26px;
  text-align: left;
}

.custom-support-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-support-text {
  flex: 1;
}

.custom-support-text h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.custom-support-text p {
  color: #c7cede;
  margin: 0;
  max-width: 640px;
}

.custom-support-btn {
  flex-shrink: 0;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.custom-support-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

  .custom-support {
    flex-direction: column;
    text-align: center;
  }

  .custom-support-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- HERO UE (label + placeholder photo + carte flottante) ---------- */
.hero-ue {
  padding-top: 26px;
  padding-bottom: 60px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bordeaux);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.hero-ue h1 {
  font-size: 2.6rem;
  color: var(--navy);
  margin: 4px 0 12px;
}

.hero-ue .hero-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  max-width: 460px;
  margin-bottom: 10px;
}

.hero-ue .hero-text > p:not(.hero-subtitle) {
  color: var(--grey-text);
  max-width: 460px;
  margin-bottom: 26px;
}

.hero-photo {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 30px rgba(18, 35, 63, 0.15));
}

.hero-floating-card {
  position: absolute;
  right: 2%;
  bottom: 10%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 190px;
}

.hero-floating-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-floating-card strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
}

.hero-floating-card span {
  font-size: 0.8rem;
  color: var(--grey-text);
}

/* ---------- BANDEAU DURÉE ÉPREUVE ---------- */
.exam-timing {
  background: var(--navy);
  padding: 34px 0;
}

.exam-timing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.exam-timing-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 16px;
}

.exam-timing-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.exam-timing-title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
  position: relative;
  padding-bottom: 8px;
}

.exam-timing-title span {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #c7cede;
}

.exam-timing-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--bordeaux);
}

.exam-timing-desc {
  color: #c7cede;
  font-size: 0.88rem;
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- CE QUE NOUS TRAVAILLONS ENSEMBLE ---------- */
.work-together {
  padding: 70px 0 20px;
}

.section-subtitle {
  color: var(--grey-text);
  max-width: 640px;
  margin: 0 0 40px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  position: relative;
}

.work-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.work-icon {
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(18, 35, 63, 0.06);
}

.work-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.work-card p {
  color: var(--grey-text);
  font-size: 0.92rem;
  margin: 0 0 18px;
}

.work-card::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  background: var(--bordeaux);
  border-radius: 2px;
}

/* ---------- VOTRE SÉANCE DE 1 HEURE ---------- */
.session-plan {
  padding: 70px 0 90px;
}

.session-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 40px;
}

.session-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 0;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 6px;
}

.session-step {
  text-align: center;
  padding: 0 6px;
}

.session-step-icon {
  position: relative;
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(18, 35, 63, 0.08);
  margin-bottom: 12px;
}

.session-step-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bordeaux);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.session-step h4 {
  font-size: 0.88rem;
  color: var(--navy);
  margin: 0 0 6px;
}

.session-step p {
  font-size: 0.78rem;
  color: var(--grey-text);
  margin: 0;
}

.session-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
}

.tips-box {
  background: var(--white);
  border: 1px solid #f0d4da;
  border-radius: var(--radius);
  padding: 26px;
}

.tips-box h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 18px;
}

.tips-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.tips-item:last-child {
  margin-bottom: 0;
}

.tips-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tips-item p {
  font-size: 0.86rem;
  color: var(--grey-text);
  margin: 0;
}

.tips-item p a {
  color: var(--bordeaux);
  font-weight: 600;
}

.tips-item p a:hover {
  text-decoration: underline;
}

/* ---------- RÉSERVATION ---------- */
.booking {
  padding: 0 0 90px;
}

.booking-banner {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.booking-text h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.booking-text p {
  color: #c7cede;
  margin: 0;
  max-width: 480px;
}

.booking-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.booking-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.booking-btn {
  white-space: nowrap;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--bordeaux);
  padding: 40px 0 20px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
}

.footer-brand span {
  display: block;
  color: #c7cede;
  font-size: 0.82rem;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #c7cede;
  font-size: 0.88rem;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-copy {
  text-align: center;
  color: #8b93a8;
  font-size: 0.8rem;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

.footer-legal a {
  color: #8b93a8;
  font-size: 0.78rem;
}

.footer-legal a:hover {
  color: var(--white);
}

@media (max-width: 960px) {
  .exam-timing-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .session-layout {
    grid-template-columns: 1fr;
  }

  .session-steps {
    grid-template-columns: 1fr;
  }

  .session-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }

  .hero-floating-card {
    position: static;
    margin-top: 16px;
  }

  .booking-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .booking-card {
    justify-content: space-between;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

.work-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 960px) {
  .work-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PAGE DÉTAIL D'UNE PRESTATION (ex : Choix du sujet)
   ========================================================= */

.svc-page {
  padding: 40px 0 80px;
  background: #fafbfd;
}

.svc-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

/* -- Sidebar -- */
.svc-sidebar h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 16px;
}

.svc-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #edf0f5;
  border-radius: var(--radius);
  padding: 14px 16px;
}

.svc-list-item.is-active {
  background: var(--pink-light);
  border-color: #f0d7dc;
  border-left: 3px solid var(--bordeaux);
}

.svc-list-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--blue-light);
  color: var(--navy);
}

.svc-list-item.is-active .svc-list-num {
  background: var(--bordeaux);
  color: var(--white);
}

.svc-list-item h3 {
  font-size: 0.92rem;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.3;
}

.svc-list-item p {
  font-size: 0.8rem;
  color: var(--grey-text);
  margin: 0;
}

.svc-help-box {
  background: var(--white);
  border: 1px solid #edf0f5;
  border-radius: var(--radius);
  padding: 20px;
}

.svc-help-box h4 {
  font-size: 0.98rem;
  color: var(--navy);
  margin: 0 0 8px;
}

.svc-help-box p {
  font-size: 0.85rem;
  color: var(--grey-text);
  margin: 0 0 16px;
}

.btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 0.88rem;
}

/* -- Cartes principales -- */
.svc-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(18, 35, 63, 0.06);
  padding: 34px;
  margin-bottom: 22px;
}

.svc-card h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 14px;
}

.svc-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 20px 0 12px;
}

.svc-card p {
  color: var(--grey-text);
  line-height: 1.6;
}

/* -- En-tête de prestation -- */
.svc-header-card {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.svc-badge {
  display: inline-block;
  background: var(--bordeaux);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 5px;
  margin-bottom: 14px;
}

.svc-header-text h1 {
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 12px;
}

.svc-header-text > p {
  max-width: 420px;
  margin-bottom: 26px;
}

.svc-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.svc-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.svc-meta-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-meta-item div {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.svc-meta-item strong {
  color: var(--navy);
}

.svc-meta-item span {
  color: var(--grey-text);
}

.svc-accent {
  color: var(--bordeaux) !important;
  font-weight: 600;
}

.svc-illustration-wrap {
  position: relative;
  flex-shrink: 0;
  width: 240px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-blob {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, var(--blue-light) 0%, rgba(234, 242, 251, 0) 72%);
  border-radius: 50%;
  transform: scale(1.3);
  z-index: 0;
}

.svc-illustration {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(18, 35, 63, 0.18));
}

/* -- À propos / objectifs / pour qui -- */
.svc-about-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 30px;
  align-items: start;
}

.svc-objectives {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-objectives li {
  position: relative;
  padding-left: 28px;
  color: var(--grey-text);
  font-size: 0.95rem;
}

.svc-objectives li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4.5 4.5L19 7' fill='none' stroke='%2312233f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

.svc-pourqui-card {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 22px;
}

.svc-pourqui-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.svc-pourqui-card h4 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 8px;
}

.svc-pourqui-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* -- Deux encarts de mise en avant (ex: page "après échec") -- */
.svc-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.svc-highlight-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 22px;
}

.svc-highlight-card.svc-highlight-accent {
  background: var(--white);
  border: 1px solid #f0d7dc;
}

.svc-highlight-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  align-items: center;
  justify-content: center;
}

.svc-highlight-card h4 {
  font-size: 0.98rem;
  color: var(--navy);
  margin: 0 0 6px;
}

.svc-highlight-card p {
  font-size: 0.88rem;
  color: var(--grey-text);
  margin: 0;
}

@media (max-width: 960px) {
  .svc-highlight-grid {
    grid-template-columns: 1fr;
  }
}

/* -- Bandeau de mise en avant (4 points forts, fond navy) -- */
.svc-highlights-bar {
  background: var(--navy);
  border-radius: 14px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}

.svc-highlights-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-highlights-bar-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-highlights-bar-item strong {
  display: block;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
}

.svc-highlights-bar-item span {
  display: block;
  color: #c7cede;
  font-size: 0.78rem;
}

/* -- Variante rouge des objectifs (checklist) -- */
.svc-objectives-red li::before {
  border-color: var(--bordeaux);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4.5 4.5L19 7' fill='none' stroke='%238c1c2e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* -- Titre de carte avec icône -- */
.svc-card-title-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.svc-card-title-icon .svc-title-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-card-title-icon h2 {
  margin: 0;
}

/* -- Rangée à deux cartes égales -- */
.svc-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.svc-row-2col .svc-card {
  margin-bottom: 0;
}

/* -- Méthode + informations pratiques côte à côte -- */
.svc-method-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 26px;
  align-items: start;
  margin-top: 10px;
}

.svc-info-card {
  background: var(--white);
  border: 1px solid #f0d7dc;
  border-radius: var(--radius);
  padding: 22px;
}

.svc-info-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--navy);
  margin: 0 0 16px;
}

.svc-info-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.svc-info-row:last-of-type {
  margin-bottom: 20px;
}

.svc-info-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-info-row strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
}

.svc-info-row span {
  display: block;
  font-size: 0.78rem;
  color: var(--grey-text);
}

@media (max-width: 960px) {
  .svc-highlights-bar {
    grid-template-columns: 1fr 1fr;
  }

  .svc-row-2col {
    grid-template-columns: 1fr;
  }

  .svc-method-layout {
    grid-template-columns: 1fr;
  }
}

/* -- Comment ça se passe -- */
.svc-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  margin-top: 10px;
}

.svc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: 190px;
  position: relative;
}

.svc-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.svc-step-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.svc-step h4 {
  font-size: 0.98rem;
  color: var(--navy);
  margin: 0 0 8px;
}

.svc-step p {
  font-size: 0.85rem;
  color: var(--grey-text);
  margin: 0;
}

.svc-step-arrow {
  align-self: flex-start;
  margin-top: 55px;
  color: #c3cbd8;
  font-size: 1.2rem;
}

/* -- Bandeau CTA final -- */
.svc-cta-band {
  background: var(--blue-light);
  border-radius: 14px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.svc-cta-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.svc-cta-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-cta-left strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.svc-cta-left p {
  margin: 0;
  font-size: 0.88rem;
}

.svc-cta-right {
  text-align: right;
}

.svc-cta-right .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.svc-cta-right span {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--grey-text);
}

/* ---------- RESPONSIVE (base — on affinera pour le mobile ensuite) ---------- */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .highlights-inner,
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .svc-layout {
    grid-template-columns: 1fr;
  }

  .svc-header-card {
    flex-direction: column-reverse;
  }

  .svc-about-grid {
    grid-template-columns: 1fr;
  }

  .svc-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .svc-step {
    max-width: none;
    flex-direction: row;
    text-align: left;
    gap: 14px;
  }

  .svc-step-icon,
  .svc-step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .svc-step-arrow {
    display: none;
  }
}

/* =========================================================
   PAGE RÉSERVATION (formulaire + calendrier)
   ========================================================= */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.booking-form input,
.booking-form select {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--navy);
  padding: 11px 14px;
  border: 1px solid #dfe4ee;
  border-radius: var(--radius);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s ease;
}

.booking-form input:focus,
.booking-form select:focus {
  border-color: var(--bordeaux);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.phone-row {
  display: flex;
  gap: 10px;
}

.phone-row select {
  flex: 0 0 130px;
}

.phone-row input {
  flex: 1;
}

/* -- Calendrier -- */
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0 24px;
  font-size: 0.85rem;
  color: var(--grey-text);
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.free {
  background: #b7ecc4;
}

.legend-dot.pending {
  background: #f5c98a;
}

.legend-dot.confirmed {
  background: #c7cede;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.calendar-day.empty {
  visibility: hidden;
}

.calendar-day.free {
  background: #e3f8e9;
  cursor: pointer;
  transition: background 0.15s ease;
}

.calendar-day.free:hover {
  background: #c8f0d5;
}

.calendar-day.pending {
  background: #fdead0;
  color: #8a5a12;
  cursor: not-allowed;
}

.calendar-day.confirmed {
  background: #e7e9f2;
  color: #6b7180;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .phone-row {
    flex-direction: column;
  }

  .phone-row select {
    flex: 1;
  }
}

/* -- Calendrier : navigation année/mois + en-tête jours -- */
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.calendar-nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-nav-controls select {
  border: 1.5px solid #dde3ec;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 600;
  color: var(--navy);
  font-family: inherit;
}

.calendar-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #dde3ec;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.1rem;
}

.calendar-nav-btn:hover {
  border-color: var(--bordeaux);
  color: var(--bordeaux);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--grey-text);
  text-transform: uppercase;
}

.calendar-day.sunday {
  background: #eef0f3;
  color: #b3b9c4;
  cursor: not-allowed;
}

.calendar-day.today {
  outline: 2px solid var(--bordeaux);
  outline-offset: 2px;
}

/* -- Créneaux horaires -- */
.slots-panel {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eef0f3;
}

.slots-panel h3 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 14px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
}

.slot-btn {
  border: 1.5px solid #dde3ec;
  border-radius: 8px;
  padding: 9px 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.slot-btn.free {
  background: #e3f8e9;
  border-color: #b7ecc4;
}

.slot-btn.free:hover {
  background: #c8f0d5;
}

.slot-btn.pending {
  background: #fdead0;
  border-color: #f5c98a;
  color: #8a5a12;
  cursor: not-allowed;
}

.slot-btn.confirmed {
  background: #e7e9f2;
  border-color: #c7cede;
  color: #6b7180;
  cursor: not-allowed;
}

.slot-btn.selected {
  outline: 2px solid var(--bordeaux);
  outline-offset: 1px;
}

/* ---------- PAGE DE CONFIRMATION DE RÉSERVATION ---------- */
.confirm-body {
  min-height: 100vh;
  padding: 24px 16px;
  background: linear-gradient(160deg, #d3e3f3 50%, #fbf1e6 50%);
}

.confirm-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 35, 63, 0.12);
  overflow: hidden;
}

.confirm-content {
  padding: 32px 48px 30px;
  text-align: center;
}

.confirm-logo img {
  width: 130px;
  height: auto;
  display: inline-block;
}

.confirm-content h1 {
  font-size: 1.9rem;
  color: #4a6b8a;
  margin: 14px 0 20px;
}

.confirm-content p {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.confirm-accent {
  color: var(--bordeaux);
}

.confirm-thanks {
  font-style: italic;
  margin-top: 22px;
}

.confirm-photo {
  display: block;
  width: 100%;
  height: auto;
}

.confirm-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 26px;
  background: #f3f6fa;
  color: #6b7686;
}

.confirm-social {
  display: flex;
  gap: 16px;
}

.confirm-brand {
  font-size: 0.95rem;
  color: var(--navy);
}

@media (max-width: 640px) {
  .confirm-content {
    padding: 26px 22px;
  }

  .confirm-content h1 {
    font-size: 1.5rem;
  }
}
