/* ===================
   BASE (sans media)
   =================== */

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


:root {
  /* === COULEURS  === */
  --primary: #59B031;      /* Vert */
  --secondary: #EC6530;    /* Orange*/
  --dark: #15243C;         /* Bleu foncé */
  --text: #393333;         /* Texte noir */
  --light: #F5F5F5;        /* Gris background */
  --white: #FFFFFF;
  --blue-roi: #2E4495;     /* Bleu roi */
  --blue-var: #526CCE;     /* Bleu variable */
  --blue-card: #5B7FB8;    /* ← AJOUTE cette ligne - Bleu des cartes */
  
  /* === TYPOGRAPHIE  === */
  --font-title: 'Montserrat', sans-serif;   /* Titres, Menu */
  --font-text: 'Poppins', sans-serif;       /* Corps de texte */
  --font-accent: 'Roboto', sans-serif;      /* Accents */
}

html {
  scroll-behavior: smooth;
}
  
/* Compensation pour le header fixe lors du scroll vers les ancres */
section[id] {
  scroll-margin-top: 50px;
}


/* === TYPOGRAPHIE === */
body {
  font-family: var(--font-text);  /* Poppins */
  font-size: 14.4px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);  /* Montserrat */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* === CONTAINER & LAYOUT === */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.5rem;              
  
}

.section {
  padding: 4rem 0;
}

/* ====================================
   HEADER & NAVIGATION (MOBILE FIRST)
   ==================================== */

/* Header principal */
header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1003;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  max-width: 1250px;
  margin: 0 auto;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.logo img {
  height: 40px;          /* Plus petit en mobile */
  width: auto;
  display: block;
  margin: 0;
}

.logo:hover {
  opacity: 0.8;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Bloc navigation desktop (masqué sur mobile) */
.nav-desktop {
  display: none;
}

/* Bouton CTA desktop (masqué sur mobile) */
.btn-desktop {
  display: none;
}

/* Liens de navigation */
nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav li {
  margin: 0;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.4rem 0.7rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--secondary);
}

/* Soulignement animé */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

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

.nav-link.active {
  color: var(--secondary);
}

/* Bouton CTA Header */
.header-cta {
  background: var(--secondary);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: capitalize;
  transition: all 0.3s ease;
  margin-left: 0.5rem;
  border: 2px solid var(--secondary);
}

.header-cta:hover {
  background: var(--blue-card);
  border-color: var(--blue-card);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 111, 165, 0.3);
}

.header-cta.active {
  background: var(--blue-card);
  border-color: var(--blue-card);
  color: var(--white);
}

/* ======================
   MENU BURGER - MOBILE
   ====================== */

/* Burger visible en mobile */
.burger-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1005;
  position: relative;
}

.burger-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animation burger → X */
.burger-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger-toggle.active span:nth-child(2) {
  opacity: 0;
}

.burger-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu mobile (caché par défaut, affiché avec .active en JS) */
.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.active {
  pointer-events: auto;
  visibility: visible;
}

/* Overlay sombre */
.mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.active .mobile-menu-overlay {
  opacity: 1;
}

/* Contenu du menu */
.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 400px;
  height: 100%;
  background: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

/* Liens du menu mobile */
.mobile-menu-link {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.9rem 3rem; 
  border-radius: 4px; 
  display: block; 
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  transition: color 0.3s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: rgba(0, 0, 0, 0.05);
  color: var(--secondary);
}

.mobile-menu-link.active {
  border-bottom-color: var(--secondary);
}

/* ====================================
   BOUTONS GÉNÉRAUX
   ==================================== */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
  box-shadow: 0 4px 15px rgba(236, 101, 48, 0.25);
}

.btn-primary:hover {
  background: var(--blue-card);
  border-color: var(--blue-card);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 127, 184, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--blue-card);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-desktop {
  display: none;   /* caché par défaut = mobile */
}

/* Bouton CTA dans menu mobile */
a.btn.mobile-menu-cta {
 display: inline-flex;       /* s'affiche bien dans le flux */
  justify-content: center;
  /*margin-top: auto;           /* pousse le bouton en bas du panneau */
  margin-top: 2rem;
  width: calc(100% - 2rem); /* pour compenser le marge gauche/droite */
}

/* ============================================
   BREADCRUMBS STYLES
   ============================================ */


.breadcrumbs {
  display: block;
  width: 100%;
  margin: 0 0 3rem;
  padding: 0.75rem 1rem;
  background: transparent;
  text-align: left;
  justify-content: flex-start;
}

