/* ============================================================
   APP.CSS — Composants, sections, animations, utilitaires
   vitrier-urgence.surdijon.fr
   ============================================================ */

/* ─── @PROPERTY — VARIABLES CSS ANIMALES ─────────────────── */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --pulse-scale {
  syntax: '<number>';
  initial-value: 1;
  inherits: false;
}

/* ─── GRADIENT ANIMÉ PREMIUM ─────────────────────────────── */
.gradient-animated {
  background: conic-gradient(
    from var(--gradient-angle),
    var(--accent) 0%,
    var(--warm) 25%,
    var(--primary) 50%,
    var(--accent) 75%,
    var(--accent) 100%
  );
  animation: rotate-gradient 8s linear infinite;
}
@keyframes rotate-gradient {
  to { --gradient-angle: 360deg; }
}

/* ─── FIELD-SIZING AUTO-EXPANSIVE ────────────────────────── */
@supports (field-sizing: content) {
  textarea {
    field-sizing: content;
    min-height: 3lh;
    max-height: 12lh;
  }
}

@layer components {

/* ─── ACCESSIBILITÉ ──────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--accent); color: #1a1000;
  font-weight: 700; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r) var(--r);
  z-index: 10000; transition: top .2s;
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── BOUTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: var(--r-full);
  font-family: var(--font-display); font-weight: 700;
  font-size: .9375rem; line-height: 1;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  cursor: pointer; border: 2px solid transparent;
  white-space: nowrap; min-height: 48px;
}
.btn:hover   { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active  { transform: translateY(0); }

.btn-primary           { background: var(--accent); color: #1a1000; border-color: var(--accent); }
.btn-primary:hover     { background: var(--accent-dark); border-color: var(--accent-dark); color: #1a1000; }
.btn-outline           { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover     { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-outline-dark      { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-outline-dark:hover{ border-color: var(--primary); background: var(--surface); }
.btn-lg                { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-full              { width: 100%; justify-content: center; }
.btn-pulse {
  animation: pulse 2.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}

.btn-tel {
  background: var(--accent); color: #1a1000;
  font-size: 1.0625rem; font-weight: 800;
  padding: .875rem 1.75rem; border-radius: var(--r-full);
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background var(--trans);
}
.btn-tel:hover { background: var(--accent-dark); color: #1a1000; }

.btn-nav {
  background: var(--primary); color: #fff;
  padding: .5rem 1.125rem; border-radius: var(--r-full);
  font-family: var(--font-display); font-weight: 700;
  font-size: .875rem; display: none;
  align-items: center; gap: .375rem;
  transition: background var(--trans); min-height: 40px;
}
.btn-nav:hover { background: var(--primary-light); }
@media (min-width: 640px) { .btn-nav { display: inline-flex; } }

/* ─── BADGE ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .325rem .875rem; border-radius: var(--r-full);
  font-family: var(--font-display); font-size: .8125rem;
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--accent-light); color: #9a5c0a;
  border: 1px solid rgba(0,188,212,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.badge--dark {
  background: rgba(0,188,212,.14); color: #7FE5F0;
  border-color: rgba(0,188,212,.28);
}
.badge--outline {
  background: transparent; color: var(--primary);
  border-color: var(--border);
}
.badge--form {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
}

/* ─── LIVE DOT ───────────────────────────────────────────── */
.live-dot    { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; animation: livePulse 1.8s ease-in-out infinite; }
.live-dot--lg{ width: 10px; height: 10px; }
.live-dot--sm{ width: 6px; height: 6px; }

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.2); }
}

