/* ========================================
   ALLIANCE TOUNGA AGROCOOP - STYLES
   Mobile-First, Performance Optimized
   ======================================== */

:root {
  --orange-ci: #FF6B00;
  --vert-ci: #009639;
  --blanc-casse: #FAFAFA;
  --noir-texte: #1A1A1A;
  --gris-rural: #F5F5F0;
  --gris-fonce: #666666;
  --ombre: 0 2px 8px rgba(0,0,0,0.1);
  --radius: 8px;
  --transition: 0.3s ease;
  
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', -apple-system, sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--noir-texte);
  background-color: var(--blanc-casse);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========================================
   NAVIGATION — Premium Glassmorphism
   Design System: "Tounga Verdant Glass"
   ======================================== */

/* Entrance animation */
@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 90px;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav--scrolled {
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 150, 57, 0.08);
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 1.25rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
}

.nav__logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Effet de Halo lumineux dynamique */
.nav__logo-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(0, 150, 57, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease, background 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.nav:not(.nav--scrolled) .nav__logo-wrapper::before {
  opacity: 1;
}

.nav__logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.08));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

/* Réduction au défilement */
.nav--scrolled .nav__logo-img {
  height: 52px;
}

.nav__logo:hover .nav__logo-wrapper::before {
  opacity: 1;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
}

.nav__logo:hover .nav__logo-img {
  transform: scale(1.04) translateY(-2px);
  filter: drop-shadow(0 6px 14px rgba(255,107,0,0.25));
}

/* Burger Menu */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
  z-index: 1001;
}

.nav__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--noir-texte);
  transition: var(--transition);
  transform-origin: center;
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(2) {
  opacity: 0;
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Menu Mobile */
.nav__menu {
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  background: white;
  flex-direction: column;
  padding: 1rem;
  box-shadow: var(--ombre);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  list-style: none;
}

.nav__menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav__link {
  display: block;
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--noir-texte);
  border-bottom: 1px solid var(--gris-rural);
}

.nav__link--active {
  color: var(--vert-ci);
}

.nav__link--cta {
  color: var(--orange-ci);
  font-weight: 700;
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .nav__burger {
    display: none;
  }
  
  .nav__menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    flex-direction: row;
    gap: 1.2rem;
    box-shadow: none;
    padding: 0;
    display: flex;
  }
  
  .nav__link {
    border: none;
    padding: 0.5rem 0.8rem;
    position: relative;
    border-radius: 100px;
    transition: all 0.3s ease;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.95rem;
  }
  
  .nav__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--vert-ci);
    opacity: 0;
    transform: scale(0.8);
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
  }
  
  .nav__link:hover {
    color: var(--vert-ci);
  }
  
  .nav__link:hover::before {
    opacity: 0.08;
    transform: scale(1);
  }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  gap: 0.5rem;
}

.btn--primary {
  background: var(--orange-ci);
  color: white;
}

.btn--primary:hover {
  background: #e66000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,107,0,0.3);
}

.btn--premium {
  background: linear-gradient(135deg, var(--vert-ci), #00b344);
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: 100px;
  box-shadow: 0 4px 15px rgba(0, 150, 57, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.btn--premium::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 5s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  10% { left: 200%; }
  100% { left: 200%; }
}

.btn--premium:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 150, 57, 0.4);
  color: white;
}

.btn--secondary {
  background: transparent;
  color: var(--orange-ci);
  border: 2px solid var(--orange-ci);
}

.btn--secondary:hover {
  background: var(--orange-ci);
  color: white;
}

.btn--white {
  background: white;
  color: var(--vert-ci);
}

.btn--whatsapp {
  background: #25D366;
  color: white;
}

