/* ============================================
   MedHelp Ambulance - Casablanca
   Modern, SEO-optimized landing page
   ============================================ */

/* --- Custom Properties --- */
:root {
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;

  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --white: #ffffff;
  --green-500: #22c55e;
  --amber-500: #f59e0b;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

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

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--slate-50);
}

/* --- Section Headers --- */
.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section__tag {
  display: inline-block;
  background: var(--red-50);
  color: var(--red-600);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section__header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section__header p {
  font-size: 1.05rem;
  color: var(--slate-500);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--red-600);
  color: var(--white);
  border-color: var(--red-600);
}
.btn--primary:hover {
  background: var(--red-700);
  border-color: var(--red-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--emergency {
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: var(--white);
  border-color: var(--red-700);
  animation: pulse-btn 2s infinite;
}
.btn--emergency:hover {
  background: linear-gradient(135deg, var(--red-700), var(--red-800));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--red-600);
  border-color: var(--red-600);
}
.btn--outline:hover {
  background: var(--red-600);
  color: var(--white);
}

.btn--outline-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--slate-900);
  border-color: var(--white);
}

.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--xl { padding: 18px 40px; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn--full { width: 100%; justify-content: center; }

/* Bouton téléphone : texte long desktop / deux lignes lisibles sur mobile */
.btn--phone-split .btn__phone-split-mobile {
  display: none;
}

.btn--phone-split .btn__phone-split {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn--phone-split .btn__phone-split-title {
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.2;
}

.btn--phone-split .btn__phone-split-num {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--slate-900);
  color: var(--slate-300);
  font-size: 0.82rem;
  padding: 8px 0;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar__left i { color: var(--red-500); }

.topbar__sep { opacity: 0.3; }

.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__right a:hover { color: var(--white); }

.topbar__phone {
  background: var(--red-600);
  color: var(--white) !important;
  padding: 4px 14px;
  border-radius: 100px;
  font-weight: 600;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: var(--white);
  border-radius: var(--radius);
  font-size: 1.2rem;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo__text strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
}

.logo__text small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--red-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
}

.nav__link:hover,
.nav__link--active {
  color: var(--red-600);
  background: var(--red-50);
}

.header__cta {
  font-size: 0.85rem;
  padding: 10px 18px;
  flex-shrink: 0;
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: var(--transition);
}

.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  background: var(--slate-50);
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--slate-400);
}

.breadcrumbs__list li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--slate-300);
}

.breadcrumbs__list a:hover { color: var(--red-600); }

.breadcrumbs__list li[aria-current] {
  color: var(--slate-600);
  font-weight: 500;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--slate-900) 0%, #1a1a2e 50%, var(--red-800) 100%);
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(239, 68, 68, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero__content { max-width: 780px; }

.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--green-500);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--red-500), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--slate-300);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate-300);
  font-size: 0.9rem;
}

.trust-item i {
  color: var(--amber-500);
}

/* ============================================
   STATS
   ============================================ */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
  padding: 0;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stat {
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid var(--slate-100);
}
.stat:last-child { border-right: none; }

.stat__icon {
  font-size: 1.5rem;
  color: var(--red-600);
  margin-bottom: 8px;
}

.stat__number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--slate-900);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--red-200, #fecaca);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-50);
  color: var(--red-600);
  font-size: 1.3rem;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.service-card:hover .service-card__icon {
  background: var(--red-600);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ============================================
   SHOWCASE (Airport / Feature sections)
   ============================================ */
.showcase {
  padding: 80px 0;
}

.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.showcase__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.showcase__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  aspect-ratio: 3 / 2;
}

.showcase__content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.showcase__content p {
  font-size: 1.02rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.showcase__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--slate-700);
  font-weight: 500;
}

.showcase__list li i {
  color: var(--green-500);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================
   DÉLAIS
   ============================================ */
.delais__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.delai-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transition: var(--transition);
}

.delai-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.delai-card--wide {
  grid-column: 1 / -1;
}

.delai-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  color: var(--white);
}

.delai-card__zone {
  font-weight: 700;
  font-size: 1rem;
}

.delai-card__time {
  text-align: right;
  font-size: 0.82rem;
  color: var(--slate-300);
}

.delai-card__time span {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--red-500);
  line-height: 1;
}

.delai-card__details {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.delai-card__details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-600);
}

.delai-card__details li i {
  color: var(--red-500);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.delai-card__quote {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--slate-100);
  background: var(--slate-50);
}

.delai-card__quote i {
  color: var(--red-300);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.delai-card__quote p {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--slate-600);
  margin-bottom: 6px;
}

