/* ============================================
   FONDATION EMERGO - Site Web
   Guide de marque v0.1 Octobre 2024
   ============================================ */

/* --- Polices self-hosted (Poppins) --- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Poppins-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Poppins-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Poppins-SemiBold.woff2') format('woff2');
}

/* Terfens — via Adobe Fonts (Typekit), chargé dans le HTML */

/* --- Variables de marque --- */
:root {
  /* Couleurs */
  --bleu-ciel: #D2E6FF;
  --bleu-roi: #001E55;
  --beige: #F0EDE1;
  --jaune: #FFEBB4;
  --vert: #C8E1C8;
  --blanc: #FFFFFF;
  --noir: #000000;

  /* Typographies */
  --font-titre: 'terfens', 'Poppins', sans-serif;
  --font-corps: 'Poppins', sans-serif;

  /* Espacements */
  --section-padding: 100px 0;
  --container-max: 100%;
  --container-padding: 0 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Bilingual toggle: hide non-active language */
.lang-hidden {
  display: none !important;
}

/* Default: hide EN content before JS runs (prevents flash).
   Once JS loads, it manages visibility via .lang-hidden class. */
html:not(.lang-ready) [data-lang="en"] {
  display: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-corps);
  font-weight: 400;
  color: var(--bleu-roi);
  background-color: var(--beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* --- Typographies --- */
h1, h2, h3, h4 {
  font-family: var(--font-titre);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 600;
  line-height: 1.23;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.23;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.23;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 680px;
}

.subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 8px;
}

/* --- Boutons --- */
.btn {
  display: inline-block;
  padding: 13px 52px;
  border-radius: 29px;
  font-family: var(--font-corps);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.72px;
  text-transform: uppercase;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--bleu-roi);
  color: var(--blanc);
  border-color: var(--bleu-roi);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--bleu-roi);
}

.btn-outline {
  background-color: transparent;
  color: var(--bleu-roi);
  border-color: var(--bleu-roi);
}

.btn-outline:hover {
  background-color: var(--bleu-roi);
  color: var(--blanc);
}

.btn-light {
  background-color: var(--beige);
  color: var(--bleu-roi);
  border-color: var(--beige);
}

.btn-light:hover {
  background-color: var(--blanc);
}

.btn-white-outline {
  background-color: transparent;
  color: var(--blanc);
  border-color: var(--blanc);
}

.btn-white-outline:hover {
  background-color: var(--blanc);
  color: var(--bleu-roi);
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--beige);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 30, 85, 0.08);
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: 100%;
  margin: 0;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo svg {
  width: 50px;
  height: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bleu-roi);
}

.logo-text .tagline {
  font-size: 0.65rem;
  font-weight: 400;
  font-style: italic;
  color: var(--bleu-roi);
  opacity: 0.7;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bleu-roi);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .btn {
  padding: 12px 30px;
  font-size: 0.95rem;
}

.lang-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--bleu-roi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background: var(--bleu-roi);
  color: var(--blanc);
}

/* Hide mobile nav-actions clone on desktop */
.nav-actions-mobile {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--bleu-roi);
  transition: all 0.3s ease;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  padding-top: 120px;
  padding-bottom: 0;
  text-align: center;
  background: var(--beige);
}

.hero-content {
  max-width: 930px;
  margin: 0 auto;
  padding: 40px 24px 29px;
}

.hero h1 {
  margin-bottom: 34px;
}

.hero p {
  margin: 0 auto 0;
  font-size: 1.25rem;
  max-width: 700px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 13px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 47px;
  margin-bottom: 63px;
}

/* Vidéo avec masque SVG (courbe décorative identique au site original) */
.hero-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  -webkit-mask-image: url(../img/hero-mask.svg);
  mask-image: url(../img/hero-mask.svg);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* =============================================
   SECTIONS GÉNÉRIQUES
   ============================================= */
.section {
  padding: var(--section-padding);
}

.section-dark {
  background-color: var(--bleu-roi);
  color: var(--blanc);
}

.section-beige {
  background-color: var(--beige);
}

.section-vert {
  background-color: var(--vert);
}

.section-bleu-ciel {
  background-color: var(--bleu-ciel);
}

/* --- Full-page sections (100vh + centrage vertical) --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-fondation {
  min-height: 100vh;
}

.section-cause {
  /* hauteur dictée par l'image */
}

.section-gens {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section-social {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-cta {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============================================
   SECTION FONDATION (accueil)
   ============================================= */
.section-fondation {
  padding: 0;
  background: var(--bleu-roi);
  color: var(--blanc);
  overflow: hidden;
}

.section-fondation .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 100%;
  padding: 0;
}

.section-fondation .section-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 60px 100px 80px;
}

.section-fondation .section-image {
  overflow: hidden;
  position: relative;
  padding: 60px 0;
}

.section-fondation .section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
  border-radius: 0;
  margin: 0;
}

