﻿/* ============================================================
   Ambassade de Côte d'Ivoire à Vienne — Feuille de style principale
   Thème : Orange → Vert (drapeau ivoirien), zéro bleu
   ============================================================ */

:root {
  /* Couleurs drapeau ivoirien */
  --orange:       #F77F00;
  --orange-dark:  #D96C00;
  --orange-light: #FFA040;
  --orange-pale:  #FFF0E0;
  --white:        #FFFFFF;
  --green:        #009A44;
  --green-dark:   #007A35;
  --green-light:  #00B850;
  --green-pale:   #E6F7EE;

  /* Remplacement de toutes les teintes bleues/marines → vert foncé */
  --dark:         #0A1F10;
  --dark-mid:     #163320;
  --dark-light:   #2A5C3A;

  /* Neutres chauds (sans bleu) */
  --grey-100:     #F7F5F0;
  --grey-200:     #EDE9E0;
  --grey-300:     #D5CFBF;
  --grey-500:     #8A8570;
  --grey-700:     #4A4535;
  --grey-900:     #1A1710;

  /* Typographie */
  --font-primary: 'Georgia', 'Times New Roman', serif;
  --font-ui:      'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Espacements */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;

  /* Conteneur */
  --container:  1280px;

  /* Rayons */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Ombres */
  --shadow-sm:  0 1px 3px rgba(10,31,16,.08), 0 1px 2px rgba(10,31,16,.04);
  --shadow-md:  0 4px 12px rgba(10,31,16,.12), 0 2px 6px rgba(10,31,16,.06);
  --shadow-lg:  0 10px 30px rgba(10,31,16,.14), 0 4px 12px rgba(10,31,16,.08);
  --shadow-xl:  0 20px 60px rgba(10,31,16,.18);

  /* Aliases rétrocompatibles (styles inline dans le HTML) */
  --navy:       var(--dark);
  --navy-mid:   var(--dark-mid);
  --navy-light: var(--dark-light);

  /* Transitions */
  --transition: 0.25s ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-ui); color: var(--grey-900); background: var(--white); line-height: 1.6; min-height: 100vh; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ============================================================
   UTILITAIRES
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-lg); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

.section-title { font-family: var(--font-primary); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--dark); line-height: 1.2; }
.section-subtitle { font-size: 1.0625rem; color: var(--grey-700); margin-top: var(--space-sm); max-width: 600px; margin-inline: auto; text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-light), var(--orange));
  color: var(--white);
  margin-bottom: var(--space-md);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.7); }
.btn-secondary:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-white { background: var(--white); color: var(--orange-dark); font-weight: 700; }
.btn-white:hover { background: var(--grey-100); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

/* ============================================================
   BANDE TRICOLORE
   ============================================================ */
.tricolor { display: flex; height: 4px; width: 100%; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--orange); }
.tricolor span:nth-child(2) { background: var(--white); }
.tricolor span:nth-child(3) { background: var(--green); }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-sm); }
.top-bar a { color: rgba(255,255,255,.75); transition: color var(--transition); }
.top-bar a:hover { color: var(--orange-light); }
.top-bar .top-bar-left, .top-bar .top-bar-right { display: flex; align-items: center; gap: var(--space-md); }
.top-bar-icon { font-size: 0.875rem; margin-right: 4px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: var(--space-md); gap: var(--space-lg); }

.site-logo { display: flex; align-items: center; gap: var(--space-md); flex-shrink: 0; }
.logo-flag { display: flex; width: 48px; height: 32px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.logo-flag span { flex: 1; }
.logo-flag span:nth-child(1) { background: var(--orange); }
.logo-flag span:nth-child(2) { background: var(--white); }
.logo-flag span:nth-child(3) { background: var(--green); }
.logo-text { line-height: 1.25; }
.logo-text strong { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--dark); }
.logo-text span { font-size: 0.75rem; color: var(--grey-500); }

/* Armoiries dans le header */
.logo-emblem {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.15));
}
/* Armoiries dans le footer */
.footer-emblem {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
}
/* Grand emblème (hero / page ambassade) */
.hero-emblem {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.25));
}

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: var(--space-xs); }
.nav-list a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-700);
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--orange);
  border-radius: 999px;
  transition: left var(--transition), right var(--transition);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--dark); background: var(--grey-100); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { left: 0.875rem; right: 0.875rem; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--radius-sm); transition: background var(--transition); }
.menu-toggle:hover { background: var(--grey-100); }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 999px; transition: transform var(--transition), opacity var(--transition); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — gradient orange → vert comme le thème
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 45%, var(--green-dark) 100%);
  color: var(--white);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: center; }
