/* DOURO ID — Stylesheet partilhado
   Paleta LIGHT: BRANCO + PRETO + VERDE (WCAG AA verificado):
   - Branco #ffffff (bg) + preto #0a0a0a = 19.5:1 ✓
   - Preto sobre verde #16c060 = 9.2:1 ✓
   - Cinza #5a6258 sobre branco = 7.4:1 ✓
   - Verde #0e8a44 sobre branco = 4.6:1 ✓ (texto)
*/

:root {
  --bg: #ffffff;          /* branco puro */
  --bg-card: #ffffff;     /* cartões em branco */
  --bg-soft: #f6f8f5;     /* off-white com tom verde subtil */
  --line: #e3e7df;        /* borda subtil */
  --text: #0a0a0a;        /* preto quase puro */
  --text-soft: #5a6258;   /* cinza-esverdeado */
  --accent: #16c060;      /* verde vivo — acento */
  --accent-dark: #0a0a0a; /* preto — texto sobre verde */
  --accent-hover: #149d4f;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--accent-dark); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px; max-width: 1200px; margin: 0 auto;
}
.logo {
  font-family: 'Unbounded', sans-serif; font-weight: 900;
  font-size: 1rem; letter-spacing: 0.15em; color: var(--text);
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-soft);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  background: var(--accent); color: var(--accent-dark) !important;
  padding: 10px 18px; border-radius: 6px;
  font-weight: 700; transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-hover); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s; cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--accent-dark); font-weight: 700; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid #4a4a4a;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* HEADINGS */
h1, h2, h3, h4 { font-family: 'Unbounded', sans-serif; }
.eyebrow {
  font-size: 0.75rem; color: var(--accent); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px;
  display: inline-block;
}

/* PAGE WRAPPER */
.page { padding-top: 80px; }

/* PAGE HERO */
.page-hero {
  padding: 80px 0 60px; border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 16px; color: var(--text);
}
.page-hero p {
  color: var(--text-soft); font-size: 1.05rem; max-width: 600px;
}

/* FOOTER */
footer {
  background: var(--bg-soft); padding: 36px 0;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.82rem; color: var(--text-soft); }

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  background: #25D366; width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }

/* HAMBURGER BUTTON */
.nav-burger {
  display: none;
  background: transparent; border: none;
  padding: 8px 6px; cursor: pointer;
  flex-direction: column; gap: 5px;
  z-index: 102; position: relative;
}
.nav-burger span {
  display: block; width: 26px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* RESPONSIVE NAV — slide-down mobile menu */
@media (max-width: 760px) {
  .nav-inner { padding: 16px 18px; }
  .nav-burger { display: flex; }

  .nav-links {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 88px 22px 28px;
    gap: 0 !important;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(.22,.9,.2,1);
    z-index: 99;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li {
    display: list-item !important;
    width: 100%;
  }
  .nav-links li a {
    display: block; padding: 16px 8px;
    font-size: 1.05rem !important;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    transition: color 0.2s, padding-left 0.2s;
  }
  .nav-links li a:hover,
  .nav-links li a.active {
    color: var(--accent);
    padding-left: 14px;
  }

  /* CTA destacado dentro do painel */
  .nav-links li:last-child {
    margin-top: 22px;
  }
  .nav-cta {
    display: flex !important;
    justify-content: center; align-items: center;
    text-align: center;
    padding: 16px 24px !important;
    font-size: 0.95rem !important;
    border-bottom: none !important;
    border-radius: 10px !important;
    background: var(--accent) !important;
    color: var(--accent-dark) !important;
    box-shadow: 0 10px 28px rgba(22,192,96,0.35);
  }
  .nav-cta:hover {
    padding-left: 24px !important;
    background: var(--accent-hover) !important;
  }

  body.nav-open { overflow: hidden; }
}

/* ============================
   DECORAÇÃO — orbs, padrões, ilustrações soft
   ============================ */

/* Orbs verdes desfocados (glow blobs) */
.deco-orb {
  position: absolute; pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35; z-index: 0;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}
.deco-orb.tl { top: -120px; left: -120px; width: 400px; height: 400px; }
.deco-orb.tr { top: -150px; right: -150px; width: 450px; height: 450px; }
.deco-orb.bl { bottom: -150px; left: -120px; width: 400px; height: 400px; }
.deco-orb.br { bottom: -120px; right: -120px; width: 380px; height: 380px; }
.deco-orb.center { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; opacity: 0.18; }
.deco-orb.small { width: 260px; height: 260px; opacity: 0.28; }

/* Padrão pontilhado subtil */
.deco-dots {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 90%);
}

/* Linhas decorativas */
.deco-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}

/* Ilustrações SVG flutuantes */
.deco-svg {
  position: absolute; pointer-events: none; z-index: 0;
  color: var(--accent); opacity: 0.12;
  width: 180px; height: 180px;
}
.deco-svg.large { width: 260px; height: 260px; opacity: 0.1; }
.deco-svg.outline { color: var(--text); opacity: 0.08; }

/* Orbs com opacidade ajustada para fundo claro */
.deco-orb { opacity: 0.3; }
.deco-orb.center { opacity: 0.15; }
.deco-orb.small { opacity: 0.25; }

/* Noise sutil para dar grão */
.deco-noise {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Garantir que conteúdo fica acima das decorações */
section { position: relative; overflow: hidden; }
section > .container { position: relative; z-index: 2; }

/* Animação subtil para os orbs */
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -25px); }
}
.deco-orb { animation: float-orb 14s ease-in-out infinite; }
.deco-orb.tr { animation-delay: -4s; animation-duration: 18s; }
.deco-orb.bl { animation-delay: -8s; animation-duration: 16s; }
.deco-orb.br { animation-delay: -2s; animation-duration: 20s; }
.deco-orb.center { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .deco-orb { animation: none; }
}
