/* =========================================================
   ISTA — CSS Front-Office
   Couleurs nationales du Burundi : Vert #1eb53a, Rouge #ce1126, Blanc
   ========================================================= */

:root {
  /* Couleurs nationales Burundi adaptées au web */
  --green: #1a6b3c;
  --green-national: #1eb53a;
  --green-dark: #0f4a2a;
  --green-light: #2d9b5a;
  --green-pale: #e8f5ee;
  --green-mid: #155c33;
  --red: #ce1126;
  --red-web: #c0392b;
  --red-light: #e74c3c;
  --red-pale: #fdf0ee;
  --white: #ffffff;
  --off-white: #f8f9f6;
  --cream: #fdfcf8;
  --dark: #0d1f15;
  --dark-mid: #1a2e20;
  --gray: #6b7c6d;
  --gray-light: #d4ddd6;
  --gold: #c9a84c;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --shadow-sm: 0 2px 8px rgba(13,31,21,0.08);
  --shadow-md: 0 8px 32px rgba(13,31,21,0.12);
  --shadow-lg: 0 20px 60px rgba(13,31,21,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 68px;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ===== BANDES COULEURS NATIONALES ===== */
.flag-stripe {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1001;
  background: linear-gradient(to right, var(--red) 33%, var(--white) 33% 66%, var(--green-national) 66%);
}
.flag-stripe-bottom {
  height: 6px;
  background: linear-gradient(to right, var(--green-national) 33%, var(--white) 33% 66%, var(--red) 66%);
}

/* ===== TYPOGRAPHIE ===== */
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.2; }
.display-xl { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; }
.display-lg { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
.display-md { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; }
.label {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--green-light); font-weight: 500;
}
.label-dark  { color: var(--gold); }
.label-white { color: rgba(255,255,255,0.6); }
.label-red   { color: var(--red); }

/* ===== LAYOUT ===== */
.container    { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex         { display: flex; }
.flex-center  { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

/* ===== BOUTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem; border-radius: 50px; font-weight: 600;
  font-size: 0.9rem; transition: var(--transition); letter-spacing: 0.02em;
  border: none; cursor: pointer; font-family: var(--font-body);
}
.btn-primary {
  background: var(--green); color: var(--white);
  box-shadow: 0 4px 16px rgba(26,107,60,0.35);
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,107,60,0.4); }
.btn-secondary { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-secondary:hover { background: var(--green); color: var(--white); }
.btn-white { background: var(--white); color: var(--green); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 4px 16px rgba(206,17,38,0.3); }
.btn-red:hover { background: #a8000e; transform: translateY(-2px); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.6); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ===== CARDS ===== */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid rgba(26,107,60,0.06);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-dark { background: var(--dark-mid); color: var(--white); }

/* ===== BADGE ===== */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.85rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600; font-family: var(--font-mono); letter-spacing: 0.05em;
}
.badge-green { background: var(--green-pale); color: var(--green); }
.badge-red   { background: var(--red-pale); color: var(--red-web); }
.badge-gold  { background: #fdf8e7; color: #9a6c00; }
.badge-dark  { background: rgba(13,31,21,0.1); color: var(--dark); }

/* ===== ANNONCE BAR ===== */
.annonce-bar {
  background: var(--dark); padding: 0.6rem 0;
  padding-top: calc(0.6rem + 4px);
}
.annonce-scroll { display: flex; gap: 3rem; align-items: center; overflow-x: auto; scrollbar-width: none; }
.annonce-scroll::-webkit-scrollbar { display: none; }
.annonce-item { white-space: nowrap; font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.annonce-item a { color: var(--green-light); font-weight: 600; }
.annonce-item a:hover { color: var(--white); }

/* ===== HEADER CLASSIQUE ISTA ===== */
#site-header.classic-header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 1000;
  background: #ffffff;
  padding-top: 4px;
}
.classic-shell {
  max-width: 1360px;
  margin: 0 auto;
  background: #ffffff;
  border-left: 1px solid #008a35;
  border-right: 1px solid #008a35;
  padding: 0 6px 6px;
}
.classic-topline {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px 0;
}
.classic-tools {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #007a16;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}
.classic-tools a { color: #008000; }
.classic-tools span { color: #084fc0; font-weight: 700; }
.classic-search input {
  width: 190px;
  height: 30px;
  border: 1px solid #007a35;
  color: #006b2f;
  padding: 4px 8px;
  font-size: 13px;
  outline: none;
  background: #ffffff;
}
.classic-search input::placeholder { color: #228c62; }
.classic-lang { display: inline-flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; margin-left: 6px; }
.classic-brand-row { display: flex; align-items: center; gap: 28px; padding: 0 18px 14px; }
.classic-logo-link { flex: 0 0 auto; }
.classic-logo { width: 86px; height: auto; object-fit: contain; }
.classic-title-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #2b2f35;
  font-family: Impact, 'Arial Narrow', 'Roboto Condensed', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.12;
}
.classic-title-block span, .classic-title-block strong { font-size: clamp(26px, 3vw, 44px); font-weight: 500; }
.classic-menu { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 3px; }
.classic-menu-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 8px;
  color: #ffffff;
  text-align: center;
  font-family: Impact, 'Arial Narrow', 'Roboto Condensed', Arial, sans-serif;
  font-size: clamp(14px, 1.35vw, 24px);
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
  border-radius: 6px;
  background: linear-gradient(#078707 0%, #006900 52%, #005c00 100%);
  border: 1px solid #007d00;
  box-shadow: 0 5px 0 rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.18);
  transition: .2s ease;
}
.classic-menu-item:hover, .classic-menu-item.active { background: linear-gradient(#0a9a0a 0%, #007600 55%, #006300 100%); color: #ffffff; transform: translateY(-1px); }
.mobile-menu, .hamburger { display: none !important; }
.nav-dropdown { position: relative; }
.dropdown-menu { display: none; }

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-title { color: var(--dark); margin-top: 0.75rem; }
.section-desc { color: var(--gray); font-size: 1rem; max-width: 580px; margin-top: 1rem; line-height: 1.8; }
.section-header.centered .section-desc { margin: 1rem auto 0; }
.section-line { width: 48px; height: 3px; border-radius: 2px; margin-top: 1rem; background: var(--green); }
.section-header.centered .section-line { margin: 1rem auto 0; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; background: var(--dark);
  display: flex; align-items: center;
  padding-top: 4rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a1a0f 0%, #1a2e20 50%, #0d1f15 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: radial-gradient(circle, var(--white) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-accent {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(30,181,58,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-accent-2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(206,17,38,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 4rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-label { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-label-line { width: 32px; height: 2px; background: var(--green-national); }
.hero-label span { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green-light); }
.hero-title { color: var(--white); margin-bottom: 1.5rem; }
.hero-title em { color: var(--green-national); font-style: normal; }
.hero-desc { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 480px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--white); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; letter-spacing: 0.05em; }
.hero-video-side { position: relative; }
.video-wrapper { border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.5); aspect-ratio: 16/10; }
.video-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }
.video-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--red); color: var(--white); padding: 1rem 1.5rem;
  border-radius: 14px; box-shadow: var(--shadow-md);
}
.video-badge-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.video-badge-text { font-size: 0.7rem; opacity: 0.8; }

/* ===== PAGE BANNER ===== */
.page-banner {
  padding: 4rem 0;
  background: var(--dark);
  text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a1a0f, #1a2e20);
}
.page-banner-accent {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(30,181,58,0.15), transparent 60%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); }
.page-banner p  { color: rgba(255,255,255,0.7); max-width: 560px; margin: 1rem auto 0; line-height: 1.8; }

/* Bannière rouge pour événements */
.page-banner-red { background: linear-gradient(135deg, #1a0005, #4a0010); }
.page-banner-red::before { background: linear-gradient(135deg, #2a0008, #6a0018); }
.page-banner-red .page-banner-accent { background: radial-gradient(ellipse at 30% 50%, rgba(206,17,38,0.25), transparent 60%); }

/* ===== FORMATION CARDS ===== */
.formation-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid rgba(26,107,60,0.06); display: flex; flex-direction: column;
}
.formation-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.formation-card-top { padding: 2rem 2rem 1rem; flex: 1; }
.formation-icon-wrap { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.formation-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--dark); }
.formation-card p  { font-size: 0.875rem; color: var(--gray); line-height: 1.7; }
.formation-card-foot { padding: 1.25rem 2rem; background: var(--off-white); display: flex; justify-content: space-between; align-items: center; }
.formation-duration { font-family: var(--font-mono); font-size: 0.75rem; color: var(--green); font-weight: 500; letter-spacing: 0.08em; }
.formation-link { font-size: 0.8rem; color: var(--green); font-weight: 600; }
.formation-link:hover { text-decoration: underline; }

/* ===== NEWS CARDS ===== */
.news-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid rgba(26,107,60,0.06); display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card-img {
  height: 200px; background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.news-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.news-date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gray); }
.news-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.75rem; line-height: 1.4; }
.news-excerpt { font-size: 0.875rem; color: var(--gray); line-height: 1.7; flex: 1; }
.news-read-more {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--green); font-size: 0.85rem; font-weight: 600; margin-top: 1rem;
}
.news-read-more:hover { gap: 0.6rem; }

