/* =========================================================
   BORBOLETA INSTITUT — Style final
   Palette : blanc pur, blanc cassé neutre, or, gris neutre
   Zéro marron · Zéro brun · Zéro placeholder photo
   ========================================================= */

:root {
  --white:       #FFFFFF;
  --off-white:   #FAFAF8;
  --soft-bg:     #F5F5F2;
  --gold:        #C9A96E;
  --gold-deep:   #A8834A;
  --gold-light:  #E8D5AA;
  --gold-faint:  #F6EDD8;
  --gold-border: rgba(201,169,110,0.22);
  --gold-border-s: rgba(201,169,110,0.12);

  --text:        #1A1A1A;
  --text-mid:    #555550;
  --text-soft:   #888882;
  --text-muted:  #AAAAAA;

  --dark:        #18181A;

  --border-s:    rgba(0,0,0,0.06);

  --serif:  'DM Serif Display', Georgia, serif;
  --serif2: 'DM Serif Text', Georgia, serif;
  --sans:   'Outfit', system-ui, sans-serif;

  --r:      12px;
  --rpill:  60px;
  --tr:     0.26s ease;
  --sh-s:   0 2px 14px rgba(0,0,0,0.06);
  --sh-m:   0 6px 28px rgba(0,0,0,0.09);
  --sh-l:   0 14px 50px rgba(0,0,0,0.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-mid);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--tr); }
ul { list-style: none; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

.label {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.label.on-dark { color: var(--gold-light); }

/* ── Titres ── */
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.section-title em { font-style: italic; color: var(--gold); font-family: var(--serif2); }
.section-title.on-dark { color: var(--white); }
.section-title.on-dark em { color: var(--gold-light); }

.section-sub {
  font-size: 0.96rem;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.82;
  max-width: 540px;
  margin-bottom: 3rem;
}


/* ==========================================================
   NAVIGATION
========================================================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 70px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-s);
  transition: box-shadow var(--tr);
}
#navbar.scrolled { box-shadow: 0 2px 18px rgba(0,0,0,0.07); }

.nav-logo { display: flex; align-items: center; gap: 0.65rem; }
.nav-logo-img { width: 36px; height: 36px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand { font-family: var(--serif); font-size: 1rem; color: var(--text); letter-spacing: 0.02em; }
.nav-sub { font-family: var(--sans); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-links a { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 100%; height: 1.5px; background: var(--gold); transition: right var(--tr); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }

.nav-cta { background: var(--gold) !important; color: var(--white) !important; padding: 0.52rem 1.5rem !important; border-radius: var(--rpill) !important; font-weight: 600 !important; letter-spacing: 0.09em !important; transition: background var(--tr) !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-deep) !important; color: var(--white) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: transform var(--tr), opacity var(--tr); transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ==========================================================
   BOUTONS
========================================================== */
.btn-gold {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--gold); color: var(--white);
  padding: 0.9rem 2.2rem; border-radius: var(--rpill);
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}
.btn-gold:hover { background: var(--gold-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(168,131,74,0.28); }
.btn-gold.btn-full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; color: var(--text);
  padding: 0.88rem 2.2rem; border-radius: var(--rpill);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1.5px solid var(--gold);
  transition: background var(--tr), color var(--tr), transform var(--tr);
}
.btn-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }

.btn-outline-white {
  display: inline-flex; align-items: center;
  background: transparent; color: rgba(255,255,255,0.85);
  padding: 0.88rem 2.2rem; border-radius: var(--rpill);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.28);
  transition: border-color var(--tr), background var(--tr), color var(--tr);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.08); color: var(--white); }


/* ==========================================================
   HERO — centré, pleine largeur, typographique
========================================================== */
.hero {
  min-height: auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 130px 8% 3rem;
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Halo doré très subtil en fond */
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; }

.hero-label {
  display: block;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400; line-height: 1.1;
  color: var(--text); margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--gold); font-family: var(--serif2); }

