/* Theralaser — feuille de style partagée */

:root {
  --teal: #1c8ba0;
  --teal-dark: #0f6575;
  --teal-soft: #e3f2f4;
  --green: #7cb63a;
  --green-soft: #eef6e2;
  --pink: #ef5da8;
  --pink-soft: #fdeaf3;
  --ink: #24313a;
  --ink-muted: #5c6b72;
  --ink-faint: #8b979c;
  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-2: #eef4f3;
  --border: #dde8e6;
  --shadow: 0 1px 2px rgba(20, 40, 45, 0.05), 0 10px 30px rgba(20, 40, 45, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --teal: #4fc2d4;
    --teal-dark: #7fd6e3;
    --teal-soft: #16302f;
    --green: #9ad35a;
    --green-soft: #1e2b16;
    --pink: #f893c5;
    --pink-soft: #341c2c;
    --ink: #eaf2f0;
    --ink-muted: #a9bab6;
    --ink-faint: #74857f;
    --bg: #0e1615;
    --surface: #16201f;
    --surface-2: #1b2625;
    --border: #29403c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --teal: #4fc2d4;
  --teal-dark: #7fd6e3;
  --teal-soft: #16302f;
  --green: #9ad35a;
  --green-soft: #1e2b16;
  --pink: #f893c5;
  --pink-soft: #341c2c;
  --ink: #eaf2f0;
  --ink-muted: #a9bab6;
  --ink-faint: #74857f;
  --bg: #0e1615;
  --surface: #16201f;
  --surface-2: #1b2625;
  --border: #29403c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: "Poppins", "Manrope", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 32px); }
h3 { font-size: 19px; }

p { margin: 0 0 1em; color: var(--ink); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-block;
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.btn-primary {
  background: var(--teal);
  color: #ffffff;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn-pink {
  background: var(--pink);
  color: #ffffff;
}
.btn-pink:hover { filter: brightness(0.94); transform: translateY(-1px); }

/* Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img { height: 40px; width: auto; }

.brand-word {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: 0.01em;
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

nav.primary a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-muted);
  padding: 8px 8px;
  border-radius: 100px;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

nav.primary a:hover,
nav.primary a[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-actions .btn { white-space: nowrap; flex-shrink: 0; }

.nav-mobile-cta { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.menu-toggle svg { display: block; }

/* Hero */
.hero {
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero p.lead {
  font-size: 17.5px;
  color: var(--ink-muted);
  max-width: 52ch;
}

.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.price-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  box-shadow: var(--shadow);
  font-family: "Poppins", sans-serif;
}
.price-tag .amount { font-size: 22px; font-weight: 700; color: var(--teal-dark); }
.price-tag .unit { font-size: 12px; color: var(--ink-muted); font-weight: 500; }
.price-tag .guarantee { font-size: 11.5px; color: var(--green); font-weight: 600; margin-top: 2px; }

/* Trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--ink-muted);
}
.trust-strip li { list-style: none; display: flex; align-items: center; gap: 8px; }
.trust-strip svg { color: var(--teal); flex-shrink: 0; }

/* Sections */
section.block { padding: 64px 0; }
section.block.tight { padding: 44px 0; }
section.block.surface { background: var(--surface); }
section.block.soft { background: var(--surface-2); }

.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--ink-muted); font-size: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Addiction cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.addiction-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.addiction-card:hover { transform: translateY(-4px); }

.addiction-card .thumb { aspect-ratio: 4/5; overflow: hidden; }
.addiction-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.addiction-card:hover .thumb img { transform: scale(1.06); }

.addiction-card .label {
  padding: 14px 14px 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.addiction-card .label svg { color: var(--teal); flex-shrink: 0; }

/* Feature / two-col content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 20%; }
.split img.portrait { aspect-ratio: 3/4; object-position: center top; }
.split.reverse .media { order: 2; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-card .num {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--teal);
  background: var(--teal-soft);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: var(--ink-muted); font-size: 14.5px; margin: 0; }

/* Pill list (troubles traités, etc.) */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li {
  list-style: none;
  background: var(--pink-soft);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform 0.2s ease; color: var(--teal); flex-shrink: 0; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item p { margin-top: 12px; color: var(--ink-muted); }

/* Pricing band */
.price-band {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.price-band h2 { color: #ffffff; margin-bottom: 6px; }
.price-band p { color: rgba(255,255,255,0.85); margin: 0; }
.price-band .figure { text-align: right; }
.price-band .figure .amount { font-family: "Poppins", sans-serif; font-size: 40px; font-weight: 700; }
.price-band .figure .amount span { font-size: 16px; font-weight: 500; opacity: 0.85; }
.price-band .btn-primary { background: #ffffff; color: var(--teal-dark); }
.price-band .btn-primary:hover { background: #f0fbfa; }

/* About */
.about-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}
.about-card img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; object-position: 15% 30%; width: 100%; }
@media (max-width: 980px) { .about-card img { aspect-ratio: 16/10; } }
.about-card .quote {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 14px;
  text-wrap: balance;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
}
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-info-card dl { margin: 0; }
.contact-info-card dt {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  font-weight: 600;
  margin-top: 20px;
}
.contact-info-card dt:first-child { margin-top: 0; }
.contact-info-card dd { margin: 4px 0 0; font-size: 16px; }
.contact-info-card a { text-decoration: none; color: var(--teal-dark); font-weight: 600; }
.contact-info-card a:hover { text-decoration: underline; }

.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.social-row a:hover { background: var(--teal); color: #fff; }

form.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.field input,
.field textarea,
.field select {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--ink-faint); }
.form-status { font-size: 14px; font-weight: 600; display: none; padding: 10px 14px; border-radius: var(--radius-sm); }
.form-status.success { display: block; background: var(--green-soft); color: var(--green); }
.form-status.error { display: block; background: var(--pink-soft); color: #b23a6b; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }

/* Final CTA */
.cta-band {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.cta-band .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* Footer */
footer.site {
  background: var(--ink);
  color: color-mix(in srgb, var(--bg) 85%, transparent);
  padding: 56px 0 28px;
  margin-top: 64px;
}
:root:not([data-theme="light"]) footer.site,
:root[data-theme="dark"] footer.site {
  background: #08100f;
}
footer.site a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14.5px; }
footer.site a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 34px; }
.footer-brand span { font-family: "Poppins", sans-serif; font-weight: 700; color: #fff; font-size: 17px; }
.footer-grid p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 34ch; }
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* Utility */
.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;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split, .hero-grid { grid-template-columns: 1fr; }
  .split .media { order: -1 !important; }
  .about-card { grid-template-columns: 1fr; }
  .about-card img { max-width: 260px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 1040px) {
  nav.primary { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .phone-link span { display: none; }
}

@media (max-width: 720px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .price-band { flex-direction: column; align-items: flex-start; }
  .price-band .figure { text-align: left; }
  .cta-band { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .nav-actions .header-cta { display: none; }
  .nav-mobile-cta {
    display: flex;
    justify-content: center;
    margin: 14px 10px 4px;
  }
  .brand-word { font-size: 17px; }
  .container { padding: 0 16px; }
}

body.nav-open nav.primary {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  align-items: stretch;
  padding: 10px 16px 18px;
  box-shadow: var(--shadow);
}
body.nav-open nav.primary a { padding: 12px 10px; border-radius: 8px; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-fab:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.whatsapp-fab svg { width: 28px; height: 28px; }

@media (max-width: 480px) {
  .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}
