/* ═══════════════════════════════════════════════
   LES TOITS DE L’ÎLE — Feuille de style
   ═══════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-bg:       #f0f9ff;
  --c-surface:  #ffffff;
  --c-surface2: #e0f2fe;
  --c-border:   rgba(14,165,233,0.15);
  --c-text:     #0f2d45;
  --c-muted:    #48677d;
  --c-accent1:  #0ea5e9;
  --c-accent2:  #c84a0c;
  --c-gold:     #0284c7;
  --radius:     16px;
  --shadow-card: 0 4px 32px rgba(14,165,233,0.12);
  --transition: 0.35s cubic-bezier(0.22,1,0.36,1);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ─── Mot mis en avant dans les titres (couleur simple, sans dégradé) ─── */
.gradient-text { color: var(--c-gold); }
.gradient-text-light { color: #fdba74; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  display: none;
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.13);
  transform: translateX(-101%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
}
.btn:hover::after { transform: translateX(0); }
.btn svg { width: 16px; height: 16px; transition: transform 0.3s; flex-shrink: 0; }
.btn:hover svg { transform: translateX(5px); }

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

.btn-ghost {
  border: 2px solid rgba(255,255,255,0.55);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translate(-1px,-1px); }

.btn-full { width: 100%; justify-content: center; }

/* ─── Section helpers ─── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0369a1;
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: #0369a1;
  flex-shrink: 0;
}
.section-tag.light { color: #7dd3fc; }
.section-tag.light::before { background: #7dd3fc; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title.white { color: #fff; }
.section-subtitle { color: var(--c-muted); max-width: 520px; margin: 0 auto; font-size: 1.05rem; }

/* ─── Reveal animations ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { --delay: 0.15s; }
.delay-2 { --delay: 0.3s; }
.delay-3 { --delay: 0.45s; }
.delay-4 { --delay: 0.6s; }

/* ════════════════════════════════════
   NAVBAR
════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.navbar.scrolled,
.navbar.solid {
  /* fond opaque sans flou : sur iPhone, un flou ici enfermerait le menu mobile dans la barre */
  background: #fff;
  box-shadow: 0 1px 0 rgba(15,45,69,0.08);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 48px;
  transition: padding 0.4s;
}
.navbar.scrolled .nav-container,
.navbar.solid .nav-container { padding: 14px 24px; }

.nav-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  width: 44px; height: 44px;
  object-fit: contain;
}
.logo-text { font-size: 0.95rem; font-weight: 400; letter-spacing: 0.02em; white-space: nowrap; color: #fff; transition: color 0.3s; }
.logo-text strong { font-weight: 800; }
.navbar.scrolled .logo-text,
.navbar.solid .logo-text { color: var(--c-text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}
.nav-links li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(220,240,255,0.85);
  transition: color 0.25s;
  position: relative;
}
.navbar.scrolled .nav-links li a,
.navbar.solid .nav-links li a { color: var(--c-muted); }
.navbar.scrolled .nav-links li a:hover,
.navbar.solid .nav-links li a:hover { color: var(--c-text); }
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links li a:hover { color: #fff; }
.nav-links li a:hover::after { transform: scaleX(1); }
.nav-links .nav-cta {
  color: #fff !important;
  background: var(--c-accent2);
  padding: 9px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: #a63d09; }
.nav-links .nav-cta::after { display: none; }

.nav-mobile-only { display: none; }

/* Sous-menu des prestations */
.nav-has-sub { position: relative; }
.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  margin-top: 14px;
  min-width: 270px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #dde6ec;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(15,45,69,0.12);
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-has-sub:hover .nav-sub,
.nav-has-sub:focus-within .nav-sub { display: block; }
.navbar .nav-links .nav-sub li a {
  display: block;
  padding: 7px 18px;
  font-size: 0.88rem;
  color: var(--c-text);
}
.navbar .nav-links .nav-sub li a:hover { background: var(--c-bg); }
.nav-links .nav-sub a::after { display: none; }

.burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; margin-right: -10px; position: relative; z-index: 2; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .burger span,
.navbar.solid .burger span,
.burger.open span { background: var(--c-text); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #0b1620;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.5;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,16,24,0.55) 0%, rgba(8,16,24,0.35) 45%, rgba(8,16,24,0.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 140px 24px 90px;
}
.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fdba74;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-wrap: balance;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: rgba(226,236,244,0.85);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }

.hero-facts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 0.88rem;
  color: rgba(226,236,244,0.75);
}
.hero-facts strong { color: #fff; font-weight: 600; }

/* ════════════════════════════════════
   PRESTATIONS
════════════════════════════════════ */
.services { padding: 110px 0; }

.presta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.presta {
  display: flex;
  flex-direction: column;
  color: var(--c-text);
}
.presta-media {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #1c2a33;
}
.presta-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: brightness(0.72);
  transition: filter 0.25s, transform 0.4s;
}
.presta-more {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(3px);
  transition: background 0.2s;
}
.presta-name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}
.presta-desc { font-size: 0.86rem; color: var(--c-muted); margin-top: 2px; line-height: 1.5; }
.presta:hover .presta-media img { filter: brightness(0.6); transform: scale(1.03); }
.presta:hover .presta-more { background: rgba(255,255,255,0.28); }
.presta:hover .presta-name { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* 10 cases sur 3 colonnes : la dernière, seule sur sa ligne, est centrée */
@media (min-width: 901px) {
  .presta-grid > .presta:last-child:nth-child(3n + 1) { grid-column: 2; }
}

.presta-free {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--c-border);
}
.presta--wide {
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.presta--wide .presta-media {
  width: 42%;
  flex-shrink: 0;
  margin-bottom: 0;
}
.presta-body { display: flex; flex-direction: column; }
.presta-free-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #15803d;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .presta-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .presta-free { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .presta-name { font-size: 0.9rem; }
  .presta-desc { font-size: 0.78rem; }
  .presta-media { margin-bottom: 8px; }
  .presta--wide .presta-media { width: 40%; }
  .presta-more { left: 8px; bottom: 8px; font-size: 0.7rem; padding: 4px 8px; }
}

