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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body) !important;
  color: #222;
  background: #fff;
  line-height: 1.65;
  font-size: 15px;
}

/* Application globale de la police de titres (Oswald) */
h1, h2, h3, h4, h5, h6,
.logo-text, .logo-text strong,
.assurances-title, 
.header-tel, .mobile-nav-tel,
.btn-urgent, .btn-outline, .btn-outline-dark, .btn-form-hero, .btn-pricing, .btn-submit,
header span, footer h4, .avantage-item h4 {
  font-family: var(--font-title) !important;
}

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

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

:root {
  /* -------------------------------------------------------------
     HSL CHANNELS (Palette 38 - Carbone & Rouge)
     ------------------------------------------------------------- */
  --primary-h: 0;
  --primary-s: 74%;
  --primary-l: 42%;     /* Rouge #b91c1c */

  --secondary-h: 221;
  --secondary-s: 39%;
  --secondary-l: 11%;   /* Carbone #111827 */

  /* -------------------------------------------------------------
     DYNAMIC PALETTE MAPPING
     ------------------------------------------------------------- */
  /* Couleurs principales basées sur les HSL channels */
  --jaune:       hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --jaune-dark:  hsl(var(--primary-h), var(--primary-s), calc(var(--primary-l) - 8%));

  --noir:        hsl(var(--secondary-h), var(--secondary-s), var(--secondary-l));
  --noir-soft:   hsl(var(--secondary-h), var(--secondary-s), calc(var(--secondary-l) + 8%));

  /* Nuances neutres */
  --gris:        #6B7280;
  --gris-clair:  #E5E7EB;
  --gris-bg:     #F9FAFB;
  --blanc:       #FFFFFF;

  /* Variables Typographiques */
  --font-title: 'Oswald', sans-serif;
  --font-body: 'Lato', sans-serif;

  /* CTA 66 – Inversion de Contraste (Palette 38) */
  /* Bouton 1 : fond Rouge → hover Blanc/texte Rouge */
  --cta-66-bg:         var(--jaune);    /* Rouge #b91c1c */
  --cta-66-fg:         var(--blanc);   /* Blanc */
  --cta-66-border:     var(--jaune);   /* Rouge */
  --cta-66-hover-bg:   var(--blanc);   /* Blanc */
  --cta-66-hover-fg:   var(--jaune);   /* Rouge */

  /* Bouton 2 : fond Blanc/texte Rouge → hover Rouge/texte Blanc */
  --cta-66-inv-bg:     var(--blanc);   /* Blanc */
  --cta-66-inv-fg:     var(--jaune);   /* Rouge */
  --cta-66-inv-border: var(--jaune);   /* Rouge */
  --cta-66-inv-hover-bg: var(--jaune); /* Rouge */
  --cta-66-inv-hover-fg: var(--blanc); /* Blanc */

}

.desktop-phone-num {
  display: inline;
}
.mobile-phone-txt {
  display: none;
}
.mobile-stars-bar {
  display: none;
}
.logo-red {
  color: var(--jaune) !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 80px 0;
}

/* ===== IMAGE REVEAL ANIMATION ===== */
/* Uniquement les images reçoivent une animation légère d'apparition au scroll */
.img-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

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

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s ease;
}

header.hidden {
  transform: translateY(-100%);
}

header.scrolled,
body.page-interne header {
  background: var(--noir);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid var(--jaune);
}

.header-top {
  display: none;
  background: var(--jaune);
  padding: 10px 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--noir);
}

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

.header-main {
  background: transparent;
  transition: background 0.3s;
  padding: 10px 0px;
}

