/* Site institucional do ayow.chat — mesmos tokens do sistema (frontend/src/styles.css). */
:root {
  --accent: #087f77;
  --accent-strong: #066b64;
  --accent-soft: #e6f3f1;
  --accent-bright: #12a99d;
  --ink: #172b3a;
  --muted: #5f6d79;
  --line: #e2e8ec;
  --bg: #ffffff;
  --bg-soft: #f4f8f7;
  --bg-deep: #0d2733;
  --warn: #b45309;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(16, 42, 56, 0.35);
  --shadow-sm: 0 4px 16px -6px rgba(16, 42, 56, 0.18);
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent);
}
a:hover {
  color: var(--accent-strong);
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 1em;
}
code,
pre {
  font-family: var(--mono);
}
:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .wrap {
    padding: 0 28px;
  }
}
section {
  padding: 72px 0;
}
@media (max-width: 767px) {
  section {
    padding: 52px 0;
  }
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 62ch;
}
.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}
.soft {
  background: var(--bg-soft);
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.88rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  white-space: nowrap;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-strong);
  color: #fff;
}
.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff;
}
.btn-outline:hover {
  background: var(--accent-soft);
}
.btn-light {
  background: #fff;
  color: var(--accent-strong);
}
.btn-light:hover {
  background: var(--accent-soft);
}
.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.92rem;
}
.btn-block {
  width: 100%;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover {
  color: var(--ink);
}
.brand svg {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  color: var(--accent);
}
.brand span {
  font-weight: 400;
  color: #73808c;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.header-cta {
  display: flex;
  gap: 8px;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 1200px) {
  .nav a.hide-md {
    display: none;
  }
}
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }
  .nav,
  .header-cta {
    display: none;
  }
  .site-header.open .nav {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .site-header.open .nav a {
    padding: 12px;
    font-size: 1.05rem;
  }
  .site-header.open .nav a.hide-md {
    display: block;
  }
  .site-header.open .nav .nav-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }
}
.nav .nav-cta {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(18, 169, 157, 0.16), transparent 60%),
    radial-gradient(800px 400px at -10% 10%, rgba(8, 127, 119, 0.08), transparent 60%),
    #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 span {
  color: var(--accent);
}
.hero .lead {
  margin-bottom: 28px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badges svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.hero-visual {
  position: relative;
  padding-bottom: 40px;
}
.hero-visual .frame {
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transform-origin: left center;
}
.hero-visual .phone {
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 30%;
  min-width: 120px;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual .frame {
    transform: none;
  }
}
@media (max-width: 600px) {
  .hero {
    padding-top: 40px;
  }
  .hero .actions .btn {
    width: 100%;
  }
  .hero-visual .phone {
    width: 34%;
    right: 0;
  }
}

/* ---------- Molduras dos prints ---------- */
.frame {
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #f1f4f6;
  border-bottom: 1px solid var(--line);
}
.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5dbe0;
}
.frame-bar span {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--muted);
  background: #fff;
  border-radius: 6px;
  padding: 2px 10px;
  flex: 1;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame img {
  width: 100%;
}
.frame.crop img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}
.phone {
  border-radius: 26px;
  border: 7px solid #13232e;
  background: #13232e;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone img {
  border-radius: 19px;
  width: 100%;
}
.shot-link {
  display: block;
  cursor: zoom-in;
}

/* ---------- Faixa de canais ---------- */
.channels {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.channels ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.channels li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
}
.channels li small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}
.ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.ico svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 860px) {
  .channels ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .channels ul {
    grid-template-columns: 1fr;
  }
}

