/* ============================================================
   SARL CHAMBON — Design System
   Police : Outfit (titres) + Inter (corps)
   Palette : Navy #0F172A · Bleu #0369A1 · Rouge urgence #DC2626
   ============================================================ */

@import url('../fonts/fonts.css');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:      #0F172A;
  --primary-dark: #080F1A;
  --accent:       #0369A1;
  --accent-dark:  #024E7C;
  --urgent:       #DC2626;
  --urgent-dark:  #B91C1C;
  --bg:           #F8FAFC;
  --bg-alt:       #EFF6FF;
  --white:        #FFFFFF;
  --text:         #0F172A;
  --text-muted:   #475569;
  --text-light:   #94A3B8;
  --border:       #E2E8F0;
  --border-dark:  #CBD5E1;

  --radius:    6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow:    0 4px 12px rgba(0,0,0,.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.12);

  --nav-h: 68px;
  --max-w: 1200px;

  --transition: 200ms ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.text-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── Layout helpers ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 72px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--primary);
  color: var(--white);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.75); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.flex      { display: flex; }
.flex-col  { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 40px !important; }

/* ── TOP BAR ───────────────────────────────────────────────── */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  font-size: .825rem;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar__item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: .7;
}
.topbar a { color: rgba(255,255,255,.85); transition: color var(--transition); }
.topbar a:hover { color: var(--white); }

/* ── HEADER / NAV ──────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: var(--nav-h);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
}

/* Menu */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link.active {
  background: var(--bg-alt);
  color: var(--accent);
}
.nav__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown--wide {
  min-width: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.nav__dropdown-col { padding: 8px 0; }
.nav__dropdown-title {
  padding: 6px 12px 4px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
}
.nav__sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: .84rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav__sub-link:hover {
  background: var(--bg-alt);
  color: var(--accent);
}
.nav__sub-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: .5;
}

/* Nav CTA */
.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__phone {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--urgent);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  transition: background var(--transition);
}
.nav__phone:hover { background: var(--urgent-dark); }
.nav__phone svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--white);
  overflow-y: auto;
  padding: 16px 20px 40px;
  z-index: 99;
  border-top: 1px solid var(--border);
}
.nav__mobile.open { display: block; }
.mobile-section { margin-bottom: 16px; }
.mobile-section-title {
  padding: 8px 0 6px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.mobile-link {
  display: block;
  padding: 9px 8px;
  font-size: .9rem;
  color: var(--text);
  border-radius: var(--radius);
  font-weight: 500;
}
.mobile-link:hover { background: var(--bg-alt); color: var(--accent); }
.mobile-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: var(--urgent);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
}

/* ── BOUTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(3,105,161,.3);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(3,105,161,.35);
}

.btn--urgent {
  background: var(--urgent);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(220,38,38,.3);
}
.btn--urgent:hover {
  background: var(--urgent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220,38,38,.35);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn--lg { padding: 14px 30px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: .82rem; }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  background: var(--primary);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(3,105,161,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(220,38,38,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(3,105,161,.2);
  border: 1px solid rgba(3,105,161,.4);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: #60A5FA;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 20px;
}
.hero__eyebrow svg { width: 12px; height: 12px; }
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: #60A5FA; }
.hero .text-lead {
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.hero__trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}
.hero__trust-item svg {
  width: 16px;
  height: 16px;
  color: #34D399;
  flex-shrink: 0;
}
.hero__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  min-width: 240px;
  backdrop-filter: blur(8px);
}
.hero__card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero__card-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero__card-item:last-child { border-bottom: none; }
.hero__card-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #60A5FA;
}
.hero__phone {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--urgent);
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  transition: background var(--transition);
}
.hero__phone:hover { background: var(--urgent-dark); }
.hero__phone svg { width: 18px; height: 18px; }

/* ── URGENCE BAND ──────────────────────────────────────────── */
.urgence-band {
  background: var(--urgent);
  padding: 14px 0;
}
.urgence-band .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.urgence-band__text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.urgence-band__text svg { width: 18px; height: 18px; }
.urgence-band a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--white);
  color: var(--urgent);
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 700;
  transition: background var(--transition);
}
.urgence-band a:hover { background: #FFF7ED; }

/* ── SECTION HEADER ────────────────────────────────────────── */
.section-header {
  margin-bottom: 48px;
}
.section-header.center { text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  max-width: 560px;
  font-size: 1.05rem;
}
.section-header.center p { margin: 0 auto; }

/* ── CARDS ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border-dark);
}
.card--link { cursor: pointer; }
.card--link:hover { border-color: var(--accent); }

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__icon--blue  { background: #DBEAFE; }
.card__icon--blue svg  { color: var(--accent); }
.card__icon--orange { background: #FEE2E2; }
.card__icon--orange svg { color: var(--urgent); }
.card__icon--green  { background: #DCFCE7; }
.card__icon--green svg  { color: #16A34A; }
.card__icon--slate  { background: #F1F5F9; }
.card__icon--slate svg  { color: #475569; }
.card__icon--dark   { background: var(--primary); }
.card__icon--dark svg   { color: var(--white); }

.card h3 { margin-bottom: 10px; }
.card p  { margin-bottom: 0; font-size: .9rem; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 16px;
  transition: gap var(--transition);
}
.card__link:hover { gap: 8px; }
.card__link svg { width: 14px; height: 14px; }

/* ── SERVICE LIST (page intérieure) ────────────────────────── */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
  color: var(--text-muted);
}
.service-list li:last-child { border-bottom: none; }
.service-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}

