/* GERADO por tools/juntar-css.mjs a partir de assets/css/main.css: não editar à mão. */

/* base/_fonts.css */
/* Fontes servidas pelo próprio site (Google Fonts, licença SIL OFL): sem ir a fonts.googleapis.com,
   a página não espera outra conexão para desenhar o texto. Só os conjuntos latin e latin-ext (português). */

/* JetBrains Mono — latin-ext */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono — latin */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Rethink Sans — latin-ext */
@font-face {
  font-family: "Rethink Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/rethink-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Rethink Sans — latin */
@font-face {
  font-family: "Rethink Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/rethink-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* base/_variables.css */
:root {
  /* Marca (azul do logo KeepCloud) */
  --blue: #589ddd;
  --blue-deep: #2f6dab; /* texto e links sobre branco (contraste 5,4:1) */
  --blue-cta: #3577b6; /* fundo de botão com texto branco (contraste 4,7:1) */
  --blue-cta-hover: #2b66a0;
  --blue-light: #eaf3fc;
  --blue-soft: #f5f9fe;
  --gray-brand: #a8a8a8; /* cinza do anel do logo, só em detalhes */
  /* Neutros (cool/azulado) */
  --ink: #112532;
  --ink-2: #46606f;
  --muted: #617079;
  --line: #e4eaee;
  --line-soft: #eff3f6;
  --bg: #fff;
  --bg-soft: #f5f9fe;
  --green: #229e45;
  /* Raio */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  /* Sombra */
  --shadow-sm: 0 1px 2px rgba(16, 40, 56, 0.05);
  --shadow:
    0 2px 6px rgba(16, 40, 56, 0.05), 0 14px 34px rgba(16, 40, 56, 0.06);
  --shadow-lg:
    0 10px 28px rgba(16, 40, 56, 0.09), 0 30px 70px rgba(16, 40, 56, 0.1);
  /* Layout */
  --wrap: 1160px;
  --font: "Rethink Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* Escala de cinzas */
  --gray-900: #1a1f2e;
  --gray-800: #2a3142;
  --gray-600: #5b6475;
  --gray-400: #9aa1b0;
  --gray-200: #e5e8ee;
  --gray-100: #f3f5f9;
  --white: #fff;
  --amber: #f59e0b;
}

/* base/_reset.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* âncoras não ficam atrás do menu fixo (68px) */
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
}

ul {
  list-style: none;
}

:focus-visible {
  outline:none;
  outline-offset: 0;
}

/* base/_typography.css */
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
}
p {
  text-wrap: pretty;
}
.section-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.02em;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 16px;
}
.section-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 70ch;
}

/* components/_buttons.css */
.btn {
    white-space: nowrap;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    transition: all .15s;
    display: inline-flex;
}

.btn-primary {
  background: var(--blue-cta);
  color: var(--white);
  padding: 8px 20px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(88, 157, 221,0.3);
}

