/* ============================================================
   SITE YOGA — Sophie LAURENT
   Palette zen : vert sauge, lin chaud, forêt profonde
   Typographie : Cormorant Garamond (titres) + Lato (corps)
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&display=swap");

/* --- Variables --- */
:root {
  --vert: #5c7a5a;
  --vert-hover: #4a6348;
  --vert-clair: rgba(92, 122, 90, 0.1);
  --vert-pale: #d4e0d3;
  --vert-ultra-clair: #eef5ee;
  --terre: #b06a4a;
  --terre-hover: #924f33;
  --lin: #f8f6f1;
  --lin-fonce: #edeae3;
  --foret: #1e2d1e;
  --foret-clair: #2a3d2a;
  --texte: #2c2c2c;
  --texte-doux: #5a5a5a;
  --texte-pale: #8a8a8a;
  --blanc: #ffffff;
  --ombre: 0 4px 24px rgba(30, 45, 30, 0.1);
  --ombre-forte: 0 8px 40px rgba(30, 45, 30, 0.18);
  --radius: 10px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* --- Surcharge footer : les <p> héritent sinon #5a5a5a sur fond sombre → 2.1:1 ❌ --- */
.footer p {
  color: rgba(255, 255, 255, 0.75);
}

/* --- Utilitaires --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.section-padding {
  padding: 90px 5%;
}
.section-padding-sm {
  padding: 60px 5%;
}

.text-center {
  text-align: center;
}
.text-vert {
  color: var(--vert);
}
.text-terre {
  color: var(--terre);
}

/* Badge sur fond sombre (hero) — texte clair */
.hero .badge {
  background: rgba(212, 224, 211, 0.12);
  color: var(--vert-pale);
  border-color: rgba(212, 224, 211, 0.35);
}

.badge {
  display: inline-block;
  background: var(--vert-clair);
  color: var(--vert-hover); /* #4a6348 sur fond clair : 5.86:1 ✓ WCAG AA */
  border: 1px solid var(--vert-pale);
  font-family: "Lato", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--vert);
  margin: 18px auto 30px;
  border-radius: 2px;
}
.divider-left {
  margin-left: 0;
}

/* --- Typographie --- */
h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--texte);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}
h4 {
  font-size: 1.2rem;
}

p {
  color: var(--texte-doux);
}

/* --- Boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primaire {
  background: var(--vert);
  color: var(--blanc);
  border-color: var(--vert);
}
.btn-primaire:hover {
  background: var(--vert-hover);
  border-color: var(--vert-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 122, 90, 0.3);
}

.btn-contour {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-contour:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--blanc);
  transform: translateY(-2px);
}

.btn-terre {
  background: var(--terre);
  color: var(--blanc);
  border-color: var(--terre);
}
.btn-terre:hover {
  background: var(--terre-hover);
  border-color: var(--terre-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176, 106, 74, 0.3);
}

.btn-contour-vert {
  background: transparent;
  color: var(--vert);
  border-color: var(--vert);
}
.btn-contour-vert:hover {
  background: var(--vert);
  color: var(--blanc);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(92, 122, 90, 0.12);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 20px rgba(30, 45, 30, 0.08);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-nom {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--foret);
  letter-spacing: 0.02em;
}
.nav-logo-titre {
  font-size: 0.68rem;
  color: var(--vert);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 300;
}

.nav-liens {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-liens a {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(30, 45, 30, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition);
}
.nav-liens a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vert);
  transition: width var(--transition);
  border-radius: 1px;
}
.nav-liens a:hover {
  color: var(--foret);
}
.nav-liens a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--vert) !important;
  color: var(--blanc) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--vert-hover) !important;
}
.nav-cta::after {
  display: none !important;
}

/* Lien espace membres dans la navbar */
.nav-lien-membre {
  font-size: 0.8rem !important;
  color: var(--vert-hover) !important;
  border: 1px solid rgba(92, 122, 90, 0.35) !important;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
}
.nav-lien-membre:hover {
  background: var(--vert-clair) !important;
  color: var(--vert-hover) !important;
}
.nav-lien-membre::after {
  display: none !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--foret);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--foret);
  padding: 24px 5%;
  flex-direction: column;
  gap: 0;
  z-index: 999;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--transition);
}
.nav-mobile a:last-child {
  border-bottom: none;
}
.nav-mobile a:hover {
  color: var(--blanc);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--foret);
  overflow: hidden;
  padding: 100px 5% 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero_bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  transition: opacity 0.5s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 60% 40%,
    rgba(92, 122, 90, 0.15) 0%,
    transparent 70%
  );
}

