:root {
  --bg-midnight: #030712;
  --bg-abyss: #060e22;
  --bg-panel: rgba(8, 17, 36, 0.72);
  --bg-panel-hover: rgba(13, 26, 54, 0.9);
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-highlight: rgba(56, 189, 248, 0.28);
  --border-glow: rgba(225, 29, 72, 0.45);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --cyan-tech: #38bdf8;
  --ruby-cta: #e11d48;
  --ruby-hover: #f43f5e;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-padding-top: 5.5rem;
  background-color: var(--bg-midnight);
  color: var(--text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  background-color: var(--bg-midnight);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(30, 64, 175, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 90% 25%, rgba(56, 189, 248, 0.08) 0%, transparent 45%),
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 100% auto, 100% auto, 40px 40px, 40px 40px;
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 1.02rem;
  padding-top: 7.15rem;
}

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

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

a.lien-ville {
  color: var(--cyan-tech);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a.lien-ville:hover {
  color: #7dd3fc;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* TYPOGRAPHIE NATURELLE (PAS DE FULL CAPS) */
h1, h2, h3 {
  font-family: var(--font-main);
  color: #ffffff;
  text-transform: none;
}

h1 {
  font-size: clamp(2.15rem, 3.8vw, 3.25rem);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.3rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
}

.eyebrow-tech {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-tech);
  margin-bottom: 0.85rem;
}

.text-red {
  color: var(--ruby-hover);
}

/* TOP BAR D'URGENCE */
.topbar {
  background: rgba(2, 5, 14, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.55rem 0;
  font-size: 0.84rem;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #ffffff;
}

.dot-optic {
  width: 8px;
  height: 8px;
  background-color: var(--ruby-cta);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--ruby-cta);
  animation: opticGlow 1.8s infinite ease-in-out;
}

@keyframes opticGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.topbar-phone {
  color: #ffffff;
  font-weight: 700;
}

.topbar-phone:hover {
  color: var(--cyan-tech);
}

.topbar-region {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* HEADER & NAVIGATION (ZÉRO RETOUR À LA LIGNE) */
.site-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.site-header {
  position: relative;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.95rem 0;
}

.site-chrome.is-compact .topbar {
  display: none;
}

.site-chrome.is-compact .site-header {
  padding: 0.42rem 0;
  background: rgba(3, 7, 18, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.site-chrome.is-compact .brand-logo-sub {
  display: none;
}

.site-chrome.is-compact .brand-logo-text {
  font-size: 1.22rem;
}

.site-chrome.is-compact .nav-list {
  gap: 1.15rem;
}

.site-chrome.is-compact .nav-link {
  font-size: 0.86rem;
}

.site-chrome.is-compact .header-phone-btn {
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-logo-text span {
  color: var(--ruby-cta);
}

.brand-logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-top: 3px;
  letter-spacing: 0.04em;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
}

.nav-item {
  white-space: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: #cbd5e1;
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan-tech);
  box-shadow: 0 0 8px var(--cyan-tech);
}

/* CONTENEUR ACTIONS DE DROITE (TÉLÉPHONE + BURGER) */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.4);
}

.header-phone-btn:hover {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(225, 29, 72, 0.6);
}

.burger-button {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.25rem;
  flex-shrink: 0;
}

.nav-close {
  display: none;
}

/* HERO SECTION */
.hero-block {
  position: relative;
  padding: 4.8rem 0 3.8rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 2.4rem 3rem;
  align-items: stretch;
  margin-bottom: 2.8rem;
}

.hero-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero-photo-frame {
  margin: 0;
  position: relative;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(186, 214, 236, 0.32);
  background: #07101f;
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
  animation: hero-photo-cycle 8s cubic-bezier(0.22, 0.45, 0.2, 1) infinite;
}

.hero-photo-frame img:nth-child(1) {
  object-position: center 72%;
  animation-delay: 0s;
}
.hero-photo-frame img:nth-child(2) {
  object-position: center 68%;
  animation-delay: 1.333s;
}
.hero-photo-frame img:nth-child(3) {
  object-position: center 70%;
  animation-delay: 2.667s;
}
.hero-photo-frame img:nth-child(4) {
  object-position: center 74%;
  animation-delay: 4s;
}
.hero-photo-frame img:nth-child(5) {
  object-position: center 64%;
  animation-delay: 5.333s;
}
.hero-photo-frame img:nth-child(6) {
  object-position: center 42%;
  animation-delay: 6.667s;
}

@keyframes hero-photo-cycle {
  0% {
    transform: scale(1.24);
    z-index: 2;
  }
  16.66% {
    transform: scale(1);
    z-index: 2;
  }
  18%,
  100% {
    transform: scale(1.24);
    z-index: 0;
  }
}

.hero-photo-frame img:only-child {
  z-index: 1;
  animation: hero-photo-breathe 1.7s ease-in-out infinite alternate;
}

@keyframes hero-photo-breathe {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.14);
  }
}