/* ════════════════════════════════════
   RÉALISATIONS
════════════════════════════════════ */
.realisations { padding: 120px 0; background: var(--c-surface); }

.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1.5px solid var(--c-border);
  color: var(--c-muted);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--c-accent1), var(--c-accent2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  margin-bottom: 48px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item.large { grid-column: span 2; }
.gallery-item.full-img { grid-row: span 2; }
.gallery-item.full-img .gallery-img.photo { background: #f0f9ff; }
.gallery-item.full-img .gallery-img.photo img { object-fit: contain; object-position: center center; }

.gallery-img {
  width: 100%; height: 100%;
  position: relative;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.04); }

.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.gallery-placeholder svg { width: 64px; height: 48px; opacity: 0.5; }
.gallery-placeholder span { font-size: 0.75rem; color: rgba(255,255,255,0.4); letter-spacing: 0.06em; text-transform: uppercase; }

.gallery-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-info { transform: translateY(0); opacity: 1; }
.gallery-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-accent1);
  display: block;
  margin-bottom: 4px;
}
.gallery-info h4 { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.gallery-info p { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

/* Photos réelles */
.gallery-img.photo {
  padding: 0;
  overflow: hidden;
}
.gallery-img.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.gallery-item:hover .gallery-img.photo img { transform: scale(1.07); }

/* Overlay au survol */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
  cursor: pointer;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.go-cat {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent1);
  margin-bottom: 4px;
  display: block;
}
.gallery-overlay h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.go-zoom {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
}

.gallery-cta { text-align: center; }

/* ════════════════════════════════════
   LIGHTBOX
════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,10,0.96);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.lb-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(92vw, 960px);
  width: 100%;
  gap: 0;
  animation: lbIn 0.35s cubic-bezier(0.22,1,0.36,1);
}
@keyframes lbIn {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.lb-img-wrap {
  position: relative;
  width: 100%;
  background: #0d0d10;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  max-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lbImg {
  max-width: 100%;
  max-height: 62vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s;
}
#lbImg.loading { opacity: 0; }

.lb-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.lb-loader::after {
  content: '';
  width: 36px; height: 36px;
  border: 3px solid rgba(245,158,11,0.2);
  border-top-color: var(--c-accent1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.lb-loader.hidden { display: none; }

.lb-info {
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lb-cat {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent1);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  padding: 3px 10px;
  border-radius: 100px;
  align-self: flex-start;
}
#lbTitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
}
#lbDesc {
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.7;
  margin: 0;
}
.lb-counter {
  font-size: 0.8rem;
  color: rgba(136,136,168,0.5);
  margin-top: 4px;
  align-self: flex-end;
}

/* Nav buttons */
.lb-close {
  position: fixed;
  top: 20px; right: 24px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.lb-close:hover { background: rgba(239,68,68,0.3); transform: rotate(90deg); }
.lb-close svg { width: 20px; height: 20px; }

.lb-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  z-index: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.25s;
  cursor: pointer;
}
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-nav:hover { background: rgba(245,158,11,0.25); }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }
.lb-nav:disabled { opacity: 0.2; cursor: default; pointer-events: none; }

