/* ========================================================
   Mari Gestão Online — Página de vendas
   Paleta: azul oceano + amarelo sol
   ======================================================== */

:root {
  --blue: #1e9fe6;
  --blue-dark: #0f7bc0;
  --blue-deep: #0a4a72;
  --yellow: #ffc629;
  --yellow-dark: #f5a623;
  --ink: #11314a;
  --gray: #5b6b78;
  --light: #f4f9fd;
  --line: #e3edf4;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(15, 70, 110, 0.13);
  --shadow-sm: 0 8px 26px rgba(15, 70, 110, 0.07);
  --max: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: "Poppins", sans-serif; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }

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

.text-grad {
  background: linear-gradient(90deg, var(--yellow), #ffe082);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-grad-y { color: var(--yellow); }

/* ---------- Ícones SVG ---------- */
.ic {
  width: 1.15em; height: 1.15em; flex: none; display: inline-block;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em;
}
.icon-chip {
  width: 56px; height: 56px; flex: none; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(30,159,230,.14), rgba(15,123,192,.10));
  color: var(--blue-dark); margin-bottom: 18px;
}
.icon-chip .ic { width: 28px; height: 28px; vertical-align: middle; }
.icon-chip.chip-warn {
  background: linear-gradient(135deg, rgba(255,198,41,.20), rgba(245,166,35,.12));
  color: var(--yellow-dark);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn .ic { width: 19px; height: 19px; vertical-align: middle; }
.btn-primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: #4a3500; box-shadow: 0 10px 26px rgba(245, 166, 35, 0.42);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245, 166, 35, 0.55); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue-dark); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand-logo { height: 44px; width: auto; display: block; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .15s; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--blue); transition: width .2s ease; border-radius: 2px; }
.nav a:hover { color: var(--blue); }
.nav a:hover::after { width: 100%; }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; margin-left: auto; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; gap: 14px; padding: 18px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-menu a { color: var(--ink); text-decoration: none; font-weight: 500; }
.mobile-menu.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  background: url("assets/hero-bg.jpg") center/cover no-repeat;
  color: #fff; padding: 96px 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 80% 10%, rgba(255,198,41,.12), transparent 60%),
    linear-gradient(120deg, rgba(10,74,114,.92) 0%, rgba(15,123,192,.66) 55%, rgba(10,74,114,.4) 100%);
}
.hero-inner { position: relative; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,198,41,.16);
  border: 1px solid rgba(255,198,41,.5); color: var(--yellow); padding: 8px 18px;
  border-radius: 50px; font-size: 14px; font-weight: 600; margin-bottom: 24px;
}
.hero-badge .ic { width: 16px; height: 16px; fill: var(--yellow); stroke: none; }
.hero-title { font-size: clamp(36px, 6vw, 60px); font-weight: 800; margin-bottom: 22px; }
.hero-sub { font-size: clamp(16px, 2.2vw, 20px); color: rgba(255,255,255,.93); max-width: 630px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-points { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; font-weight: 500; }
.hero-points li { font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { width: 18px; height: 18px; color: var(--yellow); stroke-width: 2.5; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--blue-deep); color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px 24px; }
.trust-item { text-align: center; position: relative; }
.trust-item:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 1px; height: 38px; background: rgba(255,255,255,.14); }
.trust-item strong { display: block; font-family: "Poppins"; font-size: 28px; color: var(--yellow); line-height: 1.1; }
.trust-item span { font-size: 14px; color: rgba(255,255,255,.86); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-head { margin-bottom: 54px; }
.section-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block; color: var(--blue); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 14px;
}
.eyebrow.light { color: var(--yellow); }
.section-head h2 { font-size: clamp(27px, 4vw, 41px); margin-bottom: 14px; }
.section-lead { color: var(--gray); font-size: 18px; }

/* ---------- Dores ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pain-card h3 { font-size: 19px; margin-bottom: 8px; }
.pain-card p { color: var(--gray); font-size: 15px; }

/* ---------- Soluções ---------- */
.solution-section { background: var(--light); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.feature::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--blue-dark)); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--gray); font-size: 14.5px; }

/* ---------- Comparativo ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compare-col { border-radius: var(--radius); padding: 38px 34px; }
.compare-mari { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; box-shadow: var(--shadow); }
.compare-owner { background: #fff; border: 2px solid var(--line); }
.compare-col h3 { font-size: 23px; margin-bottom: 22px; }
.compare-mari h3 { color: var(--yellow); }
.compare-col ul { list-style: none; }
.compare-col li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; font-size: 15.5px; border-bottom: 1px solid rgba(0,0,0,.06); }
.compare-col li:last-child { border-bottom: none; }
.compare-col li .ic { width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.5; }
.compare-mari li { border-color: rgba(255,255,255,.18); }
.compare-mari li .ic { color: var(--yellow); }
.compare-owner li .ic { color: var(--blue); }
.compare-note {
  margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 12px;
  background: rgba(255,198,41,.14); border: 1px solid rgba(255,198,41,.4);
  border-radius: var(--radius-sm); padding: 20px 24px; font-size: 16px; text-align: left;
}
.compare-note .ic { width: 28px; height: 28px; flex: none; color: var(--yellow-dark); }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 26px 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  position: absolute; top: -24px; left: 26px; width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); color: #4a3500;
  display: flex; align-items: center; justify-content: center; font-family: "Poppins"; font-weight: 800; font-size: 21px;
  box-shadow: 0 8px 18px rgba(245,166,35,.42);
}
.step h3 { font-size: 18px; margin: 12px 0 8px; }
.step p { color: var(--gray); font-size: 15px; }

/* ---------- Preços ---------- */
.pricing-section { background: var(--light); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { border: 2px solid var(--yellow); box-shadow: var(--shadow); transform: scale(1.04); }
.price-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); color: #4a3500; font-weight: 700; font-size: 13px;
  padding: 6px 18px; border-radius: 50px; box-shadow: 0 6px 14px rgba(245,166,35,.4); white-space: nowrap;
}
.price-card h3 { font-size: 18px; margin-bottom: 16px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.price { font-family: "Poppins"; font-weight: 800; font-size: 42px; color: var(--blue-dark); line-height: 1.1; }
.price .cur { font-size: 16px; font-weight: 600; color: var(--gray); margin-right: 2px; }
.price .cur.small { display: block; font-size: 13px; margin-bottom: 2px; }
.price-tag { color: var(--gray); font-size: 13.5px; margin: 8px 0 24px; }
.price-card .btn { margin-top: auto; }

.commission-box {
  margin-top: 44px; background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  border-radius: var(--radius); padding: 38px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow);
}
.commission-main { display: flex; align-items: center; gap: 22px; }
.commission-pct { font-family: "Poppins"; font-weight: 800; font-size: 60px; color: var(--yellow); line-height: 1; }
.commission-box small { color: rgba(255,255,255,.86); font-size: 14px; }

