/* ===================================================
   PHYSIOBORN — Design system
   Palette : Kaki (vert foncé) + Doré, style moderne & dynamique
   =================================================== */

:root {
  --khaki-950: #262e17;
  --khaki-900: #333e1f;
  --khaki-800: #3f4b26;
  --khaki-700: #4e5c2e;
  --khaki-600: #5c6b2e;
  --khaki-500: #6f7f3c;
  --khaki-100: #eef1e3;
  --khaki-50:  #f7f8f1;

  --gold-700: #a9821f;
  --gold-600: #c9a227;
  --gold-500: #d9b13f;
  --gold-400: #e4c05c;
  --gold-100: #f8ecc9;

  --white: #ffffff;
  --ink: #22261a;
  --ink-soft: #565f47;
  --border: #e3e2d4;

  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 10px rgba(38, 46, 23, 0.08);
  --shadow-md: 0 10px 30px rgba(38, 46, 23, 0.12);
  --shadow-lg: 0 20px 50px rgba(38, 46, 23, 0.18);

  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--khaki-900);
  line-height: 1.2;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-700);
  background: var(--gold-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-solid {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: var(--khaki-950);
  box-shadow: var(--shadow-sm);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  border-color: var(--khaki-800);
  color: var(--khaki-800);
  background: transparent;
}
.btn-outline:hover { background: var(--khaki-800); color: var(--white); transform: translateY(-2px); }

.btn-ghost {
  color: var(--khaki-800);
  padding: 10px 12px;
}
.btn-ghost:hover { color: var(--gold-700); }

.btn-lg { padding: 15px 30px; font-size: 1rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--khaki-900);
}
.logo-text strong { color: var(--gold-700); font-weight: 800; }

.main-nav {
  display: flex;
  gap: 32px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a {
  position: relative;
  color: var(--khaki-800);
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold-600);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-phone { font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--khaki-900);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 100px;
  background: var(--khaki-50);
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
}
.hero-shape-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 30% 30%, var(--khaki-100), transparent 70%);
  top: -180px; right: -160px;
}
.hero-shape-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle at 30% 30%, var(--gold-100), transparent 70%);
  bottom: -140px; left: -100px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 14px 0 20px;
}
.hero h1 .highlight { color: var(--gold-600); position: relative; }

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--khaki-900);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero-visual { position: relative; display: flex; justify-content: center; }

.hero-logo-glow {
  position: relative;
  width: 100%;
  max-width: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.hero-logo-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--gold-100) 0%, transparent 70%);
  z-index: 0;
}
.hero-logo-glow img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ===== Section head ===== */
.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; }

/* ===== Services ===== */
.services { padding: 100px 0; }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--khaki-100);
  color: var(--khaki-800);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.25s ease, color 0.25s ease;
}
.service-card:hover .service-icon { background: var(--gold-600); color: var(--white); }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== Why ===== */
.why { padding: 100px 0; background: var(--khaki-50); }

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}
.why-check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gold-600);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}
.why-list strong { font-family: var(--font-head); color: var(--khaki-900); display: block; margin-bottom: 4px; }
.why-list p { color: var(--ink-soft); font-size: 0.94rem; }

/* ===== FAQ ===== */
.faq { padding: 100px 0; }

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.open { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--khaki-900);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gold-600);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-answer > div { overflow: hidden; }
.faq-answer p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 60ch;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

/* ===== Contact ===== */
.contact { padding: 100px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info { display: flex; flex-direction: column; gap: 18px; }

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--khaki-50);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.info-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--khaki-800);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
}
.info-card strong { font-family: var(--font-head); color: var(--khaki-900); display: block; margin-bottom: 4px; }
.info-card p { color: var(--ink-soft); font-size: 0.94rem; }
.info-card a:hover { color: var(--gold-700); }

.hours-table { margin-top: 6px; border-collapse: collapse; }
.hours-table td { padding: 3px 0; font-size: 0.94rem; color: var(--ink-soft); }
.hours-table td:first-child { padding-right: 18px; }
.hours-table .closed { color: var(--gold-700); font-weight: 600; }

.contact-cta { align-self: flex-start; margin-top: 6px; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow-md);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--khaki-950);
  color: rgba(255,255,255,0.7);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-logo img {
  width: 120px;
  height: auto;
  border-radius: 16px;
}
.footer-note { font-size: 0.92rem; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ===== Reveal animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { margin-top: 20px; }
}

@media (max-width: 640px) {
  .why-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
  }

  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .header-actions .btn-solid span,
  .header-actions .btn-solid { font-size: 0.85rem; padding: 10px 16px; }
}

@media (max-width: 420px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