.btn--whatsapp:hover {
  background: #128C7E;
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn--full {
  width: 100%;
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 6rem 1rem 4rem;
  margin-top: 84px;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero__highlight {
  color: var(--orange-ci);
  background: rgba(255,255,255,0.1);
  padding: 0 0.25rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange-ci);
}

.stat__label {
  font-size: 0.875rem;
  opacity: 0.9;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .stat__number {
    font-size: 2.5rem;
  }
}

/* ========================================
   FEATURES
   ======================================== */
.features {
  padding: 4rem 0;
  background: white;
}

.features__grid {
  display: grid;
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: var(--blanc-casse);
  border-radius: var(--radius);
  border: 1px solid var(--gris-rural);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre);
  border-color: var(--vert-ci);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  color: var(--vert-ci);
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--noir-texte);
}

.feature-card__text {
  color: var(--gris-fonce);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 4rem 0;
  background: var(--gris-rural);
}

.cta-block {
  background: var(--vert-ci);
  color: white;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cta-block__content {
  padding: 2rem;
}

.cta-block__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-block__text {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cta-block__image {
  min-height: 200px;
  background: var(--gris-fonce);
}

.cta-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .cta-block {
    flex-direction: row;
    align-items: center;
  }
  
  .cta-block__content {
    flex: 1;
  }
  
  .cta-block__image {
    flex: 1;
    min-height: 300px;
  }
}

/* ========================================
   PAGE SUPER HERO
   ======================================== */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 6rem 1rem 4rem;
  margin-top: 84px;
  overflow: hidden;
}

.page-hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
  transform: scale(1.05);
  transition: transform 10s ease-out;
}

.page-hero:hover .page-hero__background img {
  transform: scale(1.1);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.05) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 1s ease forwards;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.page-hero__subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Glassmorphism UTILS */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--vert-ci);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer__text {
  opacity: 0.9;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 0.5rem;
}

.footer__list a:hover {
  text-decoration: underline;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* ========================================
   FORMS
   ======================================== */
.form-container {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  max-width: 600px;
  margin: 0 auto;
}

.form-container__title {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  color: var(--vert-ci);
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__group--half {
  flex: 1;
}

.form__row {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

@media (min-width: 640px) {
  .form__row {
    flex-direction: row;
  }
}

.form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--noir-texte);
  font-size: 0.95rem;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gris-rural);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--vert-ci);
}

.form__input:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.form__error {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form__input:invalid:not(:placeholder-shown) ~ .form__error {
  display: block;
}

.form__alternative {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gris-rural);
  text-align: center;
}

.form__alternative p {
  margin-bottom: 0.5rem;
  color: var(--gris-fonce);
}

.form__notice {
  font-size: 0.875rem;
  color: var(--gris-fonce);
  margin-top: 1rem;
  text-align: center;
}

.form__privacy {
  font-size: 0.8rem;
  color: var(--gris-fonce);
  margin-top: 1rem;
}

/* ========================================
   CARDS (Products, Filieres, News)
   ======================================== */
.products__grid,
.filieres__grid,
.news__grid {
  display: grid;
  gap: 2rem;
  padding: 2rem 0;
}

.product-card,
.filiere-card,
.news-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: none;
  border-left: 4px solid var(--vert-ci);
}

.product-card:hover,
.filiere-card:hover,
.news-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,150,57,0.15);
}

.product-card__image,
.filiere-card__image {
  position: relative;
  height: 200px;
  background: var(--gris-rural);
  overflow: hidden;
}

.product-card__image img,
.filiere-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__badge,
.filiere-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--orange-ci);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-card__badge--fresh {
  background: #25D366;
}

.product-card__badge--available {
  background: var(--vert-ci);
}

.product-card__badge--season {
  background: #ffc107;
  color: var(--noir-texte);
}
.filiere-card__badge--green {
  background: var(--vert-ci);
}

.product-card__content,
.filiere-card__content,
.news-card__content {
  padding: 1.5rem;
}

.product-card__title,
.filiere-card__title,
.news-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--vert-ci);
}

