/* =========================================================
   RESET GLOBAL & STRUCTURE
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #333;
}

body {
    padding-top: 140px;

}

section {
    display: block;
    width: 100%;

}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================================================
   TITRES
   ========================================================= */

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.section-title,
.section-title-light {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.section-title-light {
    color: white;
}


/* =========================================================
   SECTIONS COULEURS
   ========================================================= */
.section-blue {
    background: #003A70;
    color: white;
    padding: 60px 0;
}

.section-grey {
    background: #f5f5f5;
    padding: 70px 0;
}

.section-padding {
    padding: 70px 0;
}

/* =========================================================
   CARTES SERVICES
   ========================================================= */

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow:
        0 0 10px rgba(255,255,255,0.30),
        0 0 25px rgba(255,255,255,0.20);
}

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

footer {
  background: linear-gradient(135deg, #003A70, #001f3f);
    color: white;
    padding: 45px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 -8px 25px rgba(255,255,255,0.15);
}

/* =========================================================
   BOUTONS – STYLE GLOBAL FINAL
   ========================================================= */

button:hover,
a.btn-primary:hover,
a.btn-secondary:hover,
.cta-header:hover,
input[type="submit"]:hover,
button[type="submit"]:hover,
form button:hover,
form input[type="submit"]:hover {
    transform: scale(1.06);
    box-shadow:
        0 0 25px rgba(0,110,200,0.55),
        0 0 55px rgba(0,110,200,0.45),
        inset 0 0 15px rgba(255,255,255,0.35);
}

@keyframes pulsePremium {
    0% {
        box-shadow:
            0 0 12px rgba(0,80,153,0.35),
            0 0 38px rgba(0,80,153,0.28);
    }
    50% {
        box-shadow:
            0 0 20px rgba(0,110,200,0.55),
            0 0 70px rgba(0,110,200,0.50);
    }
    100% {
        box-shadow:
            0 0 12px rgba(0,80,153,0.35),
            0 0 38px rgba(0,80,153,0.28);
    }
}

/* =========================================================
   HERO – BOUTONS BLANCS (OVERRIDE FINAL)
   ========================================================= */

#hero a.btn-primary,
#hero a.btn-secondary {
    border: 2px solid #003A70 !important;
    padding: 18px 42px !important;
    border-radius: 22px !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    animation: heroPulse 2.2s infinite ease-in-out !important;
        margin-top: 20px;
            position: relative;
        filter:
        drop-shadow(0 0 12px rgba(255, 255, 255, 0.45))
        drop-shadow(0 0 28px rgba(255, 255, 255, 0.30));            transition: filter 0.3s ease, transform 0.25s ease;

}

@keyframes heroPulse {
    0% { box-shadow: 0 0 0 0 rgba(0,58,112,0.35); }
    50% { box-shadow: 0 0 22px 8px rgba(0,58,112,0.45); }
    100% { box-shadow: 0 0 0 0 rgba(0,58,112,0.35); }
}

.hero-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons a {
  min-width: 260px;          /* 👈 largeur identique */
  text-align: center;
  justify-content: center;
}

/* =========================================================
   FORMULAIRE – VERSION FINALE
   ========================================================= */

.devis-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 40px;
    background: rgba(255,255,255,0.35);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.devis-form {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.form-row {
    display: flex;
    gap: 40px;
}

.input-group {
    position: relative;
    flex: 1;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border: 2px solid #8aa6c2;
    border-radius: 18px;
    font-size: 18px;
    background: rgba(255,255,255,0.9);
    color: #003A70;
    transition: 0.3s ease;
}

.input-group .icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    opacity: 0.8;
}

