/* Atual Farma — landing page de licenciados */

@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('/assets/fonts/nunito-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('/assets/fonts/nunito-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --primary: #0A3F8F;
  --navy: #0A2259;
  --orange: #F26A00;
  --orange-dark: #C85600;
  --green: #16AE44;
  --bg-soft: #EAF4FE;
  --bg-muted: #F8FAFD;
  --surface: #FFFFFF;
  --border: #DFE6F0;
  --text: #1F2A44;
  --text-muted: #55627D;
  --error: #C62828;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 6px 20px rgba(10, 34, 89, .07);
  --shadow-float: 0 12px 32px rgba(10, 34, 89, .14);
  --container: 1200px;
  --header-h: 84px;
  --font: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--primary); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 40px; height: 40px; }
.icon-green { color: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

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

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.dev-banner { background: #FFF4E5; color: #7A3E00; border-bottom: 1px solid #F5C78E; font-size: 14px; font-weight: 600; text-align: center; padding: 8px 16px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 24px; border: 1.5px solid transparent; border-radius: var(--radius-sm);
  background: var(--orange); color: #fff; font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--orange-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn-sm { min-height: 42px; padding: 10px 20px; }
.btn-lg { min-height: 54px; padding: 16px 28px; }
.btn-block { width: 100%; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--bg-soft); }
.link-btn { background: none; border: 0; padding: 4px; color: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--bg-soft); color: var(--navy); cursor: pointer; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); backdrop-filter: saturate(1.4) blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 36px; }
.main-nav ul a { color: var(--navy); font-weight: 600; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav ul a:hover { border-bottom-color: var(--orange); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--bg-soft); color: var(--navy); cursor: pointer; place-items: center; }

/* Hero */
.hero { background: linear-gradient(90deg, #fff 0%, var(--bg-soft) 100%); padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); color: var(--primary); border-radius: 999px; padding: 8px 14px 8px 12px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { margin: 24px 0 20px; color: var(--navy); font-size: clamp(36px, 5vw, 56px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--text); max-width: 34em; }
.hero .btn { margin-top: 28px; }
.hero-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--text-muted); }
.hero-visual { position: relative; padding: 40px 40px 24px; }
.media-slot, .hero-img { width: 100%; aspect-ratio: 5 / 4; border-radius: 28px; }
.hero-img { object-fit: cover; box-shadow: var(--shadow-card); height: auto; }
.media-slot { display: grid; place-content: center; justify-items: center; gap: 10px; background: #fff; border: 1.5px dashed rgba(10, 63, 143, .35); color: var(--primary); font-weight: 700; }
.float-card { position: absolute; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--navy); font-weight: 700; padding: 12px 20px 12px 16px; border-radius: 14px; box-shadow: var(--shadow-float); }
.float-card .icon { color: var(--primary); }
.fc-1 { left: 0; top: 18%; }
.fc-2 { right: 0; top: 4px; }
.fc-3 { right: 8px; bottom: 6%; }