.product-card__origin {
  color: var(--vert-ci);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-card__desc,
.filiere-card__text {
  color: var(--gris-fonce);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.product-card__specs,
.filiere-card__specs {
  list-style: none;
  margin-bottom: 1rem;
  padding: 0;
}

.product-card__specs li,
.filiere-card__specs li {
  padding: 0.25rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--gris-rural);
}

.product-card__specs li:last-child,
.filiere-card__specs li:last-child {
  border-bottom: none;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 2px solid var(--gris-rural);
}

.product-card__price {
  font-weight: 700;
  color: var(--orange-ci);
  font-size: 1.1rem;
}

.product-card__unit {
  font-size: 0.875rem;
  color: var(--gris-fonce);
  font-weight: 400;
}

.filiere-card--large {
  grid-column: 1 / -1;
}

.filiere-card--full {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .filiere-card--full {
    grid-template-columns: 1fr 2fr;
    align-items: center;
  }
  
  .products__grid,
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products__grid,
  .news__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .filiere-card--large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }
  
  .filiere-card--large .filiere-card__image {
    height: 100%;
    min-height: 300px;
  }
}

/* Tags */
.filiere-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background: var(--gris-rural);
  color: var(--noir-texte);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* News specific */
.news-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gris-fonce);
  margin-bottom: 0.5rem;
}

.news-card__badge {
  display: inline-block;
  background: var(--orange-ci);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Contact Layout */
.contact-layout {
  display: grid;
  gap: 3rem;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info__card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--vert-ci);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-info__card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,150,57,0.15);
}

.contact-info__card h3 {
  color: var(--vert-ci);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.contact-urgent {
  background: #e6f7ff;
  border-left: 4px solid #25D366;
  padding: 1.5rem;
  border-radius: var(--radius);
}

.contact-urgent__note {
  font-size: 0.875rem;
  color: var(--gris-fonce);
  margin-top: 0.5rem;
}

.map-section {
  margin: 3rem 0;
}

.map-placeholder {
  background: var(--gris-rural);
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 2px dashed var(--gris-fonce);
}

.map-placeholder p {
  font-size: 1.25rem;
  color: var(--gris-fonce);
  margin-bottom: 0.5rem;
}

/* Cooperative specific Ã¢â‚¬â€ Timeline animÃƒÂ©e */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--vert-ci), var(--orange-ci));
}

.timeline__item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline__item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline__dot {
  position: absolute;
  left: 9px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: var(--orange-ci);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--vert-ci);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline__item:hover .timeline__dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 5px var(--orange-ci);
}

.timeline__content {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  border-left: 4px solid var(--vert-ci);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline__item:hover .timeline__content {
  box-shadow: 0 8px 24px rgba(0,150,57,0.15);
  transform: translateX(4px);
}

.timeline__date {
  color: var(--orange-ci);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.timeline__content h3 {
  color: var(--vert-ci);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.team-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--ombre);
}

.team-card__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gris-rural);
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid var(--vert-ci);
  box-shadow: 0 4px 12px rgba(0, 150, 57, 0.2);
  transition: transform 0.3s ease;
}

.team-card:hover .team-card__photo {
  transform: scale(1.07);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-card__role {
  color: var(--vert-ci);
  font-weight: 600;
  font-size: 0.95rem;
}

.team-card__desc {
  color: var(--gris-fonce);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Leaflet Interactive Map */
.map-container {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  margin: 2rem 0;
  overflow: hidden;
}

#leaflet-bafing {
  width: 100%;
  height: 420px;
  z-index: 1;
}

/* Impact */
.impact-grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.impact-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  border-left: 4px solid var(--orange-ci);
}

.impact-card--green {
  border-left-color: var(--vert-ci);
}

.impact-card h3 {
  color: var(--vert-ci);
  margin-bottom: 1rem;
}

.impact-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange-ci);
  display: block;
  margin-bottom: 0.5rem;
}