.hero-content { max-width: 580px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: var(--space-lg);
}
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: rgba(255,255,255,.8); border-radius: 999px; }
.hero h1 { font-family: var(--font-primary); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; margin-bottom: var(--space-lg); }
.hero h1 em { font-style: normal; color: rgba(255,255,255,.9); text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.hero-desc { font-size: 1.0625rem; line-height: 1.7; color: rgba(255,255,255,.88); margin-bottom: var(--space-xl); }
.hero-actions { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.hero-card-title { font-size: 0.8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: var(--space-sm); }
.hero-info-item { display: flex; gap: var(--space-md); align-items: flex-start; padding-bottom: var(--space-md); border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.hero-info-icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.hero-info-icon i { font-size: 1rem; }
.hero-info-label { font-size: 0.8125rem; color: rgba(255,255,255,.6); margin-bottom: 2px; }
.hero-info-value { font-size: 0.9375rem; font-weight: 600; }

/* ============================================================
   ALERTE
   ============================================================ */
.alert-banner { background: #FFF0D6; border-bottom: 2px solid var(--orange); padding: 0.75rem 0; font-size: 0.875rem; }
.alert-banner .container { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.alert-icon { font-size: 1.125rem; flex-shrink: 0; }
.alert-text strong { color: var(--dark); margin-right: 6px; }
.alert-close { margin-left: auto; color: var(--grey-500); font-size: 1.25rem; line-height: 1; flex-shrink: 0; }
.alert-close:hover { color: var(--grey-900); }

/* ============================================================
   SERVICES RAPIDES
   ============================================================ */
.quick-services { padding: var(--space-3xl) 0; background: var(--grey-100); }
.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--space-lg); }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-decoration: none;
  color: inherit;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.service-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.service-icon { width: 56px; height: 56px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--orange-light), var(--orange)); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--white); flex-shrink: 0; }
.service-icon i { font-size: 1.4rem; }
.service-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
.service-card p { font-size: 0.875rem; color: var(--grey-700); line-height: 1.6; flex: 1; }
.service-card .service-link { font-size: 0.875rem; font-weight: 600; color: var(--orange); display: flex; align-items: center; gap: 4px; margin-top: auto; transition: gap var(--transition); }
.service-card:hover .service-link { gap: 8px; }

/* ============================================================
   INFO PRATIQUES
   ============================================================ */
.info-pratiques { padding: var(--space-3xl) 0; background: var(--white); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: start; }
.info-block { display: flex; flex-direction: column; gap: var(--space-lg); }
.horaires-table { width: 100%; border-collapse: collapse; }
.horaires-table th { text-align: left; padding: var(--space-sm) var(--space-md); background: var(--grey-100); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-700); border-radius: var(--radius-sm); }
.horaires-table td { padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--grey-200); font-size: 0.9375rem; color: var(--grey-900); vertical-align: middle; }
.horaires-table tr:last-child td { border-bottom: none; }
.horaires-table .closed { color: var(--grey-500); font-style: italic; }
.today-row td { font-weight: 600; background: var(--orange-pale); }

/* Contact card — vert foncé */
.contact-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.contact-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-xs); }
.contact-item { display: flex; gap: var(--space-md); align-items: flex-start; }
.contact-item-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: rgba(247,127,0,.3); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.contact-item-icon i { font-size: 0.9rem; }
.contact-item-label { font-size: 0.8125rem; color: rgba(255,255,255,.55); margin-bottom: 2px; }
.contact-item-value { font-size: 0.9375rem; font-weight: 500; }
.contact-item-value a { color: var(--orange-light); }
.contact-item-value a:hover { text-decoration: underline; }

/* ============================================================
   PAYS DESSERVIS
   ============================================================ */
.pays-section { padding: var(--space-3xl) 0; background: linear-gradient(180deg, var(--grey-100) 0%, var(--white) 100%); }
.pays-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: var(--space-md); margin-top: var(--space-2xl); }
.pays-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: var(--space-lg); display: flex; align-items: center; gap: var(--space-md); transition: box-shadow var(--transition), transform var(--transition); }
.pays-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pays-flag { font-size: 2rem; line-height: 1; }
.pays-name { font-weight: 600; color: var(--dark); font-size: 0.9375rem; }
.pays-capital { font-size: 0.8125rem; color: var(--grey-500); }

/* ============================================================
   ACTUALITÉS
   ============================================================ */
.actualites { padding: var(--space-3xl) 0; background: var(--white); }
.actualites-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-xl); margin-top: var(--space-2xl); }
.actu-card { border: 1px solid var(--grey-200); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--transition), transform var(--transition); background: var(--white); text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.actu-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.actu-card-img {
  height: 260px;
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 50%, var(--green-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.actu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.4s ease;
}
.actu-card:hover .actu-card-img img {
  transform: scale(1.04);
}
.actu-card-body { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; }
.actu-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--orange); color: var(--white); margin-bottom: var(--space-sm); }
.actu-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--dark); line-height: 1.35; margin-bottom: var(--space-sm); }
.actu-card p { font-size: 0.875rem; color: var(--grey-700); line-height: 1.6; flex: 1; }
.actu-date { font-size: 0.8125rem; color: var(--grey-500); margin-top: var(--space-md); }

