/* DM Corretora de Seguros — cores da logo: preto, branco e verde-limão */
:root {
  --lime: #9ec22a;
  --lime-600: #86a81c;
  --lime-700: #5f7a0f;     /* verde para texto sobre branco (contraste AA) */
  --lime-50: #f4f9e6;
  --ink: #111411;
  --ink-2: #3a403a;
  --muted: #5e665e;
  --line: #e4e9dc;
  --bg: #ffffff;
  --soft: #f7faf1;
  --dark: #0b0d0b;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 20, 17, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 20, 17, 0.14);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.ico { width: 20px; height: 20px; flex: none; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--lime); color: var(--ink); box-shadow: 0 8px 20px rgba(158, 194, 42, .35); }
.btn-primary:hover { background: #abd03a; box-shadow: 0 12px 28px rgba(158, 194, 42, .45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: 0 12px 28px rgba(0,0,0,.3); }

.eyebrow { display: block; font-size: 15px; font-weight: 600; color: var(--lime-700); margin-bottom: 14px; }
.eyebrow-light { color: var(--lime); background: rgba(158, 194, 42, .12); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Topbar */
.topbar { background: var(--dark); color: #d9dfd2; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; flex-wrap: wrap; }
.topbar-live { display: inline-flex; align-items: center; gap: 8px; }
.topbar-phones { display: flex; gap: 22px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--lime); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: block; line-height: 0; }
.brand img { height: 70px; width: auto; transition: height .25s; }
.header.scrolled .brand img { height: 56px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); position: relative; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--lime); transition: width .25s; }
.nav a:not(.btn):hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { padding: 56px 0 72px; background: radial-gradient(1200px 500px at 85% 0%, var(--lime-50), transparent 60%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
.hl { background: linear-gradient(transparent 62%, rgba(158,194,42,.45) 62%); }
.lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 54ch; }
.quick { margin-top: 28px; }
.quick-label { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip .ico, .card-tag .ico { width: 18px; height: 18px; color: var(--lime-700); }
.card-tag { display: inline-flex; align-items: center; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; transition: border-color .2s, background .2s, transform .2s; }
.chip:hover { border-color: var(--lime); background: var(--lime-50); transform: translateY(-2px); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ico { color: var(--lime-600); }
.trust-col { flex-direction: column; }

.hero-media { position: relative; }
.hero-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-media::before { content: ''; position: absolute; inset: auto -26px -26px auto; width: 60%; height: 60%; background: var(--lime); border-radius: 28px; z-index: -1; }
.float-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); }
.chat-card { left: -36px; bottom: 36px; width: 280px; padding: 14px 16px; animation: floaty 6s ease-in-out infinite; }
.chat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.chat-head strong { display: block; font-size: 14px; }
.chat-head small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 800; flex: none; }
.bubble { background: var(--lime-50); border-radius: 4px 14px 14px 14px; padding: 10px 12px; font-size: 14px; }
.badge-card { top: 28px; right: -18px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; font-size: 13px; font-weight: 600; line-height: 1.3; animation: floaty 6s ease-in-out -3s infinite; }
.badge-num { font-size: 30px; font-weight: 800; color: var(--ink); background: var(--lime); border-radius: 12px; padding: 2px 10px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Diferenciais */
.benefits { padding: 0 0 20px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.benefit h3, .benefit .h3 { font-size: 17px; margin: 14px 0 6px; }
.benefit p { font-size: 14.5px; color: var(--muted); }
.benefit-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--lime-50); color: var(--lime-700); display: grid; place-items: center; }
.benefit-ico svg { width: 24px; height: 24px; }

/* Seções */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2, .ana h2, .near-text h2, .quote-text h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* Cards de seguro */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-size: 13px; font-weight: 700; color: var(--lime-700); }
.card h3 { font-size: 20px; margin: 8px 0 14px; }
.card ul { display: grid; gap: 8px; margin-bottom: 20px; }
.card li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-2); }
.card li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--lime-600); border-bottom: 2.5px solid var(--lime-600); transform: rotate(-45deg); }
.card-link { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; padding: 12px 0 0; border-top: 1px solid var(--line); }
.card-link:hover { color: var(--lime-700); }

/* Card em destaque (agro) */
.card-feature { grid-column: 1 / -1; flex-direction: row; }
.card-feature .card-img { flex: 1.1; aspect-ratio: auto; min-height: 340px; position: relative; }
.card-feature .card-body { flex: 1; padding: 36px 40px; justify-content: center; }
.card-feature h3 { font-size: 26px; }
.card-text { color: var(--muted); margin-bottom: 18px; }
.card-cols { grid-template-columns: 1fr 1fr; gap: 10px 20px !important; margin-bottom: 26px !important; }
.card-feature .btn { align-self: flex-start; }
.card-caption { position: absolute; left: 14px; bottom: 14px; background: rgba(17,20,17,.78); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .02em; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; position: relative; }
.step { background: #fff; border-radius: var(--radius); padding: 34px 28px; border: 1px solid var(--line); position: relative; }
.step-num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--lime); font-weight: 800; font-size: 22px; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--lime-600); font-weight: 800; }