/* ===== PARTNER CARD ===== */
.partner-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem;
  text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-light);
  transition: var(--transition);
}
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-light); }
.partner-logo {
  width: 80px; height: 80px; background: var(--green-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem; font-weight: 900; font-family: var(--font-display); color: var(--green);
}
.partner-name  { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.75rem; }
.partner-desc  { font-size: 0.875rem; color: var(--gray); line-height: 1.7; }
.partner-link  { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--green); font-size: 0.8rem; font-weight: 600; margin-top: 1rem; }

/* ===== RESOURCE ITEM ===== */
.resource-item {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin-bottom: 1rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light); transition: var(--transition);
}
.resource-item:hover { border-color: var(--green-light); box-shadow: var(--shadow-md); }
.resource-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.25rem; }
.resource-icon.pdf { background: var(--red-pale); }
.resource-icon.doc { background: var(--green-pale); }
.resource-meta { flex: 1; }
.resource-name { font-weight: 600; font-size: 0.95rem; color: var(--dark); }
.resource-info { font-size: 0.78rem; color: var(--gray); font-family: var(--font-mono); margin-top: 0.2rem; }
.resource-dl {
  display: flex; align-items: center; gap: 0.35rem;
  color: var(--green); font-size: 0.8rem; font-weight: 600;
  padding: 0.5rem 1rem; border-radius: 8px; background: var(--green-pale); transition: var(--transition);
}
.resource-dl:hover { background: var(--green); color: var(--white); }

