/* ===========================================================
   Andreia Silva Aesthetics — Design System
   Estética avançada · Portugal · PT-PT
   =========================================================== */

:root {
  /* Paleta */
  --bg: #fbf7f3;          /* marfim quente */
  --bg-alt: #f3e9e1;      /* areia rosada */
  --ink: #2b2528;         /* preto quente */
  --muted: #756b6a;       /* texto secundário */
  --primary: #8a5a6a;     /* rosé/plum */
  --primary-dark: #6e4555;
  --gold: #c2a36b;        /* champanhe */
  --gold-soft: #e8d8b8;
  --line: #e7dad0;
  --white: #ffffff;
  --dark: #2e252a;        /* secções escuras */

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow: 0 22px 60px -28px rgba(43, 37, 40, .45);
  --shadow-soft: 0 10px 30px -18px rgba(43, 37, 40, .35);
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1160px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; color: var(--ink); overflow-wrap: break-word; }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }

.serif-accent { font-family: var(--serif); font-style: italic; color: var(--primary); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #f4ece8; }
.section--dark h2 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.section--dark .eyebrow { color: var(--gold); }

.lead { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.section--dark .lead { color: #d8ccc6; }

.head { max-width: 620px; margin-bottom: 52px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600; font-size: .98rem;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #2b2528; }
.btn--gold:hover { background: #b3925a; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn svg { width: 19px; height: 19px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 243, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.header.scrolled { box-shadow: 0 6px 24px -18px rgba(43,37,40,.5); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.brand__tag { font-size: .62rem; text-transform: uppercase; letter-spacing: .28em; color: var(--primary); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: .94rem; font-weight: 500; color: var(--ink); position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--primary); transition: width .3s ease;
}
.nav a:hover::after { width: 100%; }
.header__cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(70px, 11vw, 130px) 0 clamp(60px, 9vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 15%, rgba(194,163,107,.20), transparent 60%),
    radial-gradient(55% 65% at 10% 90%, rgba(138,90,106,.16), transparent 60%),
    var(--bg);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero p { margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__micro { margin-top: 22px; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__micro .dot { width: 7px; height: 7px; border-radius: 50%; background: #56b15f; box-shadow: 0 0 0 4px rgba(86,177,95,.18); }

.hero__visual {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(138,90,106,.92), rgba(110,69,85,.95)),
    radial-gradient(circle at 30% 25%, rgba(232,216,184,.5), transparent 55%);
  box-shadow: var(--shadow);
  overflow: hidden; display: flex; align-items: flex-end; padding: 30px;
}
.hero__visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to top, rgba(43,37,40,.45), transparent 45%), url("../img/hero.jpg");
  background-size: cover; background-position: right top;
  opacity: 1;
}
.hero__badge {
  position: relative; z-index: 2; background: rgba(255,255,255,.92); border-radius: 16px;
  padding: 16px 20px; backdrop-filter: blur(6px); box-shadow: var(--shadow-soft); max-width: 250px;
}
.hero__badge strong { font-family: var(--serif); display: block; font-size: 1.05rem; }
.hero__badge span { font-size: .85rem; color: var(--muted); }

/* ---------- Diferenciais ---------- */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .3s ease, box-shadow .3s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feat__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(138,90,106,.14), rgba(194,163,107,.18));
  color: var(--primary); margin-bottom: 18px;
}
.feat__icon svg { width: 26px; height: 26px; }
.feat h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feat p { font-size: .95rem; color: var(--muted); }

/* ---------- Tratamentos ---------- */
.treatments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card__top {
  padding: 26px 26px 0; display: flex; align-items: center; justify-content: space-between;
}
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(194,163,107,.18), rgba(138,90,106,.14)); color: var(--primary);
}
.card__icon svg { width: 25px; height: 25px; }
.card__tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--gold); }
.card__body { padding: 18px 26px 0; flex: 1; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { font-size: .94rem; color: var(--muted); margin-bottom: 14px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chip {
  font-size: .76rem; padding: 5px 11px; border-radius: 999px;
  background: var(--bg-alt); color: var(--primary-dark); font-weight: 600;
}
.card__foot {
  margin-top: auto; padding: 20px 26px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.card__price { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.card__price small { font-family: var(--sans); font-size: .78rem; color: var(--muted); font-weight: 500; }
.card__link { font-size: .9rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.card__link:hover { gap: 10px; }
.card.is-flagship { border: 1.5px solid var(--gold); }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about__visual {
  aspect-ratio: 4/5; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  background: var(--bg-alt);
  background-image: url("../img/sobre.jpg"); background-size: cover; background-position: center;
}
.about h2 { margin-bottom: 18px; }
.about p { color: var(--muted); margin-bottom: 16px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 26px; }
.value { display: flex; gap: 12px; align-items: flex-start; }
.value svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.value strong { display: block; font-size: .98rem; }
.value span { font-size: .86rem; color: var(--muted); }

/* ---------- Preços ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.price-card h3 { margin-bottom: 6px; }
.price-card .desc { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px dashed var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row span { font-size: .96rem; }
.price-row b { font-family: var(--serif); font-size: 1.15rem; color: var(--primary-dark); }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 26px; }
.pack {
  background: linear-gradient(160deg, var(--white), var(--bg-alt));
  border: 1px solid var(--gold-soft); border-radius: var(--radius); padding: 28px;
}
.pack h4 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 14px; }
.pay-note {
  margin-top: 30px; text-align: center; font-size: .92rem; color: var(--muted);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px;
}
.pay-note strong { color: var(--ink); }

/* ---------- O nosso espaço ---------- */
.espaco { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.espaco__tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; box-shadow: var(--shadow-soft); background: var(--bg-alt);
}
.espaco__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.espaco__tile:hover img { transform: scale(1.06); }
.espaco__tile--wide { grid-column: span 2; aspect-ratio: 3/2; }
.espaco__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  background: linear-gradient(to top, rgba(43,37,40,.62), transparent);
  color: #fff; font-size: .9rem; font-weight: 600;
}

/* ---------- Resultados / Antes & Depois ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 4/5; background: var(--bg-alt); box-shadow: var(--shadow-soft);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item.is-video::after {
  content: ""; position: absolute; inset: 0; background: rgba(43,37,40,.25);
}
.gallery__play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none;
}
.gallery__play span {
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-items: center; box-shadow: var(--shadow-soft);
}
.gallery__play span::before {
  content: ""; border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--primary); margin-left: 3px;
}
.gallery__cta { text-align: center; margin-top: 40px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(28,23,26,.92);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox__media { max-width: min(92vw, 620px); max-height: 88vh; border-radius: 14px; overflow: hidden; }
.lightbox__media img, .lightbox__media video { width: 100%; max-height: 88vh; object-fit: contain; display: block; }
.lightbox__close {
  position: absolute; top: 22px; right: 26px; background: none; border: 0; color: #fff;
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14);
  border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer;
}
.lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
  padding: 22px 40px 22px 0; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.5rem; color: var(--primary); transition: transform .3s ease;
}
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 40px 22px 0; color: var(--muted); font-size: .98rem; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 18px; max-width: 16ch; margin-left: auto; margin-right: auto; }
.cta-final p { margin: 0 auto 30px; }
.cta-final .btn { margin: 0 6px 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #cabfba; padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.footer a { color: #cabfba; font-size: .95rem; }
.footer a:hover { color: var(--gold); }
.footer li { margin-bottom: 10px; }
.footer__brand .brand__name { color: #fff; font-size: 1.4rem; }
.footer__brand p { font-size: .92rem; margin-top: 12px; max-width: 30ch; color: #a99e99; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .82rem; color: #8d827d;
}
.hours-row { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 8px; }
.hours-row span:last-child { color: #fff; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 440px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .treatments { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .pricing { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .espaco { grid-template-columns: repeat(2, 1fr); }
  .espaco__tile--wide { grid-column: span 2; aspect-ratio: 16/9; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .nav, .header__cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; top: 76px; left: 0; right: 0; background: var(--bg);
    padding: 24px; border-bottom: 1px solid var(--line);
  }
  .feats, .treatments, .values, .packs, .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .espaco { grid-template-columns: 1fr 1fr; gap: 10px; }
  .espaco__tile--wide { grid-column: span 2; aspect-ratio: 16/10; }
  body { font-size: 16px; }

  /* Espaçamento mobile afinado (evitar gaps excessivos) */
  .section { padding: 52px 0; }
  .hero { padding: 40px 0 48px; }
  .hero__grid { gap: 26px; }
  .head { margin-bottom: 30px; }
  .about { gap: 26px; }
  h1 { font-size: 2.05rem; line-height: 1.15; }
  h2 { font-size: 1.7rem; }
  .lead { font-size: 1rem; }
  .feat { padding: 24px 22px; }
  .btn--lg { padding: .95rem 1.6rem; font-size: 1rem; }
  .footer { padding: 52px 0 28px; }
  .footer__bottom { margin-top: 34px; }
}
