:root {
  --green-dark: #527b38;
  --green: #8ec63f;
  --black: #222222;
  --white: #ffffff;
  --bg-gradient: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* Links padrão */
a { color: var(--white); }
a:visited { color: var(--white); }
a:hover { color: var(--green); }

/* Header / Nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(34,34,34,0.65); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-header .nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { color: var(--white); text-decoration: none; font-weight: 800; letter-spacing: 0.5px; font-size: 1.25rem; }
.logo span { color: var(--green); }
.logo img { display: block; height: 56px; width: auto; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--white); text-decoration: none; opacity: 0.9; padding: 6px 8px; border-radius: 8px; }
.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { background: rgba(255,255,255,0.08); }
.btn { display: inline-block; padding: 12px 18px; border-radius: 12px; background: var(--bg-gradient); color: #0d0d0d; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn:visited { color: #0d0d0d; }
.btn:hover { color: #0d0d0d; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(142,198,63,0.35); }
.btn:disabled, .btn[disabled] { opacity: .65; cursor: not-allowed; box-shadow: none; transform: none; }
.btn.outline { background: transparent; color: var(--white); border: 2px solid var(--green); }
.btn.outline:hover { color: var(--white); }
.btn.outline:visited { color: var(--white); }
.menu-toggle { display: none; background: transparent; border: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .2s ease, top .2s ease, opacity .2s ease; }
.menu-toggle span:nth-child(1){ top: 15px; }
.menu-toggle span:nth-child(2){ top: 21px; }
.menu-toggle span:nth-child(3){ top: 27px; }
.menu-toggle.open span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity: 0; }
.menu-toggle.open span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 120px 0 80px; background: var(--bg-gradient); overflow: hidden; }
.hero .bg-image { position: absolute; inset: 0; opacity: 0.15; background-size: cover; background-position: center; }
.bg-hero .bg-image { background-image: url('../../img/hero.jpg'); }
.bg-tecnologia .bg-image { background-image: url('../../img/tecnologia.jpg'); }
.bg-marketing .bg-image { background-image: url('../../img/marketing.jpg'); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.4rem); margin: 0 0 12px; }
.hero p.lead { font-size: clamp(1.05rem, 1rem + 0.6vw, 1.35rem); max-width: 860px; opacity: 0.95; }
.hero .actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
.section { padding: 72px 0; background: #111; scroll-margin-top: 84px; }
.section.alt { background: #0b0b0b; }
.section h2 { font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.4rem); margin: 0 0 16px; }
.section p.sub { opacity: 0.9; max-width: 900px; }

/* Headings accents */
.section h2 { position: relative; }
.section h2::after { content: ""; display: block; width: 84px; height: 3px; margin-top: 10px; border-radius: 999px; background: rgba(142,198,63,0.95); box-shadow: 0 0 12px rgba(142,198,63,0.35); }
.marketing-section h2::after { background: #ff8a3c; box-shadow: 0 0 12px rgba(255,138,60,0.35); }
.tecnologia-section h2::after { background: rgba(142,198,63,0.95); box-shadow: 0 0 12px rgba(142,198,63,0.35); }

/* Section-specific card accents */
.marketing-section .card h3 { color: #ff8a3c; }
.tecnologia-section .card h3 { color: var(--green); }
.marketing-section .card:hover { border-color: rgba(255,138,60,0.5); box-shadow: 0 10px 30px rgba(255,138,60,0.08); }
.tecnologia-section .card:hover { border-color: rgba(142,198,63,0.5); box-shadow: 0 10px 30px rgba(142,198,63,0.08); }

/* Sections com background (Marketing/Tecnologia) */
.with-bg { position: relative; overflow: hidden; }
.with-bg .bg-image { position: absolute; inset: 0; opacity: 0.22; background-size: cover; background-position: center; z-index: 0; transform: scale(1.06); transition: transform 1.2s ease, opacity 1.2s ease; will-change: transform, opacity; }
.with-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.72)); pointer-events: none; }
.with-bg .container { position: relative; z-index: 2; }
.marketing-section::before { background: radial-gradient(800px 240px at 12% 18%, rgba(255,128,64,0.12), transparent 60%), linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.72)); }
.tecnologia-section::before { background: radial-gradient(800px 240px at 88% 18%, rgba(142,198,63,0.16), transparent 60%), linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.72)); }
.with-bg:hover .bg-image { transform: scale(1.02); opacity: 0.26; }

