/* === CRITICAL CSS — acima da dobra === */

:root {
  --color-cream:       #F5F0EB;
  --color-sage:        #4E7048;
  --color-sage-light:  #7A9A70;
  --color-sage-pale:   #DAE8D4;
  --color-brown:       #4A3728;
  --color-brown-light: #6B4F3A;
  --color-white:       #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;

  --space-1: 8px;   --space-2: 16px;  --space-3: 24px;
  --space-4: 32px;  --space-6: 48px;  --space-8: 64px;
  --space-12: 96px; --space-16: 128px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-brown);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

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

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #F5F0EB;
  border-bottom: 1px solid transparent;
  transition: border-color .35s ease, box-shadow .35s ease, background .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
  border-color: rgba(74,55,40,.09);
  box-shadow: 0 2px 20px rgba(74,55,40,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(245,240,235,.88);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 44px; width: auto; transition: opacity .2s ease }
.nav-logo:hover img { opacity: .75; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-brown-light);
  transition: color .2s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--color-sage);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--color-sage); }
.nav-links a:hover::after { width: 100%; }
.btn-nav {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white) !important;
  background: var(--color-sage);
  padding: 10px 24px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  text-decoration: none;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: #3A5535; transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--color-brown);
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* HERO */
#hero {
  padding-top: 72px;
  min-height: 100svh;
  background: radial-gradient(ellipse at 28% 55%, #DAE8D4 0%, #F0EBE5 45%, #F5F0EB 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .08;
}

/* DESKTOP: duas colunas */
.hero-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-8);
}
.hero-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-text-col {
  text-align: left;
}
.hero-text-col .hero-actions {
  justify-content: flex-start;
}

/* Logo no hero */
.hero-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: heroLogoIn .9s cubic-bezier(0.16, 1, 0.3, 1) .1s forwards;
}
/* Anel externo — visível, pulsa suavemente */
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 1.5px solid rgba(78,112,72,.6);
  animation: ringPulse 4s ease-in-out infinite;
  pointer-events: none;
}
/* Anel interno — tracejado, estático */
.hero-logo-wrap::after {
  content: '';
  position: absolute;
  width: 318px; height: 318px;
  border-radius: 50%;
  border: 1px dashed rgba(78,112,72,.38);
  pointer-events: none;
}
.hero-logo-glow {
  position: absolute;
  width: 430px; height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(218,232,212,.95) 0%,
    rgba(78,112,72,.22) 45%,
    transparent 70%);
  animation: pulseGlow 5s ease-in-out infinite;
  pointer-events: none;
}
.hero-logo-img {
  width: 260px;
  height: auto;
  position: relative;
  filter: drop-shadow(0 8px 28px rgba(74,55,40,.22));
}

/* Etiqueta online */
.hero-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-sage);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: var(--space-3);
  opacity: 0;
  animation: fadeInUp .6s ease .5s forwards;
}
.hero-online-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #A8E6BB;
  animation: blink 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.08;
  color: var(--color-brown);
  margin-bottom: var(--space-3);
  opacity: 0;
  animation: fadeInUp .7s ease .65s forwards;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-brown-light);
  max-width: 520px;
  margin: 0 auto var(--space-6);
  opacity: 0;
  animation: fadeInUp .7s ease .8s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  opacity: 0;
  animation: fadeInUp .7s ease .95s forwards;
}
.hero-scroll {
  margin-top: var(--space-8);
  opacity: 0;
  animation: fadeInUp .5s ease 1.2s forwards;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--color-sage), transparent);
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}

/* BOTÕES */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-sage);
  padding: 14px 32px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background: #3A5535;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78,112,72,.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brown);
  background: transparent;
  padding: 13px 31px;
  border-radius: 2px;
  border: 1px solid rgba(74,55,40,.35);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--color-brown);
  color: var(--color-white);
  border-color: var(--color-brown);
  transform: translateY(-2px);
}

/* ANIMAÇÕES */
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(.88) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.1); opacity: 1; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* MOBILE: empilhado, compacto */
@media (max-width: 768px) {
  #hero {
    min-height: auto;
    padding-bottom: 0;
    align-items: flex-start;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-6) var(--space-3);
    text-align: center;
  }
  .hero-logo-col {
    order: 1;
  }
  .hero-text-col {
    order: 2;
    text-align: center;
  }
  .hero-text-col .hero-actions {
    justify-content: center;
    flex-direction: column;
  }
  .hero-text-col .hero-actions .btn-primary,
  .hero-text-col .hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-title { font-size: clamp(1.75rem, 6.5vw, 2.5rem); line-height: 1.2; font-style: italic; }

  /* Logo menor no mobile */
  .hero-logo-img { width: 180px; }
  .hero-logo-wrap::before { width: 240px; height: 240px; }
  .hero-logo-wrap::after  { width: 212px; height: 212px; }
  .hero-logo-glow { width: 290px; height: 290px; }

  /* Oculta o scroll indicator no mobile */
  .hero-scroll { display: none; }

  /* Padrão botânico menos visível no mobile */
  .hero-bg-pattern { opacity: .025; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
