/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: hidden;
  max-width: 100%;
}
:root {
  --night:  #0f172a;
  --night2: #1e293b;
  --night3: #334155;
  --blue:   #3b82f6;
  --blue-d: #2563eb;
  --blue-l: #93c5fd;
  --offwhite: #f8fafc;
  --muted:  #94a3b8;
  --border: rgba(59,130,246,.18);
  --glow:   0 0 40px rgba(59,130,246,.25);
  --font-h: 'Syne', sans-serif;
  --font-b: 'DM Sans', sans-serif;
  --font-m: 'DM Mono', monospace;
  --r: .75rem;
  --r-lg: 1.25rem;
  --touch: 44px;
}
html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--offwhite);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── Skip link (accessibilité) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: var(--r);
  font-size: .9rem;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 9px; }

/* ── Utility ── */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.tag {
  display: inline-block;
  font-family: var(--font-m);
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--blue);
  background: rgba(59,130,246,.1);
  border: 1px solid var(--border);
  padding: .25rem .75rem;
  border-radius: 99px;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  min-height: var(--touch);
  border-radius: 99px;
  font-family: var(--font-b);
  font-weight: 500;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(59,130,246,.5);
}
.btn-primary:hover {
  background: var(--blue-d);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}
.btn-ghost {
  background: transparent;
  color: var(--offwhite);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(59,130,246,.08);
  border-color: var(--blue);
}
.section { padding: 5rem 0; }
.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--muted);
  max-width: 540px;
  font-size: 1.05rem;
  font-weight: 300;
}
.highlight { color: var(--blue); }

/* ── Grid noise overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,23,42,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
nav.scrolled { background: rgba(15,23,42,.97); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 800;
  min-height: var(--touch);
}
.logo-icon {
  width: 34px; height: 34px;
  background: var(--blue);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.logo span { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 400;
  color: var(--muted);
  transition: color .2s;
  position: relative;
  padding: .25rem 0;
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width .25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--offwhite); }
.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 1rem; }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  min-width: var(--touch);
  min-height: var(--touch);
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--offwhite);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile menu ── */
.mobile-menu {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  background: var(--night2);
  border-top: 1px solid transparent;
  transition: max-height .35s ease, border-color .35s;
}
.mobile-menu.open {
  max-height: 480px;
  border-top-color: var(--border);
}
.mobile-menu a {
  padding: .9rem 1.5rem;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  transition: color .2s, background .2s;
  min-height: var(--touch);
  display: flex;
  align-items: center;
}
.mobile-menu a:last-child { border: none; }
.mobile-menu a:hover,
.mobile-menu a:focus { color: var(--offwhite); background: rgba(59,130,246,.06); }
.mobile-menu .mobile-cta {
  margin: 1rem 1.5rem 1.25rem;
  border-bottom: none;
  background: var(--blue);
  color: #fff;
  border-radius: 99px;
  font-weight: 500;
  justify-content: center;
}
.mobile-menu .mobile-cta:hover { background: var(--blue-d); }

/* ── Hero ── */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: clip; /* clip au lieu de hidden : contient les absolus sans créer de scroll */
  padding-top: 64px;
  width: 100%;
  max-width: 100%;
}
.hero-glow {
  position: absolute;
  top: -30%; right: -15%;
  width: min(700px, 80vw); height: min(700px, 80vw);
  background: radial-gradient(circle, rgba(59,130,246,.18) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}
.hero-glow2 {
  position: absolute;
  bottom: -30%; left: -15%;
  width: min(600px, 70vw); height: min(600px, 70vw);
  background: radial-gradient(circle, rgba(59,130,246,.09) 0%, transparent 70%);
  pointer-events: none;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .7; transform: scale(1.08); }
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  width: 100%; /* s'assurer que le container prend toute la largeur du flex parent */
}

/* Layout 2 colonnes : texte | image */
.hero-layout {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: flex-start;
}
.hero-text {
  flex: 1 1 0;
  min-width: 0;
}

.hero-image-wrap {
  flex: 0 0 42%;
  max-width: 42%;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(59,130,246,.25), 0 20px 60px rgba(0,0,0,.5);
  border: 1px solid var(--border);
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
  transition: transform .4s ease;
  aspect-ratio: 3 / 4;
  max-height: 600px;
}
.hero-image-wrap:hover {
  transform: perspective(900px) rotateY(-1deg) rotateX(0deg);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Dégradé pour fondre l'image dans le fond sombre */
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(15,23,42,.4) 0%, transparent 40%),
    linear-gradient(to bottom, transparent 60%, rgba(15,23,42,.6) 100%);
  pointer-events: none;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.status-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(34,197,94,.2);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.status-label {
  font-family: var(--font-m);
  font-size: .75rem;
  color: #22c55e;
  letter-spacing: .05em;
}
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
/* .hero-badges supprimé — badges déplacés dans .badges-section */
.badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(59,130,246,.08);
  border: 1px solid var(--border);
  padding: .45rem 1rem;
  border-radius: 99px;
  font-size: .9rem;
  font-weight: 400;
  color: var(--blue-l);
  font-family: var(--font-m);
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 3rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
}
.metric-val {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
}
.metric-label {
  font-size: .8rem;
  color: var(--muted);
  font-family: var(--font-m);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: .15rem;
}