.hero-contenu {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero h1 {
  color: var(--blanc);
  font-weight: 300;
  margin-bottom: 10px;
}
.hero h1 em {
  font-style: italic;
  color: var(--vert-pale);
}

.hero-sous-titre {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.72);
  margin: 20px 0 36px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.hero-stat-nb {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--vert-pale);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero page intérieure */
.hero-page {
  min-height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--foret);
  position: relative;
  overflow: hidden;
  padding: 100px 5% 60px;
}
.hero-page .hero-bg {
  opacity: 0.15;
}
.hero-page h1 {
  color: var(--blanc);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
}
.hero-page p {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 12px;
  font-size: 1rem;
}

/* ============================================================
   SECTION À PROPOS — MÉDAILLON ZEN
   ============================================================ */
.apropos {
  background: var(--lin);
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 0;
}

/* Conteneur du médaillon (colonne gauche) */
.apropos-medallion-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  position: relative;
  background: linear-gradient(145deg, var(--lin) 0%, var(--lin-fonce) 100%);
}

/* Anneau extérieur animé (rotation lente) */
.medallion-anneau-ext {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px dashed rgba(92, 122, 90, 0.3);
  animation: rotation-zen 30s linear infinite;
  pointer-events: none;
}

/* Anneau intermédiaire */
.medallion-anneau-mid {
  position: absolute;
  width: 218px;
  height: 218px;
  border-radius: 50%;
  border: 2px solid rgba(92, 122, 90, 0.18);
  pointer-events: none;
}

/* Médaillon principal */
.apropos-medallion {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  /* Anneaux concentriques par box-shadow */
  box-shadow:
    0 0 0 8px var(--lin),
    0 0 0 16px var(--vert-pale),
    0 0 0 20px var(--lin),
    0 0 0 26px rgba(92, 122, 90, 0.15),
    0 12px 50px rgba(30, 45, 30, 0.25);
  z-index: 2;
}

.apropos-medallion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* cadrer sur le visage */
  filter: brightness(1.06) contrast(1.08) saturate(0.88);
  transition: transform 0.6s ease;
}
.apropos-medallion:hover img {
  transform: scale(1.04);
}

/* Vignette douce sur les bords du cercle */
.medallion-vignette {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    transparent 55%,
    rgba(30, 45, 30, 0.22) 100%
  );
  pointer-events: none;
}

/* Points décoratifs autour du médaillon */
.medallion-points {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
}
.medallion-points span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vert);
  opacity: 0.45;
}
.medallion-points span:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.medallion-points span:nth-child(2) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.medallion-points span:nth-child(3) {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.medallion-points span:nth-child(4) {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.medallion-points span:nth-child(5) {
  top: 7%;
  left: 7%;
}
.medallion-points span:nth-child(6) {
  top: 7%;
  right: 7%;
}
.medallion-points span:nth-child(7) {
  bottom: 7%;
  left: 7%;
}
.medallion-points span:nth-child(8) {
  bottom: 7%;
  right: 7%;
}

/* Animation rotation douce */
@keyframes rotation-zen {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.apropos-texte {
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.apropos-certifs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.certif-tag {
  background: var(--lin-fonce);
  border: 1px solid var(--vert-pale);
  color: var(--vert-hover); /* #4a6348 sur #ede8df : 5.44:1 ✓ WCAG AA */
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 50px;
}

/* ============================================================
   SECTION COURS (accueil aperçu)
   ============================================================ */
.cours-apercu {
  background: var(--blanc);
}

.cours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.cours-card {
  background: var(--lin);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  border: 1px solid var(--lin-fonce);
}
.cours-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-forte);
}

.cours-card-icone {
  height: 180px;
  background: var(--foret);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cours-card-icone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  position: absolute;
  inset: 0;
}
.cours-card-icone span {
  position: relative;
  z-index: 1;
}

.cours-card-body {
  padding: 24px;
}
.cours-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--foret);
}
.cours-card-body p {
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.7;
}
.cours-card-lien {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vert-hover); /* #4a6348 sur lin : 5.88:1 ✓ WCAG AA */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cours-card-lien:hover {
  color: var(--vert-hover);
}

/* ============================================================
   SECTION TEMOIGNAGES
   ============================================================ */
.temoignages {
  background: var(--vert-ultra-clair);
  color: var(--texte);
}
.temoignages h2 {
  color: var(--foret);
}
.temoignages .divider {
  background: var(--vert);
}
.temoignages .badge {
  background: var(--vert-clair);
  border-color: var(--vert-pale);
  color: var(--vert-hover);
}

