/* ==========================================================================
   Armonia — feuille de style
   DA : murs terracotta, bois clair, arches, verdure, crème
   ========================================================================== */

:root {
  --cream: #fbf6f1;
  --paper: #ffffff;
  --blush: #f6e6dd;
  --terra: #c46f55;
  --terra-deep: #9e5340;
  --terra-soft: #e3a28c;
  --oak: #c9a27a;
  --sage: #7f8c69;
  --ink: #3a2823;
  --ink-soft: #5e4a44;
  --muted: #7d6a63;
  --line: rgba(58, 40, 35, .12);

  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;

  --radius: 20px;
  --arch: 999px 999px 20px 20px;
  --shadow: 0 20px 44px -24px rgba(110, 50, 35, .45);
  --container: 1180px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-weight: 300; font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.4rem; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--terra); }
p { margin: 0 0 1em; }
strong { font-weight: 500; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.center { text-align: center; margin-top: 36px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6em 1em; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.eyebrow { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--terra); font-weight: 500; margin-bottom: .9em; }
.note { font-size: .9rem; color: var(--muted); font-style: italic; }
.link { color: var(--terra-deep); font-weight: 400; text-underline-offset: 4px; }
.link:hover { color: var(--terra); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: .7em 1.6em; border-radius: 999px; font: 400 .97rem/1.2 var(--font-body); letter-spacing: .03em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--terra-deep); }

