/* Fontes no proprio site: carregar do Google manda o IP do visitante para fora (GDPR). Licenca OFL. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/BricolageGrotesque48pt-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/BricolageGrotesque48pt-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/BricolageGrotesque48pt-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/PublicSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/PublicSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/PublicSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/PublicSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* Tooluy - site principal. Cores da marca (docs/atualizacoes/MARCA_TOOLUY.md). */
:root {
  --ink: #142E4B;        /* azul-marinho da logo: texto e fundos escuros */
  --ink-2: #3E566F;      /* texto secundario (7:1 sobre branco) */
  --ink-3: #5F7388;      /* legendas pequenas */
  --teal: #1F7F77;       /* botao: o verde-agua da logo nao passa contraste com branco */
  --teal-hover: #186A63;
  --teal-light: #43B7AC; /* verde-agua da logo, so em detalhe */
  --orange: #ED6D1F;     /* laranja da logo, so em detalhe (nos da madeira) */
  --paper: #F3F6F7;
  --white: #FFFFFF;
  --line: #DCE4E8;
  --birch: #EFE5D3;      /* tom de compensado: a borda do "cartao de peca" */
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal-light);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.008em; margin: 0; font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 46px); max-width: 20ch; }
h3 { font-size: clamp(23px, 2.4vw, 30px); letter-spacing: 0; }
p { margin: 0; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 60ch; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 20; }

/* ---------- botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1 var(--body);
  padding: 15px 22px; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent;
  transition: background-color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-hover); }
.btn-ghost { color: var(--ink); border-color: #B9C7CF; background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--birch); }
.btn-sm { padding: 10px 16px; font-size: 15px; }

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243, 246, 247, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { font-weight: 600; font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 6px 8px; border-radius: 6px; }
.lang:hover { color: var(--ink); background: var(--white); }
.login { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
/* Menu dos ramos: details/summary abre sem JavaScript e funciona no teclado */
.ramos-menu { position: relative; }
.ramos-menu summary { list-style: none; cursor: pointer; color: var(--ink-2); font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.ramos-menu summary::-webkit-details-marker { display: none; }
.ramos-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.ramos-menu summary:hover { color: var(--ink); }
.ramos-menu ul { position: absolute; top: calc(100% + 14px); left: -12px; list-style: none; margin: 0; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: 0 20px 40px -20px rgba(20,46,75,.35); min-width: 270px; z-index: 20; }
.ramos-menu a { display: block; padding: 10px 12px; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-size: 15px; }
.ramos-menu a:hover { background: var(--paper); }
.ramos-menu a[aria-current="page"] { color: var(--teal); font-weight: 600; }
@media (max-width: 960px) { .nav { display: none; } }
@media (max-width: 560px) {
  .top .wrap { gap: 10px; height: 64px; }
  .logo img { height: 24px; }
  .login { display: none; }
  .top-actions { gap: 6px; }
}

/* ---------- hero ---------- */
.hero { padding: 64px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); letter-spacing: -0.015em; max-width: 12ch; font-weight: 800; }
.hero .lead { margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--ink-3); }

.hero-visual { position: relative; padding-bottom: 72px; }
.browser {
  background: var(--white);
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(20, 46, 75, .35);
  overflow: hidden;
  width: 112%;
}
.browser-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DEE3; }
.browser-bar span { margin-left: 14px; font-size: 12px; color: var(--ink-3); background: var(--paper); padding: 3px 12px; border-radius: 6px; }

/* O cartao de peca: a etiqueta que o Tooluy imprime para cada peca cortada,
   com a fita de borda desenhada em traco grosso. Aqui ele mostra a conta do lucro. */