/* Liste horizontale, un peu scrollable si ça déborde */
.breadcrumbs__list {
  display: flex;
   flex-wrap: wrap;   
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: normal;      
  overflow-x: visible;      
  
}

/* Petites séparations, etc. */
.breadcrumbs__item {
  display: flex;
  align-items: center;
  font-size: 0.75rem; 
}


.breadcrumbs__item a,
.breadcrumbs__current {
  font-size: 0.8rem;
  color: #0064d2; /* bleu Modusol */
  text-decoration: none;
  font-weight: 500;
}

.breadcrumbs__current {
  color:var(--font-text); /* Couleur texte normal */
}

.breadcrumbs__separator {
   margin: 0 0.25rem;
  color: #777;
  font-size: 1rem;
}
.breadcrumbs__link {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs__link:hover {
  color:var(--secondary);
  text-decoration: none;
}

/* Icône Accueil */
.breadcrumbs__home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.25rem;
 /* margin-top: 2px;*/
}

.breadcrumbs__home-svg {
  width: 1.3rem;
  height: 1.3rem;
}

/* Visually hidden (accessibilité) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Par défaut (MOBILE) : on masque les items intermédiaires */
.breadcrumbs__item.breadcrumbs__item--mobile-hidden {
  display: none;
}


/* === HERO SECTION === */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 3rem 1rem 2rem;   /* mobile */
  min-height: 600px;         /* mobile */
}

/* Image + overlay identiques partout */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-picture {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(21, 36, 60, 0.40) 0%,
    rgba(46, 68, 149, 0.35) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 100%;
  padding: 0 1rem;
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  text-transform: capitalize;
}

/* Bandeau orange */
.hero-badge {
  display: inline-block;
  background: var(--secondary);
  padding: 0.6rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(236, 101, 48, 0.4);
}

.hero-badge span {
  font-family: var(--font-title);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.5;
  text-transform: capitalize;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3); 
}

.hero-buttons {
  display: flex;
  flex-direction: column;   /* stack en mobile */
  gap: 1rem;
  width: 100%;
}

.hero-buttons .btn {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

/* === SECTION INTRODUCTION === */

.intro-layout {
  display: grid;
  grid-template-columns: 1fr;   /* Mobile : 1 colonne */
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.intro-image-wrapper {
  position: relative;
  max-width: 520px;
  margin: 0 auto;               /* centre l'image en mobile */
}

.intro-image {
  width: 100%;
  max-height: 400px;            /* limite la hauteur en mobile */
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  object-fit: cover;
}

.intro-content {
  text-align: left;
}

/* Titre */
.intro-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--dark);
  margin-bottom: 1.2rem;
  line-height: 1.3;
  text-transform: uppercase;
  font-weight: 700;
}

/* Texte + liste */
.intro-content p {
  color: var(--text);
  line-height: 1.7;  /* confortable partout, comme tu aimais sur mobile */
  margin-bottom: 0.5rem;
  font-size: clamp(0.95rem, 1.8vw, 1rem);
}

.intro-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.intro-list li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text);
  line-height: 1.7;
  font-size: clamp(0.95rem, 1.8vw, 1rem);
}

.intro-list li::before {
  content: "•";
  position: absolute;
  left: 0.3rem;
  top: 0.5rem;
  color: var(--secondary);
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1;
}



/* === UTILITIES === */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }


/* === SECTION PRESTATIONS === */

#prestations {
  background: linear-gradient(
    to bottom,
    #F5F5F5 0%,
    #F5F5F5 60%,
    #15243C 60%,
    #15243C 100%
  );
}

/* En-tête de la section */
.prestations-header {
  display: grid;
  grid-template-columns: 1fr;   /* Mobile : 1 colonne */
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.prestations-title-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: white;
  border: 2px solid #D0D0D0;
  color: var(--secondary);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  width: fit-content;
}

.prestations-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--dark);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

/* Encadré d’intro */
.prestations-intro-box {
  width: 100%;
  background: linear-gradient(185deg, #15243C 24%, #4A76C3 77%);
  padding: 0 12px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  position: relative;
}

.prestations-intro-box p {
  color: var(--text);
  background-color: white;
  line-height: 1.7;
  font-size: clamp(0.95rem, 1.6vw, 1rem);
  padding: 15px;
  border-radius: 30px 25px 25px 30px;
  margin: 0;
}

/* Grille des 3 cartes */
.prestations-grid {
  display: grid;
  grid-template-columns: 1fr;      /* Mobile : 1 carte par ligne */
  gap: 1.5rem;
}

/* Carte avec image de fond */
.prestation-card-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;               /* Mobile */
  display: flex;
  align-items: center;
  justify-content: center;
}

