/* ============================================================
   WATER SAVES — Stylesheet · Entièrement basé sur φ = 1.618
   Échelle φ : 0.236 · 0.382 · 0.618 · 1 · 1.618 · 2.618 · 4.236 · 6.854 · 11.09
   Proportions : 61.8% / 38.2% / 23.6% / 14.6% / 9% / 5.6%
   ============================================================ */

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

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1a2e3b; background: #fff; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
p { line-height: 1.618; color: #3a5060; } /* line-height = φ */
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- Variables φ --- */
:root {
  --phi:  1.618;

  /* Couleurs */
  --blue:       #1A7BC4;
  --blue-light: #E8F4FD;
  --turquoise:  #00B4D8;
  --gold:       #C9A227;
  --gold-light: #FDF6E3;
  --green:      #3DAA6A;
  --white:      #FFFFFF;
  --offwhite:   #F5F8FA;
  --text:       #1a2e3b;
  --text-soft:  #3a5060;

  /* Échelle d'espacement φ (base 1rem = 16px) */
  --s0: 0.146rem;   /*  2.3px */
  --s1: 0.236rem;   /*  3.8px */
  --s2: 0.382rem;   /*  6.1px */
  --s3: 0.618rem;   /*  9.9px */
  --s4: 1rem;       /* 16.0px */
  --s5: 1.618rem;   /* 25.9px */
  --s6: 2.618rem;   /* 41.9px */
  --s7: 4.236rem;   /* 67.8px */
  --s8: 6.854rem;   /* 109.7px */
  --s9: 11.09rem;   /* 177.4px */

  /* Proportions φ */
  --p1: 61.8%;
  --p2: 38.2%;
  --p3: 23.6%;
  --p4: 14.6%;
  --p5: 9.0%;
  --p6: 5.6%;

  /* Utilitaires */
  --radius:    1.618rem;   /* φ² */
  --radius-sm: 0.618rem;
  --shadow:    0 var(--s5) var(--s8) rgba(26,123,196,0.10);
  --shadow-sm: 0 var(--s3) var(--s6) rgba(0,0,0,0.07);
}

/* ============================================================
   NAVIGATION — hauteur = φ⁴ = 4.236rem
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,123,196,0.10);
  height: var(--s7);   /* 4.236rem = φ⁴ */
  padding: 0 var(--s7);
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 var(--s3) var(--s6) rgba(0,0,0,0.08); }
.nav-logo img { height: var(--s6); width: auto; }   /* φ³ */
.nav-links { display: flex; gap: var(--s5); list-style: none; }
.nav-links a { font-size: var(--s4); font-weight: 500; color: var(--text-soft); letter-spacing: 0.02em; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: white !important;
  padding: var(--s3) var(--s5);
  border-radius: 50px; font-weight: 600 !important;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--turquoise) !important; transform: translateY(-1px); }

/* ============================================================
   HERO — Bouteille 85.4% (61.8+23.6) | Texte 38.2% flottant
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--s7);
  padding-bottom: var(--s6);
  background: linear-gradient(135deg, #e8f4fd 0%, #f0fbff var(--p2), #e6f9f2 100%);
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/source.jpg') center/cover no-repeat;
  opacity: 0.06;
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  display: flex; align-items: center;
}

/* Panneau texte — largeur 38.2%, dans le flux flex */
.hero-text {
  position: relative;
  margin-left: var(--s6);
  z-index: 4;
  width: var(--p2);     /* 38.2% */
  flex-shrink: 0;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: var(--s6);
  box-shadow: 0 var(--s5) var(--s8) rgba(26,123,196,0.13);
  border: 1px solid rgba(255,255,255,0.95);
}

.hero-text h1 {
  font-size: clamp(var(--s6), 3.5vw, var(--s8));
  color: var(--text); margin-bottom: var(--s5); line-height: 1.15;
}
.hero-text h1 span { color: var(--blue); }