.btn-primary:hover {
  background: var(--blue-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(88, 157, 221,0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-900);
  padding: 8px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.btn-secondary:hover {
  border-color: var(--gray-400);
  background: var(--gray-100);
}

.btn-ghost {
  color: var(--gray-600);
  background: transparent;
  padding: 10px 8px;
  text-decoration: none;
}

.btn-ghost:hover {
    text-decoration: underline;
    text-underline-offset: 3px
}

/* components/_cookie.css */
.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: 480px;
  z-index: 80;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-title {
  font-size: 16px;
  margin-bottom: 8px;
}
.cookie-consent-text {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 14px;
  line-height: 1.5;
}
.cookie-consent-link {
  color: var(--blue-deep);
  text-decoration: underline;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
}
@media (max-width: 480px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* components/_modal-terms.css */
.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 37, 50, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.terms-modal.is-visible {
  opacity: 1;
}
.terms-modal-card {
  background: #fff;
  border-radius: var(--r-lg);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.terms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.terms-modal-title {
  font-size: 19px;
}
.terms-modal-close {
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
}
.terms-modal-tabs {
  display: flex;
  gap: 6px;
  padding: 14px 26px 0;
}
.terms-modal-tab {
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 9px 9px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
}
.terms-modal-tab[aria-selected="true"] {
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-color: var(--line);
}
.terms-modal-body {
  padding: 24px 26px;
  overflow-y: auto;
}
.terms-modal-panel h3 {
  font-size: 15px;
  margin: 18px 0 6px;
}
.terms-modal-panel h3:first-child {
  margin-top: 0;
}
.terms-modal-panel p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* sections/_nav.css */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.nav-inner > ul {
  display: flex;
  gap: 28px;
}
.nav-inner > ul a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-inner > ul a:hover {
  color: var(--ink);
}
.nav-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 30px;
  width: auto;
  display: block;
}
/* 7 links + botões só cabem lado a lado a partir de ~1050px */
@media (max-width: 1100px) {
  .nav-inner > ul {
    display: none;
  }
}
/* Celular: "Entrar" continua visível para quem já é cliente; logo e botões encolhem para caber. */
@media (max-width: 520px) {
  .nav-inner {
    gap: 12px;
  }
  .nav-ctas {
    gap: 4px;
  }
  .logo img {
    height: 24px;
  }
  .nav-ctas .btn {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* sections/_hero.css */
.hero {
  padding: 35px 0 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    120% 80% at 50% -10%,
    var(--blue-soft) 0%,
    #fff 60%
  );
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero-content > div:nth-of-type(2) {
  margin: -4px 0;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero .gradient {
  background: linear-gradient(100deg, var(--blue), var(--blue-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink-2);
  max-width: 60ch;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust svg {
  color: var(--blue);
}

/* sections/_proof.css */
.proof {
  padding: 0;
  background: #fff;
  position: relative;
}

.proof::before,
.proof::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 20%, var(--line) 80%, transparent 100%);
}

.proof::before {
  top: 0;
}

.proof::after {
  bottom: 0;
}

.proof .proof-inner {
  display: flex;
  align-items: stretch;
}

.proof-label {
  flex: 0 0 196px;
  display: flex;
  align-items: center;
  padding: 34px 32px 34px 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.proof-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 34px 28px;
  border-left: 1px solid var(--line);
}

.proof-stat strong {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: flex;
  align-items: center;
}

.proof-stat strong svg {
  width: auto;
  border-radius: 2px;
}

.proof-stat span {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 500;
}

/* Tablet: label vira cabeçalho em cima, stats em 2x2 */
@media (max-width: 880px) {
  .proof .proof-inner {
    flex-direction: column;
  }

  .proof-label {
    flex: auto;
    padding: 24px 0 18px;
    border-bottom: 1px solid var(--line);
  }

  .proof-stats {
    grid-template-columns: 1fr 1fr;
  }

  .proof-stat {
    padding: 26px 22px;
    border-top: 1px solid var(--line);
  }

  .proof-stat:nth-child(odd) {
    border-left: none;
  }

  .proof-stat:nth-child(1),
  .proof-stat:nth-child(2) {
    border-top: none;
  }
}

/* Mobile: 1 coluna */
@media (max-width: 460px) {
  .proof-stats {
    grid-template-columns: 1fr;
  }

  .proof-stat {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .proof-stat:nth-child(1) {
    border-top: none;
  }
}

/* sections/_problem.css */
.problem {
  padding: 80px 0;
}

.problem-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.problem-head-text h2 {
  max-width: 22ch;
  margin: 18px 0;
}

.problem-head-text svg {
  margin: 36px 0 0;
  display: block;
}

.problem-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
    margin-top: 10px;
}

.problem-card {
  background: #fff;
  border-radius: 6px;
  padding: 8px;
}

.problem-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 14px;
  line-height: 1.5;
}

.problem-card:hover {
  border-color: var(--blue);
}

.problem-card-shift {
  margin-left: 48px;
}

.problem-card-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  margin-bottom: 14px;
  font-weight: 500;
}

.problem-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.problem-card p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .problem-head {
    grid-template-columns: 1fr;
  }

  .problem-card-shift {
    margin-left: 0;
  }
}

/* sections/_features.css */
.features {
  position: relative;
  overflow: hidden;
  padding: 0 0 96px;
}

.features-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 40px;
}

.features-head-art svg {
  width: 100%;
  height: auto;
  max-width: 380px;
  display: block;
  margin: 0 auto 35px;
}

.features h2 {
  margin-bottom: 25px;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, minmax(120px, auto));
  gap: 15px;
}

.feat:nth-child(1) { grid-area: 1 / 1 / 2 / 3; }
.feat:nth-child(2) { grid-area: 1 / 3 / 2 / 4; }
.feat:nth-child(3) { grid-area: 1 / 4 / 2 / 5; }
.feat:nth-child(6) { grid-area: 2 / 1 / 3 / 2; }
.feat:nth-child(7) { grid-area: 2 / 2 / 3 / 3; }
.feat:nth-child(4) { grid-area: 2 / 3 / 4 / 5; }
.feat:nth-child(5) { grid-area: 3 / 1 / 5 / 3; }
.feat:nth-child(8) { grid-area: 4 / 3 / 5 / 4; }
.feat:nth-child(9) { grid-area: 4 / 4 / 5 / 5; }

.feat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
  transition: border-color 0.2s ease;
}

