﻿/* ============================================
   RENOVE HABITAT — DESIGN SYSTEM GLOBAL
   ============================================ */

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ============================================
   VARIABLES
   ============================================ */
:root {
  /* Couleurs principales */
  --vert:        #1A5568;
  --vert-clair:  #FF6B4A;
  --vert-pale:   #FFF3EF;
  --vert-fonce:  #0D3340;
  --vert-hover:  #144455;

  /* Fonds */
  --creme:       #F7FAFB;
  --creme2:      #E8F4F6;
  --creme3:      #D6ECF0;

  /* Texte */
  --texte:       #0D3340;
  --texte-doux:  #2E5A6E;
  --texte-leger: #6B8FA0;

  /* Utilitaires */
  --blanc:       #FFFFFF;
  --bordure:     rgba(13, 51, 64, 0.1);
  --ombre-sm:    0 4px 16px rgba(13, 51, 64, 0.08);
  --ombre-md:    0 12px 32px rgba(13, 51, 64, 0.12);
  --ombre-lg:    0 24px 64px rgba(13, 51, 64, 0.16);

  /* Typographie */
  --font-titre:  'Fraunces', Georgia, serif;
  --font-corps:  'DM Sans', system-ui, sans-serif;

  /* Espacements */
  --section-py:  6rem;
  --container:   1200px;
  --gap:         1.5rem;

  /* Rayons */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 100px;
}

/* ============================================
   BASE
   ============================================ */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-corps);
  background: var(--creme);
  color: var(--texte);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   CONTENEUR
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1400px; }

/* ============================================
   TYPOGRAPHIE
   ============================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-titre);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--vert-fonce);
}

h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem,   4vw, 3rem);   }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1rem; font-family: var(--font-corps); font-weight: 500; letter-spacing: 0; }

h1 em, h2 em, h3 em { font-style: italic; color: var(--vert-clair); }

p { color: var(--texte-doux); line-height: 1.8; }

.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--texte-doux);
  max-width: 600px;
}

/* ============================================
   ÉTIQUETTES DE SECTION
   ============================================ */
.section-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vert-clair);
  margin-bottom: 0.8rem;
}

/* ============================================
   BOUTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 500;
  font-family: var(--font-corps);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--vert);
  color: var(--blanc);
}
.btn-primary:hover {
  background: var(--vert-fonce);
  transform: translateY(-2px);
  box-shadow: var(--ombre-md);
}

.btn-outline-dark {
  background: transparent;
  color: var(--vert-fonce);
  border: 1.5px solid var(--vert);
}
.btn-outline-dark:hover {
  background: var(--vert-pale);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--blanc);
}

.btn-white {
  background: var(--blanc);
  color: var(--vert-fonce);
}
.btn-white:hover {
  background: var(--vert-pale);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--vert-fonce);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1.5px solid var(--vert-clair);
  padding: 0 0 2px;
  border-radius: 0;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--vert-clair); }

.btn svg { flex-shrink: 0; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(248, 244, 238, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bordure);
  transition: box-shadow 0.3s;
}

.nav.scrolled { box-shadow: var(--ombre-sm); }

.nav-logo {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vert-fonce);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--vert-clair); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.88rem;
  color: var(--texte-doux);
  font-weight: 400;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm);
  transition: all 0.2s;
}
.nav-link:hover { color: var(--vert); background: var(--vert-pale); }
.nav-link.active { color: var(--vert); font-weight: 500; }

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--texte-doux);
  font-weight: 400;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm);
  transition: all 0.2s;
  cursor: pointer;
}
.nav-dropdown-toggle:hover { color: var(--vert); background: var(--vert-pale); }
.nav-dropdown-toggle svg { transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--r-md);
  padding: 0.5rem;
  min-width: 220px;
  box-shadow: var(--ombre-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  transition-delay: 0.25s;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.6rem;
  left: 0;
  right: 0;
  height: 0.6rem;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
  transition-delay: 0s;
}

.nav-dropdown-item {
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  color: var(--texte-doux);
  border-radius: var(--r-sm);
  transition: all 0.15s;
  font-weight: 400;
}
.nav-dropdown-item:hover { color: var(--vert); background: var(--vert-pale); }

.nav-dropdown-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--texte-leger);
  padding: 0.5rem 0.9rem 0.2rem;
  font-weight: 500;
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--bordure);
  margin: 0.4rem 0.5rem;
}

.nav-cta {
  background: var(--vert);
  color: var(--blanc) !important;
  padding: 0.6rem 1.3rem;
  border-radius: var(--r-pill);
  font-weight: 500 !important;
  font-size: 0.88rem;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--vert-fonce) !important; }

.nav-phone {
  font-size: 0.85rem;
  color: var(--texte-doux);
  font-weight: 500;
  margin-right: 0.5rem;
}
.nav-phone:hover { color: var(--vert); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--vert-fonce);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO GÉNÉRIQUE (pages internes)
   ============================================ */