/* ── STEPS (déroulement intervention) ─────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step__content h4 { margin-bottom: 4px; }
.step__content p { font-size: .9rem; margin: 0; }

/* ── TARIF TABLE ───────────────────────────────────────────── */
.tarif-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: .9rem;
}
.tarif-table th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .02em;
}
.tarif-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.tarif-table tr:last-child td { border-bottom: none; }
.tarif-table tr:nth-child(even) td { background: var(--bg); }
.tarif-table .price {
  font-weight: 700;
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
}

/* ── CALLOUT ───────────────────────────────────────────────── */
.callout {
  background: var(--bg-alt);
  border: 1px solid #BFDBFE;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}
.callout__body p { font-size: .9rem; }
.callout__body h4 { margin-bottom: 4px; }

.callout--urgent {
  background: #FFF7ED;
  border-color: #FED7AA;
  border-left-color: var(--urgent);
}
.callout--urgent svg { color: var(--urgent); }

/* ── PAGE HERO (pages intérieures) ────────────────────────── */
.page-hero {
  background: var(--primary);
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 80% 50%, rgba(3,105,161,.2) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.page-hero__breadcrumb a {
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb svg { width: 12px; height: 12px; }
.page-hero h1 {
  color: var(--white);
  max-width: 700px;
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(255,255,255,.72);
  max-width: 600px;
  font-size: 1.05rem;
  margin: 0;
}

/* ── HERO SPLIT : diagonal (texte + CTA gauche / photo droite) */
.page-hero--split {
  display: flex;
  align-items: stretch;
  min-height: 380px;
  padding: 0;
  overflow: hidden;
}
.page-hero--split::before { display: none; }

/* Colonne gauche : fond bleu, texte aligné comme le container */
.page-hero__left {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 52px 3.5rem 44px max(1.5rem, calc((100vw - 1200px) / 2));
  z-index: 2;
}
/* ── Animation : balayage lumineux ─────────────────────── */
/* ── Bulles montantes ───────────────────────────────────── */
.hero-bubble {
  position: absolute;
  bottom: -100px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.03);
  animation: heroBubbleRise linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes heroBubbleRise {
  0%   { transform: translateY(0)      translateX(0);    opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: .55; }
  100% { transform: translateY(-520px) translateX(18px); opacity: 0; }
}

/* Texte : au-dessus de l'animation */
.page-hero__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.page-hero__text h1 {
  max-width: none;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.22;
  text-wrap: balance;
}
.page-hero__text p  { max-width: none; margin-bottom: 0; }

.page-hero__cta-call {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .95rem 1.75rem;
  background: var(--urgent);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(220,38,38,.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 1.75rem;
  align-self: flex-start;
  white-space: nowrap;
}
.page-hero__cta-call:hover {
  background: var(--urgent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(220,38,38,.5);
  color: #fff;
}
.page-hero__cta-call svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Colonne droite : image pleine hauteur + coupure diagonale */
.page-hero__visual {
  flex: 1;
  position: relative;
  clip-path: polygon(9% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.page-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .page-hero--split { flex-direction: column; min-height: unset; }
  .page-hero__left { flex: none; padding: 36px 1.5rem 28px 1.5rem; }
  .page-hero__visual { display: none; }
}

/* ── PAGE LAYOUT ───────────────────────────────────────────── */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  padding: 56px 0;
}
.page-content {}
.page-content h2 { font-size: 1.5rem; margin-bottom: 16px; margin-top: 36px; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 1.15rem; margin-bottom: 10px; margin-top: 28px; }
.page-content p { font-size: .95rem; }

/* Sidebar */
.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-card__header {
  padding: 16px 20px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-card__header svg { width: 18px; height: 18px; }
.sidebar-card__body { padding: 18px 20px; }
.sidebar-card__body p { font-size: .875rem; }

/* ── Classes générées (alias de header/info-item) ─────────── */
.sidebar-card__title {
  padding: 14px 18px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .01em;
}
.sidebar-card__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: .875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.sidebar-card__item:last-of-type { border-bottom: none; }
.sidebar-card__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}
.sidebar-card__item a {
  color: var(--text);
  font-weight: 600;
  transition: color var(--transition);
}
.sidebar-card__item a:hover { color: var(--accent); }

.sidebar-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  background: var(--urgent);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 10px;
  transition: background var(--transition);
}
.sidebar-phone:hover { background: var(--urgent-dark); }
.sidebar-phone svg { width: 18px; height: 18px; }
.sidebar-phone-mobile {
  display: block;
  text-align: center;
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 14px;
}
.sidebar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: .875rem;
  color: var(--text-muted);
}
.sidebar-info svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}
.sidebar-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--text-muted);
}
.sidebar-info-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a,
a.sidebar-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  font-size: .85rem;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.sidebar-nav a:hover,
a.sidebar-nav__link:hover { background: var(--bg-alt); color: var(--accent); }
.sidebar-nav a.active,
a.sidebar-nav__link--active {
  background: var(--bg-alt);
  color: var(--accent);
  font-weight: 600;
}
.sidebar-nav a svg,
a.sidebar-nav__link svg { width: 12px; height: 12px; opacity: .5; }

