/* ═══════════════════════════════════════════════════════════════
   LAB EXPERIA — style.css
   Modifier les variables :root pour personnaliser rapidement
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ────────────────────────────────────────────────── */
:root {
  /* Couleurs — modifier ici */
  --c-navy:       #0A1628;
  --c-navy-mid:   #1B3A5C;
  --c-teal:       #14B8C5;
  --c-teal-dark:  #0E8A95;
  --c-orange:     #F5831F;
  --c-purple:     #4B1D8C;
  --c-gold:       #F5A623;
  --c-white:      #FFFFFF;
  --c-bg-soft:    #F4F7FB;
  --c-text:       #1A2B45;
  --c-muted:      #5C6B8A;
  --c-border:     #E2E8F0;

  /* Typographie */
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container:    1280px;
  --pad:          clamp(1.25rem, 5vw, 3rem);
  --section-py:   clamp(4rem, 8vw, 7rem);
  --radius:       16px;
  --radius-sm:    10px;

  /* Effets */
  --shadow-sm:    0 2px 12px rgba(10,22,40,0.08);
  --shadow-md:    0 8px 32px rgba(10,22,40,0.12);
  --shadow-lg:    0 20px 60px rgba(10,22,40,0.18);
  --t:            0.3s ease;
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; height: 60px; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; }
input, textarea, select { font: inherit; }

/* ── Container ────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── Section reveal ───────────────────────────────────────────── */
.section-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.section-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary  { background: var(--c-navy);      color: #fff; border-color: var(--c-navy); }
.btn-primary:hover  { background: var(--c-navy-mid); border-color: var(--c-navy-mid); box-shadow: var(--shadow-sm); }

.btn-outline  { background: transparent; color: var(--c-navy); border-color: var(--c-border); }
.btn-outline:hover  { border-color: var(--c-navy); }

.btn-teal     { background: var(--c-teal-dark);  color: #fff; border-color: var(--c-teal-dark); }
.btn-teal:hover     { background: #0c7880; border-color: #0c7880; }

.btn-orange   { background: var(--c-orange);     color: #fff; border-color: var(--c-orange); }
.btn-orange:hover   { background: #d96e10; border-color: #d96e10; }

.btn-purple   { background: var(--c-purple);     color: #fff; border-color: var(--c-purple); }
.btn-purple:hover   { background: #3a1570; border-color: #3a1570; }

/* ── Section header (centré, réutilisable) ────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-teal-dark);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title .accent { color: var(--c-teal); }
.section-desc {
  font-size: 1.05rem;
  color: var(--c-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}
#header.scrolled {
  border-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}

nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem var(--pad);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  margin-right: 0.5rem;
}
.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-navy);
  text-transform: uppercase;
}
.nav-logo-text span { color: var(--c-teal); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}
.nav-links > li > button.dropdown-toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.nav-links > li > a,
.nav-links > li > button.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-muted);
  padding: 0.5rem 0.7rem;
  border-radius: 7px;
  transition: color var(--t), background var(--t);
}
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > li > button.dropdown-toggle:hover { color: var(--c-navy); background: var(--c-bg-soft); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 195px;
  background: var(--c-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  pointer-events: none;
}
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.dropdown li a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--c-text);
  transition: background var(--t), color var(--t);
}
.dropdown li a:hover { background: var(--c-bg-soft); color: var(--c-navy); }

/* CTA buttons */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 0 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  padding-top: calc(72px + var(--section-py));
  padding-bottom: var(--section-py);
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-teal-dark);
  background: rgba(14,138,149,0.1);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--c-navy);
  margin-bottom: 1.25rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .accent { color: var(--c-teal); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--c-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.25rem 0;
}
.hero-divider::before,
.hero-divider::after {
  content: '';
  height: 2px;
  width: 48px;
  background: var(--c-teal);
  border-radius: 2px;
}
.hero-divider-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy);
}

/* ── Espaces Cards ────────────────────────────────────────────── */
.espaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.espace-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.espace-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.espace-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.espace-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.tag-teal   { color: var(--c-teal-dark); }
.tag-orange { color: var(--c-orange); }
.tag-purple { color: var(--c-purple); }

.espace-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-navy);
  margin-bottom: 0.75rem;
  min-height: 3.5rem;
}
.espace-card h2 span { display: block; }

.espace-card > .espace-card-body > p {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  min-height: 4rem;
}

.espace-card .checklist { flex: 1; }
.espace-card .btn { margin-top: auto; align-self: flex-start; }

.checklist { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.45rem; }
.checklist li {
  font-size: 0.875rem;
  color: var(--c-text);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}
.checklist li::before {
  content: '✓';
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.checklist-teal   li::before { color: var(--c-teal-dark); }
.checklist-orange li::before { color: var(--c-orange); }
.checklist-purple li::before { color: var(--c-purple); }

.espace-card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}

.espace-card-footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--c-border);
}
.espace-card-footer img { width: 34px; height: 34px; object-fit: contain; opacity: 0.8; flex-shrink: 0; }
.espace-card-footer span { font-size: 0.75rem; font-weight: 600; color: var(--c-muted); line-height: 1.3; }