/* Partners */
.partners-layout {
  padding: 2rem 0;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.partner-logo-item {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  border-left: 4px solid var(--vert-ci);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.partner-logo-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,150,57,0.15);
}

.partner-logo-item__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vert-ci);
}

.partner-logo-item__status {
  font-size: 0.875rem;
  color: var(--orange-ci);
  margin-top: 0.5rem;
  font-weight: 600;
}

.partner-logo-item--confirmed {
  border: 2px solid var(--vert-ci);
}

.partner-logo-item--target {
  border: 2px dashed var(--gris-fonce);
  opacity: 0.7;
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  border-left: 4px solid var(--vert-ci);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.step:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,150,57,0.15);
}

.step__number {
  width: 40px;
  height: 40px;
  background: var(--orange-ci);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.step__arrow {
  display: none;
  font-size: 2rem;
  color: var(--vert-ci);
  align-self: center;
}

@media (min-width: 768px) {
  .process__steps {
    flex-direction: row;
    align-items: stretch;
  }
  
  .step {
    flex: 1;
    flex-direction: column;
    text-align: center;
  }
  
  .step__arrow {
    display: block;
  }
}

.benefits__grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.benefit-item {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  text-align: center;
  border-left: 4px solid var(--vert-ci);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0,150,57,0.15);
}

.benefit-item__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Section titles */
.section__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--vert-ci);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--orange-ci);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print styles */
@media print {
  .nav, .whatsapp-float, .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: black;
  }
  
  .page-header {
    background: white;
    color: black;
    padding: 1rem 0;
  }
}

/* ---- IMPACT ANIMATIONS & COMPONENTS ---- */

/* Reveal Cards */
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Progress Rings */
.progress-ring {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  position: relative;
}
.progress-ring__circle {
  stroke: #e2e8f0;
  stroke-width: 8;
  fill: transparent;
}
.progress-ring__value {
  stroke: var(--orange-ci);
  stroke-width: 8;
  fill: transparent;
  stroke-linecap: round;
  transition: stroke-dasharray 2s cubic-bezier(0.1, 0.7, 0.1, 1);
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.impact-card--green .progress-ring__value {
  stroke: var(--vert-ci);
}
.progress-ring__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--noir-texte);
  font-family: var(--font-heading);
}
.impact-card--green .progress-ring__text {
  color: var(--vert-ci);
}

/* Testimonial Carousel */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: 2rem 0;
}
.testimonial-carousel__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}
.testimonial-carousel__slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-left: 4px solid var(--vert-ci);
  text-align: center;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 8rem;
  color: rgba(0, 150, 57, 0.08);
  font-family: serif;
  position: absolute;
  top: -10px;
  left: 30px;
  line-height: 1;
}
.testimonial-card__quote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--gris-fonce);
  position: relative;
  z-index: 2;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testimonial-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--vert-ci);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.testimonial-card__info {
  text-align: left;
}
.testimonial-card__info strong {
  display: block;
  color: var(--vert-ci);
  font-family: var(--font-heading);
}
.testimonial-card__info span {
  font-size: 0.875rem;
  color: var(--gris-fonce);
}
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.carousel-btn {
  background: var(--vert-ci);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--orange-ci);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print styles */
@media print {
  .nav, .whatsapp-float, .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: black;
  }
  
  .page-header {
    background: white;
    color: black;
    padding: 1rem 0;
  }
}

/* ---- IMPACT ANIMATIONS & COMPONENTS ---- */

/* Reveal Cards */
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Progress Rings */
.progress-ring {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  position: relative;
}
.progress-ring__circle {
  stroke: #e2e8f0;
  stroke-width: 8;
  fill: transparent;
}
.progress-ring__value {
  stroke: var(--orange-ci);
  stroke-width: 8;
  fill: transparent;
  stroke-linecap: round;
  transition: stroke-dasharray 2s cubic-bezier(0.1, 0.7, 0.1, 1);
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.impact-card--green .progress-ring__value {
  stroke: var(--vert-ci);
}
.progress-ring__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--noir-texte);
  font-family: var(--font-heading);
}
.impact-card--green .progress-ring__text {
  color: var(--vert-ci);
}