/* Ana */
.ana { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.ana::before { content: ''; position: absolute; width: 600px; height: 600px; right: -150px; top: -150px; background: radial-gradient(circle, rgba(158,194,42,.22), transparent 65%); }
.ana-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; }
.ana p { color: #c5ccbd; margin-top: 16px; font-size: 17px; }
.ana-list { display: grid; gap: 12px; margin: 26px 0 32px; }
.ana-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.ana-list .ico { color: var(--dark); background: var(--lime); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

.phone { justify-self: center; width: 320px; background: #1c201c; border-radius: 42px; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 0 2px #2c322c; }
.phone-screen { background: #ece5dd; border-radius: 32px; overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 10px; background: #1f2c21; color: #fff; padding: 18px 16px 12px; }
.phone-top strong { display: block; font-size: 14px; }
.phone-top small { font-size: 12px; color: var(--lime); }
.phone-chat { padding: 16px 12px 22px; display: flex; flex-direction: column; gap: 8px; min-height: 380px; }
.ana .msg { max-width: 82%; padding: 8px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink); margin: 0; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.msg.out { background: #dcf8c6; align-self: flex-end; border-top-right-radius: 2px; }
.msg.show { opacity: 1; transform: none; }
.msg.typing { background: #fff; display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa19a; animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* Perto de você */
.near-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.near-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow-lg); }
.near-photo img { width: 100%; height: 100%; object-fit: cover; }
.near-text > p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.near-points { display: grid; gap: 16px; margin-top: 28px; }
.near-points div { padding: 16px 20px; border-left: 4px solid var(--lime); background: var(--soft); border-radius: 0 12px 12px 0; }
.near-points strong { display: block; }
.near-points span { color: var(--muted); font-size: 15px; }

/* Cotação */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.quote-text > p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.quote-form { background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(158,194,42,.2); }
.field .invalid { border-color: #d64545; }
.form-error { color: #b42318; font-size: 14px; font-weight: 600; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--lime); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 20px 30px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--lime-700); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Unidades */
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.unit { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.unit iframe { width: 100%; height: 260px; border: 0; display: block; filter: saturate(.85); }
.unit-body { padding: 24px 26px 28px; }
.unit-tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: var(--lime); padding: 4px 10px; border-radius: 999px; }
.unit h3 { font-size: 24px; margin: 12px 0 6px; }
.unit-addr { color: var(--muted); }
.unit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* CTA final */
.cta-band { background: var(--lime); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.cta-band p { font-size: 17px; margin-top: 6px; color: #243000; }

/* Rodapé */
.footer { background: var(--dark); color: #b9c0b1; padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 260px; height: auto; margin-bottom: 18px; }
.footer h4, .footer .h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #262b26; margin-top: 44px; padding-top: 22px; font-size: 13.5px; padding-right: 96px; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45); text-decoration: none; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-tip { position: absolute; right: 74px; white-space: nowrap; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .ana .msg { opacity: 1; transform: none; }
}

/* Responsivo */
@media (max-width: 1020px) {
  .hero-grid, .ana-grid, .near-grid, .quote-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .near-photo { max-width: 520px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 90px 24px 28px; box-shadow: var(--shadow-lg); transform: translateY(-110%); transition: transform .3s; z-index: -1; }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-cta { margin-top: 18px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .steps, .units { grid-template-columns: 1fr; }
  .card-feature { flex-direction: column; }
  .card-feature .card-img { min-height: 0; aspect-ratio: 16 / 10; }
  .card-feature .card-body { padding: 24px; }
  .step:not(:last-child)::after { content: '↓'; right: 50%; top: auto; bottom: -26px; transform: translateX(50%); }
  .section { padding: 72px 0; }
}

@media (max-width: 600px) {
  .topbar-live { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-phones { gap: 14px; font-size: 12.5px; }
  .brand img, .header.scrolled .brand img { height: 50px; }
  .hero { padding-top: 32px; }
  .lead { font-size: 16.5px; }
  .hero-ctas .btn { width: 100%; }
  .chat-card { left: 10px; bottom: 14px; width: calc(100% - 20px); max-width: 280px; }
  .badge-card { right: 10px; top: 14px; }
  .hero-media::before { inset: auto -10px -14px auto; }
  .cards, .benefits-grid, .footer-grid { grid-template-columns: 1fr; }
  .card-cols { grid-template-columns: 1fr; }
  .card-feature .btn { align-self: stretch; }
  .benefits-grid { padding: 22px; }
  .quote-form { padding: 24px; }
  .phone { width: 100%; max-width: 320px; }
  .wa-tip { display: none; }
  .cta-inner { text-align: center; justify-content: center; }
  .cta-inner .btn { width: 100%; }
  .footer-bottom { padding-right: 0; padding-bottom: 70px; }
}

/* "Perto de você" sem foto: texto centralizado e pontos lado a lado */
.near-solo { grid-template-columns: 1fr; gap: 0; }
.near-solo .near-text { max-width: 980px; margin: 0 auto; text-align: center; }
.near-solo .near-text > p { max-width: 720px; margin-left: auto; margin-right: auto; }
.near-solo .near-points { grid-template-columns: repeat(3, 1fr); text-align: left; }
@media (max-width: 860px) { .near-solo .near-points { grid-template-columns: 1fr; } }
