@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

/* ════════════════════════════
   TOKENS — MODE CLAIR
════════════════════════════ */
:root,
[data-theme="light"] {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface2: #e9f2f9;
  --border: rgba(24, 110, 171, 0.12);

  --text: #0d2236;
  --muted: #4a6a82;
  --faint: #9ab5c8;
  --inv: #ffffff;

  --primary: #186EAB;
  --primary-h: #125584;
  --primary-l: #d0e4f2;
  --green: #89C765;
  --green-h: #75b352;
  --green-l: #e6f7e0;
  --secondary: #3EBCCF;
  --secondary-h: #2ca8bb;

  --shadow-s: 0 2px 8px rgba(24, 110, 171, 0.08);
  --shadow-m: 0 6px 24px rgba(24, 110, 171, 0.12);
  --shadow-l: 0 16px 48px rgba(24, 110, 171, 0.15);

  --r-s: .5rem;
  --r-m: .75rem;
  --r-l: 1.25rem;
  --r-xl: 1.75rem;
  --r-f: 9999px;

  --tx-xs: clamp(.75rem, .7vw + .1rem, .85rem);
  --tx-s: clamp(.85rem, .8vw + .15vw, .95rem);
  --tx-b: clamp(0.95rem, .9rem + .3vw, 1.05rem);
  --tx-l: clamp(1.1rem, 1.05rem + .3vw, 1.25rem);
  --tx-xl: clamp(1.3rem, 1.2rem + .5vw, 1.75rem);
  --tx-2xl: clamp(1.6rem, 1.4rem + 1vw, 2.5rem);

  --fd: 'Instrument Serif', Georgia, serif;
  --fb: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: 200ms cubic-bezier(.16, 1, .3, 1);
}

/* ════════════════════════════
   TOKENS — MODE SOMBRE
   ✅ Correctement hors de :root
════════════════════════════ */
[data-theme="dark"] {
  --bg: #091319;
  --surface: #0e1e28;
  --surface2: #142836;
  --border: rgba(62, 188, 207, 0.15);

  --text: #d6e6f0;
  --muted: #8aaabe;
  --faint: #34566c;
  --inv: #091319;

  --primary: #5cbef2;
  --primary-h: #8dd1f5;
  --primary-l: #16364a;
  --green: #89C765;
  --green-h: #a3d984;
  --green-l: #19381e;
  --secondary: #3EBCCF;
  --secondary-h: #5cd0e2;

  --shadow-s: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-m: 0 6px 24px rgba(0, 0, 0, 0.4);
  --shadow-l: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* ════════════════════════════
   RESET & BASE
════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--fb);
  font-size: var(--tx-b);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100dvh;
  transition: background var(--ease), color var(--ease);
}

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

a,
button {
  transition: color var(--ease), background var(--ease),
    box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-s);
}

h1,
h2,
h3 {
  text-wrap: balance;
  line-height: 1.15;
}

p,
li {
  text-wrap: pretty;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ════════════════════════════
   LAYOUT
════════════════════════════ */
.wrap {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

section {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

/* ════════════════════════════
   HEADER & NAV
════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklch, var(--surface) 90%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1.5rem;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: var(--r-s);
}

.logo-name {
  font-size: var(--tx-s);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.logo-sub {
  font-size: var(--tx-xs);
  color: var(--muted);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ════════════════════════════
   BOUTONS
════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem 1.5rem;
  border-radius: var(--r-f);
  font-size: var(--tx-s);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  border: 2px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-p {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-p:hover {
  background: var(--primary-h);
  border-color: var(--primary-h);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}

.btn-g {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-g:hover {
  background: var(--green-h);
  border-color: var(--green-h);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}

.btn-o {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-o:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-w {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}

.btn-w:hover {
  background: rgba(255, 255, 255, .95);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.btn-wg {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
}

.btn-wg:hover {
  background: rgba(255, 255, 255, .1);
  border-color: #fff;
}

.theme-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--r-m);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.theme-btn:hover {
  background: var(--surface2);
  color: var(--text);
}

/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
  padding-block: clamp(3rem, 10vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 40%, color-mix(in oklch, var(--secondary) 15%, transparent), transparent 50%),
    radial-gradient(circle at 20% 85%, color-mix(in oklch, var(--green) 12%, transparent), transparent 50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--green-l);
  color: var(--green);
  padding: .4rem 1.25rem;
  border-radius: var(--r-f);
  font-size: var(--tx-s);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
  border: 1px solid color-mix(in oklch, var(--green) 20%, transparent);
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s infinite;
  display: inline-block;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .4;
    transform: scale(1.3)
  }
}

.hero h1 {
  font-family: var(--fd);
  font-size: var(--tx-2xl);
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.hero-sub {
  font-size: var(--tx-l);
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 2.5rem;
  max-width: 48ch;
  font-weight: 500;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stars {
  color: #f59e0b;
  font-size: var(--tx-l);
  letter-spacing: 2px;
}

.trust-txt {
  font-size: var(--tx-s);
  color: var(--muted);
  line-height: 1.4;
  font-weight: 500;
}

.trust-txt strong {
  color: var(--text);
  font-weight: 800;
}

/* ════════════════════════════
   HERO CARD
════════════════════════════ */
.hcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-l);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
}

.hcard-tag {
  position: absolute;
  top: -16px;
  left: 2rem;
  background: var(--primary);
  color: #fff;
  font-size: var(--tx-s);
  font-weight: 800;
  padding: .3rem 1.25rem;
  border-radius: var(--r-f);
}

.hcard ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.hcard li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ck {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--green-l);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  margin-top: 2px;
}

