/* ==========================================================================
   LA CLINIQUE DES NUISIBLES — Feuille de style commune
   --------------------------------------------------------------------------
   Ce fichier contient TOUT le style du site.
   Si tu changes une couleur ici, elle change sur les 6 pages d'un coup.
   Ne le renomme pas : les pages HTML l'appellent sous le nom "style.css".
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. LES VARIABLES — à modifier en premier
   Tout ce qui se règle sans toucher au reste du fichier.
   -------------------------------------------------------------------------- */

:root {
  /* Couleurs de la marque */
  --bleu:            #0B3B5C;   /* bleu principal : en-tête, titres, pied de page */
  --bleu-clair:      #14567F;   /* dégradé du hero */
  --bleu-tres-clair: #E8F0F6;   /* fonds de blocs discrets */
  --vert:            #16A34A;   /* boutons d'action UNIQUEMENT */
  --vert-survol:     #15803D;
  --orange:          #F59E0B;   /* étoiles, badge 24h */

  /* Couleurs de texte et de fond */
  --texte:           #1A1A1A;
  --texte-doux:      #5B6B79;
  --fond:            #FFFFFF;
  --fond-alterne:    #F4F7FA;
  --bordure:         #E2E8F0;

  /* Typographie */
  --titre: 'Poppins', 'Trebuchet MS', sans-serif;
  --corps: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* Mesures */
  --largeur-max: 1140px;
  --largeur-texte: 700px;
  --rayon: 8px;
  --rayon-carte: 12px;
  --ombre: 0 4px 16px rgba(11, 59, 92, 0.08);
  --ombre-forte: 0 12px 32px rgba(11, 59, 92, 0.14);
}


/* --------------------------------------------------------------------------
   2. RÉGLAGES DE BASE
   -------------------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  /* Espace en bas pour que la barre d'appel mobile ne cache rien */
  padding-bottom: 72px;
}

@media (min-width: 900px) {
  body { font-size: 18px; padding-bottom: 0; }
}

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

a { color: var(--bleu); }

/* Le contour visible au clavier — ne pas supprimer, c'est de l'accessibilité */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* Respecte les personnes qui ont désactivé les animations */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.conteneur {
  width: 100%;
  max-width: var(--largeur-max);
  margin: 0 auto;
  padding: 0 24px;
}


/* --------------------------------------------------------------------------
   3. TITRES ET TEXTES
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 600;
  color: var(--bleu);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 34px; }
h2 { font-size: 27px; margin-bottom: 16px; }
h3 { font-size: 20px; margin-bottom: 8px; }

@media (min-width: 900px) {
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  h3 { font-size: 22px; }
}

p { margin-bottom: 16px; max-width: var(--largeur-texte); }
p:last-child { margin-bottom: 0; }

.chapeau {
  font-size: 19px;
  color: var(--texte-doux);
  margin-bottom: 32px;
}

.centre { text-align: center; }
.centre p { margin-left: auto; margin-right: auto; }


/* --------------------------------------------------------------------------
   4. SECTIONS
   -------------------------------------------------------------------------- */

section { padding: 56px 0; }

@media (min-width: 900px) {
  section { padding: 80px 0; }
}