.input-group label {
    position: absolute;
    top: 18px;
    left: 55px;
    font-size: 18px;
    color: #4b6a88;
    pointer-events: none;
    transition: 0.25s ease;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label,
.input-group select:focus + label,
.input-group select:not([value=""]) + label {
    top: -12px;
    left: 10px;
    font-size: 13px;
    color: #003A70;
    background: white;
    padding: 0 6px;
}

@media (max-width: 780px) {
    .form-row {
        flex-direction: column;
    }
}

/* =========================================================
   NOTRE HISTOIRE — CENTRAGE + LARGEUR MAÎTRISÉE
   ========================================================= */

/* Signature centrée également */
.about-signature {
    text-align: center;
   }
/* =========================================================
   NOTRE HISTOIRE — MAÎTRISE DES RETOURS À LA LIGNE
   ========================================================= */

.about-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
        font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.about-highlight {
    margin-top: 12px;
}

/* =========================================================
   AVIS CLIENTS — CARTES VISIBLES & PREMIUM
   ========================================================= */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.review {
    background: #ffffff;              /* fond blanc franc */
    border: 1.5px solid rgba(0, 58, 112, 0.25); /* encadrement visible */
    border-radius: 18px;
    padding: 30px 28px;

    text-align: center;
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    color: #003A70;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover premium discret */
.review:hover {
    transform: translateY(-6px);
    box-shadow:
        0 14px 38px rgba(0, 0, 0, 0.14);
}
/* =========================================================
   ZONE D’INTERVENTION — TITRE CENTRÉ
   ========================================================= */

.zone-intervention-section {
    text-align: center;
}

.zone-title,
.zone-subtitle {
    text-align: center;
}
/* =========================================================
   ZONE D’INTERVENTION — CARTE REDIMENSIONNÉE
   ========================================================= */

.zone-map-container {
    width: 40%;
    max-width: 420px;
    margin: 40px auto 0;
}

/* MOBILE */
@media (max-width: 900px) {
  .zone-map-container {
    width: 100%;
    max-width: none;
    margin: 24px auto 0;
  }
}

/* =========================================================
   ZONE D’INTERVENTION — TITRES AGRANDIS
   ========================================================= */

.zone-title {
    font-size: 42px;       /* agrandit le titre principal */
    font-weight: 700;
    margin-bottom: 10px;
}

.zone-subtitle {
    font-size: 24px;       /* agrandit le sous-titre */
    font-weight: 400;
}
/* =========================================================
   ESPACEMENT TITRE "UN INTÉRIEUR IMPECCABLE..."
   ========================================================= */

.cta-final h2,
.cta-final h1 {
    margin-top: 60px;     /* espace au-dessus */
    margin-bottom: 30px;  /* espace en dessous */
}
/* =========================================================
   FIX ESPACE ENTRE CTA & FORMULAIRE
   ========================================================= */

/* Réduit l’espace sous le bouton CTA */
.cta-final {
    padding-bottom: 30px;
    text-align: center;
}

/* =========================================================
   CTA — CENTRAGE BOUTON DEMANDER UN DEVIS
   ========================================================= */

.cta-final a,
.cta-final button {
    display: inline-block;
    margin: 0 auto;
}
/* =========================================================
   FORMULAIRE — TITRE + SOUS-TITRE BIEN STRUCTURÉS
   ========================================================= */

.devis-section h2 {
    text-align: center;
    margin-bottom: 10px; /* rapproche le sous-titre */
}

.devis-subtitle {
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    font-size: 18px;
    color: #555;
}
/* =========================================================
   SUPPRESSION DU SOULIGNEMENT DES BOUTONS
   ========================================================= */

a.btn-primary,
a.btn-secondary,
a.btn-top,
a.btn-neon,
a.btn-glass-neon,
a.btn-form,
.cta-header,
.cta-final a,
.cta-final button,
button,
input[type="submit"] {
    text-decoration: none !important;
}

/* =========================================================
   SERVICES — STRUCTURE (PROD)
========================================================= */

.services-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: auto;
}

.services-section h1 {
    text-align: center;
    font-size: 46px;
    margin-bottom: 50px;
}

.services-section h2 {
    text-align: center;
    font-size: 28px;
    color: #003A70;
    margin: 90px 0 40px;
    position: relative;
}

.services-section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #003A70;
    margin: 18px auto 0;
    border-radius: 3px;
}

/* LIEN */

.service-link {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #003A70;
    text-decoration: none;
    position: relative;
    transition: color 0.25s ease, transform 0.25s ease;
}

.service-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #003A70;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.service-link:hover {
    color: #001f3f;
    transform: translateX(4px);
}

.service-link:hover::after {
    transform: scaleX(1);
}

/* GARANTIES */

.services-trust {
    background: #f3f6f9;
    border: 2px solid rgba(0,58,112,0.25);
    border-radius: 24px;
    padding: 40px 45px;
    margin: 70px auto;
    max-width: 900px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #003A70;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.trust-text {
    font-size: 19px;
    color: #003A70;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.6;
    max-width: 900px;
    margin: 25px auto 40px;
    font-weight: 400;
}

/* FIX FINAL — Zone d’intervention : descendre le contenu */
#zone-intervention {
    padding-top: 0; /* fond blanc collé en haut */
}

#zone-intervention .zone-title {
    margin-top: 50px;
}

#zone-intervention .zone-subtitle {
    margin-top: 10px;
}

#zone-intervention .zone-map-container {
    margin-top: 40px;
}
/* =========================================================
   WHY — GRILLE 2 PAR 2 (PROD)
   ========================================================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 60px auto 0;
}

/* Cartes */
.why-item {
    background: rgba(255,255,255,0.12);
    padding: 28px 30px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.25);
    text-align: center;
    color: white;
    box-shadow:
        0 0 12px rgba(255,255,255,0.35),
        0 0 25px rgba(255,255,255,0.20);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 22px rgba(255,255,255,0.65),
        0 0 45px rgba(255,255,255,0.35);
}

/* =========================================================
   FIX SCROLL — NOS EXPERTISES
   ========================================================= */

.about-highlight {
    text-align: center;
    max-width: 900px;
    margin: 18px auto 0;
    font-weight: 500;
}

/* ================================
   TEXTE CARTES SERVICES — PREMIUM
================================ */

/* Texte sous l’image */
.service-link-card .service-card {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #003A70;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

/* Supprime style lien violet */
.service-link-card:visited .service-card {
    color: #003A70;
}

/* Hover premium */
.service-link-card:hover .service-card {
    color: #001f3f;
}

/* Animation élégante */
.service-link-card .service-card {
    transition: color 0.25s ease, transform 0.25s ease;
}

.service-link-card:hover .service-card {
    transform: translateY(-2px);
}
/* Carte cliquable */
.service-link-card {
  text-decoration: none;
  color: inherit;
}

/* ===== CARTE ===== */
.service-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 30px;
  text-align: center;
  border: 1.5px solid rgba(0,58,112,0.2);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* FIX SCROLL — NOS EXPERTISES */

.textarea-group textarea {
    min-height: 140px; /* plus confortable */
}
.form-row {
    margin-bottom: 30px;
}
.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* ===== CADRE SERVICES PROPOSÉS ===== */
.service-box {
  margin-top: 40px;
  padding: 32px 36px;

  background: #ffffff;
  border-radius: 20px;

  border: 1.5px solid rgba(0, 58, 112, 0.25);

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.08);

  max-width: 800px;
}

