/* =============================================
   KOKODRONE — Stylesheet
============================================= */

/* ---- VARIABLES & RESET ---- */
:root {
  --red:        #D50000;
  --red-dark:   #A80000;
  --black:      #1A1A1A;
  --white:      #FFFFFF;
  --off-white:  #F8F8F8;
  --gray:       #F2F2F2;
  --gray-mid:   #E0E0E0;
  --gray-text:  #666666;
  --font:       'Manrope', sans-serif;
  --max:        1180px;
  --r-sm:       10px;
  --r-md:       16px;
  --r-lg:       24px;
  --r-xl:       32px;
  --shadow-sm:  0 2px 10px rgba(0,0,0,.06);
  --shadow-md:  0 4px 24px rgba(0,0,0,.09);
  --shadow-lg:  0 8px 48px rgba(0,0,0,.13);
  --t:          .22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font); color: var(--black); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ---- Utility ---- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: rgba(213,0,0,.07);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.tag::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--black);
}
.section-sub {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.75;
  max-width: 560px;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--red);
  color: #fff;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font);
  border: 2px solid var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213,0,0,.3);
}

/* Shimmer button */
.btn-shimmer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-shimmer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 30%,
    rgba(255,255,255,.35) 50%,
    transparent 70%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: 200% 0;
  animation: shimmer 2.4s ease infinite;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--black);
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  transition: all var(--t);
  white-space: nowrap;
  border: 2px solid var(--gray-mid);
}
.btn-outline:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}

/* Scroll reveal */
.reveal, .reveal-l, .reveal-r {
  opacity: 0;
  transition: opacity .65s ease, transform .65s ease;
}
.reveal   { transform: translateY(24px); }
.reveal-l { transform: translateX(-24px); }
.reveal-r { transform: translateX(24px); }
.reveal.on, .reveal-l.on, .reveal-r.on {
  opacity: 1;
  transform: none;
}

/* =============================================
   HEADER
============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}
.header.scrolled {
  border-color: var(--gray-mid);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-text);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--t);
}
.nav a:hover { color: var(--black); background: var(--gray); }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-tel {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  transition: color var(--t);
}
.header-tel:hover { color: var(--red); }
.header-tel svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.ham span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--t);
}
.ham.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham.on span:nth-child(2) { opacity: 0; }
.ham.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mob-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-md);
}
.mob-menu.on { display: flex; }
.mob-menu a {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-text);
  padding: 13px 14px;
  border-radius: 10px;
  transition: all var(--t);
}
.mob-menu a:hover { color: var(--black); background: var(--gray); }
.mob-menu .btn-red { margin-top: 10px; justify-content: center; }
.mob-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  border: 2px solid var(--gray-mid);
  border-radius: 10px;
  margin-top: 6px;
  transition: border-color var(--t);
}
.mob-tel:hover { border-color: var(--red); color: var(--red); }

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: #c8c2ba; /* fallback couleur neutre */
  display: flex;
  flex-direction: column;
  padding-top: 70px;
  padding-bottom: 90px;
  overflow: hidden;
}
/* Phase 1 : fond photo — fade in + Ken Burns */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.webp') center 30% / cover no-repeat;
  z-index: 0;
  transform-origin: center center;
  animation:
    heroBgFade  1.1s ease         forwards,
    kenBurns   18s  ease-in-out   1.1s infinite alternate;
}
@keyframes heroBgFade {
  from { opacity: 0; transform: scale(1); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes kenBurns {
  0%   { transform: scale(1.00) translate( 0%,     0%   ); }
  100% { transform: scale(1.07) translate(-1.2%,  -0.8% ); }
}
.hero > * { position: relative; z-index: 1; }

/* Phase 3 : éléments hero qui fade in après le texte */
.hero-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  padding: 0;
}

.hero-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
  padding: 80px 40px 64px;
}

/* Left column */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(213,0,0,.08);
  border: 1px solid rgba(213,0,0,.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(1.5); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-title {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.03em;
  color: var(--black);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
}

/* Blur-in par caractère */
@keyframes blurInChar {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}
.blur-char {
  display: inline-block;
  opacity: 0;
  animation: blurInChar .5s ease forwards;
  white-space: pre;
}
.blur-char.is-space { display: inline; }

.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--gray-text);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-subtitle strong { color: var(--black); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-mid);
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  background: white;
  transition: all var(--t);
}
.btn-outline-white:hover { border-color: var(--black); }

/* Right column */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-ba-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  background: var(--red);
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 700;
  color: white;
  letter-spacing: .02em;
  box-shadow: 0 4px 20px rgba(213,0,0,.4);
}

.hero-features { display: flex; flex-direction: column; gap: 8px; }
.hero-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-md);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.hero-feat-icon {
  width: 36px; height: 36px;
  background: rgba(213,0,0,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-feat-txt strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.25;
}
.hero-feat-txt span { font-size: 11px; color: var(--gray-text); }

.hero-price-card {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  border-left: 4px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.hero-price-card .price-from {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-text);
  margin-bottom: 4px;
}
.hero-price-card .price-val {
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-price-card .price-note { font-size: 12px; color: var(--gray-text); }

/* Trust bar */
.hero-trust {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: white;
  border-top: 2px solid var(--red);
  box-shadow: 0 -4px 24px rgba(0,0,0,.08);
}
.hero-trust-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-right: 1.5px solid var(--gray-mid);
}
.hero-trust-item:last-child { border-right: none; }
.hero-trust-icon {
  width: 42px; height: 42px;
  background: rgba(213,0,0,.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-trust-txt strong { display: block; font-size: 14px; font-weight: 800; color: var(--black); }
.hero-trust-txt span   { font-size: 12px; color: var(--gray-text); }

/* =============================================
   SECTION COMMONS
============================================= */
section { padding: 96px 0; }
.sec-head {
  text-align: left;
  margin-bottom: 60px;
}
.sec-head .section-sub { margin: 0; }

/* =============================================
   PRESTATIONS
============================================= */
#prestations { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.svc-card { grid-column: span 2; }
.svc-card:nth-child(4) { grid-column: 2 / span 2; }
.svc-card:nth-child(5) { grid-column: 4 / span 2; }

.svc-card {
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-lg);
  padding: 32px 24px 28px;
  background: var(--white);
  transition: all .28s ease;
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(213,0,0,.15);
}
.svc-card:hover::after { transform: scaleX(1); }

.svc-icon { width: 72px; height: 72px; margin-bottom: 20px; }
.svc-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; color: var(--black); }
.svc-card p  { font-size: 13.5px; color: var(--gray-text); line-height: 1.65; }
.svc-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}


/* =============================================
   AVANTAGES
============================================= */
#avantages { background: var(--off-white); }