.fond-gris { background: var(--fond-alterne); }
.fond-bleu { background: var(--bleu); color: #fff; }
.fond-bleu h2, .fond-bleu h3 { color: #fff; }
.fond-bleu p { color: rgba(255, 255, 255, 0.88); }


/* --------------------------------------------------------------------------
   5. BOUTONS
   Règle : UN SEUL bouton vert par écran visible. Le vert = l'action qui compte.
   -------------------------------------------------------------------------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 30px;
  border: 2px solid transparent;
  border-radius: var(--rayon);
  font-family: var(--titre);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, transform .15s, border-color .15s;
}

.bouton-vert {
  background: var(--vert);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}
.bouton-vert:hover { background: var(--vert-survol); transform: translateY(-2px); }

.bouton-blanc {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.bouton-blanc:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.bouton-bleu {
  background: transparent;
  color: var(--bleu);
  border-color: var(--bordure);
}
.bouton-bleu:hover { border-color: var(--bleu); background: var(--bleu-tres-clair); }

.groupe-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 560px) {
  .groupe-boutons { flex-direction: column; }
  .groupe-boutons .bouton { width: 100%; }
}


/* --------------------------------------------------------------------------
   6. EN-TÊTE
   -------------------------------------------------------------------------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--bordure);
}

.entete-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 18px;
  color: var(--bleu);
  text-decoration: none;
  line-height: 1.15;
}
.logo span {
  display: block;
  font-family: var(--corps);
  font-weight: 400;
  font-size: 12px;
  color: var(--texte-doux);
}

.nav { display: none; gap: 26px; }
.nav a {
  font-size: 15px;
  color: var(--texte);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--vert); }
.nav a.actif { border-bottom-color: var(--bleu); font-weight: 500; }

.tel-entete {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 17px;
  color: var(--bleu);
  text-decoration: none;
  white-space: nowrap;
}
.tel-entete:hover { color: var(--vert); }

@media (min-width: 1000px) {
  .nav { display: flex; }
}
@media (max-width: 520px) {
  .tel-entete { display: none; } /* la barre fixe du bas prend le relais */
}


/* --------------------------------------------------------------------------
   6b. BANDEAU SAISON (guêpes) — ruban cliquable en haut de l'accueil
   -------------------------------------------------------------------------- */

.bandeau-saison {
  display: block;
  background: var(--orange);
  color: #3d2600;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  padding: 11px 20px;
  line-height: 1.4;
}
.bandeau-saison strong { font-family: var(--titre); font-weight: 600; }
.bandeau-saison:hover { background: #e8930a; }


/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */

.hero {
  background: linear-gradient(135deg, var(--bleu) 0%, var(--bleu-clair) 100%);
  color: #fff;
  padding: 48px 0 0;
  overflow: hidden;
}

.hero h1 { color: #fff; margin-bottom: 20px; }

.hero-texte p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
}

.hero-grille {
  display: grid;
  gap: 36px;
  align-items: center;
  padding-bottom: 48px;
}

@media (min-width: 900px) {
  .hero { padding-top: 72px; }
  .hero-grille {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    padding-bottom: 72px;
  }
}

.badge-urgence {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FCD9A0;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.badge-urgence::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* Bandeau de réassurance collé sous le hero */
.bandeau-confiance { background: rgba(0, 0, 0, 0.18); }
.bandeau-confiance ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 24px;
  padding: 18px 0;
}
.bandeau-confiance li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  padding: 6px 0 6px 24px;
  position: relative;
}
.bandeau-confiance li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
@media (min-width: 780px) {
  .bandeau-confiance ul { grid-template-columns: repeat(4, 1fr); }
  .bandeau-confiance li { font-size: 15px; }
}


/* --------------------------------------------------------------------------
   8. EMPLACEMENTS PHOTO
   Chaque bloc pointillé = une photo à prendre. Le mode d'emploi est écrit
   dedans. Pour la remplacer : voir README.txt
   -------------------------------------------------------------------------- */

.photo {
  position: relative;
  border-radius: var(--rayon-carte);
  overflow: hidden;
  background: var(--bleu-tres-clair);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

.photo-vide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 28px 22px;
  min-height: 260px;
  border: 2px dashed rgba(11, 59, 92, 0.28);
  background: var(--bleu-tres-clair);
  color: var(--bleu);
}
.photo-vide strong { font-family: var(--titre); font-size: 15px; }
.photo-vide span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--texte-doux);
  max-width: 280px;
}
.photo-vide .icone { font-size: 30px; opacity: .5; }

/* Version claire quand le bloc est posé sur le fond bleu du hero */
.hero .photo-vide {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  min-height: 320px;
}
.hero .photo-vide span { color: rgba(255, 255, 255, 0.8); }

.photo-large { min-height: 320px; }


/* --------------------------------------------------------------------------
   9. CARTES ET GRILLES
   -------------------------------------------------------------------------- */

.grille-2, .grille-3, .grille-4 {
  display: grid;
  gap: 24px;
}
@media (min-width: 720px) {
  .grille-2 { grid-template-columns: repeat(2, 1fr); }
  .grille-3 { grid-template-columns: repeat(3, 1fr); }
  .grille-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grille-4 { grid-template-columns: repeat(4, 1fr); }
}

.carte {
  background: #fff;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-carte);
  padding: 28px 24px;
}
.carte p { color: var(--texte-doux); font-size: 16px; }

/* Carte de service cliquable */
.carte-service {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  padding: 0;
  transition: box-shadow .18s, border-color .18s;
}
.carte-service:hover { box-shadow: var(--ombre-forte); border-color: var(--bleu); }
.carte-service .photo-vide { min-height: 170px; border: 0; border-bottom: 1px solid var(--bordure); border-radius: 0; }
.carte-service .contenu { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.carte-service .contenu p { flex: 1; }
.carte-service .lien-faux {
  margin-top: 16px;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 15px;
  color: var(--vert);
}

/* Bénéfice : un chiffre ou un pictogramme discret */
.benefice h3 { display: flex; align-items: center; gap: 10px; }
.benefice .puce {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bleu-tres-clair);
  display: grid; place-items: center;
  font-size: 19px;
}


/* --------------------------------------------------------------------------
   10. ÉTAPES NUMÉROTÉES (déroulé d'une intervention — vraie séquence)
   -------------------------------------------------------------------------- */

.etapes { list-style: none; counter-reset: etape; display: grid; gap: 4px; }

.etapes li {
  counter-increment: etape;
  position: relative;
  padding: 20px 0 20px 62px;
  border-bottom: 1px solid var(--bordure);
}
.etapes li:last-child { border-bottom: 0; }

