/* ============================================================
   RANKAIWEB — style.css — Mobile First
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --foret:      #085041;
  --emeraude:   #1D9E75;
  --menthe:     #5DCAA5;
  --brume:      #E1F5EE;
  --blanc:      #ffffff;
  --anthracite: #2C2C2A;
  --gris:       #5F5E5A;
  --gris-clair: #f7f7f5;
  --border:     rgba(8, 80, 65, 0.1);
  --font-titre: 'Cormorant Garamond', serif;
  --font-corps: 'DM Sans', sans-serif;
  --radius:     4px;
  --transition: 0.25s ease;
}

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

/* ── UTILITAIRES ── */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--emeraude);
  margin-bottom: 16px;
}

.section-titre {
  font-family: var(--font-titre);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  color: var(--foret);
  line-height: 1.15;
  margin-bottom: 24px;
}
.section-titre em { font-style: italic; color: var(--emeraude); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── BOUTONS ── */
.btn-primaire {
  display: inline-block;
  background: var(--foret);
  color: var(--blanc);
  padding: 13px 24px;
  border-radius: var(--radius);
  font-family: var(--font-corps);
  font-size: 15px;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-primaire:hover { background: var(--emeraude); transform: translateY(-2px); }

.btn-contour {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--blanc);
  padding: 13px 24px;
  border-radius: var(--radius);
  font-family: var(--font-corps);
  font-size: 15px;
  font-weight: 400;
  transition: background var(--transition), border-color var(--transition);
  cursor: pointer;
}
.btn-contour:hover { background: rgba(255,255,255,0.1); border-color: var(--blanc); }

@media (min-width: 768px) {
  .container { padding: 0 40px; }
  .btn-primaire { padding: 14px 32px; }
  .btn-contour  { padding: 14px 32px; }
}
@media (min-width: 1200px) {
  .container { padding: 0 60px; }
}

/* ============================================================
   NAVIGATION — Mobile First
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo img { height: 44px; width: auto; }
.nav-menu { display: none; }
.nav .btn-primaire { background: var(--foret) !important; color: var(--blanc) !important; padding: 10px 20px; font-size: 14px; }
.nav .btn-primaire:hover { background: var(--emeraude) !important; transform: translateY(-2px); }

@media (min-width: 768px) {
  .nav-inner { height: 90px; padding: 0 40px; }
  .nav-logo img { height: 68px; }
  .nav-menu { display: flex; align-items: center; gap: 40px; }
  .nav-menu a { font-size: 16px; font-weight: 500; color: var(--foret); letter-spacing: 0.3px; transition: color var(--transition); }
  .nav-menu a:hover { color: var(--emeraude); }
  .nav .btn-primaire { padding: 12px 28px; font-size: 15px; }
}
@media (min-width: 1200px) {
  .nav-inner { padding: 0 60px; }
}

/* ============================================================
   HERO — Mobile First
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 64px;
}

.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,80,65,0.92) 0%, rgba(8,80,65,0.78) 50%, rgba(4,40,30,0.94) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 40px 20px 280px;
  animation: fadeUp 0.9s ease both;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--menthe);
  border: 1px solid rgba(93,202,165,0.4);
  padding: 7px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero h1 { font-family: var(--font-titre); font-size: clamp(36px, 8vw, 80px); font-weight: 700; color: var(--blanc); line-height: 1.08; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--menthe); }

.hero-desc { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.75; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

.hero-btns { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.hero-btns .btn-primaire { background: var(--menthe); color: var(--foret); font-size: 15px; padding: 14px 32px; font-weight: 600; width: 100%; max-width: 320px; text-align: center; }
.hero-btns .btn-primaire:hover { background: var(--blanc); }
.hero-btns .btn-contour { width: 100%; max-width: 320px; text-align: center; }

.hero-stats-bande {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 16px 20px;
  gap: 12px;
}

.stat-item { text-align: center; }
.stat-num { font-family: var(--font-titre); font-size: 26px; font-weight: 700; color: var(--menthe); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 1px; }

.hero-scroll {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after { content: ''; width: 1px; height: 30px; background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent); }

@media (min-width: 768px) {
  .hero { padding-top: 90px; }
  .hero-content { padding: 60px 40px 160px; }
  .hero-desc { font-size: 18px; margin-bottom: 44px; }
  .hero-btns { flex-direction: row; justify-content: center; }
  .hero-btns .btn-primaire, .hero-btns .btn-contour { width: auto; max-width: none; font-size: 16px; padding: 16px 40px; }
  .hero-stats-bande { grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 24px 60px; }
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 12px; }
  .hero-scroll { display: flex; }
}

/* ============================================================
   SERVICES — Mobile First
   ============================================================ */
.services { padding: 60px 0; background: var(--blanc); }
.services-header { margin-bottom: 40px; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.service-card { background: var(--blanc); padding: 32px 24px; transition: background var(--transition); }
.service-card:hover { background: var(--brume); }
.service-num { font-size: 11px; font-weight: 500; letter-spacing: 2px; color: var(--menthe); margin-bottom: 16px; }
.service-icon { margin-bottom: 16px; height: 36px; display: flex; align-items: center; }
.service-icon svg { width: 32px; height: 32px; }
.service-card h3 { font-family: var(--font-titre); font-size: 22px; font-weight: 600; color: var(--foret); margin-bottom: 10px; line-height: 1.2; }
.service-card p { font-size: 14px; color: var(--gris); line-height: 1.7; }

@media (min-width: 768px) {
  .services { padding: 80px 0; }
  .services-header { margin-bottom: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 40px 32px; }
}
@media (min-width: 1100px) {
  .services { padding: 100px 0; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card { padding: 44px 36px; }
}

/* ============================================================
   SEO CONTENU — Mobile First
   ============================================================ */
.seo-contenu { padding: 60px 0; background: var(--gris-clair); }
.seo-intro { margin-bottom: 40px; }
.seo-chapeau { font-size: 16px; color: var(--gris); line-height: 1.8; margin-top: 8px; }

.seo-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; }

.seo-card { padding: 28px 24px; background: var(--blanc); border: 1px solid var(--border); border-radius: 6px; transition: box-shadow var(--transition), border-color var(--transition); }
.seo-card:hover { border-color: var(--menthe); box-shadow: 0 8px 32px rgba(8,80,65,0.08); }
.seo-card-icon { width: 40px; height: 40px; margin-bottom: 16px; }
.seo-card-icon svg { width: 36px; height: 36px; }
.seo-card h3 { font-family: var(--font-titre); font-size: 20px; font-weight: 600; color: var(--foret); margin-bottom: 10px; }
.seo-card p { font-size: 14px; color: var(--gris); line-height: 1.75; }

.seo-conclusion { background: var(--foret); border-radius: 8px; padding: 36px 24px; }
.seo-conclusion-inner { display: flex; flex-direction: column; gap: 20px; }
.seo-conclusion-icon { font-family: var(--font-titre); font-size: 56px; font-weight: 700; color: var(--menthe); line-height: 1; opacity: 0.8; }
.seo-conclusion-texte h3 { font-family: var(--font-titre); font-size: 24px; font-weight: 700; color: var(--blanc); margin-bottom: 14px; }
.seo-conclusion-texte p { font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.8; margin-bottom: 14px; }
.seo-conclusion-texte strong { color: var(--menthe); font-weight: 500; }
.seo-conclusion-texte .btn-primaire { background: var(--menthe); color: var(--foret); margin-top: 8px; font-weight: 600; }
.seo-conclusion-texte .btn-primaire:hover { background: var(--blanc); }

.seo-lien-article { display: inline-block; margin-top: 10px; color: var(--emeraude); font-weight: 500; font-size: 15px; border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.seo-lien-article:hover { border-bottom-color: var(--emeraude); }

@media (min-width: 768px) {
  .seo-contenu { padding: 80px 0; }
  .seo-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 56px; }
  .seo-conclusion { padding: 48px 48px; }
  .seo-conclusion-inner { flex-direction: row; align-items: flex-start; gap: 40px; }
  .seo-conclusion-icon { font-size: 72px; flex-shrink: 0; }
}
@media (min-width: 1100px) {
  .seo-contenu { padding: 100px 0; }
  .seo-grid { grid-template-columns: repeat(3, 1fr); }
  .seo-conclusion { padding: 56px 60px; }
  .seo-conclusion-icon { font-size: 80px; }
}

/* ============================================================
   POURQUOI — Mobile First
   ============================================================ */
.pourquoi { padding: 60px 0; background: var(--gris-clair); }
.pourquoi-inner { display: grid; grid-template-columns: 1fr; gap: 40px; }
.pourquoi-texte p { font-size: 15px; color: var(--gris); line-height: 1.8; margin-bottom: 8px; }
.pourquoi-liste { margin-top: 24px; }
.pourquoi-liste li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--gris); padding: 12px 0; border-bottom: 1px solid var(--border); line-height: 1.6; }
.pourquoi-liste li:last-child { border-bottom: none; }
.pourquoi-liste li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--menthe); flex-shrink: 0; margin-top: 6px; }

