/* ============================================================
   MONTEK — Design System
   Apple / Notion–inspired · Static · No JS · No frameworks
   ============================================================ */

/* --- Inter font (self-hosted, latin subset, variable font) --- */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Design Tokens --- */
:root {
  /* Surfaces */
  --bg:           #F5F5F7;
  --bg-alt:       #EDEDF0;
  --card:         #FFFFFF;
  --card-hover:   #FFFFFF;

  /* Text */
  --text:         #1d1d1f;
  --text-secondary:#6e6e73;
  --text-muted:   #86868b;

  /* Borders & Shadows */
  --border:       rgba(0, 0, 0, 0.08);
  --shadow:       0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.10);
  --shadow-sm:    0 1px 2px rgba(0, 0, 0, 0.04);

  /* Accent — Bleu (branding, liens, logo) */
  --accent:       #2563EB;
  --accent-hover: #1d4ed8;
  --accent-light: #EFF6FF;
  --accent-muted: rgba(37, 99, 235, 0.08);

  /* Secondary — Vert (confiance, succès, checkmarks) */
  --secondary:       #10b981;
  --secondary-hover:  #059669;
  --secondary-light:  #ecfdf5;
  --secondary-muted:  rgba(16, 185, 129, 0.08);

  /* CTA — Orange (boutons d'action, prix) */
  --cta:          #f59e0b;
  --cta-hover:    #d97706;
  --cta-light:    #fffbeb;

  /* Radii */
  --radius:       12px;
  --radius-sm:    8px;
  --radius-lg:    16px;
  --radius-pill:  100px;

  /* Layout */
  --max:          1100px;
  --max-narrow:   720px;
  --gutter:       clamp(1.25rem, 4vw, 2rem);
  --section-gap:  clamp(3.5rem, 8vw, 5rem);

  /* Transitions */
  --ease:         cubic-bezier(.4, 0, .2, 1);
  --duration:     0.2s;
}


/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--accent-hover);
}

strong {
  font-weight: 600;
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}


/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section {
  padding: var(--section-gap) 0;
}

/* Alternate section backgrounds */
section:nth-of-type(even):not(.hero):not(.cta-band) {
  background: var(--card);
}


/* ============================================================
   HEADER / NAV  — sticky, no JS
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 247, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
}

.site-header .container {
  display: flex;
  flex-direction: row;        /* always horizontal — never column */
  flex-wrap: nowrap;          /* never allow wrapping to second row */
  align-items: center;        /* vertically center logo + nav + burger */
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
  transition: opacity var(--duration) var(--ease);
}

.site-logo:hover {
  opacity: 0.7;
  text-decoration: none;
  color: var(--text);
}

.site-logo span {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0.1rem;
  flex-wrap: nowrap;
}

.site-nav a {
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--accent);
  background: none;
  text-decoration: none;
}

/* Right-side actions: CTA + burger */
.site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* CTA button */
.nav-cta {
  background: var(--cta);
  color: #1d1d1f !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--cta-hover);
  color: #1d1d1f !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}


/* ============================================================
   DESKTOP NAV DROPDOWNS — CSS-only (hover + focus-within)
   ============================================================ */

/* Wrapper for each dropdown item */
.nav-item {
  position: relative;
}

/* Trigger button — styled to match nav links */
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-trigger:hover,
.nav-item:hover .nav-trigger,
.nav-item:focus-within .nav-trigger {
  background: none;
  color: var(--accent);
}

.nav-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Chevron rotates on open */
.nav-chevron {
  flex-shrink: 0;
  transition: transform 0.18s var(--ease);
}

.nav-item:hover .nav-chevron,
.nav-item:focus-within .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: 100%; /* no gap — keeps :hover continuous from trigger to panel */
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 210px;
  background: #fff;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  padding-top: calc(0.5rem + 10px); /* visual gap lives in padding, not in top */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease,
              visibility 0.15s ease,
              transform 0.15s ease;
  z-index: 50;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Dropdown links */
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-dropdown a:hover {
  background: var(--accent-muted);
  color: #2563EB;
}

.nav-dropdown a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* Wide dropdown (Services) — 2 columns */
.nav-dropdown--wide {
  min-width: 380px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--cta);
  border: 2px solid var(--cta);
  border-radius: 10px;
  min-height: 44px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.btn:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.30);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Secondary / outline */
.btn-secondary,
.btn-outline {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: var(--bg);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* Small button variant */
.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}


/* ============================================================
   BADGE
   ============================================================ */
.badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--secondary-light);
  border-radius: var(--radius-pill);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(180deg, var(--card) 0%, var(--bg) 100%);
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero h1 {
  max-width: 700px;
  margin: 0 auto 1rem;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto 1.75rem;
  color: var(--text-secondary);
}

.hero .btn {
  margin: 0 0.4rem 0.5rem;
}

/* Hero buttons wrapper */
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

/* ---- Hero Split (homepage) ---- */
.hero.hero-split {
  text-align: left;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0f9ff 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--text-secondary, #6e6e73);
  margin-bottom: 1rem;
}

.article-meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero-text h1 {
  margin: 0 0 1rem;
  max-width: none;
}

.hero-text p {
  margin: 0 0 1.75rem;
  max-width: 520px;
}

.hero-split .hero-actions {
  justify-content: flex-start;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--card);
  border-color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

/* Hero image container */
.hero-visual {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  aspect-ratio: 3 / 2;
  background: #1a1a1a;
}

.hero-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.hero-split .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-split .hero-slide.active {
  opacity: 1;
}




/* ============================================================
   PROOF / TRUST BAR
   ============================================================ */
.proof-section {
  padding: 0;
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: 2rem 0 0.5rem;
}

.proof-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.35rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.proof-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.proof-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.proof-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.proof-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}


/* ============================================================
   SECTION TITLES & TEXT
   ============================================================ */
.section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 1.25rem;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 560px;
}

.section-text {
  max-width: var(--max-narrow);
  color: var(--text-secondary);
  line-height: 1.8;
}

.section-text p + p {
  margin-top: 0.75rem;
}


/* ============================================================
   CARDS (generic)
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}


/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-muted);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ============================================================
   PACKS / PRICING
   ============================================================ */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.pack-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

.pack-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Highlighted / popular pack */
.pack-card.pack-popular {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(37, 99, 235, 0.15);
  transform: scale(1.03);
  z-index: 1;
}

.pack-card.pack-popular:hover {
  transform: scale(1.05);
}

.pack-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.pack-card .badge {
  margin-bottom: 0.75rem;
}

.pack-card.pack-popular .badge {
  background: var(--accent);
  color: #fff;
}

.pack-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
}

.pack-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cta);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.pack-card ul {
  text-align: left;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.pack-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.93rem;
  color: var(--text-secondary);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.pack-card ul li:last-child {
  border-bottom: none;
}

.pack-card ul li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pack-card .btn {
  width: 100%;
  margin-top: auto;
}


/* ============================================================
   FAQ (accordion with <details>)
   ============================================================ */
.faq-section {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  max-width: var(--max-narrow);
  margin: 0 auto;
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.faq-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow), 0 0 0 1px var(--accent-muted);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background var(--duration) var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg-alt);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.faq-item[open] summary::after {
  content: '\2212';
  color: #fff;
  background: var(--accent);
}

.faq-item summary:hover {
  background: var(--accent-muted);
}

.faq-item summary:hover::after {
  background: var(--accent-light);
  color: var(--accent);
}

.faq-item .faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.8;
  border-top: 1px solid var(--border);
  margin: 0 1rem;
  padding-top: 1rem;
}


/* ============================================================
   FAQ accordion — service page inline <details>/<summary>
   Mirrors .faq-item styles for plain <details> inside .section-text
   ============================================================ */
.section-text details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.section-text details:last-of-type {
  margin-bottom: 0;
}

.section-text details:hover {
  box-shadow: var(--shadow);
}

.section-text details[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow), 0 0 0 1px var(--accent-muted);
}

.section-text details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background var(--duration) var(--ease);
}

.section-text details summary::-webkit-details-marker { display: none; }

.section-text details summary::after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg-alt);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.section-text details[open] summary::after {
  content: '\2212';
  color: #fff;
  background: var(--accent);
}

.section-text details summary:hover {
  background: var(--accent-muted);
}

.section-text details summary:hover::after {
  background: var(--accent-light);
  color: var(--accent);
}

.section-text details > p,
.seo-page .section-text details > p {
  padding: 1rem 1.5rem 1.5rem;
  margin: 0 1rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.8;
  border-top: 1px solid var(--border);
  animation: faq-open 0.2s ease;
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   STEPS (3-step process)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}

/* Connector line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(100% / 6 + 1.125rem);
  right: calc(100% / 6 + 1.125rem);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  opacity: 0.25;
  z-index: 0;
}

.step {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 1.5rem;
  text-align: center;
  box-shadow: none;
  counter-increment: step;
  z-index: 1;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 240px;
  margin: 0 auto;
}


/* ============================================================
   ABOUT BLOCK
   ============================================================ */