/* ─── TOPBAR ─────────────────────────────────────────────── */
.topbar {
  background: var(--primary-dark);
  background-image: linear-gradient(90deg, var(--primary-dark) 0%, #0a3d40 50%, var(--primary-dark) 100%);
  color: rgba(255,255,255,.92);
  font-size: .8125rem; font-family: var(--font-display); font-weight: 600;
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid rgba(255,179,71,.15);
  transition: transform .35s var(--ease-out);
}
.topbar.hidden { transform: translateY(-100%); }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .5rem 0; flex-wrap: wrap;
}
.topbar__left  { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar__msg   { display: flex; align-items: center; gap: .5rem; }
.topbar__msg-sub { color: rgba(255,255,255,.7); font-size: .75rem; display: flex; align-items: center; gap: .375rem; }
.topbar__msg-sub svg { color: var(--accent); }
.topbar__tel {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #1a1000; padding: .3rem .875rem; border-radius: var(--r-full);
  font-weight: 800; font-size: .875rem;
  display: flex; align-items: center; gap: .375rem;
  box-shadow: 0 2px 8px rgba(255,179,71,.35);
  transition: box-shadow var(--trans), transform var(--trans);
}
.topbar__tel:hover { box-shadow: 0 4px 16px rgba(255,179,71,.5); transform: translateY(-1px); }
.topbar__actions { display: flex; align-items: center; gap: .75rem; }
.topbar__dark-toggle {
  display: flex; align-items: center; gap: .25rem;
  padding: .25rem .625rem; border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.75);
  font-size: .75rem; font-family: var(--font-display); font-weight: 600;
  transition: background var(--trans), border-color var(--trans); cursor: pointer; background: none;
}
.topbar__dark-toggle:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); color: #fff; }

/* ─── HEADER ─────────────────────────────────────────────── */
.header {
  background: rgba(250,252,254,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans);
}
@supports not (backdrop-filter: blur(1px)) { .header { background: var(--bg); } }
.header.scrolled {
  box-shadow: 0 4px 24px rgba(13,115,119,.1), 0 1px 0 rgba(255,179,71,.08);
  top: 0;
  border-bottom-color: rgba(255,179,71,.2);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 68px;
}
.logo { display: flex; align-items: center; gap: .625rem; text-decoration: none; }
.logo__icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--r-md); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(12,30,53,.25), inset 0 1px 0 rgba(255,255,255,.15);
}
.logo__text { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; color: var(--primary); line-height: 1.2; }
.logo__text span { display: block; font-size: .6875rem; font-weight: 600; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }

.nav-desktop { display: none; align-items: center; gap: .125rem; }
@media (min-width: 900px) { .nav-desktop { display: flex; } }
.nav-link {
  padding: .5rem .75rem; border-radius: var(--r-md);
  font-family: var(--font-display); font-size: .875rem; font-weight: 600;
  color: var(--text-muted); transition: color var(--trans), background var(--trans);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--accent); border-radius: 1px;
  transition: left var(--trans), right var(--trans);
}
.nav-link:hover { color: var(--primary); background: var(--surface); }
.nav-link:hover::after { left: .75rem; right: .75rem; }

