:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-soft: rgba(37, 99, 235, 0.1);
  --primary-soft-hover: rgba(37, 99, 235, 0.2);
  --navy: #0f172a;
  --foreground: #0f172a;
  --muted-foreground: #64748b;
  --muted: #f1f5f9;
  --background: #ffffff;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

svg { width: 100%; height: 100%; }

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ============ HEADER ============ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  z-index: 50;
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand:hover .brand-mark { transform: scale(1.08); }

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.25rem; font-weight: 700; color: var(--foreground); }
.brand-tagline { font-size: 0.75rem; color: var(--muted-foreground); font-weight: 500; margin-top: 4px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }
.nav-link.is-active { color: var(--primary); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--primary);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 8px;
  color: var(--foreground);
}
.nav-toggle:hover { background: var(--muted); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: 0.875rem 1rem; border-radius: 8px; }
  .nav-link:hover { background: var(--muted); }
  .nav-link.is-active::after { display: none; }
  .nav-cta { margin-top: 0.5rem; text-align: center; }
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 20px; height: 20px; }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-lg); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.btn-white { background: #fff; color: var(--primary); box-shadow: var(--shadow-lg); }
.btn-white:hover { background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-xl); }

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.2); }

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    hsla(222, 47%, 11%, 0.95),
    hsla(222, 47%, 11%, 0.85) 50%,
    hsla(222, 47%, 11%, 0.7)
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 1.25rem;
  width: 100%;
}
@media (min-width: 768px) { .hero-inner { padding: 5rem 2rem; } }

.hero-content { max-width: 768px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
.badge svg { width: 16px; height: 16px; }

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 96px;
  background: linear-gradient(to top, #fff, transparent);
  z-index: 1;
  pointer-events: none;
}

/* ============ SECTIONS ============ */

.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }

.section-white { background: #fff; }
.section-muted { background: var(--muted); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-head p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
}

/* ============ STATS ============ */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.stat-icon svg { width: 32px; height: 32px; }
.stat-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* ============ CARDS ============ */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }

.card-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--primary-soft-hover); }

.card h3 { margin-bottom: 0.75rem; transition: color 0.2s; }
.card:hover h3 { color: var(--primary); }

.card p {
  color: var(--muted-foreground);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.2s;
}
.card-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.card-link:hover { gap: 0.75rem; }
.card-link:hover svg { transform: translateX(4px); }

/* ============ FEATURE ROW ============ */

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .feature-row { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.feature-text h2 { margin-bottom: 1.5rem; }

.features { display: flex; flex-direction: column; gap: 1.5rem; }
.features li { display: flex; gap: 1rem; align-items: flex-start; }
.features h3 { margin-bottom: 0.5rem; }
.features p { color: var(--muted-foreground); line-height: 1.65; }

.feature-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-media {
  position: relative;
}
.feature-media img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.feature-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--primary);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}
.feature-badge-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1;
}
.feature-badge-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.9;
}

/* ============ CTA SECTION ============ */

.section-cta {
  background: var(--primary);
  color: #fff;
}

.cta-inner {
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
}
.cta-inner h2 { margin-bottom: 1.5rem; color: #fff; }
.cta-inner p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============ FOOTER ============ */

.site-footer {
  background: var(--navy);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-col h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.brand-footer { margin-bottom: 1.5rem; }
.brand-footer .brand-name { color: #fff; font-size: 1.125rem; }
.brand-footer .brand-tagline { color: rgba(255, 255, 255, 0.8); }

.footer-about {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.socials { display: flex; gap: 0.75rem; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.socials svg { width: 20px; height: 20px; }

.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  font-size: 0.875rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }

.footer-contact { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.footer-contact svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.8;
}
.footer-contact span,
.footer-contact a {
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.6;
  transition: opacity 0.2s;
}
.footer-contact a:hover { opacity: 1; }

.cert-stack { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }

.cert-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--foreground);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  width: 100%;
  max-width: 220px;
}
.cert-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.5);
}
.cert-card img {
  width: 120px;
  margin-bottom: 0.5rem;
  object-fit: contain;
}
.cert-code {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  color: #064e3b;
  border-radius: var(--radius);
  transition: box-shadow 0.3s, transform 0.3s;
  width: 100%;
  max-width: 220px;
}
.cert-badge:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cert-badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.cert-badge-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
}
.cert-badge-code {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

.legal {
  font-size: 0.875rem;
  opacity: 0.8;
  text-align: center;
}
@media (min-width: 768px) { .legal { text-align: left; } }
.legal p { margin-bottom: 0.5rem; }
.legal p:last-child { margin-bottom: 0; }

.legal-links { display: flex; gap: 1.5rem; }
.legal-links a {
  font-size: 0.875rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.legal-links a:hover { opacity: 1; }

/* ============ REVEAL ANIMATION ============ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ INNER-PAGE HERO ============ */

.page-hero {
  padding: 9rem 0 5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 1rem;
}
.page-hero .lead {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 720px;
  margin: 0 auto;
}

/* ============ FORMATIONS PAGE ============ */

.formation-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.formation-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }

.formation-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.formation-head .card-icon { margin-bottom: 0; flex-shrink: 0; }
.formation-head h3 { margin-bottom: 0; }

.formation-card p {
  color: var(--muted-foreground);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.bullet-list { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.5rem; }
.bullet-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--foreground);
}
.bullet-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: var(--primary-soft);
  border-radius: 999px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.formations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .formations-grid { grid-template-columns: repeat(2, 1fr); } }

