/* ==========================================================================
   Elite Beauté — Avenue Louise
   Design tokens
   ========================================================================== */
:root {
  --paper: #F4EFE6;
  --paper-dim: #E9E1D2;
  --ink: #14120F;
  --ink-soft: #3A362F;
  --bottle: #0E3B2E;
  --bottle-deep: #082821;
  --bottle-bright: #17573F;
  --gold: #B8934A;

  --bg: var(--paper);
  --bg-raise: #FFFFFF;
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --line: rgba(20, 18, 15, 0.14);

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(8, 12, 10, 0.08);
  --shadow-md: 0 14px 34px rgba(8, 12, 10, 0.16);

  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Space Grotesk', 'Segoe UI', Arial, sans-serif;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #100F0D;
  --bg-raise: #1B1915;
  --text: #F1ECE1;
  --text-soft: #C9C2B2;
  --line: rgba(241, 236, 225, 0.14);
  --bottle: #1C6247;
  --bottle-deep: #0E3B2C;
  --bottle-bright: #278765;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #100F0D;
    --bg-raise: #1B1915;
    --text: #F1ECE1;
    --text-soft: #C9C2B2;
    --line: rgba(241, 236, 225, 0.14);
    --bottle: #1C6247;
    --bottle-deep: #0E3B2C;
    --bottle-bright: #278765;
    color-scheme: dark;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  color: var(--text);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

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

.section-frame {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--bottle);
  margin: 0 0 12px;
}
.eyebrow--light { color: rgba(244, 239, 230, 0.75); }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--bottle);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 200;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}
.btn-solid:hover { background: var(--bottle-deep); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.btn-outline--light { color: var(--paper); }

.btn-line {
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.82rem;
  padding: 9px 16px;
}
.btn-line:hover { border-color: var(--bottle); color: var(--bottle); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding-top: var(--safe-top);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--text);
}
.brand-name--footer { font-size: 1.8rem; }
.brand-loc {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bottle);
  font-weight: 600;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a:hover { color: var(--bottle); }

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

.theme-toggle,
.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}
.theme-toggle span { font-size: 1.1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 10px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 12px 4px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 880px) {
  .nav-links, .header-ig { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero — couverture de magazine, asymétrique
   ========================================================================== */
.hero {
  background: var(--bottle);
  color: var(--paper);
  padding: 64px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  column-gap: 40px;
  position: relative;
}

.hero-kicker {
  grid-column: 1 / 2;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.72);
  margin: 0 0 18px;
}

.hero-title {
  grid-column: 1 / 2;
  font-size: clamp(3rem, 8vw, 6.4rem);
  color: var(--paper);
  margin: 0;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-side {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: end;
  padding-left: 20px;
  border-left: 1px solid rgba(244, 239, 230, 0.3);
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(244, 239, 230, 0.9);
  margin-bottom: 26px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.hero-cta .btn-solid { background: var(--paper); color: var(--bottle-deep); }
.hero-cta .btn-solid:hover { background: var(--gold); color: var(--ink); }
.hero-cta .btn-outline { color: var(--paper); border-color: rgba(244, 239, 230, 0.5); }
.hero-cta .btn-outline:hover { border-color: var(--paper); }

.hero-tag {
  position: absolute;
  right: 28px;
  top: -6px;
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
}

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side {
    grid-column: 1 / 2;
    grid-row: auto;
    border-left: none;
    padding-left: 0;
    margin-top: 34px;
  }
  .hero-tag { display: none; }
}

/* ==========================================================================
   Le mur
   ========================================================================== */
.mur { padding: 96px 0; background: var(--bg); }

.mur-head { max-width: 620px; margin-bottom: 44px; }
.mur-head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.mur-intro { color: var(--text-soft); }

.mur-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 10px;
}

.mur-tile {
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.mur-tile--tall { grid-row: span 2; }

.mur-tile--bottle {
  background-color: var(--bottle);
  background-image: repeating-linear-gradient(135deg, rgba(244,239,230,0.06) 0 2px, transparent 2px 14px);
  color: var(--paper);
}
.mur-tile--ink {
  background-color: var(--ink);
  background-image: repeating-linear-gradient(45deg, rgba(244,239,230,0.05) 0 2px, transparent 2px 16px);
  color: var(--paper);
}
.mur-tile--paper {
  background-color: var(--paper-dim);
  background-image: repeating-linear-gradient(90deg, rgba(20,18,15,0.05) 0 1px, transparent 1px 12px);
  color: var(--ink);
}

.mur-cap { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; }
.mur-cap--dark { color: var(--bottle-deep); }
.mur-sub { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; margin-top: 4px; }
.mur-sub--dark { color: var(--ink-soft); }

.mur-more {
  display: inline-flex;
  gap: 8px;
  margin-top: 30px;
  text-decoration: none;
  font-weight: 600;
  color: var(--bottle);
  border-bottom: 2px solid var(--bottle);
  padding-bottom: 2px;
}
.mur-more:hover { color: var(--gold); border-color: var(--gold); }

@media (max-width: 760px) {
  .mur-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
}

/* ==========================================================================
   Prestations signature — éditorial, asymétrique
   ========================================================================== */
.prestations { padding: 96px 0; background: var(--bg-raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.prest-head { margin-bottom: 50px; }
.prest-head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }

.prest-row {
  display: grid;
  grid-template-columns: 100px 1fr 1.4fr;
  gap: 30px;
  align-items: start;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.prest-row--01 { border-top: none; }

.prest-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--bottle);
  opacity: 0.55;
}

.prest-name {
  font-size: 2rem;
}

.prest-body p { color: var(--text-soft); max-width: 46ch; }
.prest-detail { color: var(--bottle); font-weight: 500; }

.prest-row--02 { grid-template-columns: 100px 1.4fr 1fr; }
.prest-row--02 .prest-name { grid-column: 2; }
.prest-row--02 .prest-body { grid-column: 3; }

.prest-aside {
  margin-top: 40px;
  padding: 26px 28px;
  background: var(--paper-dim);
  border-radius: var(--radius-md);
  max-width: 420px;
}
.prest-aside h4 { font-size: 1.3rem; margin-bottom: 8px; }
.prest-aside p { color: var(--text-soft); margin: 0; }

@media (max-width: 720px) {
  .prest-row, .prest-row--02 { grid-template-columns: 60px 1fr; }
  .prest-row--02 .prest-name, .prest-row--02 .prest-body { grid-column: 2; }
  .prest-num { font-size: 1.8rem; }
}

/* ==========================================================================
   Suivi / concept avant-après (sans photo)
   ========================================================================== */
.suivi { padding: 100px 0; background: var(--ink); color: var(--paper); }

.suivi-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.suivi-copy h2 { font-size: clamp(2.1rem, 3.6vw, 3rem); color: var(--paper); margin-bottom: 20px; }
.suivi-copy p { color: rgba(244, 239, 230, 0.82); }

.suivi-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.suivi-list li {
  display: flex;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--paper);
  border-top: 1px solid rgba(244, 239, 230, 0.18);
  padding-top: 14px;
}
.suivi-list li:first-child { border-top: none; padding-top: 0; }
.suivi-list span {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  min-width: 28px;
}

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

.compare-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.2);
}