@media (max-width: 768px) {
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-info { padding: 16px 18px; }
  #lbTitle { font-size: 1rem; }
  .lb-img-wrap { max-height: 50vh; }
  #lbImg { max-height: 50vh; }
}

/* ════════════════════════════════════
   EXPERTISE
════════════════════════════════════ */
.expertise {
  padding: 120px 0;
  background: linear-gradient(135deg, #042d4a 0%, #021624 50%, #053047 100%);
  position: relative;
  overflow: hidden;
}
.expertise::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 30% 50%, rgba(6,182,212,0.08) 0%, transparent 60%);
}
.expertise .expertise-desc { color: rgba(190,220,240,0.75); }
.expertise .feature-item strong { color: #e2f0f8; }
.expertise .feature-item span { color: rgba(190,220,240,0.6); }

.expertise-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.expertise-desc { color: var(--c-muted); margin-bottom: 36px; line-height: 1.8; font-size: 1.05rem; }

.expertise-features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent1), var(--c-accent2));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.feature-item span { font-size: 0.88rem; color: var(--c-muted); }

.expertise-visual { display: flex; justify-content: center; }
.expertise-card {
  width: 320px;
  background: var(--c-surface);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 24px;
  padding: 3px;
  box-shadow: 0 0 80px rgba(245,158,11,0.1);
}
@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.expertise-card-inner {
  background: var(--c-surface2);
  border-radius: 22px;
  padding: 40px 32px;
  text-align: center;
}
.cert-badge { margin: 0 auto 20px; width: 80px; height: 80px; }
.expertise-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.expertise-card p { font-size: 0.88rem; color: var(--c-muted); }
.cert-divider { height: 1px; background: var(--c-border); margin: 24px 0; }
.cert-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.cert-stats div { text-align: center; }
.cert-stats strong { display: block; font-family: var(--font-serif); font-size: 1.8rem; font-weight: 900; color: var(--c-accent1); }
.cert-stats span { font-size: 0.78rem; color: var(--c-muted); }

/* ════════════════════════════════════
   AVANT / APRÈS SLIDER
════════════════════════════════════ */
.avantapres { padding: 120px 0; }

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

.ba-item { display: flex; flex-direction: column; gap: 14px; }

.ba-item-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent1);
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  align-self: center;
}

.slider-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.ba-slider {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  box-shadow: 0 8px 60px rgba(0,0,0,0.6);
  touch-action: none;
}

/* Les deux photos occupent exactement le même cadre ; chaque photo est recalée
   (style en ligne) pour que la maison tombe au même endroit avant et après. */
.ba-slider { aspect-ratio: 23 / 17; }
.ba-after, .ba-before {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ba-before { clip-path: inset(0 50% 0 0); }
.ba-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ligne verticale */
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}
.ba-line {
  flex: 1;
  width: 3px;
  background: linear-gradient(to bottom, rgba(245,158,11,0.3), #f59e0b 30%, #f59e0b 70%, rgba(245,158,11,0.3));
  box-shadow: 0 0 12px rgba(245,158,11,0.5);
}

/* Bouton rond au milieu */
.ba-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  filter: drop-shadow(0 2px 12px rgba(245,158,11,0.4));
  transition: transform 0.2s, filter 0.2s;
}
.ba-btn svg { width: 48px; height: 48px; }
.ba-slider:hover .ba-btn,
.ba-slider.dragging .ba-btn {
  transform: translateY(-50%) scale(1.12);
  filter: drop-shadow(0 2px 20px rgba(245,158,11,0.7));
}

