/*
Theme Name: BEEC
Theme URI: https://formationbeec.tn
Description: Thème sur mesure pour BEEC — Belkadhi École Esthétique Cosmétique. Refonte 2026 : or & bleu royal, bilingue FR/AR, animations douces.
Author: We Create
Author URI: https://wecreate.tn
Version: 1.2.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: beec
*/

:root {
  --ivory: #FCFAF6;
  --paper: #FFFFFF;
  --ink: #241B14;
  --ink-soft: #5C5245;
  --taupe: #8A7A64;
  --gold: #C4922E;
  --gold-light: #E4BA5F;
  --gold-wash: #F6EDDD;
  --blush: #B97F6E;
  --royal: #2C459C;
  --royal-deep: #1B2B5E;
  --royal-wash: #EDF0FA;
  --rose-wash: #F8EDE9;
  --rose-block: #EBD3CB;
  --line: #E8E0D2;
  --card: #FFFFFF;
  --shadow: 0 18px 44px rgba(36, 27, 20, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ---------- Animations ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes photo-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-soft {
  from { opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes ken-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero .stagger > * { animation: rise-in .8s cubic-bezier(.22,.8,.3,1) both; }
.hero .stagger > *:nth-child(1) { animation-delay: .05s; }
.hero .stagger > *:nth-child(2) { animation-delay: .15s; }
.hero .stagger > *:nth-child(3) { animation-delay: .28s; }
.hero .stagger > *:nth-child(4) { animation-delay: .38s; }
.hero .stagger > *:nth-child(5) { animation-delay: .5s; }
.hero .stagger > *:nth-child(6) { animation-delay: .65s; }
.hero-visual .ph-main { animation: photo-in 1.1s cubic-bezier(.22,.8,.3,1) .35s both; }
.hero-visual .ph-main img { animation: ken-zoom 16s ease-in-out 1.4s infinite alternate; }
.hero-visual .ph-second { animation: photo-in 1.1s cubic-bezier(.22,.8,.3,1) .55s both, float-soft 9s ease-in-out 2.2s infinite; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.22,.8,.3,1), transform .8s cubic-bezier(.22,.8,.3,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
}
.serif { font-family: "Playfair Display", Didot, "Bodoni MT", Georgia, serif; }
.ar { direction: rtl; font-family: "El Messiri", "Segoe UI", Tahoma, sans-serif; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
section { padding: 84px 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
}
h1, h2, h3 { text-wrap: balance; margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 250, 246, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
body.admin-bar .site-header { top: 32px; }
.nav {
  display: flex; align-items: center; gap: 20px;
  padding: 14px 24px; max-width: 1260px; margin: 0 auto;
}
.nav .logo-link img { height: 42px; width: auto; }
.nav nav { display: flex; gap: 22px; margin-left: auto; margin-right: auto; font-size: .9rem; }
.nav nav a { text-decoration: none; color: var(--ink-soft); white-space: nowrap; }
.nav .btn { white-space: nowrap; padding: 11px 22px; font-size: .9rem; flex-shrink: 0; }
.nav .lang-switch { flex-shrink: 0; }
@media (max-width: 1160px) {
  .nav nav { gap: 16px; font-size: .85rem; }
  .nav .btn { padding: 10px 16px; font-size: .84rem; }
}
.nav nav a:hover, .nav nav a:focus-visible { color: var(--gold); }
html[dir="rtl"] .nav nav { margin: 0 auto; }

.btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: #241B14;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: .95rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .6s ease;
  pointer-events: none;
}
.btn:hover::after, .btn:focus-visible::after { transform: translateX(110%); }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(196, 146, 46, .35); }
.btn.ghost {
  background: none;
  border: 1px solid var(--royal);
  color: var(--royal);
}
.btn.ghost::after { display: none; }
.btn.ghost:hover, .btn.ghost:focus-visible { box-shadow: 0 10px 24px rgba(44, 69, 156, .25); }
a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Burger (mobile) ---------- */
.burger {
  display: none;
  border: 0; background: none; cursor: pointer;
  width: 42px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  flex-shrink: 0;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.site-header.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .burger span:nth-child(2) { opacity: 0; }
.site-header.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sélecteur de langue ---------- */
.lang-switch {
  display: flex; align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: .82rem;
  background: var(--paper);
  height: 34px;
}
.lang-switch button {
  border: 0; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  min-width: 46px;
  padding: 0 12px;
  line-height: 1;
  color: var(--ink-soft);
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  font-size: .82rem; font-weight: 600;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--royal);
  color: #fff;
}

/* ---------- Onglet WhatsApp (bord droit, centré) ---------- */
.wa-fab {
  position: fixed;
  right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: #161616;
  color: #fff;
  padding: 12px 8px;
  border-radius: 10px 0 0 10px;
  text-decoration: none;
  font-weight: 500; font-size: .74rem; letter-spacing: .05em;
  transition: background .18s ease, padding .18s ease;
}
.wa-fab span { writing-mode: vertical-rl; }
.wa-fab:hover, .wa-fab:focus-visible { background: #000; padding-right: 12px; }
.wa-fab svg { width: 18px; height: 18px; fill: #fff; }
html[dir="rtl"] .wa-fab { right: auto; left: 0; border-radius: 0 10px 10px 0; }
html[dir="rtl"] .wa-fab:hover { padding-right: 8px; padding-left: 12px; }

/* ---------- Mode arabe (RTL) ---------- */
.lang-ar .serif, .lang-ar h1, .lang-ar h2, .lang-ar h3 { font-family: "El Messiri", "Segoe UI", Tahoma, sans-serif; font-weight: 600; }
.lang-ar .eyebrow, .lang-ar .cat, .lang-ar .tag, .lang-ar .site-footer h4 { letter-spacing: 0; }
.lang-ar .hero h1 { line-height: 1.25; font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.lang-ar .founder .mark { display: none; }
.lang-ar .marquee span { font-family: "Segoe UI", Tahoma, sans-serif; }
html[dir="rtl"] .dip-card ul { padding: 0 18px 0 0; }

/* ---------- Illustrations florales dorées (SVG vectoriel) ----------
   Éclosion orchestrée : chaque tige puis chaque fleur naît de sa base
   (échelle + rotation + fondu, décalées), puis respire sous la brise. */
.flora {
  position: absolute; pointer-events: none; z-index: 0;
  color: var(--gold);
  opacity: 0;
  transition: opacity .5s ease;
}
.flora.shape-a { aspect-ratio: 128 / 148; }
.flora.shape-b { aspect-ratio: 314 / 184; }
.flora.shape-b1 { aspect-ratio: 105 / 186; }
.flora.shape-b2 { aspect-ratio: 148 / 172; }
.flora.shape-bl { aspect-ratio: 128 / 196; }
.flora.shape-f { aspect-ratio: 140 / 146; }
.flora.shape-eu { aspect-ratio: 107 / 196; }
.flora.light { color: var(--gold-light); }
.flora.in { opacity: var(--fo, .5); }
.flora.mirror { transform: scaleX(-1); }

.flora .p {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  opacity: 0;
  transform: scale(.55) rotate(-5deg);
}
.flora .p:nth-child(1) { --pi: 0; }
.flora .p:nth-child(2) { --pi: 1; }
.flora .p:nth-child(3) { --pi: 2; }
.flora .p:nth-child(4) { --pi: 3; }
.flora .p:nth-child(5) { --pi: 4; }
.flora .p:nth-child(6) { --pi: 5; }
.flora .p:nth-child(7) { --pi: 6; }
.flora .p:nth-child(8) { --pi: 7; }
.flora.in .p {
  animation:
    flora-bloom 1.05s cubic-bezier(.3, 1.25, .4, 1) calc(var(--pi, 0) * .08s) forwards,
    flora-breeze 6.5s ease-in-out calc(1.5s + var(--pi, 0) * .3s) infinite alternate;
}
@keyframes flora-bloom {
  from { opacity: 0; transform: scale(.55) rotate(-5deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes flora-breeze {
  from { transform: scale(1) rotate(-0.8deg); }
  to { transform: scale(1) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
  .flora { opacity: var(--fo, .5); transition: none; }
  .flora .p { opacity: 1; transform: none; animation: none !important; }
  .flora.mirror { transform: scaleX(-1); }
}
.hero, .founder, .session .box { position: relative; }
.hero .wrap, .founder .wrap { position: relative; z-index: 1; }
.session .box > *:not(.flora) { position: relative; z-index: 1; }
.hero .flora-1 { left: -40px; bottom: -30px; width: min(360px, 34vw); --fo: .5; }
.hero .flora-2 { right: 10px; top: 8px; width: 150px; --fo: .42; }
.founder .flora-1 { right: 14px; bottom: -24px; width: 160px; --fo: .5; }
.founder .flora-2 { left: 3%; top: 18px; width: 125px; --fo: .4; }
.session .flora-1 { right: -10px; bottom: -26px; width: 175px; --fo: .45; }
.session .flora-2 { left: 24px; top: 16px; width: 115px; --fo: .45; }
@media (max-width: 900px) {
  .hero .flora-2, .founder .flora-2 { display: none; }
  .hero .flora-1 { width: 220px; }
  .founder .flora-1, .session .flora-1 { width: 190px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 100px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, var(--rose-wash), transparent 70%),
    radial-gradient(ellipse 50% 60% at 5% 90%, var(--gold-wash), transparent 70%),
    var(--ivory);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 500;
  margin: 18px 0 8px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .ar-line {
  color: var(--royal);
  font-size: 1.05rem;
  margin: 10px 0 18px;
}
.hero p.lead { color: var(--ink-soft); max-width: 34em; margin: 0 0 30px; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-visual { position: relative; min-height: 480px; }
.hero-visual .ph {
  position: absolute; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 2;
}
.hero-visual .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .ph-main { width: 74%; height: 82%; top: 0; right: 4%; border-radius: 500px 500px 14px 14px; }
.hero-visual .ph-second { width: 50%; height: 46%; bottom: 0; left: 0; border: 6px solid var(--ivory); border-radius: 500px 500px 12px 12px; }
/* Bloc de couleur rosé décalé, façon référence éditoriale */
.hero-visual::before {
  content: "";
  position: absolute;
  top: -28px; right: -34px;
  width: 62%; height: 58%;
  background: var(--rose-block);
  border-radius: 26px;
  z-index: 0;
  animation: fade-soft 1.6s ease .15s both;
}
/* Arche fine dorée en trait, décalée derrière la photo */
.hero-visual::after {
  content: "";
  position: absolute;
  top: 34px; left: 4%;
  width: 58%; height: 72%;
  border: 1.5px solid var(--gold);
  border-radius: 500px 500px 18px 18px;
  opacity: .55;
  z-index: 1;
  animation: fade-soft 1.8s ease .5s both;
}

.chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.chip {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: .85rem;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.chip b { color: var(--gold); font-weight: 700; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding: 18px 0;
  white-space: nowrap;
}
.marquee .track {
  display: inline-flex;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee:hover .track { animation-play-state: paused; }
.marquee span {
  font-family: Didot, "Bodoni MT", "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  color: var(--taupe);
  padding: 0;
}
.marquee span b {
  color: var(--royal);
  font-weight: 700;
  font-size: 1.35em;
  line-height: 0;
  vertical-align: middle;
  padding: 0 32px;
}

/* ---------- Diplômes ---------- */
.diplomas { background: var(--paper); border-block: 1px solid var(--line); }
.sec-head { max-width: 620px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 500; margin-top: 14px; }
.sec-head p { color: var(--ink-soft); margin: 14px 0 0; }
.dip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dip-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 38px 36px;
  background: linear-gradient(160deg, var(--gold-wash), var(--card) 55%);
  display: flex; flex-direction: column; gap: 14px;
}
.dip-card .tag {
  align-self: flex-start;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 5px 12px; border-radius: 999px;
}
.dip-card h3 { font-size: 1.75rem; font-weight: 500; }
.dip-card .dip-sub { color: var(--royal); font-size: 1.02rem; margin: 0; }
.dip-card p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.dip-card ul { margin: 6px 0 0; padding: 0 0 0 18px; color: var(--ink-soft); font-size: .92rem; display: grid; gap: 6px; }

/* ---------- Formations ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cert {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(36, 27, 20, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert .im { aspect-ratio: 4 / 3; overflow: hidden; }
.cert img { width: 100%; height: 100%; object-fit: cover; }
.cert .body { padding: 20px 22px 24px; }
.cert .cat { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--royal); }
.cert h3 { font-size: 1.28rem; font-weight: 500; margin: 6px 0 6px; }
.cert p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.more-note { margin-top: 36px; text-align: center; color: var(--taupe); font-size: .95rem; }
.more-note a { color: var(--gold); font-weight: 600; }

.btn.mini { padding: 8px 20px; font-size: .84rem; margin-top: 14px; }

/* ---------- Fondateur ---------- */
.founder {
  background: linear-gradient(135deg, var(--royal-deep), #10193A 70%);
  color: #F2ECDF;
}
.founder .wrap { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.founder .mark {
  font-size: 7rem; line-height: 1; color: #E4BA5F;
  font-family: Didot, "Bodoni MT", Georgia, serif;
}
.founder blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  font-weight: 400;
  max-width: 30em;
}
.founder figcaption { margin-top: 26px; color: #E4BA5F; font-size: .95rem; }
.founder figcaption span { display: block; opacity: .75; color: currentColor; font-size: .85rem; margin-top: 2px; }

/* ---------- Session CTA ---------- */
.session { text-align: center; }
.session .box {
  border: 1.5px solid var(--gold);
  border-radius: 22px;
  padding: 64px 40px;
  background:
    radial-gradient(ellipse at top left, var(--gold-wash), transparent 55%),
    radial-gradient(ellipse at top right, var(--rose-wash), transparent 60%),
    radial-gradient(ellipse at bottom right, var(--royal-wash), transparent 55%),
    var(--paper);
}
.session h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 500; margin: 14px 0 10px; }
.session p { color: var(--ink-soft); max-width: 40em; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr .9fr; gap: 40px; }
.legal .credit a { color: var(--gold); font-weight: 600; }
.legal .credit b { color: var(--royal); font-weight: 600; }
.site-footer .foot-logo { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer h4 { margin: 0 0 14px; font-size: .78rem; text-transform: uppercase; letter-spacing: .15em; color: var(--taupe); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: var(--ink-soft); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--taupe); font-size: .82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Pages intérieures & blog ---------- */
.page-shell { padding: 64px 0 84px; }
.page-shell .page-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; margin-bottom: 8px; }
.page-shell .page-meta { color: var(--taupe); font-size: .88rem; margin-bottom: 34px; }
.entry-content { max-width: 760px; }
.entry-content img { border-radius: 12px; }
.entry-content a { color: var(--royal); }
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"],
.entry-content input[type="date"], .entry-content input[type="file"], .entry-content select, .entry-content textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: inherit; font-size: .95rem;
  background: var(--paper);
  color: var(--ink);
}
.entry-content input[type="submit"], .entry-content button[type="submit"] {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  color: #241B14;
  border: 0; border-radius: 999px;
  padding: 12px 30px;
  font-weight: 600; font-size: .95rem;
  cursor: pointer;
}
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-list .cert h3 a { text-decoration: none; }
.post-list .cert h3 a:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .burger { display: flex; }
  .nav { gap: 12px; padding: 12px 16px; position: relative; }
  .nav .logo-link img { height: 36px; }
  .nav .btn { padding: 9px 14px; font-size: .8rem; }
  .lang-switch { height: 30px; }
  .lang-switch button { min-width: 38px; padding: 0 8px; font-size: .78rem; }
  .site-header.nav-open .nav nav {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    margin: 0; padding: 8px 20px 14px;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(36, 27, 20, .1);
    gap: 0; font-size: 1rem;
  }
  .site-header.nav-open .nav nav a { padding: 12px 2px; border-bottom: 1px solid var(--line); }
  .site-header.nav-open .nav nav a:last-child { border-bottom: 0; }
  .hero .wrap, .founder .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; margin-top: 10px; }
  .dip-grid { grid-template-columns: 1fr; }
  .cert-grid, .post-list { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav nav { display: none; }
  .founder .mark { font-size: 4rem; }
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 560px) {
  .cert-grid, .post-list { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}

/* ---------- Pages intérieures ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(ellipse 55% 60% at 90% 10%, var(--rose-wash), transparent 70%),
    radial-gradient(ellipse 45% 55% at 4% 95%, var(--gold-wash), transparent 70%),
    var(--ivory);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 500; }
.page-hero .sub { color: var(--ink-soft); max-width: 42em; margin: 14px auto 0; }
.page-hero .eyebrow { display: block; margin-bottom: 12px; }
.page-hero .flora-1 { left: -30px; bottom: -24px; width: 190px; --fo: .4; }
.page-hero .flora-2 { right: 8px; top: 10px; width: 120px; --fo: .38; }
@media (max-width: 700px) { .page-hero .flora-2 { display: none; } }

.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.cta-band { text-align: center; padding: 60px 0 80px; }
.cta-band p { color: var(--ink-soft); max-width: 36em; margin: 0 auto 26px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 28px; display: flex; flex-direction: column; gap: 8px;
}
.contact-card h3 { font-size: 1.2rem; font-weight: 500; }
.contact-card a { color: var(--royal); text-decoration: none; }
.contact-card .big { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.map-frame { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-top: 48px; }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Liste certificats */
.cert-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; max-width: 880px; margin: 0 auto; }
.cert-list li {
  list-style: none; display: flex; gap: 12px; align-items: baseline;
  padding: 13px 6px; border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.cert-list li b { color: var(--ink); font-weight: 600; }
.cert-list li::before { content: "•"; color: var(--gold); font-weight: 700; font-size: 1.2em; }
@media (max-width: 700px) { .cert-list { grid-template-columns: 1fr; } }

/* Valeurs / chiffres */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; }
.value-card h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.stat-row { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }
.stat {
  background: linear-gradient(160deg, var(--gold-wash), var(--card) 60%);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 34px; text-align: center; min-width: 170px;
}
.stat b { display: block; font-size: 2rem; color: var(--gold); font-family: "Playfair Display", Georgia, serif; font-weight: 600; }
.stat span { color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- Réservation multi-étapes ---------- */
.resa-shell { max-width: 760px; margin: 0 auto; }
.steps-bar { display: flex; align-items: center; gap: 0; margin-bottom: 40px; }
.steps-bar .st {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: relative; color: var(--taupe); font-size: .8rem; text-align: center;
}
.steps-bar .st .dot {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--taupe);
  transition: all .3s ease;
}
.steps-bar .st::before {
  content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px;
  background: var(--line); z-index: -1;
}
.steps-bar .st:first-child::before { display: none; }
.steps-bar .st.active .dot { border-color: var(--gold); background: linear-gradient(120deg, var(--gold), var(--gold-light)); color: #241B14; }
.steps-bar .st.done .dot { border-color: var(--royal); background: var(--royal); color: #fff; }
.steps-bar .st.active { color: var(--ink); font-weight: 600; }

.resa-step { display: none; animation: rise-in .5s cubic-bezier(.22,.8,.3,1) both; }
.resa-step.active { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font-family: inherit; font-size: .95rem;
  background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.field .err { color: #B3261E; font-size: .8rem; margin-top: 4px; display: none; }
.field.invalid input, .field.invalid select { border-color: #B3261E; }
.field.invalid .err { display: block; }
.btn-row { display: flex; justify-content: space-between; gap: 14px; margin-top: 34px; }
.btn-row .spacer { flex: 1; }
.resa-recap {
  background: linear-gradient(160deg, var(--gold-wash), var(--card) 55%);
  border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px;
}
.resa-recap dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; }
.resa-recap dt { color: var(--taupe); font-size: .88rem; }
.resa-recap dd { margin: 0; font-weight: 600; }
.resa-success { text-align: center; padding: 30px 0; display: none; }
.resa-success.visible { display: block; animation: rise-in .6s cubic-bezier(.22,.8,.3,1) both; }
.resa-success .check {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px;
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #241B14;
}
.btn.wa { background: #25D366; color: #fff; }
.btn.wa::after { display: none; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } .steps-bar .st span.lbl { display: none; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 24px;
  font-weight: 600; font-size: 1.02rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--gold); font-size: 1.5rem; font-weight: 400;
  transition: transform .3s ease; line-height: 1; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--royal); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--ink-soft); line-height: 1.7; }


/* ---------- Optimisations mobile ---------- */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  section { padding: 52px 0; }
  .hero { padding: 52px 0 60px; }
  .hero-visual { min-height: 310px; }
  .hero-visual::before { top: -14px; right: -18px; }
  .hero .cta-row .btn { padding: 12px 20px; font-size: .9rem; }
  .page-hero { padding: 48px 0 44px; }
  .marquee span b { padding: 0 18px; }
  .marquee span { font-size: 1.02rem; }
  .dip-card { padding: 28px 22px; }
  .session .box { padding: 44px 22px; }
  .founder .wrap { gap: 20px; }
  .founder .mark { display: none; }
  .map-frame iframe { height: 300px; }
  .stat { min-width: 128px; padding: 18px 20px; flex: 1; }
  .stat b { font-size: 1.6rem; }
  .resa-recap dl { grid-template-columns: 1fr; gap: 0; }
  .resa-recap dt { margin-top: 10px; }
  .resa-recap dt:first-child { margin-top: 0; }
  .btn-row { flex-wrap: wrap; }
  .btn-row .btn { flex: 1; text-align: center; min-width: 130px; }
  .site-footer { padding: 44px 0 30px; }
  .legal { flex-direction: column; text-align: center; gap: 8px; }
  .cert .body { padding: 16px 18px 20px; }
  .wa-fab { padding: 10px 7px; font-size: .7rem; }
  .wa-fab svg { width: 16px; height: 16px; }
}
