/* ============================================================
   AUTO-ÉCOLE COSMOS PARIS — Styles des pages de contenu (refonte SEO 2026)
   Complète style.css sans le modifier. Reprend ses variables et son esprit.
   ============================================================ */

/* Petite ligne au-dessus du grand titre (H1 de l'accueil) */
.h1-kicker {
  display: flex;
  width: fit-content;
  font-family: var(--font-body);
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* Sections de texte */
.section-prose { padding: 76px 0; }
.prose { max-width: 860px; margin: 0 auto; }
.display-title .ord { text-transform: none; }
.prose > h2 { margin-bottom: 1.4rem; }
.prose p { font-size: 1.02rem; line-height: 1.75; }
.prose p strong, .prose li strong { color: var(--color-dark); }
.prose h3 {
  font-family: var(--font-body);
  font-size: 1.18rem;
  font-weight: 700;
  margin: 2rem 0 .7rem;
}
.prose a:not(.btn-pill) {
  color: var(--color-pink);
  font-weight: 600;
  border-bottom: 1px solid rgba(253, 45, 154, .35);
}
.prose a:not(.btn-pill):hover { border-bottom-color: var(--color-pink); }
.prose .feature-list { margin: 1.2rem 0 1.6rem; }
.prose .feature-list li { font-weight: 400; line-height: 1.65; }
.prose ol.prose-ol { padding-left: 1.2rem; color: var(--color-dark); line-height: 1.7; margin-bottom: 1.4rem; }
.prose ol.prose-ol li { margin-bottom: .5rem; }

/* Tableaux */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.4rem 0 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(22, 22, 22, .06);
  background: #fff;
}
.table-cosmos { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-cosmos th, .table-cosmos td { padding: .9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(22, 22, 22, .07); }
.table-cosmos thead th {
  background: var(--color-black);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.table-cosmos tbody tr:last-child td { border-bottom: 0; }
.table-cosmos tbody tr:nth-child(even) td { background: var(--bg-light); }
.table-cosmos td:first-child { font-weight: 600; color: var(--color-dark); }
.table-cosmos td { color: var(--color-grey); }

/* Photos dans le texte */
.prose-figure { margin: 1.6rem 0 2rem; }
.prose-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.prose-figure.portrait img { max-width: 440px; }
.prose-figure figcaption { font-size: .85rem; color: var(--color-grey); margin-top: .7rem; }

/* Encadré */
.note-box {
  background: linear-gradient(135deg, rgba(191, 195, 34, .10), rgba(253, 45, 154, .10));
  border-left: 4px solid var(--color-pink);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  color: var(--color-dark);
  margin: 1.4rem 0 1.8rem;
}
.note-box p:last-child { margin-bottom: 0; }

/* Boutons d'appel dans le haut des pages intérieures */
.hero-inner-cta { margin: 1.8rem 0 1.4rem; }

/* Bandeau de repères sous le haut de page */
.facts-band { padding: 56px 0 8px; }
.facts-band .info-tile h3 { margin-bottom: .3rem; }
.facts-band .info-tile p { margin-bottom: 0; }

/* Cartes de liens vers les formations */
a.info-tile { color: inherit; }
a.info-tile h3 { transition: var(--transition); }
a.info-tile:hover h3 { color: var(--color-pink); }
.info-tile .tile-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-pink);
  margin-top: .5rem;
}

/* Note Google */
.rating-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.4rem; }
.rating-row .hero-badge { margin-bottom: 0; }
a.hero-badge { color: var(--color-black); }
a.hero-badge:hover { border-color: var(--color-pink); }

/* Pied de page : liens quartiers */
.footer-row-2 { margin-top: .4rem; }

/* Formulaire : message d'erreur et mention RGPD */
.alert-error {
  background: rgba(253, 45, 154, .08);
  border: 1px solid rgba(253, 45, 154, .35);
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
}
.form-legal { font-size: .8rem; color: var(--color-grey); margin: .8rem 0 0; }
.form-legal a { color: var(--color-pink); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Carte Google Maps chargée au clic */
.map-consent {
  height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(253, 45, 154, .10), transparent 60%),
    radial-gradient(500px 280px at 10% 90%, rgba(191, 195, 34, .12), transparent 60%),
    var(--bg-light);
}
.map-consent p { max-width: 420px; margin: 0; }
@media (max-width: 575.98px) { .map-consent { height: 340px; } }

/* Pages légales */
.legal-block h2 { margin-top: 2.4rem; }

@media (max-width: 991.98px) {
  .section-prose { padding: 60px 0; }
}
@media (max-width: 575.98px) {
  .section-prose { padding: 48px 0; }
  .table-cosmos { font-size: .86rem; }
  .table-cosmos th, .table-cosmos td { padding: .7rem .6rem; }
  .table-cosmos thead th { font-size: .72rem; letter-spacing: .04em; }
  .prose p { font-size: 1rem; }
  .facts-band { padding-top: 40px; }
}

/* Titres des cartes blanches posées sur une section en dégradé (forfaits, accueil) :
   style.css met tous les h3 de .section-grad en blanc -> invisibles sur fond blanc. */
.pricing-card-v2:not(.dark) h3,
.offer-card-v2:not(.dark) h3 { color: var(--color-black); }