/* Labels Avant / Après */
.ba-label {
  position: absolute;
  top: 18px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 5px 14px;
  border-radius: 100px;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.3s;
}
.ba-label-before {
  left: 18px;
  background: #b91c1c;
  backdrop-filter: blur(6px);
}
.ba-label-after {
  right: 18px;
  background: #15803d;
  backdrop-filter: blur(6px);
}

@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; gap: 36px; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .ba-btn { width: 40px; height: 40px; }
  .ba-btn svg { width: 40px; height: 40px; }
}

/* ════════════════════════════════════
   MÉTÉO & VIGILANCE
════════════════════════════════════ */
.meteo { padding: 120px 0; }

.meteo-widget {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 60px rgba(14,165,233,0.1);
}

.meteo-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 60px 40px;
  color: #9ca3af;
}

.meteo-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(14,165,233,0.2);
  border-top-color: #0ea5e9;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.meteo-denied {
  padding: 40px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

.meteo-content { padding: 28px; }

.meteo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 6px;
}
.meteo-location { font-size: 1rem; color: var(--c-text); }
.meteo-location strong { color: var(--c-accent1); }
.meteo-updated { font-size: 0.72rem; color: var(--c-muted); }
.meteo-locate { font: inherit; color: #0369a1; text-decoration: underline; padding: 6px 0; cursor: pointer; }

.meteo-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  background: #f0f9ff;
  border-radius: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.meteo-main { display: flex; align-items: center; gap: 14px; }
.meteo-icon { font-size: 2.4rem; line-height: 1; }
.meteo-temp { font-size: 2.2rem; font-weight: 700; color: var(--c-text); }
.meteo-desc { font-size: 0.88rem; color: var(--c-muted); }

.meteo-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.meteo-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 56px;
}
.meteo-stat-val { font-size: 0.95rem; font-weight: 600; color: var(--c-text); }
.meteo-stat small { font-size: 0.68rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.meteo-stat-icon { font-size: 1.1rem; }

.meteo-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 16px;
  background: var(--al-bg);
  border: 1px solid var(--al-color);
  border-left-width: 4px;
}
.meteo-alert--active {
  animation: alert-pulse 2.5s ease-in-out infinite;
}
@keyframes alert-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
  50%       { box-shadow: 0 0 12px 2px var(--al-color); opacity: 0.9; }
}
.meteo-alert-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 1px; }
.meteo-alert strong { color: var(--al-color); font-size: 0.88rem; display: block; margin-bottom: 5px; letter-spacing: 0.02em; }
.meteo-alert p { font-size: 0.82rem; color: var(--c-muted); margin: 3px 0; }
.meteo-alert p strong { color: var(--c-text); display: inline; }

.meteo-forecast-label {
  font-size: 0.72rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.meteo-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 64px;
  padding-bottom: 22px;
  box-sizing: content-box;
}
.meteo-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 64px;
  position: relative;
}
.meteo-bar {
  width: 100%;
  min-height: 3px;
  border-radius: 2px 2px 0 0;
}
.meteo-bar-label {
  position: absolute;
  bottom: -20px;
  font-size: 0.6rem;
  color: var(--c-muted);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .meteo { padding: 72px 0; }
  .meteo-content { padding: 18px; }
  .meteo-loading { padding: 40px 20px; }
  .meteo-denied { padding: 24px 16px; }
  .meteo-widget { border-radius: 16px; margin: 0 4px; }
}
@media (max-width: 600px) {
  .meteo { padding: 60px 0; }
  .meteo-content { padding: 14px; }
  .meteo-current {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
  }
  .meteo-main { justify-content: center; }
  .meteo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
  }
  .meteo-stat {
    background: rgba(14,165,233,0.06);
    border-radius: 10px;
    padding: 10px 4px;
    min-width: unset;
  }
  .meteo-alert { padding: 12px 14px; gap: 10px; }
  .meteo-alert strong { font-size: 0.82rem; }
  .meteo-forecast-label { font-size: 0.65rem; }
  .meteo-bars { height: 56px; }
}

/* ════════════════════════════════════
   ZONES D'INTERVENTION
════════════════════════════════════ */
.zones { padding: 120px 0; }

.zones-map {
  position: relative;
  z-index: 0; /* garde les boutons +/- de la carte sous la barre de navigation */
  height: 440px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dde6ec;
}