/* ===== FORMS ===== */
.form-section { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); }
.form-group   { margin-bottom: 1.5rem; }
.form-label   { font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem; display: block; }
.form-input {
  width: 100%; padding: 0.875rem 1.25rem;
  border: 2px solid var(--gray-light); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; transition: var(--transition);
  background: var(--off-white); outline: none;
}
.form-input:focus { border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(26,107,60,0.1); }
textarea.form-input { resize: vertical; min-height: 140px; }
select.form-input { appearance: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%; padding: 1rem; background: var(--green); color: var(--white);
  border: none; border-radius: 10px; font-family: var(--font-body);
  font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition);
  box-shadow: 0 4px 16px rgba(26,107,60,0.3);
}
.form-submit:hover { background: var(--green-mid); transform: translateY(-2px); }

/* Alertes */
.alert {
  padding: 0.875rem 1.25rem; border-radius: 10px; margin-bottom: 1.5rem;
  font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem;
}
.alert-success { background: var(--green-pale); color: var(--green); border: 1px solid rgba(26,107,60,0.2); }
.alert-danger  { background: var(--red-pale); color: var(--red-web); border: 1px solid rgba(192,57,43,0.2); }
.alert-warning { background: #fef9e7; color: #9a6c00; }
.alert-info    { background: #e8f4fd; color: #1a6799; }
.alert-dismissible { padding-right: 3rem; position: relative; }
.btn-close { position: absolute; top: 0.6rem; right: 0.75rem; background: none; border: none; cursor: pointer; font-size: 1rem; opacity: 0.5; transition: 0.2s; }
.btn-close:hover { opacity: 1; }

/* ===== COUNTDOWN ===== */
.countdown { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.countdown-unit { text-align: center; }
.countdown-num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--white);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.countdown-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.5rem; }

/* ===== GALERIE ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 4/3; }
.gallery-item:nth-child(2) { grid-column: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item-bg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover .gallery-item-bg { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,31,21,0.8), transparent);
  opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; padding: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { color: var(--white); font-size: 0.875rem; font-weight: 600; }

/* ===== VIDEO THUMB ===== */
.video-thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow-md); }
.video-thumb iframe { width: 100%; height: 100%; border: none; display: block; }

