/* Polices auto-hébergées (fichiers variables, plus rapide + pas d'appel à un CDN externe) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-normal-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-italic-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 200 400;
  font-display: swap;
  src: url('../assets/fonts/jost-normal-var.woff2') format('woff2');
}

:root {
  --clay:    #C8785A;
  --clay-lt: #E8A88A;
  --parch:   #F5EFE6;
  --stone:   #6B5B49;
  --ink:     #2A221A;
  --sage:    #7A8C72;
  --cream:   #FBF7F2;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 400;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 3rem;
  background: rgba(251,247,242,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200,120,90,.15);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); font-weight: 400;
}
.nav-logo span { color: var(--clay); }
nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav ul li a {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--stone); text-decoration: none; transition: color .25s;
}
nav ul li a:hover { color: var(--clay); }

/* Bouton menu sandwich (mobile uniquement) */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 9px;
  background: none; border: none; cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 70px;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 4rem 6rem 6rem;
}
.hero-eyebrow {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: .8rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 40px; height: 1px; background: var(--clay);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--ink); margin-bottom: 2rem;
}
.hero-title em { color: var(--clay); font-style: italic; }
.hero-sub {
  font-size: .9rem; line-height: 1.8; color: var(--stone);
  max-width: 34ch; margin-bottom: 3rem;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .9rem 2rem; background: var(--clay); color: #fff;
  font-family: 'Jost', sans-serif; font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .25s, gap .25s;
  align-self: flex-start;
}
.btn-primary:hover { background: var(--ink); gap: 1.2rem; }
.btn-primary .arrow { font-size: 1rem; }

.hero-visual {
  position: relative; overflow: hidden;
  background: var(--ink);
}
.hero-visual img.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block;
  filter: sepia(20%) contrast(1.05) brightness(.88);
  transition: transform 8s ease;
}
.hero-visual:hover img.hero-photo { transform: scale(1.03); }
/* overlay dégradé argile */
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(200,120,90,.22) 0%, transparent 60%),
    linear-gradient(to top,   rgba(42,34,26,.5) 0%,  transparent 50%);
  pointer-events: none;
}
/* crédit photo (à droite pour libérer la place de la citation) */
.photo-credit {
  position: absolute; bottom: .6rem; right: 1rem; z-index: 10;
  font-size: .6rem; color: rgba(255,255,255,.38);
  letter-spacing: .06em; pointer-events: none;
}
/* citation B.K.S. Iyengar en surimpression */
.hero-quote {
  position: absolute; bottom: 2.2rem; left: 2.2rem; right: 2.2rem; z-index: 10;
}
.hero-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.2rem; line-height: 1.5;
  color: rgba(255,255,255,.92); max-width: 30ch;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.hero-quote cite {
  display: block; margin-top: .5rem;
  font-style: normal; font-size: .62rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245,239,230,.85);
}

/* ── SECTIONS COMMUNES ── */
section { padding: 7rem 6rem; }
.section-label {
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .8rem;
}
.section-label::before {
  content: ''; width: 30px; height: 1px; background: var(--clay);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300; line-height: 1.15;
  color: var(--ink); margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--clay); }
.divider { width: 60px; height: 1px; background: var(--clay); margin-bottom: 3rem; }

/* ── MÉTHODE ── */
#methode {
  background: var(--parch);
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
#methode .text p, #methode li{
  font-size: .9rem; line-height: 1.9; color: var(--stone);
  margin-bottom: 1.2rem;
}
#methode li {
  text-indent: -1.2rem; padding-left: 1.2rem;
  margin-left: 2rem;
  margin-bottom: .1rem;
}
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.feature-card {
  padding: 1.8rem; background: var(--cream);
  border-top: 2px solid var(--clay);
  transition: transform .25s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card .icon {
  font-size: 1.4rem; margin-bottom: .8rem;
}
.feature-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 400; margin-bottom: .5rem; color: var(--ink);
}
.feature-card p { font-size: .78rem; line-height: 1.6; color: var(--stone); }

/* ── COURS ── */
#cours { background: var(--cream); }
.cours-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 1rem;
}
.cours-card {
  border: 1px solid rgba(200,120,90,.2); padding: 2rem;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.cours-card:hover { border-color: var(--clay); transform: translateY(-4px); }
.cours-card::before {
  content: attr(data-level);
  position: absolute; top: -1rem; right: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 300;
  color: rgba(200,120,90,.07); line-height: 1;
}
.cours-card .tag {
  display: inline-block; padding: .25rem .7rem;
  background: rgba(200,120,90,.1); color: var(--clay);
  font-size: .62rem; letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.cours-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 400; margin-bottom: 1rem; color: var(--ink);
}
.slot-list { list-style: none; }
.slot-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem 0; border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .78rem; color: var(--stone);
}
.slot-list li:last-child { border-bottom: none; }
.slot-list .day { font-weight: 400; color: var(--clay); }
.cours-desc { font-size:.78rem; color:var(--stone); margin-top:1rem; line-height:1.6; }
.tarifs-row {
  display: flex; gap: 1.5rem; margin-top: 3rem;
}
.tarif-pill {
  padding: .9rem 1.8rem; background: var(--parch);
  border-left: 3px solid var(--clay);
  font-size: .8rem;
}
.tarif-pill strong { display: block; font-size: 1.3rem; font-family: 'Cormorant Garamond', serif; color: var(--clay); }

