:root {
  --forest: #1C3D2E;
  --forest-deep: #302820;
  --moss: #4A7C59;
  --moss-light: #7FA98A;
  --sage: #909880;
  --sage-light: #C7CFBE;
  --parchment: #F8F0E8;
  --parchment-deep: #EFE4D6;
  --clay: #D07850;
  --gold: #B89048;
  --ink: #302820;
  --stone: #8A8577;
  --cream: #FFFDF7;

  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Sora", -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 0.5em;
}

em { font-style: italic; color: var(--clay); }

a { color: inherit; }

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 240, 232, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--parchment-deep);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark { width: 32px; height: 32px; }
.nav-cta {
  text-decoration: none;
  background: var(--moss);
  color: var(--cream);
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 100px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { background: var(--forest); transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 24px 120px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero .lede {
  font-size: 19px;
  color: var(--stone);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--moss);
  color: var(--cream);
  box-shadow: 0 4px 0 var(--forest);
}
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--forest); }
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-ghost:hover { background: var(--parchment-deep); }

/* Sovereignty */
.sovereignty {
  background: var(--ink);
  background-image: linear-gradient(160deg, var(--ink) 0%, #241c15 100%);
}
.sovereignty-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 24px;
  text-align: center;
}
.eyebrow-light { color: var(--gold); }
.sovereignty h2 {
  color: var(--cream);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
}
.sovereignty-lede {
  color: var(--sage-light);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 56px;
}
.sovereignty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: left;
}
.sov-item {
  background: rgba(255, 253, 247, 0.05);
  border: 1px solid rgba(184, 144, 72, 0.35);
  border-radius: 16px;
  padding: 28px;
}
.sov-icon { font-size: 30px; margin-bottom: 12px; }
/* Emoji drapeau (🇫🇷) : ne s'affiche pas sur Windows (Segoe UI Emoji n'a pas ces glyphes,
   contrairement à macOS/Android), remplacé par un vrai petit drapeau en CSS, fiable partout. */
.flag-fr {
  display: inline-block;
  width: 30px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(to right, #002395 0 33.33%, #ffffff 33.33% 66.66%, #ed2939 66.66% 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.sov-item h3 { color: var(--cream); font-size: 20px; margin-bottom: 8px; }
.sov-item p { color: var(--sage-light); font-size: 15px; margin: 0; }

/* Gallery : bandeau défilant en continu (façon "logo wall"), jamais de à-coup ni de bord
   coupé. La piste contient chaque capture en double, animée de 0 à -50% de sa largeur ;
   comme les deux moitiés sont identiques, la boucle est parfaitement invisible. Pause au
   survol pour pouvoir s'arrêter sur une image. */
.gallery {
  background: var(--parchment-deep);
  padding: 56px 0 90px;
}
/* Même largeur de contenu que les autres sections (features-inner, pitch-inner...) plutôt
   qu'un bandeau plein écran. */
.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.gallery-viewport {
  overflow-x: hidden;
  overflow-y: visible;
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}
.gallery-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: gallery-scroll 32s linear infinite;
}
.gallery:hover .gallery-track { animation-play-state: paused; }
.gallery-track img {
  height: 460px;
  width: auto;
  border-radius: 28px;
  border: 8px solid var(--cream);
  box-shadow: 0 16px 34px rgba(48, 40, 32, 0.2);
}
@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .gallery-track img { height: 320px; border-radius: 20px; border-width: 6px; }
  .gallery-track { gap: 20px; }
}

/* Pitch */
.pitch { background: var(--forest); color: var(--parchment); }
.pitch-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.pitch h2 { color: var(--cream); }
.pitch p { color: var(--sage-light); font-size: 18px; }

/* Features */
.features-inner { max-width: 1100px; margin: 0 auto; padding: 96px 24px; }
.features h2 { text-align: center; font-size: 36px; margin-bottom: 48px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--parchment-deep);
  border-radius: 16px;
  padding: 28px;
}
.card-icon { font-size: 32px; margin-bottom: 12px; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--stone); font-size: 15px; margin: 0; }

/* For associations */
.for-associations { background: var(--parchment-deep); }
.for-associations-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.for-associations p { color: var(--stone); font-size: 18px; }
.for-associations-note {
  margin-top: 24px;
  font-size: 15px;
  color: var(--moss);
}
.for-associations-note a { color: var(--clay); text-decoration: underline; }

/* Contact */
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 96px 24px;
  text-align: center;
}
.contact p { color: var(--stone); font-size: 18px; margin-bottom: 28px; }

/* Footer */
.footer a { color: var(--moss); text-decoration: underline; }
.footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--stone);
  font-size: 14px;
}

@media (max-width: 640px) {
  .hero { padding: 64px 20px 80px; }
}