.hero-tagline {
  font-size: var(--s5); font-weight: 300;
  color: var(--text-soft); margin-bottom: var(--s5);
  font-style: italic;
  border-left: var(--s1) solid var(--turquoise);
  padding-left: var(--s3); margin-left: -3px;
  line-height: var(--phi);
}

.hero-promise {
  font-size: var(--s4); color: var(--text-soft);
  margin-bottom: var(--s6); line-height: var(--phi);
}

.hero-buttons { display: flex; gap: var(--s5); flex-wrap: wrap; }

/* Bouteille — 85.4% de la page, ancrée à droite */
.hero-visual {
  position: absolute; right: 0;
  width: 85.4%;        /* 61.8 + 23.6 */
  height: 100%; display: flex;
  justify-content: center; align-items: center;
}

.hero-bottle {
  width: var(--p1);    /* 61.8% de la zone visuelle */
  max-width: 780px; height: auto;
  filter: drop-shadow(0 var(--s6) var(--s9) rgba(26,123,196,0.28));
  animation: float var(--s9) ease-in-out infinite; /* durée = φ⁶ s */
  border-radius: var(--radius); display: block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(calc(-1 * var(--s5))); }
}

/* Bulles stats — flottantes à droite */
.hero-stats {
  position: absolute; right: var(--s6); bottom: var(--s6);
  display: flex; flex-direction: column; gap: var(--s3);
}

.stat-bubble {
  background: white; border-radius: var(--radius-sm);
  padding: var(--s3) var(--s5);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: var(--s3);
  animation: fadeInRight 0.6s ease both;
}
.stat-bubble:nth-child(2) { animation-delay: 0.2s; }
.stat-bubble:nth-child(3) { animation-delay: 0.4s; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: var(--s6); font-weight: 700; color: var(--blue); line-height: 1;
}
.stat-label { font-size: var(--s3); color: var(--text-soft); line-height: 1.4; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: var(--s5); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: var(--s3);
  color: var(--text-soft); font-size: var(--s3); letter-spacing: 0.1em;
  animation: bounce 2s ease infinite; z-index: 5;
}
.scroll-indicator::after {
  content: ''; width: 1px; height: var(--s6);
  background: linear-gradient(to bottom, var(--blue), transparent);
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(var(--s3))} }
@keyframes fadeInRight { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }

/* ============================================================
   COMMONS — Sections
   Padding vertical = φ⁵ = 6.854rem
   Padding horizontal = φ³ = 4.236rem
   ============================================================ */
section { padding: var(--s8) var(--s7); }
.section-inner { max-width: 1400px; margin: 0 auto; }
.section-eyebrow { display: inline-block; font-size: var(--s3); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: var(--s3); }
.section-title { font-size: clamp(var(--s6), 3vw, var(--s7)); color: var(--text); margin-bottom: var(--s5); }
.section-title span { color: var(--blue); white-space: nowrap; }
.section-subtitle { font-size: var(--s5); color: var(--text-soft); max-width: 61.8%; line-height: var(--phi); margin-bottom: var(--s7); }
.centered { text-align: center; }
.centered .section-subtitle { margin-left: auto; margin-right: auto; }

/* Grille standard 2 colonnes φ : 38.2% | 61.8% */
.phi-grid {
  display: grid;
  grid-template-columns: var(--p2) var(--p1);
  gap: var(--s7); align-items: center;
}
.phi-grid.reverse {
  grid-template-columns: var(--p1) var(--p2);
}

/* ============================================================
   THE CRISIS — fond offwhite
   Grille : image 38.2% | texte 61.8%
   ============================================================ */
#crisis { background: var(--offwhite); }

.crisis-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%; aspect-ratio: 1; /* square */
  object-fit: cover; object-position: 40% center;
}

.crisis-stats {
  display: grid; grid-template-columns: var(--p2) var(--p2);
  gap: var(--s5); margin-top: var(--s6);
}