.adv-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
}
.adv-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  border-right: 1.5px solid var(--gray-mid);
  border-bottom: 1.5px solid var(--gray-mid);
  transition: background var(--t);
  gap: 13px;
}
.adv-item:nth-child(3),
.adv-item:nth-child(6) { border-right: none; }
.adv-item:nth-child(4),
.adv-item:nth-child(5),
.adv-item:nth-child(6) { border-bottom: none; }
.adv-item:hover { background: var(--off-white); }

.adv-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.adv-icon.red   { background: rgba(213,0,0,.08); }
.adv-icon.green { background: rgba(34,197,94,.1); }
.adv-icon svg   { width: 24px; height: 24px; }
.adv-item h3 { font-size: 14px; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.adv-item p  { font-size: 12.5px; color: var(--gray-text); line-height: 1.55; }

/* =============================================
   POURQUOI DRONE
============================================= */
.why { background: var(--white); }

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-content p {
  font-size: 15.5px;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 32px;
}
.why-list { display: flex; flex-direction: column; gap: 12px; }
.why-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--off-white);
  border-radius: var(--r-sm);
  border: 1.5px solid var(--gray-mid);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  transition: all var(--t);
}
.why-item:hover {
  border-color: rgba(213,0,0,.25);
  background: rgba(213,0,0,.03);
  color: var(--red);
}
.why-item-icon {
  width: 32px; height: 32px;
  background: rgba(213,0,0,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}
.why-item-icon svg { width: 16px; height: 16px; }

.why-visual { position: relative; }
.why-img-wrap {
  background: var(--off-white);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gray-mid);
  position: relative;
  overflow: hidden;
}
.why-img-wrap::before {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(213,0,0,.06) 0%, transparent 70%);
  border-radius: 50%;
}
.why-drone {
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.14));
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.why-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-video-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

/* Accent rouge décalé derrière la vidéo */
.why-video-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: var(--red);
  transform: translate(12px, 14px);
  z-index: -1;
  opacity: .18;
}

/* Point décoratif en haut à gauche */
.why-video-wrap::after {
  content: '';
  position: absolute;
  top: -18px;
  left: -18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  opacity: .08;
  z-index: -1;
}

.why-video {
  display: block;
  width: 310px;
  border-radius: 18px;
  box-shadow: 0 10px 36px rgba(0,0,0,.15);
  border: 1px solid rgba(0,0,0,.08);
  position: relative;
  z-index: 1;
}

.why-video-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: rgba(255,255,255,.25);
  border-radius: 99px;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity .25s, height .2s, bottom .2s;
}

.why-video-wrap:hover .why-video-bar {
  opacity: 1;
}

.why-video-bar:hover {
  height: 5px;
  bottom: 11px;
}

/* Icône pause/play au centre */
.why-video-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
  z-index: 2;
}

.why-video-wrap:hover .why-video-icon {
  opacity: 1;
}

.why-video-icon svg {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

.why-video-progress {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 99px;
  pointer-events: none;
  transition: width .1s linear;
}

/* =============================================
   TABLEAU COMPARATIF
============================================= */
.comparatif-section { padding: 100px 0; background: var(--off-white); }

.cmp-wrap {
  overflow-x: auto;
  border-radius: 18px;
  box-shadow: 0 2px 32px rgba(0,0,0,.07);
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  min-width: 560px;
}

/* Header */
.cmp-table thead tr { background: var(--white); }
.cmp-th-label { width: 26%; }
.cmp-th, .cmp-th-label {
  padding: 18px 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-text);
  border-bottom: 2px solid var(--gray, #f0eeeb);
}
.cmp-th-label { text-align: left; }

/* Colonne drone surlignée */
.cmp-th-drone {
  background: rgba(213,0,0,.04);
  border-left: 2px solid rgba(213,0,0,.15);
  border-right: 2px solid rgba(213,0,0,.15);
  color: var(--red);
}
.cmp-th-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.cmp-th-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  background: var(--red);
  color: white;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
}
.cmp-th-name { font-size: 13px; font-weight: 800; color: var(--black); }

/* Lignes */
.cmp-table tbody tr {
  border-bottom: 1px solid var(--gray, #f0eeeb);
  transition: background .15s;
}
.cmp-table tbody tr:last-child { border-bottom: none; }
.cmp-table tbody tr:hover { background: rgba(0,0,0,.02); }

.cmp-row-label {
  padding: 16px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.4;
}
.cmp-row-label small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-text);
  margin-top: 2px;
}

.cmp-cell {
  padding: 16px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  display: table-cell;
  vertical-align: middle;
}
.cmp-cell svg { vertical-align: middle; margin-right: 4px; }

/* Colonne drone */
.cmp-cell-drone {
  background: rgba(213,0,0,.04);
  border-left: 2px solid rgba(213,0,0,.12);
  border-right: 2px solid rgba(213,0,0,.12);
}