.hero-desc {
  font-size: 0.96rem; font-weight: 300;
  color: var(--text-soft); line-height: 1.8;
  max-width: 480px; margin: 0 auto 2rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Ligne décorative en bas du hero */
.hero-deco {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 40px; overflow: visible;
}
.hero-deco svg { width: 100%; height: 40px; }


/* ==========================================================
   BANDE CHIFFRES CLÉS
========================================================== */
.key-numbers {
  background: var(--dark);
  padding: 3.5rem 8%;
}
.key-numbers-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.kn-item {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 3rem;
}
.kn-sep {
  color: var(--gold); opacity: 0.35; font-size: 0.7rem;
  flex-shrink: 0;
}
.kn-num {
  font-family: var(--serif);
  font-size: 2.6rem; font-weight: 400;
  color: var(--gold); line-height: 1;
  margin-bottom: 0.15rem;
}
.kn-unit {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 0.4rem;
}
.kn-label {
  font-size: 0.78rem; font-weight: 300;
  color: rgba(255,255,255,0.35); line-height: 1.45;
  max-width: 130px;
}


/* ==========================================================
   PHILOSOPHIE
========================================================== */
.section-philo {
  background: var(--off-white);
  padding: 7rem 0;
}
.philo-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 8%;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 6rem; align-items: center;
}
.philo-text p {
  font-size: 0.95rem; font-weight: 300;
  color: var(--text-soft); line-height: 1.85;
  margin-bottom: 1.1rem;
}
.philo-deco {
  display: flex; align-items: center; justify-content: center;
  opacity: 0.9;
}
.philo-deco svg { width: 100%; max-width: 300px; }


/* ==========================================================
   FORMATION
========================================================== */
.section-formation { background: var(--white); padding: 7rem 0; }
.sf-inner { max-width: 1200px; margin: 0 auto; padding: 0 8%; }
.sf-header { margin-bottom: 3.5rem; }

.sf-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

.formation-card {
  background: var(--white);
  border: 1px solid var(--gold-border-s);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--sh-s);
  transition: box-shadow var(--tr), transform var(--tr);
}
.formation-card:hover { box-shadow: var(--sh-l); transform: translateY(-4px); }

.fc-head { background: var(--gold-faint); border-bottom: 1px solid var(--gold-border); padding: 2rem 2.2rem; }
.fc-badge {
  display: inline-block; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-deep); background: var(--white);
  border: 1px solid var(--gold-light);
  padding: 0.28rem 0.9rem; border-radius: var(--rpill); margin-bottom: 0.9rem;
}
.fc-head h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--text); margin-bottom: 0.65rem; }
.fc-intro { font-size: 0.87rem; font-weight: 300; color: var(--text-soft); line-height: 1.72; }

.fc-body { padding: 1.8rem 2.2rem 2.2rem; }
.fc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--border-s); margin-bottom: 1.4rem; }
.fc-row { display: flex; flex-direction: column; gap: 0.12rem; }
.fc-key { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.fc-val { font-size: 0.9rem; font-weight: 500; color: var(--text); }

.fc-location {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 300; color: var(--text-soft);
  line-height: 1.6; background: var(--soft-bg);
  border-left: 2px solid var(--gold);
  padding: 0.7rem 0.9rem;
  border-radius: 0 var(--r) var(--r) 0; margin-bottom: 1.6rem;
}
.fc-location svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.sf-modules { display: flex; flex-direction: column; }
.mod-block { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--border-s); }
.mod-block:first-child { padding-top: 0; }
.mod-block:last-child { border-bottom: none; }
.mod-num { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--gold); opacity: 0.45; line-height: 1; flex-shrink: 0; width: 34px; margin-top: 3px; }
.mod-block h4 { font-family: var(--serif2); font-size: 1rem; font-weight: 400; color: var(--text); margin-bottom: 0.3rem; }
.mod-block p { font-size: 0.85rem; font-weight: 300; color: var(--text-soft); line-height: 1.72; }


/* ==========================================================
   PROGRAMME
========================================================== */
.section-programme { background: var(--soft-bg); padding: 7rem 0; }
.sp-inner { max-width: 1200px; margin: 0 auto; padding: 0 8%; display: grid; grid-template-columns: 1fr 1.3fr; gap: 6rem; align-items: center; }
.sp-left p { font-size: 0.94rem; font-weight: 300; color: var(--text-soft); line-height: 1.82; margin-bottom: 1.6rem; }

.sp-steps { display: flex; flex-direction: column; }
.sp-step { display: flex; gap: 1.4rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--gold-border-s); }
.sp-step:last-child { border-bottom: none; }
.sp-num { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; color: var(--gold); line-height: 1; flex-shrink: 0; width: 38px; opacity: 0.5; margin-top: 3px; }
.sp-step h4 { font-family: var(--serif2); font-size: 1rem; font-weight: 400; color: var(--text); margin-bottom: 0.3rem; }
.sp-step p { font-size: 0.85rem; font-weight: 300; color: var(--text-soft); line-height: 1.72; }


