/*
  style-client-extrait.css — Les Artis, nouvelles pages métier × ville
  Extrait TEXTUEL de https://les-artis.fr/style.css (miroir du 25.09.2026, fichier gelé, jamais modifié).
  Gardé : les règles que Chrome applique réellement (CSSOM) ET qui touchent un élément du gabarit de référence
  (electricien-rennes.html + index.html, fenêtres, menu mobile et FAQ ouverts).
  Retiré : @import Roboto (police jamais utilisée), règles sans élément, règles que le navigateur ignore déjà
  (accolade orpheline vers la ligne 2090 de style.css : le @media (max-width:768px) du bouton flottant ne s'applique pas en ligne),
  et le masquage des 3 premiers .stat-item (voir commentaire en place).
  Généré par rapport/prototype/outils/extraire_css_et_tester.js — ne pas éditer à la main : les compléments vont dans une autre feuille.
*/

:root {
  /* Palette 54 - Haut Contraste (Terracotta & Ardoise) */
  --primary-h: 32;
  --primary-s: 95%;
  --primary-l: 44%; /* #D97706 (Orange/Ambre) */

  --secondary-h: 217;
  --secondary-s: 33%;
  --secondary-l: 17%; /* #1E293B (Ardoise Foncé) */

  --accent-h: 32;
  --accent-s: 95%;
  --accent-l: 44%; /* #D97706 (Orange/Ambre) */

  --bg-h: 0;
  --bg-s: 0%;
  --bg-l: 100%; /* #FFFFFF (Blanc Pur) */

  --text-h: 217;
  --text-s: 33%;
  --text-l: 17%; /* #1E293B (Ardoise Foncé) */

  /* Variables CSS dérivées */
  --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --secondary: hsl(var(--secondary-h), var(--secondary-s), var(--secondary-l));
  --accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l));
  --bg: hsl(var(--bg-h), var(--bg-s), var(--bg-l));
  --text: hsl(var(--text-h), var(--text-s), var(--text-l));

  /* Variables complémentaires pour compatibilité */
  --accent-hover: hsl(var(--primary-h), var(--primary-s), 25%);
  --black: #111111;
  --dark-gray: #374151;
  --mid-gray: #4b5563;
  --body-gray: #1f2937;
  --light-gray: #6b7280;
  --border: #e5e7eb;
  --bg-light: var(--bg);
  --white: #FFFFFF;

  /* Variables de Contraste Strictes */
  --primary-contrast: var(--text); /* Texte foncé sur bouton orange pour lisibilité maximale */
  --secondary-contrast: #ffffff;   /* Texte blanc sur fond ardoise foncé */
  --accent-contrast: var(--text);    /* Texte foncé sur fond orange */

  /* Overlays */
  --overlay-dark: hsla(var(--text-h), var(--text-s), var(--text-l), 0.65);
  --overlay-card: hsl(var(--text-h), 30%, 15%);
  --overlay-section: hsl(var(--text-h), 30%, 20%);

  /* Fonts */
  --font-title: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 80px 0;
  --card-padding: 24px;
  --grid-gap: 30px;
  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.625;
  color: var(--body-gray);
  background-color: var(--white);
  overflow-x: hidden;
  padding-top: 0;
}

@media (max-width: 768px) {
  body {
    padding-top: 0;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  text-transform: uppercase;
  margin: 0 0 1rem 0;
}

h1 {
  font-size: 46px !important;
  letter-spacing: 0.02em;
}

h2 {
  font-size: 32px !important;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 20px;
}

p {
  margin: 0 0 1.2rem 0;
  color: var(--body-gray);
  font-size: 14px;
  line-height: 1.625;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section-pad {
  padding: var(--section-padding);
}

#main-header {
  display: contents;
  font-family: var(--font-title);
}

.header-top-bar {
  background: var(--black);
  color: var(--white);
  padding: 10px 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-bar a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.header-top-bar a:hover {
  color: var(--accent);
}

.header-main {
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo-wrap:hover {
  opacity: 0.8;
}

.logo-img {
  height: 70px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo-text span {
  color: var(--accent);
}

.logo-tagline {
  font-family: var(--font-title);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--light-gray);
  display: block;
}

#main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: auto;
}

#main-nav a {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: all 0.3s ease;
}

#main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

#main-nav a:hover::after,
#main-nav a.active::after {
  width: 100%;
}

