/* =====================================================================
   REVEIL TP — Feuille de style
   Approche mobile-first. Sections : variables, base, composants, layout.
   Palette inspirée du logo (rouge + bleu canard) et du secteur BTP.
===================================================================== */

/* ===================== Variables (couleurs, espacements) ===================== */
:root {
  /* Couleurs de marque */
  --canard:        #1F637E;   /* bleu canard — couleur principale */
  --canard-dark:   #0A464C;
  --canard-light:  #14757E;
  --rouge:         #E1242B;   /* rouge — accent / boutons d'action */
  --rouge-dark:    #A82B22;

  /* Neutres */
  --anthracite:    #232a2c;   /* texte foncé / sections sombres */
  --gris-fonce:    #404a4c;
  --gris:          #6b7678;
  --gris-clair:    #e8ecec;
  --beige:         #f5f3ef;   /* fond alterné chaleureux */
  --blanc:         #ffffff;

  /* Typographie */
  --font-titre: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-texte: "Source Sans 3", system-ui, -apple-system, sans-serif;

  /* Divers */
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 8px 24px rgba(20, 35, 38, 0.10);
  --shadow-lg: 0 18px 40px rgba(20, 35, 38, 0.16);
  --max-width: 1160px;
  --transition: 0.25s ease;
}