/* PREUVE SOCIALE DIRECTEMENT DANS LE HERO */
.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(8, 17, 36, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 15px rgba(56, 189, 248, 0.15);
  padding: 0.45rem 1.05rem;
  border-radius: 9999px;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(10px);
}

.hero-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 2px;
  line-height: 1;
}

.hero-rating-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
}

.hero-rating-text strong {
  color: #ffffff;
  font-weight: 800;
}

.hero-heading {
  margin-bottom: 1.35rem;
}

.hero-paragraph {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2.2rem;
}

.hero-cta-group {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 0.7rem;
  margin-bottom: 0;
}

.hero-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
}

.hero-action:first-child {
  flex: 1 1 auto;
}

.hero-action:last-child {
  position: relative;
  flex: 0 0 auto;
  width: max-content;
  padding-bottom: 1.45rem;
}

.hero-action:last-child .hero-btn-note {
  position: absolute;
  left: 0.1rem;
  bottom: 0;
  margin-left: 0;
  white-space: nowrap;
}

.hero-action .btn-action-primary,
.hero-action .btn-action-secondary {
  justify-content: center;
  white-space: nowrap;
  padding: 0.85rem 0.7rem;
  font-size: 0.92rem;
}

.hero-action .btn-action-primary {
  width: 100%;
}

.hero-action .btn-action-secondary {
  width: auto;
  padding: 0.85rem 2.15rem;
}

.hero-btn-note {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  margin-left: 0.1rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
}

.hero-btn-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #4ade80;
}

@keyframes hero-call-glow {
  0%, 100% {
    box-shadow: 0 8px 22px rgba(225, 29, 72, 0.42), 0 0 0 0 rgba(251, 113, 133, 0);
  }
  50% {
    box-shadow: 0 10px 28px rgba(225, 29, 72, 0.7), 0 0 24px 3px rgba(251, 113, 133, 0.48);
  }
}

.hero-action .btn-action-primary {
  animation: hero-call-glow 2.6s ease-in-out infinite;
}

.btn-action-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.45);
}

.btn-action-primary:hover {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.65);
}

.btn-action-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(10, 20, 42, 0.75);
  border: 1px solid rgba(226, 232, 240, 0.55);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
}

.btn-action-secondary:hover {
  background: rgba(18, 34, 70, 0.85);
  border-color: var(--cyan-tech);
  transform: translateY(-2px);
}

/* TRUST BADGES HERO */
.hero-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  position: relative;
  z-index: 2;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-badge-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.1rem;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  transition: all 0.25s ease;
}

.hero-badge-box:hover {
  border-color: var(--border-highlight);
  background: var(--bg-panel-hover);
  transform: translateY(-2px);
}

.badge-icon {
  color: var(--cyan-tech);
  flex-shrink: 0;
  margin-top: 2px;
}

.badge-text {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: #f1f5f9;
}

/* BANDEAU CONSTRUCTEURS */
.brands-section {
  background: linear-gradient(180deg, #050c1e 0%, #030712 100%);
  padding: 2.5rem 0 2.2rem;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.brands-intro-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
}

.brands-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.brands-track {
  display: flex;
  width: max-content;
  animation: brands-loop 42s linear infinite;
}

.brands-marquee:hover .brands-track {
  animation-play-state: paused;
}

.brands-set {
  display: flex;
  align-items: center;
  gap: 3.6rem;
  padding-right: 3.6rem;
  flex-shrink: 0;
}

.brand-unit {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.82;
  filter: contrast(1.1) brightness(1.15);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.brand-unit:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.06);
}