/* Titre du cadre */
.service-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #003A70;
  margin-bottom: 18px;
  text-align: left;
}

/* Liste */
.service-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-box li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;

  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

/* Icône élégante */
.service-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;

  color: #003A70;
  font-weight: 700;
}

/* ================================
   BOUTON SERVICE — PETIT & PREMIUM
================================ */

.service-detail-cta {
  margin-top: 40px;
  text-align: center;
}

.btn-service-small {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;

  background: #003A70;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;

  box-shadow:
    0 6px 18px rgba(0, 58, 112, 0.30);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.btn-service-small:hover {
  background: #001f3f;
  transform: translateY(-2px);
  box-shadow:
    0 10px 26px rgba(0, 58, 112, 0.45);
}
/* =========================================================
   HERO — PAGE SERVICES (SANS CONFLIT HOME)
========================================================= */
#services-hero {
  background: linear-gradient(135deg, #003A70, #001f3f);
  padding: 160px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#services-hero::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle, rgba(255,255,255,0.20), transparent 70%);
  animation: servicesGlow 14s infinite ease-in-out;
}

@keyframes servicesGlow {
  0% { transform: rotate(0deg) scale(1); opacity: .25; }
  50% { transform: rotate(180deg) scale(1.2); opacity: .35; }
  100% { transform: rotate(360deg) scale(1); opacity: .25; }
}

#services-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 54px;
  color: #ffffff;
  margin-bottom: 30px;
  text-shadow: 0 0 20px rgba(255,255,255,0.35);
}

#services-hero .hero-subtitle {
  font-size: 22px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 50px;
}

  #services-hero h1 {
    font-size: 36px;
  }

  #services-hero .hero-subtitle {
    font-size: 18px;
  }

/* =========================================================
   CONTACT — INFOS
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    text-align: center;
}

.contact-item {
    background: #ffffff;
    border-radius: 22px;
    padding: 40px 30px;
    border: 1.5px solid rgba(0,58,112,0.2);
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.contact-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 18px;
}

.contact-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #003A70;
    margin-bottom: 12px;
}

.contact-item p {
    font-size: 18px;
    color: #444;
}

.contact-item a {
    color: #003A70;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ================================
   FIX SCROLL — PAGE SERVICES UNIQUEMENT
================================ */

/* Supprime la bande blanche au-dessus du titre */
.page-services .service-detail:first-of-type {
  padding-top: 40px;
}

/* ================================
   PAGE SERVICES — HERO CORRECT
================================ */
.page-services #hero.services-hero{
  padding: 160px 40px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-services #hero.services-hero::before{
  content:"";
  position:absolute;
  inset:-25%;
  background: radial-gradient(circle, rgba(255,255,255,0.20), transparent 70%);
  animation: servicesGlow 14s infinite ease-in-out;
}

.contact-item p,
.contact-item a {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #003A70;
  line-height: 1.6;
  text-decoration: none;
}
a.btn-primary.btn-outline {
    background: #ffffff;
    color: #003A70;
    border: 2px solid #003A70;
}

a.btn-primary.btn-outline:hover {
    background: #003A70;
    color: #ffffff;
}
/* =========================================
   GLOW BLANC — BOUTONS OUTLINE (GLOBAL)
========================================= */

.btn-primary.btn-outline {
    filter:
        drop-shadow(0 0 12px rgba(255, 255, 255, 0.45))
        drop-shadow(0 0 28px rgba(255, 255, 255, 0.30));
}

/* Hover : glow blanc renforcé */
.btn-primary.btn-outline:hover {
    filter:
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.75))
        drop-shadow(0 0 45px rgba(255, 255, 255, 0.55))
        drop-shadow(0 0 70px rgba(255, 255, 255, 0.35));
}
/* =========================================================
   FIX FINAL — Couleur texte des boutons <a> (anti-violet :visited)
   À coller tout en bas du CSS
========================================================= */

/* Boutons BLEUS : texte toujours BLANC, même visited/focus/active */
a.btn-primary,
a.btn-secondary,
a.btn-primary:visited,
a.btn-secondary:visited,
a.btn-primary:focus,
a.btn-secondary:focus,
a.btn-primary:active,
a.btn-secondary:active {
  color: #ffffff !important;
}

/* Boutons BLANCS (outline) : texte toujours BLEU */
a.btn-primary.btn-outline,
a.btn-primary.btn-outline:visited,
a.btn-primary.btn-outline:focus,
a.btn-primary.btn-outline:active {
  color: #003A70 !important;
}

/* Hover outline (si tu l’utilises) */
a.btn-primary.btn-outline:hover {
  color: #ffffff !important;
}
/* FIX FINAL — bouton submit lisible */
button,
button[type="submit"],
input[type="submit"] {
  color: #ffffff !important;
}

/* =========================================================
   FIX BOUTONS — COULEURS GARANTIES
========================================================= */

a.btn-primary,
a.btn-secondary,
a.btn-form,
.cta-header,
button,
input[type="submit"] {
  color: #ffffff !important;
}

/* Boutons blancs du hero */
#hero a.btn-primary,
#hero a.btn-secondary {
  background: #ffffff !important;
  color: #003A70 !important;
  border: 2px solid #003A70 !important;
}