/* ── ENSEIGNANTES ── */
#enseignantes {
  background: var(--ink);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
}
#enseignantes .section-label { color: var(--clay-lt); }
#enseignantes .section-label::before { background: var(--clay-lt); }
#enseignantes .section-title { color: var(--parch); }
#enseignantes .section-title em { color: var(--clay-lt); }
#enseignantes .divider { background: var(--clay-lt); }
.enseignantes-intro {
  font-size: .9rem; line-height: 1.8;
  color: rgba(245,239,230,.82); max-width: 36ch;
}
.prof-cards { display: flex; flex-direction: column; gap: 2rem; }
.prof-card {
  display: flex; gap: 1.8rem; align-items: flex-start;
  padding: 2.2rem; background: rgba(255,255,255,.05);
  border-left: 2px solid var(--clay);
}
.prof-avatar {
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--clay); flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.prof-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block;
}
.prof-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400; color: var(--parch);
  margin-bottom: .25rem;
}
.prof-card .role {
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--clay-lt); margin-bottom: .8rem;
}
.prof-card p { font-size: .8rem; line-height: 1.7; color: rgba(245,239,230,.82); }
.prof-card .contact { margin-top: .8rem; font-size: .75rem; color: var(--clay-lt); }
.prof-card .contact a { color: inherit; text-decoration: none; }
.prof-card .contact a:hover { text-decoration: underline; }

/* ── CONTACT ── */
#contact {
  background: var(--clay);
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  color: #fff;
}
#contact .section-label { color: rgba(255,255,255,.8); }
#contact .section-label::before { background: rgba(255,255,255,.8); }
#contact .section-title { color: #fff; }
#contact .section-title em { color: var(--parch); }
#contact .divider { background: rgba(255,255,255,.4); }
#contact p { font-size: .9rem; line-height: 1.8; color: rgba(255,255,255,.95); margin-bottom: 2rem; }
.contact-infos { display: flex; flex-direction: column; gap: 1rem; }
.info-item { display: flex; align-items: flex-start; gap: 1rem; }
.info-item .icon { font-size: 1.1rem; margin-top: .1rem; }
.info-item div { font-size: .85rem; line-height: 1.6; color: rgba(255,255,255,.95); }
.info-item div strong { display: block; color: #fff; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: .2rem; }
.info-item a { color: inherit; text-decoration: none; }
.info-item a:hover { text-decoration: underline; }
.btn-white {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .9rem 2rem; background: #fff; color: var(--clay);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .25s, color .25s;
  margin-top: 2rem;
}
.btn-white:hover { background: var(--ink); color: #fff; }
.map-embed {
  aspect-ratio: 1; background: rgba(0,0,0,.15);
  overflow: hidden;
}
.map-embed iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(25%) contrast(1.05);
  transition: filter .25s;
}
.map-embed iframe:hover { filter: none; }

/* ── AUTRES LIEUX ── */
#autres-lieux {
  padding: 3rem 6rem;
  background: var(--parch);
  border-top: 1px solid rgba(200,120,90,.15);
}
#autres-lieux .section-label { margin-bottom: .6rem; }
.autres-lieux-title {
  font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: .78rem; letter-spacing: .04em;
  color: var(--stone); margin-bottom: 1.4rem;
}
.autres-lieux-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem;
}
.lieu-item {
  font-size: .78rem; line-height: 1.6; color: var(--stone);
}
.lieu-item strong { color: var(--ink); font-weight: 400; }
.lieu-item .lieu-detail {
  display: block; font-size: .72rem; color: var(--stone); opacity: .8;
  margin-top: .2rem;
}
.lieu-item a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }

/* ── FOOTER ── */
footer {
  padding: 2rem 6rem;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.08);
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(245,239,230,.55);
}

/* ── ANIMATIONS ── */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  nav { flex-wrap: wrap; padding: 1.2rem 1.6rem; }
  .nav-toggle { display: flex; }
  nav ul {
    display: none;
    flex-direction: column; gap: 0;
    width: 100%; margin-top: 1rem;
  }
  nav ul.open { display: flex; }
  nav ul li { width: 100%; }
  nav ul li a {
    display: block; padding: .95rem .2rem; font-size: .8rem;
    border-top: 1px solid rgba(200,120,90,.14);
  }
  .hero, #methode, #enseignantes, #contact { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-text { padding: 4rem 2rem; }
  section { padding: 5rem 2rem; }
  .cours-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .tarifs-row { flex-wrap: wrap; gap: 1rem; }
  #autres-lieux { padding: 2.5rem 2rem; }
  .autres-lieux-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  /* Cartes enseignantes : photo au-dessus, texte centré en dessous */
  .prof-card {
    flex-direction: column; align-items: center; text-align: center;
    gap: 1.2rem;
    border-left: none; border-top: 2px solid var(--clay);
  }
  .prof-avatar { width: 124px; height: 124px; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}