.ticket {
  margin: 0;
  position: absolute; left: -36px; bottom: 0;
  width: min(330px, 78%);
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 24px 50px -20px rgba(20, 46, 75, .45);
  border-top: 7px solid var(--teal-light);
  border-left: 7px solid var(--teal-light);
  padding: 18px 20px 16px;
  font-size: 14px;
}
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1.5px dashed #C5D1D8; }
.ticket-head b { font-family: var(--display); font-size: 17px; letter-spacing: 0.005em; }
.ticket-head small { color: var(--ink-3); font-size: 12px; }
.ticket dl { margin: 10px 0 0; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.ticket .row { display: flex; justify-content: space-between; gap: 12px; }
.ticket dt { color: var(--ink-2); }
.ticket dd { margin: 0; text-align: right; white-space: nowrap; }
.ticket .cost dd { color: var(--ink-2); }
.ticket .profit { margin-top: 4px; padding-top: 10px; border-top: 1.5px solid var(--ink); align-items: baseline; }
.ticket .profit dt { color: var(--ink); font-weight: 700; }
.ticket .profit dd { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--teal); line-height: 1; }
.ticket .bar { height: 8px; background: var(--paper); border-radius: 4px; overflow: hidden; margin-top: 2px; }
.ticket .bar span { display: block; height: 100%; width: 59.6%; background: var(--teal-light); border-radius: 4px; transform-origin: left; }
.ticket-foot { margin-top: 10px; font-size: 12px; color: var(--ink-3); }

/* Unico momento animado da pagina: o cartao "faz a conta" ao abrir. */
@media (prefers-reduced-motion: no-preference) {
  .ticket .row { opacity: 0; animation: lineIn .35s ease-out forwards; }
  .ticket .row:nth-child(1) { animation-delay: .35s; }
  .ticket .row:nth-child(2) { animation-delay: .5s; }
  .ticket .row:nth-child(3) { animation-delay: .65s; }
  .ticket .row:nth-child(4) { animation-delay: .8s; }
  .ticket .row:nth-child(5) { animation-delay: 1.05s; }
  .ticket .bar span { transform: scaleX(0); animation: grow .7s 1.25s cubic-bezier(.2,.7,.2,1) forwards; }
  @keyframes lineIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
  @keyframes grow { to { transform: scaleX(1); } }
}

@media (max-width: 960px) {
  .hero { padding: 40px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .browser { width: 100%; }
  .ticket { left: 12px; }
}
/* No celular o cartao do lucro e a mensagem: vem primeiro e inteiro, e a tela do sistema fica embaixo, sem nada por cima. */
@media (max-width: 560px) {
  .hero-ctas .btn { width: 100%; }
  .hero-visual { padding-bottom: 0; display: flex; flex-direction: column; gap: 20px; }
  .ticket { position: static; width: 100%; order: -1; }
}

/* ---------- pagina geral: escolha do ramo no topo ---------- */
.hero-geral .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.picker h2 { font-size: 15px; font-family: var(--body); font-weight: 600; color: var(--ink-2); letter-spacing: 0; margin-bottom: 14px; max-width: none; }
.picker ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
/* Cada ramo e um "cartao de peca", com a borda de fita da etiqueta do Tooluy */
.picker a { display: block; background: var(--white); border-radius: 6px; border-left: 6px solid var(--teal-light); padding: 16px 20px; text-decoration: none; color: var(--ink); box-shadow: 0 14px 30px -22px rgba(20,46,75,.45); transition: transform .15s, border-color .15s; }
.picker a:hover { transform: translateX(4px); border-left-color: var(--orange); }
.picker b { display: block; font-family: var(--display); font-size: 20px; font-weight: 700; }
.picker span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) { .picker a { transition: none; } .picker a:hover { transform: none; } }
@media (max-width: 960px) { .hero-geral .wrap { grid-template-columns: 1fr; } }

/* ---------- pagina geral: os ramos ---------- */
.trades { padding: 104px 0 40px; }
.trades .lead { margin-top: 18px; }
.trades-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.trade { background: var(--white); border-radius: var(--radius-l); overflow: hidden; display: flex; flex-direction: column; }
.trade-shot { display: block; background: var(--ink); padding: 18px 18px 0; }
.trade-shot img { border-radius: 10px 10px 0 0; aspect-ratio: 1400 / 620; object-fit: cover; object-position: top; }
.trade-text { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.trade-text h3 a { color: var(--ink); text-decoration: none; }
.trade-text h3 a:hover { color: var(--teal); }
.trade-text ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: var(--ink-2); }
.trade-text li { position: relative; padding-left: 26px; }
.trade-text li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.trade-price { margin-top: 18px; color: var(--ink-2); }
.trade-price b { font-family: var(--display); font-size: 22px; color: var(--ink); }
.trade-text .btn { margin-top: 18px; align-self: flex-start; }
@media (max-width: 820px) { .trades-grid { grid-template-columns: 1fr; } .trades { padding-top: 72px; } }