button,
a.btn-primary,
a.btn-secondary,
.cta-header,
input[type="submit"],
button[type="submit"],
form button,
form input[type="submit"] {
    display: inline-block;
    padding: 14px 38px;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 14px;
    background: rgba(0, 58, 112, 0.85);
    backdrop-filter: blur(6px);
    box-shadow:
        0 0 12px rgba(0, 80, 153, 0.35),
        0 0 38px rgba(0, 80, 153, 0.28),
        inset 0 0 10px rgba(255,255,255,0.20);
    transition: 0.25s ease;
    animation: pulsePremium 3s infinite ease-in-out;
    position: relative;
    overflow: hidden;
}
/* =========================================================
   FIXES FINAUX — SCROLL & ANCRES
========================================================= */
/* Sécurité position Evidence sous header */

#devis {
    scroll-margin-top: 120px; /* hauteur du header */
}

/* 🎯 POSITION FINALE MENAGE & ENTRETIEN */
#menage-entretien {
  padding-top: 20px !important;        /* respiration visuelle */
}

/* ===============================
   POPUP — DEMANDE DE RAPPEL
================================ */

.callback-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.callback-overlay.active {
  display: flex;
}

.callback-modal {
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 22px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  text-align: center;
}

.callback-modal h2 {
  font-family: 'Playfair Display', serif;
  color: #003A70;
  margin-bottom: 10px;
}

.callback-modal p {
  margin-bottom: 25px;
  color: #444;
}

.callback-modal label {
  display: block;
  text-align: left;
  margin-bottom: 15px;
  font-weight: 600;
  color: #003A70;
}

.callback-modal input,
.callback-modal select {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 12px;
  border: 1.5px solid #8aa6c2;
  font-size: 16px;
}

.callback-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #003A70;
}
/* =========================
   PAGE MERCI
========================= */

.merci-page {
  background: linear-gradient(135deg, #003A70, #001f3f);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merci-section {
  background: rgba(255,255,255,0.12);
  padding: 60px 50px;
  border-radius: 26px;
  text-align: center;
  max-width: 600px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.merci-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  margin-bottom: 20px;
}

.merci-section p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 35px;
}

/* =========================
   FLÈCHE — SERVICE SUIVANT (POSITION FINALE)
========================= */

/* Le cadre blanc devient la référence */
.service-box {
  position: relative;
}

/* Flèche */
.service-next-arrow {
  position: absolute;
  bottom: 24px;   /* 👈 distance du bas */
  right: 24px;    /* 👈 distance du bord droit */

  width: 42px;
  height: 42px;

  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #003A70;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  cursor: pointer;

  animation: serviceArrowPulse 2s infinite ease-in-out;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  z-index: 5;
}

/* Flèche interne */
.service-next-arrow span {
  width: 10px;
  height: 10px;
  border-right: 2px solid #003A70;
  border-bottom: 2px solid #003A70;
  transform: rotate(45deg);
  margin-top: -2px;
}

/* Animation douce */
@keyframes serviceArrowPulse {
  0%   { transform: translateY(0);   opacity: 0.6; }
  50%  { transform: translateY(6px); opacity: 1; }
  100% { transform: translateY(0);   opacity: 0.6; }
}

  .service-next-arrow span {
    width: 8px;
    height: 8px;
  }

/* =========================
   FLÈCHE SCROLL — HERO SERVICES
========================= */

/* Le hero est la référence */
#services-hero {
  position: relative;
}

/* Flèche */
.scroll-down-indicator {
  position: absolute;
  bottom: 26px;               /* 👈 bien en bas */
  left: 50%;
  transform: translateX(-50%);

  width: 44px;
  height: 44px;

  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 2px solid #003A70;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  text-decoration: none;

  animation: heroArrowPulse 2s infinite ease-in-out;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  z-index: 10;
}

/* Flèche interne */
.scroll-down-indicator span {
  width: 10px;
  height: 10px;
  border-right: 2px solid #003A70;
  border-bottom: 2px solid #003A70;
  transform: rotate(45deg);
  margin-top: -2px;
}

/* Animation douce */
@keyframes heroArrowPulse {
  0%   { transform: translateX(-50%) translateY(0);   opacity: 0.6; }
  50%  { transform: translateX(-50%) translateY(6px); opacity: 1; }
  100% { transform: translateX(-50%) translateY(0);   opacity: 0.6; }
}

  .scroll-down-indicator span {
    width: 8px;
    height: 8px;
  }

/* =========================================================
   NOS EXPERTISES — 6 CARTES SUR UNE LIGNE (FORCÉ)
========================================================= */

#expertise .section-inner {
  max-width: 1800px;   /* 👈 clé du problème */
}

/* =========================================================
   SERVICES — TAILLES UNIFORMES (FINAL)
========================================================= */

/* Carte */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}


/*================================================
   SERVICES — REMONTER LÉGÈREMENT L’ENSEMBLE
========================================================= */

#expertise {
  padding-top: 55px;   /* au lieu de 70px */
}

#expertise .section-title {
  margin-bottom: 30px;
}

/* =========================================================
   ✅ FIX MOBILE — MENU + GRILLE SERVICES (ANTI DÉBORDEMENT)
   À COLLER TOUT EN BAS DU CSS
========================================================= */

  /* bouton header */
  header .btn-primary {
    margin: 6px auto 0;
    font-size: 14px;
    padding: 10px 18px;
  }

    /* =========================================================
   SERVICES — FIX MOBILE FORCÉ
========================================================= */

  /* CARTE SERVICE */
  .service-link-card,
  .service-card {
    width: 100%;
    max-width: 100%;
  
  }

  /* TITRE */
  .service-card h3 {
    font-size: 18px;
    line-height: 1.25;
    margin-top: 18px;
    text-align: center;
  }