.actu-list { display: flex; flex-direction: column; gap: var(--space-md); }
.actu-list-item { display: flex; gap: var(--space-md); align-items: flex-start; padding: var(--space-md); border: 1px solid var(--grey-200); border-radius: var(--radius-md); text-decoration: none; color: inherit; transition: background var(--transition), border-color var(--transition); }
.actu-list-item:hover { background: var(--grey-100); border-color: var(--grey-300); }
.actu-list-date { flex-shrink: 0; text-align: center; padding: 6px 10px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); border-radius: var(--radius-sm); font-size: 0.8125rem; }
.actu-list-date .day { font-size: 1.25rem; font-weight: 700; display: block; line-height: 1; }
.actu-list-date .month { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.8); }
.actu-list-content h4 { font-size: 0.9375rem; font-weight: 600; color: var(--dark); line-height: 1.3; margin-bottom: 4px; }
.actu-list-content p { font-size: 0.8125rem; color: var(--grey-700); }

/* ============================================================
   CTA SECTION — gradient orange → vert
   ============================================================ */
.cta-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 45%, var(--green-dark) 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23ffffff' stroke-width='1' stroke-opacity='0.06'/%3E%3C/svg%3E") 0 0 / 80px 80px;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-family: var(--font-primary); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: var(--space-md); }
.cta-section p { font-size: 1.0625rem; color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto var(--space-xl); }
.cta-actions { display: flex; justify-content: center; gap: var(--space-md); flex-wrap: wrap; }

/* ============================================================
   FOOTER — vert très foncé
   ============================================================ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: var(--space-3xl) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-2xl); padding-bottom: var(--space-2xl); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo-flag { margin-bottom: var(--space-md); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-top: var(--space-md); color: rgba(255,255,255,.6); }
.footer-col h4 { font-size: 0.8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-light); margin-bottom: var(--space-md); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,.65); transition: color var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: var(--space-lg) 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-md); font-size: 0.8125rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   PAGE HEADER — gradient orange → vert
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 45%, var(--green-dark) 100%);
  color: var(--white);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--orange) 33.33%, var(--white) 33.33% 66.66%, var(--green) 66.66%);
}
.page-header-inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: var(--space-sm); font-size: 0.8125rem; color: rgba(255,255,255,.65); margin-bottom: var(--space-lg); }
.breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.35); }
.page-header h1 { font-family: var(--font-primary); font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; margin-bottom: var(--space-md); }
.page-header p { font-size: 1.0625rem; color: rgba(255,255,255,.85); max-width: 640px; }

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion { display: flex; flex-direction: column; gap: var(--space-sm); }
.accordion-item { border: 1px solid var(--grey-200); border-radius: var(--radius-md); overflow: hidden; }
.accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-lg); font-size: 1rem; font-weight: 600; color: var(--dark); text-align: left; background: var(--white); transition: background var(--transition); }
.accordion-trigger:hover { background: var(--grey-100); }
.accordion-trigger[aria-expanded="true"] { background: var(--grey-100); }
.accordion-icon { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--grey-300); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; line-height: 1; transition: transform var(--transition), border-color var(--transition); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); border-color: var(--orange); color: var(--orange); }
.accordion-panel { display: none; padding: 0 var(--space-lg) var(--space-lg); font-size: 0.9375rem; line-height: 1.7; color: var(--grey-700); }
.accordion-panel.is-open { display: block; }

/* ============================================================
   CARDS SERVICES (page services)
   ============================================================ */
.services-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--space-xl); }
.service-detail-card { border: 1px solid var(--grey-200); border-radius: var(--radius-xl); overflow: hidden; background: var(--white); }
.service-detail-header {
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 50%, var(--green-dark) 100%);
  color: var(--white);
  display: flex; align-items: center; gap: var(--space-md);
}
.service-detail-icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.service-detail-icon i { font-size: 1.4rem; color: var(--white); }

/* Carte passeport cliquable */
a.service-detail-card {
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
a.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
a.service-detail-card:hover .service-detail-header {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 50%, var(--green) 100%);
}
.service-detail-header h3 { font-size: 1.125rem; font-weight: 700; }
.service-detail-header p { font-size: 0.8125rem; color: rgba(255,255,255,.78); }
.service-detail-body { padding: var(--space-xl); }
.requirement-list { display: flex; flex-direction: column; gap: var(--space-sm); margin: var(--space-md) 0; }
.requirement-list li { display: flex; gap: var(--space-sm); align-items: flex-start; font-size: 0.9375rem; color: var(--grey-700); }
.requirement-list li::before { content: '✓'; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.service-tarif { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md); background: var(--orange-pale); border-radius: var(--radius-md); margin-top: var(--space-lg); border-left: 3px solid var(--orange); }
.service-tarif span:first-child { font-size: 0.875rem; color: var(--grey-700); }
.service-tarif strong { font-size: 1.125rem; color: var(--dark); }

/* ============================================================
   FORMULAIRE CONTACT
   ============================================================ */