header.scrolled .header-main,
body.page-interne .header-main {
  background: var(--noir);
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text strong {
  display: block;
  color: var(--blanc);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.logo-text span {
  color: var(--jaune);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

nav a:hover {
  color: var(--jaune);
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--cta-66-bg);
  color:            var(--cta-66-fg);
  border:           2px solid var(--cta-66-border);
  border-radius:    0;             /* CTA 66 : bords carrés */
  font-weight:      700;
  font-size:        0.9rem;
  padding:          10px 20px;
  box-shadow:       none;
  transition:       background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.header-tel:hover {
  background-color: var(--cta-66-hover-bg);
  color:            var(--cta-66-hover-fg);
  transform:        translateY(-2px);
}

.btn-urgent svg,
.btn-outline svg,
.btn-outline-dark svg,
.header-tel svg,
.floating-call-btn svg,
.btn-appel svg {
  width: 18px !important;
  height: 18px !important;
  stroke-width: 2.2px !important;
  stroke: currentColor !important;
  fill: none !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0;
  transition: transform 0.1s ease;
}

.header-tel:hover svg {
  animation: phone-vibrate 0.4s ease;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blanc);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--noir);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.mobile-nav a:hover {
  color: var(--jaune);
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('IMG-PLOM/hero-bg-3.webp');
  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(--blanc);
}

.hero-badge {
  display: none;
}

.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(--jaune);
}

.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;
}

/* =================================================================
   BOUTONS – Style CTA 66 «Inversion de Contraste» appliqué globalement
   Bouton PRIMAIRE  : Rouge  → hover Blanc/Rouge
   Bouton SECONDAIRE: Blanc  → hover Rouge/Blanc
   ================================================================= */

/* ─ Bouton PRIMAIRE (urgence, appel) ────────────────────────── */
.btn-urgent {
  display:          inline-flex;
  align-items:      center;
  gap:              10px;
  background-color: var(--cta-66-bg);
  color:            var(--cta-66-fg);
  border:           2px solid var(--cta-66-border);
  border-radius:    0;             /* CTA 66 : bords carrés */
  font-weight:      700;
  font-size:        1rem;
  padding:          14px 28px;
  box-shadow:       none;
  cursor:           pointer;
  transition:       background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-urgent:hover {
  background-color: var(--cta-66-hover-bg);
  color:            var(--cta-66-hover-fg);
  border-color:     var(--cta-66-border);
  transform:        translateY(-2px);
}

.btn-urgent svg {
  stroke:      currentColor;
  flex-shrink: 0;
  transition:  transform 0.1s ease;
}

.btn-urgent:hover svg {
  animation: phone-vibrate 0.4s ease;
}

/* ─ Bouton SECONDAIRE (outline) ────────────────────────── */
.btn-outline {
  display:          inline-flex;
  align-items:      center;
  gap:              10px;
  background-color: var(--cta-66-inv-bg);
  color:            var(--cta-66-inv-fg);
  border:           2px solid var(--cta-66-inv-border);
  border-radius:    0;             /* CTA 66 : bords carrés */
  font-weight:      700;
  font-size:        1rem;
  padding:          14px 28px;
  box-shadow:       none;
  cursor:           pointer;
  transition:       background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--cta-66-inv-hover-bg);
  color:            var(--cta-66-inv-hover-fg);
  border-color:     var(--cta-66-inv-border);
  transform:        translateY(-2px);
}

.btn-outline svg {
  stroke:      currentColor;
  flex-shrink: 0;
  transition:  transform 0.1s ease;
}

.btn-outline:hover svg {
  animation: phone-vibrate 0.4s ease;
}