.page-hero {
  padding: 9rem 0 5rem;
  background: var(--vert-fonce);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(ellipse, rgba(255,107,74,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,107,74,0.15);
  color: var(--vert-clair);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,107,74,0.2);
}
.page-hero h1 { color: var(--blanc); margin-bottom: 1.2rem; }
.page-hero h1 em { color: var(--vert-clair); }
.page-hero .lead { color: rgba(255,255,255,0.7); max-width: 580px; }

.page-hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--vert-fonce);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-titre);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--vert-clair);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.4rem;
}

/* ============================================
   CARDS SERVICES
   ============================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.svc-card {
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  border: 1px solid var(--bordure);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,107,74,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--ombre-md); }
.svc-card:hover::before { opacity: 1; }

.svc-icon {
  width: 52px; height: 52px;
  background: var(--vert-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.svc-icon svg { width: 24px; height: 24px; }

.svc-card h3 {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--vert-fonce);
  margin-bottom: 0.6rem;
}
.svc-card p { font-size: 0.875rem; line-height: 1.7; }

.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--vert);
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}
.svc-card:hover .svc-card-link { gap: 0.6rem; }

/* Card photo (services visuels) */
.svc-card-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.svc-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.svc-card-photo:hover img { transform: scale(1.05); }
.svc-card-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,67,50,0.82) 0%, rgba(27,67,50,0.08) 60%);
}
.svc-card-photo-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.6rem;
}
.svc-card-photo-content h3 {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--blanc);
  margin-bottom: 0.3rem;
}
.svc-card-photo-content p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.pill-tag {
  display: inline-block;
  background: var(--vert-clair);
  color: var(--blanc);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-pill);
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

/* ============================================
   FEATURE CARDS (pourquoi nous)
   ============================================ */
.feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--blanc);
  border-radius: var(--r-md);
  border: 1px solid var(--bordure);
  transition: box-shadow 0.25s;
}
.feature-card:hover { box-shadow: var(--ombre-sm); }

.feature-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: var(--vert-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 18px; height: 18px; }

.feature-card h4 { margin-bottom: 0.25rem; color: var(--vert-fonce); }
.feature-card p  { font-size: 0.82rem; line-height: 1.65; }

/* ============================================
   ÉTAPES (processus)
   ============================================ */
.steps-list { display: flex; flex-direction: column; }

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--bordure);
}
.step-item:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-titre);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--vert-pale);
  line-height: 1;
  min-width: 3rem;
}
.step-item h4 { color: var(--vert-fonce); margin-bottom: 0.3rem; }
.step-item p  { font-size: 0.85rem; line-height: 1.65; }

/* ============================================
   MOSAÏQUE IMAGES
   ============================================ */
.img-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.img-mosaic-tall {
  grid-row: span 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.img-mosaic-tall img,
.img-mosaic-sq img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.img-mosaic-sq {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

/* ============================================
   AVANTAGES LIST (checks)
   ============================================ */
.avantages-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.avantage-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--texte-doux);
  line-height: 1.6;
}
.avantage-check {
  width: 22px; height: 22px;
  flex-shrink: 0;
  background: var(--vert-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.avantage-check svg { width: 12px; height: 12px; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.testimonial-card {
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  border: 1px solid var(--bordure);
}
.stars { color: var(--vert-clair); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.2rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
}
.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--vert-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-titre);
  font-size: 0.9rem;
  color: var(--vert-fonce);
  font-weight: 600;
}
.author-name { font-size: 0.85rem; font-weight: 500; color: var(--vert-fonce); }
.author-location { font-size: 0.75rem; color: var(--texte-leger); }

/* ============================================
   FAQ
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--blanc);
  border: 1px solid var(--bordure);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--vert-fonce);
  transition: background 0.2s;
  gap: 1rem;
}
.faq-question:hover { background: var(--vert-pale); }
.faq-question svg { flex-shrink: 0; transition: transform 0.3s; color: var(--vert-clair); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--texte-doux);
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.2rem;
}

/* ============================================
   SECTION CTA
   ============================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--section-py) 0;
}
.cta-section.cta-dark { background: var(--vert-fonce); }
.cta-section.cta-light { background: var(--creme2); }

.cta-dark::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,74,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-dark h2  { color: var(--blanc); }
.cta-dark h2 em { color: var(--vert-clair); }
.cta-dark p  { color: rgba(255,255,255,0.65); margin: 1rem auto 2.5rem; max-width: 520px; }

.cta-light h2  { color: var(--vert-fonce); }
.cta-light p   { color: var(--texte-doux); margin: 1rem auto 2.5rem; max-width: 520px; }

.cta-section-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA avec image de fond */
.cta-img-section {
  position: relative;
  overflow: hidden;
}
.cta-img-section img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.cta-img-overlay {
  position: absolute; inset: 0;
  background: rgba(27,67,50,0.78);
}
.cta-img-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
}
.cta-img-content h2 { color: var(--blanc); margin-bottom: 1rem; }
.cta-img-content h2 em { color: var(--vert-clair); }
.cta-img-content p { color: rgba(255,255,255,0.65); max-width: 520px; margin-bottom: 2.5rem; }

