/* ============================================================
   Yacphone — Site vitrine | Feuille de styles
   Réparation téléphone à Toulouse
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  /* Couleurs */
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --violet: #7c3aed;
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #475569;
  --muted-2: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f1f5f9;
  --bg-tint: #f5f7ff;
  --amber: #f59e0b;
  --green: #16a34a;
  --whatsapp: #22a356;

  /* Dégradés */
  --grad: linear-gradient(120deg, var(--blue) 0%, var(--violet) 100%);
  --grad-hero: linear-gradient(160deg, #0b1120 0%, #131a3a 55%, #1b1442 100%);

  /* Mise en forme */
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 26px 60px rgba(15, 23, 42, 0.16);
  --shadow-blue: 0 16px 36px rgba(37, 99, 235, 0.32);
  --container: 1200px;

  /* z-index */
  --z-progress: 60;
  --z-header: 50;
  --z-float: 40;
  --z-overlay: 30;
}

/* ---------- 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, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Sora", "Inter", sans-serif;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Utilitaires ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; position: relative; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Accessibilité : focus visible */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ---------- Eyebrow / en-têtes de section ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 7px 15px;
  border-radius: 999px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
}
.eyebrow-light { color: var(--violet); background: rgba(124, 58, 237, 0.09); border-color: rgba(124, 58, 237, 0.2); }

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 18px 0 14px;
}
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(37, 99, 235, 0.42); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow-md); }