/* ---------- Passos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: passo;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.step::before {
  counter-increment: passo;
  content: counter(passo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.step p {
  color: var(--muted);
  margin: 0;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Abas de funcionalidades ---------- */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tab {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tab svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.tab[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tab[aria-selected="true"] svg {
  color: #fff;
}
@media (max-width: 700px) {
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -16px 24px;
    padding: 2px 16px 8px;
    scrollbar-width: thin;
  }
  .tab {
    flex: none;
  }
}
.panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.panel[hidden] {
  display: none;
}
.panel h3 {
  font-size: 1.6rem;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}
.checks li {
  position: relative;
  padding-left: 32px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087f77' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.panel .tip {
  font-size: 0.92rem;
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
}
@media (max-width: 900px) {
  .panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .panel .panel-media {
    order: -1;
  }
}

/* ---------- Cartões ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
}
.card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.96rem;
}
a.card {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
a.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ---------- Software houses ---------- */
.dev {
  background: var(--bg-deep);
  color: #e7f1f0;
}
.dev h2,
.dev h3 {
  color: #fff;
}
.dev .eyebrow {
  color: #5fd6cb;
}
.dev .lead,
.dev p {
  color: #b9cdd0;
}
.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.dev .checks li::before {
  background-color: rgba(95, 214, 203, 0.16);
}
.dev .checks li {
  color: #e7f1f0;
}
.code {
  background: #081a22;
  border: 1px solid #1f3d49;
  border-radius: 12px;
  overflow: hidden;
}
.code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #1f3d49;
  font-size: 0.8rem;
  color: #8fb3b8;
}
.code pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #d6ecea;
}
.code .k {
  color: #5fd6cb;
}
.code .s {
  color: #f4c58a;
}
.case {
  margin-top: 22px;
  border: 1px solid #1f3d49;
  border-radius: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
}
.case strong {
  color: #fff;
}
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.88rem;
}
.flow span {
  background: rgba(95, 214, 203, 0.14);
  color: #cdeeea;
  border-radius: 999px;
  padding: 4px 10px;
}
.flow b {
  color: #5fd6cb;
}
@media (max-width: 900px) {
  .dev-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Itens de grid não podem crescer com conteúdo largo (código, tabelas): quem rola é o próprio bloco. */
.hero-grid > *,
.panel > *,
.dev-grid > *,
.contact-grid > *,
.calc > *,
.doc-layout > * {
  min-width: 0;
}

/* ---------- Comparação ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.95rem;
}
.compare th,
.compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.compare th:first-child,
.compare td:first-child {
  text-align: left;
}
.compare thead th {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 650;
  background: var(--bg-soft);
}
.compare thead th.us {
  background: var(--accent);
  color: #fff;
}
.compare td.us {
  background: var(--accent-soft);
  font-weight: 700;
}
.compare tr:last-child td {
  border-bottom: 0;
}
.yes {
  color: var(--accent);
  font-weight: 800;
}
.no {
  color: #b4bcc3;
}
.part {
  color: var(--warn);
  font-size: 0.85rem;
}

/* ---------- Preços ---------- */
.price-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.price-switch button {
  min-height: 40px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0 16px;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.price-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}
.price-switch em {
  font-style: normal;
  font-size: 0.78rem;
  background: #fff3e0;
  color: var(--warn);
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 4px;
}
.price-switch button[aria-pressed="true"] em {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plans.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}
.plan .tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 {
  margin-bottom: 4px;
}
.plan .for {
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 3em;
}
.price {
  margin: 14px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.price b {
  font-size: 2.3rem;
  letter-spacing: -0.03em;
}
.price small {
  color: var(--muted);
}
.price-note {
  color: var(--muted);
  font-size: 0.85rem;
  min-height: 1.4em;
}
.plan .checks {
  margin: 18px 0 22px;
  font-size: 0.94rem;
}
.plan .btn {
  margin-top: auto;
}
.plan .minus li::before {
  background: #f1f3f5
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3adb5' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.plan .minus li {
  color: #8995a0;
}
@media (max-width: 1080px) {
  .plans.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .plans.four {
    grid-template-columns: 1fr;
  }
}
.price-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.price-rules div {
  background: #fff;
  border: 1px dashed #c9d6da;
  border-radius: 12px;
  padding: 16px;
  font-size: 0.92rem;
}
.price-rules b {
  display: block;
  margin-bottom: 4px;
}
.founders {
  text-align: center;
  background: #fff8ed;
  border: 1px solid #f6d9a8;
  color: #7a4a06;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 auto 32px;
  max-width: 760px;
  font-size: 0.95rem;
}

/* Calculadora */
.calc {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}
.calc-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.calc-total {
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 20px;
}
.calc-total b {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--accent-strong);
}
.calc-total ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .calc {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .calc {
    padding: 20px;
  }
  .calc-fields {
    grid-template-columns: 1fr;
  }
}

/* ---------- Formulários ---------- */
label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
}
textarea {
  min-height: 96px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8, 127, 119, 0.15);
}
@media (pointer: coarse) {
  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* ---------- Segmentos ---------- */
.segments .card h3 .ico {
  width: 40px;
  height: 40px;
}

/* ---------- Manual (chamada) ---------- */
.journeys {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.journeys a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  min-height: 64px;
}
.journeys a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.journeys a small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 10px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 52px 16px 18px;
  font-weight: 650;
  position: relative;
  min-height: 44px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq details[open] {
  border-color: #bfd9d5;
}
.faq .answer {
  padding: 0 18px 18px;
  color: #34495a;
}
.faq .answer p:last-child {
  margin-bottom: 0;
}
.faq .how {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 10px 14px;
  font-size: 0.93rem;
  margin: 10px 0;
}
.faq .answer img {
  margin: 12px 0;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.faq .answer .narrow {
  max-width: 300px;
}

/* ---------- Contato ---------- */
.contact {
  background: linear-gradient(135deg, #0b9488, var(--accent) 50%, #05554f);
  color: #fff;
}
.contact h2 {
  color: #fff;
}
.contact .lead {
  color: #d5efec;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
  min-height: 44px;
}
.contact-list .ico {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.contact-list small {
  display: block;
  font-weight: 400;
  color: #cdeae6;
}
.lead-form {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full {
  grid-column: 1 / -1;
}
.lead-form .consent {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 12px 0 0;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .lead-form {
    padding: 20px;
  }
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--bg-deep);
  color: #9fb6ba;
  padding: 48px 0 28px;
  font-size: 0.92rem;
}
.site-footer .brand {
  color: #fff;
}
.site-footer .brand span {
  color: #8fa7ab;
}
.site-footer .brand svg {
  color: #5fd6cb;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.site-footer a {
  color: #cfe0e2;
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid #1f3d49;
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Botão flutuante do WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1faa59;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
}
.wa-float:hover {
  color: #fff;
  background: #188d49;
}
.wa-float svg {
  width: 30px;
  height: 30px;
}

/* Visualizador de imagem */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1400px, 96vw);
  max-height: 94vh;
}
.lightbox::backdrop {
  background: rgba(10, 25, 32, 0.82);
}
.lightbox img {
  max-height: 88vh;
  width: auto;
  margin: 0 auto;
  border-radius: 10px;
}
.lightbox button {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- Páginas de texto (manual, termos, privacidade) ---------- */
.doc-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 36px;
}
.doc-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  padding: 48px 0 80px;
}
.toc {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  font-size: 0.92rem;
}
.toc h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.toc ol,
.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
}
.toc a:hover {
  background: var(--accent-soft);
}
.doc {
  max-width: 820px;
}
.doc h2 {
  font-size: 1.6rem;
  margin-top: 2.2em;
  padding-top: 0.4em;
}
.doc h2:first-child {
  margin-top: 0;
}
.doc h3 {
  margin-top: 1.6em;
}
.doc ol,
.doc ul {
  padding-left: 1.3em;
}
.doc li {
  margin-bottom: 0.45em;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  margin: 1em 0 1.5em;
}
.doc th,
.doc td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.doc th {
  background: var(--bg-soft);
}
.doc .table-scroll table {
  margin: 0;
  min-width: 560px;
}
.doc figure {
  margin: 1.2em 0 1.6em;
}
.doc figcaption {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 8px;
}
.doc .phone {
  max-width: 280px;
}
.note {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 1em 0 1.4em;
  font-size: 0.95rem;
}
.note.warn {
  background: #fff8ed;
  border: 1px solid #f6d9a8;
}
.journey {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.journey:first-of-type {
  border-top: 0;
}
.journey .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  border-radius: 999px;
  padding: 3px 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
kbd {
  font-family: var(--mono);
  font-size: 0.85em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 5px;
  background: #fff;
}
@media (max-width: 900px) {
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
  }
  .toc {
    position: static;
    max-height: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
  }
}

@media print {
  .site-header,
  .wa-float,
  .toc,
  .site-footer {
    display: none;
  }
  .doc-layout {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Cabeçalho dos documentos legais: link para o outro documento (no celular fica só no rodapé). */
.doc-link {
  margin-left: auto;
}
@media (max-width: 480px) {
  .doc-link {
    display: none;
  }
}
.cards.segments {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.swipe-hint {
  display: none;
  text-align: center;
}
@media (max-width: 760px) {
  .swipe-hint {
    display: block;
  }
}