.delai-card__quote cite {
  font-size: 0.8rem;
  font-style: normal;
  color: var(--slate-400);
  font-weight: 600;
}

/* ============================================
   QUARTIERS
   ============================================ */
.quartiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quartier-group {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.quartier-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red-100);
}

.quartier-group h3 i { color: var(--red-500); }

.quartier-group ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}

.quartier-group li {
  font-size: 0.88rem;
  color: var(--slate-600);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.quartier-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--red-500);
  border-radius: 50%;
  transform: translateY(-50%);
}

.quartiers__cta {
  text-align: center;
  margin-top: 40px;
  padding: 32px;
  background: var(--red-50);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--red-200, #fecaca);
}

.quartiers__cta p {
  font-size: 1.05rem;
  color: var(--slate-700);
  margin-bottom: 16px;
  font-weight: 500;
}

/* ============================================
   ÉQUIPEMENT
   ============================================ */
.equipement__layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.equipement__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.equip-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  transition: var(--transition);
}

.equip-item:hover {
  border-color: var(--red-200, #fecaca);
  box-shadow: var(--shadow);
}

.equip-item__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-50);
  color: var(--red-600);
  font-size: 1.1rem;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.equip-item h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.equip-item p {
  font-size: 0.88rem;
  color: var(--slate-500);
}

.equip-visual__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.equip-visual__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.equip-visual__badges-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge--dark {
  background: var(--slate-900);
  color: var(--white);
}

.badge i { color: var(--green-500); }

/* ============================================
   AVANTAGES
   ============================================ */
.avantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.avantage-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.avantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--red-600);
  transition: var(--transition);
}

.avantage-card:hover::before { height: 100%; }

.avantage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.avantage-card__num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red-100);
  line-height: 1;
  margin-bottom: 12px;
}

.avantage-card:hover .avantage-card__num {
  color: var(--red-200, #fecaca);
}

.avantage-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.avantage-card p {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ============================================
   AVIS / REVIEWS
   ============================================ */
.avis__summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  margin-bottom: 40px;
}

.avis__score {
  text-align: center;
}

.avis__score-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1;
}

.avis__stars {
  color: var(--amber-500);
  font-size: 1.2rem;
  margin: 8px 0;
  display: flex;
  gap: 2px;
  justify-content: center;
}

.avis__score-count {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.avis__score-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.avis__google-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-600);
  font-size: 0.85rem;
  font-weight: 600;
}
.avis__google-link:hover { color: var(--blue-700); }

.avis__bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.bar-row > span:first-child {
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}
.bar-row > span:first-child i { color: var(--amber-500); font-size: 0.7rem; }
.bar-row > span:last-child { width: 36px; text-align: right; flex-shrink: 0; }

.bar {
  flex: 1;
  height: 8px;
  background: var(--slate-100);
  border-radius: 100px;
  overflow: hidden;
}

.bar__fill {
  height: 100%;
  background: var(--amber-500);
  border-radius: 100px;
  transition: width 1s ease;
}

.avis__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-height: 680px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease;
}

.avis__grid.avis__grid--expanded {
  max-height: none;
}

.avis__grid:not(.avis__grid--expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--slate-50));
  pointer-events: none;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--amber-500);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.review-card__avatar {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-50);
  color: var(--red-600);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.review-card__name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--slate-800);
}

.review-card__date {
  font-size: 0.78rem;
  color: var(--slate-400);
}

.review-card__stars {
  margin-left: auto;
  color: var(--amber-500);
  font-size: 0.75rem;
  display: flex;
  gap: 1px;
}

.review-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
  font-style: italic;
}

.avis__cta {
  text-align: center;
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   FAQ
   ============================================ */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--red-200, #fecaca);
  box-shadow: var(--shadow);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--slate-800);
  list-style: none;
  user-select: none;
}

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

.faq-item__question span { flex: 1; padding-right: 16px; }

.faq-item__question i {
  color: var(--red-500);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item[open] .faq-item__question i {
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__question {
  color: var(--red-600);
  background: var(--red-50);
}

.faq-item__answer {
  padding: 0 24px 20px;
}

.faq-item__answer p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.75;
}

/* ============================================
   CONTACT
   ============================================ */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--red-200, #fecaca);
  box-shadow: var(--shadow);
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-50);
  color: var(--red-600);
  border-radius: var(--radius);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-card a, .contact-card p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-800);
}

.contact-card a:hover { color: var(--red-600); }

/* Contact Form */
.contact-form {
  margin-top: 12px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-form h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 20px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--slate-800);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px var(--red-50);
  background: var(--white);
}

.form-group textarea { resize: vertical; }