.btn-light {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.36); }

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 26px rgba(34, 163, 86, 0.32);
}
.btn-whatsapp:hover { transform: translateY(-2px); background: #1c8c48; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--grad);
  border-radius: 11px;
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.logo-mark svg { width: 21px; height: 21px; }
.logo-text {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
}
.logo-accent { color: var(--blue); }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 10px;
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover { color: var(--blue); background: var(--bg-tint); }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding: 150px 0 70px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.blob-1 {
  width: 480px; height: 480px;
  background: #3b82f6;
  top: -140px; right: -90px;
}
.blob-2 {
  width: 420px; height: 420px;
  background: #8b5cf6;
  bottom: -160px; left: -120px;
  opacity: 0.5;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 75%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.hero .eyebrow {
  color: #c7d2fe;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  font-weight: 800;
  margin: 20px 0 18px;
}

.hero-sub {
  color: #cbd5e1;
  font-size: 1.13rem;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero .btn-ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.28); box-shadow: none; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.5); }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 14px;
  border-radius: 999px;
}
.hero-pills .icon { width: 16px; height: 16px; color: #93c5fd; }
.hero-pills .icon.star { color: var(--amber); }

/* --- Visuel hero : téléphone + cartes --- */
.hero-visual {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone {
  position: relative;
  width: 230px;
  height: 440px;
  background: linear-gradient(165deg, #1e293b, #0f172a);
  border-radius: 38px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 6px #0b1120;
  padding: 14px;
  transform: rotate(-7deg);
  animation: float 6s ease-in-out infinite;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 20px;
  background: #0b1120;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  height: 100%;
  background: linear-gradient(165deg, #1d4ed8 0%, #4f46e5 55%, #7c3aed 100%);
  border-radius: 28px;
  padding: 34px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.phone-bars { display: inline-flex; gap: 2px; align-items: flex-end; }
.phone-bars i { width: 3px; background: #fff; border-radius: 2px; }
.phone-bars i:nth-child(1) { height: 5px; }
.phone-bars i:nth-child(2) { height: 8px; }
.phone-bars i:nth-child(3) { height: 11px; }
.phone-bars i:nth-child(4) { height: 14px; }

.phone-shield {
  width: 64px; height: 64px;
  margin: 14px auto 4px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
}
.phone-shield svg { width: 32px; height: 32px; }
.phone-title {
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  font-family: "Sora", sans-serif;
}
.phone-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  padding: 9px 13px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}
.phone-metric b { color: #fff; }

/* Cartes verre flottantes */
.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.glass-card strong { display: block; font-size: 0.9rem; color: var(--ink); font-family: "Sora", sans-serif; }
.glass-card small { display: block; font-size: 0.74rem; color: var(--muted); }
.card-ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue);
  border-radius: 11px;
}
.card-ico svg { width: 20px; height: 20px; }
.card-ico.ico-amber { background: rgba(245, 158, 11, 0.16); color: #d97706; }

.card-diag { top: 28px; left: -6px; animation: float 7s ease-in-out infinite; }
.card-time { bottom: 44px; right: -10px; animation: float 6.5s ease-in-out infinite reverse; }
.card-rating {
  bottom: -6px; left: 8px;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  animation: float 8s ease-in-out infinite;
}
.card-rating .stars { color: var(--amber); font-size: 0.82rem; letter-spacing: 1px; }
.card-rating strong { font-size: 1.15rem; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-10px) rotate(-7deg); }
}
.card-diag, .card-time, .card-rating {
  animation-name: floatCard;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* --- Bandeau de confiance --- */
.trust-strip {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px 18px;
  position: relative;
  z-index: 1;
}
.trust-item { text-align: center; }
.trust-item strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(120deg, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-item span { font-size: 0.84rem; color: #94a3b8; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg-soft); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.4);
}
.service-ico {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--grad);
  border-radius: 14px;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: var(--shadow-blue);
  transition: transform .25s ease;
}
.service-card:hover .service-ico { transform: scale(1.08) rotate(-4deg); }
.service-ico svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 9px; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   POURQUOI NOUS
   ============================================================ */
.why { background: #fff; overflow: hidden; }
.why-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob-3 {
  width: 540px; height: 540px;
  background: rgba(124, 58, 237, 0.1);
  top: -180px; right: -180px;
  filter: blur(110px);
  opacity: 1;
}
.why .container { position: relative; z-index: 1; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  background: linear-gradient(180deg, #ffffff, var(--bg-tint));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.35);
}
.why-ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 14px;
  color: var(--blue);
  margin-bottom: 16px;
  transition: background-color .25s ease, color .25s ease;
}
.why-card:hover .why-ico { background: var(--grad); color: #fff; }
.why-ico svg { width: 25px; height: 25px; }
.why-card h3 { font-size: 1.13rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.96rem; }

/* ============================================================
   AVIS
   ============================================================ */
.reviews { background: var(--bg-soft); }

.rating-board {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  max-width: 560px;
  margin: 0 auto 44px;
  box-shadow: var(--shadow-sm);
}
.rating-score { display: flex; align-items: baseline; }
.rating-number {
  font-family: "Sora", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rating-of { font-size: 1.4rem; font-weight: 700; color: var(--muted-2); }
.rating-meta { border-left: 1px solid var(--line); padding-left: 28px; }
.stars { color: var(--amber); letter-spacing: 2px; }
.stars-lg { font-size: 1.5rem; }
.rating-meta p { margin: 4px 0 2px; font-size: 1.05rem; }
.rating-note { font-size: 0.82rem; color: var(--muted-2); }

.reviews-grid { grid-template-columns: repeat(3, 1fr); }
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review-card .stars { font-size: 1.05rem; margin-bottom: 12px; }
.review-text { color: var(--ink-soft); font-size: 1rem; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}
.review-author strong { display: block; font-size: 0.96rem; }
.review-author small { color: var(--muted-2); font-size: 0.82rem; }

.reviews-disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-top: 26px;
}

/* ============================================================
   CTA INTERMÉDIAIRE
   ============================================================ */
.cta-band {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding: 84px 0;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.blob-4 { width: 380px; height: 380px; background: #3b82f6; top: -120px; left: 10%; }
.blob-5 { width: 360px; height: 360px; background: #8b5cf6; bottom: -150px; right: 8%; }

.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 680px; }
.cta-inner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}
.cta-inner p { color: #cbd5e1; font-size: 1.1rem; margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
}

.contact-card,
.appointment-card {
  background: linear-gradient(180deg, #ffffff, var(--bg-tint));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}
.contact-name {
  font-size: 1.5rem;
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.contact-name::before {
  content: "";
  width: 30px; height: 4px;
  background: var(--grad);
  border-radius: 4px;
}

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 12px;
  color: var(--blue);
}
.contact-ico svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: "Sora", sans-serif; font-size: 0.95rem; }
.contact-list span,
.contact-list a { color: var(--muted); font-size: 0.98rem; }
.contact-list a:hover { color: var(--blue); }

.badge-open {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(22, 163, 74, 0.12);
  padding: 2px 9px;
  border-radius: 999px;
}

.contact-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.contact-hint {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.appointment-form label {
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.appointment-form input,
.appointment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.appointment-form textarea {
  resize: vertical;
  min-height: 130px;
}
.appointment-form input:focus,
.appointment-form textarea:focus {
  border-color: rgba(37, 99, 235, 0.72);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.appointment-form ::placeholder { color: #94a3b8; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  padding-top: 4px;
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted-2);
  margin-top: -2px;
}

.map-card {
  grid-column: 1 / -1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-height: 380px;
}
.map-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-soft); }

.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: rgba(37, 99, 235, 0.4); box-shadow: var(--shadow-md); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }

.faq-chevron {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--bg-tint);
  border-radius: 9px;
  color: var(--blue);
  transition: transform .25s ease, background-color .2s ease;
}
.faq-chevron svg { width: 17px; height: 17px; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); background: var(--grad); color: #fff; }

.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--muted); font-size: 0.98rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0b1120;
  color: #cbd5e1;
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.logo-footer .logo-text { color: #fff; }
.logo-footer .logo-accent { color: #93c5fd; }
.footer-brand p { margin: 16px 0 14px; font-size: 0.95rem; max-width: 380px; color: #94a3b8; }
.footer-brand .stars { font-size: 0.95rem; }
.footer-rating { color: #94a3b8; font-size: 0.85rem; margin-left: 4px; }

.footer-col h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col a,
.footer-col span {
  display: block;
  color: #94a3b8;
  font-size: 0.94rem;
  margin-bottom: 10px;
  transition: color .2s ease;
}
.footer-col a:hover { color: #93c5fd; }
.footer-hours { margin-top: 4px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.85rem;
  color: #64748b;
}

/* ============================================================
   BOUTON WHATSAPP FLOTTANT (mobile)
   ============================================================ */
.floating-call {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: var(--z-float);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(34, 163, 86, 0.36);
}
.floating-call svg { width: 20px; height: 20px; }

/* ============================================================
   ANIMATIONS AU SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   BARRE DE PROGRESSION DE DÉFILEMENT
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: var(--z-progress);
  transition: width .12s linear;
}

/* ============================================================
   NAVIGATION : LIEN ACTIF (scrollspy)
   ============================================================ */
.main-nav a.active {
  color: var(--blue);
  background: var(--bg-tint);
}

/* ============================================================
   PASTILLES HERO : effet au survol
   ============================================================ */
.hero-pills li {
  transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}
.hero-pills li:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   SECTION « COMMENT ÇA MARCHE »
   ============================================================ */
.process { background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.4);
}

.step-index {
  position: absolute;
  top: 12px; right: 22px;
  font-family: "Sora", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.18));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step-ico {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--grad);
  border-radius: 14px;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: var(--shadow-blue);
  transition: transform .25s ease;
}
.step-card:hover .step-ico { transform: scale(1.08) rotate(-4deg); }
.step-ico svg { width: 27px; height: 27px; }
.step-card h3 { font-size: 1.15rem; margin-bottom: 9px; }
.step-card p { color: var(--muted); font-size: 0.96rem; }

.process-cta { text-align: center; margin-top: 40px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 420px; }
  .hero-sub { max-width: none; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .3s ease;
    z-index: var(--z-overlay);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 14px; font-size: 1.02rem; }
  .nav-toggle { display: flex; }
  .btn-call span { display: none; }
  .btn-call { padding: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-card { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .section { padding: 70px 0; }
  .container { padding: 0 18px; }
  .hero { padding: 124px 0 60px; }
  .cards-grid,
  .why-grid,
  .reviews-grid,
  .steps { grid-template-columns: 1fr; }
  .process-cta .btn { width: 100%; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .trust-item:last-child { grid-column: 1 / -1; }
  .rating-board { flex-direction: column; gap: 14px; text-align: center; padding: 26px 22px; }
  .rating-meta { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 14px; }
  .hero-visual { height: 380px; transform: scale(0.92); }
  .contact-card,
  .appointment-card { padding: 28px 22px; }
  .form-split { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .hero-cta .btn,
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.95rem; }
  .floating-call span { display: none; }
  .floating-call { padding: 15px; }
}

/* ============================================================
   PRÉFÉRENCE : MOUVEMENT RÉDUIT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
