@charset "UTF-8";
/* ============================================
   RestauVert — CSS Global
   Cabinet de conseil RSE pour la restauration
   ============================================ */

/* ──── VARIABLES ──── */
:root {
  --green-dark:    #1A4E30;
  --green-primary: #2D7A3A;
  --green-main:    #1E6040;
  --green-mid:     #2D7A52;
  --green-light:   #EBF5EE;
  --green-accent:  #4CAF50;
  --green-soft:    #7de0a0;
  --gold:          #D4A843;
  --white:         #FFFFFF;
  --off-white:     #F7FAF8;
  --grey-light:    #F5F5F5;
  --text-dark:     #18291E;
  --text-mid:      #3D5449;
  --text-light:    #6B8878;
  --border:        #D4E8DB;
  --shadow-sm:     0 2px 12px rgba(30,96,64,0.06);
  --shadow-md:     0 8px 30px rgba(30,96,64,0.1);
  --shadow-lg:     0 16px 50px rgba(30,96,64,0.12);
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-full:   50px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ──── UTILITAIRES ──── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  color: var(--green-accent);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.bg-light { background: var(--green-light); }
.bg-off { background: var(--off-white); }

/* ──── BOUTONS ──── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45,122,58,0.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45,122,58,0.4);
}

.btn-white {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.45);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(212,168,67,0.3);
}
.btn-gold:hover {
  background: #c49a3a;
  transform: translateY(-2px);
}

/* ──── NAVIGATION ──── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26,78,48,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 72px;
  display: flex;
  align-items: center;
  transition: all var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.navbar.scrolled {
  height: 64px;
  background: rgba(26,78,48,0.99);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.nav-logo img {
  height: 54px;
  width: auto;
}

.nav-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-soft);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

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

.nav-cta {
  background: var(--white) !important;
  color: var(--green-dark) !important;
  padding: 9px 22px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--green-light) !important;
  transform: translateY(-1px);
}

/* Burger menu */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-burger span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
}
.nav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ──── HERO ──── */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--green-dark) 0%, var(--green-main) 55%, var(--green-mid) 100%);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(76,175,112,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 15%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.hero-text { flex: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(76,175,112,0.2);
  color: var(--green-soft);
  border: 1px solid rgba(76,175,112,0.3);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.3rem;
}

.hero h1 .accent { color: var(--green-soft); }

.hero-desc {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 2.4rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 0 0 300px;
  text-align: center;
}

.hero-visual img {
  width: 300px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ──── HERO PAGE (sous-pages) ──── */
.page-hero {
  background: linear-gradient(145deg, var(--green-dark) 0%, var(--green-main) 55%, var(--green-mid) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76,175,112,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.page-hero .breadcrumb {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  position: relative;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.page-hero .breadcrumb a:hover {
  color: var(--white);
}

/* ──── CARTES ──── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.card .highlight-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 0.3rem;
}

/* ──── GRILLES ──── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.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; }

/* ──── SERVICES CARDS ──── */
.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  background: var(--white);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  padding: 2rem;
  color: var(--white);
}

.service-header .icon { font-size: 2.2rem; margin-bottom: 0.8rem; }
.service-header h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.service-header .price { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.service-body {
  padding: 2rem;
}

.service-body ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.service-body li {
  font-size: 0.88rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.service-body li::before {
  content: '\2713';
  color: var(--green-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-cta {
  padding: 0 2rem 2rem;
}

/* ──── TARIFS ──── */
.tarif-card {
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  padding: 2.5rem 1.8rem;
  text-align: center;
  transition: all var(--transition);
  background: var(--white);
  position: relative;
}

.tarif-card.featured {
  border-color: var(--green-primary);
  background: linear-gradient(165deg, var(--green-light), var(--white));
  transform: scale(1.04);
}

.tarif-card.featured .tarif-badge {
  background: var(--green-primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.tarif-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--green-mid);
}

.tarif-card.featured:hover { transform: scale(1.06); }

.tarif-icon { font-size: 2rem; margin-bottom: 1rem; }
.tarif-name { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.tarif-price { font-size: 2.2rem; font-weight: 700; color: var(--green-dark); margin-bottom: 0.3rem; }
.tarif-price span { font-size: 0.8rem; color: var(--text-light); font-weight: 400; }
.tarif-desc { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.5rem; }

.tarif-features {
  text-align: left;
  margin-bottom: 2rem;
}

.tarif-features li {
  font-size: 0.84rem;
  color: var(--text-mid);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tarif-features li::before {
  content: '\2713';
  color: var(--green-accent);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ──── PROCESSUS / STEPS ──── */
.steps {
  display: flex;
  gap: 0;
  margin-top: 3rem;
}

.step {
  flex: 1;
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
}

.step::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 2.2rem;
  font-size: 1.5rem;
  color: var(--border);
  z-index: 1;
}

.step:last-child::after { display: none; }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--green-mid));
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 6px 20px rgba(45,122,58,0.25);
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ──── TEMOIGNAGES ──── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '\"';
  font-size: 4rem;
  color: var(--green-light);
  font-family: Georgia, serif;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-primary);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ──── VALEURS ──── */
.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.value-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), rgba(76,175,80,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ──── CTA BANNER ──── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(76,175,112,0.15), transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-banner .btn { position: relative; }

/* ──── FORMULAIRE ──── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(45,122,58,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ──── CONTACT INFO ──── */
.contact-info-card {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  height: 100%;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.8rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item-text span,
.contact-item-text a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.contact-item-text a:hover {
  color: var(--white);
}

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.contact-socials a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.contact-socials a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ──── CHIFFRES CLES ──── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-card .number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ──── ABOUT TIMELINE ──── */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--border);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }

.timeline-content {
  width: 45%;
  padding: 1.8rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-primary);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--green-primary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.timeline-content .date {
  font-size: 0.78rem;
  color: var(--green-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-mid);
}

/* ──── EQUIPE ──── */
.team-card {
  text-align: center;
  padding: 2rem;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), rgba(76,175,80,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 1.2rem;
}

.team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--green-accent);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ──── REGLEMENTATION ──── */
.reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(76,175,80,0.1);
  color: var(--green-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  margin: 4px;
}

/* ──── FOOTER ──── */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  height: 54px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
}

.footer-contact-item .icon {
  flex-shrink: 0;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  transition: color var(--transition);
}

.footer-socials a:hover { color: var(--white); }

/* ──── FAQ ACCORDION ──── */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--green-primary); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--green-accent);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.4rem;
}

.faq-answer p {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ──── SCROLL TO TOP ──── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(45,122,58,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(45,122,58,0.4);
}

/* ──── ANIMATIONS ──── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ──── RESPONSIVE ──── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-wrap: wrap; }
  .step { flex: 0 0 50%; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--green-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links a::after { display: none; }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    display: block;
    width: 100%;
  }

  .nav-burger { display: flex; }

  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero-visual { flex: none; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .tarif-card.featured { transform: none; }
  .tarif-card.featured:hover { transform: scale(1.02); }

  .steps { flex-direction: column; }
  .step { flex: none; }
  .step::after { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; padding-left: 50px; }
  .timeline-content { width: 100%; }
  .timeline-dot { left: 20px; }

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

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; align-items: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
   NOUVELLES FONCTIONNALITES
   ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ──── PAGE LOADER ──── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}
.page-loader img {
  width: 60px;
  height: 60px;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.loader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--green-primary);
  border-radius: 3px;
  animation: loaderSlide 1s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}
@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* ──── CTA FLOTTANT ──── */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.floating-cta-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.floating-cta-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}
.floating-cta-phone { background: var(--green-primary); }
.floating-cta-whatsapp { background: #25D366; }
.floating-cta-whatsapp:hover { background: #1da851; }
.floating-cta-phone:hover { background: var(--green-dark); }

.floating-cta-tooltip {
  position: absolute;
  right: 68px;
  background: var(--text-dark);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
}
.floating-cta-btn:hover .floating-cta-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ──── TRUST BAR ──── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ──── TEMOIGNAGES ──── */
.testimonial-section { padding: 5rem 0; }
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
}
.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testimonial-stars {
  color: #F4C430;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}
.testimonial-text::before {
  content: '\"';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 2rem;
  color: var(--green-primary);
  font-weight: 700;
  line-height: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testimonial-author-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dark);
}
.testimonial-author-info span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ──── MOBILE SECTION ACCORDION ──── */
.mobile-section-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  margin-top: 2rem;
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  transition: all var(--transition);
}
.mobile-section-toggle svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--green-primary);
}
.mobile-section-toggle.open svg { transform: rotate(180deg); }
.mobile-section-toggle:hover { background: var(--border); }