#main-nav a:hover,
#main-nav a.active {
  color: var(--accent);
}

.header-tel {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-mobile-actions {
  display: none;
  gap: 15px;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 45px;
  height: 45px;
  justify-content: center;
  align-items: center;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s ease;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 993px) {
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 992px) {
  #main-nav {
    display: none;
  }

  .header-tel {
    display: none !important;
  }

  .header-mobile-actions {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .header-main {
    padding: 12px 0;
  }

  .logo-text {
    font-size: 16px;
  }

  .logo-tagline {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-top-bar {
    padding: 8px 0;
    font-size: 10px;
  }

  .header-top-bar span {
    flex: 1;
    text-align: center;
  }

  .header-top-bar a {
    display: none;
  }

  .header-main .logo-text {
    display: none !important;
  }

  .header-inner {
    gap: 10px;
  }

  .header-mobile-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 100% !important;
  }
  .btn-appel-header-mobile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--primary) !important;
    color: var(--white) !important;
    font-family: var(--font-title) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 6px 12px !important;
    border-radius: 6px !important; /* Coins arrondis plus doux */
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(217, 119, 6, 0.25) !important;
    white-space: nowrap !important; /* Force le texte sur une seule ligne */
    align-self: center !important;
    height: 32px !important; /* Hauteur fixe pour le centrage vertical */
  }

  .hamburger {
    align-self: center !important;
    display: flex !important;
    padding: 5px !important;
    height: auto !important;
    width: auto !important;
  }
}

@media (min-width: 769px) {
  .btn-appel-header-mobile {
    display: none !important;
  }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 1001;
  padding: 0;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}

.mobile-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
  background: var(--bg-light);
  color: var(--accent);
}

.mobile-nav-links a.active {
  background: var(--bg-light);
  color: var(--accent);
  border-left-color: var(--accent);
}

.mobile-nav-links a:last-child {
  border-bottom: none;
}

.mobile-nav-footer {
  padding: 30px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.mobile-nav-tel {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-nav-info {
  text-align: center;
  font-size: 12px;
  color: var(--light-gray);
}

.mobile-nav-info p {
  margin: 5px 0;
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 993px) {
  .mobile-nav {
    display: none !important;
  }
}

#hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -40px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
}

#hero .container {
  position: relative;
  z-index: 2;
}

.hero-inner h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-inner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {

  .hero-inner h1 {
    font-size: 32px;
  }
}

.champ {
  margin-bottom: 20px;
}

.champ label {
  display: block;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--white);
}

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.champ input::placeholder,
.champ textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.champ select {
  cursor: pointer;
}

.champ select option {
  background: var(--overlay-card);
  color: var(--white);
}

.hero-form-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 15px;
}

.action-buttons-center {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-gray);
  margin-bottom: 15px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 1.5s ease-out;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .stat-number {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.zone-img {
  position: relative;
}

.zone-img img {
  width: 100%;
}

footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 20px;
  border-top: 4px solid var(--primary);
}

footer p {
  color: rgba(255, 255, 255, 0.6) !important;
}