/* États */
.cmp-win     { color: #15803d; }
.cmp-win svg { stroke: #15803d; }
.cmp-neutral { color: #b45309; }
.cmp-lose    { color: #9ca3af; }

.cmp-note {
  font-size: 11.5px;
  color: var(--gray-text);
  margin-top: 14px;
  padding: 0 4px;
}

/* Dark mode */
body.dark .cmp-table,
body.dark .cmp-wrap      { background: #1a1212; }
body.dark .cmp-th,
body.dark .cmp-th-label  { border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.45); }
body.dark .cmp-th-name   { color: rgba(255,255,255,.9); }
body.dark .cmp-row-label { color: rgba(255,255,255,.85); }
body.dark .cmp-cell      { color: rgba(255,255,255,.55); }
body.dark .cmp-table tbody tr { border-color: rgba(255,255,255,.06); }
body.dark .cmp-win       { color: #4ade80; }
body.dark .cmp-win svg   { stroke: #4ade80; }
body.dark .cmp-neutral   { color: #fbbf24; }
body.dark .cmp-cell-drone { background: rgba(213,0,0,.08); }
body.dark .cmp-th-drone  { border-color: rgba(213,0,0,.25); }

/* Responsive */
@media (max-width: 640px) {
  .cmp-th-badge { display: none; }
  .cmp-cell, .cmp-row-label, .cmp-th { padding: 12px 10px; font-size: 12px; }
}

/* =============================================
   PROCESSUS
============================================= */
#processus { background: var(--off-white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
/* Track + beam animé */
.steps-line-wrap {
  position: absolute;
  top: 27px;
  left: calc(12.5% + 22px);
  right: calc(12.5% + 22px);
  height: 2px;
  background: rgba(213,0,0,.15);
  border-radius: 1px;
  overflow: hidden;
  z-index: 0;
}
.steps-beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent       0%,
    transparent      36%,
    rgba(213,0,0,.4) 44%,
    rgba(255,130,130,.95) 49%,
    #ffffff           50%,
    rgba(255,130,130,.95) 51%,
    rgba(213,0,0,.4) 56%,
    transparent      64%,
    transparent     100%
  );
  animation: beam-steps 5.5s linear infinite;
  transform: translateX(-60%);
}

/*
  Positions du beam au centre de chaque step (4 colonnes égales) :
  Step 1 = bord gauche  → translateX(-50%)
  Step 2 = 33% de la ligne → translateX(-17%)
  Step 3 = 67% de la ligne → translateX(17%)
  Step 4 = bord droit   → translateX(50%)
*/
@keyframes beam-steps {
  /* Entrée au niveau step 1 */
  0%   { transform: translateX(-60%); opacity: 0; filter: none; }
  4%   { transform: translateX(-50%); opacity: 1; }

  /* Pause step 1 + glow */
  4%   { filter: brightness(1.5) drop-shadow(0 0 4px rgba(213,0,0,.7)); }
  13%  { transform: translateX(-50%); filter: brightness(1.5) drop-shadow(0 0 4px rgba(213,0,0,.7)); }

  /* Travel 1 → 2 */
  14%  { filter: none; }
  27%  { transform: translateX(-17%); }

  /* Pause step 2 + glow */
  27%  { filter: brightness(1.5) drop-shadow(0 0 4px rgba(213,0,0,.7)); }
  37%  { transform: translateX(-17%); filter: brightness(1.5) drop-shadow(0 0 4px rgba(213,0,0,.7)); }

  /* Travel 2 → 3 */
  38%  { filter: none; }
  51%  { transform: translateX(17%); }

  /* Pause step 3 + glow */
  51%  { filter: brightness(1.5) drop-shadow(0 0 4px rgba(213,0,0,.7)); }
  61%  { transform: translateX(17%);  filter: brightness(1.5) drop-shadow(0 0 4px rgba(213,0,0,.7)); }

  /* Travel 3 → 4 */
  62%  { filter: none; }
  75%  { transform: translateX(50%); }

  /* Pause step 4 + glow */
  75%  { filter: brightness(1.5) drop-shadow(0 0 4px rgba(213,0,0,.7)); }
  87%  { transform: translateX(50%);  filter: brightness(1.5) drop-shadow(0 0 4px rgba(213,0,0,.7)); opacity: 1; }

  /* Sortie */
  95%  { transform: translateX(60%); opacity: 0; filter: none; }
  100% { transform: translateX(60%); opacity: 0; }
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(213,0,0,.3);
  position: relative;
  z-index: 2;
}
.step h3 { font-size: 15px; font-weight: 800; margin-bottom: 8px; color: var(--black); }
.step p   { font-size: 13.5px; color: var(--gray-text); line-height: 1.6; }

/* =============================================
   OPÉRATEUR
============================================= */
.operateur-section {
  padding: 100px 0;
  background: var(--white);
}

.operateur-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 72px;
  align-items: center;
}

/* ---- Photo ---- */
.operateur-photo-wrap {
  position: relative;
  isolation: isolate;
}

/* Photo */
.operateur-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  display: block;
}

/* Rectangle rouge décalé derrière la photo */
.operateur-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: var(--red);
  transform: translate(12px, 14px);
  z-index: -1;
  opacity: .18;
}

/* Cercle décoratif haut gauche */
.operateur-photo-wrap::after {
  content: '';
  position: absolute;
  top: -18px;
  left: -18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  opacity: .08;
  z-index: -1;
}
.operateur-photo,
.operateur-photo-placeholder {
  position: relative;
  z-index: 0;
}

/* ---- Contenu ---- */
.operateur-name {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 6px;
  letter-spacing: -.02em;
}

.operateur-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin: 0 0 32px;
}

.operateur-quote {
  font-size: 18px;
  line-height: 1.65;
  font-style: italic;
  color: var(--black);
  border-left: 3px solid var(--red);
  margin: 0 0 10px;
  padding-left: 22px;
}


.operateur-cite {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  font-style: italic;
  padding-left: 25px;
  margin-bottom: 32px;
}

/* ---- Badges ---- */
.operateur-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.operateur-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,.15);
  color: var(--black);
}


/* ---- Responsive ---- */
@media (max-width: 900px) {
  .operateur-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .operateur-photo-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
  .operateur-photo-wrap::before,
  .operateur-photo-wrap::after { display: none; }
}

/* ---- Dark mode ---- */
body.dark .operateur-section { background: var(--dark-surface, #110d0d); }
body.dark .operateur-quote  { color: rgba(255,255,255,.85); }
body.dark .operateur-badge  { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.7); }

/* =============================================
   TARIFS
============================================= */
#tarifs { background: var(--white); }

.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.pricing-card {
  background: var(--red);
  border-radius: var(--r-xl);
  padding: 52px 48px;
  color: white;
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
}
.pricing-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 180px; height: 180px;
  background: rgba(0,0,0,.08);
  border-radius: 50%;
}
.pricing-card-inner { position: relative; z-index: 2; }
.pricing-from {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .75;
  margin-bottom: 12px;
}
.pricing-amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.pricing-main {
  font-size: clamp(64px, 8vw, 92px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.pricing-unit { font-size: clamp(24px, 3vw, 34px); font-weight: 700; opacity: .7; }
.pricing-note { font-size: 13px; opacity: .65; margin-bottom: 36px; }
.pricing-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background: white;
  color: var(--red);
  border-radius: 100px;
  font-weight: 800;
  font-size: 14px;
  transition: all var(--t);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  border: 2px solid white;
}
.pricing-btn:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
}
.pricing-disclaimer { font-size: 11.5px; opacity: .5; margin-top: 16px; }

.pricing-details { display: flex; flex-direction: column; gap: 16px; }
.pricing-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--off-white);
  border-radius: var(--r-md);
  border: 1.5px solid var(--gray-mid);
}
.pdi-icon {
  width: 40px; height: 40px;
  background: rgba(213,0,0,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}
.pdi-icon svg { width: 18px; height: 18px; }
.pdi-title { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 3px; }
.pdi-sub   { font-size: 13px; color: var(--gray-text); line-height: 1.55; }

/* =============================================
   ESTIMATEUR DE DEVIS
============================================= */
#estimateur { background: var(--off-white); }

.est-card {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-xl);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.est-group { display: flex; flex-direction: column; gap: 16px; }

.est-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: .07em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.est-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Service cards */
.est-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.est-svc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-md);
  background: var(--off-white);
  cursor: pointer;
  transition: all .22s ease;
  font-family: var(--font);
}
.est-svc:hover {
  border-color: rgba(213,0,0,.3);
  background: rgba(213,0,0,.03);
}
.est-svc.active {
  border-color: var(--red);
  background: rgba(213,0,0,.06);
  box-shadow: 0 0 0 3px rgba(213,0,0,.1);
}
.est-svc-icon {
  width: 44px; height: 44px;
  background: var(--gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  transition: all .22s ease;
}
.est-svc.active .est-svc-icon,
.est-svc:hover .est-svc-icon { background: rgba(213,0,0,.1); color: var(--red); }
.est-svc-name { font-size: 13px; font-weight: 700; color: var(--black); text-align: center; }

/* Slide-in animation */
.est-slide {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), opacity .35s ease, padding .4s ease;
  padding-top: 0; padding-bottom: 0;
}
.est-slide.visible {
  max-height: 900px;
  opacity: 1;
  overflow: visible;
}

