/* ============================================================
   Naturalmente Estetica — stile condiviso (8 pagine)
   Palette provvisoria "Salvia e Lino" — vedi clients/nat/DESIGN.md
   ============================================================ */

:root {
  --bg: #FAF7F3;
  --bg-alt: #F2ECE5;
  --bg-card: #FFFFFF;
  --bg-deep: #342A27;   /* marrone del logo */
  --ink: #2E2523;
  --ink-soft: #5C524D;
  --ink-muted: #8F847E;
  --ink-on-dark: #FFF9F4;
  --brand: #4A3B36;
  --accent: #A9694A;
  --accent-hover: #92573B;
  --wa: #1FAF56;
  --wa-hover: #179347;
  --border: rgba(46, 37, 35, 0.14);
  --radius: 18px;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  font-weight: 350;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 550;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.28rem; font-weight: 560; }

h1 em, h2 em { font-style: italic; font-weight: 480; color: var(--brand); }

.overline {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 42em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.4rem; }

section { padding: 4.5rem 0; }
section.alt { background: var(--bg-alt); }
section.deep { background: var(--bg-deep); color: var(--ink-on-dark); }
section.deep h2, section.deep h3 { color: var(--ink-on-dark); }
section.deep .lead, section.deep p { color: rgba(255, 249, 244, 0.82); }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.logo { display: block; padding: 0.55rem 0; }
.logo img { display: block; height: 48px; width: auto; }

.main-nav ul { display: flex; gap: 1.35rem; list-style: none; align-items: center; }

.main-nav a {
  font-size: 0.92rem;
  font-weight: 450;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--brand); }
.main-nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--accent); }

.nav-promo {
  background: var(--bg-deep);
  color: var(--ink-on-dark) !important;
  padding: 0.32rem 0.85rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  font-weight: 500;
}
.nav-promo:hover { background: var(--brand); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 30px rgba(38, 48, 42, 0.08);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.6rem 1.4rem 1.2rem; }
  .main-nav a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .main-nav a[aria-current="page"] { border-bottom-color: var(--border); }
  .nav-promo { text-align: center; margin-top: 0.8rem; }
}

/* ---------- Hero ---------- */

.hero { padding: 5rem 0 4.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 799px) {
  .hero { padding: 3rem 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.hero .lead { margin: 1.3rem 0 2rem; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2.2rem; font-size: 0.9rem; color: var(--ink-muted); }
.hero-meta strong { display: block; color: var(--ink); font-weight: 500; }

/* ---------- Bottoni ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--accent); color: var(--ink-on-dark); }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink-on-dark); }

.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand); color: var(--ink-on-dark); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Card ---------- */

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 899px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
}
.card h3 { margin-bottom: 0.55rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); }

.card-link { display: block; transition: transform 0.15s ease, box-shadow 0.15s ease; color: inherit; }
.card-link:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(38, 48, 42, 0.1); color: inherit; }
.card-link .card-cta { margin-top: 0.9rem; font-size: 0.88rem; font-weight: 500; color: var(--accent); letter-spacing: 0.04em; }

/* ---------- Listino ---------- */

.price-list { max-width: 640px; }
.price-group { margin-bottom: 2.8rem; }
.price-group h3 { margin-bottom: 1.1rem; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.62rem 0;
}
.price-row .name { color: var(--ink); font-weight: 420; }
.price-row .name small { display: block; color: var(--ink-muted); font-size: 0.84rem; font-weight: 350; }
.price-row .dots { flex: 1; border-bottom: 1.5px dotted var(--border); transform: translateY(-4px); }
.price-row .price { font-weight: 600; color: var(--accent); white-space: nowrap; }
.price-row .price.tbd { color: var(--ink-muted); font-weight: 400; }

.price-note { font-size: 0.88rem; color: var(--ink-muted); margin-top: 1rem; }

/* ---------- Recensioni ---------- */