/* ===================== Reset / base ===================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gris-fonce);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--canard); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--canard-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-titre);
  line-height: 1.1;
  color: var(--anthracite);
  margin: 0 0 0.5em;
  letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); text-transform: uppercase; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1rem; }

/* Accessibilité : focus visible au clavier */
:focus-visible {
  outline: 3px solid var(--canard-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Lien d'évitement */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--anthracite);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ===================== Conteneur ===================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===================== Boutons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-titre);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }

.btn-accent { background: var(--rouge); color: #fff; box-shadow: 0 6px 16px rgba(200, 54, 43, 0.30); }
.btn-accent:hover { background: var(--rouge-dark); color: #fff; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-lg { padding: 1rem 2rem; font-size: 1.15rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* Bouton contour foncé (pour fonds clairs) */
.btn-outline { background: transparent; color: var(--canard); border-color: var(--canard); }
.btn-outline:hover { background: var(--canard); color: #fff; }

/* ===================== En-tête / navigation ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gris-clair);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.logo {
  font-family: var(--font-titre);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.logo-mark { color: var(--canard); }
.logo-accent {
  color: #fff;
  background: var(--rouge);
  padding: 0.05em 0.4em;
  border-radius: 6px;
}

/* Logo image (en-tête) — le visuel est carré (lion + texte) */
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-family: var(--font-titre);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--anthracite);
}
.nav-menu a:hover { color: var(--canard); }
.nav-menu .btn { color: #fff; }

/* Bouton hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--anthracite);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding: 5rem 0;
  color: #fff;
  /* TODO : remplace l'image par une belle photo de chantier (assets/images/hero.jpg) */
  background: linear-gradient(120deg, var(--canard-dark), var(--canard)) , url("../assets/images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,35,38,0.25), rgba(20,35,38,0.65));
}
.hero-content { position: relative; max-width: 720px; }
.hero-eyebrow {
  font-family: var(--font-titre);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: #ffd9d4;
  margin-bottom: 0.5rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.25rem; max-width: 600px; margin-bottom: 2rem; color: #f0f4f4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===================== Sections génériques ===================== */
.section { padding: 5rem 0; }
.section-alt { background: var(--beige); }
.section-dark { background: var(--anthracite); color: #d9e0e0; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 700px; margin: 0 auto 3rem; text-align: center; }
.section-lead { font-size: 1.15rem; color: var(--gris); }
.section-dark .section-lead { color: #b9c4c4; }

.eyebrow {
  font-family: var(--font-titre);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--rouge);
  margin-bottom: 0.4rem;
}
.eyebrow-light { color: #ff9f96; }

.section-cta { text-align: center; margin-top: 3rem; }

/* ===================== À propos (texte à gauche, valeurs à droite) ===================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
  text-align: left;
}
.about-text p { text-align: justify; hyphens: none; }

/* Les 3 valeurs empilées, avec un filet coloré à gauche */
.values {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: rgba(14, 92, 99, 0.05);
  border: 1px solid var(--gris-clair);
  border-left: 4px solid var(--canard);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 0.25rem 1.5rem;
}
.values li {
  padding: 1.05rem 0;
  border-top: 1px solid rgba(20, 35, 38, 0.10);
}
.values li:first-child { border-top: none; }
.values strong {
  display: block;
  font-family: var(--font-titre);
  font-size: 1.15rem;
  color: var(--canard-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
}
.values span { display: block; color: var(--gris); font-size: 0.9rem; }

/* Section resserrée, comme les autres sections condensées */
#apropos.section { padding-top: 2.75rem; padding-bottom: 2.75rem; }
#apropos .section-head { margin-bottom: 2.5rem; }
@media (min-width: 860px) {
  #apropos.section { padding-top: 2.25rem; padding-bottom: 2.25rem; }
}

/* ===================== Cartes prestations ===================== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--gris-clair);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--canard);
}
.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(14, 92, 99, 0.10);
  color: var(--canard);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--gris); margin: 0; }

/* ===================== Galerie ===================== */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1rem 0.9rem;
  font-family: var(--font-titre);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(transparent, rgba(20,35,38,0.85));
}

/* ===================== Pourquoi nous (features) ===================== */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.feature { text-align: center; padding: 1rem; }
.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid var(--canard-light);
  color: #fff;
}
.feature-icon svg { width: 34px; height: 34px; }
.feature p { color: #b9c4c4; }

/* ===================== Sous-bloc « Ils nous ont fait confiance » ===================== */
.trust {
  margin-top: 3.5rem;
  padding-top: 2.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}
.trust .eyebrow { margin-bottom: 1.5rem; }
.trust-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}
/* Chaque logo posé sur une petite carte blanche → lisible quel que soit le logo */
.trust-logo {
  background: #fff;
  border-radius: var(--radius);
  width: 160px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition);
}
.trust-logo:hover { transform: translateY(-3px); }
.trust-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Nom de société affiché en texte (en attendant un vrai logo) */
.trust-name {
  font-family: var(--font-titre);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--canard-dark);
  text-align: center;
}

/* ===== Condensation de la section « Pourquoi nous choisir » (engagements + confiance) ===== */
#pourquoi.section { padding-top: 3.25rem; padding-bottom: 3.25rem; }
#pourquoi .section-head { margin-bottom: 2rem; }
#pourquoi .features { gap: 1.6rem; }
#pourquoi .feature { padding: 0.5rem; }
#pourquoi .feature-icon { width: 60px; height: 60px; margin-bottom: 0.85rem; }
#pourquoi .feature-icon svg { width: 30px; height: 30px; }
#pourquoi .feature h3 { margin-bottom: 0.35rem; font-size: 1.3rem; }
#pourquoi .feature p { line-height: 1.5; }
#pourquoi .trust { margin-top: 3rem; padding-top: 2.5rem; }
#pourquoi .trust .eyebrow { margin-bottom: 1.4rem; }
#pourquoi .trust-logo { width: 155px; height: 86px; }

@media (min-width: 860px) {
  #pourquoi.section { padding-top: 2.75rem; padding-bottom: 2.75rem; }
}

/* ===================== Case de consentement RGPD (formulaire) ===================== */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.form-consent input {
  width: auto;
  flex: 0 0 auto;
  margin-top: 0.25rem;
}
.form-consent label {
  font-family: var(--font-texte);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--gris-fonce);
  margin: 0;
}
.form-consent a { color: var(--canard); text-decoration: underline; }

/* ===================== Pages légales (mentions / confidentialité) ===================== */
.legal-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gris-clair);
}
.legal-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.legal-back {
  font-family: var(--font-titre);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--anthracite);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.legal-back:hover { color: var(--canard); }

.legal-main { padding: 2.75rem 0 4rem; }
.legal { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); text-transform: uppercase; margin-bottom: 0.4rem; }
.legal-updated { color: var(--gris); margin-bottom: 2.5rem; }
.legal h2 {
  font-size: 1.55rem;
  text-transform: uppercase;
  margin: 2.25rem 0 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gris-clair);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal h3 { font-size: 1.15rem; margin: 1.35rem 0 0.4rem; color: var(--canard-dark); }