/* ==========================================================
   FORMATRICE — texte seul, déco SVG
========================================================== */
.section-formatrice { background: var(--white); padding: 7rem 0; }
.sf2-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 8%;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 6rem; align-items: center;
}
.sf2-content p { font-size: 0.95rem; font-weight: 300; color: var(--text-soft); line-height: 1.85; margin-bottom: 1.1rem; }
.ig-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; color: var(--gold-deep);
  border: 1.5px solid var(--gold-light);
  padding: 0.5rem 1.3rem; border-radius: var(--rpill); margin-top: 0.5rem;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
}
.ig-pill:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

.sf2-deco { display: flex; align-items: center; justify-content: center; }
.sf2-deco svg { width: 100%; max-width: 260px; }


/* ==========================================================
   FAQ
========================================================== */
.section-faq { background: var(--soft-bg); padding: 7rem 0; }
.faq-inner { max-width: 1100px; margin: 0 auto; padding: 0 8%; display: grid; grid-template-columns: 1fr 1.8fr; gap: 6rem; align-items: start; }
.faq-head { position: sticky; top: 88px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border-s); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 0; font-family: var(--sans); font-size: 0.92rem; font-weight: 500;
  color: var(--text); background: none; border: none; cursor: pointer; text-align: left;
  gap: 1rem; transition: color var(--tr);
}
.faq-q:hover { color: var(--gold-deep); }
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px;
  border: 1.5px solid var(--gold-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold);
  transition: transform var(--tr), background var(--tr), border-color var(--tr);
  line-height: 1;
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding-bottom: 1.4rem; font-size: 0.88rem; font-weight: 300; color: var(--text-soft); line-height: 1.82; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--white); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-cta { grid-column: 2; padding-top: 2rem; }


/* ==========================================================
   CONTACT
========================================================== */
.section-contact { background: var(--off-white); padding: 7rem 0; }
.sc-inner { max-width: 1200px; margin: 0 auto; padding: 0 8%; display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; align-items: start; }
.sc-left p { font-size: 0.94rem; font-weight: 300; color: var(--text-soft); line-height: 1.82; margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; background: var(--white);
  border: 1px solid var(--border-s); border-radius: var(--r);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.contact-item:hover { border-color: var(--gold-border); box-shadow: var(--sh-s); }
.ci-icon {
  width: 36px; height: 36px; background: var(--gold-faint);
  border: 1px solid var(--gold-border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold);
}
.ci-label { display: block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.12rem; }
.ci-val { display: block; font-size: 0.86rem; font-weight: 500; color: var(--text); }

.form-wrap { background: var(--white); border: 1px solid var(--border-s); border-radius: 18px; padding: 2.6rem; box-shadow: var(--sh-s); }
.form-wrap h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--text); margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.72rem 1rem;
  border: 1.5px solid var(--border-s); border-radius: 10px;
  background: var(--off-white); font-family: var(--sans);
  font-size: 0.87rem; font-weight: 300; color: var(--text);
  outline: none; transition: border-color var(--tr), box-shadow var(--tr); appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,0.12); background: var(--white);
}
.form-group textarea { resize: vertical; }
.form-notice { font-size: 0.73rem; font-weight: 300; color: var(--text-muted); margin-top: 0.9rem; line-height: 1.6; text-align: center; }
.form-notice a { color: var(--gold-deep); text-decoration: underline; }


/* ==========================================================
   FOOTER
========================================================== */
footer { background: var(--dark); color: rgba(255,255,255,0.5); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 4rem; padding: 5rem 8% 3.5rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-logo-wrap { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1rem; }
.footer-logo-img { width: 32px; height: 32px; object-fit: contain; opacity: 0.75; }
.footer-brand-name { font-family: var(--serif); font-size: 0.96rem; color: rgba(255,255,255,0.78); }
.footer-brand p { font-size: 0.8rem; font-weight: 300; color: rgba(255,255,255,0.36); line-height: 1.7; margin-bottom: 1rem; }
.footer-ig { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.75rem; color: var(--gold-light); transition: color var(--tr); }
.footer-ig:hover { color: var(--gold); }
.footer-col-title { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.36); margin-bottom: 1.1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { font-size: 0.8rem; font-weight: 300; color: rgba(255,255,255,0.38); transition: color var(--tr); }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem 8%; font-size: 0.74rem; font-weight: 300; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 1.8rem; }
.footer-legal a { color: rgba(255,255,255,0.25); transition: color var(--tr); }
.footer-legal a:hover { color: var(--gold-light); }