.carousel {
  position: relative;
  overflow: hidden;
  margin-top: 50px;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.temoignage-card {
  min-width: 100%;
  padding: 0 60px;
  text-align: center;
}
.temoignage-texte {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--foret);
  line-height: 1.7;
  margin-bottom: 24px;
}
.temoignage-auteur {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--vert-hover);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.temoignage-activite {
  font-size: 0.78rem;
  color: var(--texte-pale);
  margin-top: 4px;
  letter-spacing: 0.06em;
}

.carousel-controles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}
.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(30, 45, 30, 0.2);
  background: var(--blanc);
  color: var(--foret);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  background: var(--vert);
  border-color: var(--vert);
  color: var(--blanc);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(30, 45, 30, 0.18);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.carousel-dot.actif {
  background: var(--vert);
  transform: scale(1.3);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--vert) 0%, var(--vert-hover) 100%);
  text-align: center;
  padding: 80px 5%;
}
.cta-section h2 {
  color: var(--blanc);
  font-weight: 400;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin: 16px 0 36px;
  font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--foret);
  color: rgba(255, 255, 255, 0.65);
  padding: 70px 5% 0;
}

.footer-grille {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-marque-nom {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blanc);
  margin-bottom: 4px;
}
.footer-marque-sous {
  font-size: 0.72rem;
  color: var(--vert-pale);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-description {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.footer-titre {
  font-family: "Lato", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vert-pale);
  margin-bottom: 18px;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.footer ul li a:hover {
  color: var(--blanc);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}
.footer-contact-item span:first-child {
  color: var(--vert-pale);
  font-size: 1rem;
  margin-top: 1px;
}

.footer-bas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55); /* 0.35 → 0.55 : ratio 5.47:1 ✓ WCAG AA */
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bas a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer-bas a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.footer-legal {
  display: flex;
  gap: 20px;
}

/* ============================================================
   PAGE COURS (détail)
   ============================================================ */
.cours-detail-section {
  background: var(--lin);
}
.cours-detail-section:nth-child(even) {
  background: var(--blanc);
}

.cours-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.cours-detail.inverse {
  direction: rtl;
}
.cours-detail.inverse > * {
  direction: ltr;
}

.cours-detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre-forte);
}
.cours-detail-media img {
  width: 100%;
  height: auto;
  display: block;
}

.cours-detail-contenu h2 {
  color: var(--foret);
  margin-bottom: 12px;
}

.cours-infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.cours-info-item {
  background: var(--blanc);
  border: 1px solid var(--lin-fonce);
  border-radius: 8px;
  padding: 14px 16px;
}
.cours-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--vert);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.cours-info-valeur {
  font-size: 0.92rem;
  color: var(--texte);
  font-weight: 700;
}

/* ============================================================
   TARIFS
   ============================================================ */
.tarifs-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.tarif-card {
  background: var(--lin);
  border: 1px solid var(--lin-fonce);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
}
.tarif-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-forte);
}
.tarif-card.vedette {
  background: var(--foret);
  border-color: var(--vert);
  color: var(--blanc);
}
.tarif-card.vedette h3 {
  color: var(--blanc);
}
.tarif-card.vedette p {
  color: rgba(255, 255, 255, 0.65);
}
.tarif-card.vedette .tarif-prix {
  color: var(--vert-pale);
}
.tarif-card.vedette .tarif-feature {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.1);
}

.tarif-badge-vedette {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terre);
  color: var(--blanc);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.tarif-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.tarif-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.tarif-desc {
  font-size: 0.88rem;
  margin-bottom: 24px;
}
.tarif-prix {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--vert);
  line-height: 1;
}
.tarif-prix sup {
  font-size: 1.4rem;
  vertical-align: super;
}
.tarif-periode {
  font-size: 0.78rem;
  color: var(--texte-pale);
  margin-bottom: 28px;
}
.tarif-features {
  margin-bottom: 28px;
}
.tarif-feature {
  font-size: 0.88rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--lin-fonce);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.tarif-feature:last-child {
  border-bottom: none;
}
.tarif-feature-check {
  color: var(--vert);
  font-size: 1rem;
}

/* ============================================================
   FORMULAIRE INSCRIPTION
   ============================================================ */
.inscription-section {
  background: var(--lin);
}