.legal p, .legal li { color: var(--gris-fonce); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--canard); text-decoration: underline; }
.legal-card {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: 1rem 0;
}
.legal-card p:last-child { margin-bottom: 0; }
/* Mention « à compléter » bien visible tant que l'info n'est pas fournie */
.legal-todo {
  background: #fff6e5;
  border: 1px dashed #e0a100;
  border-radius: var(--radius);
  padding: 0.5rem 0.8rem;
  color: #8a6400;
  font-size: 0.95rem;
}
.legal-footer {
  background: #0c1314;
  color: #aebabb;
  text-align: center;
  padding: 1.5rem 1.25rem;
  font-size: 0.9rem;
}
.legal-footer a { color: #aebabb; text-decoration: none; }
.legal-footer a:hover { color: #fff; }
.legal-footer .sep { margin: 0 0.5rem; opacity: 0.5; }

/* ===================== Avis clients ===================== */
/* Étoiles */
.stars {
  display: inline-flex;
  letter-spacing: 2px;
  font-size: 1.15rem;
  line-height: 1;
}
.stars-5, .stars-full { color: #f5b50a; }            /* étoiles dorées */
.stars-empty { color: #d6dcdc; }                      /* étoiles vides (gris clair) */
/* Note partielle (ex. 4,8) : étoiles grises + remplissage doré sur --pct de la largeur */
.stars-partial {
  position: relative;
  display: inline-block;
  color: #d6dcdc;
}
.stars-partial::before {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--pct, 100%);
  overflow: hidden;
  white-space: nowrap;
  color: #f5b50a;
}

/* Bloc note globale */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--gris-clair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}
.reviews-summary-main { display: flex; align-items: center; gap: 1rem; }
.google-g { flex: 0 0 auto; }
.reviews-summary-text { display: flex; flex-direction: column; gap: 0.15rem; }
.rating-score {
  font-family: var(--font-titre);
  font-size: 2rem;
  font-weight: 700;
  color: var(--anthracite);
  line-height: 1;
}
.rating-new {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--anthracite);
}
.reviews-count { color: var(--gris); font-size: 0.95rem; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Grille des cartes d'avis */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.review-card {
  background: #fff;
  border: 1px solid var(--gris-clair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.review-card .stars { font-size: 1rem; }
.review-text {
  color: var(--gris-fonce);
  font-style: italic;
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
}
.review-author { display: flex; align-items: center; gap: 0.65rem; }
.review-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--canard);
  color: #fff;
  font-family: var(--font-titre);
  font-weight: 700;
  font-size: 1.05rem;
}
.review-author strong { display: block; font-size: 0.95rem; color: var(--anthracite); font-family: var(--font-titre); text-transform: uppercase; letter-spacing: 0.5px; }
.review-source { font-size: 0.8rem; color: var(--gris); }

/* ===================== Contact ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(14, 92, 99, 0.10);
  color: var(--canard);
}
.contact-list-icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-titre); text-transform: uppercase; color: var(--anthracite); }

/* Formulaire */
.contact-form {
  background: #fff;
  border: 1px solid var(--gris-clair);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.form-group label {
  font-family: var(--font-titre);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--anthracite);
  margin-bottom: 0.4rem;
}
.form-group label span { color: var(--rouge); }

input, select, textarea {
  font-family: var(--font-texte);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--gris-clair);
  border-radius: var(--radius);
  background: #fff;
  color: var(--anthracite);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--canard);
  box-shadow: 0 0 0 3px rgba(14, 92, 99, 0.15);
}
textarea { resize: vertical; }