/* Surface input */
.est-surface-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.est-surface-input {
  width: 180px;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  background: var(--off-white);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  -moz-appearance: textfield;
}
.est-surface-input::-webkit-outer-spin-button,
.est-surface-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.est-surface-input:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(213,0,0,.07);
}
.est-unit { font-size: 18px; font-weight: 700; color: var(--gray-text); }

/* Moss checkbox */
.est-moss {
  display: none;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--black);
  padding: 12px 16px;
  background: rgba(213,0,0,.04);
  border: 1px dashed rgba(213,0,0,.25);
  border-radius: var(--r-sm);
}
.est-moss.visible { display: flex; }
.est-moss input[type="checkbox"] { display: none; }
.est-checkbox-box {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 4px;
  background: var(--white);
  margin-top: 1px;
  transition: all .2s;
  position: relative;
}
.est-moss input:checked ~ .est-checkbox-box {
  background: var(--red);
  border-color: var(--red);
}
.est-moss input:checked ~ .est-checkbox-box::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.est-moss-sub { color: var(--gray-text); font-style: italic; }

/* Résultat */
.est-result { border-top: 1.5px solid var(--gray-mid); padding-top: 0; }
.est-result.visible { padding-top: 28px; }

.est-result-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 24px;
}
.est-result-price { flex: 1; }
.est-result-from {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-text);
  margin-bottom: 6px;
  display: block;
}
.est-price-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.est-price-val {
  font-size: clamp(40px,5vw,56px);
  font-weight: 800;
  color: var(--red);
  letter-spacing: -.03em;
  line-height: 1;
}
.est-price-ht { font-size: 18px; font-weight: 700; color: var(--gray-text); }
.est-price-detail { font-size: 12.5px; color: var(--gray-text); }

.est-tva-info {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 10px;
  padding: 9px 12px;
  background: rgba(66,133,244,.06);
  border: 1px solid rgba(66,133,244,.18);
  border-radius: var(--r-sm);
  font-size: 11.5px;
  color: var(--gray-text);
  line-height: 1.5;
}
.est-tva-info svg { color: #4285F4; flex-shrink: 0; margin-top: 1px; }
.est-tva-info strong { color: var(--black); }
body.dark .est-tva-info {
  background: rgba(66,133,244,.08);
  border-color: rgba(66,133,244,.2);
}
body.dark .est-tva-info strong { color: #EDE8E8; }

.est-result-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.est-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-text);
}
.est-badge svg { color: #16a34a; flex-shrink: 0; }

/* ---- Bloc économie nacelle ---- */
.est-savings-block {
  display: none;
  border-radius: 14px;
  overflow: hidden;
  margin: 20px 0 4px;
}

.est-savings-nacelle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--gray, #f5f4f2);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.est-savings-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-text);
}
.est-savings-nacelle-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-text);
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,.35);
}

.est-savings-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #111;
}
.est-savings-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 5px;
}
.est-savings-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -.02em;
  line-height: 1;
}
.est-savings-pct {
  font-size: 15px;
  font-weight: 800;
  background: var(--red);
  color: #fff;
  padding: 6px 13px;
  border-radius: 100px;
  letter-spacing: -.01em;
  flex-shrink: 0;
}

/* Dark mode */
body.dark .est-savings-nacelle { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.06); }
body.dark .est-savings-label   { color: rgba(255,255,255,.4); }
body.dark .est-savings-total   { background: #000; }

.est-savings-note {
  margin: 8px 0 0;
  font-size: 10px;
  font-style: italic;
  color: var(--gray-text);
  opacity: .7;
  line-height: 1.4;
}
body.dark .est-savings-note { color: rgba(255,255,255,.35); }

.est-cta-btn { font-size: 15px; padding: 15px 32px; margin-top: 6px; }

/* Message contact (façade / hors plage) */
.est-contact-msg {
  font-size: 15px;
  color: var(--black);
  line-height: 1.65;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: rgba(213,0,0,.05);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

/* Responsive */
@media (max-width: 768px) {
  .est-card { padding: 24px 20px; gap: 24px; }
  .est-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .est-result-row { flex-direction: column; gap: 16px; }
  .est-result-badges { flex-direction: row; flex-wrap: wrap; }
}
/* =============================================
   ZONE
============================================= */
#zone { background: var(--white); }

.zone-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.zone-content p { font-size: 15.5px; color: var(--gray-text); line-height: 1.8; margin-bottom: 28px; }

.cities-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.city-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  transition: all var(--t);
}
.city-chip:hover { border-color: var(--red); color: var(--red); background: rgba(213,0,0,.03); }
.city-chip svg { width: 12px; height: 12px; color: var(--red); flex-shrink: 0; }

.zone-france {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 11px 16px;
  background: rgba(213,0,0,.05);
  border: 1.5px solid rgba(213,0,0,.18);
  border-radius: var(--r-md);
  font-size: 13.5px;
  color: var(--gray-text);
  line-height: 1.5;
}
.zone-france p { margin: 0; }
.zone-france strong { color: var(--black); }
.zone-france a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.map-wrap {
  position: relative;
  isolation: isolate;
}

/* Rectangle rouge décalé derrière la map */
.map-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: calc(var(--r-xl) + 4px);
  background: var(--red);
  transform: translate(12px, 14px);
  z-index: -1;
  opacity: .18;
}

/* Cercle décoratif haut gauche */
.map-wrap::after {
  content: '';
  position: absolute;
  top: -18px;
  left: -18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  opacity: .08;
  z-index: -1;
}

#map {
  height: 460px;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--gray-mid);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}


/* =============================================
   AVANT / APRÈS
============================================= */
#galerie { background: var(--off-white); }

.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ba-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--gray-mid);
  background: var(--white);
  transition: all .28s ease;
}
.ba-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* Slider avant/après */
.ba-slider {
  position: relative;
  height: 200px;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
}
.ba-img-after,
.ba-img-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
/* Le "avant" est au-dessus, clipé à gauche (50% par défaut, mis à jour par JS) */
.ba-img-before {
  clip-path: inset(0 50% 0 0);
  z-index: 1;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: white;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: col-resize;
}
.ba-handle svg {
  background: var(--red);
  border-radius: 50%;
  padding: 6px;
  width: 32px;
  height: 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
  flex-shrink: 0;
}
.ba-lbl--l,
.ba-lbl--r {
  position: absolute;
  bottom: 10px;
  z-index: 4;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(0,0,0,.45);
  color: white;
  pointer-events: none;
}
.ba-lbl--l { left: 10px; }
.ba-lbl--r { right: 10px; background: rgba(213,0,0,.7); }
.ba-info { padding: 18px 20px; }
.ba-info h4 { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.ba-info p  { font-size: 12.5px; color: var(--gray-text); }
.ba-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-mid);
}
.ba-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--gray-text);
  font-weight: 500;
}
.ba-meta-item svg { flex-shrink: 0; color: var(--red); }