.brand-unit img {
  height: 64px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

@keyframes brands-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS GLOBALES */
.section-pad {
  padding: 5.2rem 0;
  position: relative;
}

.section-border-bottom {
  border-bottom: 1px solid var(--border-subtle);
}

.center-heading-group {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.6rem;
}

.center-heading-group h2 {
  margin-top: 0.4rem;
}

/* GRILLE 6 SERVICES */
.services-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card-module {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(14px);
  transition: all 0.25s ease;
  position: relative;
}

.service-card-module:hover {
  background: var(--bg-panel-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6), 0 0 22px rgba(56, 189, 248, 0.12);
}

.service-icon-glyph {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-tech);
  margin-bottom: 1.35rem;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.14);
}

.service-card-module h3 {
  margin-bottom: 0.85rem;
  font-size: 1.2rem;
}

.service-card-module p {
  font-size: 0.96rem;
  line-height: 1.65;
  flex-grow: 1;
}

.service-accent-notch {
  width: 34px;
  height: 2px;
  background: var(--ruby-cta);
  margin-top: 1.5rem;
  border-radius: 2px;
  box-shadow: 0 0 8px var(--ruby-cta);
}

/* SECTION POURQUOI NOUS CHOISIR */
.why-section-wrapper {
  background: linear-gradient(180deg, #050c1e 0%, #030712 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.why-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.8rem;
  align-items: center;
}

.why-editorial h2 {
  margin-bottom: 1.25rem;
}

.why-editorial p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.85rem;
}

.rating-pill-module {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.45rem;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-bottom: 2rem;
}

.rating-val-display {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stars-render {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rating-audit-note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.atouts-binary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.atout-feature-tile {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.atout-feature-tile:hover {
  border-color: var(--border-highlight);
  background: var(--bg-panel-hover);
  transform: translateY(-2px);
}

.atout-icon {
  color: var(--cyan-tech);
}

.atout-feature-tile p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #e2e8f0;
}

/* BANDEAU CHIFFRES CLÉS */
.kpi-ribbon {
  background: #02050c;
  border-bottom: 1px solid var(--border-subtle);
  padding: 3rem 0;
}

.kpi-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.metric-cell {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

.metric-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-subtle), transparent);
}

.metric-value {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.metric-value-long {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  letter-spacing: -0.02em;
}

.metric-legend {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* LES 4 SECTIONS AVEC ALTERNANCE DESKTOP ET FLUX PROPRE MOBILE */
.feature-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}

.feature-text-side {
  display: flex;
  flex-direction: column;
}

.feature-section-title {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-section-sub {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cyan-tech);
  margin-bottom: 1.8rem;
}

.feature-subcards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.feature-subcard {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.feature-subcard:hover {
  border-color: rgba(148, 163, 184, 0.28);
  background: var(--bg-panel-hover);
  transform: translateY(-2px);
}

.feature-subcard h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.feature-subcard p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.feature-media-side {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.feature-image-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: #060e22;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(30, 64, 175, 0.15);
}

.feature-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%, rgba(3, 7, 18, 0.4) 100%);
}

.feature-image-frame img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.feature-image-frame:hover img {
  transform: scale(1.03);
}