.compare-side {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.compare-side--before {
  background-color: var(--bottle-deep);
  background-image: repeating-linear-gradient(45deg, rgba(244,239,230,0.06) 0 3px, transparent 3px 18px);
}
.compare-side--after {
  background-color: var(--paper);
  background-image: repeating-linear-gradient(-45deg, rgba(20,18,15,0.05) 0 2px, transparent 2px 14px);
  clip-path: inset(0 0 0 50%);
}

.compare-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(244, 239, 230, 0.7);
}
.compare-side--after .compare-label { color: var(--ink-soft); }
.compare-word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--paper);
}
.compare-side--after .compare-word { color: var(--bottle-deep); }

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
  transform: translateX(-1px);
  pointer-events: none;
}
.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
}

.compare-range {
  width: 100%;
  accent-color: var(--gold);
}

@media (max-width: 800px) {
  .suivi-frame { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Avis
   ========================================================================== */
.avis { padding: 96px 0; background: var(--bg); }
.avis-head { margin-bottom: 44px; max-width: 620px; }
.avis-head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }

.avis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.avis-card {
  margin: 0;
  padding: 30px;
  background: var(--paper-dim);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.avis-card--ink { background: var(--bottle); color: var(--paper); border-color: transparent; }
.avis-card--ink footer { color: rgba(244,239,230,0.75); }

.avis-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 18px;
}

.avis-card footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
}
.avis-init {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--bottle);
  color: var(--paper);
  font-family: var(--font-body);
  font-style: normal;
}
.avis-card--ink .avis-init { background: var(--paper); color: var(--bottle-deep); }

@media (max-width: 720px) {
  .avis-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: 96px 0; background: var(--bottle-deep); color: var(--paper); }

.contact-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-copy h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--paper); margin-bottom: 28px; }

.contact-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(244,239,230,0.18);
  padding-top: 14px;
}
.contact-list li:first-child { border-top: none; padding-top: 0; }
.contact-lbl {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.6);
}
.contact-list a { text-decoration: none; font-size: 1.05rem; font-weight: 500; }
.contact-list a:hover { color: var(--gold); }

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(244,239,230,0.2);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

@media (max-width: 800px) {
  .contact-frame { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 0;
  padding-bottom: calc(0px + var(--safe-bottom));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
}

.footer-brand p { color: rgba(244,239,230,0.7); max-width: 32ch; margin-top: 10px; }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: rgba(244,239,230,0.85); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(244,239,230,0.16);
  padding-top: 20px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(244,239,230,0.55);
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