/* =========================================================
   FIX IMAGES SERVICES — MOBILE
========================================================= */

  /* Image elle-même */
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;             /* 🔑 remplissage propre */
    display: block;
  }

/* =========================================================
   NOS EXPERTISES — GRILLE UNIQUE (PRODUCTION)
========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}
/* Desktop réduit */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================
   SERVICES — HAUTEUR IMAGES VERROUILLÉE (PROD)
========================================================= */

/* Conteneur image */
.service-image {
  width: 100%;
  height: 190px;          /* 👈 HAUTEUR DE RÉFÉRENCE */
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* Image */
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* remplit sans déformer */
  display: block;
}

/* =========================================================
   HERO — VERSION PRODUCTION STABLE
========================================================= */

#hero {
    background: linear-gradient(135deg, #003A70, #001f3f);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* contenu en haut */
padding: 100px 90px 160px;


}

/* Glow doux */
#hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  animation: silverGlow 12s infinite ease-in-out;
  pointer-events: none;
  z-index: 0;
}

/* Logo filigrane */
#hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("Logosansfond1.png");
  background-repeat: no-repeat;
  background-size: 850px;
  background-position: 65% 10%; /* centré horizontalement */

  filter: grayscale(100%) brightness(2); /* supprime la couleur */
  mix-blend-mode: screen;                /* effet filigrane */

  opacity: 0.20;
  pointer-events: none;
  z-index: 1;
}

/* Texte toujours au-dessus */
#hero > * {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  #hero::before { animation: none; }
}

/* =========================================================
   HERO — TYPOGRAPHIE VERROUILLÉE (FIX ÉTAPE 1)
========================================================= */

#hero h1 {
  font-size: 58px;
  font-weight: 700;
      margin-top: 0;
    padding-top: 40px; /* espace sous le header fixe */
}

#hero h2 {
  font-size: 30px;
  font-weight: 300;
}

#hero h3 {
  font-size: 22px;
  font-weight: 400;
}
@media (max-width: 768px) {
  #hero h1 { font-size: 40px; }
  #hero h2 { font-size: 22px; }
  #hero h3 { font-size: 18px; }
}
/* =========================================================
   VERROUILLAGE FINAL — PROD SAFE
========================================================= */

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

* {
  -webkit-tap-highlight-color: transparent;
}
/* =========================================================
   SERVICES — IMAGE PLUS LARGE QUE LE CONTENU (SOLUTION PRO)
========================================================= */

.service-image {
  margin-left: -18px;
  margin-right: -46px;
  width: calc(50% + 100px); /* 46px x 2 */
}
@media (max-width: 900px) {
  .service-image {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }
}
@media (max-width: 900px) {

  /* STRUCTURE */
  .section-inner {
    padding: 0 16px !important;
  }

  /* HEADER */
  header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 12px;
  }

  header .logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
  }

  header .logo img {
    height: 90px;
  }

  header .btn-primary,
  .cta-header,
  .btn-top {
    display: inline-block;
    margin: 6px auto;
    font-size: 14px;
    padding: 10px 18px;
    white-space: nowrap;
  }

  /* SERVICES GRID */
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  /* SERVICE IMAGE */
  .service-image {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }
}

@media (max-width: 768px) {

  /* FORMULAIRE */
  .form-row {
    flex-direction: column;
  }

  /* SERVICES — CARTES */
  .service-card {
    padding: 24px;
  }

  .service-card h3 {
    font-size: 21px;
  }

  .service-card p {
    font-size: 16px;
  }

  /* SERVICES — IMAGES */
  .service-image {
    height: 150px;
  }

  /* WHY */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 40px;
  }

  /* HERO SERVICES */
  #services-hero {
    padding: 120px 20px 90px;
  }

  #services-hero h1 {
    font-size: 36px;
  }

  #services-hero .hero-subtitle {
    font-size: 18px;
  }

  /* CONTACT */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* FLÈCHE — SERVICE SUIVANT */
  .service-next-arrow {
    width: 34px;
    height: 34px;
    bottom: 18px;
    right: 18px;
  }

  .service-next-arrow span {
    width: 8px;
    height: 8px;
  }

  /* FLÈCHE — SCROLL HERO */
  .scroll-down-indicator {
    width: 34px;
    height: 34px;
    bottom: 18px;
  }

  .scroll-down-indicator span {
    width: 8px;
    height: 8px;
  }
}
@media (max-width: 480px) {

  /* HERO — LOGO FILIGRANE */
  #hero::after {
    background-position: 0% 15%;
    background-size: 125vw;
    opacity: 0.20;
  }

  /* HERO — TYPOGRAPHIE */
  #hero h1 {
    font-size: 40px;
  }

  #hero h2 {
    font-size: 22px;
  }

  #hero h3 {
    font-size: 18px;
  }

  /* SERVICES GRID — 1 COLONNE */
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   HEADER — LOGO CORRIGÉ (TAILLE + PROPORTIONS)
========================================= */

header .logo img {
  height: 170px;        /* 👈 taille desktop */
  width: auto;          /* 🔑 empêche toute déformation */
  max-width: none;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 900px) {
  header .logo img {
    height: 90px;
  }
}

/* =========================================
   PAGE SERVICES — HERO BLEU JUSQU’EN BAS
========================================= */