/* ── Badges Section ── */
.badges-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.badges-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.75rem;
}
.badges-section .hero-ctas {
  justify-content: center;
  width: 100%;
  margin-bottom: 2.5rem;
}
.badges-section .hero-metrics {
  width: 100%;
  margin-top: 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ── Urgence Bandeau ── */
#urgence {
  background: linear-gradient(135deg, rgba(59,130,246,.15) 0%, rgba(37,99,235,.08) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
#urgence::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--blue);
  box-shadow: var(--glow);
}
.urgence-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.urgence-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.urgence-icon {
  font-size: 2rem;
  animation: shake .8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}
.urgence-text strong {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 800;
  display: block;
  margin-bottom: .35rem;
}
.urgence-text span { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.urgence-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.urgence-price {
  font-family: var(--font-m);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--blue);
  white-space: nowrap;
}

/* ── Services ── */
#services { position: relative; }
.services-header { margin-bottom: 3.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--night2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  cursor: default;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
    border-color: rgba(59,130,246,.4);
    box-shadow: var(--glow);
  }
  .card:hover::before { transform: scaleX(1); }
  .card:hover .card-icon { background: rgba(59,130,246,.22); }
  .card:hover .card-bg-num { color: rgba(59,130,246,.09); }
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(59,130,246,.12);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: background .3s;
}
.card-title {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.card-desc { color: var(--muted); font-size: 1rem; line-height: 1.75; font-weight: 300; margin-bottom: 1.5rem; }
.card-desc strong { font-weight: 700 !important; color: var(--offwhite) !important; }
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.card-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--blue-l);
  font-family: var(--font-m);
}
.card-features li::before {
  content: '›';
  color: var(--blue);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.card-bg-num {
  position: absolute;
  bottom: -1rem; right: 1rem;
  font-family: var(--font-h);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(59,130,246,.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color .3s;
}

/* ── Expertise ── */
#expertise {
  position: relative;
  background: linear-gradient(180deg, var(--night) 0%, var(--night2) 50%, var(--night) 100%);
}
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.expertise-text .section-sub { margin-bottom: 2rem; }
.pillar {
  background: var(--night);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color .2s, transform .2s;
}
@media (hover: hover) {
  .pillar:hover {
    border-color: rgba(59,130,246,.4);
    transform: translateX(4px);
  }
}
.pillar-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.pillar-title {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .3rem;
}
.pillar-desc { font-size: .9rem; color: var(--muted); font-weight: 300; line-height: 1.65; }

/* ── Terminal ── */
.terminal {
  background: #0a0f1e;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-family: var(--font-m);
  font-size: .8rem;
  box-shadow: var(--glow);
  max-width: 100%;
}
.terminal-bar {
  background: var(--night3);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.r { background: #ef4444; }
.t-dot.y { background: #f59e0b; }
.t-dot.g { background: #22c55e; }
.terminal-title {
  margin-left: .5rem;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .05em;
}
.terminal-body { padding: 1.5rem; line-height: 2; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.t-prompt { color: var(--blue); }
.t-cmd { color: var(--offwhite); }
.t-comment { color: var(--night3); }
.t-output { color: #22c55e; }
.t-warn { color: #f59e0b; }
.t-dim { color: var(--muted); }
.t-line { display: block; white-space: nowrap; }
.t-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--blue);
  animation: blink-cursor 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
@keyframes blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Zone / Tarifs ── */
#zone { position: relative; }
.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.zone-card {
  background: var(--night2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: border-color .2s;
}
.zone-card:hover { border-color: rgba(59,130,246,.35); }
.zone-card-title {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .3rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.zone-card-sub { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; font-weight: 300; }
.zone-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.zone-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(59,130,246,.07);
  gap: 1rem;
}
.zone-list li:last-child { border: none; padding: 0; }
.zone-list .price {
  font-family: var(--font-m);
  color: var(--blue);
  font-size: .9rem;
  white-space: nowrap;
}
.remote-card {
  background: linear-gradient(135deg, rgba(59,130,246,.1) 0%, rgba(37,99,235,.05) 100%);
  border: 1px solid rgba(59,130,246,.3);
  border-radius: var(--r-lg);
  padding: 2rem;
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  transition: border-color .2s;
}
.remote-card:hover { border-color: rgba(59,130,246,.5); }
.remote-text strong {
  font-family: var(--font-h);
  font-size: 1.15rem;
  display: block;
  margin-bottom: .3rem;
}
.remote-text span { color: var(--muted); font-size: 1rem; }

/* ── Expertise Installation ── */
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.install-card {
  background: var(--night2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.install-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
@media (hover: hover) {
  .install-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59,130,246,.4);
    box-shadow: var(--glow);
  }
  .install-card:hover::before { transform: scaleX(1); }
}
.install-card-icon {
  font-size: 2rem;
  width: 52px; height: 52px;
  background: rgba(59,130,246,.12);
  border: 1px solid var(--border);
  border-radius: var(--r);
  display: grid;
  place-items: center;
  transition: background .3s;
}
.install-card:hover .install-card-icon { background: rgba(59,130,246,.22); }
.install-card-badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-m);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 99px;
  background: rgba(59,130,246,.1);
  border: 1px solid var(--border);
  color: var(--blue-l);
}
.install-card-badge--pro {
  background: rgba(34,197,94,.1);
  border-color: rgba(34,197,94,.3);
  color: #22c55e;
}
.install-card-title {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}
.install-card-title span {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  font-weight: 400;
  font-family: var(--font-m);
  margin-top: .2rem;
}
.install-card-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
}
.install-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}
.install-card-features li {
  font-size: .9rem;
  color: var(--blue-l);
  font-family: var(--font-m);
  padding-left: 1.1rem;
  position: relative;
}
.install-card-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 1rem;
}
.install-card-note {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .875rem;
  color: var(--muted);
  font-family: var(--font-m);
  background: rgba(59,130,246,.05);
  border: 1px solid rgba(59,130,246,.1);
  border-radius: var(--r);
  padding: .6rem .9rem;
  margin-top: auto;
}
.install-card-note-icon { font-size: 1rem; flex-shrink: 0; }

/* Bandeau audit ASR */
.install-audit-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(59,130,246,.08) 0%, rgba(37,99,235,.04) 100%);
  border: 1px solid rgba(59,130,246,.2);
  border-left: 3px solid var(--blue);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
}
.install-audit-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.install-audit-banner p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  margin: 0;
}
.install-audit-banner strong { color: var(--offwhite); font-weight: 500; }

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