.contact-form-section { padding: var(--space-3xl) 0; background: var(--grey-100); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-2xl); align-items: start; }
.form-group { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.form-label { font-size: 0.9375rem; font-weight: 600; color: var(--dark); }
.form-label .required { color: var(--orange); }
.form-control { padding: 0.75rem 1rem; border: 2px solid var(--grey-300); border-radius: var(--radius-md); font: inherit; font-size: 0.9375rem; color: var(--grey-900); background: var(--white); transition: border-color var(--transition), box-shadow var(--transition); width: 100%; }
.form-control:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,127,0,.15); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }
.form-card { background: var(--white); border-radius: var(--radius-xl); padding: var(--space-xl); box-shadow: var(--shadow-md); }

/* ============================================================
   MAP PLACEHOLDER
   ============================================================ */
.map-section { padding: var(--space-2xl) 0; }
.map-placeholder { height: 380px; background: linear-gradient(135deg, var(--grey-200) 0%, var(--grey-100) 100%); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--grey-500); border: 2px dashed var(--grey-300); flex-direction: column; gap: var(--space-md); text-align: center; padding: var(--space-xl); }
.map-placeholder .map-icon { font-size: 3rem; }

/* ============================================================
   TYPOGRAPHIE FLUIDE (clamp)
   ============================================================ */
.section-title  { font-size: clamp(1.25rem, 3vw, 2.25rem); }
.hero h1        { font-size: clamp(1.6rem,  4vw, 3rem);    }
.page-header h1 { font-size: clamp(1.4rem,  4vw, 2.75rem); }
.cta-section h2 { font-size: clamp(1.4rem,  3.5vw, 2.5rem);}

/* Images responsives globales */
img { max-width: 100%; height: auto; }

/* ── CI Discover section (index.html) — grid layout ── */
.ci-discover-grid {
  display: grid;
  gap: var(--space-3xl);
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "head video" "body video";
  align-items: start;
}
.ci-discover-head  { grid-area: head; }
.ci-discover-body  { grid-area: body; }
.ci-discover-video { grid-area: video; align-self: center; }

/* ============================================================
   RESPONSIVE — breakpoints complets
   ============================================================ */

