/* ═══════════════════════════════════════════════════════
   Clinique Makineo — Landing Page
   Direction artistique : sobre, premium, thérapeutique
   ═══════════════════════════════════════════════════════ */

/* ── Variables de marque ─────────────────────────────── */
:root {
  --burgundy:  #400215;
  --cream:     #fff2e9;
  --cream-alt: #fdf5ef;
  --orange:    #d0642d;
  --pink:      #efc0e4;
  --pink-muted:#d4a5ca;
  --blue:      #aed1ff;
  --black:     #0d0d0d;
  --muted:     rgba(13,13,13,0.45);
  --border:    rgba(13,13,13,0.10);
  --border-light: rgba(255,255,255,0.15);

  --ff-serif: 'Instrument Serif', Georgia, serif;
  --ff-sans:  'Instrument Sans', system-ui, sans-serif;

  --ls-label: 0.13em;
  --ls-body:  0.02em;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Espacements section */
  --section-gap: 120px;
  --section-gap-sm: 72px;
  --wrap: 1200px;
  --wrap-pad: 48px;
}

/* ── Reset ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--cream);
  font-family: var(--ff-sans);
  font-weight: 400;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: var(--ls-body);
  line-height: 1.6;
}

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

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

/* ── Utilitaires ─────────────────────────────────────── */

/* Conteneur centré */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--wrap-pad);
  padding-right: var(--wrap-pad);
}

/* Pill badge — étiquette de section */
.pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px 14px;
  color: var(--black);
}

.pill--light {
  border-color: var(--border-light);
  color: rgba(255, 255, 255, 0.65);
}

/* Divider horizontal fin */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ── Boutons ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--ff-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  border-radius: 99px;
  padding: 13px 28px;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
  white-space: nowrap;
}

/* Bouton fantôme — sur fond sombre (hero) */
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.9);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.75);
  color: #fff;
}

/* Bouton plein — CTA principal */
.btn--fill {
  background: var(--burgundy);
  border: 1px solid var(--burgundy);
  color: var(--pink);
}
.btn--fill:hover {
  background: #5a0220;
  border-color: #5a0220;
}

/* ── Navigation ──────────────────────────────────────── */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px var(--wrap-pad);
  max-width: 100%;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-cta {
  font-family: var(--ff-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.nav-cta:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

/* ── HERO ─────────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--burgundy);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  overflow: hidden;
}

/* Texture de bruit subtile en arrière-plan */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 120px var(--wrap-pad) 80px;
  max-width: var(--wrap);
  margin: 0 auto;
  width: 100%;
}

/* Animation d'entrée hero */
.hero-inner > * {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.4s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.55s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(239,192,228,0.35);
  border-radius: 99px;
  padding: 5px 14px;
  color: var(--pink-muted);
  margin-bottom: 52px;
}

.hero-title {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(52px, 7.5vw, 108px);
  line-height: 1.0;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.hero-title em {
  font-style: italic;
  color: var(--pink);
  display: block;
}

.hero-services {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 72px;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-name {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── INTRO / CITATION ─────────────────────────────────── */

.intro {
  padding: var(--section-gap) 0;
  background: var(--cream);
}

.intro-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.intro-quote {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.35;
  color: var(--burgundy);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.intro-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  letter-spacing: var(--ls-body);
}

/* ── SOINS ────────────────────────────────────────────── */

.soins {
  padding: var(--section-gap) 0;
  background: var(--cream-alt);
  border-top: 1px solid var(--border);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  color: var(--burgundy);
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
}

/* Grille de soins */
.soins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.soin {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.soin:hover {
  background: rgba(64,2,21,0.025);
}

.soin-num {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}

.soin-body {
  padding-top: 4px;
}

.soin-name {
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 8px;
}

.soin-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── APPROCHE — fond sombre ───────────────────────────── */

.approche {
  background: var(--burgundy);
  padding: var(--section-gap) 0;
}

.approche-head {
  margin-bottom: 72px;
}

.approche-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink-muted);
  border: 1px solid rgba(239,192,228,0.3);
  border-radius: 99px;
  padding: 5px 14px;
  display: inline-block;
  margin-bottom: 24px;
}

.approche-title {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 600px;
}

.approche-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.approche-item {
  padding: 48px 40px 48px 0;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-right: 40px;
}

.approche-item:last-child {
  padding-right: 0;
  border-right: none;
}

.approche-item + .approche-item {
  padding-left: 40px;
}

.approche-item-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 16px;
}

.approche-item-text {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,242,233,0.65);
}

/* ── À PROPOS ─────────────────────────────────────────── */

.about {
  padding: var(--section-gap) 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.about-photo-wrap {
  position: relative;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
}

/* Ligne décorative à gauche de la photo */
.about-photo-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: -24px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.about-text-col {
  padding-top: 8px;
}

.about-text-col .pill {
  margin-bottom: 28px;
}

.about-name {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--burgundy);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.about-credentials {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 40px;
}

.about-body p {
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(13,13,13,0.72);
  margin-bottom: 20px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

/* ── CTA FINAL ─────────────────────────────────────────── */

.cta-section {
  background: var(--cream-alt);
  border-top: 1px solid var(--border);
  padding: var(--section-gap) 0;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cta-inner .pill {
  margin-bottom: 28px;
}

.cta-title {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  color: var(--burgundy);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.cta-title em {
  font-style: italic;
}

.cta-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 480px;
}

/* ── FOOTER ─────────────────────────────────────────────── */

.footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  height: 22px;
  width: auto;
  opacity: 0.85;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-info span {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-copy {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(13,13,13,0.28);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  :root {
    --section-gap: 80px;
    --wrap-pad: 32px;
  }

  .soins-grid {
    grid-template-columns: 1fr;
  }

  .approche-grid {
    grid-template-columns: 1fr;
  }

  .approche-item {
    padding: 36px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .approche-item + .approche-item {
    padding-left: 0;
  }

  .approche-item:last-child {
    border-bottom: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-photo-wrap::before {
    display: none;
  }

  .about-photo {
    aspect-ratio: 4/3;
    object-position: center 20%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-gap: 64px;
    --wrap-pad: 24px;
  }

  .nav {
    padding: 24px var(--wrap-pad);
  }

  .hero-inner {
    padding: 100px var(--wrap-pad) 60px;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .soin {
    padding: 28px 20px;
    gap: 16px;
  }

  .soin-num {
    font-size: 24px;
    min-width: 30px;
  }

  .intro-quote {
    text-align: left;
  }

  .intro-text {
    text-align: left;
  }

  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