/* Nav wrapper sans classe explicite à l'intérieur d'une sidebar-card */
.sidebar-card nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
}

/* ── ZONE COVERAGE ─────────────────────────────────────────── */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.zone-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.zone-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.zone-item__dept {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.zone-item__name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}
.zone-item__info {
  font-size: .78rem;
  color: var(--text-light);
}

/* ── TEAM ──────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.team-card__avatar {
  height: 160px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card__avatar svg {
  width: 72px;
  height: 72px;
  color: rgba(255,255,255,.3);
}
.team-card__body { padding: 20px; }
.team-card__name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.team-card__role {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.team-card__body p { font-size: .875rem; }

/* ── STATS ─────────────────────────────────────────────────── */
/* ── Stats bar (homepage section--dark) ─────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 28px 16px;
}
.stat-item__num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: #60A5FA;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}

/* ── Stats "wow" dans les cards de service ───────────────── */
.card .stats-row {
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 2rem;
}
.card .stat-item {
  background: var(--primary);
  border-radius: 10px;
  padding: 1.375rem .875rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(15,23,42,.2), inset 0 1px 0 rgba(255,255,255,.05);
  cursor: default;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card .stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(15,23,42,.28), inset 0 1px 0 rgba(255,255,255,.07);
}
/* Ligne colorée en haut */
.card .stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
}
.card .stat-item:nth-child(1)::before { background: linear-gradient(90deg,#3B82F6,#60A5FA); }
.card .stat-item:nth-child(2)::before { background: linear-gradient(90deg,#059669,#34D399); }
.card .stat-item:nth-child(3)::before { background: linear-gradient(90deg,#B45309,#FBBF24); }
/* Glow de fond subtil */
.card .stat-item::after {
  content: '';
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 80px;
  pointer-events: none;
  border-radius: 50%;
}
.card .stat-item:nth-child(1)::after { background: radial-gradient(ellipse,rgba(59,130,246,.12) 0%,transparent 70%); }
.card .stat-item:nth-child(2)::after { background: radial-gradient(ellipse,rgba(16,185,129,.12) 0%,transparent 70%); }
.card .stat-item:nth-child(3)::after { background: radial-gradient(ellipse,rgba(251,191,36,.10) 0%,transparent 70%); }

.card .stat-item__num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(1.65rem, 3.2vw, 2rem);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.025em;
}
.card .stat-item:nth-child(1) .stat-item__num { color: #93C5FD; }
.card .stat-item:nth-child(2) .stat-item__num { color: #6EE7B7; }
.card .stat-item:nth-child(3) .stat-item__num { color: #FCD34D; }

.card .stat-item__label {
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .055em;
  line-height: 1.45;
}

@media (max-width: 500px) {
  .card .stats-row { grid-template-columns: 1fr; }
}

/* ── CONTACT SECTION ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.contact-info-body h4 { margin-bottom: 3px; }
.contact-info-body p { font-size: .9rem; margin: 0; }
.contact-info-body a { color: var(--accent); font-weight: 500; }

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--primary);
}
.form-input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(3,105,161,.12);
}
.form-input::placeholder { color: var(--text-light); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { cursor: pointer; }
.form-input.input-error {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}
.form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 500;
  margin-top: 4px;
}
.form-msg--error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  display: block;
}
.form-msg--success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
  display: block;
}
.btn--loading { opacity: .7; pointer-events: none; }

/* Footer logo image */
.footer__logo-img {
  height: 44px;
  width: auto;
  background: var(--white);
  padding: 5px 10px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__logo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.footer__tagline {
  font-size: .85rem;
  margin-bottom: 20px;
  color: rgba(255,255,255,.6);
}
.footer__phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--white);
  font-weight: 600;
}
.footer__phone svg { width: 15px; height: 15px; opacity: .7; }
.footer__col-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__links a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}
.footer__bottom a {
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer__bottom a:hover { color: rgba(255,255,255,.8); }

/* ── ANIMATIONS ────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── BADGES / TAGS ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
}
.badge--blue { background: #DBEAFE; color: #1D4ED8; }
.badge--orange { background: #FEE2E2; color: #B91C1C; }
.badge--green { background: #DCFCE7; color: #15803D; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .section { padding: 52px 0; }
  .section-header { margin-bottom: 36px; }

  .nav__menu { display: none; }
  .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .hero__visual { display: none; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .topbar .container { justify-content: center; }
  .topbar__left { justify-content: center; }

  .footer__grid { grid-template-columns: 1fr; }

  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 36px 0 28px; }
}

/* ── UTILITIES ─────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--white);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ── GALLERY GRID ────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  margin: 32px 0;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  background: var(--border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(.82);
}
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay svg {
  width: 32px;
  height: 32px;
  color: white;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
}

/* ── LIGHTBOX ────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
  display: block;
}
.lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  white-space: nowrap;
  max-width: 80vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lightbox__counter {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  letter-spacing: .05em;
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background .2s;
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background .2s;
}
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox__nav { width: 36px; height: 36px; }
  .lightbox__prev { left: 6px; }
  .lightbox__next { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item img,
  .gallery-item__overlay,
  .lightbox { transition: none; }
}

/* ── Card flat (no hover lift) ───────────────────────────────── */
.card--flat { cursor: default; overflow: hidden; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--border); }

/* ── Form card header ────────────────────────────────────────── */
.form-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, #1A3354 100%);
  color: var(--white);
  margin: -28px -24px 1.5rem -24px;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.form-card-header__icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.form-card-header__icon svg { width: 22px; height: 22px; }
.form-card-header h2 {
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin-bottom: .2rem;
}
.form-card-header__sub {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin: 0;
}

/* Reassurance badges */
.form-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.form-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.form-badge svg { width: 12px; height: 12px; color: var(--accent); flex-shrink: 0; }

/* ── Related pages cards ─────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 1.25rem;
}
.related-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .875rem 1rem .875rem 1.125rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}
.related-item:hover { transform: translateX(3px); box-shadow: var(--shadow); }

.related-item:nth-child(1) { border-left-color: #0369A1; }
.related-item:nth-child(2) { border-left-color: #DC2626; }
.related-item:nth-child(3) { border-left-color: #059669; }
.related-item:nth-child(4) { border-left-color: #7C3AED; }
.related-item:nth-child(1):hover { box-shadow: 3px 0 16px rgba(3,105,161,.14), 0 4px 12px rgba(0,0,0,.06); }
.related-item:nth-child(2):hover { box-shadow: 3px 0 16px rgba(220,38,38,.14), 0 4px 12px rgba(0,0,0,.06); }
.related-item:nth-child(3):hover { box-shadow: 3px 0 16px rgba(5,150,105,.14), 0 4px 12px rgba(0,0,0,.06); }
.related-item:nth-child(4):hover { box-shadow: 3px 0 16px rgba(124,58,237,.14), 0 4px 12px rgba(0,0,0,.06); }

.related-item__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.related-item__icon svg { width: 18px; height: 18px; }
.related-item:nth-child(1) .related-item__icon { background: rgba(3,105,161,.09);  color: #0369A1; }
.related-item:nth-child(2) .related-item__icon { background: rgba(220,38,38,.09);  color: #DC2626; }
.related-item:nth-child(3) .related-item__icon { background: rgba(5,150,105,.09);  color: #059669; }
.related-item:nth-child(4) .related-item__icon { background: rgba(124,58,237,.09); color: #7C3AED; }

.related-item__body { flex: 1; min-width: 0; }
.related-item__title {
  font-family: 'Outfit', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .125rem;
  line-height: 1.3;
}
.related-item__label {
  font-size: .75rem;
  color: var(--text-muted);
}
.related-item__arrow {
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform var(--transition), color var(--transition);
}
.related-item:hover .related-item__arrow { transform: translateX(3px); }
.related-item:nth-child(1):hover .related-item__arrow { color: #0369A1; }
.related-item:nth-child(2):hover .related-item__arrow { color: #DC2626; }
.related-item:nth-child(3):hover .related-item__arrow { color: #059669; }
.related-item:nth-child(4):hover .related-item__arrow { color: #7C3AED; }
.related-item__arrow svg { width: 16px; height: 16px; }

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

/* ── Tech cards (appareils spécifiques) ──────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.tech-item {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.25rem 1.125rem;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.tech-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15,23,42,.1);
  border-color: var(--border-dark);
}

.tech-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 0;
}
.tech-item:nth-child(1)::before { background: linear-gradient(90deg, #0369A1, #38BDF8); }
.tech-item:nth-child(2)::before { background: linear-gradient(90deg, #059669, #34D399); }
.tech-item:nth-child(3)::before { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.tech-item:nth-child(4)::before { background: linear-gradient(90deg, #B45309, #FBBF24); }
.tech-item:nth-child(5)::before { background: linear-gradient(90deg, #0369A1, #38BDF8); }
.tech-item:nth-child(6)::before { background: linear-gradient(90deg, #059669, #34D399); }
.tech-item:nth-child(7)::before { background: linear-gradient(90deg, #7C3AED, #A78BFA); }

.tech-item__num {
  position: absolute;
  top: .375rem; right: .875rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 3.25rem;
  line-height: 1;
  color: rgba(15,23,42,.05);
  user-select: none;
  pointer-events: none;
}

.tech-item__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .75rem;
  flex-shrink: 0;
}
.tech-item__icon svg { width: 20px; height: 20px; stroke-width: 2; }

.tech-item:nth-child(1) .tech-item__icon { background: rgba(3,105,161,.1);   color: #0369A1; }
.tech-item:nth-child(2) .tech-item__icon { background: rgba(5,150,105,.1);   color: #059669; }
.tech-item:nth-child(3) .tech-item__icon { background: rgba(124,58,237,.1);  color: #7C3AED; }
.tech-item:nth-child(4) .tech-item__icon { background: rgba(180,83,9,.1);    color: #B45309; }
.tech-item:nth-child(5) .tech-item__icon { background: rgba(3,105,161,.1);   color: #0369A1; }
.tech-item:nth-child(6) .tech-item__icon { background: rgba(5,150,105,.1);   color: #059669; }
.tech-item:nth-child(7) .tech-item__icon { background: rgba(124,58,237,.1);  color: #7C3AED; }

.tech-item__title {
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .375rem;
}

.tech-item__desc {
  font-size: .855rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Last odd item : centré dans la grille */
.tech-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - .5rem);
}

@media (max-width: 640px) {
  .tech-grid { grid-template-columns: 1fr; }
  .tech-item:last-child:nth-child(odd) { max-width: 100%; }
}

/* ── Hero slideshow (2 images cross-fade) ────────────────────── */
.hero-slideshow {
  position: absolute;
  inset: 0;
}
.hero-slideshow__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slideshow__img:nth-child(1) { animation: heroSlide1 14s infinite; }
.hero-slideshow__img:nth-child(2) { animation: heroSlide2 14s infinite; }

@keyframes heroSlide1 {
  0%, 40%  { opacity: 1; }
  50%, 90% { opacity: 0; }
  100%     { opacity: 1; }
}
@keyframes heroSlide2 {
  0%, 40%  { opacity: 0; }
  50%, 90% { opacity: 1; }
  100%     { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow__img { animation: none !important; }
  .hero-slideshow__img:nth-child(2) { display: none; }
}

/* ── Homepage hero massif (page-hero--home) ──────────────────── */
.page-hero--home {
  min-height: 560px;
}
.page-hero--home .page-hero__left {
  flex: 0 0 50%;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.page-hero--home .page-hero__text h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  margin-top: .75rem;
}
.page-hero--home .page-hero__text h1 span { color: #60A5FA; }
.page-hero--home .page-hero__sub {
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255,255,255,.75);
  margin-bottom: 0;
  max-width: 480px;
}
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: rgba(3,105,161,.2);
  border: 1px solid rgba(3,105,161,.4);
  border-radius: 100px;
  font-size: .77rem;
  font-weight: 700;
  color: #60A5FA;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .75rem;
}
.home-hero__eyebrow svg { width: 12px; height: 12px; flex-shrink: 0; }
.home-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
  margin-bottom: 1.75rem;
  align-items: center;
}
.page-hero--home .page-hero__cta-call {
  font-size: 1.05rem;
  padding: 1.05rem 2rem;
  margin-top: 0;
}
.page-hero__cta-devis {
  display: inline-flex;
  align-items: center;
  padding: 1rem 1.75rem;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.page-hero__cta-devis:hover {
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.07);
  color: #fff;
}
.home-hero__trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.home-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .81rem;
  color: rgba(255,255,255,.6);
}
.home-hero__trust-item svg {
  width: 15px;
  height: 15px;
  color: #34D399;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .page-hero--home { min-height: unset; }
  .page-hero--home .page-hero__left { flex: none; }
}

/* ── Carte glass sur la photo du hero accueil ────────────────── */
.home-glass-card {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: max-content;
  background: rgba(10, 18, 38, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 1.375rem 1.5rem 1.25rem;
  min-width: 230px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
.home-glass-card__title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  margin-bottom: .875rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.home-glass-card__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  font-size: .83rem;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.home-glass-card__item:last-of-type { border-bottom: none; }
.home-glass-card__item svg { width: 14px; height: 14px; flex-shrink: 0; color: #60A5FA; }
.home-glass-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: .875rem;
  padding: .7rem 1rem;
  background: var(--urgent);
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: #fff;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 3px 12px rgba(220,38,38,.45);
}
.home-glass-card__btn:hover { background: var(--urgent-dark); transform: translateY(-1px); color: #fff; }
.home-glass-card__btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.home-glass-card__btn--outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  box-shadow: none;
  color: rgba(255,255,255,.88);
  margin-top: 7px;
}
.home-glass-card__btn--outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.65);
  transform: none;
  color: #fff;
}


/* ══ Offres spéciales ═══════════════════════════════════════ */
.offers-banner { background: var(--primary); border-top: 3px solid var(--urgent); padding: 28px 0; }
.offers-banner__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.offers-banner__head { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.offers-banner__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--urgent); color: var(--white); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: var(--radius); align-self: flex-start; }
.offers-banner__badge svg { width: 14px; height: 14px; }
.offers-banner__dates { color: var(--text-light); font-size: .8rem; }
.offers-banner__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 280px; }
.offers-banner__list li { color: var(--white); font-size: .95rem; opacity: .92; }
.offers-banner__list strong { color: var(--white); }
.offers-banner__cta { display: inline-flex; align-items: center; gap: 8px; background: var(--urgent); color: var(--white); font-weight: 700; padding: 12px 22px; border-radius: var(--radius); text-decoration: none; transition: background .2s; white-space: nowrap; }
.offers-banner__cta:hover { background: var(--urgent-dark); }
.offers-banner__cta svg { width: 16px; height: 16px; }
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.offer-card { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--urgent); border-radius: var(--radius-md); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.offer-card__icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--bg-alt); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.offer-card__icon svg { width: 22px; height: 22px; }
.offer-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.offer-card__scope { color: var(--text-muted); font-size: .88rem; margin-bottom: 12px; }
.offer-card__price { font-size: 1.9rem; font-weight: 800; color: var(--urgent); margin-bottom: 8px; }
.offer-card__price small { font-size: .95rem; font-weight: 700; color: var(--text-muted); }
.offer-card__bonus { font-weight: 700; color: var(--accent); font-size: .92rem; margin-bottom: 10px; }
.offers-conditions { background: var(--bg-alt); border-radius: var(--radius-md); padding: 28px 32px; }
.offers-conditions h3 { margin-bottom: 12px; }
.offers-conditions ul { margin: 0 0 20px 18px; color: var(--text-muted); line-height: 1.9; }
@media (max-width: 900px) { .offers-grid { grid-template-columns: 1fr; } .offers-banner__inner { flex-direction: column; align-items: flex-start; } }