.crisis-stat {
  background: white; border-radius: var(--radius-sm);
  padding: var(--s5); text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: var(--s1) solid var(--turquoise);
}
.crisis-stat .big-number {
  font-family: 'Playfair Display', serif;
  font-size: var(--s6); font-weight: 700; color: var(--blue);
  display: block; margin-bottom: var(--s2);
}
.crisis-stat p { font-size: var(--s3); color: var(--text-soft); margin: 0; }

.crisis-quote {
  margin-top: var(--s5);
  padding: var(--s5) var(--s6);
  background: var(--blue-light);
  border-left: var(--s2) solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--text-soft);
}

/* ============================================================
   OUR SOLUTION — fond blanc
   Grille : image 61.8% | texte 38.2%
   ============================================================ */
#solution { background: white; }
#solution .phi-grid { align-items: stretch; }

.solution-bottle {
  display: flex; align-items: stretch; justify-content: center;
  align-self: stretch;
}
.solution-bottle-img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 var(--s6) var(--s8) rgba(26,123,196,0.25));
}

.solution-photos {
  display: flex; flex-direction: column; gap: var(--s5);
}
.solution-image {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: var(--phi);  /* rectangle d'or */
  object-fit: cover;
  box-shadow: var(--shadow);
}
.solution-image-wrap { position: relative; }
.solution-badge {
  position: absolute; bottom: var(--s5); right: calc(-1 * var(--s5));
  background: var(--gold); color: white;
  border-radius: var(--radius-sm);
  padding: var(--s5) var(--s6); text-align: center;
  box-shadow: 0 var(--s3) var(--s6) rgba(201,162,39,0.4);
}
.solution-badge .badge-num { font-family:'Playfair Display',serif; font-size:var(--s7); font-weight:700; display:block; }
.solution-badge span { font-size: var(--s3); }

.how-steps { display: flex; flex-direction: column; gap: var(--s5); margin-top: var(--s6); }
.step {
  display: flex; gap: var(--s5); align-items: flex-start;
  padding: var(--s5); background: var(--offwhite);
  border-radius: var(--radius-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateX(var(--s3)); box-shadow: var(--shadow-sm); }
.step-icon {
  width: var(--s7); height: var(--s7); border-radius: var(--radius-sm);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--s6); flex-shrink: 0;
}
.step-img {
  width: calc(var(--s9) * 1.2); height: var(--s9);
  object-fit: cover; border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.step-text h4 { font-size: var(--s4); font-weight: 600; margin-bottom: var(--s2); color: var(--text); }
.step-text p  { font-size: var(--s3); margin: 0; }

/* ============================================================
   THE GOLDEN MODEL — fond gold-light
   Grille φ : 38.2% | 61.8%
   ============================================================ */
#golden { background: linear-gradient(160deg, #fdf6e3 0%, #fff9ee 100%); }

.golden-intro {
  display: grid;
  grid-template-columns: var(--p2) var(--p1); /* 38.2 | 61.8 */
  gap: var(--s7); align-items: start;
}

/* Cercles concentriques φ */
.golden-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative; aspect-ratio: 1;
}

.golden-circle-outer {
  width: var(--s9); height: var(--s9);   /* φ⁶ */
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--turquoise));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 var(--s5) var(--s8) rgba(26,123,196,0.25);
  position: relative;
}
/* Cercle intérieur = 61.8% du cercle extérieur (φ) */
.golden-circle-inner {
  position: absolute;
  width: var(--p1); height: var(--p1);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e8c84a);
  bottom: 0; right: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 var(--s3) var(--s6) rgba(201,162,39,0.35);
}
.golden-circle-outer .pct { font-family:'Playfair Display',serif; font-size:var(--s6); font-weight:700; color:white; text-align:center; line-height:1; }
.golden-circle-outer .pct small { font-size:var(--s3); font-weight:400; display:block; }
.golden-circle-inner .pct { font-family:'Playfair Display',serif; font-size:var(--s5); font-weight:700; color:white; text-align:center; line-height:1; }
.golden-circle-inner .pct small { font-size:var(--s2); font-weight:400; display:block; }