.inscription-grille {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.inscription-info h2 {
  color: var(--foret);
}
.inscription-info p {
  margin: 16px 0 30px;
}

.cours-liste-inscription {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.cours-item-inscription {
  background: var(--blanc);
  border: 1px solid var(--lin-fonce);
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cours-item-nom {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--foret);
}
.cours-item-places {
  font-size: 0.78rem;
  color: var(--vert);
  font-weight: 700;
  background: var(--vert-clair);
  padding: 3px 10px;
  border-radius: 50px;
}
.cours-item-places.complet {
  color: var(--terre);
  background: rgba(176, 106, 74, 0.1);
}

.form-card {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--ombre);
}
.form-card h3 {
  font-size: 1.5rem;
  color: var(--foret);
  margin-bottom: 6px;
}
.form-card p {
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.form-groupe {
  margin-bottom: 20px;
}
.form-groupe label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--texte);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.form-groupe input,
.form-groupe select,
.form-groupe textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--lin-fonce);
  border-radius: 8px;
  font-family: "Lato", sans-serif;
  font-size: 0.92rem;
  color: var(--texte);
  background: var(--lin);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
}
.form-groupe input:focus,
.form-groupe select:focus,
.form-groupe textarea:focus {
  border-color: var(--vert);
  box-shadow: 0 0 0 3px rgba(92, 122, 90, 0.12);
  background: var(--blanc);
}

/* --- États validation --- */
.form-groupe input.valide,
.form-groupe textarea.valide {
  border-color: var(--vert);
  background: rgba(92, 122, 90, 0.04);
}
.form-groupe input.invalide,
.form-groupe textarea.invalide {
  border-color: var(--terre);
  box-shadow: 0 0 0 3px rgba(176, 106, 74, 0.1);
  background: rgba(176, 106, 74, 0.03);
}
.form-erreur {
  display: none;
  font-size: 0.78rem;
  color: var(--terre);
  margin-top: 5px;
  padding-left: 2px;
}
.form-erreur.visible {
  display: block;
}
.form-groupe textarea {
  resize: vertical;
  min-height: 100px;
}