/* Bandeau démo */
.demo-bar { background: var(--ink); color: #f4e6de; text-align: center; font-size: .82rem; padding: .55em 16px; }
.demo-bar strong { color: var(--terra-soft); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 241, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 52px; display: grid; place-items: center; border-radius: 999px 999px 6px 6px;
  background: var(--terra); color: #fff; font-family: var(--font-title); font-size: 1.6rem; font-style: italic; padding-top: 6px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-title); font-size: 1.7rem; letter-spacing: .02em; }
.brand-sub { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .35em; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.main-nav a:not(.btn) { text-decoration: none; font-size: .96rem; position: relative; padding: .3em 0; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); }

.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { position: absolute; left: 50%; width: 20px; height: 1.5px; background: var(--ink); transform: translateX(-50%); transition: transform .3s; content: ""; }
.menu-toggle-bars { top: 50%; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (min-width: 941px) { .main-nav { display: flex; align-items: center; gap: 32px; } }
@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 16px 24px; display: none; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a:not(.btn) { display: block; padding: .9em 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; width: 100%; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; right: -8%; top: -10%; width: 55%; height: 120%;
  background: var(--blush); border-radius: 999px 0 0 999px; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 300; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink-soft); font-size: .95rem; margin: 0; }
.stars { color: var(--terra); letter-spacing: .12em; font-size: 1.05rem; }

.hero-visual { position: relative; min-height: 540px; }
.arch { margin: 0; overflow: hidden; box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-main { width: 72%; aspect-ratio: 3 / 4; margin-left: auto; margin-right: 4%; border-radius: var(--arch); }
.arch-main img { object-position: 30% center; }
.hero-card { position: absolute; margin: 0; overflow: hidden; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow); background: #fff; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card { left: 0; bottom: 4%; width: 36%; aspect-ratio: 3 / 4; }
.hero-card-2 { left: auto; right: 0; bottom: -6%; width: 30%; aspect-ratio: 1; border-radius: 50%; }

/* Sections */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-blush { background: var(--blush); }
.section-terra { background: var(--terra); color: #fff7f3; }
.section-terra h2, .section-terra .eyebrow { color: #fff; }
.section-terra h2 em { color: #ffd9c9; }
.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); }

/* Expertises */
.experts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.expert { text-align: center; }
.expert-img { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow); }
.expert-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.expert:hover .expert-img img { transform: scale(1.04); }
.expert p { color: var(--ink-soft); max-width: 30em; margin-inline: auto; }

/* Tarifs (onglets) */
.tab-list { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tab {
  font: 400 1rem var(--font-body); padding: .65em 1.6em; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--terra); background: transparent; color: var(--terra-deep); min-height: 46px;
}
.tab[aria-selected="true"] { background: var(--terra); color: #fff; }
.tab-panel:focus-visible { outline-offset: 8px; border-radius: 8px; }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.price-card { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(196, 111, 85, .18); }
.price-card h3 { padding-bottom: .55em; margin-bottom: .8em; border-bottom: 1px solid rgba(196, 111, 85, .3); }
.price-card h3 span { display: block; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-top: .35em; }
.price-card dl { margin: 0; }
.price-card dl div { display: flex; align-items: baseline; gap: 12px; padding: .38em 0; border-bottom: 1px dashed var(--line); }
.price-card dl div:last-child { border-bottom: 0; }
.price-card dt { color: var(--ink-soft); }
.price-card dd { margin: 0 0 0 auto; font-weight: 500; white-space: nowrap; color: var(--terra-deep); }
.price-note { font-size: .9rem; color: var(--muted); margin: 1em 0 0; }
.price-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid rgba(196, 111, 85, .18); display: flex; flex-direction: column; }
.price-photo img { width: 100%; flex: 1; object-fit: cover; }
.price-photo figcaption { padding: 12px 18px; font-size: .9rem; color: var(--muted); }

/* Galerie */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery li { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; }
.gallery li:nth-child(4n+1) { border-radius: var(--arch); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery li:hover img { transform: scale(1.04); }

/* Salon */
.salon-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.salon-text p { color: #fde9e0; }
.salon-points { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 10px; }
.salon-points li { padding-left: 28px; position: relative; color: #fff; }
.salon-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 17px; border-radius: 999px 999px 3px 3px; background: #ffd9c9; }
.salon-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.sp { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; aspect-ratio: 4 / 3; }
.sp-1 { border-radius: var(--arch); aspect-ratio: 3 / 4; grid-row: span 2; }
.sp-4 { display: none; }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); position: relative; }
.review::before { content: "★★★★★"; display: block; color: var(--terra); letter-spacing: .12em; margin-bottom: 12px; }
.review p { font-family: var(--font-title); font-size: 1.3rem; font-style: italic; font-weight: 300; line-height: 1.35; }
.review footer { font-size: .88rem; color: var(--muted); }

/* Infos */
.infos-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.info-card { background: var(--paper); border-radius: var(--radius); padding: 22px; border: 1px solid rgba(196, 111, 85, .18); }
.info-card-wide, .info-cta { grid-column: 1 / -1; }
.info-card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.info-card address, .info-card p { font-style: normal; color: var(--ink-soft); margin: 0; }
.info-card a { color: var(--terra-deep); text-decoration: none; }
.info-card a:hover { text-decoration: underline; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: .32em 0; border-bottom: 1px dashed var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--ink-soft); }
.hours dd { margin: 0; font-weight: 400; text-align: right; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 400px; background: #ead2c7; }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* Pied de page */
.site-footer { background: var(--ink); color: #e3d3cc; padding: 56px 0 28px; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; }
.footer-brand { font-family: var(--font-title); font-size: 2.2rem; color: #fff; margin-bottom: .2em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.footer-links a { color: var(--terra-soft); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin: 12px 0 0; font-size: .85rem; color: #ad9a93; }
.footer-legal a { color: inherit; }

/* Apparition */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .gallery img, .expert-img img { transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery li:nth-child(n+7) { display: none; }
  .reviews { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .hero-grid, .salon-grid, .infos-grid { grid-template-columns: 1fr; }
  .hero::before { width: 100%; height: 55%; top: auto; bottom: 0; right: 0; border-radius: 999px 999px 0 0; }
  .hero-visual { min-height: 0; max-width: 520px; width: 100%; margin: 8px auto 30px; }
  .experts { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .price-grid { grid-template-columns: 1fr; }
  .salon-photos { max-width: 620px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery li:nth-child(n+7) { display: block; }
  .info-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hours div { flex-direction: column; gap: 0; }
  .hours dd { text-align: left; }
}
