/* =========================================================
   GL Terraplanagem — Estilos principais
   Design: autoridade industrial + conversão WhatsApp
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Barlow:wght@400;500;600;700&display=swap');

:root {
  --green:         #1a7c3e;
  --green-dark:    #0d4422;
  --green-mid:     #145f30;
  --green-light:   #4db87a;
  --green-glow:    rgba(26,124,62,.18);
  --wa:            #25d366;
  --wa-dark:       #128c7e;
  --wa-glow:       rgba(37,211,102,.35);
  --yellow:        #f5a623;
  --orange:        #e76b2b;
  --bg:            #f4f7f2;
  --surface:       #ffffff;
  --ink:           #111c12;
  --ink-soft:      #3d5040;
  --muted:         #617060;
  --border:        #dce6d9;
  --radius:        12px;
  --shadow:        0 4px 20px rgba(10,30,10,.10);
  --shadow-lg:     0 12px 40px rgba(10,30,10,.15);
}

*    { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
h1,h2,h3,h4 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: -.5px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 12px 24px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff; display: grid; place-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 24px;
}
.brand strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: .3px; }
.brand small  { display: block; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.header-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius);
  font-weight: 700; font-size: 14px; font-family: 'Barlow', sans-serif;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .18s, color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg   { padding: 16px 30px; font-size: 17px; border-radius: 14px; }
.btn-xl   { padding: 18px 36px; font-size: 19px; border-radius: 14px; }
.btn-block{ width: 100%; justify-content: center; margin-top: 16px; }

.btn-wa   { background: var(--wa); color: #fff; box-shadow: 0 4px 16px var(--wa-glow); }
.btn-wa:hover { background: var(--wa-dark); box-shadow: 0 8px 28px var(--wa-glow); }

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }

.btn-ghost { background: #eef3eb; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: #e2ead e; }

.btn-outline-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: #fff; color: var(--green-dark); }

/* WhatsApp icon SVG helper */
.btn svg { flex-shrink: 0; }

/* ── Alert bar ───────────────────────────── */
.alert-bar {
  background: linear-gradient(90deg, #7d3a05, var(--orange));
  color: #fff; padding: 10px 0;
  font-size: 13.5px; text-align: center; font-weight: 600;
}
.alert-bar a { text-decoration: underline; font-weight: 800; }

/* ── Hero ────────────────────────────────── */
.hero {
  position: relative;
  background-size: cover; background-position: center top;
  color: #fff; padding: 100px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,28,10,.85) 0%, rgba(13,68,34,.70) 60%, rgba(0,0,0,.40) 100%);
  z-index: 1;
}
.hero > * { position: relative; z-index: 2; }
.hero-inner { max-width: 820px; }

.hero-trust-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.28);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
}
.trust-pill.highlight {
  background: var(--yellow);
  color: #1a0800;
  border-color: var(--yellow);
}

.hero h1 {
  font-size: clamp(42px, 6vw, 74px);
  color: #fff; margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero h1 .hl { color: var(--green-light); }
.hero h1 .hl2 { color: var(--yellow); }

.hero-sub {
  font-size: 18px; opacity: .95;
  margin-bottom: 36px; max-width: 660px;
  line-height: 1.6; font-weight: 400;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.delivery-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(37,211,102,.15);
  border: 2px solid var(--wa);
  padding: 12px 20px; border-radius: 12px;
  font-weight: 700; font-size: 15px;
  color: #fff; margin-top: 8px;
}
.delivery-badge .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px; font-weight: 900;
  color: var(--wa); line-height: 1;
}

.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.stat-item .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px; font-weight: 900;
  color: var(--green-light); display: block; line-height: 1;
}
.stat-item .lbl { font-size: 13px; opacity: .8; margin-top: 4px; }