.footer-bas p {
  color: rgba(255, 255, 255, 0.4) !important;
  margin: 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand {
  color: var(--white);
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo-img {
  height: 70px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand p:last-child {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-bas-links {
  display: flex;
  gap: 20px;
}

.footer-bas-links a {
  color: rgba(255, 255, 255, 0.4);
}

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

@media (max-width: 768px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-bas {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.btn-flottant {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: 8px; /* Style 1 */
  border: none;
  cursor: pointer;
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-body);
  animation: float-pulse 2s infinite ease-out;
}

.btn-flottant svg,
.btn-flottant i {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.btn-flottant:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

.bg-white {
  background: var(--white);
}

.popup-devis {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
}

.popup-content {
  position: relative;
  max-width: 480px;
  width: 100%;
  z-index: 4;
  animation: popupSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 5;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  transform: rotate(90deg);
}

.popup-form-wrap {
  background: var(--secondary);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.popup-form-wrap h3 {
  color: var(--white);
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}

.popup-form-wrap p {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 14px;
  margin-bottom: 24px;
  text-align: center;
}

.popup-form-wrap .champ label {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.popup-form-wrap .champ input,
.popup-form-wrap .champ select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  color: var(--white) !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}

.popup-form-wrap .champ input:focus,
.popup-form-wrap .champ select:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25) !important;
  outline: none !important;
}

.popup-form-wrap .champ select option {
  background: var(--secondary);
  color: var(--white);
}

.popup-form-wrap .hero-form-note {
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 12px;
  margin-top: 16px;
  margin-bottom: 0 !important;
  text-align: center;
}

@media (max-width: 576px) {
  .popup-content {
    max-width: 100%;
  }

  .popup-form-wrap {
    padding: 25px;
  }

  .popup-close {
    top: -40px;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--black);
  z-index: 9998;
  padding: 20px 0;
}

.cookie-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookie-banner-text p {
  color: var(--white);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 0;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-btn-accept {
  background: var(--accent);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background: var(--accent-hover);
}

.cookie-btn-refuse {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-btn-refuse:hover {
  background: var(--white);
  color: var(--black);
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    gap: 20px;
  }

  .cookie-banner-buttons {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
  }
}

/* [retiré de l'extrait] .stats-grid .stat-item:nth-child(1), .stats-grid .stat-item:nth-child(2), .stats-grid .stat-item:nth-child(3) { display: none; } — masquait les 3 premiers .stat-item ; le bloc Tarifs réutilise .stats-grid */

.mobile-nav-logo img {
  width: 45px;
  height: auto;
}

.mobile-nav-logo {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.mobile-nav-logo img {
  width: 50px;
  height: auto;
}

.mobile-nav-logo .logo-text {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.2;
}

.mobile-nav-logo .logo-text span {
  color: var(--accent);
}

.mobile-nav-logo .logo-tagline {
  font-size: 10px;
  font-weight: 400;
  text-transform: none;
  color: var(--mid-gray);
  letter-spacing: 0.05em;
}

.mobile-nav-links {
  padding: 10px 0 !important;
}

.mobile-nav-footer {
  padding: 15px 20px !important;
  margin-top: auto;
}

.mobile-nav-cta {
  margin-bottom: 10px !important;
  gap: 10px !important;
}

.mobile-nav-info {
  margin-top: 0 !important;
}

.mobile-nav-links {
  flex: 0 0 auto !important;
  padding: 5px 0 !important;
}

.mobile-nav-footer {
  padding: 10px 20px !important;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  margin-top: 5px !important;
}

.mobile-nav-cta {
  margin-bottom: 5px !important;
  gap: 8px !important;
}

.mobile-nav-info {
  margin-top: 5px !important;
  padding-top: 5px !important;
}

.mobile-nav-info p {
  margin: 2px 0 !important;
}

#hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(var(--secondary-h), var(--secondary-s), var(--secondary-l), 0.9) 0%, hsla(var(--secondary-h), var(--secondary-s), var(--secondary-l), 0.7) 50%, hsla(var(--secondary-h), var(--secondary-s), var(--secondary-l), 0.85) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-points {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-form-note {
  font-size: 0.75rem;
  color: var(--mid-gray);
  text-align: center;
  margin-top: 12px;
}

#contact {
  background: var(--black);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

#contact h2 {
  color: var(--white) !important;
}

#zone-intervention h2,
#contact h2 {
  font-family: var(--font-title) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
  pointer-events: none;
}

#contact .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-list {
  margin-bottom: 32px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-list li svg,
.contact-list li i {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-list li a {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.contact-list li a:hover span {
  color: var(--accent);
}

.contact-list li span {
  color: var(--white);
  font-weight: 500;
}

.contact-list li small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-top: 4px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px !important;
  }

  #hero {
    min-height: auto !important;
    padding-top: 140px !important;
    padding-bottom: 60px !important;
  }
}

@media (max-width: 768px) {
  #hero {
    min-height: auto !important;
    padding-top: 100px !important;
    padding-bottom: 60px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px !important;
  }

  .hero-content {
    padding-bottom: 0px !important;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] summary .chevron-icon {
  transform: rotate(180deg);
}

summary .chevron-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

details[open] .faq-content {
  max-height: 500px;
  opacity: 1;
}

@media (max-width: 768px) {
  details summary.cursor-pointer {
    padding: 12px 16px !important; /* Espacement interne vertical réduit sur mobile */
  }

  details summary h3 {
    font-size: 14px !important;    /* Question plus petite sur mobile */
    font-weight: 500 !important;    /* Moins épais, plus discret sur mobile */
    line-height: 1.4 !important;
  }

  .faq-content {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .faq-content p {
    font-size: 13px !important;    /* Réponse légèrement plus petite sur mobile */
    padding-bottom: 12px !important;
  }
}

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-card img {
  transition: transform 0.5s ease-out;
}

.service-card:hover img {
  transform: scale(1.08);
}

.about-section {
  width: 100%;
  padding: 48px 0;
  overflow: visible;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-left {
  background: var(--bg-light);
  border-radius: 0 0 0 0;
  padding: 28px 48px 28px 56px;
  position: relative;
  z-index: 2;
}

.about-left h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.18;
  color: var(--black);
  margin-bottom: 28px;
}

.about-left h2 .highlight {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.overlap-image-wrapper {
  position: relative;
  width: calc(100% + 160px);
  margin-bottom: 28px;
  overflow: visible;
}

.overlap-image-wrapper img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 0px;
  border: 8px solid var(--white);
  box-shadow: none;
}

.about-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.625;
  color: var(--body-gray);
  margin-top: 24px;
  margin-bottom: 24px;
}

.about-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--black);
}

.about-highlights li i {
  color: var(--accent);
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.about-right {
  position: relative;
  z-index: 1;
  height: 100%;
}

.about-right img.main-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0 0 0 0;
  box-shadow: none;
}

.about-right::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0 0 0 0;
  background: linear-gradient(120deg,
    hsla(var(--secondary-h), var(--secondary-s), var(--secondary-l), .30) 0%,
    hsla(var(--secondary-h), var(--secondary-s), var(--secondary-l), .05) 60%,
    transparent 100%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .about-section {
    padding: 40px 0 !important;
  }

  .about-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 30px !important;
  }

  .about-left {
    border-radius: 0;
    padding: 30px 20px !important;
    order: 1;
  }

  .about-right {
    order: 2;
    padding: 0 20px !important;
  }

  .about-right img.main-img {
    min-height: 380px !important;
    max-height: 420px !important;
    height: 380px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
  }

  .about-right::after {
    display: none !important;
  }

  .overlap-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 20px auto !important;
  }

  .overlap-image-wrapper img {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  }

  .about-text {
    line-height: 1.7 !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 560px) {
  .about-left {
    padding: 36px 24px 32px;
  }

  .overlap-image-wrapper {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 20px auto;
  }

  .about-section {
    overflow: hidden;
  }
}