.feat:hover {
  border-color: var(--blue);
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--blue-light);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feat h3 {
  margin-bottom: 9px;
  font-size: 15px;
}

.feat p {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .features-head {
    grid-template-columns: 1fr;
  }

  .features-head-art {
    order: -1;
    max-width: 260px;
    margin: 0 auto 24px;
  }

  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-rows: minmax(140px, auto);
  }

  .feat {
    grid-area: auto !important;
  }

}

@media (max-width: 560px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }

}

.feat h3 br {
  display: none;
}

@media (min-width: 861px) {
  .feat h3 br {
    display: inline;
  }
}

/* sections/_apps.css */
.apps {
  position: relative;
}

.apps-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.apps-head h2 {
  margin: 14px 0 18px;
}

.apps-head .section-sub {
  margin: 0 auto;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.app-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  transition: border-color 0.2s ease;
}

.app-card:hover {
  border-color: var(--blue);
}

.app-card-head {
  margin-bottom: 20px;
}

.app-card-head h3 {
  margin: 16px 0 4px;
  font-size: 18px;
}

.app-tagline {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.app-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.app-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-light);
  /* checkmark desenhado com SVG embutido na cor --green */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23229E45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

@media (max-width: 860px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .apps-grid {
    grid-template-columns: 1fr;
  }
}

/* sections/_stack.css */
.stack {
  padding: 96px 0;
}

.stack-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.stack-head h2 {
  margin-bottom: 12px;
}

.stack-head svg {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 24px;
}

.stack-providers,
.stack-apps {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  text-align: center;
}

.stack-apps {
  margin-top: 20px;
}

.stack-providers h3,
.stack-apps h3 {
  margin-bottom: 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}

.stack-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 44px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.stack-logos:last-child {
  margin-bottom: 0;
}

/* Caixa igual para logos de proporções diferentes */
.stack-logos img {
  display: block;
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 36px;
}

.stack-logos a {
  display: block;
  transition: opacity 0.15s;
}

.stack-logos a:hover {
  opacity: 0.75;
}

.stack-logos--more {
  gap: 20px 36px;
}

.stack-logos--more img {
  max-width: 120px;
  max-height: 26px;
  opacity: 0.85;
}

.stack-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-chips a {
  color: inherit;
  text-decoration: none;
}

.stack-chips a:hover {
  text-decoration: underline;
}

.stack-chips li {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--blue-soft);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

@media (max-width: 760px) {
  .stack {
    padding: 64px 0;
  }

  .stack-providers,
  .stack-apps {
    padding: 24px 16px;
  }

  .stack-logos {
    gap: 20px 28px;
  }

  .stack-logos img {
    max-width: 130px;
    max-height: 30px;
  }
}

