/* ==========================================================================
   Shark Blue · Atacado B2B
   Mobile-first. Tokens → base → layout → componentes → seções
   ========================================================================== */

:root {
  --navy-950: #060b16;
  --navy-900: #0b1220;
  --navy-800: #10192d;
  --navy-700: #172236;
  --navy-600: #23324a;
  --slate-500: #5b6b85;
  --slate-300: #b7c1d1;
  --line: #e3e7ef;
  --paper: #f6f7fb;
  --white: #fff;

  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-600: #1d4ed8;
  --blue-700: #1e40af;

  --orange-500: #ff6a1a;
  --orange-600: #e5560a;
  --orange-100: #fff1e8;

  --ok: #16a34a;
  --err: #dc2626;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgb(11 18 32 / .06), 0 1px 3px rgb(11 18 32 / .08);
  --shadow-md: 0 10px 30px -10px rgb(11 18 32 / .25);
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--lg { width: 1.6em; height: 1.6em; }

/* Tipografia ---------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 9.5vw, 4.1rem); text-transform: uppercase; }
h1 em { font-style: normal; color: var(--orange-500); }
h2 { font-size: clamp(2rem, 6vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow--light { color: var(--slate-300); }

/* Botões --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange-500); color: var(--navy-900); box-shadow: 0 8px 20px -8px rgb(255 106 26 / .7); }
.btn--primary:hover { background: #ff7d36; }
.btn--blue { background: var(--blue-600); color: #fff; }
.btn--blue:hover { background: var(--blue-700); }
.btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .35); }
.btn--ghost:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-600); text-decoration: none; margin-top: auto; }
.link:hover { color: var(--blue-700); }
.link .ico { transition: transform .15s ease; }
.link:hover .ico { transform: translateX(4px); }

/* Topbar + header ------------------------------------------------------ */
.topbar { background: var(--navy-900); color: var(--slate-300); font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar p { display: flex; align-items: center; gap: 6px; }
.topbar .ico { color: var(--orange-500); }
.topbar__right { display: none !important; }

.header { position: sticky; top: 0; z-index: 100; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.header.is-scrolled { box-shadow: 0 6px 20px -12px rgb(11 18 32 / .35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo { height: 44px; width: auto; }
.brand__tag {
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--orange-500); color: var(--navy-900); padding: 2px 10px 1px; border-radius: 4px;
}
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; }

.nav {
  position: absolute; top: 100%; left: 0; right: 0;
  display: none; flex-direction: column; gap: 2px;
  background: #fff; padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.nav.is-open { display: flex; }
.nav a { padding: 14px 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.nav a:hover { color: var(--blue-600); }
.nav .nav__cta { margin-top: 14px; border: 2px solid transparent; }

/* Hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgb(29 78 216 / .55), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  padding-block: 40px 56px;
}
.hero__grid { position: relative; display: grid; gap: 36px; align-items: center; }
.hero__lead { margin-top: 20px; font-size: 1.1rem; color: #d6deeb; max-width: 56ch; }
.hero__lead strong { color: #fff; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero__proof { display: grid; gap: 10px; margin-top: 28px; font-size: .95rem; color: #d6deeb; }
.hero__proof li { display: flex; align-items: center; gap: 10px; }
.hero__proof .ico { color: var(--orange-500); }
.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: 28px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6); }

/* Faixa ---------------------------------------------------------------- */
.strip { background: var(--orange-500); color: var(--navy-900); }
.strip__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.strip__item { padding: 18px 12px; display: flex; flex-direction: column; border-bottom: 1px solid rgb(11 18 32 / .15); }
.strip__item:nth-child(odd) { border-right: 1px solid rgb(11 18 32 / .15); }
.strip__item:nth-last-child(-n+2) { border-bottom: 0; }
.strip__item strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; font-weight: 800; text-transform: uppercase; }
.strip__item span { font-size: .85rem; font-weight: 600; line-height: 1.3; margin-top: 4px; }

/* Seções --------------------------------------------------------------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--dark { background: var(--navy-900); color: #fff; position: relative; }
.section--tint { background: var(--paper); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head p:not(.eyebrow) { margin-top: 16px; color: var(--slate-500); font-size: 1.08rem; }
.section__head--light p:not(.eyebrow) { color: var(--slate-300); }

.cards { display: grid; gap: 20px; }

/* Categorias */
.cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat img { width: 100%; aspect-ratio: 480 / 340; object-fit: cover; }
.cat__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.cat__body p { color: var(--slate-500); }
.ticks { display: grid; gap: 8px; margin-block: 4px 12px; font-size: .96rem; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--orange-500); border-bottom: 3px solid var(--orange-500); transform: rotate(-45deg) scale(.9); }

/* Benefícios */
.feat { padding: 26px; border-radius: var(--radius); background: var(--navy-800); border: 1px solid var(--navy-600); display: flex; flex-direction: column; gap: 10px; }
.feat p { color: var(--slate-300); font-size: .98rem; }
.feat__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--blue-600); color: #fff; margin-bottom: 6px; }
.feat--cta { background: var(--orange-500); border-color: var(--orange-500); color: var(--navy-900); justify-content: center; }
.feat--cta p { color: var(--navy-900); font-weight: 500; }
.feat--cta .btn { background: var(--navy-900); color: #fff; box-shadow: none; margin-top: 8px; align-self: flex-start; }
.feat--cta .btn:hover { background: var(--navy-700); }

/* Passos */
.steps { display: grid; gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.step__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-900); color: var(--orange-500); font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; margin-bottom: 16px; }
.step p { margin-top: 8px; color: var(--slate-500); }

/* Segmentos */
.seg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: border-color .2s ease, transform .2s ease; }
.seg:hover { border-color: var(--blue-600); transform: translateY(-3px); }
.seg__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); margin-bottom: 16px; }
.seg p { margin-top: 8px; color: var(--slate-500); font-size: .98rem; }