.phi-badge {
  position: absolute; top: calc(-1 * var(--s5)); left: calc(-1 * var(--s5));
  background: white; border-radius: 50%;
  width: var(--s7); height: var(--s7);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.phi-badge .phi-sym { font-size: var(--s6); color: var(--gold); font-weight: 700; font-family:'Playfair Display',serif; }
.phi-badge .phi-val { font-size: var(--s2); color: var(--text-soft); }

.golden-quote {
  font-size: var(--s5); font-style: italic; color: var(--text-soft);
  line-height: var(--phi);
  padding: var(--s5) var(--s6);
  border-left: var(--s2) solid var(--gold);
  background: white; border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: var(--s6); box-shadow: var(--shadow-sm);
}

.golden-model-img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.golden-phases {
  display: grid; grid-template-columns: var(--p1) var(--p2); /* 61.8 | 38.2 */
  gap: var(--s5); margin-top: var(--s5);
}
.phase-card { padding: var(--s5); border-radius: var(--radius-sm); background: white; box-shadow: var(--shadow-sm); }
.phase-card h4 { font-size: var(--s3); font-weight:600; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-soft); margin-bottom:var(--s4); }
.phase-bar { height: var(--s2); border-radius: var(--s2); background: #eee; overflow: hidden; margin-bottom: var(--s2); }
.phase-bar-fill { height: 100%; border-radius: var(--s2); }
.phase-label { font-size: var(--s3); color: var(--text-soft); }

/* Full-width phase cards below golden-intro */
.golden-phases-full {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s6); margin-top: var(--s7);
}
.phase-card-large { padding: var(--s6); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.phase-card-large h4 { font-size: var(--s4); font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:var(--text-soft); margin-bottom:var(--s5); }
.phase-bar-lg { height: var(--s3); border-radius: var(--s3); background: #eee; overflow: hidden; margin-bottom: var(--s2); }
.phase-num { font-family:'Playfair Display',serif; font-size:var(--s6); font-weight:700; line-height:1; display:block; margin-bottom:var(--s1); }
.phase-label-lg { font-size: var(--s3); color: var(--text-soft); display:block; margin-bottom:var(--s3); }

/* ============================================================
   FOUR PILLARS — fond blanc
   4 colonnes : 23.6% chacune (avec gaps φ)
   ============================================================ */
#pillars { background: white; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
}

.pillar-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s;
  background: white; border: 1px solid rgba(0,0,0,0.05);
}
.pillar-card:hover { transform: translateY(calc(-1 * var(--s4))); box-shadow: var(--shadow); }

.pillar-img { width: 100%; height: var(--s9); object-fit: cover; } /* hauteur = φ⁶ */

.pillar-body { padding: var(--s5); }
.pillar-icon { font-size: var(--s6); margin-bottom: var(--s4); display: block; }
.pillar-body h3 { font-size: var(--s5); margin-bottom: var(--s4); color: var(--text); }
.pillar-body p  { font-size: var(--s3); }

.pillar-card:nth-child(1) .pillar-body { border-top: var(--s1) solid var(--blue); }
.pillar-card:nth-child(2) .pillar-body { border-top: var(--s1) solid var(--turquoise); }
.pillar-card:nth-child(3) .pillar-body { border-top: var(--s1) solid var(--green); }
.pillar-card:nth-child(4) .pillar-body { border-top: var(--s1) solid var(--gold); }

/* ============================================================
   FOR INVESTORS — fond blue-light
   3 cartes en grille φ
   ============================================================ */
#investors { background: linear-gradient(160deg, var(--blue-light) 0%, var(--offwhite) 100%); }