.section-fondation .subtitle {
  opacity: 0.5;
}

.section-fondation h2 {
  margin-bottom: 20px;
}

.section-fondation p {
  opacity: 0.85;
  margin-bottom: 32px;
}

.circle-image {
  width: 100%;
  max-width: 788px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.circle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   SECTION CAUSE (accueil)
   ============================================= */
.section-cause {
  padding: 0;
  background: var(--beige);
  overflow: hidden;
}

.section-cause .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 100%;
  padding: 0;
}

.section-cause .section-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px 80px 60px;
}

.section-cause .section-image {
  overflow: hidden;
  position: relative;
}

.section-cause .section-image img,
.section-cause .section-image .circle-image {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  aspect-ratio: auto;
}

.section-cause .section-image .circle-image img {
  object-fit: cover;
}

/* Courbe concave verticale sur le bord droit de l'image cause */
.section-cause .section-image .curve-mask-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.section-cause h2 {
  margin-bottom: 20px;
}

.section-cause p {
  margin-bottom: 32px;
}

/* =============================================
   SECTION NOS GENS (accueil)
   ============================================= */
.section-gens {
  padding: 100px 0;
  background: var(--vert);
  overflow: hidden;
}

.section-gens .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

.section-gens h2 {
  margin-bottom: 20px;
}

.section-gens ul {
  margin: 24px 0 32px;
}

.section-gens li {
  padding: 8px 0;
  padding-left: 36px;
  position: relative;
  line-height: 1.5;
}

.section-gens li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--bleu-roi);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bleu-roi);
  line-height: 1;
}

/* =============================================
   SECTION CTA DON
   ============================================= */
.section-cta {
  padding: 80px 0;
  background: var(--beige);
  text-align: center;
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bleu-roi);
  color: var(--blanc);
  border-radius: 80px;
  padding: 60px 50px;
  text-align: center;
  position: relative;
}

.cta-icon {
  width: 70px;
  height: 70px;
  background: var(--jaune);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -95px auto 24px;
  border: 4px solid var(--beige);
}

.cta-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--bleu-roi);
}

.cta-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-card p {
  margin: 0 auto 28px;
  opacity: 0.85;
}

/* =============================================
   SECTION INSTAGRAM / SOCIAL
   ============================================= */
.section-social {
  padding: 60px 0;
  background: var(--vert);
}

.section-social .social-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: 36px;
}

.section-social h3 {
  font-size: 1.3rem;
}

.section-social .social-icons {
  display: flex;
  gap: 24px;
}

.section-social .social-icons a {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--bleu-roi);
  color: var(--blanc);
}

.section-social .social-icons a svg {
  width: 32px;
  height: 32px;
  fill: var(--bleu-roi);
}

.social-icons a svg {
  width: 22px;
  height: 22px;
  fill: var(--bleu-roi);
}

.social-icons a:hover svg {
  fill: var(--blanc);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.social-grid .social-card {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--blanc);
}