.hcard li .t {
  font-size: var(--tx-b);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: .1rem;
}

.hcard li .s {
  font-size: var(--tx-s);
  color: var(--muted);
  font-weight: 500;
}

.hcard-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hcard-btns a {
  flex: 1;
  min-width: 130px;
}

.hours {
  text-align: center;
  margin-top: 1.5rem;
  font-size: var(--tx-s);
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

/* ════════════════════════════
   BANDEAU ZONES
════════════════════════════ */
.zone-bar {
  background: var(--primary);
  padding: 1rem 0;
}

.zone-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.zone-lbl {
  font-size: var(--tx-s);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  flex-shrink: 0;
}

.zone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.zpill {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  padding: .3rem .9rem;
  border-radius: var(--r-f);
  font-size: var(--tx-s);
  font-weight: 700;
}

/* ════════════════════════════
   EN-TÊTES SECTIONS
════════════════════════════ */
.sec-lbl {
  font-size: var(--tx-s);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  display: block;
  margin-bottom: .75rem;
}

.sec-h {
  font-family: var(--fd);
  font-size: var(--tx-xl);
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -.5px;
}

.sec-sub {
  font-size: var(--tx-l);
  color: var(--muted);
  max-width: 55ch;
  margin-bottom: 3rem;
  font-weight: 500;
}

/* ════════════════════════════
   GRILLE SERVICES
════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}

.svc {
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.225rem);
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: var(--secondary);
}

.svc-ico {
  font-size: 2.8rem;
  margin-bottom: 1.25rem;
}

.svc h3 {
  font-size: var(--tx-l);
  font-weight: 800;
  color: var(--text);
  margin-bottom: .5rem;
}

.svc p {
  font-size: var(--tx-b);
  color: var(--muted);
  line-height: 1.5;
  font-weight: 500;
  flex: 1;
}

.svc-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: 1.5rem;
  font-size: var(--tx-s);
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-l);
  padding: .25rem 1rem;
  border-radius: var(--r-f);
}

/* ════════════════════════════
   AVIS
════════════════════════════ */
.t-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}

.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-s);
  display: flex;
  flex-direction: column;
}

.t-stars {
  color: #f59e0b;
  font-size: var(--tx-l);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.t-txt {
  font-size: var(--tx-b);
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.t-author {
  font-size: var(--tx-s);
  font-weight: 800;
  color: var(--text);
}

.t-via {
  font-size: var(--tx-xs);
  color: var(--faint);
  font-weight: 600;
  display: block;
  margin-top: .2rem;
}

/* ════════════════════════════
   CTA BAND
════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, color-mix(in oklch, var(--primary) 85%, #000 15%), var(--secondary));
  text-align: center;
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.cta-band h2 {
  font-family: var(--fd);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -.5px;
}

.cta-band>.wrap>p {
  color: rgba(255, 255, 255, .9);
  font-size: var(--tx-b);
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 50ch;
  margin-inline: auto;
  font-weight: 500;
}

.cta-phone {
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.cta-phone:hover {
  opacity: .85;
  transform: scale(1.02);
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-meta {
  color: rgba(255, 255, 255, .8);
  font-size: var(--tx-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ════════════════════════════
   FOOTER
════════════════════════════ */
footer {
  background: #0A1924;
  color: #9ab5c8;
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}

footer nav {
  display: block;
  height: auto;
  padding: 0;
  margin: 0;
  max-width: none;
}

.footer-g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  margin-inline: auto;
  max-width: 900px;
  margin-bottom: 2.5rem;
  align-items: start;
}

footer h4 {
  font-size: var(--tx-b);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: var(--tx-s);
  line-height: 1.6;
  font-weight: 400;
  color: rgba(154, 181, 200, .85);
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer ul li {
  font-size: var(--tx-s);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1rem;
}

footer ul li i {
  width: 16px;
  text-align: center;
  color: var(--primary);
  flex-shrink: 0;
}

footer ul a {
  color: #9ab5c8;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--ease);
  display: flex;
  align-items: center;
  gap: 1rem;
}

footer ul a i {
  width: 16px;
  text-align: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: color var(--ease);
}

footer ul a:hover {
  color: var(--secondary);
}

footer ul a:hover i {
  color: var(--secondary);
}

.footer-bot {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 1.5rem;
  font-size: var(--tx-xs);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  color: rgba(154, 181, 200, .6);
}

.footer-bot span {
  margin-inline: 1rem;
  text-align: center;
}

/* ════════════════════════════
   RESPONSIVE MOBILE
════════════════════════════ */
@media (max-width: 850px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-btns,
  .trust {
    justify-content: center;
  }

  .hcard {
    order: -1;
    text-align: left;
  }

  .footer-g {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  footer .footer-desc {
    margin-inline: auto;
  }

  .nav-right a.btn {
    padding: 0;
    width: 48px;
    height: 48px;
    min-height: 48px;
    min-width: 48px;
    justify-content: center;
    border-radius: 50%;
    font-size: 0;
  }

  .nav-right a.btn i {
    font-size: 1.25rem;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .hcard-btns {
    flex-direction: column;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

/* ════════════════════════════
   ACCESSIBILITÉ : RÉDUIT LES
   ANIMATIONS SI DEMANDÉ
════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}