.villes { margin-top: 40px; }
.villes-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 18px; }
.villes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.villes-grid h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #dde6ec;
}
.villes-grid li { font-size: 0.92rem; padding: 3px 0; color: var(--c-text); }
.villes-note { font-size: 0.88rem; color: var(--c-muted); margin-top: 22px; }
.villes-note a { color: var(--c-gold); text-decoration: underline; }
@media (max-width: 700px) {
  .villes-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .villes-grid li { font-size: 0.86rem; }
}

.zone-pin {
  border-radius: 50%;
  border: 2px solid #fff;
}
.zone-pin--main {
  width: 20px; height: 20px;
  background: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14,165,233,0.3), 0 0 20px rgba(14,165,233,0.5);
}
.zone-pin--city {
  width: 12px; height: 12px;
  background: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.25);
}

.leaflet-popup-content-wrapper {
  background: #ffffff;
  color: var(--c-text);
  border: 1px solid rgba(14,165,233,0.3);
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(14,165,233,0.15);
}
.leaflet-popup-tip { background: #ffffff; }
.leaflet-popup-content { font-family: 'Inter', sans-serif; font-size: 0.85rem; }
.leaflet-popup-content strong { color: var(--c-accent1); }

@media (max-width: 600px) {
  .zones-map { height: 300px; }
}

/* ════════════════════════════════════
   AVIS
════════════════════════════════════ */
.avis { padding: 120px 0; overflow: hidden; }

.avis-track-wrap { overflow: hidden; position: relative; }
.avis-track-wrap::before, .avis-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.avis-track-wrap::before { left: 0; background: linear-gradient(to right, var(--c-bg) 40%, transparent); }
.avis-track-wrap::after { right: 0; background: linear-gradient(to left, var(--c-bg) 40%, transparent); }

.avis-track {
  display: flex;
  gap: 20px;
  animation: slideAvis 28s linear infinite;
  width: max-content;
}
.avis-track:hover { animation-play-state: paused; }

@keyframes slideAvis {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.avis-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.3s;
}
.avis-card:hover { border-color: rgba(245,158,11,0.25); }

.stars { color: var(--c-accent1); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.avis-card p { font-size: 0.92rem; color: var(--c-muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }

.avis-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent1), var(--c-accent2));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avis-author strong { display: block; font-size: 0.9rem; }
.avis-author span { font-size: 0.8rem; color: var(--c-muted); }

/* ════════════════════════════════════
   CONTACT
════════════════════════════════════ */
.contact { padding: 120px 0; background: var(--c-surface); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-desc { color: var(--c-muted); margin-bottom: 40px; font-size: 1.05rem; line-height: 1.7; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--c-accent1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.contact-item span { font-size: 0.9rem; color: var(--c-muted); }

/* Form */
.contact-form-wrap {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--c-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(136,136,168,0.5); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-accent1);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238888a8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form-group select option { background: var(--c-surface); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 0.78rem; color: var(--c-muted); text-align: center; margin-top: 4px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: popIn 0.5s cubic-bezier(0.22,1,0.36,1);
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
.form-success h3 { font-size: 1.2rem; margin-bottom: 8px; }
.form-success p { color: var(--c-muted); font-size: 0.93rem; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer {
  background: #021b2f;
  border-top: 1px solid rgba(14,165,233,0.15);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer .logo-text { color: #fff; }
.footer-brand p { color: rgba(205,225,240,0.75); font-size: 0.88rem; line-height: 1.7; margin-top: 16px; }
.footer-title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-col ul li, .footer-col ul a { font-size: 0.9rem; color: rgba(205,225,240,0.75); transition: color 0.2s; }
.footer-col ul a { display: inline-block; padding: 4px 0; }
.footer-col ul a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(205,225,240,0.6); }

/* ════════════════════════════════════
   WHATSAPP BUTTON
════════════════════════════════════ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 4px 4px 0 rgba(37,211,102,0.2);
  transition: transform 0.25s, box-shadow 0.25s;
}
.whatsapp-btn svg { width: 30px; height: 30px; }
.whatsapp-btn:hover { transform: scale(1.1) translate(-2px,-2px); box-shadow: 0 8px 32px rgba(37,211,102,0.55), 6px 6px 0 rgba(37,211,102,0.25); }
.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.35);
  animation: waPulse 2.5s ease-in-out infinite;
}
@keyframes waPulse {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 0; }
}

/* ════════════════════════════════════
   TOITURE 3D
════════════════════════════════════ */
.toiture3d { padding: 110px 0; background: var(--c-surface); }
.toit3d { max-width: 960px; margin: 0 auto; }
.toit3d .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.toit3d .btns button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text);
  background: var(--c-surface);
  border: 1.5px solid #cfdbe4;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.toit3d .btns button:hover { background: var(--c-bg); }
.toit3d .btns button.actif { border-color: var(--c-text); font-weight: 600; }
.toit3d #t3dReplay { margin-left: auto; color: var(--c-muted); }
.toit3d .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.toit3d #t3dWrap { width: 100%; height: 540px; border-radius: 6px; overflow: hidden; background: #eef3f6; }
.toit3d #t3dStatus { font-size: 0.82rem; color: var(--c-muted); margin: 10px 0 0; }
.toit3d .infos { border-top: 1px solid #dde6ec; padding-top: 22px; margin-top: 22px; }
.toit3d .infos:empty { display: none; }
.toit3d .infos h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.toit3d .infos .intro { font-size: 0.98rem; color: var(--c-muted); line-height: 1.65; margin-bottom: 18px; max-width: 760px; }
.toit3d .faits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.toit3d .fait { background: var(--c-bg); border-radius: 4px; padding: 10px 12px; }
.toit3d .fait b { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 3px; }
.toit3d .fait span { font-size: 0.88rem; }
.toit3d .infos ul { list-style: disc; padding-left: 20px; font-size: 0.92rem; line-height: 1.6; }
.toit3d .infos li { margin-bottom: 6px; }
.toit3d .note { font-size: 0.78rem; color: var(--c-muted); margin-top: 12px; }
@media (max-width: 700px) {
  .toiture3d { padding: 64px 0; }
  .toit3d #t3dWrap { height: 340px; }
  .toit3d .btns button { flex: 1; justify-content: center; padding: 10px 8px; font-size: 0.84rem; }
  .toit3d #t3dReplay { margin-left: 0; flex-basis: 100%; }
  .toit3d .faits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ─── Crédits photos ─── */
.footer-credits { font-size: 0.72rem; color: rgba(205,225,240,0.55); margin-top: 14px; line-height: 1.6; }

/* ════════════════════════════════════
   PAGES PRESTATION
════════════════════════════════════ */
.page-presta { background: var(--c-surface); }
.pp-head { padding: 120px 0 28px; }
.pp-crumb { font-size: 0.82rem; color: var(--c-muted); margin-bottom: 14px; }
.pp-crumb a { display: inline-block; padding: 6px 0; }
.pp-crumb a:hover { color: var(--c-text); text-decoration: underline; }
.pp-head h1 { font-family: var(--font-serif); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; line-height: 1.15; max-width: 760px; }
.pp-free { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #15803d; margin-bottom: 8px; }
.pp-lead { font-size: 1.1rem; color: var(--c-muted); max-width: 720px; margin-top: 14px; line-height: 1.7; }
.pp-photo { margin: 0 0 8px; }
.pp-photo img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 6px; }
.pp-photo--portrait img { max-width: 760px; max-height: 520px; object-position: center 55%; }
.pp-photo figcaption { font-size: 0.74rem; color: var(--c-muted); margin-top: 6px; }
.pp-body { display: grid; grid-template-columns: 1fr 320px; gap: 64px; padding: 40px 0 90px; align-items: start; }
.pp-body h2 { font-size: 1.3rem; font-weight: 700; margin: 0 0 14px; }
.pp-body section + section { margin-top: 40px; }
.pp-body p { color: #33536a; line-height: 1.75; margin-bottom: 12px; }
.pp-list { list-style: none; }
.pp-list li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid #e6edf2; color: #33536a; line-height: 1.6; }
.pp-list li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 8px; height: 2px; background: var(--c-accent2); }
.pp-steps { list-style: none; counter-reset: st; }
.pp-steps li { counter-increment: st; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 10px 0; color: #33536a; line-height: 1.6; }
.pp-steps li::before { content: counter(st); font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; color: var(--c-text); line-height: 1.2; }
.pp-steps strong { color: var(--c-text); }
.pp-faq details { border-bottom: 1px solid #e6edf2; }
.pp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 32px 14px 0;
  font-weight: 600;
  color: var(--c-text);
  position: relative;
}
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 10px;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--c-muted);
}
.pp-faq details[open] summary::after { content: "–"; }
.pp-faq details p { margin: 0 0 16px; }
.pp-aside { position: sticky; top: 96px; border: 1px solid #dde6ec; border-radius: 6px; padding: 24px; }
.pp-aside h2 { font-size: 1.05rem; margin-bottom: 8px; }
.pp-aside p { font-size: 0.9rem; margin-bottom: 16px; }
.pp-aside .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.pp-tel { display: block; text-align: center; font-weight: 600; color: var(--c-text); padding: 10px; border: 1.5px solid #cfdbe4; border-radius: 4px; }
.pp-tel:hover { background: var(--c-bg); }
.pp-aside small { display: block; font-size: 0.78rem; color: var(--c-muted); margin-top: 12px; line-height: 1.5; }
.pp-others { border-top: 1px solid #e6edf2; padding: 40px 0 80px; }
.pp-others h2 { font-size: 1.1rem; margin-bottom: 16px; }
.pp-others ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pp-others a { display: inline-block; padding: 6px 0; color: var(--c-muted); font-size: 0.92rem; }
.pp-others a:hover { color: var(--c-text); text-decoration: underline; }
@media (max-width: 900px) {
  .pp-body { grid-template-columns: 1fr; gap: 36px; }
  .pp-aside { position: static; }
}
@media (max-width: 600px) {
  .pp-head { padding: 92px 0 20px; }
  .pp-photo img { max-height: 260px; }
  .pp-lead { font-size: 1rem; }
}

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 1024px) {
  .expertise-inner { grid-template-columns: 1fr; gap: 48px; }
  .expertise-visual { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Menu mobile : plein écran, défilable */
  .nav-links { display: none; position: fixed; inset: 0; height: 100vh; height: 100dvh; z-index: 1; background: #fff; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 84px 24px 40px; gap: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav-links.open { display: flex; }
  .nav-links > li.nav-mobile-only { display: block; }
  .nav-links > li { border-bottom: 1px solid #e6edf2; }
  .nav-links > li > a { display: block; padding: 14px 0; font-size: 1.1rem; font-weight: 600; color: var(--c-text) !important; }
  .nav-links li a::after { display: none; }
  .nav-links > li:last-child { border-bottom: none; padding-top: 20px; }
  .nav-links .nav-cta { display: block; text-align: center; padding: 14px; color: #fff !important; }
  .nav-sub { display: block; position: static; margin: 0 0 12px; padding: 0 0 0 14px; min-width: 0; border: none; border-left: 2px solid #e6edf2; border-radius: 0; box-shadow: none; }
  .nav-sub::before { display: none; }
  .navbar .nav-links .nav-sub li a { padding: 7px 0; font-size: 0.95rem; color: var(--c-muted); }
  .burger { display: flex; margin-left: auto; }
  body.menu-open { overflow: hidden; }
  .navbar:has(.nav-links.open) .logo-text { color: var(--c-text); }
  .nav-container { padding: 14px 18px; gap: 16px; }
  .logo-img { width: 36px; height: 36px; }

  /* Bannière d'accueil compacte sur téléphone */
  .hero { min-height: 0; }
  .hero-content { padding: 96px 20px 40px; }
  .hero-badge { font-size: 0.7rem; margin-bottom: 12px; }
  .hero-title { font-size: 1.85rem; margin-bottom: 14px; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 22px; line-height: 1.6; }
  .hero-actions { margin-bottom: 24px; flex-wrap: nowrap; gap: 10px; }
  .hero-facts { font-size: 0.78rem; gap: 4px 16px; }

  .services, .realisations, .avantapres, .expertise, .meteo, .zones, .contact { padding: 64px 0; }
  .section-header { margin-bottom: 32px; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item.large { grid-column: span 1; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-actions .btn { flex: 1; padding: 12px 10px; justify-content: center; font-size: 0.72rem; letter-spacing: 0.06em; }
  .hero-actions .btn svg { display: none; }
  .cert-stats { gap: 24px; }
  .expertise-card { width: 100%; }
}

/* Respecte le réglage « réduire les animations » du téléphone ou de l'ordinateur */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal-up { opacity: 1; transform: none; }
}