.social-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumb {
  padding: 12px 24px;
  font-size: 0.85rem;
  color: var(--bleu-roi);
  opacity: 0.6;
  max-width: 1200px;
  margin: 0 auto;
}
.breadcrumb a {
  color: var(--bleu-roi);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb .sep {
  margin: 0 6px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--beige);
  padding: 60px 0 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr 0.8fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-logo .logo {
  margin-bottom: 8px;
}

.footer-info h4 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-info p {
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-info a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav a {
  font-weight: 600;
  font-size: 1rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.footer-bottom {
  border-top: 2px solid var(--bleu-roi);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =============================================
   PAGE À PROPOS
   ============================================= */
.page-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero p {
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Mission */
.section-mission {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section-mission .container {
  max-width: 800px;
}

.section-mission h2 {
  margin-bottom: 24px;
}

.section-mission p {
  margin-bottom: 16px;
  max-width: 100%;
}

/* CA */
.section-ca {
  padding: 80px 0;
  background: var(--bleu-ciel);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section-ca h2 {
  text-align: center;
  margin-bottom: 48px;
}

.ca-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.ca-card {
  text-align: center;
}

.ca-card .ca-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bleu-roi);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  font-size: 1.8rem;
  font-weight: 700;
}

.ca-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.ca-card p {
  font-size: 0.8rem;
  opacity: 0.7;
  margin: 0 auto;
}

/* Témoignage */
.section-testimonial {
  padding: 80px 0;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background: var(--blanc);
  border-radius: 24px;
}

.testimonial-card blockquote {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Rapports */
.section-rapports {
  padding: 80px 0;
  background: var(--vert);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-rapports h2 {
  text-align: center;
  margin-bottom: 40px;
}

.rapports-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.rapport-link {
  display: inline-block;
  padding: 12px 24px;
  background: var(--blanc);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.rapport-link:hover {
  background: var(--bleu-roi);
  color: var(--blanc);
}

/* =============================================
   PAGE CAUSE
   ============================================= */
.section-cause-detail {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section-cause-detail .container {
  max-width: 800px;
}

.section-cause-detail h2 {
  margin-bottom: 24px;
}

.section-cause-detail p {
  margin-bottom: 16px;
  max-width: 100%;
}

/* =============================================
   PAGE DONS
   ============================================= */
.section-don-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  background: var(--bleu-roi);
  color: var(--blanc);
  text-align: center;
}

.section-don-hero h1 {
  margin-bottom: 20px;
}

.section-don-hero p {
  margin: 0 auto;
  opacity: 0.85;
}

.section-impact {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.impact-card {
  background: var(--blanc);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-4px);
}

.impact-card .impact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--jaune);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.impact-card p {
  margin: 0 auto;
  font-size: 0.9rem;
}

/* =============================================
   PAGE S'IMPLIQUER
   ============================================= */
.section-impliquer {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.impliquer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.impliquer-card {
  background: var(--blanc);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform 0.3s ease;
}

.impliquer-card:hover {
  transform: translateY(-4px);
}

.impliquer-card h3 {
  margin-bottom: 12px;
}

.impliquer-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
  .section-fondation .container,
  .section-cause .container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-gens .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-fondation .section-text,
  .section-cause .section-text {
    padding: 60px 28px;
  }

  .section-fondation .section-image,
  .section-cause .section-image {
    height: auto;
    min-height: 300px;
    max-height: 450px;
  }

  .circle-image {
    max-width: 350px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Désactiver le min-height: 100vh sur mobile */
  .hero,
  .section-fondation,
  .section-cause,
  .section-gens,
  .section-social,
  .section-cta,
  .page-hero,
  .section-mission,
  .section-ca,
  .section-testimonial,
  .section-rapports,
  .section-cause-detail,
  .section-impact,
  .section-impliquer {
    min-height: auto;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 85px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--beige);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }

  .header-inner {
    padding: 16px 20px;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  /* Hide donate button on mobile, keep lang toggle visible next to hamburger */
  .header-inner > .nav-actions {
    display: flex;
    gap: 10px;
  }

  .header-inner > .nav-actions .btn {
    display: none;
  }

  .header-inner > .nav-actions .lang-toggle {
    display: flex;
  }

  /* Show donate button inside mobile menu */
  .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
  }

  .nav-actions-mobile .lang-toggle {
    display: none;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 40px 24px 30px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-card {
    border-radius: 40px;
    padding: 50px 30px;
  }

  .ca-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 0 24px;
  }

  .section-fondation .section-text,
  .section-cause .section-text {
    padding: 40px 24px;
  }

  .section-fondation .section-image,
  .section-cause .section-image {
    height: auto;
    min-height: 260px;
  }

  .section-gens .container {
    padding: 0 24px;
  }

  .section-social .container {
    padding: 0 24px;
  }

  .section-social .social-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 0 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .social-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-fondation .section-text,
  .section-cause .section-text {
    padding: 32px 16px;
  }

  .ca-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   LARGE SCREENS / 4K
   ============================================= */
@media (min-width: 1600px) {
  html {
    font-size: 18px;
  }

  .header-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 24px 60px;
  }

  .section-fondation .section-text {
    padding: 120px 80px 120px 100px;
  }

  .section-cause .section-text {
    padding: 100px 100px 100px 80px;
  }

  .section-gens .container {
    max-width: 1800px;
  }

  .section-social .container {
    max-width: 1800px;
  }

  .section-cta .container {
    max-width: 1800px;
  }

  .footer-main {
    max-width: 1800px;
    margin: 0 auto;
  }

  .footer-bottom {
    max-width: 1800px;
    margin: 0 auto;
    padding-top: 24px;
  }
}

@media (min-width: 2200px) {
  html {
    font-size: 20px;
  }

  .header-inner {
    max-width: 2000px;
    padding: 28px 80px;
  }

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

  .section-fondation .container {
    max-width: 2000px;
    margin: 0 auto;
  }

  .section-cause .container {
    max-width: 2000px;
    margin: 0 auto;
  }

  .section-gens .container {
    max-width: 2000px;
  }

  .section-social .container {
    max-width: 2000px;
  }

  .cta-card {
    max-width: 900px;
  }

  .footer-main,
  .footer-bottom {
    max-width: 2000px;
  }

  .ca-grid {
    max-width: 1200px;
  }

  .impact-grid {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 3000px) {
  html {
    font-size: 24px;
  }

  .header-inner {
    max-width: 2400px;
  }

  .section-fondation .container,
  .section-cause .container {
    max-width: 2400px;
    margin: 0 auto;
  }

  .section-gens .container,
  .section-social .container {
    max-width: 2400px;
  }

  .footer-main,
  .footer-bottom {
    max-width: 2400px;
  }
}