/* ═══════════════════════════════════════════════════════════════
   COMMUNAUTÉ
   ═══════════════════════════════════════════════════════════════ */
.section-communaute { padding: 1.5rem 0 3rem; }

.communaute-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.communaute-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 360px;
  flex-shrink: 0;
}
.communaute-main img { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; }
.communaute-main h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.35;
  margin-bottom: 0.3rem;
}
.communaute-main p { font-size: 0.875rem; color: var(--c-muted); line-height: 1.5; }

.communaute-values {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.communaute-values li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
.communaute-values img { width: 38px; height: 38px; object-fit: contain; opacity: 0.8; }
.communaute-values span { font-size: 0.7rem; font-weight: 600; color: var(--c-muted); line-height: 1.4; max-width: 76px; }

/* ═══════════════════════════════════════════════════════════════
   DEUX COLONNES (Kampus / À propos)
   ═══════════════════════════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }

.two-col-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ─ Feature grid (inside Kampus) ─────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.feature-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.feature-icon img, .detail-icon img, .parkour-icon img {
  width: 22px;
  height: 22px !important;
  display: block;
}
.parkour-icon img { width: 26px; height: 26px !important; }
.feature-item h3 { font-size: 0.875rem; font-weight: 700; color: var(--c-navy); margin-bottom: 0.3rem; }
.feature-item p  { font-size: 0.8rem; color: var(--c-muted); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════════
   ESPACES DÉTAIL
   ═══════════════════════════════════════════════════════════════ */
.section-espace     { padding: var(--section-py) 0; background: var(--c-white); }
.section-espace-alt { background: var(--c-bg-soft); }

.detail-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.detail-list li { display: flex; align-items: flex-start; gap: 1rem; }
.detail-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.detail-list strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--c-navy); margin-bottom: 0.2rem; }
.detail-list p { font-size: 0.875rem; color: var(--c-muted); line-height: 1.55; margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   KAMPUS SECTION
   ═══════════════════════════════════════════════════════════════ */
.section-kampus {
  padding: var(--section-py) 0;
  background: var(--c-bg-soft);
}

/* ═══════════════════════════════════════════════════════════════
   PARKOURS
   ═══════════════════════════════════════════════════════════════ */
.section-parkours { padding: var(--section-py) 0; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.parkour-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--t), box-shadow var(--t);
}
.parkour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.parkour-icon {
  display: flex;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-soft);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.parkour-card h3 { font-size: 1rem; font-weight: 700; color: var(--c-navy); margin-bottom: 0.5rem; }
.parkour-card p  { font-size: 0.875rem; color: var(--c-muted); line-height: 1.6; }
.parkour-tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

/* ═══════════════════════════════════════════════════════════════
   ACTUALITÉS
   ═══════════════════════════════════════════════════════════════ */
