/* Confec System: identidade do logo (cobalto + azul-céu + marinho). */
:root {
  --bg: #F4F7FC;
  --surface: #FFFFFF;
  --surface-2: #EAF0FB;
  --ink: #0B1F4D;
  --muted: #475673;
  --line: #D9E2F1;
  --brand: #1446E8;
  --brand-ink: #FFFFFF;
  --sky: #2FA8FF;
  --deep: #0B1F4D;
  --deep-ink: #EAF1FF;
  --grad: linear-gradient(135deg, #0A35C9 0%, #1A5CFF 52%, #3AB4FF 100%);
  --shadow: 0 24px 60px -24px rgba(11, 31, 77, .28);
  --err: #C5283D;
  --ok: #0E7A4F;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060E24; --surface: #0C1834; --surface-2: #11214A; --ink: #EAF1FF;
    --muted: #A3B4D6; --line: #1C2D57; --brand: #4C8DFF; --brand-ink: #06102A;
    --deep: #0A1A42; --deep-ink: #EAF1FF; --err: #FF7A8A; --ok: #4ADE9B;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  --bg: #060E24; --surface: #0C1834; --surface-2: #11214A; --ink: #EAF1FF;
  --muted: #A3B4D6; --line: #1C2D57; --brand: #4C8DFF; --brand-ink: #06102A;
  --deep: #0A1A42; --deep-ink: #EAF1FF; --err: #FF7A8A; --ok: #4ADE9B;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ph { line-height: 1; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 15px 24px; border-radius: 999px; font: 700 16px var(--font);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -12px rgba(20, 70, 232, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(20, 70, 232, .8); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

/* Navegação */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 38px; height: 38px; }
.logo b { display: block; font-size: 20px; font-weight: 800; letter-spacing: .02em; line-height: .95; }
.logo small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .58em; color: var(--brand); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: #fff; padding: 11px 20px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; color: var(--ink); font-size: 22px; cursor: pointer; }

/* Hero */
.hero { padding: 64px 0 88px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 168, 255, .22), transparent 62%); pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: 26px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); max-width: 13ch; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 44ch; margin: 24px 0 36px; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Telefone com conversa animada */
.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.phone {
  width: 320px; height: 600px; border-radius: 46px; padding: 12px; background: #0B1F4D;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, .08); position: relative;
}
.screen { height: 100%; border-radius: 36px; overflow: hidden; background: #EEF3FB; display: flex; flex-direction: column; }
.chat-head { background: var(--grad); color: #fff; padding: 34px 18px 16px; display: flex; align-items: center; gap: 12px; }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 20px; }
.chat-head b { display: block; font-size: 15px; }
.chat-head span { font-size: 12px; opacity: .85; }
.chat-body { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 82%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.4; color: #0B1F4D; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.msg.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: #D5E4FF; border-bottom-right-radius: 4px; }
.msg .time { display: block; text-align: right; font-size: 10px; color: #5A6A8C; margin-top: 4px; }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 8px; }
.slots span { background: #fff; border-radius: 8px; padding: 6px; text-align: center; font-weight: 700; font-size: 13px; color: #1446E8; }
.typing { align-self: flex-end; background: #D5E4FF; border-radius: 16px; padding: 12px 14px; display: none; gap: 4px; }
.typing.show { display: flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #1446E8; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: 14px;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--surface-2); color: var(--brand); display: grid; place-items: center; font-size: 20px; }
.float-card b { display: block; font-size: 14px; }
.float-card span { color: var(--muted); font-size: 13px; }
.fc-1 { left: -6px; top: 92px; animation: drift 6s var(--ease) infinite alternate; }
.fc-2 { right: -8px; bottom: 96px; animation: drift 7s var(--ease) infinite alternate-reverse; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-12px); } }

/* Faixa de segmentos */
.band { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: slide 38s linear infinite; }
.band:hover .marquee { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; padding: 24px 36px; font-size: 18px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.marquee .ph { font-size: 26px; color: var(--brand); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Secções */
.section { padding: 112px 0; }
.section h2 { font-size: clamp(34px, 4.2vw, 54px); max-width: 18ch; }
.section .sub { color: var(--muted); font-size: 18px; max-width: 58ch; margin-top: 18px; }

/* Problema */
.pain { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.pain-list { display: grid; gap: 14px; }
.pain-item { display: flex; gap: 16px; align-items: center; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 600; font-size: 18px; }
.pain-item .ph { font-size: 22px; color: var(--err); background: color-mix(in srgb, var(--err) 12%, transparent); border-radius: 50%; padding: 9px; }
.pain-item:nth-child(2) { margin-left: 32px; }
.pain-item:nth-child(3) { margin-left: 64px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; margin-top: 56px; }
.cell { border-radius: var(--r-lg); padding: 32px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.cell h3 { font-size: 24px; }
.cell p { color: var(--muted); max-width: 38ch; }
.c-24 { grid-column: span 5; grid-row: span 2; background: var(--grad); border: 0; color: #fff; justify-content: flex-end; }
.c-24 p { color: rgba(255, 255, 255, .86); }
.c-24 .big { font-size: clamp(96px, 12vw, 168px); font-weight: 800; letter-spacing: -0.06em; line-height: .9; margin-bottom: 8px; }
.c-24::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 48px solid rgba(255, 255, 255, .1); }
.c-agenda { grid-column: span 7; }
.c-lembrete { grid-column: span 4; background: var(--surface-2); }
.c-equipe { grid-column: span 3; background: var(--deep); color: var(--deep-ink); border: 0; justify-content: space-between; }
.c-equipe p { color: color-mix(in srgb, var(--deep-ink) 75%, transparent); font-size: 15px; }
.c-equipe .ph { font-size: 40px; color: var(--sky); }
.agenda { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.agenda span { padding: 10px; text-align: center; border-radius: var(--r-sm); background: var(--surface-2); font-weight: 700; font-size: 15px; color: var(--brand); }
.agenda .off { color: var(--muted); text-decoration: line-through; opacity: .6; }
.agenda .on { background: var(--grad); color: #fff; }
.agenda-label { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.remind { background: var(--surface); border-radius: var(--r-md); padding: 14px 16px; font-size: 15px; box-shadow: 0 10px 24px -16px rgba(11, 31, 77, .4); margin-top: auto; }
.remind .row { display: flex; gap: 8px; margin-top: 10px; }
.remind .row span { flex: 1; text-align: center; padding: 8px; border-radius: 999px; font-weight: 700; font-size: 13px; background: var(--surface-2); color: var(--brand); }
.remind .row span:first-child { background: var(--brand); color: var(--brand-ink); }

/* Como funciona */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; position: relative; counter-reset: passo; }
.flow::before { content: ""; position: absolute; top: 31px; left: 32px; right: 12%; height: 2px; background: linear-gradient(90deg, var(--brand), var(--sky)); opacity: .35; }
.step { padding-right: 28px; position: relative; }
.step .dot { width: 64px; height: 64px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-size: 28px; color: var(--brand); margin-bottom: 24px; position: relative; box-shadow: 0 10px 24px -18px rgba(11, 31, 77, .5); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }

/* Instagram */
.ig-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.reel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 48px 24px 12px; margin: 0 -24px; scrollbar-width: thin; }
.reel { scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; background: var(--deep); aspect-ratio: 9 / 16; position: relative; box-shadow: var(--shadow); }
.reel.post { aspect-ratio: 4 / 5; align-self: center; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel-cap { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { transition: transform .3s var(--ease); color: var(--brand); font-size: 22px; flex: none; }
.faq details[open] summary .ph { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 60ch; }

/* Contato */
.contact { background: var(--deep); color: var(--deep-ink); border-radius: 32px; padding: 64px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -160px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 168, 255, .35), transparent 65%); pointer-events: none; }
.contact h2 { color: var(--deep-ink); }
.contact .sub { color: color-mix(in srgb, var(--deep-ink) 78%, transparent); }
.contact-ways { display: grid; gap: 12px; margin-top: 36px; position: relative; }
.way { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); text-decoration: none; transition: background .2s; }
.way:hover { background: rgba(255, 255, 255, .12); }
.way .ph { font-size: 24px; color: var(--sky); }
.way small { display: block; font-size: 13px; opacity: .75; }
.way b { font-size: 17px; }
.form { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 36px; display: grid; gap: 18px; position: relative; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea {
  font: 400 16px var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); padding: 13px 15px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 85%, transparent); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.field.invalid input { border-color: var(--err); }
.help { font-size: 13px; color: var(--muted); }
.error { font-size: 13px; font-weight: 700; color: var(--err); min-height: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; accent-color: var(--brand); margin-top: 1px; flex: none; }
.form .btn { justify-content: center; width: 100%; }
.status { font-size: 15px; font-weight: 700; color: var(--ok); }
.status a { color: var(--brand); }

/* Rodapé */
footer { padding: 64px 0 48px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer p { color: var(--muted); font-size: 14px; }
.foot-links { display: flex; gap: 24px; font-size: 14px; font-weight: 600; }
.foot-links a { text-decoration: none; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }

/* Revelar ao rolar */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1024px) {
  .hero .wrap, .pain, .faq, .contact { grid-template-columns: 1fr; }
  .stage { min-height: 560px; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .flow::before { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-24, .c-agenda { grid-column: span 2; }
  .c-24 { grid-row: span 1; min-height: 320px; }
  .c-lembrete, .c-equipe { grid-column: span 1; }
}
@media (max-width: 767px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .menu-btn { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; }
  .nav-links .btn { justify-content: center; margin-top: 8px; }
  .hero { padding: 36px 0 64px; }
  .hero .lead { font-size: 17px; }
  .hero .ctas .btn { flex: 1; justify-content: center; }
  .phone { width: 280px; height: 540px; }
  .stage { min-height: 560px; }
  .fc-1 { left: 0; top: 40px; }
  .fc-2 { right: 0; bottom: 40px; }
  .section { padding: 80px 0; }
  .pain-item:nth-child(n) { margin-left: 0; font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .c-24, .c-agenda, .c-lembrete, .c-equipe { grid-column: span 1; }
  .cell { padding: 26px; }
  .flow { grid-template-columns: 1fr; }
  .reel-track { padding: 36px 16px 12px; margin: 0 -16px; grid-auto-columns: 72%; }
  .contact { padding: 32px 20px; border-radius: 24px; }
  .form { padding: 24px 18px; }
  .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee, .fc-1, .fc-2, .typing i { animation: none; }
  .msg { transition: none; }
}