.pourquoi-chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chiffre-card { background: var(--blanc); border: 1px solid var(--border); border-radius: 6px; padding: 24px 20px; }
.chiffre-card:first-child { grid-column: span 2; background: var(--foret); }
.chiffre-card:first-child .chiffre-num { color: var(--menthe); }
.chiffre-card:first-child .chiffre-label { color: rgba(255,255,255,0.6); }
.chiffre-num { font-family: var(--font-titre); font-size: 40px; font-weight: 700; color: var(--foret); line-height: 1; margin-bottom: 8px; }
.chiffre-label { font-size: 13px; color: var(--gris); line-height: 1.5; }

@media (min-width: 768px) {
  .pourquoi { padding: 80px 0; }
  .pourquoi-inner { gap: 60px; }
  .chiffre-num { font-size: 44px; }
}
@media (min-width: 1100px) {
  .pourquoi { padding: 100px 0; }
  .pourquoi-inner { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .chiffre-num { font-size: 48px; }
}

/* ============================================================
   FAQ — Mobile First
   ============================================================ */
.faq { padding: 60px 0; background: var(--blanc); }
.faq-liste { margin-top: 36px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-corps);
  font-size: 15px;
  font-weight: 500;
  color: var(--foret);
  text-align: left;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--emeraude); }