/* Champ en erreur */
input.invalid, select.invalid, textarea.invalid { border-color: var(--rouge); }
.error-msg { color: var(--rouge); font-size: 0.875rem; margin-top: 0.35rem; min-height: 1rem; }

/* Honeypot anti-spam : invisible */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Message de confirmation / erreur */
.form-feedback {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
}
.form-feedback.success { background: rgba(14, 92, 99, 0.12); color: var(--canard-dark); border: 1px solid var(--canard); }
.form-feedback.error { background: rgba(200, 54, 43, 0.10); color: var(--rouge-dark); border: 1px solid var(--rouge); }

/* ===================== Pied de page ===================== */
.site-footer { background: #0c1314; color: #aebabb; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3.5rem 1.25rem 2.5rem;
}
.footer-brand .logo { font-size: 1.6rem; margin-bottom: 0.75rem; }
.footer-logo { display: inline-block; margin-bottom: 1rem; }
.footer-logo img { height: 104px; width: auto; display: block; }
.footer-brand p { max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-titre);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: #aebabb; }
.footer-col a:hover { color: #fff; }

.socials { display: flex; gap: 0.75rem; }
.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.socials a:hover { background: var(--rouge); transform: translateY(-2px); }
.socials svg { width: 22px; height: 22px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  font-size: 0.9rem;
}
.muted-link { color: #8a9697; }
.muted-link:hover { color: #fff; }

/* =====================================================================
   RESPONSIVE — tablettes et ordinateurs (mobile-first → on élargit)
===================================================================== */

/* ≥ 600px : grilles à 2 colonnes */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}

/* ≥ 860px : layouts en deux colonnes pour À propos et Contact */
@media (min-width: 860px) {
  .about-split { grid-template-columns: 1.8fr 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ≤ 860px : menu burger */
@media (max-width: 859px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--gris-clair);
    box-shadow: var(--shadow);
    padding: 0.5rem 1.25rem 1.25rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height var(--transition), opacity var(--transition);
  }
  .nav-menu.open {
    max-height: 480px;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 0.85rem 0; }
  .nav-menu .btn { margin-top: 0.5rem; }
}

/* Préférence : réduire les animations */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Condensation des sections « Prestations » et « Réalisations »
   Objectif : chaque section tient sur un écran d'ordinateur sans scroll.
   On ajuste UNIQUEMENT les espacements / tailles (aucun texte ni image modifié).
===================================================================== */
#prestations.section,
#realisations.section {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}
#prestations .section-head,
#realisations .section-head {
  margin-bottom: 1.5rem;
}
#prestations .section-head .section-lead,
#realisations .section-head .section-lead {
  margin-bottom: 0;
}

/* Titres de section resserrés (taille uniquement, texte inchangé) */
#prestations .section-head h2,
#realisations .section-head h2 { margin-bottom: 0.35rem; }

/* Cartes prestations plus compactes */
#prestations .cards { gap: 1rem; }
#prestations .card { padding: 1.2rem 1.3rem; }
#prestations .card-icon { width: 46px; height: 46px; margin-bottom: 0.65rem; }
#prestations .card-icon svg { width: 25px; height: 25px; }
#prestations .card h3 { margin-bottom: 0.25rem; font-size: 1.3rem; }
#prestations .card p { line-height: 1.5; }
#prestations .section-cta { margin-top: 1.3rem; }

/* Galerie réalisations plus compacte */
#realisations .gallery { gap: 0.9rem; }

/* Sur grand écran, on resserre encore pour tenir sur une page */
@media (min-width: 860px) {
  #prestations.section,
  #realisations.section { padding-top: 2rem; padding-bottom: 2rem; }
}