.prestation-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.prestation-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.6) 100%
  );
  z-index: 2;
}

/* Contenu de la carte */
.prestation-content {
  position: relative;
  z-index: 3;
  padding: 1.75rem 1.5rem 2rem;
  width: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(1px);
  border-radius: 12px;
  margin: 0.75rem;
  text-align: center;              /* Mobile : centré */
}

.prestation-badge {
  display: block;
  text-align: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  border-radius: 4px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.prestation-badge-orange { background: var(--secondary); }
.prestation-badge-blue   { background: var(--blue-roi); }
.prestation-badge-green  { background: var(--primary); }

/* Liste avec checkmarks */
.prestation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  text-align: left;
}

.prestation-list li {
  padding: 0.6rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
  font-size: clamp(0.9rem, 1.5vw, 0.95rem);
}

.prestation-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.check-orange::before { color: var(--secondary); }
.check-blue::before   { color: var(--blue-roi); }
.check-green::before  { color: var(--primary); }


/* === SECTION APPROCHE === */
#approche .container {
  display: grid;
  grid-template-columns: 1fr;   /* Mobile : 1 seule colonne */
  gap: 2.5rem;                  /* un peu moins serré que 3rem */
  align-items: start;
}


/* Partie gauche */
.approche-header-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%; 
}

.approche-header-left .btn {
  width: fit-content;
  padding: 0.9rem 2rem;
  align-self: center;                /* Centré */
}

.approche-header-left h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--dark);
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
}

.approche-header-left p {
  color: var(--text);
  line-height: 1.7;
  font-size: clamp(0.95rem, 1.6vw, 1rem);
  margin: 0;
}

/* Image dans la colonne de gauche */
.approche-image {
  width: 100%;
  flex: 1; 
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  object-fit: cover;
  margin-top: 1rem;              /* Espace avec le bouton */
  min-height: 300px;  
}

/* Les 4 cartes à droite */
.approche-cards-grid {
  display: grid;
  grid-template-columns: 1fr;   /* Mobile : 1 carte par ligne */
  gap: 1.5rem;
  align-content: start;
}


.approche-card {
  padding: 2rem 1.8rem;
  border-radius: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.approche-card-blue {
  background: #5B7FB8;
}

.approche-card-green {
  background: #6DB04A;
}

.approche-card-icon {
  width: 60px;
  height: 60px;
  background: transparent;
  border: 2px solid white; 
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
}

.approche-card-icon svg {
  color: white;  
}

.approche-card-green .approche-card-icon svg {
  color: white;  
}

.approche-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  margin: 0 0 1rem 0;;
  line-height: 1.3;
  text-align: center; 
}

.approche-card p {
  font-size: clamp(0.9rem, 1.5vw, 0.95rem);
  line-height: 1.6;
  color: white;
  margin: 0;
  opacity: 0.95;
}




/* ====================================
   SECTION AMÉNAGEMENTS
   ==================================== */