.etapes li::before {
  content: counter(etape);
  position: absolute;
  left: 0;
  top: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bleu);
  color: #fff;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 17px;
  display: grid;
  place-items: center;
}

.etapes h3 { margin-bottom: 4px; }
.etapes p { color: var(--texte-doux); font-size: 16px; }


/* --------------------------------------------------------------------------
   11. SIGNES D'ALERTE (liste à cocher, style fiche clinique)
   -------------------------------------------------------------------------- */

.alerte {
  border-left: 4px solid var(--orange);
  background: #FFFBF3;
  border-radius: 0 var(--rayon-carte) var(--rayon-carte) 0;
  padding: 26px 26px 26px 24px;
}
.alerte h3 { color: var(--bleu); }
.alerte ul { list-style: none; margin-top: 12px; }
.alerte li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 16px;
  color: var(--texte);
}
.alerte li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 15px; height: 15px;
  border: 2px solid var(--orange);
  border-radius: 3px;
}


/* --------------------------------------------------------------------------
   12. AVIS CLIENTS
   -------------------------------------------------------------------------- */

.note-google {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--bordure);
  border-radius: 100px;
  padding: 12px 24px;
  margin-bottom: 32px;
  box-shadow: var(--ombre);
}
.note-google .chiffre { font-family: var(--titre); font-weight: 600; font-size: 22px; color: var(--bleu); }
.note-google .etoiles { color: var(--orange); letter-spacing: 2px; }
.note-google .compte { font-size: 14px; color: var(--texte-doux); }

.avis {
  background: #fff;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon-carte);
  padding: 26px 24px;
}
.avis .etoiles { color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; }
.avis blockquote { font-size: 16px; line-height: 1.65; margin-bottom: 16px; }
.avis cite { font-style: normal; font-size: 14px; color: var(--texte-doux); }
.avis cite strong { display: block; color: var(--texte); font-size: 15px; }


/* --------------------------------------------------------------------------
   13. ZONE D'INTERVENTION
   -------------------------------------------------------------------------- */

.villes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.villes a {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--bordure);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 15px;
  color: var(--texte);
  text-decoration: none;
}
.villes a:hover { border-color: var(--bleu); color: var(--bleu); }


/* --------------------------------------------------------------------------
   14. FAQ (balise <details> native, aucun script nécessaire)
   -------------------------------------------------------------------------- */

.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--bordure);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 17px;
  color: var(--bleu);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--vert);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 20px; color: var(--texte-doux); font-size: 16px; }


/* --------------------------------------------------------------------------
   15. FORMULAIRE
   -------------------------------------------------------------------------- */

.formulaire {
  background: #fff;
  border-radius: var(--rayon-carte);
  padding: 28px 24px;
  box-shadow: var(--ombre-forte);
}
.formulaire h3 { margin-bottom: 6px; }
.formulaire .aide { font-size: 14px; color: var(--texte-doux); margin-bottom: 20px; }

.champ { margin-bottom: 16px; }
.champ label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--texte);
  margin-bottom: 6px;
}
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  font-family: var(--corps);
  font-size: 16px;
  color: var(--texte);
  background: #fff;
}
.champ textarea { min-height: 110px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--bleu); }
.formulaire .bouton { width: 100%; }
.mention {
  font-size: 13px;
  color: var(--texte-doux);
  margin-top: 14px;
  text-align: center;
}


/* --------------------------------------------------------------------------
   16. BLOC D'APPEL FINAL
   -------------------------------------------------------------------------- */

.appel-final { background: linear-gradient(135deg, var(--bleu) 0%, var(--bleu-clair) 100%); color: #fff; }
.appel-final h2 { color: #fff; }
.appel-final p { color: rgba(255, 255, 255, 0.9); }
.appel-grille { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .appel-grille { grid-template-columns: 1fr 1fr; gap: 56px; }
}


/* --------------------------------------------------------------------------
   17. PIED DE PAGE
   -------------------------------------------------------------------------- */

.pied {
  background: var(--bleu);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 28px;
  font-size: 15px;
}
.pied a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.pied ul { list-style: none; }
.pied li { margin-bottom: 8px; }
.pied-grille { display: grid; gap: 32px; }
@media (min-width: 760px) {
  .pied-grille { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}
.pied-bas {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}


/* --------------------------------------------------------------------------
   18. BARRE D'APPEL FIXE — MOBILE
   C'est la règle non négociable : elle reste visible pendant tout le scroll.
   -------------------------------------------------------------------------- */

.barre-appel {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1px;
  background: var(--bordure);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}
.barre-appel a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  padding: 12px 20px;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
}
.barre-appel .appel { background: var(--vert); color: #fff; }
.barre-appel .devis { background: #fff; color: var(--bleu); padding: 12px 22px; }

@media (min-width: 900px) {
  .barre-appel { display: none; }
}