/* ===== CONTACT INFO ===== */
.contact-info-card { background: var(--dark); color: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-detail-icon { width: 44px; height: 44px; background: rgba(45,155,90,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-detail-label { font-size: 0.72rem; color: rgba(255,255,255,0.4); font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.3rem; }
.contact-detail-value { color: var(--white); font-size: 0.95rem; line-height: 1.6; }
.map-placeholder { background: var(--green-pale); border-radius: var(--radius); height: 220px; display: flex; align-items: center; justify-content: center; margin-top: 2rem; color: var(--green); border: 2px dashed rgba(26,107,60,0.3); }
.map-placeholder iframe { width: 100%; height: 100%; border: none; border-radius: var(--radius); }

/* ===== NEWSLETTER FOOTER ===== */
.newsletter-section { background: var(--dark-mid); padding: 3rem 0; }
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.newsletter-section h3 { color: var(--white); font-family: var(--font-display); font-size: 1.5rem; }
.newsletter-section p  { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 0.4rem; }
.newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.nl-input {
  padding: 0.875rem 1.25rem; border-radius: 50px; border: none; outline: none;
  font-family: var(--font-body); font-size: 0.95rem; width: 280px; max-width: 100%;
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 2px solid rgba(255,255,255,0.15);
}
.nl-input::placeholder { color: rgba(255,255,255,0.4); }
.nl-input:focus { border-color: var(--green-national); background: rgba(255,255,255,0.15); }
.btn-nl {
  padding: 0.875rem 1.75rem; background: var(--green); color: var(--white);
  border-radius: 50px; font-weight: 600; cursor: pointer; border: none;
  font-family: var(--font-body); transition: var(--transition);
}
.btn-nl:hover { background: var(--green-light); }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); }
.footer-main { padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand .logo-title { color: var(--white); }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin-top: 0; line-height: 1.8; max-width: 300px; }
.footer-contact-mini { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-heading { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green-light); margin-bottom: 1.25rem; }
.footer-link { display: block; color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 0.6rem; transition: var(--transition); }
.footer-link:hover { color: var(--white); padding-left: 0.25rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.75rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.6);
}
.social-btn:hover { background: var(--green); color: var(--white); }