.faq-icon { font-size: 22px; font-weight: 300; color: var(--emeraude); flex-shrink: 0; transition: transform var(--transition); line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-reponse { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-reponse { max-height: 400px; }
.faq-reponse p { font-size: 14px; color: var(--gris); line-height: 1.8; padding-bottom: 20px; }

@media (min-width: 768px) {
  .faq { padding: 80px 0; }
  .faq-question { font-size: 16px; padding: 24px 0; }
  .faq-reponse p { font-size: 15px; padding-bottom: 24px; }
}
@media (min-width: 1100px) { .faq { padding: 100px 0; } }

/* ============================================================
   CTA — Mobile First
   ============================================================ */
.cta { padding: 60px 0; background: var(--foret); text-align: center; }
.cta .section-label { color: var(--menthe); }
.cta .section-titre { color: var(--blanc); margin-bottom: 14px; }
.cta-desc { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta .btn-primaire { background: var(--menthe); color: var(--foret); font-size: 15px; padding: 14px 36px; }
.cta .btn-primaire:hover { background: var(--blanc); }

@media (min-width: 768px) { .cta { padding: 80px 0; } .cta .btn-primaire { font-size: 16px; padding: 16px 44px; } }
@media (min-width: 1100px) { .cta { padding: 100px 0; } }

/* ============================================================
   FOOTER — Variante B (vert forêt)
   ============================================================ */
.footer {
  background: var(--foret);
  padding: 32px 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img { display: none; }

.footer-logo-cible {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.footer-logo-text strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
}

.footer-logo-text strong .rank { color: var(--emeraude); }
.footer-logo-text strong .ai   { color: var(--blanc); }
.footer-logo-text strong .web  { color: var(--menthe); }

.footer-logo-text small {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
  margin-top: 3px;
}

.footer-middle { text-align: center; }

.footer-copy {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

.footer-villes {
  font-size: 13px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 1.5px;
}

.footer-liens {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-liens a {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-liens a:hover { color: var(--menthe); }

.footer-liens a:last-child {
  color: var(--menthe);
  font-weight: 500;
}

@media (min-width: 768px) {
  .footer { padding: 36px 40px; }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 0;
  }
  .footer-inner > * { flex: 1; }
  .footer-middle { text-align: center; }
  .footer-liens { justify-content: flex-end; flex-wrap: nowrap; }
  .footer-logo { position: relative; }
  .footer-logo::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
  }
  .footer-middle { position: relative; }
  .footer-middle::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.12);
  }
}

@media (min-width: 1200px) { .footer { padding: 36px 60px; } }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--foret);
  color: var(--blanc);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--emeraude); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   MENU HAMBURGER — Mobile First
   ============================================================ */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--foret);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,80,65,0.97);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-drawer.open { opacity: 1; pointer-events: auto; }

.nav-drawer a {
  font-family: var(--font-titre);
  font-size: 32px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 12px 0;
  transition: color 0.2s ease;
  letter-spacing: 1px;
}
.nav-drawer a:hover { color: var(--menthe); }

.nav-drawer .btn-primaire {
  margin-top: 20px;
  background: var(--menthe) !important;
  color: var(--foret) !important;
  font-family: var(--font-corps);
  font-size: 16px !important;
  padding: 14px 36px !important;
  border-radius: var(--radius);
}

.nav-drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.nav-drawer-close:hover { color: var(--blanc); }