.about-highlights li.reveal:nth-child(1) {
  transition-delay: 0.1s;
}

.about-highlights li.reveal:nth-child(2) {
  transition-delay: 0.25s;
}

.about-highlights li.reveal:nth-child(3) {
  transition-delay: 0.4s;
}

#zone-intervention {
  background: #f8fafc;
}

.zone-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto auto 1fr;
  gap: 0 60px;
}

.zone-inner .section-title {
  grid-column: 2;
  grid-row: 2;
  text-align: left;
  margin-bottom: 15px;
}

.zone-inner .zone-img {
  grid-column: 1;
  grid-row: 1 / span 4;
  align-self: center;
}

.zone-inner .zone-content {
  grid-column: 2;
  grid-row: 3;
}

.zone-inner > div {
  overflow: hidden;
}

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

.zone-cities {
  margin-top: 20px !important; /* Ajoute un espace confortable sous le texte descriptif */
}

@media (max-width: 768px) {
  #zone-intervention {
    padding-top: 40px !important;
    padding-bottom: 15px !important; /* Marge interne bas très réduite */
  }

  .zone-inner {
    grid-template-columns: 1fr;
    gap: 20px !important;
  }
  .zone-inner .section-title {
    grid-column: 1;
    grid-row: auto;
    text-align: center !important;
    margin-bottom: 10px !important;
  }

  .zone-inner .section-title span.text-primary {
    justify-content: center !important; /* Centre l'icône et le texte RGE */
  }

  .zone-inner .zone-img {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    padding: 0 10px !important;
  }

  .zone-inner .zone-img img {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  }

  .zone-inner .zone-content {
    grid-column: 1;
    grid-row: auto;
    order: 3;
    padding: 0 10px !important;
  }

  .zone-content p {
    margin-bottom: 15px !important;
    line-height: 1.7 !important;
  }

  .zone-cities {
    gap: 8px !important;
    margin-top: 15px !important;
  }
  .zone-content .flex.flex-col {
    margin-bottom: 10px !important;
  }
  #contact .contact-section-title {
    text-align: center !important;
  }

  #contact .contact-section-title span.text-primary {
    justify-content: center !important;
  }
}