/* ============================================
   FORMULAIRE DE DEVIS
   ============================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-grid.full { grid-template-columns: 1fr; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.span-2 { grid-column: span 2; }

label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--vert-fonce);
  letter-spacing: 0.01em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  font-family: var(--font-corps);
  font-size: 0.9rem;
  color: var(--texte);
  background: var(--blanc);
  border: 1.5px solid rgba(45,106,79,0.15);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--vert-clair);
  box-shadow: 0 0 0 3px rgba(255,107,74,0.15);
}
input::placeholder, textarea::placeholder { color: var(--texte-leger); }
textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
select { appearance: none; cursor: pointer; }

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.form-radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid rgba(45,106,79,0.15);
  border-radius: var(--r-pill);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--texte-doux);
  transition: all 0.2s;
}
.form-radio-option:hover { border-color: var(--vert-clair); color: var(--vert); }
.form-radio-option input[type="radio"] { display: none; }
.form-radio-option.selected {
  border-color: var(--vert);
  background: var(--vert-pale);
  color: var(--vert-fonce);
  font-weight: 500;
}

.form-submit-btn {
  background: var(--vert);
  color: var(--blanc);
  padding: 1rem 2.5rem;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-corps);
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
}
.form-submit-btn:hover { background: var(--vert-fonce); transform: translateY(-2px); box-shadow: var(--ombre-md); }

/* ============================================
   SECTIONS UTILITAIRES
   ============================================ */
.section { padding: var(--section-py) 0; }
.section-sm { padding: 4rem 0; }
.section-lg { padding: 8rem 0; }

.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .lead { margin: 0.8rem auto 0; }

.bg-creme2  { background: var(--creme2); }
.bg-white   { background: var(--blanc); }
.bg-vert    { background: var(--vert-fonce); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr;       gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }

.gap-sm { gap: 1rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 2.5rem; }

/* ============================================
   BADGES FLOTTANTS (hero)
   ============================================ */
.badge-float {
  position: absolute;
  background: var(--creme);
  border: 1px solid var(--creme3);
  border-radius: var(--r-md);
  padding: 0.8rem 1rem;
  box-shadow: var(--ombre-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.badge-float-num {
  font-family: var(--font-titre);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--vert-fonce);
  line-height: 1;
}
.badge-float-label {
  font-size: 0.68rem;
  color: var(--texte-doux);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.badge-float-green {
  background: var(--vert);
  border: none;
  color: var(--blanc);
  flex-direction: row;
  gap: 0.7rem;
}
.badge-float-green .badge-float-text {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.3;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--texte);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blanc);
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--vert-clair); }
.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 1.5rem;
}
.footer-socials { display: flex; gap: 0.75rem; }
.footer-social {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.footer-social:hover { background: var(--vert); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.6); }

.footer-col h5 {
  font-family: var(--font-corps);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--vert-clair); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-fade-up   { animation: fadeUp 0.6s ease both; }
.anim-fade-in   { animation: fadeIn 0.5s ease both; }
.delay-1  { animation-delay: 0.1s; }
.delay-2  { animation-delay: 0.25s; }
.delay-3  { animation-delay: 0.4s; }
.delay-4  { animation-delay: 0.55s; }
.delay-5  { animation-delay: 0.7s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-2  { grid-template-columns: 1fr; gap: 3rem; }
  .grid-4  { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .testimonial-grid { grid-template-columns: repeat(2,1fr); }
  .stats-bar .container { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
}

@media (max-width: 768px) {
  :root { --section-py: 4rem; }
  .container { padding: 0 1.25rem; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--creme);
    padding: 2rem 1.5rem;
    gap: 0.5rem;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-toggle { display: flex; }

  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.span-2 { grid-column: span 1; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .img-mosaic { grid-template-columns: 1fr; }
  .img-mosaic-tall { grid-row: span 1; aspect-ratio: 16/9; }
}