/* ── Garanties ── */
.garanties-section { padding-bottom: 2rem; }
.garanties-header { margin-bottom: 3rem; }
.garanties-eyebrow {
  font-family: var(--font-m);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
}

.garanties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.garantie-bloc {
  background: var(--night2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  position: relative;
}

@media (hover: hover) {
  .garantie-bloc:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(59,130,246,.15);
    border-color: rgba(59,130,246,.3);
  }
}

/* Bloc 0€ mis en valeur */
.garantie-bloc--featured {
  border-color: rgba(59,130,246,.4);
  box-shadow: 0 0 0 1px rgba(59,130,246,.12), 0 8px 32px rgba(59,130,246,.08);
}
.garantie-bloc--featured::before {
  content: 'Argument clé';
  position: absolute;
  top: -1px; right: 1.25rem;
  transform: translateY(-100%);
  font-family: var(--font-m);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  padding: .25rem .75rem .3rem;
  border-radius: 6px 6px 0 0;
  white-space: nowrap;
}

.garantie-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  transition: background .3s, box-shadow .3s;
}
.garantie-bloc:hover .garantie-icon-wrap {
  background: rgba(59,130,246,.18);
  box-shadow: 0 0 0 4px rgba(59,130,246,.08);
}

.garantie-title {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--offwhite);
  line-height: 1.2;
  margin-bottom: .3rem;
}
.garantie-title span {
  display: block;
  font-family: var(--font-m);
  font-size: .7rem;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .25rem;
  opacity: .85;
}
.garantie-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  margin-top: .85rem;
}