/* ─ Bouton OUTLINE-DARK (même logique, fond blanc → rouge) ──── */
.btn-outline-dark {
  display:          inline-flex;
  align-items:      center;
  gap:              10px;
  background-color: var(--cta-66-inv-bg);
  color:            var(--cta-66-inv-fg);
  border:           2px solid var(--cta-66-inv-border);
  border-radius:    0;             /* CTA 66 : bords carrés */
  font-weight:      700;
  font-size:        1rem;
  padding:          14px 28px;
  cursor:           pointer;
  transition:       background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-outline-dark:hover {
  background-color: var(--cta-66-inv-hover-bg);
  color:            var(--cta-66-inv-hover-fg);
  border-color:     var(--cta-66-inv-border);
  transform:        translateY(-2px);
}

/* ────────────────────────────────────────────────────────────────
   Hero Buttons – CTA 66 «Inversion de Contraste» (cta.html #66)
   Bouton 1 (btn-urgent)  : Rouge  ↔ Blanc  au hover
   Bouton 2 (btn-outline) : Blanc  ↔ Rouge  au hover
   ──────────────────────────────────────────────────────────────── */
.hero-actions .btn-urgent {
  background-color: var(--cta-66-bg);
  color:            var(--cta-66-fg);
  border:           2px solid var(--cta-66-border);
  border-radius:    0;  /* CTA 66 : bords carrés */
  box-shadow:       none;
  transition:       background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.hero-actions .btn-urgent:hover {
  background-color: var(--cta-66-hover-bg);
  color:            var(--cta-66-hover-fg);
  border-color:     var(--cta-66-border);
  transform:        translateY(-2px);
}

/* Animation vibration icône téléphone (identique SITE-1) */
@keyframes phone-vibrate {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(-15deg); }
  40%  { transform: rotate(15deg); }
  60%  { transform: rotate(-10deg); }
  80%  { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

.hero-actions .btn-urgent svg {
  transition: transform 0.1s ease;
  flex-shrink: 0;
}

.hero-actions .btn-urgent:hover svg {
  animation: phone-vibrate 0.4s ease;
}

.hero-actions .btn-outline {
  background-color: var(--cta-66-inv-bg);
  color:            var(--cta-66-inv-fg);
  border:           2px solid var(--cta-66-inv-border);
  border-radius:    0;  /* CTA 66 : bords carrés */
  transition:       background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.hero-actions .btn-outline:hover {
  background-color: var(--cta-66-inv-hover-bg);
  color:            var(--cta-66-inv-hover-fg);
  border-color:     var(--cta-66-inv-border);
  transform:        translateY(-2px);
}

.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-point svg {
  color: var(--jaune);
}

.hero-cta-wrap {
  display: none;
}

.hero-cta-wrap h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 8px;
}

.hero-cta-wrap>p {
  color: var(--gris);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-cta-wrap .btn-form-hero {
  display: inline-block;
  width: auto;
  min-width: 200px;
}

/* ─ Bouton FORMULAIRE (submit, form-hero) ──────────────── */
.btn-form-hero {
  display:          inline-flex;
  align-items:      center;
  justify-content:  center;
  gap:              10px;
  width:            100%;
  background-color: var(--cta-66-bg);
  color:            var(--cta-66-fg);
  border:           2px solid var(--cta-66-border);
  border-radius:    0;             /* CTA 66 : bords carrés */
  font-weight:      700;
  font-size:        1rem;
  padding:          14px 28px;
  box-shadow:       none;
  cursor:           pointer;
  text-decoration:  none;
  text-align:       center;
  transition:       background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-form-hero:hover {
  background-color: var(--cta-66-hover-bg);
  color:            var(--cta-66-hover-fg);
  transform:        translateY(-2px);
}

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

/* Form fields */
.champ {
  margin-bottom: 16px;
}

.champ label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--noir);
  margin-bottom: 6px;
}

.champ input,
.champ textarea,
.champ select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gris-clair);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

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

.champ textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== BANDE INFO ===== */
.bande-info {
  background: var(--noir);
  padding: 20px 0;
  border-bottom: 3px solid var(--jaune);
}

.bande-info .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.bande-info p {
  color: var(--blanc);
  font-size: 0.95rem;
  font-weight: 500;
}

.bande-info a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--jaune);
  color: var(--blanc);
  font-weight: 700;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.bande-info a:hover {
  background: var(--blanc);
  color: var(--jaune);
  transform: translateY(-2px);
}

/* ===== PRESENTATION ===== */
/* CORRECTION : le h2 est maintenant dans presentation-content, aligné avec le texte */
.presentation {
  background: var(--blanc);
}

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

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

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

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

.presentation-img {
  overflow: hidden;
}

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

.presentation-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 20px;
  line-height: 1.2;
}

.presentation-content h2 em {
  font-style: normal;
  color: var(--jaune);
}

.presentation-content p {
  color: var(--gris);
  line-height: 1.8;
  margin-bottom: 16px;
}

.presentation-list {
  margin: 24px 0;
}

.presentation-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--noir-soft);
}