/* Force le hero services à remplir l’écran */
.page-services #hero.services-hero,
#services-hero {
  min-height: auto; /* hauteur écran - header */
  display: flex;
  flex-direction: column;
  justify-content: center;         /* centre le contenu verticalement */
  padding-bottom: 120px;           /* respiration bas */
}

/* Sécurité : supprime toute bande blanche après */
.page-services {
  background: #003A70;
}

/* La section suivante reprend le fond blanc normalement */
.page-services section:not(#services-hero) {
  background: #ffffff;
}

/* =====================================================
   NOTRE HISTOIRE — FOND BLEU PREMIUM ANIMÉ
===================================================== */

#notre-histoire {
  position: relative;
  background: linear-gradient(
    135deg,
    #003A70 0%,
    #0a4b8c 45%,
    #002a55 100%
  );

  color: #ffffff;
  overflow: hidden;

  /* animation du fond */
  background-size: 200% 200%;

}

/* Effet lumineux doux */
#notre-histoire::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.14) 0%,
    rgba(255,255,255,0.06) 35%,
    rgba(255,255,255,0) 65%
  );
    pointer-events: none;
}

/* Contenu toujours au-dessus */
#notre-histoire .section-inner {
  position: relative;
  z-index: 2;
}

/* =====================================================
   NOTRE HISTOIRE — TYPOGRAPHIE BLANCHE
===================================================== */

#notre-histoire h2 {
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

#notre-histoire p {
  color: rgba(255,255,255,0.95);
  font-size: 19px;
  line-height: 1.75;
}

#notre-histoire .about-highlight {
  font-weight: 600;
  margin-top: 24px;
}

#notre-histoire .about-signature {
  margin-top: 36px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* Mobile */
@media (max-width: 768px) {
  #notre-histoire {
    padding: 110px 20px 130px;
  }

  #notre-histoire p {
    font-size: 17px;
  }
}

/* =====================================================
   POURQUOI EVIDENCE — FOND BLEU PREMIUM (FIX FINAL)
===================================================== */

#why-evidence {
  background: linear-gradient(
    135deg,
    #003A70 0%,
    #0a4b8c 60%,
    #003A70 100%
  ) !important;

  padding: 120px 0;
}

/* Texte en blanc pour contraste */
#why-evidence h2,
#why-evidence .why-item {
  color: #ffffff;
}
/* =========================================
   HEADER — VERSION PROPRE & STABLE (PROD)
========================================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 10px 25px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  z-index: 9999;
}

/* Logo */
header .logo img {
  height: 170px;
  width: auto;
}

/* Menu */
header nav {
  display: flex;
  gap: 22px;
  margin: 0 auto; /* centre le menu */
}

header nav a {
  text-decoration: none;
  color: #003A70;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

/* Bouton devis */
.cta-header {
  margin-left: auto;
  white-space: nowrap;
}
/* =========================================
   HEADER — FIX MOBILE HAUTEUR (FINAL)
========================================= */

@media (max-width: 900px) {
  header {
    padding: 0px 0px;          /* 🔽 réduit la bande blanche */
    flex-wrap: wrap;
    justify-content: center;
  }

  header .logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 4px;         /* 🔽 moins d’espace */
  }

  header .logo img {
    height: 110px;               /* 🔽 LOGO PLUS PETIT */
  }

  header nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 4px 0;              /* 🔽 réduit la hauteur */
  }

  .cta-header {
    margin: 6px auto 0;
    min-height: 46px;           /* bouton plus compact */
    min-width: 190px;
    font-size: 15px;
  }
}
/* =========================================
   FIX MOBILE — BODY PADDING HEADER
========================================= */
@media (max-width: 900px) {
  body {
    padding-top: 85px; /* 👈 valeur réaliste par rapport au header réel */
  }
}

/* =========================================
   MOBILE — HERO PLUS COMPACT (FINAL)
========================================= */

@media (max-width: 900px) {
  #hero {
    min-height: auto;          /* ⬅️ enlève la hauteur écran */
    padding: 30px 18px 45px;   /* ⬅️ hero plus court */
  }
}
/* =========================================
   MOBILE — IMAGE PLUS LARGE DANS CARTE
========================================= */

@media (max-width: 768px) {

  /* La carte garde son padding pour le texte */
  .service-card {
    padding: 14px;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 👈 2 par ligne */
    gap: 14px;
  }

  /* Cartes bien compactes */
  .service-card {
    padding: 16px;
  }

  /* Images adaptées */
  .service-image {
    height: 130px; /* ajuste si besoin */
  }
}

  /* Image presque bord à bord */
  .service-image {
    margin-left: -14px;
    margin-right: -14px;
    width: calc(100% + 28px);
    border-radius: 16px 16px 12px 12px;
    overflow: hidden;
  }

  /* Image remplit bien */
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

@media (max-width: 360px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* =====================================================
   ⚠️ OFFSETS ANCRES — VALIDÉS PROD
   Ne plus modifier sans test complet
===================================================== */

/* Nos expertises — trop haut */
#expertise {
  scroll-margin-top: 00px;
}

/* Notre histoire — trop haut */
#notre-histoire {
  scroll-margin-top: 20px;
}

/* Services — DÉJÀ OK */
#services {
  scroll-margin-top: 140px;
}

/* Contact */
#contact {
  scroll-margin-top: 20px;
}

/* Zone d’intervention */
#zone-intervention {
  scroll-margin-top: 55px;
}
/* =========================================
   SERVICES — RÉGLAGE FIN PAR SERVICE
========================================= */