/* sections/_compare.css */
.compare-wrap {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.compare-wrap h2 {
  margin-bottom: 12px;
}
.compare-wrap .section-sub {
  margin-inline: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  text-align: left;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.compare-table tr:last-child td {
  border-bottom: none;
}
.compare-table thead th {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 600;
}
.compare-table thead th.kc-col {
  color: var(--blue-deep);
  border-radius: 12px 12px 0 0;
}
.compare-table .kc-col {
  background: var(--blue-soft);
}
.compare-table td.yes {
  color: var(--ink);
  font-weight: 600;
}
.compare-table td.no {
  color: var(--muted);
}
@media (max-width: 760px) {
  .compare {
    overflow-x: auto;
  }
  .compare-table {
    min-width: 640px;
  }
}

/* sections/_pricing.css */
.pricing {
  background: linear-gradient(0deg, var(--blue-light) 0%, var(--bg-soft) 55%, #fff 100%);
}
.pricing-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.pricing-head p {
  color: var(--ink-2);
  margin-top: 16px;
  font-size: 16px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
  gap: 14px;
  max-width: 1240px;
  margin: 44px auto 0;
  padding: 0 24px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border: 1.5px solid var(--blue);
  box-shadow: var(--shadow);
  position: relative;
}
.plan.featured::before {
  content: "Recomendado";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-cta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.plan-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.plan-price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan-price small {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.plan-note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue-deep);
  margin-top: 3px;
}
.plan-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 14px 0 4px;
  line-height: 1.45;
}
.plan ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 12px 0 18px;
  flex: 1;
}
.plan li {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  align-items: flex-start;
}
.plan li svg {
  color: var(--blue);
  flex: none;
  margin-top: 3px;
}
.plan .btn {
  margin-top: auto;
  width: 100%;
  padding: 11px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  border: 1px solid #d3e5f7;
  text-decoration: none;
}
.plan .btn:hover {
  background: var(--blue-light);
}
.plan.featured .btn {
  background: var(--blue-cta);
  color: #fff;
  border-color: var(--blue-cta);
}
.plan.featured .btn:hover {
  background: var(--blue-cta-hover);
}
@media (max-width: 980px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .plan.featured::before {
    left: 24px;
    transform: none;
  }
}
@media (max-width: 560px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 24px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.billing-option {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-radius: var(--r-pill);
  padding: 8px 20px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.billing-option.is-active {
  background: var(--blue-cta);
  color: #fff;
}
.billing-option:focus-visible {
  outline: 2px solid var(--blue-cta);
  outline-offset: 2px;
}
.billing-flag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  vertical-align: 1px;
}
.billing-option.is-active .billing-flag {
  background: #fff;
  color: var(--blue-cta);
}
.pricing-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* sections/_faq.css */
.faq {
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--bg-soft) 55%, #fff 100%);
}
.faq-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 4px;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  flex: none;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item p {
  color: var(--ink-2);
  padding: 0 4px 20px;
  max-width: 68ch;
  line-height: 1.6;
}

/* sections/_footer.css */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
  margin-top: 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top .logo img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-tagline {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.55;
}

footer h3 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
}

footer .footer-top ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.15s;
}

footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 460px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* sections/_page.css */
/* Páginas internas (provedores, aplicações, outros, sobre, contato). */
.page-hero {
  padding: 72px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.page-hero-logo {
  display: block;
  width: auto;
  max-width: 220px;
  height: auto;
  max-height: 56px;
  margin: 0 auto 24px;
}

.page-hero h1 {
  max-width: 18ch;
  margin: 0 auto 16px;
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero .section-sub {
  max-width: 640px;
  margin: 0 auto 28px;
}

.page-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 0;
}

.page-section h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

.page-section p + p {
  margin-top: 12px;
}

.page-section h3 {
  margin: 24px 0 4px;
  font-size: 18px;
}

.page-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}

.page-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  counter-increment: passo;
}

.page-step::before {
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: var(--r-pill);
  background: var(--blue-light);
  color: var(--blue-deep);
  font-weight: 700;
}

.page-step h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.page-step p {
  color: var(--ink-2);
  font-size: 14px;
}

