/* =========================
   RESET & BASE
   ========================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, sans-serif;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s ease; }
a:hover { opacity: 0.7; }
ul { list-style: none; }

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #86868b;
  --line: #d2d2d7;
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --black: #000000;
  --accent: #0066cc;
}

/* =========================
   NAV
   ========================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  /* START: Surgical modification for logo integration */
  display: flex; /* Make it a flex container */
  align-items: center; /* Vertically align items */
  gap: 8px; /* Space between logo and text */
  /* END: Surgical modification for logo integration */
}
.freestyle-injected-logo {
  height: 40px; /* Recommended height */
  width: auto; /* Maintain aspect ratio */
  flex-shrink: 0; /* Prevent logo from shrinking */
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  color: var(--ink);
  font-weight: 400;
}
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  background: var(--accent);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
}
.nav-cta:hover { opacity: 0.85; }

/* =========================
   REVEAL ANIMATION
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   HERO
   ========================= */
.hero {
  padding: 180px 24px 120px;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 32px;
}
.hero-title {
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--ink);
}
.hero-italic {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
}
.hero-sub {
  margin: 32px auto 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.4;
}
.hero-cta {
  margin: 48px 0 80px;
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.88; }
.btn-primary.big {
  padding: 18px 44px;
  font-size: 18px;
}
.btn-link {
  color: var(--accent);
  font-size: 16px;
  font-weight: 400;
}
.btn-link.muted { color: var(--muted); }

.hero-media {
  margin: 64px auto 0;
  max-width: 1000px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15);
  aspect-ratio: 16/10;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.hero-media:hover img { transform: scale(1.02); }

.hero-meta {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-meta span {
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
}
.hero-meta small {
  font-size: 13px;
  color: var(--muted);
}

/* =========================
   SHARED HEADINGS
   ========================= */
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.eyebrow-light { color: #6ea8ff; }

.big-title {
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}
.big-title.light { color: #f5f5f7; }
.muted-title {
  color: var(--muted);
  font-style: italic;
  font-weight: 300;
}

/* =========================
   DARK SECTION (Approche)
   ========================= */
.dark {
  background: #000;
  color: #f5f5f7;
  padding: 200px 24px;
  text-align: center;
}
.dark-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.dark-lead {
  margin: 40px auto 100px;
  max-width: 640px;
  color: #a1a1a6;
  font-size: 21px;
  line-height: 1.5;
}
.dark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: left;
}
.dark-card {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 28px;
}
.card-num {
  font-size: 14px;
  color: #6ea8ff;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
  font-variant-numeric: tabular-nums;
}
.dark-card h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.dark-card p {
  font-size: 15px;
  color: #a1a1a6;
  line-height: 1.5;
}

/* =========================
   SOINS
   ========================= */
.soins {
  padding: 200px 24px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.soins-split {
  margin-top: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.soin-block {
  background: #ffffff;
  padding: 64px 48px;
  text-align: left;
}
.soin-block-alt {
  background: #fafafa;
}
.soin-tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  font-weight: 500;
}
.soin-block h3 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--ink);
}
.soin-block p {
  color: var(--ink-2);
  margin-bottom: 36px;
  max-width: 420px;
  line-height: 1.5;
}
.soin-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}
.soin-list li:last-child { border-bottom: 1px solid var(--line); }

/* =========================
   QUOTE SECTION
   ========================= */
.quote-section {
  padding: 200px 24px;
  text-align: center;
  background: #fafafa;
}
.quote {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink);
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.quote em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.q-mark {
  color: var(--line);
  font-size: 1.1em;
  line-height: 0;
  vertical-align: -0.2em;
}
.quote-source {
  margin-top: 56px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* =========================
   CABINET
   ========================= */
.cabinet {
  padding: 200px 24px;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 96px;
  align-items: center;
}
.cabinet-text { max-width: 480px; }
.cabinet-p {
  margin: 32px 0 40px;
  color: var(--ink-2);
  line-height: 1.55;
}
.cabinet-image {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,0.18);
}
.cabinet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
}
.cabinet-image:hover img { transform: scale(1.03); }

/* =========================
   TEMOIGNAGES
   ========================= */
.temoignages {
  padding: 200px 24px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.reviews-grid {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.review {
  background: #fff;
  padding: 56px 48px;
  text-align: left;
}
.review:nth-child(even) { background: #fafafa; }
.stars {
  color: #e8a317;
  font-size: 14px;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.review p {
  font-size: 19px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 28px;
  font-weight: 400;
}
.review-author {
  font-size: 13px;
  color: var(--muted);
}

/* =========================
   CONTACT
   ========================= */
.contact {
  padding: 200px 24px;
  text-align: center;
  background: #000;
  color: #f5f5f7;
}
.contact-title {
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: #f5f5f7;
}
.contact-title .hero-italic { color: #6ea8ff; }
.contact-sub {
  margin-top: 28px;
  font-size: 22px;
  color: #a1a1a6;
}
.contact-grid {
  margin: 100px auto 80px;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.15);
  border-radius: 24px;
  overflow: hidden;
}
.contact-card {
  background: #000;
  padding: 48px 32px;
  text-align: left;
}
.contact-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6ea8ff;
  margin-bottom: 24px;
  font-weight: 500;
}
.contact-value {
  font-size: 19px;
  color: #f5f5f7;
  line-height: 1.4;
  margin-bottom: 24px;
  font-weight: 400;
}
.contact-value a { color: #f5f5f7; }
.contact-card .btn-link { color: #6ea8ff; font-size: 14px; }
.contact-card .btn-link.muted { color: #86868b; }
.contact-final { margin-top: 40px; }

/* =========================
   FOOTER
   ========================= */
footer {
  background: #f5f5f7;
  padding: 64px 24px 48px;
  color: var(--ink-2);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.footer-info {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.footer-info a { color: var(--accent); }
.footer-legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { padding: 12px 20px; }
  .hero { padding: 140px 20px 80px; }
  .hero-meta { grid-template-columns: 1fr; gap: 24px; }
  .dark { padding: 120px 20px; }
  .dark-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .dark-lead { margin-bottom: 64px; }
  .soins { padding: 120px 20px; }
  .soins-split { grid-template-columns: 1fr; margin-top: 64px; }
  .soin-block { padding: 48px 28px; }
  .quote-section { padding: 120px 20px; }
  .cabinet {
    padding: 120px 20px;
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .temoignages { padding: 120px 20px; }
  .reviews-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .review { padding: 40px 28px; }
  .contact { padding: 120px 20px; }
  .contact-grid {
    grid-template-columns: 1fr;
    margin: 64px auto 56px;
  }
  .contact-card { padding: 36px 28px; }
}

@media (max-width: 480px) {
  body { font-size: 17px; }
  .nav-logo { font-size: 15px; }
  .nav-cta { padding: 7px 14px; font-size: 12px; }
  .hero-cta { flex-direction: column; gap: 18px; }
  .btn-primary { width: 100%; max-width: 280px; text-align: center; }
  .dark-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { border-radius: 18px; }
  .cabinet-image { border-radius: 18px; }
}