.presentation-list li svg {
  color: var(--jaune);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== SERVICES ===== */
#services {
  background: var(--gris-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

/* ── Surtitre Style 40 – Symbole Plus Minimaliste ─────────────── */
.surtitre {
  display:        block;
  font-size:      0.68rem;
  font-weight:    700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          var(--gris);
  margin-bottom:  14px;
}

.surtitre::before {
  content:      '+';
  color:        var(--jaune);  /* Rouge #b91c1c via variable */
  font-size:    0.95rem;
  font-weight:  900;
  margin-right: 6px;
  line-height:  1;
}


.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-title h2 em {
  font-style: normal;
  color: var(--jaune);
}

.section-title p {
  color: var(--gris);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--blanc);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  padding: 28px;
}

.service-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 12px;
}

.service-card-body p {
  color: var(--gris);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--jaune-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-link svg {
  width: 16px;
  height: 16px;
}

/* ===== AVANTAGES ===== */
#avantages {
  background: var(--noir);
  position: relative;
}

#avantages::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('IMG-PLOM/hero-bg-1.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.15;
  pointer-events: none;
}

#avantages .section-title h2 {
  color: var(--blanc);
}

#avantages .section-title p {
  color: rgba(255, 255, 255, 0.7);
}

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

.avantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.avantage-item {
  text-align: center;
}

.avantage-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avantage-icon svg {
  width: 36px;
  height: 36px;
  color: var(--jaune);
}

.avantage-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blanc);
  margin-bottom: 8px;
}

.avantage-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== ASSURANCES CAROUSEL ===== */
#assurances {
  background: var(--blanc);
  padding: 80px 0;
  overflow: hidden;
}

.assurances-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.assurances-label {
  /* Identique à .surtitre pour cohérence visuelle entre toutes les sections */
  display:        block;
  font-size:      0.68rem !important;
  font-family:    var(--font-body) !important;  /* Lato, pas Oswald */
  font-weight:    700;
  color:          var(--gris) !important;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom:  14px;
}

.assurances-label::before {
  content:      '+';
  color:        var(--jaune);
  font-size:    0.95rem;
  font-weight:  900;
  margin-right: 6px;
  line-height:  1;
}


.assurances-title {
  font-family: var(--font-title) !important;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 12px;
  line-height: 1.2;
}

.assurances-title em {
  font-style: normal;
  color: var(--jaune);
}

.assurances-subtitle {
  color: var(--gris);
  font-size: 1rem;
  margin-bottom: 50px;
}

.assurance-carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.assurance-carousel-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scroll 70s linear infinite;
}

.assurance-carousel-track::-webkit-scrollbar {
  display: none;
}

.assurance-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  background: var(--blanc);
  border: 2px solid var(--gris-clair);
  border-radius: 12px;
  min-width: 180px;
  height: 100px;
}

.assurance-logo-item img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-33.333% - 13.33px));
  }
}

/* ===== PROCESSUS ===== */
#processus {
  display: none;
}

.processus-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step-item {
  text-align: center;
}

.step-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  background: var(--jaune);
  color: var(--noir);
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 8px;
}

.step-item p {
  color: var(--gris);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== TEMOIGNAGES ===== */
#avis {
  background: var(--gris-bg);
}

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

.avis-card {
  background: var(--blanc);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.avis-stars {
  color: #FFC107;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.avis-text {
  color: var(--noir-soft);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}

.avis-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avis-avatar {
  width: 48px;
  height: 48px;
  background: var(--gris-clair);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gris);
}

.avis-info {
  flex: 1;
}

.avis-name {
  font-weight: 600;
  color: var(--noir);
}

.avis-date {
  font-size: 0.85rem;
  color: var(--gris);
}

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

/* ===== ZONE ===== */
.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;
}

/* Specific for Rendez-vous section where image is on the right on desktop */
#rendez-vous .zone-inner .section-title {
  grid-column: 1;
}

#rendez-vous .zone-inner .zone-content {
  grid-column: 1;
}

#rendez-vous .zone-inner .zone-img {
  grid-column: 2;
}

.zone-inner>div,
#rendez-vous .zone-inner>div {
  overflow: hidden;
}

.zone-inner img,
#rendez-vous .zone-inner img {
  width: 100%;
  height: auto;
}

.zone-content ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.zone-content li {
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
  color: var(--noir-soft);
  font-weight: 500;
}