/* Map */
.contact__map {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-wrapper {
  flex: 1;
  min-height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.map-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--blue-700);
}

.map-note i { flex-shrink: 0; }

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  background: linear-gradient(135deg, var(--slate-900), var(--red-800));
  padding: 80px 0;
  text-align: center;
}

.cta-final h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-final p {
  font-size: 1.05rem;
  color: var(--slate-300);
  margin-bottom: 32px;
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 20px;
}

.footer__brand .header__logo { margin-bottom: 8px; }
.footer__brand .logo__text strong { color: var(--white); }

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--slate-400);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--red-600);
  color: var(--white);
}

.footer__col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col li {
  font-size: 0.88rem;
}

.footer__col li i {
  width: 16px;
  margin-right: 6px;
  color: var(--red-500);
}

.footer__col a:hover, .footer__col span:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a:hover { color: var(--white); }

/* ============================================
   FLOATING CTAs (téléphone + WhatsApp)
   ============================================ */
.floating-stack {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  right: max(24px, env(safe-area-inset-right, 0px));
  z-index: 999;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.floating-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.floating-cta i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.floating-cta--phone {
  background: var(--red-600);
  animation: pulse-btn 2s infinite;
}

.floating-cta--phone:hover {
  background: var(--red-700);
  transform: scale(1.04);
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.45);
}

.floating-cta--whatsapp {
  background: #25d366;
}

.floating-cta--whatsapp:hover {
  background: #20bd5a;
  transform: scale(1.04);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services__grid,
  .delais__grid,
  .quartiers__grid,
  .avantages__grid,
  .avis__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .equip-visual__image { position: static; }

  .showcase__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__image {
    order: -1;
  }

  .hero__image img {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

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

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

  .stat {
    border-bottom: 1px solid var(--slate-100);
  }

  .avis__summary {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

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

  /* Topbar : email + téléphone ne tiennent pas sur une ligne → empiler, bouton pleine largeur */
  .topbar {
    padding: 10px 0;
  }

  .topbar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .topbar__right {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: stretch;
  }

  .topbar__right > a[href^="mailto"] {
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
    word-break: break-all;
    justify-content: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .topbar__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    padding: 16px;
  }

  .header__nav.active { display: block; }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .header__cta { display: none; }
  .header__burger { display: flex; }

  .hero { min-height: auto; overflow: hidden; }
  .hero__inner { padding: 32px 0 48px; grid-template-columns: 1fr; gap: 0; }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn--outline-white.btn--lg {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
  .hero__trust { flex-direction: column; gap: 12px; }

  .hero__image {
    order: -1;
    margin: 0 -20px 28px;
  }
  .hero__image img {
    width: 100%;
    max-width: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 30%;
  }

  .showcase { padding: 0; }
  .showcase__inner { grid-template-columns: 1fr; gap: 0; }
  .showcase__image {
    margin: 0 -20px;
    border-radius: 0;
  }
  .showcase__image img {
    width: 100%;
    min-height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0;
  }
  .showcase__content {
    padding: 32px 0 48px;
  }

  .equip-visual__image {
    margin: 0 -20px;
    border-radius: 0;
    box-shadow: none;
  }
  .equip-visual__image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0;
    min-height: auto;
  }

  .services__grid,
  .delais__grid,
  .quartiers__grid,
  .avantages__grid,
  .avis__grid {
    grid-template-columns: 1fr;
  }

  .contact__layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .section { padding: 56px 0; }

  .stats { margin-top: -24px; }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius-lg);
  }

  .floating-cta__label { display: none; }
  .floating-cta {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .floating-stack {
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    gap: 12px;
  }

  /* Hero + CTA final : libérer le nowrap et afficher 2 lignes */
  .btn--phone-split {
    white-space: normal;
    justify-content: center;
    text-align: center;
  }

  .btn--phone-split .btn__phone-split {
    align-items: center;
    text-align: center;
  }

  .btn--phone-split .btn__phone-split-desktop {
    display: none;
  }

  .btn--phone-split .btn__phone-split-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .hero__actions .btn--phone-split.btn--lg {
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
  }

  .cta-final__actions .btn--phone-split.btn--xl {
    width: 100%;
    max-width: 100%;
    padding: 16px 24px;
  }

  .cta-final__actions .btn--outline-white.btn--xl {
    width: 100%;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }

  .cta-final__actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 12px; }
  .stat__number { font-size: 1.5rem; }

  .hero__image img {
    aspect-ratio: 4 / 3;
    object-position: center 30%;
  }

  .showcase__image img {
    aspect-ratio: 4 / 3;
  }

  .equip-visual__image img {
    aspect-ratio: 4 / 3;
  }
}