/* ══ Popup offres spéciales ═════════════════════════════════ */
.offers-popup { position: fixed; right: 20px; top: 50%; z-index: 1200; width: min(340px, calc(100vw - 40px)); background: var(--primary); border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--urgent); border-radius: var(--radius-md); box-shadow: 0 12px 40px rgba(0,0,0,.35); opacity: 0; transform: translateY(calc(-50% + 24px)); pointer-events: none; transition: opacity .45s ease, transform .45s ease; }
.offers-popup--visible { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.offers-popup__close { position: absolute; top: 10px; right: 10px; background: none; border: none; color: var(--text-light); cursor: pointer; padding: 4px; line-height: 0; z-index: 2; }
.offers-popup__close:hover { color: var(--white); }
.offers-popup__close svg { width: 16px; height: 16px; }
.offers-popup__body { display: block; padding: 20px 22px; text-decoration: none; }
.offers-popup__badge { display: inline-flex; align-items: center; gap: 7px; background: var(--urgent); color: var(--white); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: var(--radius); margin-bottom: 10px; }
.offers-popup__badge svg { width: 12px; height: 12px; }
.offers-popup__title { display: block; color: var(--white); font-size: 1.02rem; margin-bottom: 10px; }
.offers-popup__zone { display: block; color: var(--text-light); font-size: .78rem; margin: -6px 0 10px; }
.offers-popup__list { list-style: none; margin: 0 0 14px; padding: 0; }
.offers-popup__list li { color: var(--text-light); font-size: .84rem; line-height: 1.55; padding-left: 14px; position: relative; }
.offers-popup__list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 6px; height: 6px; border-radius: 50%; background: var(--urgent); }
.offers-popup__cta { display: inline-flex; align-items: center; gap: 8px; color: var(--white); background: var(--urgent); font-weight: 700; font-size: .88rem; padding: 9px 16px; border-radius: var(--radius); transition: background .2s; }
.offers-popup__body:hover .offers-popup__cta { background: var(--urgent-dark); }
.offers-popup__cta svg { width: 14px; height: 14px; }
@media (max-width: 600px) {
  .offers-popup { right: 12px; top: auto; bottom: 12px; left: 12px; width: auto; transform: translateY(24px); }
  .offers-popup--visible { transform: translateY(0); }
}