/* GRILLES 2 COLONNES (ENGAGEMENTS, TECHNOLOGIES, CONSEILS) */
.editorial-dyad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.editorial-card-container {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.editorial-card-container:hover {
  border-color: rgba(148, 163, 184, 0.28);
  background: var(--bg-panel-hover);
  transform: translateY(-2px);
}

.editorial-card-container p {
  font-size: 0.96rem;
  line-height: 1.65;
}

/* BANDEAU D'APPEL DIRECT */
.callout-urgent-plate {
  background: radial-gradient(circle at 50% 50%, rgba(225, 29, 72, 0.16) 0%, rgba(8, 17, 38, 0.95) 80%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3.4rem 2.2rem;
  text-align: center;
  margin: 4.5rem 0;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65);
}

.callout-urgent-plate h2 {
  margin-bottom: 1rem;
}

.callout-urgent-plate p {
  max-width: 730px;
  margin: 0 auto 2.1rem;
  font-size: 1.05rem;
  color: #f1f5f9;
}

/* SECTION CONTACT ET FORMULAIRE */
.contact-block-bg {
  background: linear-gradient(180deg, #030712 0%, #060e22 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.contact-duo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.8rem;
  align-items: start;
}

.contact-story-column h2 {
  margin-bottom: 1.25rem;
}

.contact-story-column p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 2.1rem;
}

.hotline-tiles-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.hotline-tile-unit {
  border-radius: var(--radius-md);
  padding: 1.35rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tile-phone-red {
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.35);
}

.tile-whatsapp-green {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.tile-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}

.tile-phone-red .tile-eyebrow { color: #fb7185; }
.tile-whatsapp-green .tile-eyebrow { color: #34d399; }

.tile-digits {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

/* FORMULAIRE FORMSPARK */
.form-dark-capsule {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  backdrop-filter: blur(14px);
}

.form-unit-group {
  margin-bottom: 1.2rem;
}

.form-input-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.form-text-input, .form-textarea-input {
  width: 100%;
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.85rem 1.05rem;
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.2s;
}

.form-text-input:focus, .form-textarea-input:focus {
  outline: none;
  border-color: var(--cyan-tech);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.form-textarea-input {
  resize: vertical;
  min-height: 105px;
}

.btn-form-submit {
  width: 100%;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
  transition: all 0.2s ease;
}

.btn-form-submit:hover {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  transform: translateY(-1px);
}

/* FAQ ACCORDÉON */
.faq-stack-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s;
}

.faq-accordion-item[open] {
  border-color: var(--border-highlight);
}

.faq-toggle-trigger {
  padding: 1.35rem 1.65rem;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #ffffff;
}

.faq-toggle-trigger::-webkit-details-marker {
  display: none;
}

.faq-arrow-indicator {
  color: var(--cyan-tech);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-accordion-item[open] .faq-arrow-indicator {
  transform: rotate(180deg);
  color: var(--ruby-cta);
}

.faq-panel-content {
  padding: 0 1.65rem 1.4rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ZONES D'INTERVENTION */
.zones-quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.zones-tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.2rem;
}

.zone-territory-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.35rem;
}

.zone-territory-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.zone-territory-card h3 a {
  color: inherit;
}

.zone-territory-card h3 a:hover {
  color: #7dd3fc;
}

.zone-municipalities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.zone-municipalities-list li {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.center-heading-group > p {
  margin-top: 0.8rem;
}

.center-heading-group > p + p {
  margin-top: 0.6rem;
  font-weight: 700;
  color: #f1f5f9;
}

.zone-municipalities-list a {
  color: #7dd3fc;
  font-weight: 700;
}

.zone-municipalities-list a:hover {
  color: #ffffff;
}

/* AVIS CLIENTS + PHOTOS D'INTERVENTION */
.proof-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.proof-card {
  display: grid;
  grid-template-columns: minmax(148px, 0.82fr) 1.2fr;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  min-height: 248px;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.proof-card:hover {
  border-color: rgba(56, 189, 248, 0.34);
  transform: translateY(-3px);
}

.proof-photo {
  position: relative;
  min-height: 248px;
  background: #07101f;
  border-right: 1px solid rgba(148, 163, 184, 0.14);
}

.proof-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.proof-copy {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.proof-vehicle {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-tech);
  line-height: 1.35;
}

.review-client-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.client-identity {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.client-star-score {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.review-testimony-body {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #cbd5e1;
}

/* PIED DE PAGE */
.site-footer-base {
  background: #01040a;
  border-top: 1px solid var(--border-subtle);
  padding: 3.8rem 0 2rem;
  font-size: 0.9rem;
}

.footer-columns-distribution {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.4rem;
  margin-bottom: 2.8rem;
}

.footer-identity-story p {
  margin-top: 0.75rem;
  max-width: 410px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-category-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.footer-links-vertical {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-vertical a {
  color: var(--text-muted);
}

.footer-links-vertical a:hover {
  color: #ffffff;
}

.footer-closing-legal {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.footer-closing-legal a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.footer-closing-legal a:hover {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-frame img {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero-photo-frame img:first-child {
    opacity: 1;
  }

  .hero-action .btn-action-primary {
    animation: none;
  }

  .brands-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    row-gap: 1.4rem;
  }

  .brands-set[aria-hidden="true"] {
    display: none;
  }

  .brands-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* BOUTON D'APPEL FLOTTANT MOBILE */
.mobile-emergency-callout {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 999;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.65);
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* RESPONSIVE & BREAKPOINTS : ALTERNANCE SUR GRAND ÉCRAN (DESKTOP) */
@media (min-width: 992px) {
  .feature-split-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
    align-items: stretch;
  }

  .feature-split-layout.reverse-desktop {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .feature-split-layout.reverse-desktop .feature-text-side {
    order: 2;
  }

  .feature-split-layout.reverse-desktop .feature-media-side {
    order: 1;
  }

  .feature-media-side {
    position: relative;
    align-self: stretch;
    min-height: 0;
  }

  .feature-image-frame {
    --feature-bleed: calc(0.7 * (1.5rem + max(0px, (100vw - 1120px) / 2)));
    position: absolute;
    top: 7%;
    bottom: 7%;
    max-width: none;
    width: calc(100% + var(--feature-bleed));
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  .feature-split-layout:not(.reverse-desktop) .feature-image-frame {
    left: 0;
    right: auto;
  }

  .feature-split-layout.reverse-desktop .feature-image-frame {
    right: 0;
    left: auto;
  }

  .feature-image-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }
}

/* BASCULE BURGER ANTICIPÉE POUR ZÉRO RETOUR À LA LIGNE */
@media (max-width: 1140px) {
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #04091a;
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.85);
    z-index: 1001;
  }

  .nav-wrapper.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    width: 100%;
  }

  .nav-wrapper.active .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
  }

  .nav-close:hover {
    border-color: rgba(56, 189, 248, 0.5);
    color: var(--cyan-tech);
  }

  .burger-button {
    display: block;
  }

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

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

  .why-split-layout {
    grid-template-columns: 1fr;
  }

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

  .proof-gallery {
    grid-template-columns: 1fr;
  }

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

  .footer-columns-distribution {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

/* FORMAT MOBILE (< 992px) : TEXTE EN PREMIER PUIS IMAGE, ZÉRO DOUBLE IMAGE AU SCROLL */
@media (max-width: 991px) {
  .hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
    margin-bottom: 2.2rem;
  }

  .hero-photo-frame {
    min-height: 0;
    order: 3;
    aspect-ratio: 16 / 10;
    margin-top: -0.95rem;
  }

  .hero-main {
    display: contents;
  }

  .hero-social-proof {
    order: 1;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    min-width: 0;
    gap: 0.45rem;
    padding: 0.4rem 0.7rem;
    margin-bottom: 0;
  }

  .hero-social-proof .hero-stars {
    font-size: 0.82rem;
    letter-spacing: 1px;
  }

  .hero-social-proof .hero-rating-text {
    min-width: 0;
    font-size: 0.8rem;
  }

  .hero-social-proof.is-home .hero-rating-text {
    white-space: nowrap;
  }

  h1,
  .hero-heading {
    font-size: 1.62rem;
    line-height: 1.2;
  }

  h2,
  .feature-section-title {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .hero-heading {
    order: 2;
    margin-top: -1.05rem;
    margin-bottom: 0;
  }

  .hero-cta-group {
    order: 4;
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-action,
  .hero-action:last-child {
    position: static;
    flex: none;
    width: 100%;
    padding-bottom: 0;
  }

  .hero-action {
    align-items: center;
  }

  .hero-action:last-child .hero-btn-note {
    position: static;
    margin-left: 0;
  }

  .hero-btn-note {
    margin-left: 0;
  }

  .hero-action .btn-action-primary {
    padding: 1.05rem 1rem;
    font-size: 1.08rem;
    font-weight: 800;
    gap: 0.55rem;
  }

  .hero-action .btn-action-secondary {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  .hero-action .btn-action-primary svg,
  .hero-action .btn-action-secondary svg {
    width: 18px;
    height: 18px;
  }

  .hero-paragraph {
    order: 5;
    margin-top: 0;
  }

  .feature-text-side {
    order: 1 !important;
  }
  .feature-media-side {
    order: 2 !important;
  }

  .feature-split-layout.mobile-photo-after-title {
    gap: 0;
  }

  .feature-split-layout.mobile-photo-after-title .feature-text-side {
    display: contents;
  }

  .feature-split-layout.mobile-photo-after-title .feature-section-title {
    order: 1;
  }

  .feature-split-layout.mobile-photo-after-title .feature-section-sub {
    order: 2;
  }

  .feature-split-layout.mobile-photo-after-title .feature-media-side {
    order: 3 !important;
    margin: 0.15rem 0 1.5rem;
  }

  .feature-split-layout.mobile-photo-after-title .feature-subcards-stack {
    order: 4;
  }
  .feature-image-frame {
    max-width: 100%;
  }
  .feature-image-frame img {
    max-height: 380px;
  }
}

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

  .brands-set {
    gap: 1.8rem;
    padding-right: 1.8rem;
  }

  .brand-unit img {
    height: 38px;
  }

  .hero-block {
    padding: 1.15rem 0 2.5rem;
  }

  .proof-card {
    grid-template-columns: 1fr;
  }

  .proof-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-right: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  }

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

  .services-triad {
    grid-template-columns: 1fr;
  }

  .atouts-binary-grid {
    grid-template-columns: 1fr;
  }

  .kpi-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem 1rem;
  }

  .metric-cell:not(:last-child)::after {
    display: none;
  }

  .editorial-dyad-grid {
    grid-template-columns: 1fr;
  }

  .zones-quad-grid,
  .zones-tri-grid {
    grid-template-columns: 1fr;
  }

  .mobile-emergency-callout.is-visible {
    display: flex;
  }

  body {
    padding-top: 4.7rem;
    padding-bottom: 4.8rem;
  }
}

.eyebrow-tech-rose {
  color: #fb7185;
}

body.page-locale .center-heading-group p {
  margin-top: 0.9rem;
}

.zone-single-wrap {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

.zone-single-wrap .zone-municipalities-list {
  gap: 0.9rem;
}

.zone-single-wrap .zone-municipalities-list li {
  font-size: 0.98rem;
  line-height: 1.6;
}

.zone-single-wrap .zone-municipalities-list a {
  color: #7dd3fc;
  font-weight: 700;
}

.zone-single-wrap .zone-municipalities-list a:hover {
  color: #ffffff;
}

.slider-track-wrap {
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: infiniteSlide 48s linear infinite;
}

.slider-track:not(.gallery-slider-track):hover {
  animation-play-state: paused;
}

.slider-track.gallery-slider-track {
  animation: none;
  will-change: transform;
}

.gallery-slider-wrap {
  touch-action: pan-y;
  cursor: grab;
}

.gallery-slider-wrap.is-dragging {
  cursor: grabbing;
}

.gallery-slider-wrap.is-dragging .slide-item {
  pointer-events: none;
}

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

.slide-item {
  display: block;
  width: 300px;
  height: 400px;
  flex-shrink: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-abyss);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slide-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.slide-item img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.94);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img-wrap {
  max-width: 88vw;
  max-height: 86vh;
  touch-action: pan-y pinch-zoom;
}

.lightbox-img-wrap img {
  width: auto;
  height: auto;
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-btn {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.2rem;
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lightbox-btn svg {
  width: 36px;
  height: 36px;
  stroke: #f8fafc;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-btn:hover svg {
  stroke: var(--cyan-tech);
}

.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 0.6rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 0.6rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 768px) {
  .slide-item {
    width: 240px;
    height: 320px;
  }
}

body.legal-page {
  padding-top: 0;
  background-image: none;
}

.legal-top {
  background: #01040a;
  color: #f8fafc;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-top .brand-logo-text {
  color: #ffffff;
  font-size: 1.15rem;
}

.legal-back {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.legal-back:hover {
  color: #ffffff;
}

.legal-main {
  padding: 3.2rem 0 4rem;
}

.legal-wrap {
  max-width: 760px;
}

.legal-main h1 {
  font-size: 2.2rem;
  margin-bottom: 0.45rem;
}

.legal-updated {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.legal-block {
  background: rgba(8, 17, 36, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem 1.35rem;
  margin-bottom: 0.8rem;
}

.legal-block h2 {
  font-size: 1.12rem;
  letter-spacing: 0;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

.legal-block p {
  color: #e2e8f0;
}

.legal-block p + p {
  margin-top: 0.7rem;
}

.legal-block a {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.legal-foot {
  padding: 0 0 2rem;
  color: #cbd5e1;
  font-size: 0.84rem;
}

body.page-merci {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-image: none;
}

.card-merci {
  width: 100%;
  max-width: 540px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.6rem 1.8rem;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 29, 72, 0.12);
  color: var(--ruby-cta);
}

.card-merci h1 {
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.card-merci p {
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.btn-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4);
}

.btn-return:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  transform: translateY(-2px);
}

.emergency-hint {
  margin-top: 1.4rem;
  margin-bottom: 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.emergency-hint a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.emergency-hint a:hover {
  color: #ffffff;
}

/* PAGES ARTICLES DE BLOG */
.article-hero {
  padding: 3.4rem 0 0;
}

.article-hero .wrap {
  max-width: 780px;
}

.breadcrumb-fil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.7rem;
}

.breadcrumb-fil a {
  color: var(--text-muted);
  font-weight: 500;
}

.breadcrumb-fil a:hover {
  color: #ffffff;
}

.breadcrumb-sep {
  color: var(--text-dim);
}

.article-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
}

.article-meta-line .eyebrow-tech {
  margin-bottom: 0;
}

.article-meta-item {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-hero h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  max-width: 920px;
}

.article-figure {
  margin: 2.3rem 0 0;
}

.article-figure img {
  width: 100%;
  max-height: 470px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(30, 64, 175, 0.14);
}

.article-content-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.9rem 0 0;
}

.article-content-wrap > p {
  margin-bottom: 1.3rem;
  font-size: 1.02rem;
  color: #cbd5e1;
}

.article-content-wrap .article-lead {
  font-size: 1.1rem;
  color: #e2e8f0;
}

.article-content-wrap p a {
  color: var(--cyan-tech);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content-wrap p a:hover {
  color: #7dd3fc;
}

.article-content-wrap h2 {
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
  margin: 2.7rem 0 1rem;
}

.article-content-wrap h3 {
  font-size: 1.16rem;
  margin: 1.9rem 0 0.65rem;
}

.article-content-wrap .callout-urgent-plate {
  margin: 3.4rem 0 0;
}

/* BLOC LIRE AUSSI */
.lire-aussi-wrap {
  max-width: 780px;
  margin: 3.6rem auto 0;
}

.lire-aussi-wrap h2 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.lire-aussi-home {
  margin-top: 1.5rem;
  text-align: center;
}

.lire-aussi-home a {
  color: var(--cyan-tech);
  font-weight: 600;
  font-size: 0.95rem;
}

.lire-aussi-home a:hover {
  color: #7dd3fc;
}

/* SECTION BLOG HOMEPAGE (CARROUSEL SANS IMAGES) */
.blog-carousel-wrap {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 0.7rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.4) rgba(148, 163, 184, 0.08);
}

.blog-carousel-wrap::-webkit-scrollbar {
  height: 6px;
}

.blog-carousel-wrap::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.4);
  border-radius: 3px;
}

.blog-carousel-wrap::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.08);
  border-radius: 3px;
}

.blog-article-card {
  flex: 0 0 min(430px, 86%);
  scroll-snap-align: start;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.blog-article-card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-panel-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.1);
}

.blog-card-badge {
  align-self: flex-start;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.4);
  color: #fb7185;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.78rem;
  border-radius: 999px;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.blog-article-card h3 {
  font-size: 1.22rem;
  line-height: 1.35;
}

.blog-article-card h3 a {
  color: #ffffff;
}

.blog-article-card h3 a:hover {
  color: #7dd3fc;
}

.blog-card-excerpt {
  font-size: 0.94rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  margin-top: auto;
  padding-top: 0.4rem;
  color: var(--cyan-tech);
  font-weight: 700;
  font-size: 0.93rem;
}

.blog-card-link:hover {
  color: #7dd3fc;
}

@media (min-width: 768px) {
  .blog-carousel-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
    max-width: 920px;
    margin: 0 auto;
    padding-bottom: 0;
  }

  .blog-article-card {
    flex: none;
  }
}

@media (max-width: 767px) {
  .article-hero {
    padding: 2.2rem 0 0;
  }
}