.zone-content li svg {
  color: var(--jaune);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ===== FAQ ===== */
#faq {
  background: var(--gris-bg);
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.faq-image {
  overflow: hidden;
}

.faq-image img {
  position: sticky;
  top: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.faq-item {
  background: var(--blanc);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--noir);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--gris-bg);
}

.faq-question-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-bulb-icon {
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: all 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--gris);
  line-height: 1.7;
  padding-top: 12px;
  border-top: 1px solid var(--gris-clair);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jaune);
}

/* ===== CONTACT ===== */
#contact {
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('IMG-PLOM/hori-3.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

#contact::before {
  display: none; /* Désactivation de l'ancien SVG de fond */
}

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

#contact .section-title h2 {
  color: var(--blanc);
}

#contact .section-title p {
  color: rgba(255, 255, 255, 0.7);
}

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

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blanc);
  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 {
  color: var(--jaune);
  flex-shrink: 0;
}

.contact-list li span {
  color: var(--blanc);
  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(--blanc);
  padding: 40px;
  border-radius: 12px;
}

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

/* ===== FOOTER ===== */
footer {
  background: var(--noir);
  padding: 60px 0 0;
  border-top: 4px solid var(--jaune);
}

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

.footer-brand .logo-text strong {
  color: var(--blanc);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--jaune);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ===== POPUP MODAL ===== */
.popup-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: hsla(var(--secondary-h), var(--secondary-s), var(--secondary-l), 0.8);
  backdrop-filter: blur(4px);
  padding: 20px;
  overflow-y: auto;
}

.popup-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.popup-content {
  background: var(--blanc);
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  background: var(--jaune);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.popup-close:hover {
  background: var(--jaune-dark);
}

.popup-close svg {
  width: 20px;
  height: 20px;
  color: var(--noir);
  stroke: var(--noir);
}

.popup-body {
  padding: 0;
}

.popup-body iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
}

/* ===== FLOATING ELEMENTS ===== */
.floating-call-btn {
  position:         fixed;
  bottom:           24px;
  right:            24px;
  background-color: var(--cta-66-bg);
  color:            var(--cta-66-fg);
  border:           2px solid var(--cta-66-border);
  border-radius:    0;             /* CTA 66 : bords carrés */
  padding:          14px 22px;
  display:          flex;
  align-items:      center;
  gap:              10px;
  font-weight:      700;
  font-size:        0.95rem;
  z-index:          999;
  transition:       background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  animation:        pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0px rgba(185, 28, 28, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(185, 28, 28, 0);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(185, 28, 28, 0);
  }
}

.floating-call-btn:hover {
  background-color: var(--cta-66-hover-bg);
  color:            var(--cta-66-hover-fg);
  transform:        translateY(-2px);
  animation:        none;
}

.floating-call-btn svg {
  stroke:     currentColor;
  flex-shrink: 0;
  transition: transform 0.1s ease;
}

.floating-call-btn:hover svg {
  animation: phone-vibrate 0.4s ease;
}

.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all 0.3s;
}

.floating-whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.floating-text {
  display: inline;
}