/* Header réel ≈ 140px */

/* Nettoyage locaux pro — trop haut */
#nettoyage-locaux {
  scroll-margin-top: -30px;
}

/* Ménage & entretien — OK ou presque */
#menage-entretien {
  scroll-margin-top: 35px;
}

/* Nettoyage de vitres */
#nettoyage-vitres {
  scroll-margin-top: -20px;
}

/* Espaces extérieurs */
#entretien-exterieurs {
  scroll-margin-top: -20px;
}

/* Repassage */
#repassage {
  scroll-margin-top: -20px;
}

/* Prestations sur mesure */
#sur-mesure {
  scroll-margin-top: -30px;
}

/* Pourquoi Évidence — légèrement trop haut */
#why-evidence {
  scroll-margin-top: -50px;
}
/* =========================================
   HEADER — BOUTON "DEMANDER UN DEVIS" (FINAL)
========================================= */

header a.btn-primary.ripple-btn {
  padding: 18px 46px !important;   /* ⬆ hauteur + largeur */
  font-size: 18px !important;
  border-radius: 999px !important;
  min-height: 56px !important;
  line-height: 1 !important;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 9999;
}
/* =========================================
   HEADER — LIGNE SOUS LE MENU (FINAL)
========================================= */

header nav {
  position: relative;
  padding-bottom: 14px; /* espace entre texte et ligne */
}

header nav::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;
background: rgba(0, 58, 112, 0.25);

}
/* =========================================================
   MOBILE — HEADER FIXE + HERO COMPENSÉ (PROD SAFE)
   ⚠️ AUCUN AUTRE FIX MOBILE À UTILISER
========================================================= */
@media (max-width: 900px) {

  /* ===============================
     HEADER — FIXE (COMME DESKTOP)
  =============================== */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 12px 16px;
    gap: 10px;

    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  }

  /* LOGO */
  header .logo {
    margin: 0;
  }

  header .logo img {
    height: 90px;
    width: auto;
  }

  /* MENU */
  header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    margin: 0;
    padding: 0;
  }

  header nav::after {
    display: none;
  }

  header nav a {
    font-size: 15px;
    white-space: nowrap;
  }

  /* CTA HEADER */
  header a.btn-primary {
    width: 100%;
    max-width: 260px;
    padding: 12px 0;
    font-size: 15px;
    border-radius: 999px;
    margin-top: 4px;
  }

  /* ===============================
     HERO — COMPENSATION UNIQUE
     (LE SEUL OFFSET AUTORISÉ)
  =============================== */

  /* Accueil */
  body.page-home #hero {
    padding-top: 320px;
    min-height: auto;
  }

  /* Pages internes (services, etc.) */
  body.page-inner #services-hero {
    padding-top: 220px;
    min-height: auto;
  }

/* =========================================================
   FIX FINAL DÉFINITIF — HERO MOBILE (ACCUEIL / SERVICES)
========================================================= */
@media (max-width: 900px) {

  /* HEADER FIXE — référence */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
  }

  /* ===============================
     ACCUEIL — OK À 160px (VALIDÉ)
  =============================== */
  body.page-home #hero {
    padding-top: 160px !important;
    margin-top: 0 !important;
  }

  /* ===============================
     SERVICES — PLUS HAUT QUE AVANT
  =============================== */
  body.page-services #services-hero {
    padding-top: 110px !important;
    margin-top: 0 !important;
  }

}
}
/* =========================================================
   FIX ABSOLU — CONTENU SOUS HEADER FIXE (MOBILE)
   NE DÉPEND D’AUCUNE CLASSE
========================================================= */
@media (max-width: 900px) {

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
  }

  /* PREMIER BLOC APRÈS LE HEADER */
  header + section,
  header + main,
  header + div {
    margin-top: 160px !important;
  }

}
/* =========================================================
   LAYOUT FINAL — HEADER FIXE + PAGES
   (DESKTOP + MOBILE)
========================================================= */

/* Header fixe */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background: #ffffff;
}

/* Base : aucune compensation globale */
body {
  padding-top: 0;
}

/* =========================
   ACCUEIL
========================= */
body.page-home {
  padding-top: 160px; /* ✅ valeur validée */
}

/* =========================
   SERVICES
========================= */
body.page-services {
  padding-top: 140px;
}

/* =========================
   DEMANDE DE DEVIS
========================= */
body.page-devis {
  padding-top: 140px;
}

/* La section devis ne doit JAMAIS rajouter d’espace */
body.page-devis .devis-section {
  margin-top: 0 !important;
  padding-top: 40px !important;
}
/* =========================================
   FIX SCROLL — ANCRE #devis (HEADER FIXE)
========================================= */

/* Desktop */
#devis {
  scroll-margin-top: 20px; /* hauteur réelle du header desktop */
}

/* Mobile */
@media (max-width: 900px) {
  #devis {
    scroll-margin-top: 90px; /* header mobile plus haut */
  }
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}

body {
  padding-top: 160px; /* hauteur réelle du header */
}

html {
  scroll-padding-top: 160px;
}
/* =========================================================
   MOBILE — AJUSTEMENT ANCRES CIBLÉES (SAFE)
========================================================= */
@media (max-width: 900px) {

  /* Nos expertises */
  #expertise {
    scroll-margin-top: 75px;
  }

  /* Zone d’intervention */
  #zone-intervention {
    scroll-margin-top: 140px;
  }
/* Pourquoi évidence */
#why-evidence  {
    scroll-margin-top: 15px;
  }
  /* contact */