/* ---------- tabelas (adaptacao e precos) ---------- */
.adapt { padding: 72px 0 0; }
.adapt .lead { margin-top: 18px; }
.table-wrap { margin-top: 36px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.adapt-table, .price-table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--white); border-radius: var(--radius-m); overflow: hidden; }
.adapt-table th, .adapt-table td, .price-table th, .price-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adapt-table thead th, .price-table thead th { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink); background: var(--white); }
.adapt-table tbody th { color: var(--ink-2); font-weight: 600; width: 18%; }
.adapt-table tbody tr:last-child th, .adapt-table tbody tr:last-child td, .price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td { font-family: var(--display); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
.price-table tbody th a { color: var(--ink); font-weight: 600; text-decoration: none; }
.price-table tbody th a:hover { color: var(--teal); text-decoration: underline; }
.pricing .caption { margin-top: 14px; }
.pricing .hero-ctas { margin-top: 24px; }

/* ---------- video da pagina geral ---------- */
.video { padding: 0 0 96px; }
.video h2 { margin: 0 auto 28px; max-width: 980px; }
.video-box { max-width: 980px; margin: 0 auto; border-radius: var(--radius-l); overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -40px rgba(20,46,75,.55); }
.video-box video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.video-link { margin-left: 6px; font-weight: 600; }
@media (max-width: 560px) { .video { padding-bottom: 64px; } .video-link { display: block; margin: 8px 0 0; } }

/* ---------- dores ---------- */
.pains { background: var(--white); padding: 88px 0; }
.pains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 44px; }
.pain { margin: 0; border-left: 3px solid var(--orange); padding: 4px 0 4px 22px; }
.pain p { font-family: var(--display); font-size: 23px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; }
.pains-answer { margin-top: 48px; font-size: 19px; color: var(--ink-2); max-width: 56ch; }
@media (max-width: 820px) { .pains-grid { grid-template-columns: 1fr; gap: 24px; } .pains { padding: 64px 0; } }

/* ---------- pilares ---------- */
.features { padding: 104px 0 40px; }
.features > .wrap > .lead { margin-top: 18px; }
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px; align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: 0; }
.feature.flip .feature-text { order: 2; }
.feature-text p { margin-top: 18px; color: var(--ink-2); max-width: 52ch; }
.feature-text ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.feature-text li { position: relative; padding-left: 28px; }
.feature-text li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 9px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}
.shot {
  border-radius: var(--radius-m); overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
  box-shadow: 0 24px 48px -28px rgba(20, 46, 75, .35);
}
.shots { position: relative; }
.shots-pair { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 20px; align-items: end; }
.phone {
  border: 9px solid var(--ink); border-radius: 34px; overflow: hidden;
  background: var(--white); max-width: 300px;
  box-shadow: 0 24px 48px -24px rgba(20, 46, 75, .5);
}
.phone img { aspect-ratio: 780 / 1520; object-fit: cover; object-position: top; }
.tablet { border: 12px solid var(--ink); border-radius: 26px; overflow: hidden; background: var(--white); box-shadow: 0 24px 48px -24px rgba(20, 46, 75, .5); }
/* PDF atras e celular na frente: o mesmo orcamento, do papel ao telefone do cliente */
.overlap { position: relative; padding: 0 0 40px; }
.overlap .shot { width: 84%; }
.overlap .phone { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 230px; border-width: 7px; border-radius: 28px; }
@media (max-width: 560px) { .overlap .shot { width: 100%; } .overlap { padding-bottom: 150px; } .overlap .phone { width: 46%; } }
.shot-solo-phone { display: flex; justify-content: center; gap: 24px; }
.caption { font-size: 14px; color: var(--ink-3); margin-top: 12px; }
@media (max-width: 960px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .feature.flip .feature-text { order: 0; }
}
@media (max-width: 560px) {
  .shots-pair { grid-template-columns: 1fr; }
  .shots-pair .phone { max-width: 260px; margin: 0 auto; }
  .features { padding-top: 72px; }
}