.about-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 2.25rem 2.5rem;
  max-width: var(--max-narrow);
  box-shadow: var(--shadow);
}

.about-block p {
  line-height: 1.85;
}

.about-block p + p {
  margin-top: 0.75rem;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.about-signature strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.about-signature span {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ============================================================
   WHY GRID (Pourquoi les gens font appel à moi)
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.why-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}

.why-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
  color: rgba(37, 99, 235, 0.15);
}

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.why-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}


/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: var(--bg);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  background: linear-gradient(135deg, #1e3a5f 0%, #1a2744 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.cta-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  margin-bottom: 0.5rem;
  color: #fff;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 440px;
  line-height: 1.55;
  margin: 0;
}

.cta-band .cta-band-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cta-primary {
  background: #fff;
  color: #1e3a5f;
  border: 1.5px solid #fff;
  font-weight: 600;
}

.btn-cta-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #1a2744;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.btn-cta-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  box-shadow: none;
}


/* ============================================================
   FORMS
   ============================================================ */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-size: 1rem; /* min 16px to prevent iOS zoom */
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              background var(--duration) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

/* Keep native dropdown arrow for selects */
.form-group select {
  appearance: auto;
  -webkit-appearance: auto;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}


/* ============================================================
   INTERNAL LINKS
   ============================================================ */
.internal-links {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.internal-links h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.internal-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.internal-links ul li a {
  display: inline-block;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-pill);
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.internal-links ul li a:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}


/* ============================================================
   SEO PAGE LAYOUT
   ============================================================ */
.seo-page section {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.seo-page .section-text {
  line-height: 1.8;
}

.seo-page .section-text p {
  margin-bottom: 0.75rem;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.6);
  padding: 3.5rem 0 0;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.85rem;
}

.footer-logo span {
  color: var(--accent);
}

.footer-logo:hover {
  opacity: 0.8;
  text-decoration: none;
  color: #fff;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  font-size: 0.85rem;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: color var(--duration) var(--ease);
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-zone {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
}


/* ============================================================
   MERCI PAGE
   ============================================================ */
.merci-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--secondary-light);
  border-radius: 50%;
  color: var(--secondary);
}

.merci-icon svg {
  width: 32px;
  height: 32px;
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2.5rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   PROOF ICONS
   ============================================================ */
.proof-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 10px;
  line-height: 1;
  flex-shrink: 0;
}

.proof-icon svg {
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  height: 22px;
  min-height: 22px;
  max-height: 22px;
  flex-shrink: 0;
}

.proof-icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.proof-icon-green {
  background: var(--secondary-light);
  color: var(--secondary);
}

.proof-icon-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.proof-icon-orange {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}


/* ============================================================
   REVIEWS / AVIS CLIENTS
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
}

.review-stars {
  color: var(--cta);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--border);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.review-author strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.review-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}


/* ============================================================
   ZONE D'INTERVENTION
   ============================================================ */
.zone-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.zone-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.zone-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.zone-card-icon svg {
  width: 22px;
  height: 22px;
}

.zone-card-icon.green  { background: var(--secondary-light); color: var(--secondary); }
.zone-card-icon.blue   { background: var(--accent-light);    color: var(--accent); }
.zone-card-icon.orange { background: var(--cta-light);       color: var(--cta); }
.zone-card-icon.purple { background: #f3f0ff;                color: #7c3aed; }

.zone-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.zone-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.zone-badge.green  { background: var(--secondary); }
.zone-badge.blue   { background: var(--accent); }
.zone-badge.orange { background: var(--cta); }
.zone-badge.purple { background: #7c3aed; }

.zone-distance {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.zone-tag {
  font-size: 0.78rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  background: var(--bg);
}


/* ============================================================
   CONTACT INFO CARDS
   ============================================================ */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  height: 22px;
  min-height: 22px;
  max-height: 22px;
}

.contact-info-card h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1.4;
}

.contact-info-card a:hover {
  color: var(--accent);
}

/* Form reassurance note */
.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.75rem;
  margin-top: -0.25rem;
}

.contact-form .btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

/* Pack icon (offres page) */
.pack-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-muted);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin: 0 auto 1rem;
}

.pack-card.pack-popular .pack-icon {
  background: var(--accent);
  color: #fff;
}

.pack-icon svg {
  width: 24px;
  min-width: 24px;
  max-width: 24px;
  height: 24px;
  min-height: 24px;
  max-height: 24px;
}

