/* ============================================================
   RESET, VARIABLES & BASES – NUISIBLES FRANCE
============================================================ */
/* Reset global */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables globales */
:root {
  /* Couleurs principales */
  --primary-color: #177342;            /* jaune – structure et titres */
  --secondary-color: #0D100D;          /* bleu sombre – boutons */
  --secondary-color-dark: #177342;     /* Hover jaune plus foncé */
  --accent-color: #177342;             /* Rouge vif – urgences, alertes */

  /* Couleurs neutres */
  --text-color: #333;
  --text-color-secondary: #555555;
  --background-color: #f9f9f9;
  --hover-background-color: #f7f7f7;
  --border-color: #dddddd;
  --border-color-light: #e5e5e5;

  /* Ombres */
  --box-shadow-color: rgba(0, 0, 0, 0.1);
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  /* Tailles de police (1rem = 16px) */
  --font-size-base: 1rem;         /* 16px */
  --font-size-large: 1.5rem;      /* 24px */
  --font-size-medium: 1.125rem;   /* 18px */
  --font-size-small: 0.875rem;    /* 14px */
  --font-size-th: 0.9375rem;      /* 15px */
  --font-size-subheading: 2.8rem; /* h2 – 44.8px */
  --font-size-heading: 3.2rem;    /* h1 – 51.2px */

  /* Espacements & bordures */
  --spacing-unit: 1rem;
  --spacing-base: 1rem;
  --spacing-large: 2rem;
  --border-radius: 0.5rem;
}

/* Base du document */
html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif, Arial, Helvetica, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Container général */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

/* Titres */
h1 {
  font-size: clamp(2.2rem, 6vw, var(--font-size-heading));
}
section h1,
article h1,
aside h1,
nav h1 {
  font-size: clamp(2.2rem, 6vw, var(--font-size-heading));
}
h2 {
  font-size: clamp(1.8rem, 5vw, var(--font-size-subheading));
}
h3, h4 {
  font-size: clamp(1.4rem, 4vw, var(--font-size-large));
}
h5, h6 {
  font-size: clamp(1.1rem, 3vw, var(--font-size-medium));
}
h1, h2, h3, h4, h5, h6 {
  font-family: sans-serif, Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: var(--spacing-unit);
}

/* Liens */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

/* Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dividers */
.section-divider {
  line-height: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.divider-svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* ============================================================
   HEADER & MENU –Nuisibles France
============================================================ */
.skip-link {
  position: absolute;
  left: -9999px; /* complètement hors écran */
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  overflow: visible;
  background: #14477F;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  border-radius: 4px;
}

header {
  width: 100%;
  background-color: var(--background-color);
  top: 0;
  padding: 0.75rem 2rem;
  position: sticky;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 999;
  transition: all 0.3s ease;
  padding: 1.2rem 2rem;
}

/* Effet sticky activé */
header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 2rem;
}

/* Logo effet réduit */
header .logo {
  max-height: 100px;
  transition: max-height 0.3s ease, transform 0.3s ease;
}

header.scrolled .logo {
  max-height: 56px;
  transform: scale(0.95);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 100%;
}

/* Conteneur du logo */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 220px;
  height: 76px;
  overflow: hidden;
}

/* Image par défaut */
.logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  flex-shrink: 0;
}

/* Menu icône mobile (non utilisé pour l'instant) */
.menu-icon {
  display: none;
  font-size: 3rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Navigation */
header nav {
  flex-grow: 1;
  max-width: 100%;
}

header nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  white-space: normal;
}

header nav ul li {
  position: relative;
}

header nav ul li a,
header nav ul li button.dropbtn {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-color-secondary);
  font-weight: 600;
  font-size: var(--font-size-normal);
  border-radius: var(--border-radius);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

header nav ul li a:hover,
header nav ul li button.dropbtn:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-1px);
}

/* Menu déroulant */
header nav ul li .dropdown-content {
  display: none; /* ✅ Garder seulement celui-ci */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 440px; /* Pour deux colonnes */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-radius: var(--border-radius);
  z-index: 999;
  overflow: hidden;
  grid-template-columns: 1fr 1fr; /* ✅ on garde le layout ici */
}

header nav ul li .dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: var(--text-color);
  font-size: var(--font-size-small);
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap; /* évite le retour à la ligne */
}

header nav ul li .dropdown-content a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Survol desktop */
header nav ul li:hover .dropdown-content {
  display: grid;
  animation: fadeIn 0.3s ease-in-out;
}