.investors-grid {
  display: grid;
  grid-template-columns: var(--p1) var(--p2) var(--p3);
  /* 61.8% | 38.2% | 23.6% — proportions φ décroissantes */
  /* Mais on normalise pour tenir en 100% : */
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5); margin-bottom: var(--s7);
}

.inv-card {
  background: white; border-radius: var(--radius);
  padding: var(--s6); box-shadow: var(--shadow-sm); text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.inv-card:hover { transform: translateY(calc(-1 * var(--s3))); box-shadow: var(--shadow); }
.inv-icon { font-size: var(--s7); margin-bottom: var(--s5); }
.inv-card h3 { font-size: var(--s5); margin-bottom: var(--s4); color: var(--text); }
.inv-card p { font-size: var(--s3); }
.inv-card .inv-highlight {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  font-weight: 700; font-size: var(--s6);
  padding: var(--s3) var(--s5); border-radius: var(--s3);
  margin: var(--s4) 0; font-family: 'Playfair Display', serif;
}

.roi-section { margin-top: var(--s7); margin-bottom: var(--s7); }
.roi-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--s6); color: var(--text);
  margin-bottom: var(--s3); text-align: center;
}
.roi-intro {
  text-align: center; font-size: var(--s4); color: var(--text-soft);
  max-width: 720px; margin: 0 auto var(--s6); line-height: var(--phi);
}
.roi-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s6); margin-bottom: var(--s6);
}
.roi-card {
  background: white; border-radius: var(--radius);
  padding: var(--s6); box-shadow: var(--shadow-sm);
  border-top: var(--s1) solid var(--blue);
}
.roi-card.roi-card-gold { border-top-color: var(--gold); }
.roi-num {
  font-family: 'Playfair Display', serif; font-size: var(--s7);
  font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: var(--s3);
}
.roi-card-gold .roi-num { color: var(--gold); }
.roi-card h4 { font-size: var(--s4); color: var(--text); margin-bottom: var(--s3); font-weight: 700; }
.roi-card p  { font-size: var(--s3); color: var(--text-soft); line-height: var(--phi); }

.roi-mechanism {
  background: white; border-radius: var(--radius);
  padding: var(--s6); box-shadow: var(--shadow-sm);
}
.roi-mechanism h4 {
  font-size: var(--s5); color: var(--text); font-weight: 700;
  border-bottom: 1px solid rgba(26,123,196,0.15);
  padding-bottom: var(--s4); margin-bottom: var(--s5);
}
.mechanism-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5);
}
.mech-step { text-align: center; }
.mech-num {
  font-family: 'Playfair Display', serif; font-size: var(--s6);
  font-weight: 700; color: var(--blue); display: block; margin-bottom: var(--s3);
}
.mech-step p { font-size: var(--s2); color: var(--text-soft); line-height: 1.6; }

.investors-cta {
  text-align: center; background: var(--blue); color: white;
  border-radius: var(--radius); padding: var(--s7);
}
.investors-cta h3 { font-size: var(--s6); color: white; margin-bottom: var(--s4); }
.investors-cta p { color: rgba(255,255,255,0.8); margin-bottom: var(--s6); font-size: var(--s4); }

/* ============================================================
   SCALABILITY — fond offwhite
   Grille φ : 61.8% | 38.2%
   ============================================================ */
#scale { background: var(--offwhite); }

.image-caption {
  font-size: var(--s4); font-style: italic; color: var(--text-soft);
  text-align: center; margin-top: var(--s3);
}

.scale-image {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; aspect-ratio: var(--phi); object-fit: cover;
}

