/* =============================================
   PALETTE & VARIABLES
   ============================================= */
/* Google Fonts chargées via <link> dans le <head> de chaque page */

:root {
  --vert:       #1a6b3c;
  --vert-clair: #2e9e5b;
  --or:         #c8963e;
  --or-clair:   #f0b95a;
  --creme:      #faf7f2;
  --blanc:      #ffffff;
  --texte:      #1c1c1c;
  --texte-doux: #3d3d3d;
  --bordure:    #c8bfb0;
  --ombre:      0 4px 24px rgba(26,107,60,0.10);
  --radius:     14px;
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  background: var(--creme);
  color: var(--texte);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a  { color: var(--vert); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--or); }

/* =============================================
   NAVIGATION
   ============================================= */
nav {
  background: var(--vert);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-svg {
  height: 52px;
  width: 52px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
  transition: transform var(--transition);
}
.nav-logo:hover .nav-logo-svg {
  transform: scale(1.06);
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,1);
  padding: .55rem 1.1rem;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 400;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,.12);
  color: var(--or-clair);
}

.nav-cta {
  background: var(--or) !important;
  color: var(--blanc) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: .55rem 1.25rem !important;
}
.nav-cta:hover { background: var(--or-clair) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blanc);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO GÉNÉRIQUE
   ============================================= */
.hero-page {
  background: linear-gradient(135deg, var(--vert) 0%, #0f4425 100%);
  padding: 3rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-page::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-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: var(--blanc);
  position: relative;
  margin-bottom: .75rem;
}
.hero-page h1 em {
  font-style: normal;
  color: var(--or-clair);
}
.hero-page p {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--or-clair);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  position: relative;
}

/* =============================================
   CONTENEUR PRINCIPAL
   ============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0rem;
}

.section { padding: 4.5rem 0.5rem; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: var(--vert);
  margin-bottom: .5rem;
  font-weight: 700;
  line-height: 1.25;
}
.section-title span { color: var(--or); }
.section-sub {
  color: var(--texte-doux);
  font-size: 1.02rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
}
.divider {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--vert), var(--or));
  border-radius: 2px;
  margin: .8rem 0 1.5rem;
}

/* =============================================
   CARTES
   ============================================= */
.card {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  padding: 0.7rem;
  border: 1px solid var(--bordure);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(26,107,60,.15);
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }

/* =============================================
   BOUTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--vert);
  color: var(--blanc);
  box-shadow: 0 4px 14px rgba(26,107,60,.3);
}
.btn-primary:hover {
  background: var(--vert-clair);
  color: var(--blanc);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--or);
  color: var(--blanc);
  box-shadow: 0 4px 14px rgba(200,150,62,.35);
}
.btn-gold:hover {
  background: var(--or-clair);
  color: var(--blanc);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--vert);
  border: 2px solid var(--vert);
}
.btn-outline:hover {
  background: var(--vert);
  color: var(--blanc);
}

/* =============================================
   OFFRE CARD HEADER (icône + titre côte à côte)
   ============================================= */
.offre-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.offre-header .icon-box {
  margin-bottom: 0;
  flex-shrink: 0;
}
.offre-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--vert);
  margin-bottom: 0;
  line-height: 1.3;
}

/* =============================================
   ICONES EMOJI BOX
   ============================================= */
.icon-box {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #e8f5ee, #d0ebdc);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.icon-box.gold {
  background: linear-gradient(135deg, #fdf3e3, #f5dba5);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #0f2d1c;
  color: rgba(255,255,255,.7);
  padding: 3.5rem 1.5rem 1.5rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: var(--or-clair);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.footer-col p, .footer-col a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.9;
}
.footer-col a:hover { color: var(--or-clair); }
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--blanc);
  font-weight: 900;
  margin-bottom: .75rem;
}
.footer-logo span { color: var(--or-clair); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  text-align:center;
  justify-content: normal;
  align-items: center;

  gap: .75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.38);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--or-clair); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  background: #25d366;
  color: var(--blanc);
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37,211,102,.6);
  color: var(--blanc);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--vert); padding: 1rem; gap: .25rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .section { padding: 3rem 1rem; }
}
