/* ==========================================================================
   ControlAI — Landing page de vendas
   Tema: "cofre editorial" — tinta azul-marinho profunda + papel quente,
   acento âmbar para conversão, serifada Fraunces para voz de marca.
   ========================================================================== */

:root {
  --ink: #0b1220;
  --ink-2: #121b2e;
  --ink-3: #1b2740;
  --ink-line: rgba(255, 255, 255, 0.12);
  --ink-text: #eef1f7;
  --ink-text-muted: #a6b0c3;

  --paper: #f7f3ea;
  --paper-2: #efe7d6;
  --paper-line: rgba(11, 18, 32, 0.12);
  --paper-text: #16192a;
  --paper-text-muted: #5c5847;

  --blue-1: #8fc0ff;
  --blue-2: #3b82f6;
  --accent: #ff7a45;
  --accent-2: #ffb15e;
  --accent-contrast: #1a0e07;

  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.6rem;

  --shadow-lift: 0 20px 60px -20px rgba(8, 12, 24, 0.55);

  --font-display: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--paper-text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--large {
  padding: 0.95rem 1.75rem;
  font-size: 1.05rem;
}

.btn--small {
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--accent-contrast);
  box-shadow: 0 12px 30px -10px rgba(255, 122, 69, 0.6);
}

.btn--primary:hover {
  box-shadow: 0 16px 36px -10px rgba(255, 122, 69, 0.75);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink-line);
  color: var(--ink-text);
}

.btn--ghost:hover {
  border-color: var(--blue-1);
  background: rgba(143, 192, 255, 0.08);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.brand__mark {
  border-radius: 8px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-text-muted);
}

.site-nav a {
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--ink-text);
}

@media (min-width: 800px) {
  .site-nav {
    display: flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(120% 100% at 15% 0%, var(--ink-3), var(--ink) 60%);
  color: var(--ink-text);
  overflow: hidden;
  padding-block: 4.5rem 5.5rem;
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--blue-1);
  margin: 0 0 1rem;
}

.eyebrow--light {
  color: var(--accent-2);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--blue-1);
}

.hero__underline {
  position: relative;
  white-space: nowrap;
}

.hero__underline::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.06em;
  height: 0.32em;
  background: var(--accent);
  opacity: 0.35;
  z-index: -1;
  border-radius: 2px;
}

.hero__lede {
  font-size: 1.15rem;
  color: var(--ink-text-muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.hero__fineprint {
  font-size: 0.85rem;
  color: var(--ink-text-muted);
  margin: 0;
}

.hero__fineprint a {
  color: var(--blue-1);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero__visual {
  position: relative;
  min-height: 16rem;
  justify-self: center;
  width: 100%;
  max-width: 22rem;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 88%;
}

.hero-card--back {
  top: 0;
  right: 0;
  opacity: 0.75;
  transform: rotate(4deg);
}

.hero-card--front {
  bottom: 0;
  left: 0;
  transform: rotate(-3deg);
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
}

.hero-card__label {
  font-size: 0.8rem;
  color: var(--ink-text-muted);
  font-weight: 600;
}

.hero-card__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.hero-card__value--small {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink-text);
}

.hero-card__bar {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hero-card__bar-fill {
  height: 100%;
  width: 68%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-2), var(--blue-1));
}

/* ---------- Logos / callout strip ---------- */

.logos-strip {
  background: var(--paper-2);
  border-bottom: 1px solid var(--paper-line);
}

.logos-strip__inner {
  padding-block: 1.1rem;
  text-align: center;
}

.logos-strip p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--paper-text-muted);
}

/* ---------- Features ---------- */

.features {
  padding-block: 5rem;
}

.features h2,
.pricing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 600;
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

.section-lede {
  color: var(--paper-text-muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin: 0 0 2.75rem;
}

.section-lede--light {
  color: var(--ink-text-muted);
}

.features__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}

.feature-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(11, 18, 32, 0.35);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(143, 192, 255, 0.2));
  color: var(--blue-2);
  margin-bottom: 1rem;
}

.feature-card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--paper-text-muted);
  font-size: 0.95rem;
}

.feature-card--cta {
  background: var(--ink);
  color: var(--ink-text);
  border-color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card--cta h3 {
  color: var(--ink-text);
}

.feature-card--cta p {
  color: var(--ink-text-muted);
  margin-bottom: 1rem;
}

.link-arrow {
  font-weight: 700;
  color: var(--accent-2);
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* ---------- Pricing ---------- */

.pricing {
  position: relative;
  background: var(--ink);
  color: var(--ink-text);
  padding-block: 5.5rem;
  overflow: hidden;
}

.hero__glow--pricing {
  inset: auto -10% -30% auto;
  background: radial-gradient(circle, rgba(255, 122, 69, 0.25), transparent 70%);
}

.pricing__inner {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .pricing__inner {
    grid-template-columns: 1fr 0.85fr;
  }
}

.pricing__list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.pricing__list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-text-muted);
}

.pricing__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--accent);
}

.price-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lift);
  text-align: center;
}

.price-card__plan {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-1);
  margin-bottom: 0.75rem;
}

.price-card__value {
  font-family: var(--font-display);
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.price-card__currency {
  font-size: 1.4rem;
  font-weight: 600;
}

.price-card__amount {
  font-size: 3.6rem;
  font-weight: 600;
}

.price-card__period {
  font-size: 1.1rem;
  color: var(--ink-text-muted);
  font-family: var(--font-body);
}

.price-card__equiv {
  color: var(--ink-text-muted);
  font-size: 0.9rem;
  margin: 0.25rem 0 1.75rem;
}

.price-card__cta {
  width: 100%;
}

.price-card__bump {
  font-size: 0.85rem;
  color: var(--ink-text-muted);
  margin: 1.1rem 0 0.4rem;
}

.price-card__guarantee {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0.6rem 0 0;
}

/* ---------- Trust ---------- */

.trust {
  padding-block: 4.5rem;
  background: var(--paper-2);
}

.trust__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.trust-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.trust-item p {
  margin: 0;
  color: var(--paper-text-muted);
  font-size: 0.95rem;
}

.trust-item a {
  color: #1849b8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--ink-text-muted);
  padding-block: 2.5rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.brand--footer {
  color: var(--ink-text);
  font-size: 1rem;
}

.site-footer__copy,
.site-footer__legal {
  margin: 0;
  font-size: 0.85rem;
}