.mobile-collapsible-content {
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
  .mobile-section-toggle { display: flex; }
  .mobile-collapsible-content {
    max-height: 0;
    opacity: 0;
  }
  .mobile-collapsible-content.expanded {
    max-height: 4000px;
    opacity: 1;
  }
}

/* ──── LISIBILITE AMELIOREE ──── */
body {
  line-height: 1.8;
}

.section-title {
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.card p, .testimonial-text, .faq-answer p {
  line-height: 1.8;
}

.hero-desc {
  line-height: 1.78;
}

p {
  line-height: 1.8;
}

/* Meilleure fluidite des cartes */
.card, .service-card, .testimonial-card, .testimonial {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Amelioration de la lisibilite des sections */
.section-sub {
  font-size: 1.06rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* Amelioration des liens */
a:focus-visible {
  outline: 2px solid var(--green-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ──── BLOG CARDS ──── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.blog-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-light);
}
.blog-card-meta a,
.blog-card-link {
  color: var(--green-primary);
  font-weight: 600;
}
.blog-card-meta a:hover { text-decoration: underline; }

a.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.blog-card:hover .blog-card-link {
  text-decoration: underline;
}

/* ──── ARTICLE CONTENT ──── */
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-mid);
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 2rem 0 0.8rem;
}

.article-content p {
  margin-bottom: 1.2rem;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.article-content ol li {
  list-style-type: decimal;
}

.article-content blockquote {
  border-left: 4px solid var(--green-primary);
  background: var(--green-light);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--green-dark);
}

.article-content strong {
  color: var(--text-dark);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.article-content th,
.article-content td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

.article-content th {
  background: var(--green-dark);
  color: var(--white);
  font-weight: 600;
}

.article-content tr:nth-child(even) {
  background: var(--green-light);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-light);
}

.article-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.related-articles {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.related-articles h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.related-articles a {
  display: block;
  padding: 0.8rem 0;
  color: var(--green-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.related-articles a:hover {
  color: var(--green-dark);
}

/* ──── QUIZ ──── */
.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}
.quiz-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.quiz-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--green-primary);
  border-radius: 6px;
  transition: width 0.4s ease;
}
.quiz-progress-text {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 600;
  white-space: nowrap;
}
.quiz-question {
  margin-bottom: 2rem;
}
.quiz-question h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.quiz-question p {
  font-size: 0.88rem;
  color: var(--text-light);
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.92rem;
  color: var(--text-mid);
}
.quiz-option:hover {
  border-color: var(--green-primary);
  background: var(--green-light);
}
.quiz-option.selected {
  border-color: var(--green-primary);
  background: var(--green-light);
  font-weight: 600;
  color: var(--green-dark);
}
.quiz-option-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  position: relative;
  transition: all var(--transition);
}
.quiz-option.selected .quiz-option-dot {
  border-color: var(--green-primary);
  background: var(--green-primary);
}
.quiz-option.selected .quiz-option-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
}
.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.quiz-result {
  text-align: center;
  padding: 2rem 0;
}
.quiz-score-ring {
  width: 160px;
  height: 160px;
  margin: 0 auto 2rem;
  position: relative;
}
.quiz-score-ring svg {
  transform: rotate(-90deg);
}
.quiz-score-ring circle {
  fill: none;
  stroke-width: 8;
  cx: 80;
  cy: 80;
  r: 72;
}
.quiz-score-ring .ring-bg { stroke: var(--border); }
.quiz-score-ring .ring-fill {
  stroke: var(--green-primary);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease;
}
.quiz-score-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.quiz-score-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
}
.quiz-score-text {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
}
.quiz-level {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.quiz-result p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ──── RESPONSIVE ADDITIONS ──── */
@media (max-width: 768px) {
  .trust-bar-inner { gap: 1.5rem; }
  .trust-item { font-size: 0.78rem; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .quiz-container { padding: 2rem 1.5rem; }
  .floating-cta { bottom: 16px; right: 16px; }
  .floating-cta-btn { width: 50px; height: 50px; font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .floating-cta-tooltip { display: none; }
}