.amenagements {
  background: radial-gradient(circle at center 60%, #1989E9 18%, #00223F 67%);
  padding: 3rem 0; /* mobile */
}

/* Header : mobile = 1 colonne */
.amenagements-header {
  display: grid;
  grid-template-columns: 1fr;  /* 1 colonne en mobile */
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.amenagements-header-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.amenagements-header-left h2 {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.amenagements-intro {
  width: 100%;
  background: linear-gradient(185deg, #2A5292 24%, #568AE5 77%);
  padding: 0 12px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  position: relative;
}

.amenagements-intro p {
  color: var(--text);
  background-color: white;
  line-height: 1.7;
  font-size: clamp(0.95rem, 1.6vw, 1rem);
  padding: 15px;
  border-radius: 30px 25px 25px 30px;
  margin: 0;
}

/* Grille des 3 cartes : mobile = 1 colonne */
.amenagements-grid {
  display: grid;
  grid-template-columns: 1fr;  /* 1 carte par ligne */
  gap: 1.5rem;
}

/* Carte individuelle */
.amenagements-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.amenagements-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Image de la carte */
.amenagements-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.amenagements-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; 
  transition: transform 0.3s ease;
}

.amenagements-card:hover .amenagements-card-image img {
  transform: scale(1.05);
}

/* Contenu de la carte */
.amenagements-card-content {
  padding: 1.5rem;    /* mobile : un peu plus compact */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

/* Titre de la carte (badge coloré) */
.amenagements-card-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  padding: 0.75rem 1.5rem;
  color: white;
  margin: 0;
  letter-spacing: 0.5px;
}

.amenagements-card-title.badge-orange { background: var(--secondary); }
.amenagements-card-title.badge-blue   { background: var(--blue-roi); }
.amenagements-card-title.badge-green  { background: var(--primary); }

/* Liste avec checkmarks colorés */
.amenagements-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.amenagements-card-list li {
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  padding-left: 2rem;
  position: relative;
}

.amenagements-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.checkmark-orange::before { color: var(--secondary); }
.checkmark-blue::before   { color: var(--blue-roi); }
.checkmark-green::before  { color: var(--primary); }



/* ====================================
   SECTION REVÊTEMENTS
   ==================================== */

.revetements {
  background: #f8f9fa;
  padding: 3rem 0; /* mobile */
}

/* Header : mobile = 1 colonne empilée */
.revetements-header {
  display: grid;
  grid-template-columns: 1fr;  /* mobile */
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.revetements-header-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.revetements-header-left h2 {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.revetements-intro {
  background: linear-gradient(185deg, #15243C 24%, #4A76C3 77%);
  padding: 0 12px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.revetements-intro p {
  background: white;
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  padding: 15px;
  color: var(--text);
  border-radius: 30px 25px 25px 30px;
  margin: 0;
}

/* Carte revêtement : mobile = colonne (image > contenu > stats) */
.revetement-card {
  display: flex;
  flex-direction: column;   /* mobile : tout empilé */
  gap: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.revetement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Colonne 1 : Image */
.revetement-image {
  width: 100%;
  height: 220px;      /* mobile */
  overflow: hidden;
}

.revetement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.revetement-card:hover .revetement-image img {
  transform: scale(1.05);
}

/* Colonne 2 : Contenu central */
.revetement-content {
  padding: 1.5rem;   /* mobile */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.revetement-content h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  letter-spacing: 0.5px;
}

.revetement-content p {
  font-family: var(--font-text);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.revetement-content h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1rem 0 0.5rem 0;
}

/* Liste avantages avec checkmarks */
.revetement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.revetement-list li {
  font-family: var(--font-text);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  padding-left: 1.8rem;
  position: relative;
}

.revetement-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.1rem;
}

.checkmark-purple::before { color: #7A1F5C; }
.checkmark-blue::before   { color: var(--blue-card); }
.checkmark-green::before  { color: var(--primary); }
.checkmark-blueroi::before{ color: var(--blue-roi); }
.checkmark-orange::before { color: var(--secondary); }
.checkmark-dark::before   { color: var(--dark); }

/* Colonne 3 : Stats colorées */
.revetement-stats {
  padding: 1.5rem;     /* mobile */
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: white;
  border-radius: 0 0 20px 20px;   /* mobile : en bas de la carte */
}

.revetement-stats-purple {
  background: linear-gradient(135deg, #7A1F5C 0%, #5a1744 100%);
}
.revetement-stats-blue {
  background: linear-gradient(135deg, #5B7FB8 0%, #4a6a9a 100%);
}
.revetement-stats-green {
  background: linear-gradient(135deg, #59B031 0%, #479426 100%);
}
.revetement-stats-blueroi {
  background: linear-gradient(135deg, #2E4495 0%, #1f2e6b 100%);
}
.revetement-stats-orange {
  background: linear-gradient(135deg, #EC6530 0%, #d14f1e 100%);
}
.revetement-stats-dark {
  background: linear-gradient(135deg, #15243C 0%, #0d1625 100%);
}

/* Liste critères avec étoiles */
.stats-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-text);
  font-size: 0.95rem;
  font-weight: 600;
}

.stat-label {
  color: white;
}

.stat-stars {
  font-size: 1rem;
  letter-spacing: 2px;
}

/* Surface idéale */
.surface-ideale {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.surface-label {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1rem 0;
  text-align: center;
}

.surface-tags {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-text);
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  text-align: center;
  letter-spacing: 0.5px;
}


/* ========
   FOOTER
   ======== */

.footer {
  background: linear-gradient(135deg, #15243C 0%, #1e3454 100%);
  padding: 3rem 0 0;     /* mobile : un peu plus compact */
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;   /* mobile : 1 colonne */
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Colonne 1 : Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center; /* Centre tout */
  text-align: center;  /* Centre le texte */
}

.footer-logo {
  width: 60px;
  height: auto;
  display: block;
  margin: 0 auto; 
}

.footer-baseline {
  font-family: var(--font-text);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-align: center; /* Centre le texte baseline */
}

.footer-contact {
  display: flex;
  flex-direction: row; /* Changé de column à row */
  gap: 2rem; /* Augmenté l'espace entre tél et email */
  justify-content: center; /* Centre les éléments */
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-text);
  font-size: 0.95rem;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item:hover {
  color: var(--secondary);
}

.footer-contact-item svg {
  flex-shrink: 0;
}

/* Réseaux sociaux (pour activation future) */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

/* Colonne 2 : Liens */
.footer-links h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-family: var(--font-text);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Colonne 3 : CTA vers contact */
.footer-cta h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-cta-text {
  font-family: var(--font-text);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem 0;
}

.footer-cta .btn {
  max-width: 100%;
  justify-content: center;
}

/* Barre du bas */
.footer-bottom {
  display: flex;
  flex-direction: column;       /* mobile : en colonne */
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-copyright {
  font-family: var(--font-text);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-direction: column;       /* mobile : liens les uns sous les autres */
  gap: 1rem;
}

.footer-legal a {
  font-family: var(--font-text);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--secondary);
}


/* ====================================
   PAGE CONTACT
   ==================================== */

/* Hero Contact - base mobile */
.hero-contact {
  position: relative;
  min-height: 320px;
  background-image: url('/assets/images/header-contact.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-contact-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 900px;
  padding: 3rem 1.5rem;   /* mobile */
}

.hero-contact h1 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
}

.hero-contact p {
  font-family: var(--font-text);
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  margin: 0;
}

/* Section Formulaire - base mobile */
.contact-form-section {
  background: #f8f9fa;
  padding: 3rem 0;        /* mobile */
 
}

.contact-form {
  background: white;
  border-radius: 20px;
  padding: 1.5rem 1rem; /* mobile */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 100%; /* Ajoute cette ligne */
  margin: 0 auto;  /* Centre le formulaire */
}

/* Sections du formulaire */
.form-section {
  margin-bottom: 2.5rem;
}

.form-section:last-of-type {
  margin-bottom: 2rem;
}

.form-section h2 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 1.5rem 0;
}

.form-section h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 1rem 0;
}

/* Grid pour les champs - mobile : 1 colonne */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;   /* mobile */
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.form-full {
  grid-column: 1 / -1;
}

/* Inputs et textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  padding: 1rem 1rem;
  width: 100%;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--text);
  transition: all 0.3s ease;
  background: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(89, 176, 49, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

/* Champs obligatoires */
.form-required {
  font-family: var(--font-text);
  font-size: 0.9rem;
  color: var(--secondary);
  margin: 1rem 0 0 0;
  font-style: italic;
}

/* Checkboxes - base mobile : 1 colonne */
.form-checkboxes {
  display: grid;
  grid-template-columns: 1fr;   /* mobile */
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.checkbox-label:hover {
  background: rgba(89, 176, 49, 0.05);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary);
}

.checkbox-label span {
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--text);
}

/* Bouton submit */
.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.form-submit .btn {
  width: 100%;           /* mobile : pleine largeur */
  max-width: 320px;
  justify-content: center;
  font-size: 0.9rem;
}

/* ====================================
   MODALE DE CONFIRMATION
   ==================================== */

/* Overlay (fond sombre) - CACHÉ PAR DÉFAUT */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

/* Modale visible */
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Contenu de la modale */
.modal-content {
  background: white;
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* Icône check */
.modal-icon {
  margin: 0 auto 2rem;
  animation: checkmark 0.8s ease;
}

@keyframes checkmark {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Titre modale */
.modal-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

/* Texte modale */
.modal-text {
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 2rem;
}

/* Bouton fermeture */
.modal-close {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    padding: 2rem 1.5rem;
  }
  
  .modal-title {
    font-size: 1.5rem;
  }
  
  .modal-text {
    font-size: 1rem;
  }
}


/* ========================================
   PAGE MERCI
========================================= */
.hero-merci {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4A5568 0%, #48BB78 100%);
  color: var(--white);
  padding-bottom: 3rem;
}

.merci-content {
  text-align: center;
  max-width: 600px;
  padding: 2rem;
}

.merci-content .check-icon {
  color: var(--white);
  margin-bottom: 2rem;
  animation: scaleIn 0.5s ease-out;
}

.merci-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.merci-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.merci-content .btn {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.merci-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  background: var(--secondary);
  color: var(--white);
  border-color: var(--white);
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========================================
   CONTENU PAGES LÉGALES
========================================= */
.hero-legal {
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark) 25%, var(--blue-roi) 100%);
  color: var(--white);
  text-align: center;
}

.hero-legal-content {
  max-width: 800px;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-icon {
  color: var(--white);
  opacity: 0.80;
}

/* Titres H1 */
.hero-legal h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding: 0 0 0.75rem 1rem;
  
  font-weight: 700;
}

/* Conteneur légal - BASE = MOBILE */
.legal-content {
  padding: 2rem 0;              /* avant : 4rem, on prend la valeur mobile */
  background: var(--light);
}

.legal-text {
  max-width: 900px;
  /* MOBILE : on utilise la marge latérale */
  margin: 0 1rem;               /* avant : 0 auto */
  background: var(--white);
  padding: 2rem 1.5rem;         /* déjà identique à la version mobile */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  line-height: 1.8;
}

/* Titres H2 – BASE MOBILE */
.legal-text h2 {
  color: var(--dark);
  font-size: 1.5rem;            /* avant : 1.8rem, on prend la valeur mobile */
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0,0,0,0.1);
  font-weight: 700;
}

/* Titres H3 */
.legal-text h3 {
  color: var(--dark);
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Paragraphes */
.legal-text p {
  margin-bottom: 1.2rem;
  color: var(--text);
}

.legal-text p strong {
  color: var(--dark);
  font-weight: 600;
}


/* Listes – BASE MOBILE */
.legal-text ul, 
.legal-text ol {
  margin-left: 1.5rem;          /* avant : 2rem, on prend la valeur mobile */
  margin-bottom: 1.5rem;
}

.legal-text li {
  margin-bottom: 0.6rem;
  color: var(--text);
}

.legal-text li strong {
  color: var(--dark);
  font-weight: 600;
}

.legal-text h2:first-of-type {
  margin-top: 0; /* Premier titre sans marge haute */
}


/* Liens */
.legal-text a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-text a:hover {
  color: var(--secondary);
}

/* Date de mise à jour */
.legal-update {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light);
  color: var(--text);
  font-size: 0.9rem;
  text-align: center;
  font-style: italic;
}


/* ====================================
   PAGE 404 ERROR - BASE MOBILE
   ==================================== */

.error-404 {
  padding: 3rem 0;   /* valeur de la version ≤ 480px */
  background: var(--white);
  min-height: calc(100vh - 80px - 300px);
}

.container-404 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;   /* valeur mobile */
  display: grid;
  grid-template-columns: 1fr;  /* mobile : 1 colonne */
  gap: 2rem;                   /* valeur mobile */
  align-items: center;
}

.error-content {
  max-width: 100%;             /* comme ≤ 968px */
  text-align: center;          /* comme ≤ 968px */
}

.error-title {
  font-family: var(--font-title);
  font-size: 1.6rem;           /* valeur ≤ 480px */
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.error-text {
  font-family: var(--font-text);
  font-size: 1rem;             /* valeur ≤ 480px */
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.error-content .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  width: 100%;                 /* valeur mobile */
  justify-content: center;     /* valeur mobile */
}

.error-content .btn-primary span {
  font-size: 1.5rem;
  font-weight: bold;
}

.error-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  order: -1;                   /* image en haut en base (mobile) */
}

.error-image img {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}



/* ==========================================
   RESPONSIVE - MOBILE - APRES REFACTORING
   =========================================== */


    /* =============================
   ≥ 768PX : DESKTOP STANDARD
   ================================== */

   @media (min-width: 768px) {

     main, header {
    padding: 0 0.8rem;
  }
/* ----- BREADCRUMBS ----- */  

.breadcrumbs {
    display: block;          /* ← on le montre à partir de 768px */
    padding: 1rem 1.5rem;
  }
.breadcrumbs__item--mobile-hidden {
    display: inline-flex;
  }

  .breadcrumbs__list {
    flex-wrap: nowrap;      /* une ligne si possible */
    white-space: nowrap;
  }

  /* ----- HERO ----- */  
  .hero {
    min-height: 500px;
     align-items: center;  
    padding: 4rem 2rem 3rem;
    height: auto;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
    padding: 0 2rem;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-buttons .btn {
    width: auto;
    max-width: none;
    
  }

/* ----- INTRO ----- */ 

.intro-layout {
    gap: 2.5rem;
  }

  .intro-image-wrapper {
    max-width: 600px;
  }

  .intro-content h2 {
    font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  }

  /* ----- PRESTATIONS ----- */ 

  .prestations-header {
    gap: 2.5rem;
  }

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

  /* 3ᵉ carte plein largeur au centre */
  .prestations-grid .prestation-card-image:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 60%;
    margin: 0 auto;
  }

  .prestation-card-image {
    min-height: 380px;
  }

  .prestation-content {
    margin: 1rem;
  }

    /* ----- APPROCHE ----- */ 

    /* APPROCHE : cartes en 2 colonnes sur tablette */
  .approche-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ----- AMENAGEMENTS----- */ 

  /* AMÉNAGEMENTS - 2 colonnes sur tablette */
  .amenagements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* 3ᵉ carte plein largeur, centrée */
  .amenagements-grid .amenagements-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 60%;
    margin: 0 auto;
  }

    /* ----- REVETEMENTS ----- */  

    .revetements {
    padding: 3.5rem 0;
  }

  .revetements-header {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .revetement-card {
    margin-bottom: 2.5rem;
  }

  .revetement-image {
    height: 260px;
  }

  /* ----- PAGE CONTACT ----- */  


  .hero-contact {
    min-height: 400px;
    padding: 4rem 2rem;
  }

  .hero-contact-content {
    padding: 4rem 2rem;
  }

  .contact-form-section {
    padding: 4rem 0;
  }

  .contact-form {
    padding: 3rem;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);  /* 2 colonnes */
  }

  .form-checkboxes {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .form-submit .btn {
    min-width: 300px;    /* comme avant, mais seulement en ≥ 768px */
  }


   /* --- PAGES LÉGALES --- */

  .legal-content {
    padding: 4rem 0;       /* ancienne valeur desktop */
  }

  .legal-text {
    margin: 0 auto;        /* recentré sur grand écran */
  }

  .legal-text h2 {
    font-size: 1.8rem;     /* ancienne valeur desktop */
  }

  .legal-text ul, 
  .legal-text ol {
    margin-left: 2rem;     /* ancienne valeur desktop */
  }

  /* ====================================
   PAGE 404 ERROR - BASE MOBILE
   ==================================== */

.error-404 {
  padding: 3rem 0;   /* valeur de la version ≤ 480px */
  background: var(--white);
  min-height: calc(100vh - 80px - 300px);
}

.container-404 {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;   /* valeur mobile */
  display: grid;
  grid-template-columns: 1fr;  /* mobile : 1 colonne */
  gap: 2rem;                   /* valeur mobile */
  align-items: center;
}

.error-content {
  max-width: 100%;             /* comme ≤ 968px */
  text-align: center;          /* comme ≤ 968px */
}

.error-title {
  font-family: var(--font-title);
  font-size: 1.6rem;           /* valeur ≤ 480px */
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.error-text {
  font-family: var(--font-text);
  font-size: 1rem;             /* valeur ≤ 480px */
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.error-content .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  width: 100%;                 /* valeur mobile */
  justify-content: center;     /* valeur mobile */
}

.error-content .btn-primary span {
  font-size: 1.5rem;
  font-weight: bold;
}

.error-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  order: -1;                   /* image en haut en base (mobile) */
}

.error-image img {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


}

/* === TABLETTE LANDSCAPE — 992 → 1199px === */

@media (min-width: 992px) and (max-width: 1199px) {

  /* on garde le header en version "compacte" */
  .header-content {
    max-width: 100%;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }

  /* on cache le menu desktop */
  .nav-desktop {
    display: none;
  }

  /* on cache le CTA desktop */
  .btn-desktop {
    display: none;
  }

  /* on AFFICHE le burger */
  .burger-toggle {
    display: flex;
  }
}




   /* =============================
   ≥ 992PX : DESKTOP STANDARD
   ================================== */

@media (min-width: 992px) {

  

  /* ----- HERO ----- */  

.hero {
    height: 80vh;
    min-height: 650px;
    padding: 0;
  }

  .hero-content {
    max-width: 1000px;
    padding: 1rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 3rem;
  }

  .hero-badge {
    margin-bottom: 3rem;
  }

  .hero-subtitle {
    font-size: clamp(1.1rem, 2.1vw, 1.3rem);
    margin-bottom: 3rem;
  }

  /* ----- INTRO ----- */  

  .intro-layout {
    grid-template-columns: 45% 1fr;  /* comme ton layout actuel */
    gap: 3.5rem;
    align-items: stretch;
  }

  .intro-image-wrapper {
    max-width: none;
    margin: 0;
  }

  .intro-image {
    height: 100%;          /* retrouve ton comportement actuel desktop */
    max-height: none;
  }


    /* ----- PRESTATIONS ----- */  

    .prestations-header {
    grid-template-columns: 30% 1fr;
    gap: 3rem;
  }

  .prestation-card-image {
    align-items: flex-end;
    min-height: 480px;
  }

  .prestation-content {
    text-align: left;          /* Desktop : aligné à gauche */
    min-height: 320px;
    margin: 1.5rem;
  }

/* ----- APPROCHE----- */  
  /* APPROCHE : deux colonnes - gauche = image/texte, droite = cartes */
  #approche .container {
    grid-template-columns: 40% 1fr;
    gap: 3rem;
  }

  /* ----- AMENAGEMENTS ----- */  
  /* AMÉNAGEMENTS - header 2 colonnes */
  .amenagements {
    padding: 4rem 0;  /* on remonte à 4rem sur desktop */
  }

  .amenagements-header {
    grid-template-columns: 31% 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  /* Grille 3 colonnes */
  .amenagements-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* On annule le span de la 3ᵉ carte sur grand écran */
  .amenagements-grid .amenagements-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

  .amenagements-card-content {
    padding: 2rem;   /* plus d’air sur desktop */
  }

   /* ----- REVETEMENTS ----- */ 

   .revetements {
    padding: 4rem 0;
  }

  .revetements-header {
    grid-template-columns: 31% 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  /* Carte revêtement en 3 colonnes : image / contenu / stats */
  .revetement-card {
    display: grid;
    grid-template-columns: 30% 40% 30%;
    gap: 0;
  }

  .revetement-image {
    height: 100%;
    min-height: 400px;
  }

  .revetement-content {
    padding: 2rem;
  }

  .revetement-stats {
    padding: 2rem 1.5rem;
    border-radius: 0 20px 20px 0; /* colonne droite */
  }

  /* ----- FOOTER ----- */

   .footer {
    padding: 4rem 0 0;        /* on repasse à 4rem sur desktop */
  }

  .footer-main {
    grid-template-columns: 35% 20% 35%;
    gap: 3rem;
    padding-bottom: 3rem;
  }

  .footer-bottom {
    flex-direction: row;      /* ligne */
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .footer-legal {
    flex-direction: row;      /* liens sur une ligne */
    gap: 2rem;
  }

  /* --- 404 - DESKTOP --- */
  .error-404 {
    padding: 6rem 0;          /* valeur desktop d'origine */
  }

  .container-404 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .error-content {
    max-width: 500px;
    text-align: left;         /* comme la base d'origine */
  }

  .error-content .btn-primary {
    width: auto;
    justify-content: flex-start;
  }

  .error-image {
    order: 0;                 /* image rebasculée à droite */
  }

}

/* ======================
   ≥ 1200PX : GRAND STANDARD
   ====================== */
@media (min-width: 1200px) {

   /* ----- HEADER ----- */  

  .header-content {
    padding: 1rem;
    max-width: 1400px;
    gap: 1rem;
  }

  .logo img {
    height: 48px;
  }

  /* Nav desktop visible */
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.90rem;
  }

  nav ul {
    gap: 2rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .btn-desktop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  /* On cache le burger et le menu mobile sur desktop */
  .burger-toggle,
  .mobile-menu {
    display: none;
  }

    /* ----- HERO ----- */  

.hero-content {
    max-width: 1100px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 4vw, 3.8rem);
  }

  /* ----- HEADER ----- */  

  .intro-layout {
    gap: 4rem;
  }

  .intro-content h2 {
    font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  }

  /* ----- PRESTATIONS ----- */ 

  .prestations-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* On annule le span de la 3ᵉ carte sur grands écrans */
  .prestations-grid .prestation-card-image:nth-child(3) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

}

/* ======================
   ≥ 1500PX : TRÈS GRANDS ÉCRANS
   ====================== */

@media (min-width: 1500px) {
  .header-content {
    max-width: 1500px;
    margin: 0 auto;
    gap: 2rem;
    padding: 1rem 2rem;
  }

   .btn-desktop {
    padding: 0.75rem 1.2rem;
    font-size: 1rem;
  }

  .nav-desktop {
    gap: 2rem;
  }

   .nav-link {
    font-size: 1rem;
    padding: 0.75rem;
  }
}





