:root {
  --bg: #faf7f4;
  --bg-soft: #f3ebe4;
  --bg-white: #ffffff;
  --ink: #1c1714;
  --ink-soft: #5c534d;
  --accent: #9a4f3a;
  --accent-deep: #7d3d2c;
  --line: #e7ddd4;
  --line-strong: #d8cbc0;
  --header-h: 7.5rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow-soft: 0 18px 50px rgba(60, 35, 25, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(154, 79, 58, 0.07), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(194, 156, 122, 0.12), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem 1rem;
  background: color-mix(in srgb, var(--bg-white) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(40, 20, 10, 0.04);
}

.logo img {
  width: min(240px, 58vw);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.6rem;
}

.site-nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 0.25rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: heroDrift 18s var(--ease) infinite alternate;
  z-index: -2;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 12, 10, 0.72) 0%, rgba(18, 12, 10, 0.45) 42%, rgba(18, 12, 10, 0.28) 100%),
    linear-gradient(180deg, rgba(18, 12, 10, 0.2), rgba(18, 12, 10, 0.45));
  z-index: -1;
}

.hero__content {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.hero__copy {
  color: #fff;
  max-width: 32rem;
  animation: formRise 0.85s var(--ease) both;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 245, 238, 0.82);
  animation: formRise 0.75s var(--ease) 0.05s both;
}

.hero__copy h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #fff;
  animation: formRise 0.85s var(--ease) 0.12s both;
}

.hero__lead {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 248, 242, 0.88);
  max-width: 28rem;
  animation: formRise 0.85s var(--ease) 0.2s both;
}

.hero__promo {
  display: inline-block;
  margin: 0;
  padding: 0.55rem 0.9rem;
  border-left: 2px solid color-mix(in srgb, var(--accent) 70%, white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  animation: formRise 0.85s var(--ease) 0.28s both;
}

.hero-form {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: color-mix(in srgb, #fff 92%, transparent);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 28px 60px rgba(10, 6, 4, 0.28);
  animation: formRise 0.95s var(--ease) 0.22s both;
}

.hero-form__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
}

.hero-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hero-form input,
.hero-form select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0.9rem 0.95rem;
  font: inherit;
  color: var(--ink);
  border-radius: 0;
}

.hero-form input:focus,
.hero-form select:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, white);
  outline-offset: 1px;
  border-color: var(--accent);
}

.hero-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s;
}

.btn--submit {
  margin-top: 0.15rem;
  padding: 1rem 1.4rem;
  background: #111;
  color: #fff;
  font-size: 0.74rem;
}

.btn--submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.form-message {
  min-height: 1.1rem;
  margin: 0;
  font-size: 0.88rem;
  color: var(--accent-deep);
}

.form-message.is-error {
  color: #9a2f2f;
}

/* About */
.about {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  overflow: hidden;
}

.about__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 247, 244, 0.82), rgba(250, 247, 244, 0.94)),
    url("medias/valerie-coiffure-peigne-transparent.jpeg") center / cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.about__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.about__portrait {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 1.2s var(--ease);
}

.about__portrait:hover img {
  transform: scale(1.03);
}

.about__copy h2,
.services__intro h2,
.tariff-block h3,
.about__detail h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
}

.about__copy h2 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1;
}

.about__copy p {
  margin: 0 0 1rem;
  color: var(--ink);
  max-width: 38rem;
}

.about__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 80%, transparent);
  max-width: 38rem;
}

.about__detail h3 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.about__detail p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.about__detail a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.about__detail a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.ig-link {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.ig-link:hover {
  color: var(--accent);
}

/* Services */
.services {
  padding: clamp(3rem, 7vw, 5.5rem) 0 4rem;
  background: var(--bg-white);
}

.services__intro {
  text-align: center;
  margin-bottom: 2.75rem;
}

.services__intro h2 {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.promo {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
}

.tariff-block {
  margin-bottom: 3rem;
}

.tariff-block h3 {
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  margin-bottom: 1.15rem;
}

.tariff-block--note .note {
  margin: 0;
  text-align: center;
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  background: var(--bg-white);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

.price-table--compact {
  min-width: 360px;
  max-width: 520px;
}

.price-table th,
.price-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #f6f1ec;
  color: var(--ink);
  font-weight: 700;
}

.price-table tbody tr:nth-child(even) {
  background: #fcfaf8;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table td:first-child {
  color: var(--ink-soft);
  min-width: 16rem;
}

.price-table td:not(:first-child) {
  white-space: nowrap;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.services__footnote {
  text-align: center;
  margin: 0.35rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Map */
.map {
  background: var(--bg);
  padding: 0;
}

.map__frame {
  width: 100%;
  height: min(480px, 62vw);
  min-height: 300px;
  overflow: hidden;
  background: var(--bg-white);
}

.map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

/* Footer */
.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--line);
  padding: 1.35rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer__social {
  display: flex;
  gap: 0.85rem;
}

.footer__social a {
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: color 0.25s, transform 0.25s var(--ease);
}

.footer__social a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.4%, -1%, 0);
  }
}

@keyframes formRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__media,
  .hero__copy,
  .hero__brand,
  .hero__copy h1,
  .hero__lead,
  .hero__promo,
  .reveal,
  .about__portrait img,
  .btn,
  .hero-form {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding: 2.25rem 0 2.75rem;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero__copy h1 {
    font-size: clamp(2.6rem, 11vw, 3.4rem);
  }

  .hero-form__row {
    grid-template-columns: 1fr;
  }

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

  .about__portrait {
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: stretch;
  }

  .logo {
    justify-self: start;
  }

  .logo img {
    width: 170px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.35rem 0 0.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