/* Bouton agrandir sur la card */
.ba-expand {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 5;
  background: rgba(0,0,0,.5);
  color: white;
  border: none;
  border-radius: 6px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.ba-expand:hover { background: var(--red); }

/* Modal */
.ba-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.ba-modal.is-open {
  opacity: 1;
  pointer-events: all;
}
.ba-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
}
.ba-modal-box {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  width: min(860px, 92vw);
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  transform: scale(.95);
  transition: transform .25s ease;
}
.ba-modal.is-open .ba-modal-box { transform: scale(1); }
.ba-modal-header {
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--gray-mid);
}
.ba-modal-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0;
}
.ba-modal-meta {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--gray-mid);
}
.ba-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.ba-modal-close:hover { color: var(--red); background: var(--gray); }
.ba-modal-slider {
  height: 480px !important;
  border-radius: 0 !important;
  cursor: col-resize;
}

/* =============================================
   AVIS CLIENTS
============================================= */
#avis { background: var(--white); }

.reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1.5px solid var(--gray-mid);
  border-radius: 100px;
  padding: 10px 20px;
  margin-top: 20px;
}
.reviews-score-stars { display: flex; gap: 2px; }
.reviews-score-stars svg { width: 18px; height: 18px; }
.reviews-score-num { font-size: 15px; font-weight: 800; color: var(--black); }
.reviews-score-sep { color: var(--gray-text); }
.reviews-score-label { font-size: 13px; color: var(--gray-text); }
.reviews-google-logo { width: 20px; height: 20px; }

/* Marquee infini */
.reviews-marquee {
  margin-top: 48px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}
.reviews-track:hover { animation-play-state: paused; }
.review-card { flex: 0 0 360px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Scroll manuel sur mobile ---- */
@media (max-width: 768px) {
  .reviews-marquee {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    /* Étendre jusqu'aux bords de l'écran */
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    /* Retirer le mask (inutile sans animation + coupe les cartes) */
    -webkit-mask-image: none;
    mask-image: none;
    /* Masquer la scrollbar */
    scrollbar-width: none;
  }
  .reviews-marquee::-webkit-scrollbar { display: none; }
  .reviews-track {
    animation: none;
    padding-right: 20px; /* espace après la dernière carte */
  }
  /* Masquer les doublons (série 2, inutile sans animation) */
  .review-card[aria-hidden="true"] { display: none; }
  .review-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
  }
}

.review-card {
  background: white;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  color: white;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .03em;
}
.review-meta { flex: 1; }
.review-name { font-size: 13px; font-weight: 700; color: var(--black); }
.review-guide {
  font-size: 10px;
  font-weight: 600;
  color: #1A73E8;
  background: rgba(26,115,232,.08);
  padding: 1px 6px;
  border-radius: 20px;
  margin-left: 4px;
  vertical-align: middle;
}
.review-date { font-size: 11px; color: var(--gray-text); margin-top: 2px; }
.review-google-icon { width: 18px; height: 18px; flex-shrink: 0; }

.review-stars { color: #F59E0B; font-size: 15px; letter-spacing: 1px; }

.review-text {
  font-size: 13.5px;
  color: var(--gray-text);
  line-height: 1.65;
  flex: 1;
}

.reviews-cta {
  text-align: center;
  margin-top: 40px;
}
.reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  border: 1.5px solid var(--gray-mid);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.reviews-link:hover {
  border-color: #4285F4;
  box-shadow: 0 4px 16px rgba(66,133,244,.15);
}

.reviews-cta-sep {
  width: 1px;
  height: 32px;
  background: var(--gray-mid);
  margin: 0 8px;
  display: inline-block;
  vertical-align: middle;
}
.reviews-cta-devis {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  vertical-align: middle;
}
.reviews-cta-devis p {
  font-size: 13px;
  color: var(--gray-text);
  margin: 0;
}
.btn-outline-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1.5px solid var(--red);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-outline-red:hover {
  background: var(--red);
  color: #fff;
}

@media (max-width: 640px) {
  .reviews-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .reviews-cta-sep { width: 40px; height: 1px; margin: 0; }
  .reviews-cta-devis { flex-direction: column; gap: 10px; text-align: center; }
}

/* =============================================
   GUIDES SEO
============================================= */
#guides { background: var(--white); }

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
}
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(213,0,0,.2);
}
.guide-card-visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-visual-toiture {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1515 60%, #4a1010 100%);
  color: rgba(255,255,255,.35);
}
.guide-visual-facade {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2d3e 60%, #0f3460 100%);
  color: rgba(255,255,255,.35);
}
.guide-visual-solaires {
  background: linear-gradient(135deg, #f0f7ff 0%, #d0e8ff 100%);
}
/* Icônes sur fond sombre : tout blanc */
.guide-visual-toiture .guide-card-icon,
.guide-visual-facade  .guide-card-icon { filter: brightness(0) invert(1); }
/* Icône sur fond clair : rouge conservé, noir → #1A1A1A */
.guide-visual-solaires .guide-card-icon { filter: none; }
.guide-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.guide-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  background: rgba(213,0,0,.07);
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}
.guide-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.3;
  letter-spacing: -.02em;
}
.guide-excerpt {
  font-size: 13.5px;
  color: var(--gray-text);
  line-height: 1.7;
  flex: 1;
}
.guide-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-top: 4px;
  transition: gap .2s;
}
.guide-card:hover .guide-cta { gap: 10px; }

@media (max-width: 640px) {
  .guides-grid { grid-template-columns: 1fr; }
  .guide-card-visual { height: 120px; }
}

/* Dark mode */
body.dark .guide-card { background: #1C1414; border-color: rgba(255,255,255,.07); }
body.dark .guide-card:hover { border-color: rgba(213,0,0,.3); box-shadow: 0 8px 40px rgba(213,0,0,.15); }

/* =============================================
   FAQ
============================================= */
#faq { background: var(--off-white); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray);
}
.faq-item:first-child { border-top: 1px solid var(--gray); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  transition: color .2s;
}
.faq-question:hover { color: var(--red); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--red);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 4px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-text);
}
.faq-answer p a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================================
   ENCART RDV