/* Split */
.split { display: grid; gap: 36px; align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split__copy > p:not(.eyebrow) { margin-top: 16px; color: var(--slate-500); font-size: 1.05rem; }
.checks { display: grid; gap: 14px; margin-block: 24px 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--orange-500); color: var(--navy-900); width: 1.4em; height: 1.4em; }
.checks--light { color: #d6deeb; }

/* Cotação */
.quote { background: radial-gradient(800px 500px at 0% 0%, rgb(29 78 216 / .45), transparent 60%), var(--navy-900); }
.quote__grid { display: grid; gap: 36px; align-items: start; }
.quote__copy > p:not(.eyebrow) { margin-top: 16px; color: var(--slate-300); font-size: 1.08rem; }
.quote__wa {
  display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 16px 18px;
  border: 1px solid var(--navy-600); border-radius: var(--radius); background: rgb(255 255 255 / .04); text-decoration: none; color: var(--slate-300); font-size: .92rem;
  transition: border-color .2s ease, background .2s ease;
}
.quote__wa:hover { border-color: #25d366; background: rgb(37 211 102 / .08); }
.quote__wa .ico { color: #25d366; width: 2.2rem; height: 2.2rem; }
.quote__wa strong { display: block; color: #fff; font-size: 1.05rem; }

.quote__card { background: #fff; color: var(--navy-900); border-radius: 20px; padding: clamp(20px, 4vw, 34px); box-shadow: 0 30px 60px -25px rgb(0 0 0 / .6); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; border: 0; padding: 0; margin-inline: 0; }
.field label, .field legend { font-weight: 600; font-size: .92rem; padding: 0; margin-bottom: 2px; }
.opt { font-weight: 400; color: var(--slate-500); font-size: .85em; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font-size: 1rem; /* 16px evita zoom no iOS */
  border: 1.5px solid #cfd6e3; border-radius: 10px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgb(29 78 216 / .15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); }
.field__err { color: var(--err); font-size: .85rem; font-weight: 500; min-height: 0; }
.field__err:empty { display: none; }
.row { display: grid; gap: 0 14px; }

.chips { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; float: left; margin-bottom: 8px; }
.chips legend + * { clear: left; }
.chips .field__err { width: 100%; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1.5px solid #cfd6e3; border-radius: 999px; font-size: .92rem; font-weight: 500; background: #fff; transition: all .15s ease; }
.chip:hover span { border-color: var(--blue-600); }
.chip input:checked + span { background: var(--blue-600); border-color: var(--blue-600); color: #fff; font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--orange-500); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--slate-500); margin: 4px 0 6px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue-600); }
.consent a { color: var(--blue-600); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin-top: 12px; font-size: .9rem; min-height: 1.2em; text-align: center; color: var(--slate-500); }
.form__status.is-err { color: var(--err); font-weight: 600; }
.quote__card .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.quote__card .field__err[data-err="consent"] { margin-bottom: 10px; }

.success { text-align: center; padding-block: 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.success[hidden] { display: none; }
.success__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--ok); color: #fff; }
.success p { color: var(--slate-500); max-width: 38ch; }

/* FAQ */
.faq { display: grid; gap: 32px; }
.faq .section__head { margin-bottom: 0; }
.faq .section__head .btn { margin-top: 22px; }
.faq__list { display: grid; gap: 12px; align-content: start; }
.qa { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.qa[open] { border-color: var(--blue-600); box-shadow: var(--shadow-sm); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; min-height: 56px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { color: var(--blue-600); transition: transform .2s ease; }
.qa[open] summary .ico { transform: rotate(45deg); }
.qa p { padding: 0 20px 20px; color: var(--slate-500); }

/* CTA final */
.final { background: linear-gradient(135deg, var(--blue-700), var(--blue-600)); color: #fff; text-align: center; padding-block: clamp(56px, 9vw, 96px); }
.final__inner { max-width: 820px; }
.final p { margin-top: 14px; font-size: 1.15rem; color: #dbe7ff; }
.final__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; align-items: stretch; }

/* Footer */
.footer { background: var(--navy-950); color: var(--slate-300); padding-top: 56px; font-size: .95rem; }
.footer__grid { display: grid; gap: 32px; padding-bottom: 40px; }
.footer__logo { display: inline-block; background: #fff; padding: 8px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer__logo img { height: 44px; width: auto; }
.footer__brand p { max-width: 38ch; }
.footer h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 700; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: #fff; text-decoration: underline; }
.footer__addr { font-style: normal; display: grid; gap: 8px; align-content: start; }
.footer__addr p { display: flex; gap: 8px; align-items: flex-start; }
.footer__addr .ico { color: var(--orange-500); margin-top: 3px; }
.footer__legal { border-top: 1px solid var(--navy-700); padding-block: 20px calc(20px + 76px); font-size: .82rem; }

/* Barra fixa mobile */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(11 18 32 / .96); backdrop-filter: blur(8px); border-top: 1px solid var(--navy-600);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky.is-visible { transform: none; }
.sticky .btn { flex: 1; }
.sticky__wa { display: grid; place-items: center; width: 52px; flex: none; border-radius: 999px; background: #25d366; color: #fff; }

/* Reveal --------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3) { transition-delay: .16s; }
.cards .reveal:nth-child(4) { transition-delay: .24s; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 600px) {
  .hero__cta, .final__cta { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .final__cta { justify-content: center; }
  .hero__proof { grid-template-columns: repeat(auto-fit, minmax(210px, max-content)); gap: 10px 26px; }
  .row { grid-template-columns: 1fr 1fr; }
  .cards--4, .steps, .cards--3.cards--seg { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 600px) and (max-width: 899px) {
  .cat { flex-direction: row; }
  .cat img { width: 52%; flex: none; aspect-ratio: auto; height: auto; align-self: stretch; object-fit: cover; object-position: left center; }
  .cat__body { padding-block: 18px; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .topbar__right { display: flex !important; }
  .brand__logo { height: 52px; }
  .menu-btn { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 26px; padding: 0; border: 0; box-shadow: none; background: none; }
  .nav a { padding: 8px 0; border: 0; font-size: .95rem; }
  .nav .nav__cta { margin: 0; padding: 8px 18px; }
  .nav .nav__cta:hover { color: var(--navy-900); }

  .hero { padding-block: 72px 88px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .strip__grid { grid-template-columns: repeat(4, 1fr); }
  .strip__item { border-bottom: 0 !important; padding: 22px 24px; border-right: 1px solid rgb(11 18 32 / .15); }
  .strip__item:last-child { border-right: 0; }

  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -20px; width: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--slate-300) 0 4px, transparent 4px 8px); }

  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .quote__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .faq { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .footer__grid { grid-template-columns: 1.4fr .8fr .9fr 1fr; }
  .footer__legal { padding-bottom: 20px; }
  .sticky { display: none; }
}

@media (min-width: 1100px) {
  .quote__card { position: sticky; top: calc(var(--header-h) + 20px); }
}

@media (max-width: 899px) {
  .quote__card { order: 2; }
}

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