/* Included list (offres page) */
.included-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.included-check {
  width: 28px;
  height: 28px;
  background: var(--secondary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.included-check svg {
  width: 15px;
  min-width: 15px;
  max-width: 15px;
  height: 15px;
  min-height: 15px;
  max-height: 15px;
}

.included-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0;
}

.included-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}




/* ============================================================
   GOOGLE REVIEW BUBBLE (desktop)
   ============================================================ */
.google-review-bubble {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.google-review-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
  color: var(--text);
  text-decoration: none;
}

.google-review-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.google-review-icon svg {
  width: 20px;
  height: 20px;
}

.google-review-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.google-review-stars {
  color: #FBBC04;
  font-size: 13px;
  letter-spacing: -0.5px;
}

.google-review-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}


/* ============================================================
   STICKY CALL BUTTON (mobile only)
   ============================================================ */
.sticky-call {
  display: none;
}

@media (max-width: 768px) {
  .google-review-bubble {
    display: none;
  }

  .sticky-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: fixed;
    bottom: max(1rem, calc(env(safe-area-inset-bottom, 0px) + 0.5rem));
    left: max(1rem, env(safe-area-inset-left, 1rem));
    right: max(1rem, env(safe-area-inset-right, 1rem));
    z-index: 1000;
    padding: 0.85rem 1.25rem;
    background: var(--secondary);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .sticky-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.45);
    color: #fff;
  }

  .sticky-call svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  /* Prevent footer overlap + safe area compensation */
  body {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
}

/* ============================================================
   TRUST BANNER (social proof strip)
   ============================================================ */
