/* ============================================================
   Addict Coiffure — Toulouse
   Composition: warm earth editorial · broadsheet columns
   ============================================================ */

:root {
  --bg: #f5efe4;
  --bg-2: #efe6d7;
  --surface: #fbf7ef;
  --ink: #2b1e14;
  --ink-soft: #5c4a3c;
  --ink-faint: #8a7565;
  --accent: #c25a37;
  --accent-deep: #9c4326;
  --secondary: #6a7a4a;
  --rule: #d9cbb6;
  --warm-light: rgba(226, 168, 96, 0.30);
  --glow-y: 12%;
  --shadow: 0 1px 2px rgba(43, 30, 20, .05), 0 12px 32px -18px rgba(43, 30, 20, .28);
  --radius: 3px;
  --wrap: 1180px;
  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1310;
    --bg-2: #221a15;
    --surface: #241b16;
    --ink: #f2e8db;
    --ink-soft: #cbb9a5;
    --ink-faint: #9c8874;
    --accent: #e07a52;
    --accent-deep: #f09268;
    --secondary: #9aad74;
    --rule: #3b2d24;
    --warm-light: rgba(200, 120, 60, 0.22);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -18px rgba(0, 0, 0, .7);
  }
}

:root[data-theme="dark"] {
  --bg: #1a1310;
  --bg-2: #221a15;
  --surface: #241b16;
  --ink: #f2e8db;
  --ink-soft: #cbb9a5;
  --ink-faint: #9c8874;
  --accent: #e07a52;
  --accent-deep: #f09268;
  --secondary: #9aad74;
  --rule: #3b2d24;
  --warm-light: rgba(200, 120, 60, 0.22);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -18px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}

/* soft light source that drifts with scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% var(--glow-y), var(--warm-light) 0, transparent 62%);
  transition: background-position .1s linear;
}

main, .site-head, .site-foot { position: relative; z-index: 1; }

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

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.32rem; }

p { margin: 0 0 1.1em; max-width: 68ch; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.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 {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: .7rem 1.1rem; z-index: 99;
}
.skip:focus { left: .5rem; top: .5rem; }

.kicker {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 .9rem;
  max-width: none;
}

/* ================= HEADER ================= */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
}

.head-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: .7rem clamp(1.15rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--ink);
  margin-right: auto;
}
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  border-radius: 50%;
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.brand-text em { font-style: normal; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }

.site-nav { display: flex; gap: 1.35rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .93rem;
  padding: .55rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.head-actions { display: flex; align-items: center; gap: .6rem; }

.phone-btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 44px;
  padding: .4rem .95rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  line-height: 1.15;
}
.phone-btn:hover { background: var(--accent-deep); color: #fff; }
.phone-label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.phone-num { font-weight: 600; font-size: .98rem; }

.theme-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.05rem;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ================= HERO ================= */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); }

.hero-glow {
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 70vh;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, var(--warm-light) 0%, transparent 65%);
  z-index: -1;
}

.hero .wrap { max-width: var(--wrap); }

.hero-title {
  font-size: clamp(2.5rem, 8.2vw, 5.6rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 1.1rem;
  position: relative;
  font-variation-settings: 'wght' 300, 'opsz' 100;
  animation: weigh linear both;
  animation-timeline: scroll(root);
  animation-range: 0 30vh;
}

@keyframes weigh {
  from { font-variation-settings: 'wght' 220, 'opsz' 100; }
  to   { font-variation-settings: 'wght' 880, 'opsz' 100; }
}

.hero-title .default,
.hero-title .alt {
  display: block;
  transition: opacity .45s ease, transform .45s ease;
}
.hero-title .alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(6px);
  color: var(--accent);
  font-style: italic;
  pointer-events: none;
}
@media (hover: hover) {
  .hero-title:hover .default { opacity: 0; transform: translateY(-6px); }
  .hero-title:hover .alt { opacity: 1; transform: translateY(0); }
}

.hero-lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: 1.8rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: .8rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--rule); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 1.3rem 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.1rem 2rem;
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; }
.hero-facts span { font-size: .86rem; color: var(--ink-faint); }

.hero-figure {
  margin: clamp(2rem, 5vw, 3.4rem) auto 0;
  max-width: var(--wrap);
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-figure figcaption {
  font-size: .82rem;
  color: var(--ink-faint);
  margin-top: .7rem;
  font-style: italic;
}

/* ================= SECTION SHELL ================= */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-lede { color: var(--ink-soft); }

.services { background: var(--bg-2); border-block: 1px solid var(--rule); }

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: .35rem; }
.card-note { font-size: .9rem; color: var(--ink-faint); margin-bottom: 1rem; }

.price-list { list-style: none; margin: 0; padding: 0; margin-top: auto; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: .42rem 0;
  border-bottom: 1px dotted var(--rule);
  font-size: .95rem;
}
.price-list li:last-child { border-bottom: 0; }
.price-list span { color: var(--ink-soft); }
.price-list b {
  margin-left: auto;
  font-family: var(--serif);
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
}

.services-foot {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  font-size: .95rem;
  color: var(--ink-soft);
  max-width: 70ch;
}