/* ---------- Incluso / não ---------- */
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.incl-col { border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow-sm); }
.incl-yes { background: #f0fbf4; border: 1px solid #cdeed8; }
.incl-no { background: #fdf3f3; border: 1px solid #f2d6d6; }
.incl-col h3 { font-size: 21px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.incl-col h3 .ic { width: 26px; height: 26px; padding: 4px; border-radius: 8px; stroke-width: 2.5; }
.incl-yes h3 { color: #1f9d57; }
.incl-yes h3 .ic { background: rgba(31,157,87,.14); }
.incl-no h3 { color: #c0504d; }
.incl-no h3 .ic { background: rgba(192,80,77,.14); }
.incl-col ul { list-style: none; }
.incl-col li { padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid rgba(0,0,0,.05); font-size: 15.5px; color: var(--ink); }
.incl-col li:last-child { border-bottom: none; }
.incl-col li::before { position: absolute; left: 0; font-weight: 700; }
.incl-yes li::before { content: "✓"; color: #1f9d57; }
.incl-no li::before { content: "✕"; color: #c0504d; }

/* ---------- Ideal ---------- */
.ideal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ideal-card {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue);
  border-radius: var(--radius-sm); padding: 26px; font-size: 16px; font-weight: 500; box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-start; gap: 14px; transition: transform .2s, box-shadow .2s;
}
.ideal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ideal-card .ic { width: 26px; height: 26px; flex: none; color: var(--blue); margin-top: 1px; }
.ideal-card p { margin: 0; }

/* ---------- Raio-X ---------- */
.raiox-section { background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark)); color: #fff; }
.raiox-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.raiox-copy h2 { font-size: clamp(27px, 4vw, 39px); margin-bottom: 16px; }
.raiox-copy p { color: rgba(255,255,255,.9); font-size: 17px; margin-bottom: 24px; }
.raiox-list { list-style: none; }
.raiox-list li { padding: 8px 0; font-size: 16px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.raiox-list .ic { width: 20px; height: 20px; color: var(--yellow); stroke-width: 2.5; }
.raiox-form { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); color: var(--ink); }
.raiox-form h3 { font-size: 22px; margin-bottom: 24px; text-align: center; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,159,230,.15); }
.raiox-form .btn { margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--gray); text-align: center; margin-top: 12px; }
.form-success { background: #f0fbf4; color: #1f9d57; border: 1px solid #cdeed8; padding: 12px; border-radius: var(--radius-sm); text-align: center; margin-top: 14px; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-family: "Poppins"; font-weight: 600; font-size: 17px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 26px; color: var(--blue); font-weight: 400; transition: transform .2s; flex: none; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 24px 22px; color: var(--gray); font-size: 15.5px; }

/* ---------- CTA Final ---------- */
.final-cta { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); padding: 88px 0; text-align: center; color: #fff; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 50% -20%, rgba(255,198,41,.18), transparent 60%); }
.final-cta-inner { position: relative; }
.final-signature { height: 74px; margin-bottom: 24px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.2)); }
.final-cta h2 { font-size: clamp(28px, 5vw, 46px); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding-top: 58px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 42px; }
.footer-logo { height: 42px; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; max-width: 360px; }
.footer-links h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-links a { display: block; color: rgba(255,255,255,.72); text-decoration: none; padding: 5px 0; font-size: 15px; transition: color .15s; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: 14px; }
.footer-bottom p { text-align: center; color: rgba(255,255,255,.6); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5); text-decoration: none; transition: transform .2s;
}
.whatsapp-float svg { width: 34px; height: 34px; fill: #fff; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========================================================
   RESPONSIVO
   ======================================================== */
@media (max-width: 980px) {
  .cards-grid, .features-grid, .steps, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .ideal-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .trust-item:nth-child(2)::after { display: none; }
  .raiox-inner { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
}

@media (max-width: 760px) {
  .nav, .header-inner > .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .compare-grid, .incl-grid, .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { min-height: 84vh; }
  .hero-points { gap: 14px; }
  .trust-item::after { display: none !important; }
  .commission-box { flex-direction: column; text-align: center; }
  .commission-main { flex-direction: column; }
}

@media (max-width: 480px) {
  .cards-grid, .features-grid, .steps, .pricing-grid, .ideal-grid, .field-row { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
}