a:hover i.fa-phone,
button:hover i.fa-phone,
.btn-flottant:hover i {
  display: inline-block;
  animation: ring-vibrate 0.3s ease-in-out infinite;
}

.text-medium-text {
  color: var(--body-gray) !important;
}

.text-dark-text {
  color: var(--black) !important;
}

@media (max-width: 768px) {
  .mobile-nav-tel {
    white-space: nowrap;
  }
  .mobile-nav-tel span {
    display: none;
  }
  
  .mobile-nav-tel::after {
    content: "Appeler";
    display: inline;
  }
  .hero-points {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
  }

  .hero-point {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-nav-tel .tel-number {
    display: none;
  }
  
  .mobile-nav-tel::after {
    content: "Appeler";
    display: inline;
  }
}

@media (max-width: 768px) {
  .hero-inner h1 {
    font-size: 24px !important;
    line-height: 1.3;
  }
}

@media (max-width: 768px) {
  html body #hero h1,
  html body .hero-inner h1 {
    font-size: 28px !important;
    line-height: 1.25 !important;
    width: 100% !important;
    max-width: 100% !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }
  html body h2,
  html body .section-title h2,
  html body .zone-content h2,
  html body .about-left h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
  html body h3,
  html body .service-card h3,
  html body .hero-cta-wrap h3 {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
  html body p,
  html body .hero-content p,
  html body .about-text {
    font-size: 14px !important;
    line-height: 1.625 !important;
  }
  html body .hero-label,
  html body .text-primary.font-bold {
    font-size: 10px !important;
  }
}

.mobile-stars-bar {
  display: none;
}

@media (max-width: 992px) {
  .mobile-stars-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    padding: 10px 0;
    z-index: 1001;
    position: relative;
  }
  .mobile-stars-bar i {
    color: #FFD700;
    font-size: 12px;
  }
}

.callback-popup {
  position: fixed;
  right: 20px;
  top: 150px;
  background: var(--white);
  border-right: 4px solid var(--primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border-radius: 0;
  padding: 20px;
  z-index: 1000;
  min-width: 260px;
  display: none;
}

.close-popup {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  color: #64748B;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
}

.close-popup:hover { color: var(--primary); }

.callback-content h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
  text-transform: none;
}

.callback-content p {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 15px;
}

.callback-input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 14px;
  margin-bottom: 12px;
}

.callback-btn {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 0;
  cursor: pointer;
}

.callback-btn:hover { background: var(--accent-hover); }

@media (max-width: 992px) {
  .callback-popup {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 20px;
    transform: none;
    min-width: auto;
    border-right: 4px solid var(--primary);
    border-left: none;
  }
}

@keyframes float-pulse {
  0%   { box-shadow: 0 0 0 0px rgba(217, 119, 6, 0.6); }
  70%  { box-shadow: 0 0 0 14px rgba(217, 119, 6, 0); }
  100% { box-shadow: 0 0 0 0px rgba(217, 119, 6, 0); }
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ring-vibrate {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(15deg); }
}
