@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0a2540;
  --navy-deep: #071b30;
  --blue: #5aa9c9;
  --blue-light: #cfeaf5;
  --ivory: #f4f8fb;
  --white: #ffffff;
  --ink: #0a1a26;
  --max-w: 1140px;
  --radius: 14px;
  --font-display: 'Archivo Black', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--navy); }
h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 10px; }

p { margin: 0 0 16px; }
.lead { font-size: 1.15rem; max-width: 720px; color: #33475a; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--blue);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(90,169,201,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(90,169,201,0.45); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(10, 26, 43, 0.92);
}
.brand img { height: 34px; }
.brand { cursor: pointer; }
.anchor-top { position: absolute; top: 0; left: 0; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: 48px;
  gap: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,0.22);
}
.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0.88;
  white-space: nowrap;
}
.main-nav a:hover { opacity: 1; }
.nav-cta {
  background: var(--blue);
  color: var(--navy-deep) !important;
  padding: 9px 20px;
  border-radius: 999px;
  opacity: 1 !important;
  letter-spacing: 0.03em;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,27,48,0.55) 0%, rgba(7,27,48,0.75) 55%, rgba(7,27,48,0.95) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}
.hero-logo { width: min(480px, 80vw); margin: 0 auto 20px; }
.hero-tagline {
  color: var(--blue-light);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  opacity: 0.7;
  text-decoration: none;
  font-size: 1.4rem;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--white); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse .col-media { order: 2; }
.two-col.reverse .col-text { order: 1; }

.rounded-img { border-radius: var(--radius); width: 100%; }
.caption { font-size: 0.85rem; color: #6b7c8c; margin-top: 10px; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid #dbe6ee;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--navy);
}
.stat-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 700;
  margin-top: 4px;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 50px 0 90px;
}
.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid #e2ecf2;
}
.pillar-num {
  display: block;
  font-family: var(--font-display);
  color: var(--blue);
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.pillar p { font-size: 0.92rem; color: #4a5d6d; margin: 0; }

.kitchen {
  margin-top: 70px;
}
.kitchen h3 { font-size: 1.5rem; }

/* Video embed (moodboard) */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 50px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Missions */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.mission {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px;
}
.mission-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--blue);
  line-height: 1;
}
.mission p {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.member {
  background: var(--ivory);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e2ecf2;
}
.member img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.member h3, .member p { padding-left: 16px; padding-right: 16px; }
.member h3 { margin-top: 16px; }
.member p { font-size: 0.82rem; color: #4a5d6d; padding-bottom: 18px; }

/* Commu */
.commu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.commu-grid img:first-child { grid-column: 1 / -1; border-radius: var(--radius); }
.commu-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }

.fact-list {
  margin: 30px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fact-list > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #dbe6ee;
  padding-bottom: 14px;
}
.fact-list dt { font-weight: 700; color: var(--navy); }
.fact-list dd { margin: 0; color: #4a5d6d; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.25s ease;
}
.gallery-grid img:hover { transform: scale(1.03); }

/* CTA / Inscription */
.section-cta {
  background: var(--navy);
  text-align: center;
}
.section-cta .eyebrow { color: var(--blue-light); }
.section-cta h2 { color: var(--white); }
.section-cta .lead { color: var(--blue-light); margin-left: auto; margin-right: auto; }
.fine-print { margin-top: 16px; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.section-cta .team-grid { text-align: left; margin-top: 40px; }

/* Legal page */
.legal-page { padding-top: 160px; max-width: 780px; margin: 0 auto; }
.legal-page .container { max-width: none; }
.legal-page h3 { margin-top: 36px; }
.legal-page p { color: #33475a; }
.legal-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  color: #33475a;
}
.legal-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e2ecf2;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand img { height: 32px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-contact h3 { color: var(--white); }
.footer-contact p { margin-bottom: 8px; }
.footer-contact a { color: var(--blue-light); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { text-decoration: underline; }
.contact-tagline {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  max-width: 420px;
  margin-top: 4px;
}
.footer-bottom {
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }

/* Noise texture (subtle) */
.noise { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 66px; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    width: 220px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    border-radius: 0 0 0 14px;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-links, .nav-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .nav-right {
    padding-left: 0;
    border-left: none;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.22);
  }
  .burger { display: flex; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .col-media, .two-col.reverse .col-text { order: initial; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .missions-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .pillars { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