.page-cta {
  margin: 40px auto 80px;
  padding: 40px 24px;
  border-radius: var(--r-lg);
  background: var(--blue-light);
  text-align: center;
}

.page-cta h2 {
  margin-bottom: 20px;
  font-size: clamp(22px, 2.6vw, 28px);
}

/* Contato */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 980px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  font: inherit;
  font-weight: 400;
  color: var(--ink);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--blue-cta);
  outline-offset: 1px;
}

.contact-form [aria-invalid="true"] {
  border-color: #c0392b;
}

.contact-error {
  min-height: 18px;
  color: #c0392b;
  font-size: 13px;
}

.contact-check {
  font-weight: 400;
}

.contact-check input {
  margin-right: 6px;
}

.contact-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn-primary {
  align-self: flex-start;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.contact-status {
  min-height: 22px;
  margin-top: 8px;
  font-weight: 600;
  color: var(--ink);
}

.contact-aviso {
  display: none;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--blue-light);
  color: var(--ink);
  font-weight: 600;
}

.contact-aviso:target {
  display: block;
}

.contact-aviso--erro {
  background: #fdecea;
  color: #c0392b;
}

.contact-aside h2 {
  font-size: 20px;
}

@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .page-steps {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 48px 0 24px;
  }
}

/* sections/_conteudo.css */
/* Blog e central de ajuda (páginas geradas pelo KeepMarketing). */
.conteudo-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

.conteudo-wrap-largo {
  max-width: 1120px;
}

.conteudo-topo {
  padding: 64px 0 32px;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  text-align: center;
}

.conteudo-topo h1,
.conteudo-artigo h1 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.conteudo-sub {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--ink-2);
}

.conteudo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0 64px;
  padding: 0;
  list-style: none;
}

.conteudo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, transform 0.15s;
}

.conteudo-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.conteudo-card-capa {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-soft);
}

.conteudo-card-corpo {
  padding: 20px;
}

.conteudo-card h2 {
  margin: 6px 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

.conteudo-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

/* O card inteiro leva ao post. */
.conteudo-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.conteudo-card-resumo {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 15px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.conteudo-capa {
  display: block;
  width: 100%;
  max-height: 420px;
  aspect-ratio: 16 / 9;
  margin: 8px 0 16px;
  object-fit: cover;
  border-radius: var(--r);
}

.conteudo-data {
  color: var(--muted);
  font-size: 14px;
}

.conteudo-paginas {
  display: flex;
  justify-content: space-between;
  margin-bottom: 64px;
}

.conteudo-artigo {
  max-width: 760px;
  padding-top: 32px;
  padding-bottom: 64px;
}

/* Trilha: faixa que fica presa no topo ao rolar (o menu do site sai da tela junto com o cabeçalho). */
.conteudo-trilha {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.conteudo-trilha ol {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 10px 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
  white-space: nowrap;
}

.conteudo-trilha li {
  overflow: hidden;
  flex-shrink: 1;
  min-width: 0;
  text-overflow: ellipsis;
}

/* "Ajuda" fica inteiro; seção, categoria e título encolhem por igual, com reticências. */
.conteudo-trilha li:first-child {
  flex-shrink: 0;
}

.conteudo-trilha li + li::before {
  content: "›";
  margin-right: 6px;
}

.conteudo-trilha a {
  color: var(--ink-2);
  text-decoration: none;
}

.conteudo-trilha a:hover {
  color: var(--blue-deep);
}

/* Os itens da trilha cortam o que passa da borda: o contorno de foco fica por dentro. */
.conteudo-trilha a:focus-visible {
  outline-offset: -2px;
}

.conteudo-texto {
  margin-top: 24px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
}

.conteudo-texto h2 {
  margin: 36px 0 12px;
  font-size: 26px;
}

.conteudo-texto h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.conteudo-texto p,
.conteudo-texto ul,
.conteudo-texto ol,
.conteudo-texto pre,
.conteudo-texto table {
  margin: 0 0 16px;
}

.conteudo-texto ul,
.conteudo-texto ol {
  padding-left: 1.4em;
}

.conteudo-texto ul {
  list-style: disc;
}

.conteudo-texto ol {
  list-style: decimal;
}

.conteudo-texto li + li {
  margin-top: 6px;
}

.conteudo-texto a {
  color: var(--blue-deep);
}

.conteudo-texto img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}

.conteudo-texto code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--gray-100);
  font-family: var(--mono);
  font-size: 0.9em;
}