============================================= */
.rdv-banner {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}
.rdv-option {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
}
.rdv-divider {
  width: 1px;
  align-self: stretch;
  background: var(--gray-mid);
  flex-shrink: 0;
}
.rdv-option-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(213,0,0,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.rdv-option-body { flex: 1; min-width: 0; }
.rdv-option-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 2px;
}
.rdv-option-sub {
  font-size: 12px;
  color: var(--gray-text);
}
.rdv-btn {
  flex-shrink: 0;
  padding: 11px 20px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .rdv-banner { flex-direction: column; gap: 0; }
  .rdv-divider { width: auto; height: 1px; align-self: stretch; }
  .rdv-option { width: 100%; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
  .rdv-option-icon { margin-top: 2px; }
  .rdv-option-body { flex: 1; min-width: 0; }
  .rdv-btn { width: 100%; justify-content: center; margin-top: 0; }
}

/* =============================================
   CONTACT
============================================= */
#contact { background: var(--off-white); }

.contact-inner {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 48px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 14px;
  color: var(--black);
  background: var(--off-white);
  outline: none;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #BBB; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(213,0,0,.07);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.form-submit { grid-column: 1 / -1; margin-top: 6px; }
.form-submit .btn-red { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 18px; color: var(--black); }
.cdetail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray);
}
.cdetail:last-child { border-bottom: none; }
.cdetail-icon {
  width: 38px; height: 38px;
  background: rgba(213,0,0,.07);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}