/* ══ Upload photos formulaire ═══════════════════════════════ */
.photo-upload .form-label small { font-weight: 400; color: var(--text-muted); }
.photo-upload__btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1.5px dashed var(--border-dark); border-radius: var(--radius); background: var(--bg); color: var(--text); font-weight: 600; font-size: .92rem; cursor: pointer; transition: border-color .2s, background .2s; }
.photo-upload__btn:hover { border-color: var(--accent); background: var(--bg-alt); }
.photo-upload__btn--full { opacity: .55; pointer-events: none; }
.photo-upload__btn svg { width: 18px; height: 18px; color: var(--accent); }
.photo-upload__hint { font-size: .78rem; color: var(--text-muted); margin: 6px 0 0; }
.photo-upload__previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.photo-upload__thumb { position: relative; width: 76px; height: 76px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.photo-upload__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-upload__del { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border: none; border-radius: 50%; background: rgba(15,23,42,.75); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.photo-upload__del svg { width: 10px; height: 10px; }

/* ══ Lien Offres du moment (topbar) ═════════════════════════ */
.topbar > .container > div:last-child, .topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar__offers { display: inline-flex; align-items: center; gap: 6px; background: var(--urgent); color: var(--white); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px; text-decoration: none; transition: background .2s; }
.topbar__offers:hover { background: var(--urgent-dark); }
.topbar__offers svg { width: 12px; height: 12px; }
@media (max-width: 640px) { .topbar__offers { font-size: .68rem; padding: 3px 8px; } }