/* Faixa */
.band { background: var(--primary); color: #fff; text-align: center; padding: 28px 0; }
.band p { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; line-height: 1.3; }

/* Seções */
.section { padding: 96px 0; }
.section-tight { padding-top: 0; }
.section-title { color: var(--navy); font-size: clamp(28px, 3.2vw, 38px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; text-align: center; margin-bottom: 48px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.benefit { padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.benefit-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.benefit h3, .step h3 { color: var(--navy); font-size: 20px; line-height: 1.3; font-weight: 700; }
.benefit p, .step p { color: var(--text-muted); }
.icon-badge { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--bg-soft); color: var(--primary); }
.icon-badge .icon { width: 26px; height: 26px; }

.highlight { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; background: var(--primary); color: #fff; border-radius: 28px; padding: 56px 56px 56px 64px; }
.highlight h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; font-weight: 800; margin-bottom: 28px; }
.hl-item { display: flex; gap: 16px; }
.hl-item + .hl-item { margin-top: 24px; }
.hl-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.hl-item p { opacity: .9; }
.icon-badge-inv { background: rgba(255,255,255,.14); color: #fff; }
.highlight-art { width: min(400px, 100%); height: auto; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: s; }
.step { position: relative; display: flex; gap: 16px; padding: 24px; }
.step + .step::before { content: ''; position: absolute; left: -30px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F26A00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E"); }
.step-num { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--orange); color: #fff; font-size: 20px; font-weight: 800; }
.step h3 { margin-bottom: 6px; }
.steps-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; font-weight: 700; }

/* FAQ */
.faq-section { background: var(--bg-muted); padding-top: 80px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .15s ease; }
.faq details[open] { border-color: var(--primary); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; color: var(--navy); font-weight: 700; cursor: pointer; list-style: none; border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s ease; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 24px 20px; color: var(--text-muted); }

/* Formulário */
.form-section { background: var(--bg-soft); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 540px; gap: 72px; align-items: center; }
.form-intro h2 { color: var(--navy); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.18; font-weight: 800; letter-spacing: -.01em; margin-bottom: 20px; }
.form-deco { margin-top: 28px; width: 320px; height: auto; }
.form-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-float); padding: 36px; }
#lead-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { color: var(--navy); font-size: 14px; font-weight: 700; padding: 0; }
.field legend { margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
  font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #8A94A8; }
.field input:hover, .field select:hover { border-color: #B9C6D9; }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10, 63, 143, .2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); border-width: 1.5px; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 40px; cursor: pointer; }
.select-wrap select:invalid { color: #8A94A8; }
.select-wrap select option { color: var(--text); }
/* Sugestões de cidades */
.suggest-wrap { position: relative; }
.suggest { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-float); max-height: 280px; overflow-y: auto; }
.suggest li { padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--text); }
.suggest li:hover, .suggest li[aria-selected="true"] { background: var(--bg-soft); color: var(--primary); font-weight: 700; }
.select-wrap .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.field-error { display: flex; gap: 6px; align-items: center; color: var(--error); font-size: 14px; }
.field-error::before { content: '!'; display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; border-radius: 50%; background: var(--error); color: #fff; font-size: 11px; font-weight: 800; }
.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; color: var(--navy); font-size: 14px; font-weight: 700; cursor: pointer; }
.radio-card input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); flex: none; }
.radio-card:has(input:checked) { border-color: var(--primary); border-width: 1.5px; background: var(--bg-soft); }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--primary); outline-offset: 2px; }
fieldset[aria-invalid="true"] .radio-card { border-color: var(--error); }
.field .optional { color: var(--text-muted); font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text-muted); }
.privacy-note .icon { margin-top: 1px; }
.privacy-note a { font-weight: 700; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 1px solid rgba(198, 40, 40, .35); background: rgba(198, 40, 40, .07); color: var(--error); border-radius: 12px; font-size: 14px; }
.form-alert .icon { margin-top: 1px; }
.form-success { text-align: center; padding: 32px 8px; display: grid; justify-items: center; gap: 14px; }
.form-success h3 { color: var(--navy); font-size: 30px; font-weight: 800; line-height: 1.25; }
.form-success h3:focus { outline: none; }
.form-success p { color: var(--text-muted); max-width: 26em; }
.success-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(22, 174, 68, .12); color: var(--green); }
.btn .spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Rodapé */
.site-footer { background: var(--navy); color: #fff; padding: 40px 0 32px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-inner img { height: 52px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; font-weight: 600; }
.footer-links a { color: #fff; }
.footer-links .link-btn { font-weight: 600; }
.footer-bottom { padding-top: 24px; font-size: 14px; opacity: .75; }

/* Cookies */
/* Botão flutuante de atendimento */
.wa-float { position: fixed; z-index: 55; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 24px 8px 8px; border-radius: 999px; background: var(--green); color: #fff; font-size: 17px; font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px rgba(22, 174, 68, .45), 0 4px 10px rgba(10, 34, 89, .18); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 3px solid var(--green); opacity: 0; pointer-events: none; }
.wa-float-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--green); flex: none; }
.wa-float-icon::after { content: ""; position: absolute; top: 1px; right: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); border: 2px solid #fff; }
.wa-float .icon { width: 24px; height: 24px; stroke-width: 2.4; }
.wa-float:hover { background: #12953A; transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 36px rgba(22, 174, 68, .55), 0 6px 14px rgba(10, 34, 89, .2); }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.cookie-bar:not([hidden]) ~ .wa-float { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float { animation: wa-in .6s cubic-bezier(.3, 1.5, .5, 1) both, wa-nudge 6s ease-in-out 3s infinite; }
  .wa-float::before { animation: wa-ring 2.4s ease-out 1s infinite; }
}
@keyframes wa-in { from { opacity: 0; transform: translateY(24px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes wa-ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25, 1.6); } }
@keyframes wa-nudge { 0%, 88%, 100% { transform: none; } 91% { transform: translateY(-6px); } 94% { transform: none; } 97% { transform: translateY(-3px); } }
@media (max-width: 640px) {
  /* Celular: só o ícone, compacto (o texto continua para leitores de tela) */
  .wa-float { right: 14px; bottom: 14px; width: 52px; min-height: 52px; height: 52px; padding: 0; justify-content: center; }
  .wa-float-icon { width: 52px; height: 52px; background: transparent; color: #fff; }
  .wa-float-icon::after { top: 2px; right: 2px; width: 10px; height: 10px; }
  .wa-float .icon { width: 24px; height: 24px; }
  .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  @keyframes wa-ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
}
@media print { .wa-float { display: none; } }

/* Botão de WhatsApp depois do cadastro */
.btn-wa { background: var(--green); gap: 10px; }
.btn-wa:hover { background: #12953A; }
.btn-wa .icon { width: 22px; height: 22px; }
.form-success .success-cta-text { color: var(--navy); font-weight: 700; margin-top: 6px; }
.cookie-bar { position: fixed; z-index: 60; left: 24px; right: 24px; bottom: 24px; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 32px; padding: 24px 32px; background: #fff; border-radius: 16px; box-shadow: 0 16px 48px rgba(10, 34, 89, .22); }
.cookie-title { color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.cookie-text { flex: 1; font-size: 14px; }
.cookie-text a { font-weight: 700; }
.cookie-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.cookie-actions .link-btn { color: var(--primary); }
.cookie-modal { width: min(560px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 20px; box-shadow: var(--shadow-float); color: var(--text); }
.cookie-modal::backdrop { background: rgba(10, 34, 89, .45); }
.cookie-modal-inner { padding: 28px; display: grid; gap: 4px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.modal-head h2 { color: var(--navy); font-size: 20px; font-weight: 700; }
.pref-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }
.pref-row > div { flex: 1; }
.pref-title { color: var(--navy); font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.switch { appearance: none; width: 44px; height: 26px; flex: none; border-radius: 13px; background: #CCD6E3; position: relative; cursor: pointer; transition: background-color .15s ease; margin: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.switch:checked { background: var(--primary); }
.switch:checked::after { transform: translateX(18px); }
.switch:disabled { opacity: .55; cursor: not-allowed; }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* Animação de entrada (só com JS e sem redução de movimento) */
/* ---------- Cenário do mercado ---------- */
.section-soft { background: var(--bg-muted); }
.market { padding: 72px 0; border-bottom: 1px solid var(--border); }
.market-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.market h2 { color: var(--navy); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; }
.market-text p { color: var(--text-muted); font-size: 17px; line-height: 1.65; }
.market-stat { margin: 0; background: var(--bg-soft); border-radius: 22px; padding: 28px; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.stat-row > div { background: #fff; border-radius: 14px; padding: 16px; }
.stat-row dt { font-size: 13px; font-weight: 700; color: var(--text-muted); line-height: 1.35; }
.stat-row dd { margin: 6px 0 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-row .stat-neg dd { color: var(--orange-dark); }
.market-stat figcaption p { color: var(--text); line-height: 1.55; }
.market-stat .source { margin-top: 10px; font-size: 13px; color: var(--text-muted); }
.market-stat .source a { color: var(--text-muted); }

/* ---------- Desafios ---------- */
.challenges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.challenge { padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.challenge:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.challenge .benefit-head { margin-bottom: 0; }
.challenge h3 { color: var(--navy); font-size: 20px; line-height: 1.3; font-weight: 700; }
.challenge > p { color: var(--text-muted); }
.helps { margin-top: auto; background: var(--bg-soft); border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; padding: 14px 16px; }
.helps-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 4px; }
.helps p:last-child { color: var(--text); }

/* ---------- Sozinho x rede ---------- */
.section-title-tight { margin-bottom: 16px; }
.section-intro { max-width: 760px; margin: 0 auto 40px; text-align: center; color: var(--text-muted); font-size: 17px; line-height: 1.65; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.compare-col { border-radius: 20px; padding: 28px 32px; }
.compare-col h3 { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare-col li { position: relative; padding-left: 32px; line-height: 1.45; }
.compare-col li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 12px; }
.compare-alone { background: var(--bg-muted); border: 1px solid var(--border); color: var(--text-muted); }
.compare-alone h3 { color: var(--text-muted); }
.compare-alone li::before { background-color: #E3E8F0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355627D' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.compare-net { background: var(--primary); color: #fff; box-shadow: var(--shadow-float); }
.compare-net h3 { color: #fff; }
.compare-net li::before { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.compare-close { max-width: 760px; margin: 36px auto 0; text-align: center; color: var(--navy); font-size: clamp(19px, 2vw, 23px); font-weight: 800; line-height: 1.35; }

/* Links para o Farma 5x2 */
.link-5x2 { font-weight: 700; text-underline-offset: 3px; }
.highlight .link-5x2 { color: #fff; }

@media (max-width: 900px) {
  .market { padding: 48px 0; }
  .market-grid { grid-template-columns: 1fr; gap: 28px; }
  .challenges { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .market-stat { padding: 18px; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .stat-row dd { margin: 0; }
  .challenge, .compare-col { padding: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Responsivo */
@media (max-width: 1100px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { max-width: 640px; }
  .cookie-bar { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-actions { justify-content: flex-end; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .menu-toggle { display: grid; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-float); }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .main-nav .btn { margin-top: 16px; }

  .hero { padding: 32px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { margin: 20px 0 16px; }
  .hero .btn { width: 100%; }
  .hero-visual { padding: 28px 12px 20px; }
  .media-slot, .hero-img { aspect-ratio: 6 / 5; }
  .float-card { padding: 10px 14px; font-size: 14px; }
  .float-card .icon { width: 20px; height: 20px; }

  .section { padding: 56px 0; }
  .section-tight { padding-top: 0; }
  .section-title { margin-bottom: 28px; }
  .highlight { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; border-radius: 24px; }
  .highlight-art { width: 290px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step + .step::before { display: none; }
  .faq-section { padding-top: 48px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .benefits { grid-template-columns: 1fr; gap: 16px; }
  .benefit { padding: 22px; }
  .form-card { padding: 24px 20px; border-radius: 18px; }
  .field-row, .radio-row { grid-template-columns: 1fr; }
  .faq summary { padding: 16px 18px; }
  .faq details p { padding: 0 18px 16px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-direction: column; gap: 12px; }
  .footer-bottom { text-align: center; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
  .cookie-actions { flex-direction: column-reverse; align-items: stretch; }
  .cookie-actions .btn { width: 100%; }
}

/* 404 */
.center { text-align: center; }
.lead-center { margin: 0 auto 32px; }

/* Fluxo animado do hero */
.flow { position: relative; margin: 0; }
@media (min-width: 901px) { .flow-scene { width: 108%; margin: -12px -4% -12px; } }
.flow-scene { width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.flow-scene .ground-glow { fill: #DCEAFB; opacity: .55; }
.flow-scene .ring { fill: none; stroke: #BCD2F0; stroke-width: 2; stroke-dasharray: 3 9; }
.flow-scene .spoke { fill: none; stroke: #BCD2F0; stroke-width: 2; stroke-dasharray: 5 7; transition: stroke .3s ease; }
.flow-scene .spoke.is-active { stroke: var(--orange); stroke-width: 3; animation: spoke-run .8s linear infinite; }
@keyframes spoke-run { to { stroke-dashoffset: -24; } }
.flow-scene .pulse { fill: #8FB2E6; }
.flow-scene .st { cursor: pointer; outline: none; }
.flow-scene .st-halo { fill: var(--orange); opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity .35s ease; }
.flow-scene .st.is-active .st-halo { opacity: .16; animation: halo 1.6s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.7); opacity: .28; } 100% { transform: scale(1.35); opacity: 0; } }
.flow-scene .st-top { transition: fill .3s ease; }
.flow-scene .st.is-active .st-top { fill: #FFE8D6; }
.flow-scene .stem { stroke: #BCD2F0; stroke-width: 1.5; stroke-dasharray: 2 4; }
.flow-scene .st-badge { fill: #fff; filter: drop-shadow(0 6px 10px rgba(10, 34, 89, .16)); transition: fill .3s ease; }
.flow-scene .st-ico { fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s ease; }
.flow-scene .st-float { transform-box: fill-box; transform-origin: center bottom; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.flow-scene .st.is-active .st-float { transform: translateY(-8px) scale(1.12); }
.flow-scene .st.is-active .st-badge { fill: var(--orange); }
.flow-scene .st.is-active .st-ico { stroke: #fff; }
.flow-scene .st:hover .st-badge, .flow-scene .st:focus-visible .st-badge { stroke: var(--primary); stroke-width: 2; }
.flow-scene .st-lbl { fill: var(--navy); font-size: 13px; font-weight: 700; text-anchor: middle; transition: fill .3s ease; }
.flow-scene .st.is-active .st-lbl { fill: var(--orange-dark); font-weight: 800; }
.flow-scene .store-wave { fill: none; stroke: var(--orange); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.flow-scene .store-wave.is-on { animation: wave 1s ease-out; }
@keyframes wave { 0% { opacity: .6; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.4); } }
.flow-scene .panel-bg { fill: #fff; filter: drop-shadow(0 10px 18px rgba(10, 34, 89, .18)); }
.flow-scene .panel-t { fill: var(--navy); font-size: 12px; font-weight: 800; text-anchor: middle; }
.flow-scene .bar { fill: #BFD5F2; transform-box: fill-box; transform-origin: bottom; }
.flow-scene .bar.b2 { fill: #3D7BE0; } .flow-scene .bar.b3 { fill: var(--primary); }
.flow-scene .panel-line { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; }
.flow-scene .pill-dark rect { fill: var(--navy); filter: drop-shadow(0 6px 12px rgba(10, 34, 89, .25)); }
.flow-scene .pill-dark text { fill: #fff; font-size: 13px; font-weight: 800; text-anchor: middle; }
@media (prefers-reduced-motion: no-preference) {
  .flow-scene .panel-float { animation: float 5s ease-in-out infinite; }
  .flow-scene .bar { animation: bar 3.2s ease-in-out infinite; }
  .flow-scene .bar.b1 { animation-delay: -.8s; } .flow-scene .bar.b2 { animation-delay: -1.6s; } .flow-scene .bar.b3 { animation-delay: -2.4s; }
  .flow-scene .panel-line { animation: draw 3.2s ease-in-out infinite; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes bar { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes draw { 0% { stroke-dashoffset: 90; } 50%, 100% { stroke-dashoffset: 0; } }
.flow.is-paused * { animation-play-state: paused !important; }

@media (max-width: 640px) {
  .flow-scene { margin: 0 -10px; width: calc(100% + 20px); }
  .flow-scene .st-lbl { font-size: 17px; }
  .flow-scene .pill-dark { transform-box: fill-box; transform-origin: center; transform: scale(1.35); }
}