.cdetail-icon svg { width: 17px; height: 17px; }
.cdetail-lbl { font-size: 10.5px; font-weight: 700; color: #AAA; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 2px; }
.cdetail-val { font-size: 14px; font-weight: 600; color: var(--black); }
.cdetail-val a { color: var(--red); transition: opacity var(--t); }
.cdetail-val a:hover { opacity: .75; }

.cta-card {
  background: var(--red);
  border-radius: var(--r-lg);
  padding: 26px;
  color: white;
}
.cta-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.cta-card p  { font-size: 13.5px; opacity: .8; line-height: 1.65; margin-bottom: 20px; }
.cta-card .btn-red {
  background: white;
  color: var(--red);
  border-color: white;
  width: 100%;
  justify-content: center;
}
.cta-card .btn-red:hover { background: var(--off-white); }

/* =============================================
   FOOTER
============================================= */
.footer {
  background: #111;
  color: white;
  padding: 68px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo img {
  height: 44px;
  width: auto;
  border-radius: 10px;
  margin-bottom: 16px;
}
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,.4); line-height: 1.75; margin-bottom: 22px; }
.footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: white;
  transition: color var(--t);
}
.footer-tel:hover { color: rgba(213,0,0,.9); }
.footer-tel svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-col h4 {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color var(--t); }
.footer-links a:hover { color: white; }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 12px;
}
.footer-contact-row svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--red); margin-top: 1px; }
.footer-contact-row span,
.footer-contact-row a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color var(--t); }
.footer-contact-row a:hover { color: white; }
.footer-brand-note { margin-top: 20px; }
.footer-brand-note span   { font-size: 11px; color: rgba(255,255,255,.22); display: block; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 3px; }
.footer-brand-note strong { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span { font-size: 12.5px; color: rgba(255,255,255,.22); }
.footer-credit {
  text-align: center;
  padding: 10px 0 18px;
  font-size: 11.5px;
  color: rgba(255,255,255,.15);
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-credit a {
  color: rgba(255,255,255,.28);
  font-weight: 600;
  transition: color var(--t);
}
.footer-credit a:hover { color: rgba(255,255,255,.6); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12.5px; color: rgba(255,255,255,.22); transition: color var(--t); }
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-card { grid-column: span 2; }
  .svc-card:nth-child(4) { grid-column: span 2; }
  .svc-card:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 920px) {
  .hero-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 36px; }
  .hero-right { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .hero-features { display: none; }
  .hero-ba-badge { display: none; }
  .hero-trust-item { padding: 16px 20px; }
  .why-inner, .zone-inner, .pricing-wrap { grid-template-columns: 1fr; }
  .why-inner .why-content { order: 2; }
  .why-inner .why-visual  { order: 1; }
  .contact-inner { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .steps-line-wrap { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .adv-row { grid-template-columns: repeat(2, 1fr); }
  .adv-item:nth-child(3) { border-right: 1.5px solid var(--gray-mid); }
  .adv-item:nth-child(6) { border-right: none; }
  .adv-item:nth-child(2), .adv-item:nth-child(4) { border-right: none; }
  .adv-item:nth-child(5), .adv-item:nth-child(6) { border-bottom: none; }
  .adv-item:nth-child(3), .adv-item:nth-child(4) { border-bottom: 1.5px solid var(--gray-mid); }
}
@media (max-width: 768px) {
  /* Eviter que le sticky button couvre les liens du footer */
  .footer { padding-bottom: 80px; }
  .why-visual { display: none; }
  .nav, .header-tel { display: none; }
  .ham { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card,
  .svc-card:nth-child(4),
  .svc-card:nth-child(5) { grid-column: 1 / -1; }
  .ba-grid { grid-template-columns: 1fr; }
  section { padding: 68px 0; }
  .pricing-card { padding: 36px 28px; }
  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-main { font-size: 64px; }

  /* ---- Hero mobile : image en haut, card de contenu par-dessus ---- */

  /* Masquer le ::before (image desktop) sur mobile */
  .hero::before { display: none; }

  .hero {
    min-height: auto;
    padding-top: 65px; /* offset header fixe */
    padding-bottom: 0;
    display: block;
    background: var(--white);
  }

  /* Image mobile : visible entièrement sous le header */
  .hero-img-mob {
    display: block;
    height: 240px;
    background: url('images/hero-bg.webp') center 35% / cover no-repeat;
    position: relative;
    z-index: 0;
    /* Fondu vers le blanc en bas pour la transition douce */
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  }

  /* Card de contenu — overlap léger sur l'image */
  .hero > .container {
    position: relative;
    z-index: 2;
    margin-top: -32px;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    padding: 24px 20px 32px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.07);
  }
  .hero-main {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
    align-items: flex-start;
  }
  .hero-title       { font-size: 30px; margin-bottom: 12px; }
  .hero-eyebrow     { margin-bottom: 16px; font-size: 11px; }
  .hero-subtitle    { font-size: 14px; margin-bottom: 22px; }
  .hero-right       { display: none; }
  /* Trust bar : sort de position:absolute, devient statique */
  .hero-trust {
    position: static;
    border-top: 1.5px solid var(--gray);
    box-shadow: none;
  }
  .hero-trust-inner { grid-template-columns: repeat(3,1fr); }
  .hero-trust-item  { padding: 14px 10px; gap: 8px; }
  .hero-trust-icon  { width: 32px; height: 32px; }
  .hero-trust-txt strong { font-size: 12px; }
  .hero-trust-txt span   { font-size: 11px; }
}
@media (max-width: 640px) {
  /* Trust bar garde 3 colonnes — la mise en page mobile hero gère déjà l'espace */
  .hero-trust-inner { grid-template-columns: repeat(3,1fr); }
  .hero-trust-item { border-right: 1px solid var(--gray-mid); border-bottom: none; padding: 14px 8px; gap: 8px; }
  .hero-trust-item:last-child { border-right: none; }
  .hero-trust-icon { display: none; } /* masquer icône sur très petit écran pour gagner de la place */
}
@media (max-width: 500px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-red, .btn-outline, .btn-outline-white { justify-content: center; }
}

/* =============================================
   DARK MODE TOGGLE BUTTON
============================================= */
.dark-toggle {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray);
  border: 1.5px solid var(--gray-mid);
  color: var(--black);
  cursor: pointer;
  transition: all var(--t);
  flex-shrink: 0;
}
.dark-toggle:hover { border-color: var(--red); color: var(--red); }
.dark-toggle .icon-moon { display: block; }
.dark-toggle .icon-sun  { display: none; }

/* Image hero mobile — visible uniquement sur mobile via @media, cachée sur desktop */
@media (min-width: 769px) { .hero-img-mob { display: none; } }


/* =============================================
   BANDEAU COOKIES
============================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 760px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  z-index: 9999;
  animation: cookieSlide .35s ease;
}

body.dark .cookie-banner {
  background: #1a1a1a;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.07);
}

.cookie-banner[hidden] { display: none; }

@keyframes cookieSlide {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 200px;
}

.cookie-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.8);
}

.cookie-text a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .2s;
}

.cookie-btn:hover { opacity: .85; }

.cookie-refuse {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
}

.cookie-accept {
  background: var(--red);
  color: #fff;
}

@media (max-width: 540px) {
  .cookie-banner { bottom: 80px; }
  .cookie-inner  { flex-direction: column; gap: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* =============================================
   STICKY CALL — mobile uniquement
============================================= */
.sticky-call {
  display: none;
}

@media (max-width: 768px) {
  .sticky-call {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .3px;
    box-shadow: 0 4px 20px rgba(213,0,0,.45);
    white-space: nowrap;
    /* Animation d'entrée */
    animation: sticky-in .4s cubic-bezier(.34,1.56,.64,1) both;
    animation-delay: .8s;
    opacity: 0;
  }
  .sticky-call svg {
    flex-shrink: 0;
    animation: ring 3s ease-in-out 2s infinite;
  }
  /* Masquer quand on est dans la section contact (inutile d'afficher le bouton si le formulaire est visible) */
  .sticky-call.hidden {
    opacity: 0 !important;
    pointer-events: none;
    transform: translateX(-50%) translateY(80px);
    transition: opacity .3s, transform .3s;
  }
}

@keyframes sticky-in {
  from { opacity: 0; transform: translateX(-50%) translateY(40px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  10%       { transform: rotate(-15deg); }
  20%       { transform: rotate(15deg); }
  30%       { transform: rotate(-10deg); }
  40%       { transform: rotate(10deg); }
  50%       { transform: rotate(0deg); }
}

/* =============================================
   DARK MODE
   Palette :
   bg-main   #0D0A0A  noir chaud (teinté rouge)
   bg-alt    #130D0D  sections alternées
   surface   #1C1414  cartes / composants
   surface+  #251919  cartes surélevées
   border    rgba(255,255,255,.08)
   text      #EDE8E8  blanc chaud
   text-2    #8A8080  gris chaud secondaire
   red       #D50000  identique — se détache mieux sur fond sombre
============================================= */
body.dark {
  --white:     #0D0A0A;
  --off-white: #130D0D;
  --gray:      #1C1414;
  --gray-mid:  rgba(255,255,255,.08);
  --gray-text: #8A8080;
  --black:     #EDE8E8;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.5);
  --shadow-md: 0 4px 24px rgba(0,0,0,.65);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.8);
  background: #0D0A0A;
  color: #EDE8E8;
}

/* Toggle icon swap */
body.dark .dark-toggle { background: #1C1414; border-color: rgba(255,255,255,.1); color: #EDE8E8; }
body.dark .dark-toggle .icon-moon { display: none; }
body.dark .dark-toggle .icon-sun  { display: block; }

/* Logo : switch light/dark sans filtre */
.logo .logo-dark  { display: none; }
.logo .logo-light { display: block; }
body.dark .logo .logo-light { display: none; }
body.dark .logo .logo-dark  { display: block; }

/* ---- HEADER ---- */
body.dark .header { background: rgba(13,10,10,.96); }
body.dark .mob-menu { background: rgba(19,13,13,.98); border-top-color: rgba(255,255,255,.07); }

/* ---- HERO ---- */
body.dark .hero { background: #090707; }
body.dark .hero::before { opacity: 1; }
body.dark .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9,7,7,.72);
  z-index: 0;
  pointer-events: none;
}
body.dark .hero-subtitle strong { color: #EDE8E8; }
body.dark .hero-feat {
  background: rgba(28,20,20,.85);
  border-color: rgba(255,255,255,.1);
}
body.dark .hero-price-card {
  background: rgba(28,20,20,.85);
  border-color: rgba(255,255,255,.1);
  border-left-color: var(--red);
}
body.dark .hero-price-card .price-from { color: #8A8080; }
body.dark .hero-price-card .price-note { color: #8A8080; }
body.dark .hero-trust {
  background: #1C1414;
  border-top-color: var(--red);
  box-shadow: 0 -4px 24px rgba(0,0,0,.4);
}
body.dark .hero-trust-item { border-right-color: rgba(255,255,255,.08); }
@media (max-width: 768px) {
  body.dark .hero { background: #0D0A0A; }
  body.dark .hero-img-mob {
    filter: brightness(.65);
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  }
  body.dark .hero > .container {
    background: #0D0A0A;
    box-shadow: 0 -4px 20px rgba(0,0,0,.5);
  }
  body.dark .hero-trust {
    background: #0D0A0A;
    border-top-color: rgba(255,255,255,.08);
    box-shadow: none;
  }
}
body.dark .btn-outline-white {
  background: rgba(28,20,20,.9);
  border-color: rgba(255,255,255,.14);
  color: #EDE8E8;
}
body.dark .btn-outline-white:hover { border-color: rgba(255,255,255,.4); }
body.dark .btn-outline { border-color: rgba(255,255,255,.14); color: #EDE8E8; }
body.dark .btn-outline:hover { border-color: #EDE8E8; }

/* ---- PRESTATIONS ---- */
body.dark .svc-card {
  background: #1C1414;
  border-color: rgba(255,255,255,.07);
}
body.dark .svc-card:hover { border-color: rgba(213,0,0,.35); }
/* svc-icon dark variant loaded via JS (data-dark attr) — no filter needed */
/* ---- AVANTAGES ---- */
body.dark .adv-row {
  background: #1C1414;
  border-color: rgba(255,255,255,.07);
}
body.dark .adv-item {
  border-right-color: rgba(255,255,255,.07);
  border-bottom-color: rgba(255,255,255,.07);
}
body.dark .adv-item:hover { background: #251919; }
body.dark .adv-icon.red   { background: rgba(213,0,0,.15); }
body.dark .adv-icon.green { background: rgba(34,197,94,.12); }

/* ---- POURQUOI DRONE ---- */
body.dark .why-item {
  background: #1C1414;
  border-color: rgba(255,255,255,.07);
  color: #EDE8E8;
}
body.dark .why-item:hover {
  border-color: rgba(213,0,0,.35);
  background: rgba(213,0,0,.06);
}
body.dark .why-img-wrap {
  background: #1C1414;
  border-color: rgba(255,255,255,.07);
}
body.dark .why-drone { filter: drop-shadow(0 16px 40px rgba(213,0,0,.2)); }
body.dark .why-video { opacity: .92; border-color: rgba(255,255,255,.1); }
body.dark .why-video-wrap::before { opacity: .55; }
body.dark .why-video-wrap::after  { opacity: .28; }

/* ---- TARIFS ---- */
body.dark .pricing-detail-item {
  background: #1C1414;
  border-color: rgba(255,255,255,.07);
}
body.dark .pricing-btn {
  background: #1C1414;
  color: #EDE8E8;
  border-color: rgba(255,255,255,.15);
}
body.dark .pricing-btn:hover { background: #251919; }

/* ---- ESTIMATEUR ---- */
body.dark .est-card {
  background: #1C1414;
  border-color: rgba(255,255,255,.07);
  box-shadow: none;
}
body.dark .est-svc {
  background: #251919;
  border-color: rgba(255,255,255,.07);
}
body.dark .est-svc:hover, body.dark .est-svc.active {
  background: rgba(213,0,0,.1);
  border-color: rgba(213,0,0,.4);
}
body.dark .est-svc-icon { background: rgba(255,255,255,.06); color: rgba(237,232,232,.5); }
body.dark .est-svc.active .est-svc-icon,
body.dark .est-svc:hover .est-svc-icon { background: rgba(213,0,0,.15); color: var(--red); }
body.dark .est-surface-input {
  background: #251919;
  border-color: rgba(255,255,255,.1);
  color: #EDE8E8;
}
body.dark .est-surface-input:focus { background: #1C1414; }
body.dark .est-moss {
  background: rgba(213,0,0,.08);
  border-color: rgba(213,0,0,.25);
}
body.dark .est-checkbox-box { background: #251919; border-color: rgba(255,255,255,.2); }
body.dark .est-result { border-top-color: rgba(255,255,255,.07); }
body.dark .est-contact-msg { background: rgba(213,0,0,.1); }

/* ---- ZONE ---- */
body.dark .city-chip {
  background: #1C1414;
  border-color: rgba(255,255,255,.07);
  color: #EDE8E8;
}
body.dark .city-chip:hover {
  border-color: rgba(213,0,0,.4);
  color: var(--red);
  background: rgba(213,0,0,.07);
}
body.dark .zone-france {
  background: rgba(213,0,0,.08);
  border-color: rgba(213,0,0,.22);
}
body.dark #map { border-color: rgba(255,255,255,.07); }
body.dark .map-wrap::before { opacity: .55; }
body.dark .map-wrap::after  { opacity: .28; }
body.dark .operateur-photo-wrap::before { opacity: .55; }
body.dark .operateur-photo-wrap::after  { opacity: .28; }

/* ---- GALERIE ---- */
body.dark .ba-card {
  background: #1C1414;
  border-color: rgba(255,255,255,.07);
}
body.dark .ba-card:hover { box-shadow: 0 8px 40px rgba(213,0,0,.18); }
body.dark .ba-info h4 { color: #EDE8E8; }
body.dark .ba-meta { border-top-color: rgba(255,255,255,.07); }
body.dark .ba-modal-box { background: #1C1414; }
body.dark .ba-modal-header { border-bottom-color: rgba(255,255,255,.07); }
body.dark .ba-modal-meta { border-top-color: rgba(255,255,255,.07); }
body.dark .ba-modal-close:hover { background: rgba(255,255,255,.07); color: var(--red); }

/* ---- AVIS CLIENTS ---- */
body.dark .reviews-marquee {
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
body.dark .reviews-score {
  background: #1C1414;
  border-color: rgba(255,255,255,.07);
}
body.dark .review-card {
  background: #1C1414;
  border-color: rgba(255,255,255,.07);
}
body.dark .review-card:hover { box-shadow: 0 8px 40px rgba(213,0,0,.15); }
body.dark .review-guide { color: #60a5fa; background: rgba(96,165,250,.12); }
body.dark .ba-handle { background: rgba(255,255,255,.15); }
body.dark .reviews-link {
  background: #1C1414;
  border-color: rgba(255,255,255,.07);
  color: #EDE8E8;
}
body.dark .reviews-cta-sep { background: rgba(255,255,255,.12); }
body.dark .reviews-cta-devis p { color: rgba(237,232,232,.5); }
body.dark .btn-outline-red { border-color: #d20d00; color: #ff6b6b; }
body.dark .btn-outline-red:hover { background: #d20d00; color: #fff; }
body.dark .reviews-link:hover {
  border-color: #4285F4;
  box-shadow: 0 4px 16px rgba(66,133,244,.2);
}

/* ---- FAQ ---- */
body.dark #faq { background: #130D0D; }
body.dark .faq-item { border-bottom-color: rgba(255,255,255,.08); }
body.dark .faq-item:first-child { border-top-color: rgba(255,255,255,.08); }
body.dark .faq-question { color: #EDE8E8; }
body.dark .faq-question:hover { color: #ff6b6b; }
body.dark .faq-answer p { color: rgba(237,232,232,.65); }
body.dark .faq-answer p a { color: #ff6b6b; }

/* ---- RDV ---- */
body.dark .rdv-banner { background: #1C1414; border-color: rgba(255,255,255,.07); box-shadow: none; }
body.dark .rdv-divider { background: rgba(255,255,255,.07); }
body.dark .rdv-option-icon { background: rgba(213,0,0,.15); }

/* ---- CONTACT ---- */
body.dark .form-card { background: #1C1414; box-shadow: none; }
body.dark .contact-card { background: #1C1414; box-shadow: none; }
body.dark .cdetail { border-bottom-color: rgba(255,255,255,.07); }
body.dark .form-group input,
body.dark .form-group select,
body.dark .form-group textarea {
  background: #251919;
  border-color: rgba(255,255,255,.1);
  color: #EDE8E8;
}
body.dark .form-group input::placeholder,
body.dark .form-group textarea::placeholder { color: rgba(255,255,255,.2); }
body.dark .form-group input:focus,
body.dark .form-group select:focus,
body.dark .form-group textarea:focus {
  background: #1C1414;
  box-shadow: 0 0 0 3px rgba(213,0,0,.12);
}

/* ---- STICKY CALL ---- */
body.dark .sticky-call { box-shadow: 0 4px 24px rgba(213,0,0,.35); }

/* ---- FOOTER ---- */
body.dark .footer { background: #070505; }