.review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review blockquote {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--ink);
}
.review .stars { color: #D9A441; font-size: 0.92rem; letter-spacing: 0.12em; }
.review figcaption { font-size: 0.88rem; color: var(--ink-muted); margin-top: auto; display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.review figcaption strong { color: var(--ink); font-weight: 500; }
.g-logo { width: 17px; height: 17px; flex: none; }

.social-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.social-ico { width: 17px; height: 17px; flex: none; }


/* ---------- Hero full-width con video ---------- */

.hero-full { padding: 0 0 4.5rem; }
.hero-full video {
  display: block;
  width: 100%;
  height: clamp(300px, 62vh, 640px);
  object-fit: cover;
  background: var(--bg-deep);
}
.hero-full .hero-copy { text-align: center; max-width: 820px; margin: 0 auto; padding: 3.2rem 1.4rem 0; }
.hero-full .lead { margin: 1.3rem auto 2rem; }
.hero-full .btn-row { justify-content: center; }
.hero-full .hero-meta { justify-content: center; text-align: center; }
@media (max-width: 719px) {
  .hero-full { padding-bottom: 3rem; }
  .hero-full video { height: 46vh; }
  .hero-full .hero-copy { padding-top: 2.4rem; }
}

/* ---------- Gallery editoriale ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 1rem;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
@media (max-width: 699px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 0.7rem; }
}

/* ---------- Blocchi trattamento ---------- */

.treatment {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
}
.t-cols { columns: 2; column-gap: 1.4rem; }
.t-cols .treatment { break-inside: avoid; margin-bottom: 1.4rem; }
@media (max-width: 699px) { .t-cols { columns: 1; } }

.treatment .t-photo {
  width: calc(100% + 3.6rem);
  max-width: none;
  margin: -1.9rem -1.8rem 1.4rem;
  border-radius: var(--radius) var(--radius) 0 0;
  height: 170px;
  object-fit: cover;
}
.treatment h3 { margin-bottom: 0.35rem; }
.treatment .t-tag { display: inline-block; font-size: 0.72rem; font-weight: 550; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem; }
.treatment p { font-size: 0.95rem; color: var(--ink-soft); }
.treatment ul { list-style: none; margin-top: 0.9rem; display: grid; gap: 0.35rem; }
.treatment li { font-size: 0.92rem; color: var(--ink-soft); padding-left: 1.15rem; position: relative; }
.treatment li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.treatment .t-note { margin-top: 0.9rem; font-size: 0.86rem; color: var(--ink-muted); }

.season-pill { display: inline-block; background: var(--bg-deep); color: var(--ink-on-dark); font-size: 0.74rem; font-weight: 550; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.28rem 0.85rem; border-radius: 999px; }

video.img-cover { background: var(--bg-deep); }

/* ---------- Segnaposto foto ---------- */

.img-cover {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.img-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.img-tile.tall { aspect-ratio: 3 / 4; }

.logo-foot { height: 56px; width: auto; margin-bottom: 1.1rem; display: block; }

.ph {
  background: var(--bg-alt);
  border: 1.5px dashed rgba(38, 48, 42, 0.28);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  min-height: 220px;
  padding: 1rem;
}
.ph.tall { min-height: 340px; }
.ph.wide { min-height: 280px; }

/* ---------- Promo laser ---------- */

.promo-band { background: var(--bg-deep); color: var(--ink-on-dark); border-radius: var(--radius); padding: 2.4rem 2.2rem; display: grid; grid-template-columns: 1fr auto; gap: 1.6rem; align-items: center; }
@media (max-width: 699px) { .promo-band { grid-template-columns: 1fr; } }
.promo-band h2, .promo-band h3 { color: var(--ink-on-dark); }
.promo-band p { color: rgba(255, 249, 244, 0.82); font-size: 0.98rem; }
.promo-pill { display: inline-block; background: var(--accent); color: var(--ink-on-dark); font-size: 0.74rem; font-weight: 550; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.28rem 0.85rem; border-radius: 999px; margin-bottom: 0.9rem; }

/* ---------- Tabella orari ---------- */

.hours { width: 100%; max-width: 460px; border-collapse: collapse; }
.hours td { padding: 0.55rem 0; border-bottom: 1px solid var(--border); font-size: 0.98rem; }
.hours td:last-child { text-align: right; font-weight: 500; }
.hours .closed td:last-child { color: var(--ink-muted); font-weight: 400; }
.hours .today td { color: var(--brand); font-weight: 550; }

/* ---------- Mappa ---------- */

.map-frame { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-deep); color: rgba(255, 249, 244, 0.78); padding: 3.5rem 0 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 799px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer h4 { font-family: "Outfit", sans-serif; font-size: 0.78rem; font-weight: 550; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-on-dark); margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 249, 244, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-bottom { border-top: 1px solid rgba(255, 249, 244, 0.16); padding-top: 1.4rem; font-size: 0.8rem; color: rgba(255, 249, 244, 0.5); display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: space-between; }

/* ---------- WhatsApp FAB + sticky bar mobile ---------- */

.wa-fab {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(31, 175, 86, 0.4);
  transition: background 0.18s ease, transform 0.12s ease;
}
.wa-fab:hover { background: var(--wa-hover); transform: scale(1.05); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

.sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.7rem;
}
.sticky-bar .btn { flex: 1; min-height: 48px; font-size: 0.95rem; padding: 0.7rem 0.9rem; }

@media (max-width: 719px) {
  .sticky-bar { display: flex; }
  .wa-fab { display: none; }
  body { padding-bottom: 76px; }
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  max-width: 460px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(46, 37, 35, 0.18);
  padding: 1.1rem 1.2rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.cookie-banner p { margin-bottom: 0.8rem; }
.cookie-banner p:first-child { margin-bottom: 0.35rem; color: var(--ink); }
.cookie-banner .btn { padding: 0.5rem 1.1rem; font-size: 0.88rem; }
.cookie-banner .btn-row { gap: 0.6rem; }
@media (max-width: 719px) {
  .cookie-banner { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ---------- Utility ---------- */

.section-head { margin-bottom: 2.6rem; max-width: 46em; }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.crumbs { font-size: 0.85rem; color: var(--ink-muted); padding-top: 1.6rem; }
.crumbs a { color: var(--ink-muted); }
.crumbs a:hover { color: var(--brand); }