/* ── Section bases ───────────────────────── */
.section      { padding: 80px 0; }
.section-alt  { background: #fff; border-block: 1px solid var(--border); }
.section-dark {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: #fff;
}
.section-dark .section-title,
.section-dark .eyebrow { color: #fff; }
.section-dark .eyebrow { opacity: .7; }
.section-dark p { opacity: .9; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 2px;
  font-size: 11.5px; font-weight: 700;
  color: var(--green); margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 16px; max-width: 820px;
}
.section-lead {
  font-size: 17px; color: var(--ink-soft);
  max-width: 640px; margin-bottom: 40px;
}
.center-block { text-align: center; }
.center-block .section-title,
.center-block .section-lead { margin: 0 auto 12px; }
.center-block .section-lead { margin-bottom: 40px; }

/* ── Grids ───────────────────────────────── */
.grid     { display: grid; gap: 22px; }
.grid-2   { grid-template-columns: repeat(2, 1fr); }
.grid-3   { grid-template-columns: repeat(3, 1fr); }
.grid-4   { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── Feature cards ───────────────────────── */
.card-feat {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card-feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feat-icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 16px;
}
.card-feat h3 { font-size: 20px; margin-bottom: 8px; }
.card-feat p  { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* ── Coverage band ───────────────────────── */
.coverage-band {
  background: linear-gradient(90deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff; padding: 32px 0;
}
.coverage-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.coverage-inner h2 {
  color: #fff; font-size: clamp(22px, 3vw, 34px);
  max-width: 520px;
}
.coverage-inner p { opacity: .85; font-size: 15px; margin-top: 6px; }

/* ── Product cards ───────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .products-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

.card-prod {
  background: #fff; border-radius: 18px;
  overflow: hidden; border: 2px solid var(--border);
  box-shadow: var(--shadow); position: relative;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card-prod:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-prod img   { height: 230px; object-fit: cover; width: 100%; }
.card-body       { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-prod h3    { font-size: 26px; margin-bottom: 4px; }
.card-prod .cap  { color: var(--muted); font-size: 13.5px; margin-bottom: 16px; font-weight: 600; }
.card-prod ul    { list-style: none; padding: 0; margin-bottom: auto; }
.card-prod ul li {
  padding: 7px 0; border-bottom: 1px dashed var(--border);
  font-size: 14.5px; display: flex; align-items: center; gap: 8px;
}
.card-prod ul li::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }

.card-prod.featured { border-color: var(--green); }
.card-prod.featured .card-body { background: linear-gradient(180deg, #f5fbf7, #fff); }
.ribbon {
  position: absolute; top: 14px; right: 14px;
  background: var(--green); color: #fff;
  padding: 5px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; z-index: 3;
  box-shadow: 0 3px 10px rgba(26,124,62,.45);
}

/* ── States/regions grid ─────────────────── */
.states-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px; margin-top: 30px;
}
@media (max-width: 900px) { .states-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .states-grid { grid-template-columns: repeat(2, 1fr); } }

.state-pill {
  background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
  text-align: center; font-weight: 700; font-size: 14px;
  transition: background .18s, border-color .18s, transform .15s;
}
.state-pill:hover { background: var(--green-glow); border-color: var(--green-light); transform: translateY(-2px); }
.state-pill span { display: block; color: var(--muted); font-size: 12px; font-weight: 500; margin-top: 3px; }

/* ── How it works ────────────────────────── */
.steps { list-style: none; display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; padding: 24px; border-radius: 16px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.step-num {
  flex: 0 0 48px; height: 48px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 22px; flex-shrink: 0;
}
.steps li h3 { font-size: 18px; margin-bottom: 5px; }
.steps li p  { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* ── Audience mini cards ─────────────────── */
.card-mini {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 22px;
  transition: transform .18s, box-shadow .18s;
}
.card-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-mini h4 { font-size: 16px; margin-bottom: 6px; }
.card-mini p  { color: var(--ink-soft); font-size: 13.5px; }

/* ── Two-col layout ──────────────────────── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.two-col .col-text p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin: 16px 0 26px; }
.rounded { border-radius: 16px; box-shadow: var(--shadow-lg); }
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col .col-text { order: 1; }
  .two-col .col-img  { order: 2; }
}

/* ── FAQ ─────────────────────────────────── */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 22px;
  transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: var(--green-light); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 14px;
}
.faq summary::after { content: '+'; color: var(--green); font-size: 26px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* ── CTA final ───────────────────────────── */
.cta-final {
  background: linear-gradient(120deg, var(--green-dark) 0%, #0a3518 50%, var(--green) 100%);
  color: #fff; padding: 90px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background: 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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.cta-final p  { font-size: 18px; opacity: .9; margin-bottom: 32px; }
.cta-final .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Urgency bar ─────────────────────────── */
.urgency-bar {
  background: var(--yellow); color: #1a0800;
  padding: 14px 0; text-align: center;
  font-weight: 800; font-size: 15px;
  letter-spacing: .3px;
}
.urgency-bar span { opacity: .7; font-weight: 600; margin-left: 8px; font-size: 13px; }

/* ── Footer ──────────────────────────────── */
.site-footer { background: #0a170b; color: #c4d4c4; padding: 56px 0 22px; font-size: 14.5px; }
.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px; margin-bottom: 32px;
}
.site-footer strong { color: #fff; font-size: 16px; letter-spacing: .5px; display: block; margin-bottom: 10px; }
.site-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.site-footer a  { color: var(--green-light); }
.site-footer a:hover { text-decoration: underline; }
.site-footer p  { margin: 5px 0; line-height: 1.7; }
.footer-badges  { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-badge {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 600;
  color: var(--green-light);
}
.copyright {
  border-top: 1px solid #1a3020; padding-top: 18px;
  text-align: center; color: #607060; font-size: 12.5px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 22px; } }

/* ── WhatsApp float ──────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 30px var(--wa-glow);
  z-index: 200; animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 30px var(--wa-glow); }
  50%       { box-shadow: 0 8px 45px rgba(37,211,102,.65); }
}
.wa-float-label {
  position: fixed; bottom: 32px; right: 96px;
  background: #fff; color: var(--ink);
  padding: 8px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-lg); z-index: 199;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateX(10px);
  transition: opacity .25s, transform .25s;
}
.wa-float:hover ~ .wa-float-label,
.wa-float-label.show {
  opacity: 1; transform: translateX(0);
}

/* ── Mobile adaptations ──────────────────── */
@media (max-width: 640px) {
  .header-actions .btn-ghost { display: none; }
  .hero { padding: 70px 0 80px; }
  .section { padding: 60px 0; }
  .hero-stats { gap: 20px; }
}