#contact  {
    scroll-margin-top: 55px;
  }
}
/* =========================================================
   MOBILE — ANCRES SERVICES (DEPUIS EXPERTISES)
========================================================= */
@media (max-width: 900px) {

  /* Entretien de locaux pro */
  #nettoyage-locaux {
    scroll-margin-top: 50px;
  }

  /* Ménage & entretien */
  #menage-entretien {
    scroll-margin-top: 120px;
  }

  /* Nettoyage de vitres */
  #nettoyage-vitres {
    scroll-margin-top: 50px;
  }

  /* Espaces extérieurs */
  #entretien-exterieurs {
    scroll-margin-top: 50px;
  }

  /* Repassage */
  #repassage {
    scroll-margin-top: 50px;
  }

  /* Prestations sur mesure */
  #sur-mesure {
    scroll-margin-top: 50px;
  }

}
/* =========================================================
   MOBILE — ZONE D’INTERVENTION (AJUSTEMENT FIN)
========================================================= */
@media (max-width: 900px) {

  .zone-map-container {
    width: 80%;        /* ⬅️ taille maîtrisée */
    max-width: 320px;  /* ⬅️ évite l’effet trop massif */
    margin: 30px auto 0;
  }

  .zone-map {
    width: 100%;
    height: auto;
  }

}
/* =========================================================
   MOBILE — HERO ACCUEIL (AJUSTEMENT FINAL VALIDÉ)
   ⚠️ NE PLUS TOUCHER
========================================================= */
@media (max-width: 900px) {

  /* TEXTE HERO — POSITION & RESPIRATION */
  #hero h1 {
    margin-top: -60px;     /* position finale validée */
    line-height: 1.60;
  }

  #hero h2 {
    margin-top: -8px;
    line-height: 1.25;
  }

  #hero h3 {
    margin-top: -8px;
    line-height: 1.3;
  }

  #hero p {
    margin-top: -6px;
    line-height: 1.6;
  }

  /* LOGO FILIGRANE */
  #hero::after {
    top: 10%;               /* position finale validée */
  }
}
/* HERO — ESPACEMENT ENTRE TITRE & SLOGAN */
#hero h2 {
  margin-bottom: 8px;   /* espace sous "Nettoyage & Services" */
}

#hero h3 {
  margin-top: 0;        /* évite double espacement */
}
/* =========================================================
   MOBILE — HERO SERVICES : REMONTER LE TEXTE (MICRO FIX)
   ⚠️ Sans impact ailleurs
========================================================= */
@media (max-width: 900px) {
  #services-hero h1 {
    margin-top: -90px;
  }

  #services-hero .hero-subtitle {
    margin-top: -12px;
  }
}
/* =========================================================
   MOBILE — BASE COMMUNE (ALIGNÉE SUR main.safe.css)
========================================================= */
@media (max-width: 900px) {

  /* Header fixe = référence unique */
  html {
    scroll-padding-top: 180px;
  }

}
/* =========================================================
   🔒 MOBILE — NOS EXPERTISES : IMAGES VERROUILLÉES (DÉFINITIF)
========================================================= */
@media (max-width: 900px) {

  /* Conteneur image EXPERTISES UNIQUEMENT */
  #expertise .service-image {
    width: 100% !important;
    height: 140px !important;      /* 🔒 hauteur unique */
    margin: 0 !important;
    overflow: hidden;
    border-radius: 16px;
  }

  /* Image */
  #expertise .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* 🔑 cadrage stable */
    display: block;
  }

}
@media (max-width: 360px) {
  #expertise .service-image img {
    object-position: 50% 55%;
  }
}
/* =========================================================
   🔒 MOBILE — NOS EXPERTISES : 1 CARTE PAR LIGNE (DÉFINITIF)
========================================================= */
@media (max-width: 900px) {

  #expertise .services-grid {
    display: grid;
    grid-template-columns: 1fr !important; /* ✅ 1 par ligne */
    gap: 18px;
  }

}
/* ================================
   PAGES LOCALES – MISE EN PAGE
   ================================ */

.local-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}
/* ================================
   PAGES LOCALES – TYPO & LISIBILITÉ
   (SEO SAFE : on ne change pas le HTML)
   ================================ */

.local-page h1 {
    margin: 0 0 18px;
    line-height: 1.15;
}

.local-page h2 {
    margin: 34px 0 14px;
    line-height: 1.2;
}

.local-page h3 {
    margin: 18px 0 10px;
    line-height: 1.25;
}

.local-page p,
.local-page li {
    line-height: 1.75;
    margin: 0 0 14px;
}

.local-page ul {
    margin: 0 0 14px 18px;
}
/* ================================
   PAGES LOCALES – CTA FINAL
   ================================ */

.local-cta {
    margin-top: 32px;
}
.local-cta {
    margin-top: 36px;
    padding: 32px 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0));
    border-radius: 14px;
}

/* ================================
   ACCUEIL – LIENS ZONE D’INTERVENTION
   ================================ */

.zone-links{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.zone-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}

.zone-link:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* Option : mettre le HUB “Côte d’Opale” un peu plus “important” */
.zone-link--hub{
  font-weight: 700;
}
footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff;
}
footer a:visited {
  color: inherit;
}
/* =========================================================
   LINKS — Uniformité (évite le violet après clic)
   ========================================================= */
a, a:link, a:visited {
  color: inherit;
}

a:hover, a:focus, a:active {
  color: inherit;
}