@media (min-width: 768px) {
  .nav-hamburger { display: none; }
  .nav-drawer { display: none; }
}

/* ============================================================
   DROPDOWN NAVIGATION — Variante A (barre intégrée)
   ============================================================ */
.nav-item-dropdown { position: relative; }

.nav-item-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.6;
  vertical-align: middle;
}

.nav-dropdown {
  position: fixed;
  top: 90px;
  left: 0; right: 0;
  z-index: 99;
  background: #E1F5EE;
  border-bottom: 1px solid rgba(8,80,65,0.12);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: auto;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.nav-dropdown::before { display: none; }

.nav-dropdown-grid {
  display: flex;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.nav-dropdown a {
  flex: 1;
  max-width: 240px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 20px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #085041 !important;
  border-right: 1px solid rgba(8,80,65,0.08);
  border-radius: 0 !important;
  transition: background 0.2s ease !important;
  letter-spacing: 0 !important;
  gap: 0;
}
.nav-dropdown a:last-child { border-right: none; }
.nav-dropdown a:hover {
  background: #1D9E75 !important;
  color: #fff !important;
  border-right-color: rgba(255,255,255,0.15) !important;
}
.nav-dropdown a:hover strong,
.nav-dropdown a:hover span { color: #fff !important; }

.nav-dropdown-icon { display: none; }
.nav-dropdown-text span { display: none; }
.nav-dropdown-text strong { font-size: 14px; font-weight: 500; color: #085041; margin-bottom: 0; }

.nav-item-dropdown:hover .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }

.nav-item-dropdown { padding-bottom: 16px; margin-bottom: -16px; }
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px; right: -20px;
  height: 20px;
}

/* ── nav-menu avec li ── */
.nav-menu { list-style: none; }
.nav-menu > li { display: flex; align-items: center; }
.nav-menu > li > a { font-size: 16px; font-weight: 500; color: var(--foret); letter-spacing: 0.3px; transition: color var(--transition); }
.nav-menu > li > a:hover { color: var(--emeraude); }

/* ── Drawer sous-menu services ── */
.nav-drawer-sub {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.nav-drawer-sub.open { max-height: 300px; }
.nav-drawer-sub a {
  font-family: var(--font-corps) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.65) !important;
  padding: 10px 0 !important;
  letter-spacing: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  justify-content: center;
}
.nav-drawer-sub a:last-child { border-bottom: none; }
.nav-drawer-sub a:hover { color: var(--menthe) !important; }

.nav-drawer-services-toggle {
  background: none;
  border: none;
  font-family: var(--font-titre);
  font-size: 32px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  width: 100%;
  transition: color 0.2s;
}
.nav-drawer-services-toggle:hover { color: var(--menthe); }
.nav-drawer-services-toggle .toggle-arrow { font-size: 16px; transition: transform 0.3s ease; display: inline-block; }
.nav-drawer-services-toggle.open .toggle-arrow { transform: rotate(180deg); }

/* ============================================================
   HERO PAGE — pages internes
   ============================================================ */
.hero-page {
  background: linear-gradient(135deg, #042e22 0%, #085041 50%, #021510 100%);
}

.article-breadcrumb-hero {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  justify-content: center;
}
.article-breadcrumb-hero a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.article-breadcrumb-hero a:hover { color: var(--menthe); }

.service-hero-badges-centered { justify-content: center; }

/* ============================================================
   BANDEAU COOKIES — RGPD
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--anthracite);
  color: rgba(255,255,255,0.85);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-text { font-size: 13px; line-height: 1.6; max-width: 700px; flex: 1; }
.cookie-banner-text a { color: var(--menthe); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; align-items: center; }
.cookie-btn-accept { background: var(--menthe); color: var(--foret); border: none; padding: 10px 24px; border-radius: var(--radius); font-family: var(--font-corps); font-size: 14px; font-weight: 600; cursor: pointer; transition: background var(--transition); }
.cookie-btn-accept:hover { background: var(--blanc); }
.cookie-btn-refuse { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.3); padding: 10px 20px; border-radius: var(--radius); font-family: var(--font-corps); font-size: 14px; cursor: pointer; transition: border-color var(--transition), color var(--transition); }
.cookie-btn-refuse:hover { border-color: rgba(255,255,255,0.6); color: var(--blanc); }

@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; text-align: center; }
  .cookie-banner-actions { width: 100%; justify-content: center; }
}

/* ── Service cards cliquables ── */
a.service-card { text-decoration: none; color: inherit; display: block; cursor: pointer; }
a.service-card:hover { background: var(--brume); }
a.service-card h3 { color: var(--foret); }