.conteudo-texto pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: var(--r-sm);
  background: var(--gray-900);
  color: var(--white);
}

.conteudo-texto pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.conteudo-texto table {
  width: 100%;
  border-collapse: collapse;
}

.conteudo-texto th,
.conteudo-texto td {
  padding: 8px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.conteudo-texto a,
.conteudo-texto code {
  overflow-wrap: break-word;
}

/* Tabela larga rola dentro da caixa (gerada pelo KeepMarketing), sem empurrar a página no celular. */
.conteudo-tabela {
  overflow-x: auto;
  margin: 0 0 16px;
}

.conteudo-tabela table {
  margin: 0;
}

.conteudo-cta {
  margin-top: 48px;
  padding: 32px 24px;
  border-radius: var(--r-lg);
  background: var(--blue-light);
  text-align: center;
}

.conteudo-cta h2 {
  margin-bottom: 16px;
  font-size: 24px;
}

.ajuda-busca {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.ajuda-busca-rotulo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.ajuda-busca input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font: inherit;
}

.ajuda-busca-resultados {
  position: absolute;
  z-index: 10;
  width: 100%;
  margin: 8px 0 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  box-shadow: var(--shadow);
  list-style: none;
  text-align: left;
}

.ajuda-busca-resultados li {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
}

.ajuda-busca-resultados span {
  color: var(--muted);
  font-size: 13px;
}

.ajuda-secoes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 32px 0 64px;
}

.ajuda-secao {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.ajuda-secao:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow);
}

.ajuda-secao h2 {
  margin: 0;
  font-size: 19px;
}

.ajuda-secao h2 a {
  color: var(--ink);
  text-decoration: none;
}

.ajuda-secao > .ajuda-contagem {
  margin: 4px 0 12px;
}

.ajuda-secao ul,
.ajuda-lista {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ajuda-lista li,
.ajuda-secao li {
  padding: 5px 0;
  font-size: 15px;
}

.ajuda-secao li a,
.ajuda-lista a {
  color: var(--ink-2);
  text-decoration: none;
}

.ajuda-secao li a:hover,
.ajuda-lista a:hover {
  color: var(--blue-deep);
}

.ajuda-contagem {
  color: var(--muted);
  font-size: 13px;
}

.ajuda-ver-todos {
  margin-top: auto;
  padding-top: 12px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* Página de categoria */
.conteudo-topo-categoria {
  padding: 40px 0 24px;
}

.ajuda-categoria {
  padding-bottom: 64px;
}

.ajuda-subcategorias {
  margin: 8px 0 32px;
}

a.ajuda-subcategoria {
  color: inherit;
  text-decoration: none;
}

.ajuda-artigos {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.ajuda-artigos a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 44px 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ajuda-artigos a::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--muted);
  font-size: 22px;
  transform: translateY(-50%);
}

.ajuda-artigos a:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.ajuda-artigo-titulo {
  font-weight: 600;
}

.ajuda-artigo-resumo {
  color: var(--ink-2);
  font-size: 14px;
}

.ajuda-relacionados {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .conteudo-texto {
    font-size: 16px;
  }
}

/* utilities/_helpers.css */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 55px 0;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  section {
    padding: 64px 0;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(88, 157, 221, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(88, 157, 221, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(88, 157, 221, 0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* utilities/_animations.css */
/* Entrance animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1,
.hero-sub,
.cta-row,
.hero-trust {
  animation: fade-up 0.7s ease-out backwards;
}

.hero h1 { animation-delay: 0.15s; }
.hero-sub { animation-delay: 0.3s; }
.cta-row { animation-delay: 0.45s; }
.hero-trust { animation-delay: 0.55s; }