.scale-points { display: flex; flex-direction: column; gap: var(--s5); }
.scale-point {
  display: flex; gap: var(--s5);
  padding: var(--s5); background: white;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.scale-point .sp-icon {
  font-size: var(--s6); flex-shrink: 0;
  width: var(--s7); height: var(--s7);
  background: var(--blue-light); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.scale-point h4 { font-size: var(--s4); margin-bottom: var(--s2); }
.scale-point p  { font-size: var(--s3); margin: 0; }

/* ============================================================
   ESG — fond blanc
   SDGs + 5 piliers
   ============================================================ */
#esg { background: white; }

.sdg-row {
  display: flex; flex-wrap: wrap; gap: var(--s4);
  justify-content: center; margin-top: var(--s6);
}
.sdg-badge {
  border-radius: var(--s3); padding: var(--s4) var(--s5);
  font-size: var(--s3); font-weight: 600; color: white; text-align: center;
  min-width: var(--s8);
}

.esg-pillars {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: var(--s5); margin-top: var(--s7);
}
.esg-item {
  text-align: center; padding: var(--s6) var(--s5);
  background: var(--offwhite); border-radius: var(--radius);
  transition: transform 0.2s;
}
.esg-item:hover { transform: translateY(calc(-1 * var(--s3))); }
.esg-item .esg-icon { font-size: var(--s7); margin-bottom: var(--s5); }
.esg-item h4 { font-size: var(--s4); margin-bottom: var(--s3); }
.esg-item p  { font-size: var(--s3); }

/* SDG detail grid */
.sdg-detail-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s5); margin-top: var(--s7);
}
.sdg-detail-card {
  display: flex; gap: var(--s4);
  background: white; border-radius: var(--radius);
  padding: var(--s5); box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.sdg-detail-card:hover { transform: translateY(calc(-1 * var(--s2))); }
.sdg-detail-card.sdg-core { border: 2px solid #26BDE2; }
.sdg-detail-num {
  flex-shrink: 0;
  width: var(--s7); height: var(--s7);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: var(--s5); font-weight: 700; color: white;
}
.sdg-detail-body h4 { font-size: var(--s4); font-weight: 700; color: var(--text); margin-bottom: var(--s2); }
.sdg-detail-body p  { font-size: var(--s3); color: var(--text-soft); line-height: var(--phi); }

/* ============================================================
   TEAM — fond offwhite
   4 cartes · 2 partenaires en grille φ
   ============================================================ */
#team { background: var(--offwhite); }

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
}
.team-card {
  background: white; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s; text-align: center;
}
.team-card:hover { transform: translateY(calc(-1 * var(--s3))); box-shadow: var(--shadow); }
.team-photo { width: 100%; height: var(--s9); object-fit: cover; object-position: top; }
.team-body { padding: var(--s5); }
.team-body h3 { font-size: var(--s5); margin-bottom: var(--s2); }
.team-role {
  font-size: var(--s3); font-weight: 600; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: var(--s4); display: block;
}
.team-body p { font-size: var(--s3); }

/* Partenaires : grille 61.8% | 38.2% */
.partners-row {
  display: grid;
  grid-template-columns: var(--p1) var(--p2);
  gap: var(--s5); margin-top: var(--s7);
}
.partner-card {
  background: white; border-radius: var(--radius-sm);
  padding: var(--s6); box-shadow: var(--shadow-sm);
  display: flex; gap: var(--s5); align-items: flex-start;
}
.partner-icon {
  font-size: var(--s6); flex-shrink: 0;
  width: var(--s7); height: var(--s7);
  background: var(--blue-light); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.partner-card h4 { font-size: var(--s4); margin-bottom: var(--s3); }
.partner-card p  { font-size: var(--s3); }

/* ============================================================
   CONTACT — fond dégradé bleu
   Grille φ : 38.2% | 61.8%
   ============================================================ */
#contact { background: linear-gradient(160deg, var(--blue) 0%, var(--turquoise) 100%); color: white; }
#contact .section-eyebrow { color: rgba(255,255,255,0.7); }
#contact .section-title { color: white; }
#contact p { color: rgba(255,255,255,0.85); }

.contact-grid {
  display: grid;
  grid-template-columns: var(--p2) var(--p1); /* 38.2 | 61.8 */
  gap: var(--s7); align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: var(--s5); }
.contact-item { display: flex; gap: var(--s4); align-items: center; }
.contact-item .ci-icon {
  width: var(--s6); height: var(--s6);
  background: rgba(255,255,255,0.15); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--s4); flex-shrink: 0;
}
.contact-item p { color: white; margin: 0; font-size: var(--s4); }
.contact-item a { color: white; }

.contact-form { display: flex; flex-direction: column; gap: var(--s5); }
.contact-form input,
.contact-form textarea {
  padding: var(--s4) var(--s5);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  color: white; font-size: var(--s4);
  font-family: 'Inter', sans-serif; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.55); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: white; background: rgba(255,255,255,0.2); }