/* ===== BACK TO TOP ===== */
#back-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px; background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); box-shadow: var(--shadow-md); z-index: 900;
  opacity: 0; pointer-events: none; transition: var(--transition); font-size: 1.1rem; cursor: pointer;
  border: none;
}
#back-top.visible { opacity: 1; pointer-events: auto; }
#back-top:hover   { transform: translateY(-4px); background: var(--green-dark); }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 0.25rem; margin-top: 2rem; justify-content: center; flex-wrap: wrap; }
.pagination .page-item .page-link {
  padding: 0.5rem 0.875rem; border-radius: 8px; border: 1px solid var(--gray-light);
  color: var(--dark); font-size: 0.875rem; transition: var(--transition);
  display: flex; align-items: center;
}
.pagination .page-item.active .page-link { background: var(--green); color: var(--white); border-color: var(--green); }
.pagination .page-item .page-link:hover  { background: var(--green-pale); border-color: var(--green); color: var(--green); }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }
.fade-up-d4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
/* Responsive header classique */
@media (max-width: 1100px) {
  .classic-brand-row { gap: 18px; padding-left: 14px; padding-right: 14px; }
  .classic-logo { width: 74px; }
  .classic-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .classic-tools { font-size: 13px; }
}
@media (max-width: 768px) {
  .classic-shell { border-left: none; border-right: none; }
  .classic-topline { justify-content: center; padding: 8px 10px; }
  .classic-tools { flex-wrap: wrap; justify-content: center; line-height: 1.6; white-space: normal; }
  .classic-search input { width: 170px; }
  .classic-brand-row { align-items: flex-start; gap: 14px; padding: 8px 14px 16px; }
  .classic-logo { width: 64px; }
  .classic-title-block span, .classic-title-block strong { font-size: clamp(22px, 7vw, 34px); }
  .classic-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .classic-menu-item { min-height: 45px; font-size: 18px; }
}
@media (max-width: 480px) {
  .classic-brand-row { flex-direction: column; align-items: center; text-align: center; }
  .classic-logo { width: 70px; }
  .classic-menu { grid-template-columns: 1fr; }
}


