/* ===== Fontes (alojadas localmente — sem pedidos à Google, RGPD) ===== */
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --wine-900: #3E0F1A;
  --wine-800: #521423;
  --wine-700: #6B1E2E;
  --wine-600: #8B2635;
  --gold-300: #E3C88A;
  --gold-500: #C5A059;
  --gold-700: #9C7A3C;
  --ivory: #FAF7F2;
  --cream: #F3ECE1;
  --ink: #1F1A1C;
  --muted: #6A5F62;
  --line: #E6DCCD;
  --white: #FFFFFF;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(62, 15, 26, .04), 0 12px 32px -12px rgba(62, 15, 26, .18);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--wine-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
em.gold { font-style: italic; font-weight: 500; color: var(--gold-500); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-700); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--wine-900); box-shadow: 0 10px 24px -10px rgba(197, 160, 89, .7); }
.btn-wine { background: var(--wine-700); color: var(--white); }
.btn-wine:hover { background: var(--wine-600); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--wine-700); color: var(--wine-700); }
.btn-outline:hover { background: var(--wine-700); color: var(--white); }

/* ===== Cabeçalho ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.header.scrolled { background: rgba(62, 15, 26, .92); backdrop-filter: blur(12px); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .4); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
/* Monograma RM (do logótipo) — cor via currentColor */
#rm path, svg use { fill: currentColor; }
.monogram { flex: none; width: 48px; height: 46px; color: var(--gold-300); }
.brand-text strong { display: block; font: 500 1.12rem/1.1 var(--serif); letter-spacing: .16em; text-transform: uppercase; }
.brand-text span {
  display: block; margin-top: 5px; padding-top: 4px; border-top: 1px solid rgba(227, 200, 138, .45);
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-300);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--gold-300); }
.nav .btn { padding: 11px 20px; color: var(--wine-900); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(197, 160, 89, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(139, 38, 53, .8), transparent 60%),
    linear-gradient(160deg, var(--wine-900), var(--wine-700));
  padding: 150px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--gold-300); }
.hero p.lead { font-size: 1.18rem; color: rgba(255, 255, 255, .8); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--gold-500); }

.hero-card {
  position: relative; border-radius: 24px; padding: 32px;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(227, 200, 138, .28);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.hero-card .seal {
  width: 120px; height: 120px; margin: -92px auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wine-700);
  border: 1px solid var(--gold-500); box-shadow: inset 0 0 0 6px var(--wine-700), inset 0 0 0 7px rgba(197,160,89,.5), 0 20px 40px -16px rgba(0,0,0,.6);
  color: var(--gold-300);
}
.hero-card .seal svg { width: 66px; height: 62px; }
.hero-card h3 { text-align: center; font-size: 1.6rem; margin-bottom: 4px; }
.hero-card .sub { text-align: center; color: var(--gold-300); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 24px; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); font-size: .95rem; color: rgba(255,255,255,.88); }
.mini-steps b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-500); color: var(--wine-900); font-size: .8rem; }

/* ===== Sobre ===== */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, var(--cream), #E9DDCB);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.portrait-mark { width: 56%; aspect-ratio: 204 / 192; margin-bottom: 18%; color: var(--wine-700); opacity: .92; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait .tag {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  padding: 14px 18px; border-radius: 14px; font-size: .9rem; color: var(--muted);
}
.portrait .tag strong { color: var(--ink); display: block; font-size: 1rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.value { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.value strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--wine-700); }
.value span { font-size: .92rem; color: var(--muted); }

/* ===== Serviços ===== */
.services-bg { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; padding: 30px 28px; border-radius: var(--radius);
  background: var(--ivory); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(197,160,89,.6); }
.service .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(145deg, var(--wine-700), var(--wine-600)); color: var(--gold-300);
}
.service .icon svg { width: 24px; height: 24px; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.service ul { margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ink); }
.service li { padding: 5px 0 5px 20px; position: relative; }
.service li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 1px; background: var(--gold-500); }
.service.featured { background: linear-gradient(160deg, var(--wine-800), var(--wine-700)); color: var(--white); border-color: transparent; }
.service.featured p { color: rgba(255,255,255,.75); }
.service.featured ul { color: rgba(255,255,255,.9); }
.service.featured .icon { background: var(--gold-500); color: var(--wine-900); }
.pill { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wine-900); background: var(--gold-300); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

