@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --vinho:         #6B2737;
  --vinho-dark:    #4A1825;
  --dourado:       #C9A96E;
  --dourado-light: #E8D5B0;
  --bege:          #F5EFE6;
  --creme:         #FAF6F0;
  --nude:          #E8D5C4;
  --terracota:     #C4714A;
  --text-dark:     #2C1810;
  --text-mid:      #5C3D2E;
  --text-light:    #9B7B6B;
  --white:         #FFFFFF;
  --font-title:    'Cormorant Garamond', serif;
  --font-body:     'Lato', sans-serif;
  --nav-h:         80px;
  --radius:        12px;
  --radius-lg:     24px;
  --shadow:        0 8px 40px rgba(107,39,55,0.12);
  --shadow-lg:     0 20px 60px rgba(107,39,55,0.18);
  --transition:    all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--creme);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── Reveal ──
   js-loaded é adicionado pelo script.js assim que carrega.
   Se o JS não carregar, tudo fica visível normalmente.
*/
.reveal,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Só esconde quando JS estiver ativo */
.js-loaded .reveal       { opacity: 0; transform: translateY(40px); }
.js-loaded .reveal-left  { opacity: 0; transform: translateX(-50px); }
.js-loaded .reveal-right { opacity: 0; transform: translateX(50px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible { opacity: 1 !important; transform: translate(0) !important; }

/* ── Tipografia ── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dourado);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 0.5rem; }

.divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--vinho), var(--dourado));
  margin: 1rem auto 2.5rem;
}
.divider.left { margin-left: 0; }

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--vinho); color: var(--white); box-shadow: 0 4px 20px rgba(107,39,55,0.35); }
.btn-primary:hover { background: var(--vinho-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(107,39,55,0.45); color: var(--white); }
.btn-outline { background: transparent; color: var(--vinho); border: 2px solid var(--vinho); }
.btn-outline:hover { background: var(--vinho); color: var(--white); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--dourado), #B8935A); color: var(--white); box-shadow: 0 4px 20px rgba(201,169,110,0.45); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,169,110,0.55); color: var(--white); }
.btn-wpp { background: #25D366; color: var(--white); box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
.btn-wpp:hover { background: #20b858; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.45); color: var(--white); }
.btn-lg { padding: 1.1rem 2.6rem; font-size: 1rem; }

/* ── Layout ── */
.section     { padding: 100px 0; }
.section-alt { background: var(--bege); }
.section-dark { background: var(--vinho); color: var(--white); }
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: var(--white); }
.container   { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(250,246,240,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(107,39,55,0.1);
  background: rgba(250,246,240,0.99);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .logo-name {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vinho);
  letter-spacing: 0.02em;
}
.nav-logo .logo-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dourado);
}
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--dourado);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--vinho); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--vinho);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  transition: var(--transition);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--vinho-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--vinho);
  transition: var(--transition);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════
   PAGE HERO (páginas internas)
══════════════════════════════ */
.page-hero {
  min-height: 45vh;
  background: linear-gradient(135deg, #4A1825 0%, #6B2737 60%, #C4714A 100%);
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A96E' fill-opacity='0.07'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3Ccircle cx='0' cy='0' r='4'/%3E%3Ccircle cx='60' cy='0' r='4'/%3E%3Ccircle cx='0' cy='60' r='4'/%3E%3Ccircle cx='60' cy='60' r='4'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-content .eyebrow { color: #E8D5B0; }
.page-hero-content h1 { color: #FFFFFF; font-size: clamp(2.5rem, 5vw, 4.5rem); }

/* ══════════════════════════════
   CARDS
══════════════════════════════ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 65%;
}
.card-body { padding: 1.6rem; }
.card-price { font-family: var(--font-title); font-size: 1.4rem; color: var(--vinho); font-weight: 700; }

/* ══════════════════════════════
   FORMULÁRIO
══════════════════════════════ */
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--nude);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--creme);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--vinho);
  box-shadow: 0 0 0 3px rgba(107,39,55,0.1);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ══════════════════════════════
   WHATSAPP FLUTUANTE
══════════════════════════════ */
.wpp-float {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 999;
  background: #25D366;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: wppPulse 2.5s infinite;
}
.wpp-float:hover { transform: scale(1.12); box-shadow: 0 10px 35px rgba(37,211,102,0.65); }
.wpp-float svg { width: 30px; height: 30px; fill: white; }

@keyframes wppPulse {
  0%, 100% { box-shadow: 0 6px 25px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 6px 40px rgba(37,211,102,0.75), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: #4A1825;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-name { color: #E8D5B0; font-size: 1.8rem; }
.footer-brand .logo-sub  { color: rgba(255,255,255,0.5); }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; max-width: 280px; }
footer h4 {
  color: #E8D5B0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
footer ul li { margin-bottom: 0.6rem; }
footer ul a { font-size: 0.9rem; transition: color 0.3s; color: rgba(255,255,255,0.8); }
footer ul a:hover { color: #E8D5B0; }
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  font-size: 0.8rem;
  opacity: 0.5;
  margin: 0;
}

/* ══════════════════════════════
   RESPONSIVO
══════════════════════════════ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--creme);
    padding: 2rem;
    gap: 1.2rem;
    border-bottom: 2px solid var(--nude);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .wpp-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}

/* HERO CENTRALIZADA */
.hero {
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  text-align: center;
}

.hero-subtitle,
.hero-location {
  text-align: center;
}

.hero-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .hero-content {
    padding: 2rem 5%;
    align-items: center;
    text-align: center;
  }

  .hero-content h1 {
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
  }
}

/* ══════════════════════════════
   ÍCONES INLINE MINIMALISTAS
   ══════════════════════════════ */
.icon-inline {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -1px;
  color: var(--dourado);
  flex-shrink: 0;
}

.icon-inline.icon-accent {
  color: var(--dourado);
}

.icon-inline.icon-check {
  color: var(--vinho);
}

.ornament {
  display: inline-block;
  font-size: 0.65em;
  color: var(--dourado);
  letter-spacing: 0.05em;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.stars-min {
  color: var(--dourado);
  letter-spacing: 0.1em;
  font-size: 0.9em;
}