/* Testimonial Carousel */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: 2rem 0;
}
.testimonial-carousel__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}
.testimonial-carousel__slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border-left: 4px solid var(--vert-ci);
  text-align: center;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 8rem;
  color: rgba(0, 150, 57, 0.08);
  font-family: serif;
  position: absolute;
  top: -10px;
  left: 30px;
  line-height: 1;
}
.testimonial-card__quote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--gris-fonce);
  position: relative;
  z-index: 2;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.testimonial-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--vert-ci);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.testimonial-card__info {
  text-align: left;
}
.testimonial-card__info strong {
  display: block;
  color: var(--vert-ci);
  font-family: var(--font-heading);
}
.testimonial-card__info span {
  font-size: 0.875rem;
  color: var(--gris-fonce);
}
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.carousel-btn {
  background: var(--vert-ci);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s;
  font-size: 1.2rem;
}
.carousel-btn:hover {
  background: var(--orange-ci);
  transform: scale(1.05);
}

/* ========================================
   REJOINDRE - Z-PATTERN LAYOUT
   ======================================== */
.benefits-stack {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 2rem 0;
}

.benefit-row {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: none;
}

.benefit-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 150, 57, 0.1);
}

.benefit-row__image,
.benefit-row__content {
  flex: 1;
}

.benefit-row__image {
  background: var(--gris-rural);
  position: relative;
}

.benefit-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
  display: block;
}

.benefit-row__content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--vert-ci);
}

.benefit-row__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-row__content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--vert-ci);
  margin-bottom: 1rem;
}

.benefit-row__content p {
  font-size: 1.125rem;
  color: var(--gris-fonce);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .benefit-row {
    flex-direction: row;
  }
  
  .benefit-row:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .benefit-row:nth-child(even) .benefit-row__content {
    border-left: none;
    border-right: 4px solid var(--vert-ci);
  }
  
  .benefit-row__image img {
    min-height: 350px;
  }
}






/* ========================================
   PARTENARIATS & INVESTISSEMENTS
   ======================================== */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.partner-card-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 2rem 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    text-decoration: none;
    color: inherit;
    min-height: 140px;
}

.partner-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 150, 57, 0.1);
    border-color: rgba(0, 150, 57, 0.2);
}

.partner-card-link--discussion:hover {
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.1);
    border-color: rgba(255, 140, 0, 0.2);
}

.partner-card-link__content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.partner-logo-item__name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
}

.partner-card-link--discussion .partner-logo-item__name {
    color: #1a1a1a;
}

.partner-logo-item__status {
    font-size: 0.9rem;
    color: #1a1a1a;
    line-height: 1.4;
}

/* Grille Investisseurs */

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.investment-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.investment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 150, 57, 0.12);
}

.investment-card__image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    background-color: #f1f5f3;
    overflow: hidden;
}

.investment-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.investment-card:hover .investment-card__image-wrapper img {
    transform: scale(1.05);
}