/* ---------- fluxo ---------- */
.flow { background: var(--ink); color: var(--white); padding: 96px 0; position: relative; overflow: hidden; }
.flow h2 { color: var(--white); }
.flow ol { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); counter-reset: f; position: relative; }
.flow ol::before { content: ""; position: absolute; top: 15px; left: 16px; right: 16px; height: 2px; background: rgba(67, 183, 172, .45); }
.flow li { counter-increment: f; position: relative; padding-right: 14px; }
.flow li::before {
  content: counter(f); display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--teal-light); color: var(--teal-light);
  font: 700 14px/1 var(--body); position: relative;
}
.flow li b { display: block; margin-top: 16px; font-family: var(--display); font-size: 19px; font-weight: 600; }
.flow li span { display: block; margin-top: 4px; font-size: 15px; color: #B8C7D6; line-height: 1.45; }
@media (max-width: 960px) {
  .flow ol { grid-template-columns: 1fr; gap: 18px; }
  .flow ol::before { top: 16px; bottom: 16px; left: 15px; right: auto; width: 2px; height: auto; }
  .flow li { display: grid; grid-template-columns: 32px 1fr; column-gap: 18px; }
  .flow li::before { grid-row: span 2; }
  .flow li b { margin-top: 3px; }
}

.flow-cta { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.flow-cta span { color: #B8C7D6; font-size: 15px; }

/* ---------- comecar ---------- */
.start { padding: 104px 0; }
.start ol { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.start li { counter-increment: s; background: var(--white); border-radius: var(--radius-l); padding: 30px 28px; }
.start li::before { content: counter(s); font: 800 44px/1 var(--display); color: var(--teal-light); }
.start li b { display: block; margin-top: 18px; font-family: var(--display); font-size: 22px; letter-spacing: -0.01em; }
.start li p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 820px) { .start ol { grid-template-columns: 1fr; gap: 16px; } .start { padding: 72px 0; } }

/* ---------- tambem incluso ---------- */
.extras { padding: 0 0 104px; }
.extras ul { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.extras li { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
@media (max-width: 960px) { .extras ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .extras ul { grid-template-columns: 1fr; } }

/* ---------- historia ---------- */
.story { background: var(--birch); padding: 96px 0; }
.story .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.story p { font-size: 19px; color: var(--ink); }
.story p + p { margin-top: 18px; }
.story .sign { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink-2); }
@media (max-width: 820px) { .story .wrap { grid-template-columns: 1fr; gap: 24px; } .story { padding: 64px 0; } }

/* ---------- precos ---------- */
.pricing { padding: 104px 0; }
.pricing .lead { margin-top: 18px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { background: var(--white); border-radius: var(--radius-l); padding: 32px 28px; display: flex; flex-direction: column; border: 1.5px solid var(--white); }
.plan.main { border-color: var(--teal); }
.plan h3 { font-size: 24px; }
.plan .who { color: var(--ink-2); margin-top: 6px; }
.plan .price { margin-top: 24px; font-family: var(--display); font-weight: 800; font-size: 48px; letter-spacing: -0.01em; line-height: 1; }
.plan .price small { font: 500 16px var(--body); color: var(--ink-3); letter-spacing: 0; }
.plan { position: relative; }
.plan .badge { position: absolute; top: 28px; right: 24px; background: #E3F3F1; color: var(--teal-hover); font-weight: 600; font-size: 13px; padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.plan .btn { margin-top: auto; }
.plan .space { flex: 1; min-height: 28px; }
.plan .plan-buy { margin-top: 14px; text-align: center; font-weight: 600; font-size: 15px; color: var(--teal); }
.plan .plan-buy:hover { color: var(--teal-hover); }
.buy-note { margin-top: 18px; max-width: 70ch; }
.all-plans { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-2); list-style: none; padding: 0; }
.all-plans li { position: relative; padding-left: 24px; }
.all-plans li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .pricing { padding: 72px 0; } }

/* ---------- perguntas ---------- */
.faq { padding: 0 0 104px; }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 820px) { .faq .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- outros ramos ---------- */
.others { padding: 0 0 104px; }
.others ul { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.others a { display: block; height: 100%; padding: 26px 26px 28px; background: var(--white); border-radius: var(--radius-l); border: 1.5px solid var(--white); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.others a:hover { border-color: var(--teal); }
.others b { display: block; font-family: var(--display); font-size: 21px; font-weight: 700; }
.others span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 16px; }
@media (max-width: 820px) { .others ul { grid-template-columns: 1fr; gap: 12px; } .others { padding-bottom: 72px; } }

/* ---------- chamada final ---------- */
.final { background: var(--ink); color: var(--white); padding: 104px 0; position: relative; overflow: hidden; }
.final .grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.final .wrap { position: relative; }
.final h2 { color: var(--white); max-width: 18ch; font-size: clamp(34px, 4.6vw, 56px); }
.final p { margin-top: 18px; color: #C5D3E0; font-size: 19px; }
.final .hero-ctas { margin-top: 36px; }
.final .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.final .btn-ghost:hover { border-color: var(--white); }

/* ---------- rodape ---------- */
.foot { background: var(--ink); color: #B8C7D6; border-top: 1px solid rgba(255,255,255,.1); padding: 40px 0; font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
.foot img { height: 26px; width: auto; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .right { margin-left: auto; display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 700px) { .foot .right { margin-left: 0; } }

section[id] { scroll-margin-top: 80px; }

/* ---------- paginas legais: texto corrido, linha curta para ler bem ---------- */
.legal { padding: 56px 0 104px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 4.4vw, 48px); }
.legal .updated { margin-top: 12px; color: var(--ink-3); font-size: 15px; }
.legal h2 { font-size: 24px; margin-top: 44px; max-width: none; }
.legal p, .legal ul { margin-top: 14px; color: var(--ink); }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.foot .right { row-gap: 10px; }

/* ---------- formulario de contato e suporte ---------- */
.tf { border: 0; padding: 0; border-radius: var(--radius-l); width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(20,46,75,.55); }
.tf::backdrop { background: rgba(20, 46, 75, .55); }
.tf-form { padding: 28px 28px 24px; font-family: var(--body); }
.tf-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tf-cab h2 { font-size: 28px; max-width: none; }
.tf-x { border: 0; background: var(--paper); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; flex: none; }
.tf-x:hover { background: var(--line); }
.tf-sub { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.tf-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 8px; }
.tf-campo { display: block; margin-top: 14px; }
.tf-campo span { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.tf-campo input, .tf-campo textarea { width: 100%; font: 16px/1.4 var(--body); color: var(--ink); background: var(--white); border: 1.5px solid #C7D3DA; border-radius: var(--radius-s); padding: 11px 12px; }
.tf-campo textarea { resize: vertical; min-height: 130px; }
.tf-campo input:focus, .tf-campo textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(67, 183, 172, .25); }
.tf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tf-status { margin-top: 14px; font-size: 15px; min-height: 0; }
.tf-status:empty { display: none; }
.tf-status.ok { background: #E3F3F1; color: var(--teal-hover); padding: 14px 16px; border-radius: var(--radius-s); font-weight: 600; }
.tf-status.erro { color: #B42318; }
.tf-acoes { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tf-direto { font-size: 14px; color: var(--ink-3); }
.tf-direto a { color: var(--teal); }
@media (max-width: 560px) {
  .tf-form { padding: 22px 18px 20px; }
  .tf-grade { grid-template-columns: 1fr; }
  .tf-acoes .btn { width: 100%; }
}