/* Responsive garanties */
@media (max-width: 900px) {
  .garanties-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .garanties-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── Contact ── */
#contact { position: relative; }

/* Honeypot — strictement invisible */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* Bouton obfuscation (même style que .contact-item) */
.contact-item--obfuscated {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}
.reveal-hint {
  font-size: .875rem;
  color: var(--blue);
  font-family: var(--font-m);
  letter-spacing: .04em;
  opacity: .8;
}
.contact-item--obfuscated:hover .reveal-hint { opacity: 1; text-decoration: underline; }

/* Message de succès */
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-success[hidden] { display: none; }
.form-success-icon { font-size: 1.5rem; flex-shrink: 0; }
.form-success strong { display: block; font-family: var(--font-h); font-size: 1rem; margin-bottom: .35rem; color: #22c55e; }
.form-success p { font-size: 1rem; color: var(--muted); margin: 0; font-weight: 300; line-height: 1.7; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}
.contact-intro .section-sub { margin-bottom: 2rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background .2s;
  border-radius: var(--r);
}
.contact-item.link:hover { background: rgba(59,130,246,.05); padding-left: .5rem; margin-left: -.5rem; }
.contact-item:last-child { border: none; }
.contact-item-icon {
  width: 40px; height: 40px;
  background: rgba(59,130,246,.1);
  border-radius: var(--r);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background .2s;
}
.contact-item.link:hover .contact-item-icon { background: rgba(59,130,246,.2); }
.contact-item-label { font-size: .78rem; color: var(--muted); font-family: var(--font-m); }
.contact-item-val { font-size: 1rem; font-weight: 500; }
.contact-form {
  background: var(--night2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.form-title {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .4rem;
  font-family: var(--font-m);
  letter-spacing: .05em;
}
.form-label .required { color: var(--blue); margin-left: .2rem; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--night);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: .7rem 1rem;
  min-height: var(--touch);
  color: var(--offwhite);
  font-family: var(--font-b);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--night3); }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--night2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; margin-top: .5rem; padding: .9rem; font-size: 1rem; }
.form-error-msg {
  font-size: .75rem;
  color: #ef4444;
  margin-top: .3rem;
  font-family: var(--font-m);
  display: none;
}
.form-group.has-error .form-error-msg { display: block; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-logo { font-family: var(--font-h); font-size: 1rem; font-weight: 800; }
.footer-logo span { color: var(--blue); }
.footer-copy { font-size: .85rem; color: var(--muted); }
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .85rem;
  color: var(--muted);
  transition: color .2s;
  font-family: var(--font-m);
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover { color: var(--blue); }
.footer-zone {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
  font-family: var(--font-m);
}
.footer-links--legal {
  margin-left: auto;
}

.zone-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  flex-shrink: 0;
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Responsive — Tablet large (1024px) ── */
@media (max-width: 1024px) {
  .expertise-grid { gap: 2.5rem; }
  .contact-grid { gap: 2.5rem; }
  .hero-layout { gap: 2rem; }
  .hero-image-wrap { flex: 0 0 40%; max-width: 40%; max-height: 480px; }
}

/* ── Responsive — Tablet (900px) ── */
@media (max-width: 900px) {
  /* Hamburger dès 900px : la nav devient serrée en dessous */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .expertise-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-metrics { grid-template-columns: repeat(2, auto); }
  .terminal { font-size: .75rem; }

  /* Services : 2 colonnes en tablette */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive — Mobile (768px) ── */
@media (max-width: 768px) {
  .zone-grid { grid-template-columns: 1fr; }
  .remote-card { grid-column: span 1; }

  /* Hero : image passe en dessous du texte sur mobile */
  .hero-layout { flex-direction: column; gap: 1.5rem; }
  .hero-image-wrap {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    max-height: 240px;
    aspect-ratio: 16 / 9;
    transform: none;
    order: -1; /* image au-dessus du texte sur mobile */
  }
  .hero-image-wrap:hover { transform: none; }

  .hero-content { padding: 2rem 0 3rem; }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .form-row { grid-template-columns: 1fr; }
  /* Prévenir le zoom auto iOS sur les inputs (< 16px déclenche le zoom) */
  .form-input, .form-select, .form-textarea { font-size: 1rem; }
  .section { padding: 3.5rem 0; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links--legal { margin-left: 0; }

  .urgence-inner { flex-direction: column; align-items: flex-start; }
  .urgence-right { width: 100%; }

  /* Services : 1 colonne sur mobile */
  .services-grid { grid-template-columns: 1fr; }

  .terminal-body { font-size: .68rem; padding: 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* Contenir le terminal dans son parent sans déborder */
  .terminal { max-width: 100%; overflow: hidden; }
}

/* ── Responsive — Small (480px) ── */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-badges { gap: .5rem; }
  .badge { font-size: .72rem; padding: .3rem .65rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .btn { font-size: .9rem; }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .card { padding: 1.5rem; }
  .contact-form { padding: 1.5rem; }
  .zone-card { padding: 1.5rem; }
  .remote-card { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
  .urgence-right { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .urgence-price { font-size: 1rem; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); width: 100%; gap: 1rem 1.5rem; }
  .metric-val { font-size: 1.6rem; }
  .footer-links { gap: 1rem; }
  /* Terminal très petit écran : réduire la taille de police avec les vw */
  .terminal-body { font-size: clamp(.58rem, 2.2vw, .68rem); padding: .75rem; }
  /* Prix dans les listes de tarifs : permettre le retour à la ligne si besoin */
  .zone-list li { flex-wrap: wrap; gap: .5rem; }
  .zone-list .price { margin-left: auto; }
}