.sur-mesure {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .sur-mesure { grid-template-columns: 1fr 1fr; } }

.sur-mesure-text h2 { margin-bottom: 1rem; }
.sur-mesure-text > p {
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.step-list { display: flex; flex-direction: column; gap: 1.5rem; }
.step-list li { display: flex; gap: 1rem; align-items: flex-start; }
.step-list h4 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.25rem; }
.step-list p { color: var(--muted-foreground); font-size: 0.9375rem; }

.step-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg { width: 20px; height: 20px; }

.sur-mesure-media img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  height: 480px;
  object-fit: cover;
}

/* ============ ABOUT PAGE ============ */

.mission-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .mission-row { grid-template-columns: 1fr 1fr; } }

.mission-text h2 { margin-bottom: 1.5rem; }
.mission-text p {
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.mission-media img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  height: 460px;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.value-card h3 { margin: 1rem 0 0.5rem; }
.value-card p { color: var(--muted-foreground); line-height: 1.65; }

.certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 768px) { .certs-grid { grid-template-columns: repeat(2, 1fr); } }

.cert-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.cert-block img { margin: 0 auto 1rem; max-width: 140px; }
.cert-block .cert-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: #ecfdf5;
  color: #047857;
  margin: 0 auto 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cert-block .cert-icon svg { width: 32px; height: 32px; }
.cert-block h3 { margin-bottom: 0.5rem; }
.cert-block p {
  color: var(--muted-foreground);
  line-height: 1.65;
  font-size: 0.9375rem;
}
.cert-block .cert-num {
  display: inline-block;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.75rem;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 768px) { .legal-grid { grid-template-columns: repeat(2, 1fr); } }
.legal-item .legal-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.legal-item .legal-value {
  font-size: 1rem;
  color: var(--foreground);
  font-weight: 600;
  line-height: 1.5;
}

.legal-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  color: var(--primary);
}
.legal-card-head svg { width: 24px; height: 24px; }
.legal-card-head h3 { color: var(--foreground); }

/* ============ CONTACT PAGE ============ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.6fr 1fr; } }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form-card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-form-card .intro {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}
.field input,
.field textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--foreground);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.field textarea { min-height: 140px; resize: vertical; }

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  color: #064e3b;
  margin-bottom: 1.5rem;
}
.form-success svg { width: 28px; height: 28px; flex-shrink: 0; }
.form-success h3 { font-size: 1rem; margin-bottom: 0.25rem; color: #064e3b; }
.form-success p { font-size: 0.9375rem; color: #065f46; }

.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.info-card .info-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-card .info-icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.info-card p, .info-card a {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.55;
}
.info-card a:hover { color: var(--primary); }

.localisation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) { .localisation-grid { grid-template-columns: 2fr 1fr; } }

.map-placeholder {
  background: #e2e8f0 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/><circle cx='12' cy='10' r='3'/></svg>") center / 64px no-repeat;
  border-radius: var(--radius-2xl);
  min-height: 360px;
  width: 100%;
}

.access-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.access-card h3 { margin-bottom: 1.25rem; }
.access-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1.25rem 0 0.5rem;
}
.access-card h4:first-of-type { margin-top: 0; }
.access-card p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============ LEGAL PAGES (privacy/terms) ============ */

.legal-page {
  padding: 4rem 0 6rem;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li {
  color: #334155;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content ul li { list-style: disc; }