.trust-banner {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.trust-banner .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.trust-item svg {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  min-height: 18px;
  max-height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
}

.trust-item strong {
  color: var(--text);
  font-weight: 600;
}


/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    padding: clamp(2.5rem, 6vw, 3.5rem) 0 clamp(2rem, 5vw, 3rem);
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  /* Hero split → single column on tablet */
  .hero.hero-split {
    padding: clamp(2.5rem, 5vw, 3rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .hero-text h1 {
    margin: 0 auto 0.75rem;
  }

  .hero-text p {
    max-width: 560px;
    margin: 0 auto 1.5rem;
  }

  .hero-badge {
    margin-bottom: 1rem;
  }

  .hero-split .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    max-width: 440px;
    margin: 0 auto;
  }

  .hero-img-wrapper {
    border-radius: 12px;
  }

  .hero-img-wrapper::after {
    border-radius: 12px;
  }

  section {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  }

  .site-nav {
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
  }

  .site-nav .nav-cta {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
  }

  .services-grid,
  .packs-grid,
  .reviews-grid,
  .zone-cards,
  .zones-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Steps: keep 3 cols but tighter padding */
  .steps {
    gap: 0;
  }

  .step {
    padding: 0 0.75rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .proof-bar {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  /* CTA band → stack on tablet */
  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
  }

  .cta-content p {
    max-width: none;
  }

  .cta-band .cta-band-actions {
    width: 100%;
    flex-direction: column;
  }

  /* Footer → 2 cols on tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-actions,
  .cta-band-actions {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.4rem;
    line-height: 1.25;
  }

  .hero.hero-split {
    padding: clamp(1.75rem, 4vw, 2.5rem) 0 clamp(1.25rem, 3vw, 2rem);
  }

  .hero-grid {
    gap: 1.25rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    margin-bottom: 0.75rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .hero-visual {
    max-width: 100%;
  }

  .hero-img-wrapper {
    border-radius: 10px;
    aspect-ratio: 16 / 10;
  }

  .hero-img-wrapper::after {
    border-radius: 10px;
  }

  .proof-bar {
    grid-template-columns: 1fr;
  }

  .pack-card {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .pack-card.pack-popular {
    transform: none; /* prevent horizontal overflow at 375px */
  }

  /* Steps → single column on mobile */
  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .steps::before {
    display: none;
  }

  .step {
    padding: 0 1rem;
  }

  /* Contact cards → single column on mobile */
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-inner {
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
  }

  /* Reduce section vertical spacing on small phones */
  section {
    padding: 2rem 0;
  }

  /* Tighten card padding on small phones */
  .service-card,
  .why-item {
    padding: 1.25rem;
  }

  .zone-link-card {
    padding: 1rem 1.25rem;
  }

  /* FAQ summary less padding */
  .faq-item summary,
  .section-text details summary {
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
  }
}

/* ============================================================
   SECTION LABEL (eyebrow text above headings)
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}


/* ============================================================
   HERO TRUST MICROCOPY
   ============================================================ */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust-item svg {
  width: 13px;
  height: 13px;
  color: var(--secondary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-trust {
    justify-content: center;
    gap: 1rem;
  }
}


/* ============================================================
   REVIEWS HEADER (title + Google badge inline row)
   ============================================================ */
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reviews-header .section-title {
  margin-bottom: 0;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.google-badge:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
  color: var(--text);
  text-decoration: none;
}

.google-badge svg {
  flex-shrink: 0;
}


/* ============================================================
   REVIEW STARS — SVG row (replaces ★ text)
   ============================================================ */
.review-stars-svg {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 0.75rem;
  color: var(--cta);
}

.review-stars-svg svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}


/* ============================================================
   REVIEW AGGREGATE BAR — score + count + Google link
   ============================================================ */
.review-aggregate {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.review-agg-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
}

.review-agg-stars {
  display: flex;
  gap: 2px;
  color: var(--cta);
}

.review-agg-stars svg {
  flex-shrink: 0;
}

.review-agg-score {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.review-agg-score span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}

.review-agg-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.review-agg-google {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.review-agg-google:hover {
  background: var(--accent-muted);
  color: var(--accent);
  text-decoration: none;
}

.review-agg-google svg {
  flex-shrink: 0;
}

.review-agg-count {
  font-size: 0.85rem;
  line-height: 1.3;
  white-space: nowrap;
}

.review-agg-count strong {
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 480px) {
  .review-aggregate {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .review-agg-divider {
    width: auto;
    height: 1px;
  }

  .review-agg-rating,
  .review-agg-google {
    justify-content: center;
  }
}


/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.legal-container h2 {
  text-align: left;
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-container p {
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-container ul {
  margin: 0.5rem 0 1rem 1.5rem;
  line-height: 2;
}

/* ============================================================
   SCROLL REVEAL
   Only applies when JS has loaded (.js class on <html>)
   Elements are visible by default — JS progressive enhancement
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-reveal="delay-1"] { transition-delay: 0.10s; }
.js [data-reveal="delay-2"] { transition-delay: 0.20s; }
.js [data-reveal="delay-3"] { transition-delay: 0.30s; }
.js [data-reveal="delay-4"] { transition-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .section-text details > p {
    animation: none;
  }
}


/* ============================================================
   BURGER BUTTON — mobile only
   ============================================================ */
.nav-burger {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  height: 44px;
  width: auto;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.nav-burger:hover {
  background: var(--accent-muted);
  border-color: var(--accent);
}

.nav-burger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Icon wrapper — keeps the 3 bars stacked */
.nav-burger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
  flex-shrink: 0;
}

/* "Menu" label next to icon */
.nav-burger-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1;
}

.nav-burger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  transform-origin: center;
}

.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   NAV BACKDROP
   ============================================================ */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.nav-backdrop.is-open {
  opacity: 1;
}


/* ============================================================
   NAV DRAWER — full-screen sheet sliding from right
   ============================================================ */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 92vw);
  background: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.25s var(--ease), visibility 0.25s var(--ease);
  overflow: hidden;
}

.nav-drawer:not([hidden]) {
  transform: translateX(0);
  visibility: visible;
}

/* Keep flex layout while hidden so transition works */
.nav-drawer[hidden] {
  display: flex !important;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
}

/* ---- Drawer header ---- */
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.nav-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background var(--duration) var(--ease);
  flex-shrink: 0;
}

.nav-drawer-close:hover {
  background: var(--bg-alt);
}

.nav-drawer-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- Scrollable body ---- */
.nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
}

/* Direct links */
.nav-drawer-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.nav-drawer-link:hover {
  background: var(--accent-muted);
  color: var(--accent);
  text-decoration: none;
}

/* ---- Accordion ---- */
.nav-acc + .nav-acc,
.nav-drawer-link + .nav-acc,
.nav-acc + .nav-drawer-link {
  border-top: 1px solid var(--border);
}

.nav-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: 44px;
  font-family: inherit;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.nav-acc-trigger:hover {
  background: var(--accent-muted);
  color: var(--accent);
}

.nav-acc-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.nav-acc-chevron {
  flex-shrink: 0;
  transition: transform 0.22s var(--ease);
}

.nav-acc-trigger[aria-expanded="true"] .nav-acc-chevron {
  transform: rotate(180deg);
}