/* ===== Como funciona ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 22px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font: 500 3.4rem/1 var(--serif); font-style: italic; color: var(--gold-500); margin-bottom: 14px;
}
.step::after { content: ""; position: absolute; top: 0; left: 0; right: -24px; height: 1px; background: linear-gradient(90deg, var(--gold-500), transparent); }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ===== Preços ===== */
.pricing-bg { background: linear-gradient(180deg, var(--cream), var(--ivory)); }
.grid-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-pricing.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
.price-card {
  display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.price-card.highlight { border: 1.5px solid var(--gold-500); position: relative; }
.price-card.highlight .pill { position: absolute; top: -12px; left: 28px; margin: 0; }
.price-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.price-card .desc { color: var(--muted); font-size: .92rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 18px; }
.price small { font-size: .85rem; color: var(--muted); }
.price strong { font: 600 2.8rem/1 var(--serif); color: var(--wine-700); }
.price strong.price-word { font-size: 2.1rem; line-height: 1.33; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: .92rem; flex: 1; }
.price-card li { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.price-card li:last-child { border-bottom: 0; }
.price-card li svg { flex: none; width: 18px; height: 18px; color: var(--gold-700); margin-top: 3px; }
.price-table { margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.price-row:last-child { border-bottom: 0; }
.price-row span:last-child { font-weight: 600; color: var(--wine-700); white-space: nowrap; }
.price-note { margin-top: 20px; font-size: .85rem; color: var(--muted); text-align: center; }

/* ===== Marcação ===== */
.booking { background: linear-gradient(160deg, var(--wine-900), var(--wine-700)); color: var(--white); position: relative; overflow: hidden; }
.booking::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(197,160,89,.22), transparent 65%); }
.booking .container { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.booking .eyebrow { color: var(--gold-300); }
.booking p { color: rgba(255,255,255,.8); }
.booking-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.booking-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.88); }
.booking-list svg { flex: none; width: 20px; height: 20px; color: var(--gold-500); margin-top: 3px; }
.booking-panel {
  background: var(--white); color: var(--ink); border-radius: 24px; padding: 30px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.booking-panel iframe { width: 100%; height: 640px; border: 0; border-radius: 12px; }
.booking-panel h3 { color: var(--wine-700); }
.booking-panel label { display: block; font-size: .85rem; font-weight: 600; margin: 14px 0 6px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot-grid label { margin: 0; }
.slot-grid input { position: absolute; opacity: 0; }
.slot-grid span {
  display: block; text-align: center; padding: 10px 6px; border-radius: 10px; border: 1px solid var(--line);
  font-size: .88rem; font-weight: 500; cursor: pointer; transition: all .15s;
}
.slot-grid input:checked + span { background: var(--wine-700); color: var(--white); border-color: var(--wine-700); }
.slot-grid input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* ===== Formulários ===== */
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line); background: var(--ivory);
  font: 400 .96rem var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(197,160,89,.18); }
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 16px 0 20px; font-weight: 400 !important; }
.consent input { margin-top: 4px; accent-color: var(--wine-700); }
.form-status { margin-top: 14px; font-size: .9rem; }
.form-status.ok { color: #2F6B3A; }
.form-status.err { color: var(--wine-600); }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 0; font: 600 1.3rem/1.3 var(--serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--sans); color: var(--gold-700); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* ===== Contactos ===== */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.contact-card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--cream); color: var(--wine-700); }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card strong { display: block; font-family: var(--serif); font-size: 1.2rem; }
.contact-card span, .contact-card a { font-size: .95rem; color: var(--muted); word-break: break-word; }
.contact-card .call-note { display: block; font-size: .75rem; color: var(--muted); opacity: .8; }
.contact-form { padding: 34px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form label { display: block; font-size: .85rem; font-weight: 600; margin: 14px 0 6px; }

/* ===== Rodapé ===== */
.footer { background: var(--wine-900); color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: .92rem; }
.footer .container > .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { display: block; width: 240px; height: auto; }
.footer h4 { font: 600 1.2rem var(--serif); color: var(--gold-300); margin: 0 0 14px; }
.footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer a:hover { color: var(--gold-300); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ===== Aviso de cookies ===== */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60; max-width: 520px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 18px 20px; font-size: .88rem; display: none; gap: 14px; align-items: center;
}
.cookie.show { display: flex; }
.cookie p { margin: 0; color: var(--muted); }
.cookie .btn { padding: 10px 18px; flex: none; }

/* ===== Animações ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .service:hover { transform: none; }
}

/* ===== Página legal ===== */
.legal-page { padding: 140px 0 80px; }
.legal-page .container { max-width: 800px; }
.legal-page h2 { font-size: 1.8rem; margin-top: 1.6em; }
.legal-page p, .legal-page li { color: #3a3033; }

/* ===== Responsivo ===== */
@media (max-width: 980px) {
  .hero .container, .about, .booking .container, .contact { grid-template-columns: 1fr; }
  .hero-card { margin-top: 70px; }
  .grid-services, .grid-pricing { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .portrait { max-width: 420px; }
  .footer .container > .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--wine-900); padding: 10px 20px 24px; transform: translateY(-120%); transition: transform .3s ease;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
  .header:has(.nav.open) { background: var(--wine-900); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-services, .grid-pricing, .steps, .values, .form-row { grid-template-columns: 1fr; }
  .step::after { right: 0; }
  .hero { padding: 120px 0 80px; }
  .hero-card { padding: 26px 20px; }
  .contact-form, .booking-panel { padding: 24px 18px; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .container > .cols { grid-template-columns: 1fr; }
  .price-row { padding: 14px 16px; }
  .cookie { flex-direction: column; align-items: stretch; }
}