.form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px;
  background: rgba(92, 122, 90, 0.08);
  border-radius: 8px;
  border: 1px solid var(--vert-pale);
}
.form-success.visible {
  display: block;
}
.form-success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.form-success h4 {
  color: var(--vert);
  font-size: 1.3rem;
}
.form-success p {
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ============================================================
   PAGE CONTACT
   ============================================================ */
.contact-grille {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-card {
  background: var(--lin);
  border: 1px solid var(--lin-fonce);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ombre);
}

.contact-icone {
  width: 50px;
  height: 50px;
  background: var(--vert-clair);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--vert);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact-info-card p {
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   COOKIES
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--foret);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(calc(100% + 30px));
  transition: transform 0.4s ease;
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-texte {
  font-size: 0.88rem;
  line-height: 1.6;
}
.cookie-texte a {
  color: var(--vert-pale);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================================================
   BOUTON ADMIN FLOTTANT
   ============================================================ */
.btn-admin-flottant {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--foret);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  cursor: pointer;
  z-index: 800;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-admin-flottant:hover {
  background: var(--vert);
  color: var(--blanc);
  border-color: var(--vert);
}

/* ============================================================
   ANIMATION FADE-IN
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grille {
    grid-template-columns: 1fr 1fr;
  }
  .apropos {
    grid-template-columns: 1fr;
  }
  .apropos-texte {
    padding: 50px 40px;
    text-align: center;
  }
  .apropos-texte .divider {
    margin: 18px auto 30px;
  }
  .apropos-certifs {
    justify-content: center;
  }
  .cours-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cours-detail.inverse {
    direction: ltr;
  }
  .inscription-grille {
    grid-template-columns: 1fr;
  }
  .contact-grille {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-liens {
    display: none;
  }
  .nav-burger {
    display: flex;
  }

  /* --- Hero : centré sur mobile --- */
  .hero {
    text-align: center;
  }
  .hero-contenu {
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  .hero-sous-titre {
    font-size: 0.95rem;
  }
  .hero > .hero-contenu > div[style] {
    justify-content: center;
  }
  .hero-stats {
    gap: 20px;
    justify-content: center;
  }
  .hero-stats > div {
    text-align: center;
  }

  /* --- À propos : colonne unique + médaillon centré sur mobile --- */
  .apropos {
    grid-template-columns: 1fr;
  }
  .apropos-medallion-wrap {
    padding: 60px 24px 60px;
  }
  .apropos-medallion {
    width: 200px;
    height: 200px;
  }
  .medallion-anneau-ext {
    width: 300px;
    height: 300px;
  }
  .medallion-anneau-mid {
    width: 250px;
    height: 250px;
  }
  .medallion-points {
    width: 300px;
    height: 300px;
  }
  .apropos-texte {
    padding: 30px 24px 50px;
    text-align: center;
    align-items: center;
  }
  .apropos-texte .divider {
    margin: 18px auto 30px;
  }
  .apropos-certifs {
    justify-content: center;
  }
  .apropos-texte .btn {
    align-self: center;
  }

  /* --- Sections : titres centrés --- */
  .section-padding .badge,
  .section-padding-sm .badge {
    display: block;
    text-align: center;
  }

  /* --- Reste --- */
  .temoignage-card {
    padding: 0 20px;
  }
  .footer-grille {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bas {
    flex-direction: column;
    text-align: center;
  }
  .form-2col {
    grid-template-columns: 1fr;
  }
  .tarifs-grille {
    grid-template-columns: 1fr;
  }
  .cours-infos {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 28px 20px;
  }
  .cookie-banner {
    flex-direction: column;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
}

/* ============================================================
   ESPACE MEMBRES
   ============================================================ */

/* Bandeau membre connecté (en haut de page, sous navbar) */
.membre-bandeau {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--foret);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  padding: 8px 5%;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-deconnexion {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-deconnexion:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Quand le bandeau est affiché, décaler le contenu */
body:has(.membre-bandeau[style*="flex"]) .hero-page,
body:has(.membre-bandeau[style*="flex"]) .hero {
  padding-top: 136px;
}

/* Alertes connexion */
.membre-alerte {
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.membre-alerte-erreur {
  background: rgba(176, 106, 74, 0.1);
  border: 1px solid rgba(176, 106, 74, 0.3);
  color: var(--terre-hover);
}
.membre-alerte-info {
  background: rgba(92, 122, 90, 0.1);
  border: 1px solid var(--vert-pale);
  color: var(--vert-hover);
}

/* Planning des séances */
.membre-planning-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.membre-planning-item {
  background: var(--blanc);
  border: 1px solid var(--lin-fonce);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--vert);
}
.membre-planning-date {
  font-weight: 700;
  color: var(--foret);
  font-size: 0.95rem;
}
.membre-planning-heure {
  font-size: 0.82rem;
  color: var(--texte-pale);
  margin: 2px 0 8px;
}
.membre-planning-theme {
  font-size: 0.88rem;
  color: var(--texte-doux);
  margin-bottom: 10px;
}
.membre-planning-statut {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
}
.membre-planning-statut.ok {
  background: rgba(92, 122, 90, 0.12);
  color: var(--vert-hover);
}
.membre-planning-statut.annule,
.membre-planning-statut.annulee {
  background: rgba(176, 106, 74, 0.1);
  color: var(--terre);
}
.membre-planning-statut.modif {
  background: rgba(180, 150, 30, 0.12);
  color: #8a6a00;
}

/* Ressources */
.membre-ressources-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.membre-ressource-card {
  background: var(--blanc);
  border: 1px solid var(--lin-fonce);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.membre-ressource-card:hover {
  box-shadow: var(--ombre);
  transform: translateY(-2px);
}
.membre-ressource-icone {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.membre-ressource-card h4 {
  font-size: 0.95rem;
  color: var(--foret);
  margin-bottom: 4px;
}
.membre-ressource-card p {
  font-size: 0.82rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* ============================================================
   BOUTON RETOUR EN HAUT
   ============================================================ */
#btn-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--vert);
  color: var(--blanc);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30, 45, 30, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.3s,
    background 0.2s;
  z-index: 990;
}
#btn-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#btn-top:hover {
  background: var(--vert-hover);
  transform: translateY(-2px);
}

/* Animation chargement */
@keyframes chargement {
  from {
    width: 0;
  }
  to {
    width: 200px;
  }
}

/* ── PAGES LÉGALES (mentions légales, confidentialité) ── */
.mentions-bloc {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid #ede8de;
}
.mentions-bloc:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.mentions-bloc h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--foret);
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--vert);
}
.mentions-bloc p {
  font-size: 0.97rem;
  line-height: 1.85;
  color: #3a4a3a;
  margin-bottom: 12px;
}
.mentions-bloc p:last-child {
  margin-bottom: 0;
}
.mentions-bloc ul {
  margin: 12px 0 12px 24px;
  line-height: 1.9;
  font-size: 0.97rem;
  color: #3a4a3a;
}
.mentions-bloc strong {
  color: var(--foret);
}
.mentions-bloc em {
  color: var(--texte-doux);
}
@media (max-width: 600px) {
  .mentions-bloc h2 {
    font-size: 1.25rem;
  }
}