/* Affichage mobile (JS ajoute .show) */
.dropdown.show .dropdown-content {
  display: grid;
}

.dropbtn::after {
  content: "▾";
  font-size: 1em;
  margin-left: 5px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropbtn[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bouton téléphone */
header .btn-quote {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius:20px 20px 30px 30px;
  margin-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-shrink: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: var(--box-shadow);
  text-align: center;
}

header .btn-quote:hover {
  background-color: var(--secondary-color-dark);
  transform: scale(1.05);
}

.btn-quote-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.btn-quote-phone {
  font-size: var(--font-size-medium);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.btn-quote-text {
  font-size: var(--font-size-small);
  opacity: 0.9;
  line-height: 1.1;
}

/* ============================================================
   SECTION Fils d'Ariane –Nuisibles France
============================================================ */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem 1rem;
    background-color: transparent;
    border-radius: 0.25rem;
    font-size: 0.95rem;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item {
    margin-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    margin: 0 0.5rem;
    color: #ccc;
}

.breadcrumb-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #222;
    font-weight: 600;
    pointer-events: none;
    cursor: default;
}

.bgcolor{
    background-color: #fff!important;
}

/* ============================================================
   CTA téléchargement –Nuisibles France
============================================================ */
.cta-download {
  margin: 18px 0 28px;
}
.cta-download-inner {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  background: #f5fbf8;
  border: 1px solid #d9eee4;
  border-radius: 14px;
  padding: 16px;
}
.cta-download-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #1773420f; /* léger vert */
}
.cta-download-icon .fa {
  font-size: 28px;
  color: #177342;
}
.cta-download-text h2 {
  margin: 0 0 6px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.25;
}
.cta-download-text p {
  margin: 0 0 12px;
  color: #2a2f35;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #177342;
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 4px 10px rgba(23,115,66,.18);
}
.btn-download:hover,
.btn-download:focus {
  background: #0f5733;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(23,115,66,.24);
}
.btn-download .file-meta {
  opacity: .85;
  font-weight: 400;
  font-size: .95em;
}
@media (max-width: 640px) {
  .cta-download-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .cta-download-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }
  .cta-download-icon .fa {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-download {
    transition: none;
  }
}

/* ============================================================
   SECTION BLOG SECTION –Nuisibles France
============================================================ */
.blog {
  padding: 2rem 0;
  background-color: var(--background-color);
  text-align: center;
}

.blog h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.blog p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
}

/* Conteneur Articles & Sidebar */
.blog-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Conteneur pour Articles et Sidebar */
.articles-sidebar-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 100%;
}

/* Articles (70% de la largeur) */
.blog-articles {
  flex: 0 0 70%;
  max-width: 70%;
}

/* ============================================================
   Blog Articles -Nuisibles France (Version optimisée)
============================================================ */
.blog-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
}