/* ================= BROADSHEET ================= */
.broadsheet {
  column-count: 3;
  column-gap: 3rem;
  column-rule: 1px solid var(--rule);
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.broadsheet p { max-width: none; margin-bottom: 1.05em; }
.broadsheet p:first-of-type { margin-top: 0; }

.dropcap::first-letter {
  font-family: var(--serif);
  font-size: 3.5em;
  font-weight: 600;
  float: left;
  line-height: .82;
  padding: .06em .12em 0 0;
  color: var(--accent);
}

@media (max-width: 1000px) {
  .broadsheet { column-count: 2; column-gap: 2.2rem; }
}
@media (max-width: 640px) {
  .broadsheet { column-count: 1; column-rule: 0; }
}

.salon-strip {
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.salon-strip figure { margin: 0; }
.salon-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.salon-strip figcaption { font-size: .82rem; color: var(--ink-faint); margin-top: .6rem; font-style: italic; }

.salon-notes h3 { margin-bottom: .8rem; }
.notes-list { list-style: none; margin: 0; padding: 0; }
.notes-list li {
  padding: .6rem 0 .6rem 1.1rem;
  border-bottom: 1px solid var(--rule);
  font-size: .95rem;
  color: var(--ink-soft);
  position: relative;
}
.notes-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.25em;
  width: 6px; height: 1px;
  background: var(--accent);
}
.notes-list li:last-child { border-bottom: 0; }
.notes-list strong { color: var(--ink); font-weight: 600; }

@media (max-width: 760px) {
  .salon-strip { grid-template-columns: 1fr; }
  .salon-strip img { aspect-ratio: 4 / 3; }
}

/* ================= AVIS ================= */
.avis { background: var(--bg-2); border-block: 1px solid var(--rule); }

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.quotes blockquote {
  margin: 0;
  padding: 1.4rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--secondary);
  border-radius: var(--radius);
}
.quotes p {
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: .9rem;
  max-width: none;
}
.quotes cite {
  font-style: normal;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--ink-faint);
}

/* ================= INFOS ================= */
.infos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.8rem, 4vw, 3.2rem);
}

.infos-block h3 { margin-bottom: .9rem; }
.infos-block h3.mt { margin-top: 2rem; }

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
}
.hours th, .hours td {
  text-align: left;
  padding: .58rem 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 400;
}
.hours th { color: var(--ink); width: 42%; }
.hours td { color: var(--ink-soft); }
.hours tr.closed td { color: var(--ink-faint); font-style: italic; }
.hours tr.closed th { color: var(--ink-faint); }
.hours .tag {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  border-radius: 999px;
  padding: .05rem .5rem;
  margin-left: .4rem;
  vertical-align: 1px;
}
.hours-note { font-size: .85rem; color: var(--ink-faint); margin-top: .9rem; }

.adr {
  font-style: normal;
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.adr strong { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; }
.adr-note { display: block; font-size: .87rem; color: var(--ink-faint); margin-top: .5rem; max-width: 46ch; }

.big-phone { margin: 0 0 .4rem; }
.big-phone a {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.big-phone a:hover { color: var(--accent-deep); text-decoration: underline; }

.map-link { margin-top: 1.1rem; font-size: .95rem; }

/* ================= FOOTER ================= */
.site-foot {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(2.4rem, 5vw, 3.6rem) 0 1.6rem;
  border-top: 1px solid var(--rule);
}
.site-foot a { color: var(--bg); }
.site-foot a:hover { color: var(--accent); }

.foot-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 3rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(245, 239, 228, .18);
}
.foot-brand { display: flex; gap: .9rem; align-items: flex-start; }
.foot-brand .brand-mark { border-color: var(--accent); color: var(--accent); }
.foot-brand p { margin: 0; font-size: .93rem; line-height: 1.6; opacity: .85; max-width: none; }
.foot-brand strong { font-family: var(--serif); font-size: 1.05rem; opacity: 1; }

.foot-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot-nav a { text-decoration: none; font-size: .93rem; opacity: .85; }
.foot-nav a:hover { opacity: 1; }

.foot-legal {
  font-size: .82rem;
  opacity: .6;
  margin: 1.4rem 0 1.2rem;
  max-width: 62ch;
}

.claim-wrap { margin: 0 0 1.1rem; }
.claim-banner {
  display: inline-block;
  font-size: .8rem;
  padding: .45rem .85rem;
  border-radius: var(--radius);
  background: rgba(245, 239, 228, .08);
  border: 1px solid rgba(245, 239, 228, .22);
  color: var(--bg);
  text-decoration: none;
  opacity: .8;
}
.claim-banner:hover { opacity: 1; border-color: var(--accent); color: var(--accent); }

.muted.attribution { margin: 0; font-size: .78rem; opacity: .5; }
.muted.attribution a { text-decoration: none; }
.muted.attribution a:hover { text-decoration: underline; opacity: 1; }

/* ================= MOTION SAFETY ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-title { font-variation-settings: 'wght' 520, 'opsz' 100; animation: none; }
  body::before { transition: none; }
}

/* browsers without scroll-driven animation support */
@supports not (animation-timeline: scroll()) {
  .hero-title { font-variation-settings: 'wght' 520, 'opsz' 100; animation: none; }
}

/* ================= SMALL SCREENS ================= */
@media (max-width: 860px) {
  .site-nav { order: 3; width: 100%; gap: 1rem; }
  .head-inner { gap: .8rem; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .hero-title { max-width: none; }
  .brand-text em { display: none; }
  .phone-btn { padding: .4rem .7rem; }
  .phone-num { font-size: .9rem; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .foot-top { flex-direction: column; }
}