/* ===== CTA GROUPS ===== */
.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-section {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  header {
    position: sticky !important;
    top: 0 !important;
    background: var(--noir) !important; /* Force le fond noir sur mobile pour la visibilité */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4) !important;
    border-bottom: 2px solid var(--jaune) !important;
  }

  .logo-text strong {
    font-size: 16px !important;
  }
  .logo-red {
    display: block !important;
  }

  .header-tel {
    display: flex !important; /* Force l'affichage du bouton */
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    height: auto !important;
    white-space: nowrap !important;
  }
  .header-tel .desktop-phone-num {
    display: none !important;
  }
  .header-tel .mobile-phone-txt {
    display: inline !important;
  }

  .mobile-stars-bar {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: var(--jaune);
    padding: 10px 0;
    width: 100%;
    position: relative !important;
    z-index: 99;
    margin-top: -1px !important;
  }
  .mobile-stars-bar i {
    color: #FFD700 !important;
    font-size: 12px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .presentation-grid,
  .zone-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .presentation-grid .section-title,
  .zone-inner .section-title {
    order: 1;
    text-align: center;
    margin-bottom: 0;
  }

  .presentation-grid .presentation-img,
  .zone-inner .zone-img {
    order: 2;
  }

  .presentation-grid .presentation-content,
  .zone-inner .zone-content {
    order: 3;
    text-align: center;
  }

  .services-grid,
  .avantages-grid,
  .processus-steps,
  .avis-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-inner {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  #hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .hero-inner {
    padding-top: 0 !important;
  }
  .hero-bg {
    top: -5px !important;
    height: calc(100% + 5px) !important;
  }

  .hamburger {
    display: flex;
  }

  .services-grid,
  .avantages-grid,
  .processus-steps,
  .avis-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start; /* Empêche l'étirement des boutons du héros sur mobile/tablette */
  }

  .hero-actions .btn-urgent,
  .hero-actions .btn-outline {
    justify-content: center;
    text-align: center;
  }

  .bande-info .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .zone-content ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .zone-content li {
    font-size: 0.85rem;
  }

  .zone-content li svg {
    width: 14px;
    height: 14px;
  }

  /* Removed old order overrides to prevent interference with new flex order */

  .floating-call-btn {
    bottom: 16px;
    right: 16px;
    padding: 12px;
  }

  .floating-call-btn .floating-text {
    display: none;
  }

  .floating-whatsapp-btn {
    bottom: 16px;
    left: 16px;
    padding: 12px;
  }

  .floating-whatsapp-btn .floating-text {
    display: none;
  }

  .logo-img {
    height: 45px;
  }

  .logo-text {
    display: flex;
  }

  .cta-group,
  .cta-section {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-group .btn-urgent,
  .cta-group .btn-outline,
  .cta-group .btn-outline-dark,
  .cta-section .btn-urgent,
  .cta-section .btn-outline,
  .cta-section .btn-outline-dark {
    width: auto;
    max-width: 300px;
    justify-content: center;
  }

  .contact-form .btn-form-hero,
  .contact-form .btn-outline-dark {
    font-size: 0.85rem !important;
    padding: 12px 10px !important;
    white-space: nowrap;
  }

  .contact-form .btn-form-hero svg,
  .contact-form .btn-outline-dark svg {
    width: 16px;
    height: 16px;
  }
}

/* Ajustement hauteur iframe formulaire sur mobile */
@media (max-width: 480px) {
  .popup-body iframe {
    height: 620px; /* Donne assez d'espace pour les champs empilés et le bouton */
  }
  .header-tel {
    display: flex !important; /* On veut l'afficher sur mobile avec "Appel Gratuit" ! */
  }
}

/* ────────────────────────────────────────────────────────────────
   CTA 66 - Inversion de Contraste
   Basé sur SECTIONS-IDEES/cta.html
   ──────────────────────────────────────────────────────────────── */
.cta-66 {
  background: var(--cta-66-bg);
  color: var(--cta-66-fg);
  border: 2px solid var(--cta-66-border);
  padding: 12px 32px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.cta-66:hover {
  background: var(--cta-66-hover-bg);
  color: var(--cta-66-hover-fg);
  transform: translateY(-2px);
}

.cta-66 svg {
  stroke: currentColor;
}

/* ── HERO TRUST ELEMENTS ── */
.hero-trust-elements {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 24px;
}
@media (max-width: 1024px) {
  .hero-trust-elements {
    justify-content: center;
  }
}

/* ── CALLBACK POPUP ── */
.callback-popup {
  position: fixed;
  right: 20px;
  top: 150px;
  background: #ffffff;
  border-right: 4px solid var(--jaune);
  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(--jaune); }
.callback-content h3 {
  font-family: var(--font-title), sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}
.callback-content p {
  font-family: var(--font-body), sans-serif;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 15px;
}
.callback-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 0;
  font-family: var(--font-body), sans-serif;
  font-size: 14px;
  margin-bottom: 12px;
}
.callback-btn {
  width: 100%;
  padding: 10px;
  background: var(--jaune);
  color: var(--blanc);
  font-family: var(--font-body), sans-serif;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}
.callback-btn:hover { background: var(--jaune-dark); }
@media (max-width: 768px) {
  .callback-popup {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 80px;
    min-width: auto;
  }
}