/* ==========================================================================
   Meu Evento Perfeito — Shared Design System
   Used by all pages EXCEPT the homepage (which uses home.css standalone)
   ========================================================================== */

/* ── VARIABLES ──────────────────────────────────────────────────────────── */
:root {
  --green-dark:  #0d4a43;
  --green-mid:   #1a6b5e;
  --green-light: #2d8b7a;
  --green-btn:   #005a51;
  --green-hover: #004840;
  --accent:      #c8956b;
  --text-dark:   #1a1a1a;
  --text-mid:    #444;
  --text-light:  #777;
  --white:       #ffffff;
  --off-white:   #f9f7f4;
  --border:      #e4e0da;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-pill: 50px;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 28px rgba(0,0,0,0.10);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.14);
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── BASE RESET ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ── NAVBAR ─────────────────────────────────────────────────────────────── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 80px;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
  display: flex;
  align-items: center;
}
nav.site-nav.scrolled {
  background: var(--green-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* Solid variant for pages without hero */
nav.site-nav.solid {
  background: var(--green-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
nav.site-nav.solid .nav-links a { color: rgba(255,255,255,0.92); }
nav.site-nav.solid .nav-links a:hover { color: white; }
nav.site-nav.solid .nav-social a { color: rgba(255,255,255,0.9); }
nav.site-nav.solid .nav-social a:hover { color: white; background: rgba(255,255,255,0.15); }
nav.site-nav.solid .nav-toggle span { background: white; }

.nav-inner {
  width: 100%;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s, filter 0.4s;
}
.nav-logo img:hover { opacity: 0.85; }

nav.site-nav.scrolled .nav-links a,
nav.site-nav.scrolled .nav-social a { color: rgba(255,255,255,0.92); }
nav.site-nav.scrolled .nav-links a:hover { color: white; }
nav.site-nav.scrolled .nav-social a:hover { color: white; background: rgba(255,255,255,0.15); }
nav.site-nav.scrolled .nav-toggle span { background: white; }
nav.site-nav.scrolled .nav-logo img { filter: none; }
nav.site-nav.solid .nav-logo img { filter: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  transition: color 0.2s;
  letter-spacing: 0.1px;
}
.nav-links a:hover { color: white; }

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-social a:hover {
  color: white;
  background: rgba(255,255,255,0.15);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

/* ── PAGE HERO (shorter, for inner pages) ──────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px 60px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, var(--green-light) 100%);
  overflow: hidden;
  text-align: center;
}
/* Background image layer for page-hero */
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.page-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(13,74,67,0.88) 0%,
    rgba(26,107,94,0.82) 40%,
    rgba(45,139,122,0.78) 100%);
  z-index: 1;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,149,107,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 0.8s ease both;
}
.page-hero .hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.9;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.page-hero p {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ── TYPOGRAPHY & SECTIONS ──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; }
section.page-section { padding: 100px 60px; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.section-title em {
  font-style: italic;
  color: var(--green-dark);
}
.section-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 14px;
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-primary:hover {
  background: #b5804f;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,149,107,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.2px;
}
.btn-green:hover {
  background: var(--green-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,74,67,0.25);
}

.btn-green-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-btn);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-green-solid:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,90,81,0.3);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--green-dark);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ── CARDS (generic) ────────────────────────────────────────────────────── */
.card-v2 {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ── FEATURE CARDS (icon + title + text) ────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card .icon-box {
  width: 64px; height: 64px;
  background: var(--green-dark);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 26px;
}
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.feature-card .sub {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── CTA SECTION ────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--green-dark);
  padding: 80px 60px;
  text-align: center;
  color: white;
}
.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ── NEWSLETTER ─────────────────────────────────────────────────────────── */
.newsletter {
  background: var(--white);
  padding: 80px 60px;
  text-align: center;
}
.newsletter .section-desc {
  margin: 14px auto 0;
  text-align: center;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 620px;
  margin: 36px auto 0;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  color: var(--text-dark);
  transition: border-color 0.2s;
  background: var(--off-white);
}
.newsletter-form input:focus { border-color: var(--green-light); }
.newsletter-form input::placeholder { color: #aaa; }
.newsletter-form button {
  background: var(--green-btn);
  color: white;
  border: none;
  padding: 15px 32px;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,90,81,0.3);
}

/* Signup CTA button (replaces old newsletter form) */
.btn-signup-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-btn);
  color: white;
  border: none;
  padding: 17px 42px;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.2px;
}
.btn-signup-cta:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,90,81,0.3);
  color: white;
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
footer.site-footer {
  background: var(--green-dark);
  color: white;
  padding: 70px 60px 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-top: 14px;
  margin-bottom: 22px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--accent); color: white; }
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: white;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.footer-whatsapp:hover { background: var(--green-mid); }

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── WHATSAPP FLOATING BUTTON ──────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 1000;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: white;
  font-size: 28px;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

/* ── ANIMATIONS ─────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE: TABLET ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 30px; }
  .page-hero { padding: 100px 30px 50px; }
  section.page-section { padding: 80px 30px; }
  footer.site-footer { padding: 60px 30px 28px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .newsletter { padding: 60px 30px; }
  .cta-section { padding: 60px 30px; }
}

/* ── RESPONSIVE: MOBILE ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 20px; }
  .nav-toggle { display: flex; flex-direction: column; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(13,74,67,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 105;
    animation: fadeUp 0.3s ease;
  }
  .nav-links.mobile-open a { font-size: 22px; color: white; }

  .page-hero { padding: 100px 20px 50px; min-height: 300px; }
  section.page-section { padding: 60px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 50px 20px; }
  .newsletter-form { flex-direction: column; }
  footer.site-footer { padding: 50px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .cta-section { padding: 50px 20px; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
}