/* ── Tablette paysage 769px–1024px ─────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .pays-grid     { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1.5fr 1fr 1fr; }
}

/* ── LG ≤ 1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero .container      { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero-card            { display: none; }
  .hero-content         { max-width: 100%; }
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .actualites-grid      { grid-template-columns: 1fr; }
  .contact-layout       { grid-template-columns: 1fr; }
  .info-grid            { grid-template-columns: 1fr; }
  .services-detail-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
  .pays-grid            { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
}

/* ── MD ≤ 768px — mobile ──────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --space-4xl: 2.5rem;
    --space-3xl: 1.75rem;
    --space-2xl: 1.5rem;
    --space-xl:  1.25rem;
  }

  html { overflow-x: hidden; }
  body { padding-bottom: 68px; } /* espace bottom nav */

  /* Top bar & alerte cachées */
  .top-bar    { display: none; }
  .alert-banner { display: none; }

  /* CI Discover — mobile : titre → vidéo → texte */
  .ci-discover-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "video" "body";
  }

  /* Navigation desktop remplacée par bottom nav */
  .main-nav    { display: none !important; }
  .menu-toggle { display: none !important; }

  /* Header compact */
  .header-inner { padding-block: 0.55rem; gap: 0.4rem; }
  .logo-emblem  { width: 36px; height: 36px; }
  .logo-text strong { font-size: 0.82rem; }
  .logo-text span   { display: none; }

  /* Sélecteur de langue avec drapeaux — compact */
  .lang-switcher {
    border: 1.5px solid var(--grey-300) !important;
    border-radius: var(--radius-sm) !important;
    overflow: hidden !important;
  }
  .lang-btn {
    padding: 0.22rem 0.28rem !important;
    font-size: 0.56rem !important;
    font-weight: 800 !important;
    gap: 0.18rem !important;
    min-width: 0 !important;
  }
  .lang-btn .fi {
    width: 13px !important;
    height: 9px !important;
    display: inline-block !important;
    border-radius: 1px !important;
  }
  .lang-sep { background: var(--grey-300) !important; }
  .lang-btn.active {
    color: var(--orange) !important;
    background: rgba(247,127,0,.1) !important;
  }
  .lang-btn:not(.active) { color: var(--grey-700) !important; }

  /* Hero */
  .hero { padding: 2rem 0 2.5rem; }
  .hero h1 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
  .hero-desc { font-size: 0.9375rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; justify-content: center; min-height: 48px; }

  /* Grilles */
  .services-grid        { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .services-detail-grid { grid-template-columns: 1fr; }
  .pays-grid            { grid-template-columns: 1fr 1fr; }
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .actualites-grid      { grid-template-columns: 1fr; }
  .info-grid            { grid-template-columns: 1fr; }

  /* Cards */
  .service-card { padding: var(--space-md); gap: 0.75rem; }
  .service-icon { width: 48px; height: 48px; font-size: 1.2rem; }
  .service-card h3 { font-size: 0.95rem; }
  .service-card p  { font-size: 0.83rem; }
  .actu-card-img { height: 200px; }

  /* Horaires */
  .horaires-table { font-size: 0.875rem; }
  .horaires-table th, .horaires-table td { padding: 0.4rem 0.6rem; }

  /* Contact */
  .contact-card { padding: var(--space-lg); }
  .contact-layout { grid-template-columns: 1fr; }

  /* Page header inner */
  .page-header { padding: 1.75rem 0 2.25rem; }
  .page-header h1 { font-size: clamp(1.4rem, 5vw, 2.2rem); }
  .page-header p  { font-size: 0.9375rem; }
  .breadcrumb { font-size: 0.75rem; flex-wrap: wrap; }

  /* WhatsApp au-dessus de la bottom nav */
  .whatsapp-fab {
    width: 58px !important;
    height: 58px !important;
    font-size: 1.8rem !important;
    bottom: calc(68px + 0.75rem) !important;
    right: 1rem !important;
  }
  .wa-label {
    bottom: calc(68px + 1.8rem) !important;
    right: 5rem !important;
    font-size: 0.62rem !important;
  }

  /* Accordion */
  .accordion-trigger { font-size: 0.9rem; padding: 0.875rem 1rem; }
  .accordion-panel   { font-size: 0.9rem; }

  /* Formulaire */
  .form-card    { padding: var(--space-lg); }
  .form-control { font-size: 16px; } /* empêche zoom iOS */
  .form-group   { margin-bottom: var(--space-md); }

  /* Section titre */
  .section-title { font-size: clamp(1.2rem, 4vw, 1.8rem); }
  .section-subtitle { font-size: 0.9rem; }

  /* CTA */
  .cta-section { padding: 2rem 0; }
  .cta-actions { flex-direction: column; align-items: center; gap: 0.75rem; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
}

/* ── SM ≤ 540px ───────────────────────────────────────────────── */
@media (max-width: 540px) {
  .container { padding-inline: 0.875rem; }

  /* Services : 2 colonnes compactes */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .service-card  { padding: 0.875rem; }
  .service-icon  { width: 42px; height: 42px; font-size: 1.05rem; }
  .service-card h3 { font-size: 0.875rem; }
  .service-card p  { font-size: 0.78rem; }

  /* Pays : 2 colonnes compactes */
  .pays-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .pays-card { padding: 0.75rem; gap: 0.6rem; }
  .pays-flag { font-size: 1.5rem; }
  .pays-name  { font-size: 0.85rem; }
  .pays-capital { font-size: 0.72rem; }

  /* Footer colonne unique */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-socials { gap: 0.4rem; }
  .footer-social  { width: 32px; height: 32px; font-size: 0.8rem; }

  /* Actualités */
  .actu-list-item { flex-direction: column; gap: 0.5rem; }

  /* Page header */
  .page-header { padding: 1.5rem 0 2rem; }

  /* Service detail header empilé */
  .service-detail-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .service-detail-body   { padding: var(--space-md); }
}

/* ── XS ≤ 400px ───────────────────────────────────────────────── */
@media (max-width: 400px) {
  :root {
    --space-3xl: 1.5rem;
    --space-2xl: 1.25rem;
  }
  .container { padding-inline: 0.75rem; }

  .hero { padding: 1.5rem 0 2rem; }
  .hero h1 { font-size: clamp(1.3rem, 6vw, 1.6rem); }

  /* Pays colonne unique sur très petits écrans */
  .pays-grid { grid-template-columns: 1fr; }

  /* Services colonne unique */
  .services-grid { grid-template-columns: 1fr; }
  .service-card  { flex-direction: row; align-items: flex-start; gap: 0.75rem; }
  .service-icon  { flex-shrink: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   PAYSAGE HORIZONTAL — téléphones & tablettes
   ═══════════════════════════════════════════════════════════════

   Téléphones (h ≤ 500px) :
     iPhone SE landscape         : 667 × 375
     iPhone 12/13/14 landscape   : 844 × 390
     iPhone 14 Pro Max landscape : 932 × 430
     iPhone 15 Plus landscape    : 932 × 430  ← même viewport que 14 Pro Max
     Samsung S20 Ultra landscape : 915 × 412
     Samsung S25 landscape       : 900 × 412
     Samsung S25 Ultra landscape : 891 × 412  ou  915 × 412
     Samsung S25+ landscape      : 926 × 428
     Samsung S26 Ultra landscape : 932 × 412

   Tablettes (h 501–1050px, w ≤ 1400px) :
     iPad standard landscape    : 1024 × 768
     iPad Air landscape         : 1180 × 820
     iPad Pro 11" landscape     : 1194 × 834
     Samsung Tab S8 landscape   : 1280 × 800
     Samsung Tab S9 landscape   : 1280 × 800
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Téléphones — paysage (hauteur ≤ 500px) ─────────────── */
/* Référence : Samsung S25 Ultra 915×412, iPhone 14 Pro Max 932×430  */
@media (orientation: landscape) and (max-height: 500px) {

  /* ── Barres cachées → récupère ~85px de hauteur ── */
  .top-bar      { display: none !important; }
  .alert-banner { display: none !important; }
  .bottom-nav   { display: none !important; }
  body          { padding-bottom: 0 !important; }

  /* ── Container : padding réduit → contenu plein écran ── */
  .container { padding-inline: 0.875rem; }

  /* ── Espacements verticaux comprimés ── */
  :root {
    --space-4xl: 1.75rem;
    --space-3xl: 1.25rem;
    --space-2xl: 1rem;
    --space-xl:  0.875rem;
  }

  /* ══ HEADER — valide à 891px ET 915px ═════════════════════════
     Budget min (891px − 2×14px = 863px) :
       Logo emblème   :  28px  (texte masqué → +170px libérés)
       Nav 5 items    : ~557px  (0.70rem, 0.30rem×0.45rem padding)
       Lang switcher  :  82px
       Gaps           :  15px
       Total estimé   : ~682px < 863px ✓  (181px de marge)
  ════════════════════════════════════════════════════════════════ */
  .header-inner     { padding-block: 0.32rem; gap: 0.5rem; flex-wrap: nowrap; align-items: center; }

  /* Logo : emblème seul — texte masqué pour libérer de l'espace */
  .site-logo        { flex-shrink: 0; gap: 0; }
  .logo-emblem      { width: 30px; height: 30px; }
  .logo-text        { display: none; }

  /* Nav : 5 items sur 1 ligne, police plus lisible grâce à l'espace gagné */
  .main-nav         { flex: 1; min-width: 0; }
  .nav-list         { gap: 0; flex-wrap: nowrap; justify-content: center; }
  .nav-list a       {
    font-size: 0.70rem;
    padding: 0.30rem 0.45rem;
    white-space: nowrap;
    border-radius: 4px;
    line-height: 1.2;
  }

  /* Langue : taille minimale, ne rétrécit pas */
  .lang-switcher    { flex-shrink: 0; }
  .lang-btn         { padding: 0.2rem 0.26rem !important; font-size: 0.55rem !important;
                      gap: 0.14rem !important; min-width: 0 !important; }
  .lang-btn .fi     { width: 12px !important; height: 9px !important; }
  .lang-sep         { width: 1px !important; }

  /* ══ HERO — 2 colonnes, hauteur ~340px disponible ════════════ */
  .hero             { padding: 0.875rem 0 1rem; }
  .hero .container  { grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; }
  .hero-content     { max-width: 100%; }
  .hero-eyebrow     { font-size: 0.68rem; margin-bottom: 0.4rem; }
  .hero h1          { font-size: clamp(1rem, 2.3vw, 1.4rem); margin-bottom: 0.4rem; line-height: 1.15; }
  .hero-desc        { font-size: 0.78rem; line-height: 1.5; margin-bottom: 0.5rem; }
  .hero-actions     { flex-wrap: nowrap; gap: 0.5rem; }
  .hero-actions .btn{ min-height: 36px; font-size: 0.78rem; padding: 0 0.75rem; }

  /* Carte hero : infos pratiques compactes */
  .hero-card        { display: flex; padding: 0.75rem; gap: 0.5rem; }
  .hero-card-title  { font-size: 0.65rem; margin-bottom: 0.25rem; letter-spacing: .05em; }
  .hero-info-item   { padding-bottom: 0.35rem; gap: 0.5rem; }
  .hero-info-icon   { width: 28px; height: 28px; font-size: 0.75rem; flex-shrink: 0; }
  .hero-info-label  { font-size: 0.65rem; }
  .hero-info-value  { font-size: 0.75rem; }

  /* ══ GRILLES — 2–4 colonnes ═══════════════════════════════════ */
  .services-grid        { grid-template-columns: repeat(3, 1fr) !important; gap: 0.6rem; }
  .services-detail-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .info-grid            { grid-template-columns: 1fr 1fr !important; }
  .actualites-grid      { grid-template-columns: 1fr 1fr !important; }
  .footer-grid          { grid-template-columns: repeat(4, 1fr) !important; gap: 0.75rem; }
  .contact-layout       { grid-template-columns: 1fr 1fr !important; }
  .pays-grid            { grid-template-columns: repeat(4, 1fr) !important; }

  /* ══ AMBASSADEUR — photo réduite ══════════════════════════════ */
  .amb-grid             { grid-template-columns: auto 1fr; gap: 1rem; }
  .amb-photo-wrap       { width: 130px; }
  .amb-bio p            { font-size: 0.85rem; line-height: 1.55; }

  /* ══ TITRES & SECTIONS ════════════════════════════════════════ */
  .page-header      { padding: 0.625rem 0 0.875rem; }
  .page-header h1   { font-size: clamp(0.95rem, 2.3vw, 1.35rem); }
  .section-title    { font-size: clamp(0.9rem, 2vw, 1.25rem); }
  .cta-section      { padding: 0.875rem 0; }
  .cta-actions      { flex-direction: row; justify-content: center; gap: 0.75rem; }
  .cta-actions .btn { width: auto; }

  /* ══ CI DISCOVER — 2 colonnes ═════════════════════════════════ */
  .ci-discover-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "head video" "body video";
  }

  /* ══ WHATSAPP — compact ═══════════════════════════════════════ */
  .whatsapp-fab { bottom: 0.75rem !important; right: 0.75rem !important;
                  width: 48px !important; height: 48px !important;
                  font-size: 1.5rem !important; }
  .wa-label     { display: none !important; }
}

/* ── 2. Tablettes — paysage (h 501px+, w ≤ 1400px) ────────────
   iPad standard (1024×768), iPad Air (1180×820), iPad Pro 11 (1194×834)
   Samsung Tab S8/S9 (1280×800)
   ──────────────────────────────────────────────────────────── */
@media (orientation: landscape) and (min-height: 501px) and (max-width: 1400px) {

  /* Hero : 2 colonnes complètes + carte info restaurée */
  .hero .container      { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
  .hero-content         { max-width: 100%; }
  .hero-card            { display: flex; }
  .hero h1              { font-size: clamp(1.5rem, 3vw, 2.2rem); }
  .hero-desc            { font-size: 1rem; }

  /* Grilles tablette : 2–4 colonnes */
  .services-grid        { grid-template-columns: repeat(3, 1fr) !important; }
  .services-detail-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .info-grid            { grid-template-columns: 1fr 1fr !important; }
  .actualites-grid      { grid-template-columns: 1fr 1fr !important; }
  .footer-grid          { grid-template-columns: 1.5fr 1fr 1fr 1fr !important; gap: var(--space-xl); }
  .contact-layout       { grid-template-columns: 1fr 1fr !important; }
  .pays-grid            { grid-template-columns: repeat(4, 1fr) !important; }

  /* Ambassadeur : photo standard */
  .amb-grid             { grid-template-columns: auto 1fr; }
  .amb-photo-wrap       { width: 200px; }

  /* CI discover homepage : 2 colonnes */
  .ci-discover-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "head video" "body video";
  }

  /* Titres ajustés tablette */
  .section-title        { font-size: clamp(1.2rem, 2.8vw, 2rem); }
  .page-header h1       { font-size: clamp(1.3rem, 3vw, 2.2rem); }
}

/* ── PRINT ─────────────────────────────────────────────────── */
@media print {
  .top-bar, .site-header, .hero-actions, .cta-section,
  .site-footer, .menu-toggle, .alert-banner,
  .whatsapp-fab, .wa-label, .wa-character-wrap { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .container { max-width: 100%; padding: 0; }
  .hero { background: none !important; color: #000; }
  a { color: #000; }
}

/* ============================================================
   RÉSEAUX SOCIAUX — top bar
   ============================================================ */
.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.top-bar-socials a {
  width: 26px; height: 26px;
  background: rgba(255,255,255,.12);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: 0.78rem;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.top-bar-socials a:hover { background: var(--orange); color: var(--white); }

/* Couleurs spécifiques au survol */
.top-bar-socials a[title="Facebook"]:hover  { background: #1877f2; }
.top-bar-socials a[title="Twitter / X"]:hover { background: #000; }
.top-bar-socials a[title="YouTube"]:hover   { background: #FF0000; }
.top-bar-socials a[title="Linktree"]:hover  { background: #43E55E; color: #000; }

/* Icônes réseaux sociaux dans le footer */
.footer-socials { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: var(--space-md); }
.footer-social {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 0.9rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  text-decoration: none;
}
.footer-social:hover { color: var(--white); }
.footer-social[title="Facebook"]:hover  { background: #1877f2; border-color: #1877f2; }
.footer-social[title="Twitter / X"]:hover { background: #000; border-color: #555; }
.footer-social[title="YouTube"]:hover   { background: #FF0000; border-color: #FF0000; color: #fff; }
.footer-social[title="Linktree"]:hover  { background: #43E55E; border-color: #43E55E; color: #000; }

/* ============================================================
   SÉLECTEUR DE LANGUE
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  overflow: visible;
  flex-shrink: 0;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  background: none;
  border: none;
  color: var(--grey-700);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-ui);
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
}
.lang-btn .fi {
  width: 18px; height: 13px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.1);
}
.lang-btn:hover { color: var(--dark); background: var(--grey-100); border-radius: 4px; }
.lang-btn.active { color: var(--orange); background: rgba(247,127,0,.12); border-radius: 4px; }
.lang-sep { width: 1px; height: 18px; background: var(--grey-300); flex-shrink: 0; }

/* ============================================================
   ÉLÉPHANT WATERMARK
   mix-blend-mode: screen efface le fond sombre de la photo
   ============================================================ */
@keyframes elephant-float {
  0%   { transform: translateY(0)    scale(1);    }
  50%  { transform: translateY(-12px) scale(1.03); }
  100% { transform: translateY(0)    scale(1);    }
}

.elephant-watermark {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  background: url('../img/elephant.jpg') no-repeat center 15% / contain;
  mix-blend-mode: screen;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 110%;
  opacity: 0.60;
  animation: elephant-float 8s ease-in-out infinite;
  transform-origin: center bottom;
}

/* Hero — côté droit */
.hero .elephant-watermark {
  right: 2%;
  bottom: -5%;
  width: 46%;
  height: 115%;
  opacity: 0.62;
}

/* CTA — centré */
.cta-section .elephant-watermark {
  left: 50%;
  transform: translateX(-50%);
  width: 52%;
  height: 120%;
  bottom: -10%;
  opacity: 0.52;
}

/* Page headers — droite */
.page-header .elephant-watermark {
  right: 2%;
  bottom: -8%;
  width: 40%;
  height: 125%;
  opacity: 0.55;
}

/* ============================================================
   LABEL WHATSAPP — apparaît toutes les 30s près du bouton
   ============================================================ */
@keyframes wa-bubble-pop {
  0%      { transform: scale(0) translateX(10px); opacity: 0; }
  5%      { transform: scale(1.06) translateX(0); opacity: 1; }
  8%      { transform: scale(1)    translateX(0); opacity: 1; }
  76%     { transform: scale(1)    translateX(0); opacity: 1; }
  83%     { transform: scale(0)    translateX(10px); opacity: 0; }
  100%    { transform: scale(0)    translateX(10px); opacity: 0; }
}

.wa-label {
  position: fixed;
  bottom: 2.9rem;
  right: 6.4rem;
  background: var(--white);
  border: 2.5px solid #25D366;
  border-radius: 12px 12px 4px 12px;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--dark);
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(37,211,102,.35);
  z-index: 9997;
  pointer-events: none;
  opacity: 0;
  transform: scale(0) translateX(10px);
  transform-origin: center right;
  animation: wa-bubble-pop 30s ease-in-out infinite;
}
.wa-label::after {
  content: '';
  position: absolute;
  right: -9px;
  bottom: 12px;
  border: 5px solid transparent;
  border-left-color: #25D366;
}
/* ============================================================
   BOUTON WHATSAPP FLOTTANT
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 90px;
  height: 90px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  box-shadow: 0 6px 24px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.15);
  z-index: 9998;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease;
}

/* Anneau pulse permanent */
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: wa-pulse 2.2s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Rebond + lueur au survol */
.whatsapp-fab:hover {
  transform: scale(1.18) translateY(-4px);
  box-shadow: 0 12px 36px rgba(37,211,102,.6), 0 4px 12px rgba(0,0,0,.2);
  background: #20BA5A;
}

/* Tooltip "WhatsApp" */
.whatsapp-fab::after {
  content: 'WhatsApp';
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #1A1A1A;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-fab:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ============================================================
   FOCUS & SKIP LINK
   ============================================================ */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: var(--radius-sm); }

.skip-link { position: absolute; top: -100%; left: var(--space-md); background: var(--dark); color: var(--white); padding: 0.5rem 1rem; border-radius: 0 0 var(--radius-md) var(--radius-md); font-weight: 600; font-size: 0.875rem; z-index: 9999; transition: top 0.1s; }
.skip-link:focus { top: 0; }

/* ============================================================
   AMBASSADEUR — Section Direction (ambassade.html)
   ============================================================ */
.amb-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.amb-portrait {
  text-align: center;
  flex-shrink: 0;
}
.amb-photo-wrap {
  width: 240px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--orange);
}

@media (max-width: 640px) {
  .amb-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .amb-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .amb-photo-wrap {
    width: 160px;
  }
  .amb-bio {
    text-align: center;
  }
  .amb-bio .badge { display: inline-flex; }
  .amb-bio .section-title { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .amb-bio p { text-align: left; }
}

/* ============================================================
   BOTTOM NAV — Mobile uniquement (≤768px)
   ============================================================ */
.bottom-nav { display: none; }

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 64px;
    background: var(--white);
    border-top: 1px solid var(--grey-200);
    box-shadow: 0 -4px 20px rgba(10,31,16,.1);
    z-index: 1001;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    color: var(--grey-500);
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    text-decoration: none;
    position: relative;
    transition: color 0.22s ease;
    padding: 0.3rem 0;
  }

  .bottom-nav-item svg { width: 22px; height: 22px; flex-shrink: 0; }
  .bottom-nav-item span {
    line-height: 1;
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 2px;
  }
  .bottom-nav-item.active { color: var(--orange); }

  .bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--orange), var(--green));
    border-radius: 0 0 4px 4px;
  }
}