@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-video-side { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(2), .gallery-item:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .nav-links { display: none; }
  .hamburger  { display: flex; }
  .section    { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row   { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .countdown-num { width: 60px; height: 60px; font-size: 1.8rem; }
  .newsletter-inner { flex-direction: column; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .countdown  { gap: 0.75rem; }
  .countdown-num { width: 50px; height: 50px; font-size: 1.4rem; }
}

/* =========================================================
   HEADER ISTA — MEGA DROPDOWN + MOBILE RESPONSIVE PREMIUM
   ========================================================= */
.classic-header.mega-ready { z-index: 3000; }
.classic-header.mega-ready .classic-brand-row { position: relative; }
.classic-header.mega-ready .classic-menu {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 3px;
  position: relative;
}
.classic-header.mega-ready .mega-item { position: relative; min-width: 0; }
.classic-header.mega-ready .mega-item > .classic-menu-item { width: 100%; height: 100%; }
.classic-header.mega-ready .has-mega > .classic-menu-item::after {
  content: ' ▾';
  font-family: Arial, sans-serif;
  font-size: 12px;
  margin-left: 4px;
}
.classic-header.mega-ready .mega-panel {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  width: min(620px, 92vw);
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 18px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 122, 35, .22);
  border-top: 4px solid #007600;
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
  border-radius: 0 0 12px 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.classic-header.mega-ready .mega-item:nth-last-child(-n+3) .mega-panel { left: auto; right: 0; }
.classic-header.mega-ready .has-mega:hover .mega-panel,
.classic-header.mega-ready .has-mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.classic-header.mega-ready .mega-panel::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 0;
  right: 0;
  height: 13px;
}
.classic-header.mega-ready .mega-panel-intro {
  padding: 16px;
  background: linear-gradient(135deg, #f2fff5, #ffffff);
  border-left: 4px solid #007600;
  border-radius: 10px;
}
.classic-header.mega-ready .mega-panel-intro h4 {
  margin: 0 0 8px;
  color: #005c00;
  font-size: 18px;
  font-weight: 800;
  font-family: 'DM Sans', Arial, sans-serif;
}
.classic-header.mega-ready .mega-panel-intro p {
  margin: 0 0 12px;
  color: #4c5963;
  font-size: 13px;
  line-height: 1.55;
}
.classic-header.mega-ready .mega-panel-intro a {
  color: #007600;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}
.classic-header.mega-ready .mega-panel-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: start;
}
.classic-header.mega-ready .mega-panel-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  color: #21302a;
  background: #f8faf8;
  border: 1px solid #e1ece3;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: .18s ease;
}
.classic-header.mega-ready .mega-panel-links a:hover {
  color: #ffffff;
  background: #007600;
  border-color: #007600;
  transform: translateX(3px);
}
.classic-header.mega-ready .classic-hamburger { display: none !important; }
.classic-header.mega-ready .classic-mobile-menu { display: none !important; }

/* Tablette */
@media (max-width: 1100px) {
  .classic-header.mega-ready .classic-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .classic-header.mega-ready .mega-panel { width: min(560px, 92vw); }
  .classic-header.mega-ready .mega-item:nth-child(4n) .mega-panel,
  .classic-header.mega-ready .mega-item:nth-child(4n-1) .mega-panel { left: auto; right: 0; }
}

/* Mobile parfait */
@media (max-width: 768px) {
  .classic-header.mega-ready .classic-shell {
    padding-bottom: 0;
    border-left: none;
    border-right: none;
  }
  .classic-header.mega-ready .classic-topline {
    padding: 8px 10px;
  }
  .classic-header.mega-ready .classic-tools {
    justify-content: center;
    width: 100%;
    gap: 4px;
    font-size: 12px;
  }
  .classic-header.mega-ready .classic-search { order: 10; width: 100%; text-align: center; margin-top: 6px; }
  .classic-header.mega-ready .classic-search input { width: min(320px, 92vw); height: 34px; }
  .classic-header.mega-ready .classic-brand-row {
    display: grid;
    grid-template-columns: 58px 1fr 44px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 12px;
  }
  .classic-header.mega-ready .classic-logo { width: 58px; }
  .classic-header.mega-ready .classic-title-block { text-align: left; }
  .classic-header.mega-ready .classic-title-block span,
  .classic-header.mega-ready .classic-title-block strong {
    font-size: clamp(18px, 5.3vw, 26px);
    line-height: 1.08;
  }
  .classic-header.mega-ready .classic-menu { display: none !important; }
  .classic-header.mega-ready .classic-hamburger {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #007600;
    border-radius: 8px;
    background: linear-gradient(#078707, #006900);
    box-shadow: 0 3px 0 rgba(0,0,0,.25);
    cursor: pointer;
  }
  .classic-header.mega-ready .classic-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: .2s ease;
  }
  .classic-header.mega-ready .classic-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .classic-header.mega-ready .classic-hamburger.open span:nth-child(2) { opacity: 0; }
  .classic-header.mega-ready .classic-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .classic-header.mega-ready .classic-mobile-menu {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 4000;
    padding: 120px 14px 22px;
    background: rgba(0, 28, 10, .72);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }
  .classic-header.mega-ready .classic-mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .classic-header.mega-ready .mobile-menu-inner {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    max-width: 520px;
    margin: 0 auto;
    padding: 14px;
    background: #ffffff;
    border-radius: 16px;
    border-top: 5px solid #007600;
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
  }
  .classic-header.mega-ready .mobile-link,
  .classic-header.mega-ready .mobile-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 14px;
    margin: 4px 0;
    color: #173521;
    background: #f7fbf8;
    border: 1px solid #e0ede4;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
  }
  .classic-header.mega-ready .mobile-accordion summary::-webkit-details-marker { display: none; }
  .classic-header.mega-ready .mobile-accordion summary::after { content: '+'; color: #007600; font-size: 20px; }
  .classic-header.mega-ready .mobile-accordion[open] summary::after { content: '−'; }
  .classic-header.mega-ready .mobile-accordion a {
    display: block;
    margin: 4px 0 4px 18px;
    padding: 11px 13px;
    color: #2b3d31;
    background: #ffffff;
    border-left: 3px solid #007600;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
  }
  .classic-header.mega-ready .mobile-link-cta {
    color: #ffffff;
    background: linear-gradient(#078707, #006900);
    border-color: #006900;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .classic-header.mega-ready .classic-brand-row {
    grid-template-columns: 52px 1fr 40px;
    gap: 8px;
  }
  .classic-header.mega-ready .classic-logo { width: 52px; }
  .classic-header.mega-ready .classic-title-block span,
  .classic-header.mega-ready .classic-title-block strong { font-size: clamp(16px, 5vw, 22px); }
  .classic-header.mega-ready .classic-tools a,
  .classic-header.mega-ready .classic-tools span { font-size: 11px; }
}