.header__actions { display: flex; align-items: center; gap: .75rem; }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: var(--r); transition: background var(--trans);
  background: none; border: none; cursor: pointer; padding: 0;
}
.hamburger:hover { background: var(--surface); }
@media (min-width: 900px) { .hamburger { display: none; } }
.hamburger span {
  width: 22px; height: 2px; background: var(--primary);
  border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s, width .3s;
  transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV ─────────────────────────────────────────── */
.mob-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--primary-dark);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease-out);
  overflow-y: auto;
}
.mob-nav[aria-hidden="false"] { transform: translateX(0); }
.mob-nav__close {
  align-self: flex-end; margin: 1rem 1rem 0;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r); color: rgba(255,255,255,.9); font-size: 1.5rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  transition: background var(--trans); cursor: pointer;
  z-index: 100; position: relative;
}
.mob-nav__close:hover { background: rgba(255,255,255,.15); }
.mob-nav__call {
  background: var(--accent); color: var(--primary-dark);
  margin: 1.5rem 1.25rem 0; border-radius: var(--r-lg);
  padding: 1.125rem 1.25rem; text-align: center;
}
.mob-nav__call-label {
  font-size: .8125rem; font-weight: 600; opacity: .95; margin-bottom: .25rem;
  display: flex; align-items: center; justify-content: center;
  gap: .4rem; color: var(--primary-dark);
}
.mob-nav__call-tel {
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; gap: .5rem; color: #1a1000;
}
.mob-nav__links { padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; }
.mob-nav__link {
  display: flex; align-items: center; gap: .75rem;
  padding: .875rem 1rem; border-radius: var(--r-md);
  color: rgba(255,255,255,.85); font-family: var(--font-display);
  font-weight: 600; font-size: 1rem;
  transition: background var(--trans), color var(--trans);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mob-nav__link:last-child { border-bottom: none; }
.mob-nav__link:hover { background: rgba(255,255,255,.08); color: #fff; }
.mob-nav__link svg { color: var(--accent); flex-shrink: 0; }
.mob-nav__link--cta { background: rgba(255,179,71,.12); border: 1px solid rgba(255,179,71,.22); color: #ffb347; }
.mob-nav__cta { margin: 0 1.25rem 2rem; display: flex; flex-direction: column; gap: .75rem; }

/* ─── HERO — Teal & Gold Premium ──────────────────────── */
.hero {
  background:
    linear-gradient(160deg, var(--primary-dark) 0%, #0a3d40 45%, #0d5c5f 100%);
  position: relative; overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 8rem); text-align: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 500px at 15% 75%, rgba(255,179,71,.10) 0%, transparent 55%),
    radial-gradient(ellipse 500px 400px at 85% 25%, rgba(255,140,66,.07) 0%, transparent 50%),
    radial-gradient(ellipse 300px 300px at 50% 100%, rgba(255,179,71,.06) 0%, transparent 60%),
    radial-gradient(ellipse 200px 600px at 50% 40%, rgba(255,255,255,.02) 0%, transparent 50%);
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 72px; background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
/* Grille verre — motif unique anti-clone */
.hero__particles {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,179,71,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,179,71,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero__inner  { position: relative; z-index: 1; max-width: 820px; margin-inline: auto; }
.hero__badge  {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem 1rem; border-radius: var(--r-full);
  background: rgba(255,179,71,.12);
  border: 1px solid rgba(255,179,71,.35);
  color: #ffb347;
  font-family: var(--font-display); font-size: .8125rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 16px rgba(255,179,71,.15);
}
.hero h1                        { color: #fff; margin-bottom: 1.375rem; }
.hero h1 em                     { color: var(--accent); font-style: italic; }
.hero__h1-accent                {
  color: var(--accent);
  font-size: .68em; display: block; margin-top: .3rem;
  font-weight: 700; letter-spacing: -.01em;
}
.hero__sub                      {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  max-width: 56ch; margin-inline: auto; margin-bottom: 2.5rem;
  line-height: 1.75;
}
.hero__sub strong               { color: #fff; }
.hero__sub u                    {
  color: var(--accent);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.hero__actions                  { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .875rem; margin-bottom: 2.5rem; }
.hero__social-proof             {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.75);
  margin-bottom: 2.75rem; font-family: var(--font-display); font-weight: 600;
}
.hero__social-proof strong      { color: #fff; }
.hero__stats                    {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid rgba(255,179,71,.2);
  max-width: 640px; margin-inline: auto;
  box-shadow: 0 0 32px rgba(255,179,71,.12);
}
@media (min-width: 560px) { .hero__stats { grid-template-columns: repeat(4,1fr); } }
.hero__stat                     {
  background: rgba(255,255,255,.04);
  padding: 1.375rem 1rem; text-align: center;
  backdrop-filter: blur(8px);
  transition: background var(--trans);
}
.hero__stat:hover               { background: rgba(255,179,71,.08); }
.hero__stat-val                 {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800; color: var(--accent);
  line-height: 1; margin-bottom: .3rem;
  text-shadow: 0 0 20px rgba(255,179,71,.4);
}
.hero__stat-lab                 { display: block; font-size: .72rem; color: rgba(255,255,255,.7); font-weight: 600; line-height: 1.35; text-transform: uppercase; letter-spacing: .04em; }
.hero__wave                     { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero__wave svg                 { width: 100%; height: 72px; }

/* ─── TRUST BAR ──────────────────────────────────────────── */
.trust-bar {
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--border-soft);
  background: #fff;
  box-shadow: 0 1px 0 var(--border-soft);
}
.trust-items     { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2.25rem; }
.trust-item      {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: .875rem; font-weight: 700;
  color: var(--primary);
}
.trust-item svg  { color: var(--accent); flex-shrink: 0; }
.trust-item--highlight { color: var(--accent-dark); }
.trust-item--highlight svg { color: var(--warm); }
.rating-stars    { display: flex; gap: .1rem; color: var(--warm); }

/* ─── SECTION HEADER ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-header--left { text-align: left; }
.section-header .badge { margin-bottom: .875rem; }
.section-header h2     { margin-bottom: .875rem; }
.section-header p      { max-width: 60ch; margin-inline: auto; }
.section-header--left p { margin-inline: 0; }

/* ─── SERVICE CARDS — Glassmorphism Crystal ──────────────── */
.service-card {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--accent);
  padding: 1.875rem;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
/* Reflet lumineux en haut de la carte */
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,179,71,.35) 50%, transparent 100%);
}
/* Halo au hover */
.service-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: var(--r-xl);
  background: radial-gradient(ellipse 200px 200px at 50% 0%, rgba(255,179,71,.06) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--trans);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,179,71,.25);
}
.service-card:hover::after { opacity: 1; }
.service-card--featured {
  border-top-color: var(--primary);
  background: linear-gradient(160deg, var(--accent-light) 0%, #fff 40%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,179,71,.08);
}
.service-card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: var(--accent-dark); flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
  transition: background var(--trans), transform var(--trans);
}
.service-card:hover .service-card__icon { background: rgba(255,179,71,.12); transform: scale(1.08); }
.service-card--featured .service-card__icon { background: rgba(13,115,119,.06); color: var(--primary); }
.service-card__title { font-size: 1.125rem; margin-bottom: .625rem; color: var(--primary); }
.service-card__desc  { font-size: .9375rem; line-height: 1.72; }
.service-card__tag   {
  display: inline-block; margin-top: 1rem; padding: .225rem .7rem;
  border-radius: var(--r-full); background: var(--accent-light);
  color: var(--accent-dark); font-size: .75rem; font-weight: 700;
  font-family: var(--font-display); border: 1px solid rgba(255,179,71,.2);
}

/* ─── GRID UTILITIES ──────────────────────────────────────── */
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ─── PAIN CARDS ─────────────────────────────────────────── */
.pain-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.pain-card {
  background: var(--bg); border-radius: var(--r-lg);
  border: 1px solid var(--border); border-left: 4px solid var(--danger);
  padding: 1.5rem 1.75rem; display: flex; gap: 1.25rem;
  align-items: flex-start; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans);
}
.pain-card:hover          { box-shadow: var(--shadow); }
.pain-card__icon          { width: 48px; height: 48px; min-width: 48px; border-radius: var(--r-md); background: #fef2f2; display: flex; align-items: center; justify-content: center; color: var(--danger); }
.pain-card__body h3       { font-size: 1.0625rem; margin-bottom: .35rem; color: var(--primary); }
.pain-card__body p        { font-size: .9rem; }

/* ─── GEO BLOCK ──────────────────────────────────────────── */
.geo-wrapper { display: grid; gap: 3rem; }
@media (min-width: 992px) { .geo-wrapper { grid-template-columns: 1fr 1fr; align-items: start; } }
.geo-block {
  background: linear-gradient(135deg, rgba(13,115,119,.04) 0%, rgba(255,179,71,.06) 100%);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 2rem; position: relative; overflow: hidden;
}
.geo-block::before { content: ''; position: absolute; top: 0; right: 0; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,179,71,.12) 0%, transparent 70%); pointer-events: none; }
.geo-block::after  { content: ''; position: absolute; bottom: 0; left: 0; width: 150px; height: 150px; background: radial-gradient(circle, rgba(13,115,119,.08) 0%, transparent 70%); pointer-events: none; }
.geo-block-content { position: relative; z-index: 1; }
.geo-highlight     { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .75rem; border-radius: var(--r-full); background: var(--accent-light); border: 1px solid #ffe4c4; font-family: var(--font-display); font-size: .75rem; font-weight: 700; color: var(--accent-dark); margin-bottom: 1rem; }
.geo-stats         { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.geo-stat          { text-align: center; }
.geo-stat-val      { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.geo-stat-label    { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }

/* ─── ZONE GROUPS ──────────────────────────────────────────── */
.zone-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 1.5rem; }
.zone-group       { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.zone-group__title{ font-family: var(--font-display); font-size: .875rem; font-weight: 700; color: var(--primary); margin-bottom: .875rem; display: flex; align-items: center; gap: .375rem; }
.zone-group__title svg { color: var(--accent); }
.zone-list        { display: flex; flex-wrap: wrap; gap: .4rem; }
.zone-item        { font-size: .8125rem; padding: .2rem .625rem; background: var(--surface); border-radius: var(--r-full); color: #475569; }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list             { display: grid; gap: 1.5rem; }
.faq-category         { display: grid; gap: .75rem; }
.faq-category__header {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: .875rem; font-weight: 800;
  color: var(--primary); text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: .25rem; padding-bottom: .5rem; border-bottom: 2px solid var(--border);
}
.faq-category__header svg { color: var(--accent); flex-shrink: 0; }
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  border-left: 3px solid var(--accent);
  background: var(--bg);
  transition: box-shadow var(--trans), border-color var(--trans);
}
.faq-item[open] {
  box-shadow: var(--shadow);
  border-left-color: var(--accent-dark);
  border-color: rgba(255,179,71,.2);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.125rem 1.5rem; cursor: pointer;
  list-style: none; font-family: var(--font-display);
  font-weight: 700; color: var(--primary); user-select: none;
  transition: background var(--trans);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover                   { background: var(--surface); }
.faq-item[open] summary                   { background: var(--accent-light); }
.faq-question  { flex: 1; font-size: .9875rem; line-height: 1.5; }
.faq-icon      { width: 22px; height: 22px; min-width: 22px; color: var(--accent-dark); transition: transform var(--trans); }
.faq-item[open] .faq-icon   { transform: rotate(180deg); color: var(--accent-dark); }
.faq-body__inner            { padding: .25rem 1.5rem 1.375rem; color: var(--text-muted); line-height: 1.82; font-size: .9375rem; border-top: 1px solid var(--border-soft); }

/* ─── INFO CARD ──────────────────────────────────────────── */
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.25rem 1.5rem;
  margin-top: 1.5rem; display: flex; gap: .875rem; align-items: flex-start;
}
.info-card__icon { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.info-card__title { color: var(--primary); font-weight: 700; font-family: var(--font-display); margin-bottom: .25rem; }
.info-card__body  { font-size: .875rem; color: var(--text-muted); }

/* ─── TARIF TABLE ─────────────────────────────────────────── */
.table-scroll { overflow-x: auto; border-radius: var(--r-xl); }
.tarif-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--bg); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.tarif-table thead th       { background: var(--primary); color: #fff; padding: 1rem 1.25rem; text-align: left; font-family: var(--font-display); font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tarif-table tbody tr       { transition: background var(--trans); }
.tarif-table tbody tr:hover { background: var(--surface); }
.tarif-table td             { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); font-size: .9375rem; vertical-align: middle; }
.tarif-table td:last-child  { font-family: var(--font-display); font-weight: 800; color: var(--primary); text-align: right; white-space: nowrap; }
.tarif-table tr:last-child td           { border-bottom: none; }
.tarif-table .row-featured              { background: var(--accent-light); }
.tarif-table .row-featured td:last-child{ color: #9a5c0a; }

/* ─── FORMULAIRE ─────────────────────────────────────────── */
.lead-form-section   {
  background: linear-gradient(160deg, var(--primary-dark) 0%, #0a3d40 50%, #0d5c5f 100%);
  position: relative; overflow: hidden;
}
.lead-form-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 600px 400px at 0% 50%, rgba(255,179,71,.08) 0%, transparent 60%),
    radial-gradient(ellipse 400px 500px at 100% 80%, rgba(255,140,66,.06) 0%, transparent 50%);
}
.lead-form-wrapper   { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 860px) { .lead-form-wrapper { grid-template-columns: 1fr 1fr; } }
.lead-form-left h2   { color: #fff; }
.lead-form-left p    { color: rgba(255,255,255,.9); }
.lead-form-left strong { color: var(--accent); }
.lead-form-left em { color: var(--accent); font-style: italic; }
.lead-form-benefits  { display: flex; flex-direction: column; gap: .625rem; margin-top: 1.5rem; }
.lead-form-benefit   { display: flex; align-items: flex-start; gap: .625rem; font-size: .9375rem; color: rgba(255,255,255,.8); font-family: var(--font-display); font-weight: 600; }
.lead-form-benefit strong { color: var(--accent); }
.lead-form-benefit em { color: var(--accent); font-style: italic; }
.lead-form-benefit svg{ color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.lead-form-urgence-box {
  margin-top: 2rem; padding: 1.5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; text-align: center;
}
.lead-form-urgence-box__msg {
  color: rgba(255,255,255,.9); font-size: .875rem; margin-bottom: .5rem;
}
.lead-form-urgence-box__msg strong { color: var(--accent); }
.lead-form-urgence-box__msg em { color: var(--accent); font-style: italic; }

.lead-form       { background: var(--bg); border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--shadow-xl); }
.lead-form__title{ font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; color: var(--primary); margin-bottom: 1.5rem; padding-bottom: .875rem; border-bottom: 2px solid var(--border); }
.lead-form__step { display: none; }
.lead-form__step.active { display: block; }

.form-group              { margin-bottom: 1.125rem; }
.form-group label        { display: block; font-family: var(--font-display); font-size: .875rem; font-weight: 700; color: var(--primary); margin-bottom: .375rem; }
.form-control {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: .9375rem; color: var(--text); background: var(--bg);
  transition: border-color var(--trans), box-shadow var(--trans);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,179,71,.18);
}
.form-control.error      { border-color: var(--danger); }
.form-control::placeholder{ color: var(--text-muted); }
.form-error              { display: block; font-size: .8125rem; color: #b91c1c; margin-top: .25rem; min-height: 1.2em; }
.form-honeypot           { display: none !important; }
.form-privacy            { display: flex; align-items: flex-start; gap: .5rem; font-size: .8125rem; color: var(--text-muted); margin-top: .875rem; line-height: 1.5; }
.form-privacy svg        { flex-shrink: 0; color: var(--success); margin-top: 1px; }
.form-success-wrapper { display: none; text-align: center; padding: 2rem 1rem; }
.form-success__icon      { width: 64px; height: 64px; border-radius: 50%; background: #d1fae5; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; }
.step-indicators         { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; font-family: var(--font-display); font-size: .8125rem; font-weight: 700; color: var(--text-muted); }
.step-dot                { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background var(--trans); }
.step-dot.active         { background: var(--accent); }
.step-btns               { display: flex; gap: .75rem; margin-top: 1rem; }
.btn-step-back   { flex: .4; }
.btn-step-submit { flex: 1; }
.link-accent    { color: var(--accent-dark); font-weight: 700; text-decoration: underline; }
.link-inherit   { color: inherit; text-decoration: underline; }
.nowrap-underline { white-space: nowrap; text-decoration: underline; }
.fw-normal      { font-weight: 400; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer              { background: var(--primary-dark); color: rgba(255,255,255,.95); }
.footer__urgence     { background: var(--primary); border-bottom: 1px solid rgba(255,255,255,.08); padding: 1rem 0; }
.footer__urgence-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__urgence-msg { display: flex; align-items: center; gap: .75rem; font-family: var(--font-display); font-size: .9375rem; color: rgba(255,255,255,.9); }
.footer__urgence-msg strong { color: #fff; }
.footer__urgence-actions { display: flex; align-items: center; gap: .75rem; }
.footer__urgence-tel { background: var(--accent); color: #1a1000; padding: .625rem 1.25rem; border-radius: var(--r-full); font-family: var(--font-display); font-weight: 800; font-size: .9375rem; display: flex; align-items: center; gap: .375rem; transition: background var(--trans); }
.footer__urgence-tel:hover { background: var(--accent-dark); color: #1a1000; }
.footer__urgence-devis { font-size: .875rem; font-family: var(--font-display); font-weight: 600; color: rgba(255,255,255,.85); padding: .5rem 1rem; border: 1px solid rgba(255,255,255,.35); border-radius: var(--r-full); transition: background var(--trans); }
.footer__urgence-devis:hover { background: rgba(255,255,255,.08); color: #fff; }
.footer__guarantees  { border-bottom: 1px solid rgba(255,255,255,.06); padding: 1.125rem 0; }
.footer__guarantees-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; }
.footer__guarantee   { display: flex; align-items: center; gap: .625rem; font-family: var(--font-display); font-size: .8125rem; }
.footer__guarantee-icon { width: 32px; height: 32px; background: rgba(255,179,71,.14); border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.footer__guarantee strong { display: block; color: var(--accent); font-weight: 700; }
.footer__guarantee span   { display: block; color: rgba(255,255,255,.72); font-size: .75rem; }
.footer__grid        { display: grid; gap: 2.5rem; padding: 3rem 0 2rem; }
@media (min-width: 640px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__logo        { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer__logo-icon   { width: 42px; height: 42px; background: var(--accent); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer__logo-text   { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #fff; line-height: 1.3; }
.footer__logo-text span { display: block; font-size: .7rem; font-weight: 500; color: rgba(255,255,255,.65); }
.footer__desc        { font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.75); margin-bottom: 1.25rem; }
.footer__desc strong  { color: var(--accent); }
.footer__certs       { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.footer__cert        { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .75rem; border-radius: var(--r-full); background: rgba(255,179,71,.1); border: 1px solid rgba(255,179,71,.18); font-size: .75rem; font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.footer__nap         { display: flex; flex-direction: column; gap: .625rem; }
.footer__nap-item    { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.72); line-height: 1.5; }
.footer__nap-item svg{ flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.footer__nap-item a  { color: rgba(255,255,255,.72); text-decoration: underline; text-underline-offset: 2px; transition: color var(--trans); }
.footer__nap-item a:hover { color: var(--accent); }
.footer__nap-hours   { font-size: .8125rem; color: rgba(255,255,255,.6); }
.footer__nap-hours strong { color: var(--accent); }
.footer__col-title  { font-family: var(--font-display); font-weight: 700; font-size: .8125rem; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .875rem; }
.footer__list       { display: flex; flex-direction: column; gap: .5rem; }
.footer__list li a  { display: flex; align-items: center; gap: .375rem; font-size: .875rem; color: rgba(255,255,255,.7); transition: color var(--trans); }
.footer__list li a:hover { color: var(--accent); }
.footer__list li a svg     { color: rgba(255,179,71,.6); flex-shrink: 0; }
.footer__list--zones li    { display: flex; align-items: center; gap: .375rem; font-size: .8125rem; color: rgba(255,255,255,.65); padding: .175rem 0; }
.footer__list--zones svg   { color: rgba(255,179,71,.5); flex-shrink: 0; }
.footer__avail-badge       { display: inline-flex; align-items: center; gap: .5rem; padding: .375rem .875rem; border-radius: var(--r-full); background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.22); color: #86efac; font-size: .8125rem; font-family: var(--font-display); font-weight: 700; margin-top: 1rem; }
.footer__zone-pill         { display: inline-flex; align-items: center; gap: .375rem; padding: .3rem .75rem; border-radius: var(--r-full); background: rgba(255,179,71,.08); border: 1px solid rgba(255,179,71,.16); font-size: .75rem; font-family: var(--font-display); font-weight: 700; color: var(--accent); margin-top: 1rem; }
.footer__bottom            { border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 0 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; font-size: .8125rem; color: #fff !important; }
.footer__bottom p          { color: #fff !important; }
.footer__bottom strong     { color: var(--accent); font-weight: 700; }
.footer__bottom a          { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.footer__bottom a:hover    { color: #fff; }

/* ─── MOBILE CTA BAR ─────────────────────────────────────── */
.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg); border-top: 1px solid var(--border); padding: .75rem 1rem; display: flex; gap: .75rem; z-index: 250; box-shadow: 0 -4px 16px rgba(0,0,0,.1); transition: transform .35s var(--ease-out); }
.mobile-cta-bar.hidden { transform: translateY(100%); }
@media (min-width: 860px) { .mobile-cta-bar { display: none; } }
.mobile-cta-bar a { flex: 1; justify-content: center; font-size: .875rem; padding: .75rem .5rem; min-height: 44px; }

/* ─── PREFERS-REDUCED-MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn-pulse, .live-dot, .gradient-animated { animation: none !important; }
}

} /* end @layer components */

/* ─── FOOTER OVERRIDES — Contrast fixes (light + dark) ─── */
.footer,
[data-theme="dark"] .footer { background: var(--primary-dark); color: rgba(255,255,255,.95) !important; }
/* Accent text — lighter amber for 4.5:1 on teal bg */
.footer__urgence-msg strong,
.footer__guarantee strong,
.footer__desc strong,
.footer__cert,
.footer__nap-hours strong,
.footer__col-title,
.footer__zone-pill,
.footer__bottom strong,
.footer__bottom a,
[data-theme="dark"] .footer__urgence-msg strong,
[data-theme="dark"] .footer__guarantee strong,
[data-theme="dark"] .footer__desc strong,
[data-theme="dark"] .footer__cert,
[data-theme="dark"] .footer__nap-hours strong,
[data-theme="dark"] .footer__col-title,
[data-theme="dark"] .footer__zone-pill,
[data-theme="dark"] .footer__bottom strong,
[data-theme="dark"] .footer__bottom a { color: #ffe0a0 !important; }
/* Urgence strong — white on var(--primary) #0d7377 for 5.6:1 */
.footer__urgence-msg strong,
[data-theme="dark"] .footer__urgence-msg strong { color: #fff !important; }
/* White text — boosted for 4.5:1 on teal bg */
.footer__guarantee span,
.footer__logo-text span,
.footer__nap-item,
.footer__nap-item a,
.footer__list li a,
.footer__list--zones li,
[data-theme="dark"] .footer__guarantee span,
[data-theme="dark"] .footer__logo-text span,
[data-theme="dark"] .footer__nap-item,
[data-theme="dark"] .footer__nap-item a,
[data-theme="dark"] .footer__list li a,
[data-theme="dark"] .footer__list--zones li { color: rgba(255,255,255,.82) !important; }
.footer__desc,
[data-theme="dark"] .footer__desc { color: rgba(255,255,255,.85) !important; }
.footer__nap-hours,
[data-theme="dark"] .footer__nap-hours { color: rgba(255,255,255,.82) !important; }
.footer__bottom,
.footer__bottom p,
[data-theme="dark"] .footer__bottom,
[data-theme="dark"] .footer__bottom p { color: #fff !important; }
/* Phone button — dark text on amber for 10:1 contrast */
.footer__urgence-tel,
[data-theme="dark"] .footer__urgence-tel { color: #1a1000 !important; }
/* Bottom links hover */
.footer__bottom a:hover,
[data-theme="dark"] .footer__bottom a:hover { color: #fff !important; }