.section-actualites {
  padding: var(--section-py) 0;
  background: var(--c-bg-soft);
}

.actu-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.actu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.actu-card-img { height: 180px; }
.actu-card-body { padding: 1.35rem; }
.actu-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-teal-dark);
  display: block;
  margin-bottom: 0.5rem;
}
.actu-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--c-navy); margin-bottom: 0.5rem; line-height: 1.4; }
.actu-card p  { font-size: 0.875rem; color: var(--c-muted); line-height: 1.55; }
.actu-date    { font-size: 0.75rem; color: var(--c-muted); margin-top: 0.75rem; display: block; }

/* ═══════════════════════════════════════════════════════════════
   À PROPOS
   ═══════════════════════════════════════════════════════════════ */
.section-apropos { padding: var(--section-py) 0; }

.apropos-values {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-top: 2rem;
}
.apropos-values li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.value-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-navy) 100%);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.apropos-values h3 { font-size: 0.95rem; font-weight: 700; color: var(--c-navy); margin-bottom: 0.25rem; }
.apropos-values p  { font-size: 0.875rem; color: var(--c-muted); line-height: 1.55; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.section-contact {
  padding: var(--section-py) 0;
  background: var(--c-navy);
  color: var(--c-white);
}
.section-contact .section-tag   { color: var(--c-teal); }
.section-contact .section-title { color: var(--c-white); }
.section-contact .section-desc  { color: rgba(255,255,255,0.6); }

.contact-simple {
  text-align: center;
  padding: 1rem 0 0.5rem;
}
.contact-email-big {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--c-teal);
  transition: color var(--t), transform var(--t);
}
.contact-email-big:hover { color: var(--c-white); transform: translateY(-2px); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}
.contact-info h3 { font-size: 1.4rem; font-weight: 700; color: var(--c-white); margin-bottom: 0.85rem; }
.contact-info > p { color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 1.75rem; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-teal);
  transition: color var(--t);
}
.contact-email:hover { color: var(--c-white); }

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.75); }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--c-white);
  font-size: 0.875rem;
  transition: border-color var(--t), background var(--t);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--c-teal);
  background: rgba(255,255,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--c-navy); color: var(--c-white); }

.form-submit {
  background: var(--c-teal-dark);
  color: var(--c-white);
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  width: 100%;
  transition: background var(--t), transform var(--t);
}
.form-submit:hover { background: #0c7880; transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--c-navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.4rem var(--pad);
  color: rgba(255,255,255,0.45);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-copy { font-size: 0.8rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; transition: color var(--t); }
.footer-links a:hover { color: var(--c-white); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* Tablet large */
@media (max-width: 1100px) {
  .espaces-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col-reverse { direction: ltr; }
  .two-col-visual img { height: 380px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta { display: none; }

  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    order: 3;
    border-top: 1px solid var(--c-border);
    padding: 0.5rem 0 0.75rem;
    gap: 0;
  }
  .nav-links.open > li > a {
    padding: 0.7rem 0.5rem;
    border-radius: 0;
    border-bottom: 1px solid transparent;
  }

  .nav-cta.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 4;
    padding-bottom: 0.75rem;
    gap: 0.5rem;
  }
  .nav-cta.open .btn { width: 100%; justify-content: center; }

  nav { flex-wrap: wrap; }

  /* Mobile dropdown: show inline */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    transform: none;
    transition: max-height 0.3s ease, visibility 0.3s;
    padding: 0 0 0 1rem;
  }
  .has-dropdown.open .dropdown {
    visibility: visible;
    max-height: 200px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .communaute-card { flex-direction: column; align-items: flex-start; }
  .communaute-values { justify-content: flex-start; gap: 1.25rem; }
  .espaces-grid { max-width: 100%; }
}

@media (max-width: 400px) {
  .two-col-visual img { height: 260px; }
  .hero h1 { font-size: 1.75rem; }
}