/* ==========================================================
   PAGES LÉGALES
========================================================== */
.page-hero { background: var(--dark); padding: 10rem 8% 5rem; text-align: center; }
.page-hero p { color: rgba(255,255,255,0.55); font-weight: 300; max-width: 560px; margin: 0 auto; line-height: 1.8; }
.page-content { max-width: 760px; margin: 0 auto; padding: 5rem 2rem 6rem; }
.page-content h2 { font-family: var(--serif); font-size: 1.22rem; font-weight: 400; color: var(--text); margin: 2.4rem 0 0.7rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--border-s); }
.page-content h3 { font-family: var(--serif2); font-size: 1rem; font-weight: 400; color: var(--text); margin: 1.4rem 0 0.5rem; }
.page-content p { font-size: 0.9rem; font-weight: 300; color: var(--text-soft); line-height: 1.88; margin-bottom: 0.9rem; }
.page-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content ul li { font-size: 0.9rem; font-weight: 300; color: var(--text-soft); margin-bottom: 0.35rem; line-height: 1.7; }
.page-content a { color: var(--gold-deep); text-decoration: underline; }
.page-content a:hover { color: var(--gold); }
.page-content strong { font-weight: 600; color: var(--text); }
.legal-badge { display: inline-block; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-muted); background: var(--soft-bg); border: 1px solid var(--border-s); padding: 0.28rem 0.9rem; border-radius: var(--rpill); margin-bottom: 2.5rem; }


/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 1100px) {
  #navbar { padding: 0 5%; }
  .key-numbers { padding: 3rem 5%; }
  .philo-inner, .sf-inner, .sp-inner, .sf2-inner, .faq-inner, .sc-inner { padding: 0 5%; }
  .footer-top, .footer-bottom { padding-left: 5%; padding-right: 5%; }
  .hero { padding-left: 5%; padding-right: 5%; }
}

@media (max-width: 900px) {
  .philo-inner { grid-template-columns: 1fr; gap: 3rem; }
  .philo-deco { display: none; }
  .sf-layout { grid-template-columns: 1fr; }
  .sp-inner { grid-template-columns: 1fr; gap: 3rem; }
  .sf2-inner { grid-template-columns: 1fr; gap: 2rem; }
  .sf2-deco { display: none; }
  .faq-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .faq-head { position: static; }
  .faq-cta { grid-column: 1; }
  .sc-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .key-numbers-inner { gap: 1.5rem; }
  .kn-item { padding: 0 1.5rem; }
  .kn-sep { display: none; }
}

@media (max-width: 768px) {
  #navbar { padding: 0 1.5rem; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(14px);
    padding: 2rem 1.5rem; z-index: 99; gap: 0; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border-s); }
  .nav-links a { display: block; padding: 1rem 0; font-size: 0.86rem; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 1rem; display: block !important; text-align: center !important; }
  .hamburger { display: flex; }

  .hero { padding: 100px 1.5rem 2.5rem; }
  .hero-title { font-size: 2.2rem; }

  .key-numbers { padding: 3rem 1.5rem; }
  .key-numbers-inner { flex-direction: column; gap: 1.5rem; }
  .kn-item { padding: 0; }

  .philo-inner, .sf-inner, .sp-inner, .sf2-inner, .faq-inner, .sc-inner { padding: 0 1.5rem; }
  .section-philo, .section-formation, .section-programme, .section-formatrice, .section-faq, .section-contact { padding: 4.5rem 0; }

  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 1.8rem 1.4rem; }

  .footer-top { grid-template-columns: 1fr; padding: 3rem 1.5rem 2rem; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; padding: 1.4rem 1.5rem; }

  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn-gold, .hero-btns .btn-outline { width: 100%; max-width: 320px; justify-content: center; }

  .page-hero { padding: 8rem 1.5rem 3.5rem; }
  .page-content { padding: 3rem 1.5rem 4rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .section-title { font-size: 2rem; }
}