.investment-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--vert-ci);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.investment-card__content {
    padding: 2rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.investment-card__content h3 {
    color: var(--noir-texte);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.investment-card__content p {
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 0.95rem;
}


/* ========================================
   PAGE HEADER (Espacement Navbar Fixe)
   ======================================== */
.page-header {
    margin-top: 130px; 
    padding-bottom: 2rem;
    text-align: center;
}

.page-header__title {
    font-size: 2.5rem;
    color: var(--vert-ci);
    margin-bottom: 0.5rem;
}

.page-header__subtitle {
    font-size: 1.2rem;
    color: #1a1a1a;
}


/* ==========================================================================
   E-COMMERCE & TRUST SIGNALS
   ========================================================================== */

.trust-bar {
  background-color: var(--color-green-dark);
  color: white;
  padding: 1rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 3px solid var(--color-orange);
}
.trust-bar__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 768px) {
  .trust-bar__inner {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-icon {
  font-size: 1.25rem;
}

.payment-trust {
  padding: 4rem 1rem;
  background-color: var(--color-light);
  border-top: 1px solid #e2efe6;
  text-align: center;
}
.payment-trust__title {
  color: var(--color-green-dark);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}
.payment-trust__desc {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: #555;
  line-height: 1.6;
}
.payment-trust__badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.pay-badge {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  min-width: 130px;
}
.pay-badge.wave { background-color: #00c7e5; color: #111; }
.pay-badge.orange { background-color: #ff6600; color: #fff; }
.pay-badge.mtn { background-color: #ffcc00; color: #000; }
.pay-badge.moov { background-color: #005A9C; color: #fff; }
.pay-badge.djamo { background-color: #1a73e8; color: #fff; }
.pay-badge.tresor { background-color: #154c3c; color: #fff; }

.footer__socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer__socials a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.footer__socials a:hover {
  opacity: 1;
  text-decoration: underline;
  transform: translateX(4px);
  color: var(--color-orange);
}
.footer__legal {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}
.footer__legal a {
  color: white;
  text-decoration: none;
}
.footer__legal a:hover {
  text-decoration: underline;
  color: var(--color-orange);
}

/* ----- PREMIUM SECURE UPDATES ----- */
.secure-wrapper { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; color: #1a1a1a; font-weight: 700; font-size: 0.95rem; }
.secure-wrapper svg { width: 22px; height: 22px; fill: #009639; }

.trust-item { gap: 0.75rem; }
.trust-icon svg { width: 26px; height: 26px; fill: white; opacity: 0.9; }

.pay-badge { cursor: default; transition: all 0.3s ease; border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; }
.pay-badge:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }

.footer__socials { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%; background-color: rgba(255,255,255,0.1); 
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; text-decoration: none;
}
.social-btn svg { width: 20px; height: 20px; fill: white; transition: fill 0.3s ease; }
.social-btn:hover { background-color: white; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.social-btn:hover svg { fill: var(--color-orange); }


/* ==========================================================================
   MODAL (Pop-up Article / Projet)
   ========================================================================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
    background: white; width: 90%; max-width: 800px; max-height: 90vh;
    border-radius: 20px; display: flex; flex-direction: column;
    transform: translateY(30px); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2); overflow: hidden;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-header {
    padding: 1.5rem 2rem; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex;
    justify-content: space-between; align-items: center; position: sticky; top: 0;
    background: white; z-index: 10;
}
.modal-close {
    background: #f1f5f3; border: none; width: 40px; height: 40px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease; color: #1a1a1a;
}
.modal-close:hover { background: #e2ebe6; color: var(--orange-ci); }
.modal-body { padding: 2rem; overflow-y: auto; scrollbar-width: thin; }
.modal-body::-webkit-scrollbar { width: 8px; }
.modal-body::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 4px; }
.modal-article__meta { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: center; font-size: 0.9rem; color: #666; }
.modal-article__title { font-size: 2rem; color: #1a1a1a; margin-bottom: 1.5rem; line-height: 1.2; }
.modal-article__text { color: #333; line-height: 1.8; font-size: 1.05rem; margin-bottom: 2rem; }
.modal-article__text p { margin-bottom: 1rem; }
.modal-article__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin-top: 2rem; }
.modal-article__gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05); }

.project-readmore {
    color: var(--vert-ci); font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem;
    transition: gap 0.3s ease; text-decoration: none; margin-top: 1rem; cursor: pointer;
}
.investment-card:hover .project-readmore { gap: 0.8rem; color: var(--orange-ci); }
.investment-card { cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; }
.investment-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