.blog-article {
  flex: 0 0 calc(50% - 1rem); /* Deux colonnes avec espace */
  max-width: calc(50% - 1rem);
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation apparition au scroll */
.blog-article.appear {
  opacity: 1;
  transform: translateY(0);
}

.blog-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.blog-article img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.blog-article h2 {
  font-size: 1.6rem;
  color: #333;
  margin: 1rem 0 0.5rem;
}

.blog-article h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.blog-article h2 a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.blog-article p {
  font-size: 1rem;
  color: #666;
  margin: 0.5rem 0 1.5rem;
  flex-grow: 1;
}

.blog-article .btn-read-more {
  align-self: flex-start;
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.blog-article .btn-read-more:hover {
  background-color: var(--secondary-color);
}

/* ============================================================
   SECTION Pagination –Nuisibles France (Version Premium Optimisée)
============================================================ */
.pagination-container {
  position: relative;
  z-index: 10;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  padding: 10px 0 10px 0;
  overflow-x: hidden; /* Pas de scroll horizontal */
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

ul.pagination {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 100%;
  z-index: 10;
}

ul.pagination li {
  margin: 0 6px;
  padding: 10px 16px;
  min-height: 44px;
  line-height: 24px;
  border: 1px solid var(--border-color, #ddd);
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  background-color: #fff;
  color: #000;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

ul.pagination li:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

ul.pagination li.active {
  border-color: var(--secondary-color, #3d7200);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

ul.pagination li.disabled {
  background-color: #f1f1f1;
  color: #bbb;
  cursor: not-allowed;
  pointer-events: none;
  border-color: #ddd;
  box-shadow: none;
}

/* Flèches */
ul.pagination li.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #000;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid var(--primary-color, #8ab84d);
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

ul.pagination li.arrow:hover {
  background-color: var(--secondary-color, #3d7200);
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ============================================================
   SECTION Sidebar –Nuisibles France
============================================================ */
.blog-sidebar {
  flex: 0 0 25%;
  max-width: 25%;
  margin-left:5%;
  background-color: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blog-sidebar h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.blog-sidebar ul {
  list-style: none;
  padding: 0;
}

.blog-sidebar ul li {
  margin-bottom: 0.5rem;
}

.blog-sidebar ul li a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 1rem;
}

.blog-sidebar ul li a:hover {
  text-decoration: underline;
}

/* ============================================================
   SECTION Popular articles –Nuisibles France
============================================================ */
/* Articles populaires */
.popular-articles {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.popular-articles h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: #222;
}

.popular-articles p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #555;
}

.popular-articles-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.popular-article {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popular-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.popular-article img {
  width: 100%;
  height: auto;
  display: block;
}

.popular-article h3 {
  font-size: 1.25rem;
  margin: 15px;
  color: var(--secondary-color);
}

.popular-article h3 a {
  color: inherit;
  text-decoration: none;
}

.popular-article h3 a:hover {
  text-decoration: underline;
}

/* ============================================================
   SECTION Article Unique –Nuisibles France
============================================================ */
.article {
  padding: 60px 20px;
  background-color: #fff;
  color: #222;
  font-family: 'Roboto', sans-serif;
  line-height: 1.7;
}

.article .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.article h1 {
  font-size: 2.6rem;
  margin-bottom: 25px;
  color: var(--secondary-color, #3d7200);
  font-weight: 700;
}

.article-meta {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 5px;
}

.article-update p {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 30px;
  font-style: italic;
}

.article-content img {
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.table-of-contents {
  background: #f9f9f9;
  padding: 20px 25px;
  border-left: 5px solid var(--primary-color, #8ab84d);
  margin-bottom: 50px;
  border-radius: 10px;
}

.table-of-contents h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--secondary-color, #3d7200);
  font-weight: 600;
}

.table-of-contents ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.table-of-contents ul li {
  margin-bottom: 10px;
}

.table-of-contents ul li a {
  color: var(--secondary-color, #3d7200);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.table-of-contents ul li a:hover {
  text-decoration: underline;
  color: #ff5733;
}

.article-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.article-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.article-content ul li {
  margin-bottom: 10px;
  list-style-type: disc;
}

.article-content h2 {
  font-size: 2.2rem;
  margin-top: 60px;
  margin-bottom: 25px;
  color: #222;
  position: relative;
}

.article-content h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-color, #8ab84d);
  margin-top: 10px;
}

.article-content h3 {
  font-size: 1.7rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color:var(--secondary-color, #8ab84d);
}

/* BOUTONS DE PARTAGE */
.share-buttons {
  margin-top: 60px;
  text-align: center;
}

.share-buttons h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--secondary-color, #3d7200);
  font-weight: 600;
}

.share-buttons a {
  display: inline-block;
  margin: 0 12px;
  font-size: 2rem;
  color: #555;
  transition: color 0.3s, transform 0.3s;
}

.share-buttons a:hover {
  color: var(--primary-color, #8ab84d);
  transform: translateY(-3px);
}

/* Animation fade-up pour les titres */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SECTION tableau –Nuisibles France
============================================================ */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
  line-height: 1.5;
  background-color: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

thead {
  background-color: var(--primary-color, #8ab84d);
  color: #fff;
}

thead th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
}

tbody td {
  padding: 1rem;
  border-bottom: 1px solid #e5e5e5;
}

tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

tbody tr:hover {
  background-color: #eef5ff;
}

@media (max-width: 768px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    background-color: #fff;
  }

  td {
    position: relative;
    padding-left: 50%;
    text-align: left;
    border: none;
    border-bottom: 1px solid #eee;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-weight: bold;
    white-space: nowrap;
  }
}

/* ============================================================
   SECTION Comments Article –Nuisibles France (Amélioré)
============================================================ */
.comments {
  padding: 60px 0;
  background-color: #fff;
}

.comments .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.comments h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
  color: #222;
}

.comments .comment-form {
  margin-bottom: 50px;
  background: #f9f9f9;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.comments .comment-form .form-group {
  margin-bottom: 20px;
}

.comments .comment-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.comments .comment-form input,
.comments .comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
  color: #333;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.comments .comment-form input:focus,
.comments .comment-form textarea:focus {
  border-color: var(--secondary-color, #3d7200);
  box-shadow: 0 0 5px rgba(61, 114, 0, 0.2);
  outline: none;
}

.comments .comment-form .btn-submit {
  background-color: var(--secondary-color, #3d7200);
  color: #fff;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.comments .comment-form .btn-submit:hover {
  background-color: var(--primary-color, #3d7200);
  transform: translateY(-2px);
}

.comments .comments-list {
  margin-top: 40px;
}

.comments .comments-list .comment {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.comments .comments-list .comment p {
  margin: 8px 0;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.comments .comments-list .comment strong {
  font-size: 1.05rem;
  color: #222;
}

.comments .comments-list .comment time {
  display: block;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 8px;
}

/* ============================================================
   SECTION Bandeau intervention –Nuisibles France
============================================================ */
.cta-intervention {
  background-color:#CCCCCC;
  padding: 60px 20px;
  text-align: center;
}

.cta-intervention h2 {
  color: #565656;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-intervention p {
  color: #565656;
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.btn-cta {
  display: inline-block;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 15px 30px;
  font-size: 1.125rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-cta:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* ============================================================
   SECTION Contact –Nuisibles France
============================================================ */
.contact {
  padding: 4rem 2rem;
  background-color: var(--background-color);
}

.contact h2 {
  text-align: center;
  font-size: var(--font-size-subheading);
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 700;
}

.contact > .container > p {
  text-align: center;
  font-size: var(--font-size-medium);
  color: var(--text-color-secondary);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Grille contact-info + formulaire */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
}

.contact-info,
.contact-form {
  flex: 1 1 500px;
}

/* Infos de contact */
.contact-info h3 {
  font-size: var(--font-size-large);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: var(--font-size-small);
  color: var(--text-color-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-info .phone-number a {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--secondary-color);
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.contact-info .phone-number a:hover {
  color: var(--primary-color);
}

/* Carte Google Maps */
#map {
  margin-top: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

#map iframe,
iframe[loading="lazy"] {
  width: 100%;
  height: 400px;
  min-height: 400px;
  display: block;
  border: 0;
}

/* FORMULAIRE */
.contact-form h3 {
  font-size: var(--font-size-large);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.form-box {
  background-color: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Groupes de champs */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  background-color: #fff;
  color: var(--text-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.2);
}

/* BOUTON D'ENVOI */
.btn-submit {
  align-self: flex-start;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 1rem 2rem;
  font-size: var(--font-size-small);
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: var(--box-shadow);
}

.btn-submit:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-submit:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 4px;
}

/* Accessibilité */
.visually-hidden {
  position: absolute;
  left: -9999px;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* ============================================================
   SECTION Footer –Nuisibles France
============================================================ */
footer {
  background: linear-gradient(180deg, #222, #111);
  color: #f1f1f1;
  padding: 4rem 0;
  font-size: var(--font-size-small);
  border-top: 5px solid var(--primary-color);
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

/* GRILLE DE COLONNES */
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
}

/* TITRES DE COLONNES */
.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* LIENS, TEXTES */
.footer-column p,
.footer-column ul,
.footer-column a {
  color: #ccc;
  line-height: 1.8;
  text-decoration: none;
  margin: 0;
  text-align:left
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* AVIS GOOGLE */
.google-rating {
  margin-top: 1.5rem;
}

.google-rating .stars {
  color: #f4b400;
  font-size: 1.3rem;
}

.google-rating .rating-value {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 0.5rem;
  color: #fff;
}

.google-rating .rating-count {
  font-size: 0.9rem;
  color: #aaa;
}

/* RÉSEAUX SOCIAUX */
.social-media {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.social-media a {
  color: #ddd;
  font-size: 1.8rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
  color: var(--secondary-color);
  transform: scale(1.15);
}

/* COPYRIGHT */
footer p {
  font-size: 0.9rem;
  color: #bbb;
  margin-top: 2rem;
  text-align: center;
}

footer p a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer p a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.recaptcha-info {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.5em;
  line-height: 1.4;
  text-align: center;
}
.recaptcha-info a {
  color: inherit;
  text-decoration: underline;
}

/* ============================
   SECTION Popup –Nuisibles France
=============================== */
.scroll-popup {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 320px;
	max-width: calc(100vw - 40px); /* ✅ évite tout débordement */
	background-color: var(--background-color, #fff);
	box-shadow: 0 4px 8px var(--box-shadow-color, rgba(0, 0, 0, 0.1));
	border-radius: 15px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	z-index: 1000;
	transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
	overflow: hidden;
}

/* Animation d’entrée */
.scroll-popup.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	animation: fadeInPop 0.5s ease-out;
}

@keyframes fadeInPop {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.scroll-popup .popup-content {
	padding: 20px;
	text-align: center;
	position: relative;
}

.scroll-popup img {
	display: block;
	margin: 0 auto 10px;
	border-radius: 50%;
}

/* Titre */
.scroll-popup h3 {
	margin: 0 0 10px;
	font-size: 1.5rem;
	color: var(--text-color, #222);
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Texte */
.scroll-popup p {
	font-size: 1rem;
	color: #555;
	margin-bottom: 15px;
	line-height: 1.4;
}

/* Formulaire express */
.scroll-popup .popup-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

.scroll-popup .popup-form input[type="tel"] {
	width: 100%;
	padding: 10px;
	border-radius: 25px;
	border: 1px solid #ddd;
	font-size: 1rem;
	box-sizing: border-box;
}

.scroll-popup .popup-form button {
	background-color: var(--secondary-color, #3d7200);
	color: #fff;
	border: none;
	padding: 10px 25px;
	font-size: 1rem;
	border-radius: 25px;
	cursor: pointer;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.scroll-popup .popup-form button:hover {
	background-color: var(--primary-color, #8ab84d);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Bouton de fermeture */
.scroll-popup .close-popup {
	background: none;
	border: none;
	color: #999;
	font-size: 1.5rem;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	transition: color 0.3s ease;
	display: block;
}

.scroll-popup .close-popup:hover {
	color: var(--text-color, #222);
}

/* Mode réduit */
.scroll-popup.minimized {
	width: 220px;
	height: 50px;
	margin-bottom:20px;
	background-color: var(--secondary-color, #3d7200);
	border-radius: 25px;
	display: flex;
	align-items: center; /* Centrage vertical */
	justify-content: center; /* Centrage horizontal */
	cursor: pointer;
	opacity: 1;
	visibility: visible;
	transition: all 0.3s ease;
	padding: 0 10px; /* Pour que le texte ne touche pas les bords */
	text-align: center;
}


.scroll-popup.minimized h3 {
	font-size: 1rem;
	color: #fff;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	text-align: center;
}

/* Cache tous les autres éléments sauf le titre en mode réduit */
.scroll-popup.minimized .popup-content p,
.scroll-popup.minimized .popup-form,
.scroll-popup.minimized img,
.scroll-popup.minimized .close-popup {
	display: none !important;
}

.scroll-popup.minimized:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Empêche le scroll horizontal */
body {
    overflow-x: hidden;
}

/* ============================================================
   SECTION RGPD –Nuisibles France
============================================================ */
#cookieConsent {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: var(--spacing-unit);
    text-align: center;
    z-index: 9999;
    display: none;
}

#cookieConsent .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

#cookieConsent p {
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

#cookieConsent a {
    color: #fff;
    text-decoration: none;
}

#cookieConsent a:hover {
    text-decoration: underline;
}

#cookieConsent .btn {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: calc(var(--spacing-unit) * 0.5) var(--spacing-unit);
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#cookieConsent .btn:hover {
    background-color: var(--primary-color);
}

#cookieConsent .visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE Nuisibles France
============================================================ */
@media (min-width: 768px) {
.mobile-call-only{display:none;}	
}	

/* === 1. Mobiles : max-width: 767px === */
@media (max-width: 767px) {	
  header .logo {
    max-height: 65px !important;
    transform: none !important;
    transition: none !important;
  }
  .logo-scrolled { display: none !important; }
  .logo-default { display: inline-block !important; }

  .menu-icon {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    font-size: 22px;
    line-height: 20%;
    text-align: center;
    color: var(--primary-color);
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    z-index: 1001;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  }
  .menu-icon::before {
    content: '\2630';
    font-size: 22px;
  }
  .menu-icon.active::before {
    content: '\2715';
    color: var(--secondary-color);
  }
  header nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #ededed;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    z-index: 999;
  }
  header nav ul.show { display: flex; }
  header nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }
  header nav ul li a {
    display: block;
    width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: left;
  }
  .dropdown-content {
    position: static;
    background-color: var(--background-color);
    width: 100%;
    border-top: 1px solid var(--border-color);
    display: none;
  }
  .dropdown.show .dropdown-content { display: block; }
  .dropdown-content a {
    font-size: 1rem;
    padding: 14px 25px;
  }
  header .btn-quote { display: none;}
  
  .trust-icon p { display: none;} 
  #scrollPopup {display: none !important;}
  .btn-main {width: 100%;text-align: center;}
  
  .contact-info,
  .contact-form {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  #cookieConsent .container {flex-direction: column;align-items: center;text-align: center;}
  #cookieConsent p {margin-bottom: var(--spacing-unit);}
  #cookieConsent .btn {width: 100%;max-width: 200px;}
  
/* ===== Bouton d’appel mobile collé en bas ===== */
.mobile-call-only {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--secondary-color);
  z-index: 9998;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.mobile-call-only.visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-call-only .btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #fff;
  padding: 1rem 1.2rem;
  text-decoration: none;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.text-container .label {
  font-size: 1.2rem;
  opacity: 0.95;
  font-weight: 700;
  margin-bottom: 1rem;
}

.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fff;
  color: var(--secondary-color);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

.phone-badge .icon-phone {
  font-size: 1rem;
  color: var(--secondary-color);
}

.phone-badge .phone-number {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.4;
}

/* Onde clic */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
  z-index: 2;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Effet pulsation lent et subtil */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
  }
}

.pulse {
  animation: pulse 4s infinite ease-in-out;
}
}  

/* === max-width: 768px (spécifique blog) === */
@media (max-width: 768px) {
  .blog-content,
  .articles-sidebar-container {
    display: flex;
    flex-direction: column;
  }

  .blog-articles{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-left: 0;
    text-align: center;
  }

  .blog-article {
    flex: 100%;
    max-width: 100%;
  }

.blog-sidebar {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center;
  margin: 0;
}

.blog-sidebar ul {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-sidebar li {
  width: 100%;
  max-width: 100%;
}

.blog-sidebar li a {
  display: block;
  width: 100%;
  padding: 12px 16px;
  text-align: center;
}

  .blog h1 {
    font-size: 2rem;
  }
  .blog-article h2 {
    font-size: 1.3rem;
  }

  .article .article-meta {
    font-size: 0.8rem;
  }

  .article .article-content {
    font-size: 1rem;
    line-height: 1.6;
  }

  .article .article-content h2 {
    font-size: 1.5rem;
  }

  .article .container {
    padding: 0 10px;
  }

  .comments h2 {
    font-size: 1.8rem;
  }
  .comments .comment-form input,
  .comments .comment-form textarea {
    font-size: 0.9rem;
  }
  .comments .comment-form .btn-submit {
    padding: 8px 16px;
  }

  #cookieConsent .container {flex-direction: column;align-items: center;text-align: center;}
  #cookieConsent p {margin-bottom: var(--spacing-unit);}
  #cookieConsent .btn {width: 100%;max-width: 200px;}
}

/* === Tablettes et petits desktops : 768px à 1320px === */
@media (min-width: 768px) and (max-width: 1320px) {
  header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: clip;
    gap: 1rem;
  }

  header .logo-container {
    flex: 0 0 auto;
  }

  nav {
    flex: 1 1 auto;
    overflow: hidden;
  }

  header nav ul {
	display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    -webkit-overflow-scrolling: touch; /* iOS smooth scroll */
  }
  
  header nav ul::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  header nav ul li {
    white-space: nowrap;
    flex-shrink: 1;
	flex: 0 0 auto;
  }

  header .btn-quote {
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem;
    white-space: nowrap;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo {
    max-width: 150px;
  }
}

/* === max-width: 991px (mobiles + tablettes) === */
@media (max-width: 991px) {
  .top h1 {
    font-size: clamp(2rem, 4.5vw, 2.7rem);
  }
  .top p {
    font-size: 1.2rem;
    max-width: 700px;
    line-height: 1.6;
  }
  .key-benefits {
    max-width: 500px;
  }
  .key-benefits li {
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
  }
  .key-benefits i {
    font-size: 1.4rem;
  }
  .btn-main {
    font-size: 1.1rem;
    padding: 1rem 1.8rem;
  }
  .trust-icons {
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .trust-icon {
    max-width: 280px;
    padding: 0.9rem;
  }
  .trust-icon img {
    width: 55px;
  }
  .trust-icon p {
    font-size: 0.95rem;
  }
  .faq .container h2 {
    font-size: 1.8rem;
  }
  .service-card h3 {
    font-size: 1.4rem;
  }
  .popup-rappel {
    font-size: 1rem;
  }
  .steps .step h3 {
    font-size: 1.4rem;
  }
  .about-content h2 {
    font-size: 1.6rem;
    text-align: center;
  }
  .statistiques .stat h3 {
    font-size: 1.6rem;
  }
  .carte iframe {
    height: 300px;
  }
  .cta-banner h2 {
    font-size: 1.7rem;
  }
}

/* === 992px - 1320px (desktop compact) === */
@media (min-width: 992px) and (max-width: 1320px) {
  .top h1 {
    font-size: 2.6rem;
  }
  .top p {
    font-size: 1.3rem;
  }

  .key-benefits {
    max-width: 550px;
  }

  .btn-main {
    font-size: 1.15rem;
  }

  .trust-icon img {
    width: 58px;
  }
}

/* === Desktop compact : à partir de 1321px === */
@media (min-width: 1321px) {
  header .container {
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.5rem;
  }

  header nav ul {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  header .btn-quote {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    max-width: none;
  }

  .btn-quote-text {
    display: inline;
  }

  .logo {
    max-width: 180px;
  }
}

/* === max-width: 576px === */
@media (max-width: 576px) {
  .top h1, .corpus h1 {
    font-size: 2rem;
  }
  .top p {
    font-size: 1rem;
  }
  .btn-main {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .zone-list li {
    font-size: 0.8rem;
  }
  .service-card {
    flex: 1 1 calc(100% - 40px);
  }
  .service-card p {
    font-size: 0.9rem;
  }
  .advantage-item {
    flex: 1 1 100%;
  }

  .faq .container h2 {
    font-size: 1.5rem;
  }
  .faq-item .faq-question {
    font-size: 1.2rem;
  }
  .faq-answer {
    font-size: 0.9rem;
  }

  .partners h2 {
    display: none;
  }
  .partners-images {
    gap: 1rem;
    overflow-x: auto;
  }
  .partner-item {
    max-width: 80px;
  }
}

/* === max-width: 480px === */
@media (max-width: 480px) {
  .btn-main {
    width: 100%;
    text-align: center;
  }

  .review-item {
    flex: 0 0 100%;
  }

  .blog h1,
  .article h1 {
    font-size: 1.8rem;
  }
  .blog p,
  .blog-article p,
  .article .article-content {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .blog-article h2,
  .article .article-content h2 {
    font-size: 1.2rem;
  }
  .blog-sidebar h3 {
    font-size: 1.3rem;
  }
  .blog-sidebar ul li a {
    font-size: 0.9rem;
  }

  .article .container {
    padding: 0 5px;
  }

  .comments h2 {
    font-size: 1.6rem;
  }
  .comments .comment-form input,
  .comments .comment-form textarea {
    font-size: 0.8rem;
  }
  .comments .comment-form .btn-submit {
    padding: 6px 12px;
  }

  #cookieConsent p {
    font-size: 0.9rem;
  }
  #cookieConsent .btn {
    font-size: 0.9rem;
    padding: calc(var(--spacing-unit) * 0.5);
  }
}

/* === Accessibilité / Préférences utilisateur === */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* === Anti-CLS –Nuisibles France === */
#home video,
#home .video-background {
  min-height: 100vh;
  width: 100%;
  object-fit: cover;
}

#reviews-carousel,
.review-item {
  min-height: 160px;
}

h1, h2, h3, h4 {
  min-height: 1em;
  line-height: 1.2;
}

footer .google-rating {
  display: flex;
  align-items: center;
  min-height: 24px;
}

footer .google-rating .stars {
  min-width: 100px;
}

@font-face {
  font-family: 'FontAwesome';
  src: url('../css/webfonts/fa-solid-900.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'FontAwesome Brands';
  src: url('../css/webfonts/fa-brands-400.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: "Font Awesome 5 Brands";
  src: url('../css/webfonts/fa-brands-400.woff2') format('woff2');
  font-display: swap;
}