.contact-form textarea { min-height: var(--s8); resize: vertical; }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--blue); color: white;
  padding: var(--s4) var(--s6); border-radius: 50px;
  font-weight: 600; font-size: var(--s4); transition: all 0.25s;
  box-shadow: 0 var(--s3) var(--s6) rgba(26,123,196,0.3);
}
.btn-primary:hover { background: var(--turquoise); transform: translateY(-2px); }

.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--blue);
  padding: var(--s4) var(--s6); border-radius: 50px;
  font-weight: 600; font-size: var(--s4);
  border: 2px solid var(--blue); transition: all 0.25s;
}
.btn-secondary:hover { background: var(--blue-light); transform: translateY(-2px); }

.btn-white {
  display: inline-block;
  background: white; color: var(--blue);
  padding: var(--s4) var(--s6); border-radius: 50px;
  font-weight: 700; font-size: var(--s4); transition: all 0.25s;
  box-shadow: 0 var(--s3) var(--s6) rgba(0,0,0,0.15);
}
.btn-white:hover { background: var(--gold); color: white; transform: translateY(-2px); }

.btn-send {
  background: white; color: var(--blue);
  padding: var(--s4) var(--s6); border-radius: 50px;
  font-weight: 700; font-size: var(--s4); border: none;
  cursor: pointer; transition: all 0.25s; align-self: flex-start;
}
.btn-send:hover { background: var(--gold); color: white; transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #0d1e2c; padding: var(--s6) var(--s7);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s5);
}
footer .footer-logo img { height: var(--s6); filter: brightness(0) invert(1); opacity: 0.8; }
footer p { color: rgba(255,255,255,0.4); font-size: var(--s3); }
footer .footer-links { display: flex; gap: var(--s6); }
footer .footer-links a { color: rgba(255,255,255,0.5); font-size: var(--s3); transition: color 0.2s; }
footer .footer-links a:hover { color: white; }

/* ============================================================
   ANIMATIONS scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(var(--s6)); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
  .esg-pillars  { grid-template-columns: repeat(3, 1fr); }
  .partners-row { grid-template-columns: 1fr; }
  .phi-grid, .phi-grid.reverse { grid-template-columns: 1fr; }
  .golden-intro { grid-template-columns: 1fr; }
  .golden-phases-full { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 950px) {
  /* Hero: stack vertically on tablets and medium screens */
  .hero-inner { flex-direction: column; min-height: auto; padding: var(--s7) 0; }
  .hero-text  { position: static; width: 92%; margin: var(--s6) auto 0; border-radius: var(--radius); }
  .hero-visual { position: static; width: 100%; height: 61.8vh; }
  .hero-bottle { width: 85.4%; max-width: 100%; }
  .hero-stats  { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; padding: var(--s4); gap: var(--s3); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }

  .pillars-grid, .team-grid, .esg-pillars,
  .investors-grid, .golden-phases, .crisis-stats { grid-template-columns: 1fr 1fr; }

  section { padding: var(--s7) var(--s5); }
  .section-subtitle { max-width: 100%; }
}

@media (max-width: 480px) {
  .pillars-grid, .team-grid, .esg-pillars,
  .investors-grid, .golden-phases, .crisis-stats { grid-template-columns: 1fr; }
}