/* Panel — max-height collapse/expand */
.nav-acc-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s var(--ease);
}

.nav-acc-panel:not([hidden]) {
  max-height: 640px;
}

.nav-acc-panel[hidden] {
  display: flex !important;
  max-height: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav-acc-panel a {
  display: flex;
  align-items: center;
  padding: 0.65rem 1.5rem 0.65rem 2.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  min-height: 44px;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.nav-acc-panel a:hover {
  background: var(--accent-muted);
  color: var(--accent);
  text-decoration: none;
}

/* ---- Sticky call CTA ---- */
.nav-drawer-cta {
  flex-shrink: 0;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.nav-drawer-call {
  width: 100%;
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  font-size: 1rem;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.28);
}

.nav-drawer-call:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: #fff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.38);
}

/* ============================================================
   RESPONSIVE — Extra-small phones (≤375px)
   ============================================================ */
@media (max-width: 375px) {
  /* Slightly smaller section heading */
  .section-title {
    font-size: 1.2rem;
  }

  /* Reduce hero H1 further */
  .hero h1 {
    font-size: 1.3rem;
  }

  /* Tighter card padding */
  .service-card,
  .why-item {
    padding: 1.1rem;
  }

  /* Reduce proof-item font */
  .proof-number {
    font-size: 1.3rem;
  }

  /* FAQ summary compact */
  .faq-item summary,
  .section-text details summary {
    padding: 0.9rem 1rem;
    font-size: 0.875rem;
  }

  /* CTA inner tighter on 320px */
  .cta-inner {
    padding: 1.25rem 1rem;
  }
}

/* ============================================================
   CUSTOM ICONS — /assets/icons/
   ============================================================ */

/* Nav dropdown: flex row to align icon + label */
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

/* Nav dropdown icon */
.nav-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.15s ease;
  display: block;
}

.nav-dropdown a:hover .nav-icon,
.nav-dropdown a:focus-visible .nav-icon {
  opacity: 1;
}

/* Dropdown group label (e.g. Savoie / Haute-Savoie) */
.nav-dropdown-group {
  display: block;
  padding: 0.55rem 1rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-top: 0.25rem;
}

/* Contact standalone link with icon */
.site-nav > a.nav-link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Service card homepage — PNG icon inside existing container */
.service-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* ---- Show burger, hide desktop nav + header CTA on mobile ---- */
@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .nav-cta {
    display: none; /* sticky CTA at bottom replaces this on mobile */
  }

  .nav-burger {
    display: flex;
  }
}

/* ---- Body scroll lock when drawer is open ---- */
body.nav-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

/* ---- Hide page sticky CTA when drawer is open (avoid duplicate) ---- */
body.nav-open .sticky-call {
  display: none !important;
}

/* ---- Reduced motion: kill all transitions ---- */
@media (prefers-reduced-motion: reduce) {
  .nav-drawer,
  .nav-backdrop,
  .nav-burger-bar,
  .nav-acc-chevron,
  .nav-acc-panel {
    transition: none !important;
  }
}


/* ============================================================
   HOMEPAGE v23 — new sections (Services linked, Zones city, Why MONTEK)
   ============================================================ */

/* Service cards as links */
a.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.service-card .service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}
a.service-card:hover .service-arrow {
  gap: 7px;
}

/* Zones city grid */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.zone-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: box-shadow var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  cursor: pointer;
}
.zone-link-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--accent);
}
.zone-link-card .zlc-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.zone-link-card .zlc-icon svg {
  width: 20px;
  height: 20px;
}
.zone-link-card .zlc-body strong {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.zone-link-card .zlc-body span {
  font-size: 0.825rem;
  color: var(--text-secondary);
}
.zone-link-card--more {
  border-style: dashed;
  justify-content: center;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}
.zone-link-card--more:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Why MONTEK section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.why-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}
.why-icon svg {
  width: 22px;
  height: 22px;
}
.why-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.why-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Section intro text */
.section-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  max-width: 620px;
}

/* Hide Netlify injected drawer/toolbar */
[data-netlify-deploy-id],
iframe[title="Netlify Drawer"] {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ============================================================
   PREMIUM UI ENHANCEMENTS
   To revert: delete or comment out this entire block.
   No other files are affected.
   ============================================================ */

/* A — Card resting shadow (cards are lifted at rest, not just on hover) */
.card {
  box-shadow: var(--shadow);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* B — Section border separators (visual rhythm between sections) */
.seo-page section:not(.hero):not(.cta-band) {
  border-top: 1px solid var(--border);
}