/* Layout */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; align-items: start; position: relative; }

/* Soluções - Pilares com background, transparência e animação */
.pillar { position: relative; padding: 22px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); background: rgba(16,16,16,0.6); backdrop-filter: blur(6px); isolation: isolate; }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; filter: saturate(1.05) contrast(1.05); opacity: 0.35; transform: scale(1.08); transition: transform .9s ease, opacity .9s ease; will-change: transform, opacity; }
.pillar.marketing::before { background-image: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.65)), url('../../img/marketing.jpg'); }
.pillar.tecnologia::before { background-image: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.65)), url('../../img/tecnologia.jpg'); }
.pillar.in-view::before { opacity: 0.55; transform: scale(1); }
.pillar:hover::before { transform: scale(1.04); opacity: 0.65; }

/* Cards com efeito glass dentro dos pilares */
.pillar .card { background: rgba(15,15,15,0.65); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(4px); }
.pillar .card:hover { transform: translateY(-4px); border-color: rgba(142,198,63,0.5); }

/* Divisor luminoso entre Marketing e Tecnologia */
.two-col::before { content: ""; position: absolute; top: -8px; bottom: -8px; left: 50%; width: 2px; transform: translateX(-1px); background: linear-gradient(180deg, rgba(142,198,63,0) 0%, rgba(142,198,63,0.45) 25%, rgba(142,198,63,0.6) 50%, rgba(142,198,63,0.45) 75%, rgba(142,198,63,0) 100%); box-shadow: 0 0 18px rgba(142,198,63,0.35), 0 0 36px rgba(142,198,63,0.2); opacity: 0.6; pointer-events: none; will-change: opacity, filter; }
@keyframes glowPulse { 0%, 100% { opacity: 0.55; filter: blur(0.4px); } 50% { opacity: 0.9; filter: blur(0.8px); } }
.two-col::before { animation: glowPulse 3.2s ease-in-out infinite; }

/* Cards */
.card { background: #151515; border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 18px; transition: transform .25s ease, border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: rgba(142,198,63,0.5); }
.card h3 { margin: 0 0 6px; color: var(--green); }
.card p { margin: 0; opacity: 0.9; }
/* Team (Quem Somos) */
.team { gap: 26px; grid-template-columns: 1fr; }
.person { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; }
.person .avatar { width: 100%; height: 180px; border-radius: 14px; object-fit: cover; }
.person .details h3 { margin-top: 0; margin-bottom: 8px; }
.person .details p { margin: 0 0 8px; }
.person ul { margin: 8px 0 12px 18px; opacity: 0.9; }
.person ul li { margin-bottom: 6px; }

@media (max-width: 760px) {
  .person { grid-template-columns: 1fr; }
  .person .avatar { height: 220px; }
}

/* Callout */
.pill { display: inline-block; padding: 6px 10px; background: rgba(142,198,63,0.12); color: var(--green); border-radius: 999px; font-weight: 600; font-size: 0.85rem; }
.callout { padding: 24px; border-left: 4px solid var(--green); background: #131313; border-radius: 12px; }

/* Footer */
.site-footer { background: #0a0a0a; padding: 36px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.site-footer .grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer a { color: var(--white); text-decoration: none; opacity: 0.9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .brand { font-weight: 800; font-size: 1.2rem; }
.site-footer .brand span { color: var(--green); }
.site-footer .brand img { display: block; height: 56px; width: auto; }
.site-footer .copy { margin-top: 18px; opacity: 0.6; font-size: 0.9rem; }

/* Forms */
form .row { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
form .row.single { grid-template-columns: 1fr; }
label { display: block; margin: 6px 0; font-weight: 600; }
input, textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #2a2a2a; background: #101010; color: var(--white); }
input::placeholder, textarea::placeholder { color: #888; }
textarea { min-height: 140px; resize: vertical; }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status.success { color: #7ed957; }
.form-status.error { color: #ff6961; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .grid.cols-2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col::before { display: none; }
}
@media (max-width: 760px) {
  .nav-links { position: absolute; top: 64px; right: 16px; left: 16px; background: #101010; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 12px; display: none; flex-direction: column; gap: 10px; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .site-header .nav { padding: 10px 0; }
}
