/* ============================================================
   ConstruPOC — Landing Page
   Paleta da marca: laranja #E8772C · grafite #2B2F36 · lavanda #EAE8F5
   ============================================================ */

:root {
  --orange: #E8772C;
  --orange-dark: #cf6519;
  --orange-soft: #fdf0e6;
  --navy: #2b2f36;
  --navy-deep: #20242a;
  --lavender: #eae8f5;
  --lavender-soft: #f4f3fb;
  --ink: #1f2329;
  --muted: #5b6472;
  --line: #e7e6ef;
  --white: #ffffff;
  --green: #2bb673;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(43, 47, 54, .06);
  --shadow-md: 0 12px 32px rgba(43, 47, 54, .10);
  --shadow-lg: 0 28px 60px rgba(43, 47, 54, .16);
  --shadow-orange: 0 12px 28px rgba(232, 119, 44, .32);

  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }

.hl { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

.btn-primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--orange); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 38px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy); letter-spacing: -.02em; }
.brand-poc { color: var(--orange); }

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { font-weight: 600; font-size: .96rem; color: var(--muted); transition: color .15s; }
.main-nav a:hover { color: var(--orange); }

.header-cta { margin-left: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-nav.open { max-height: 360px; padding: 16px 24px 24px; }
.mobile-nav a { padding: 12px 4px; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { border: 2px solid transparent; margin-top: 12px; text-align: center; justify-content: center; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); background: var(--orange-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(232,119,44,.10), transparent 60%),
    linear-gradient(160deg, var(--lavender-soft) 0%, var(--lavender) 100%);
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--navy); background: #fff; padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.hero-copy h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; margin-bottom: 22px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.lead strong { color: var(--ink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { position: relative; padding-left: 26px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.hero-points li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 18px; height: 18px; background: var(--orange); color: #fff; border-radius: 50%; font-size: .72rem; display: grid; place-items: center; font-weight: 800; }

/* Hero visual */
.hero-visual { position: relative; }
.device-frame {
  background: #fff; border-radius: var(--radius-lg); padding: 10px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6);
}
.device-frame img { border-radius: 14px; }
.hero-visual .device-frame { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .5s ease; }
.hero-visual:hover .device-frame { transform: perspective(1400px) rotateY(0) rotateX(0); }

.floating-badge { position: absolute; background: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow-md); animation: float 4s ease-in-out infinite; }
.badge-1 { top: 8%; left: -16px; color: var(--green); }
.badge-2 { bottom: 12%; right: -12px; color: var(--orange); animation-delay: 1.2s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Problema ---------- */
.problem { background: #fff; }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pain-card { background: var(--lavender-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pain-icon { font-size: 2rem; margin-bottom: 16px; }
.pain-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pain-card p { color: var(--muted); font-size: .96rem; }

/* ---------- Como funciona ---------- */
.how { background: linear-gradient(180deg, var(--lavender-soft), #fff); }
.steps { display: flex; align-items: stretch; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step { flex: 1; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num { width: 52px; height: 52px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; box-shadow: var(--shadow-orange); }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .98rem; }
.step-arrow { align-self: center; font-size: 1.8rem; color: var(--orange); font-weight: 700; }

/* ---------- Recursos ---------- */
.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--orange), #f2a566); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.7rem; background: var(--orange-soft); border-radius: 16px; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: .98rem; }

/* ---------- Produto / Showcase ---------- */
.product { background: linear-gradient(180deg, #fff, var(--lavender-soft)); }
.showcase { display: flex; flex-direction: column; gap: 80px; }
.showcase-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.showcase-row.reverse { grid-template-columns: 1.15fr 1fr; }
.showcase-row.reverse .showcase-text { order: 2; }
.showcase-row.reverse .showcase-img { order: 1; }
.step-tag { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); background: var(--orange-soft); padding: 5px 13px; border-radius: 999px; margin-bottom: 16px; }
.showcase-text h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 14px; }
.showcase-text p { color: var(--muted); font-size: 1.05rem; max-width: 440px; }
.showcase-img .device-frame { transition: transform .35s ease; }
.showcase-img .device-frame:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ---------- CTA final ---------- */
.cta-final { padding: 80px 0; }
.cta-box {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 32px; padding: 64px 48px; text-align: center; color: #fff; box-shadow: var(--shadow-lg);
}
.cta-box h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.cta-box p { color: rgba(255,255,255,.92); font-size: 1.12rem; max-width: 600px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c7ccd5; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: 64px 24px 40px; }
.footer-brand { max-width: 360px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; color: #9aa2af; font-size: .98rem; }
.footer-brand .brand-logo { filter: brightness(0) invert(1); opacity: .92; }
.footer-contact h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-contact a { display: block; color: #c7ccd5; padding: 6px 0; font-size: .98rem; transition: color .15s; }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { padding-top: 22px; padding-bottom: 22px; }
.footer-bottom p { color: #7a828f; font-size: .88rem; text-align: center; }

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
  animation: pulse 2.4s infinite; transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 980px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual .device-frame { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { transform: rotate(90deg); }
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .showcase-row.reverse .showcase-text, .showcase-row.reverse .showcase-img { order: initial; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .feature-grid, .pain-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 44px 24px; }
  .hero { padding: 56px 0 72px; }
  .floating-badge { display: none; }
  .btn-lg { width: 100%; }
  .hero-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
