:root {
  --bg: #f8f4ed;
  --bg-soft: #fffdf9;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --text: #201515;
  --muted: #5f5b63;
  --line: rgba(32, 21, 21, 0.1);
  --line-strong: rgba(32, 21, 21, 0.16);
  --blue: #4c98ff;
  --blue-deep: #1f5ec9;
  --blue-soft: rgba(76, 152, 255, 0.1);
  --shadow: 0 20px 60px rgba(37, 29, 33, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #f8f4ed;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(76, 152, 255, 0.12), transparent 28%),
    radial-gradient(circle at top left, rgba(76, 152, 255, 0.1), transparent 22%),
    linear-gradient(180deg, #f8f4ed 0%, #fbf8f2 45%, #fffdf9 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 36px;
}

.section-heading h2,
.process-copy h2,
.agents-copy h2,
.impact-copy h2,
.testimonial-side h2,
.cta-shell h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3.45rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.section-heading p,
.process-copy p,
.agents-copy p,
.impact-copy p,
.testimonial-side p {
  margin: 0;
  font-size: 1.06rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0 18px;
  background: rgba(248, 244, 237, 0.72);
  backdrop-filter: blur(18px);
  border-top: 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(37, 29, 33, 0.05);
}

.brand img {
  width: 168px;
}

.main-nav {
  display: flex;
  gap: 28px;
  color: #5a6172;
  font-size: 1rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #3275eb 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(76, 152, 255, 0.25);
}

.button-secondary,
.button-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(76, 152, 255, 0.18);
}

.hero {
  padding: 34px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 460px);
  gap: 42px;
  align-items: start;
}

.hero-copy {
  padding-top: 40px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2.9rem, 4.4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.hero-lead {
  max-width: 62ch;
  margin: 20px 0 0;
  font-size: 1.18rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-points {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.hero-points div {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.hero-points strong,
.problem-card h3,
.service-card h3,
.agent-point strong,
.impact-card strong,
.step-card h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.1;
}

.hero-points span,
.problem-card p,
.service-card p,
.agent-point span,
.impact-card span,
.step-card p,
.card-lead {
  color: var(--muted);
}

.hero-form-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.hero-form-card h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.2vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.hero-form-card .card-lead {
  margin: 14px 0 0;
  font-size: 1rem;
}

.hubspot-shell {
  margin-top: 24px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(76, 152, 255, 0.08), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(76, 152, 255, 0.12);
  min-height: 420px;
}

#hubspot-form {
  width: 100%;
  min-height: 560px;
}

#hubspot-form iframe {
  width: 100% !important;
  min-height: 560px !important;
  border: 0 !important;
  background: transparent;
}

.hubspot-fallback {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.hubspot-fallback a {
  color: var(--blue-deep);
  text-decoration: underline;
}

.logo-strip {
  padding: 12px 0 0;
}

.logo-strip-shell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.logo-chip {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 24px rgba(37, 29, 33, 0.05);
  object-fit: contain;
}

.logo-horizontal {
  width: 220px;
  height: auto;
  padding: 20px 26px;
  border-radius: 999px;
}

.problem-grid,
.services-grid,
.impact-grid {
  display: grid;
  gap: 18px;
}

.problem-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.examples .impact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card,
.service-card,
.agent-point,
.impact-card,
.step-card,
.testimonial-card,
.testimonial-side,
.faq-item {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.agents-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.agents-list {
  display: grid;
  gap: 16px;
}

.impact-shell {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(76, 152, 255, 0.08), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.impact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.process-steps {
  display: grid;
  gap: 16px;
}

.step-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 1.2rem;
  font-weight: 700;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.testimonial-author {
  margin: 26px 0 4px;
  font-weight: 700;
}

.testimonial-role {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue-deep);
  font-size: 1.5rem;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s ease;
}

.faq-answer p {
  margin: 16px 0 0;
  color: var(--muted);
}

.cta-band {
  padding-top: 28px;
}

.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1b2a45 0%, #2c63b6 42%, #4c98ff 100%);
  color: #fff;
  box-shadow: 0 28px 70px rgba(27, 42, 69, 0.28);
}

.cta-shell .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.cta-shell h2 {
  max-width: 16ch;
  margin-bottom: 0;
}

.cta-shell .button-primary {
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

.site-footer {
  margin-top: 56px;
  padding: 42px 0 58px;
  background: #18253a;
  color: rgba(255, 255, 255, 0.78);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.footer-logo {
  width: 188px;
}

.footer-shell p {
  max-width: 46ch;
  margin: 18px 0 0;
}

.footer-note {
  margin-top: 12px;
  font-size: 0.82rem;
  opacity: 0.76;
}

.footer-links {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero-grid,
  .agents-grid,
  .process-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .examples .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main-nav,
  .nav-cta {
    display: none;
  }

  .site-header {
    position: static;
  }

  .problem-grid,
  .services-grid,
  .impact-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    display: grid;
    align-items: start;
  }

  .footer-links {
    justify-items: start;
  }

  .cta-shell {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .nav-shell {
    border-radius: 26px;
  }

  .brand img {
    width: 156px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-copy {
    padding-top: 6px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.45rem, 11vw, 3.2rem);
    line-height: 0.97;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-form-card,
  .impact-shell,
  .testimonial-card,
  .testimonial-side,
  .cta-shell,
  .problem-card,
  .service-card,
  .agent-point,
  .impact-card,
  .step-card,
  .faq-item {
    padding: 22px;
  }

  .logo-strip-shell {
    gap: 12px;
  }

  .logo-chip {
    width: 52px;
    height: 52px;
    padding: 10px;
  }

  .logo-horizontal {
    width: 180px;
    padding: 16px 18px;
  }

  .step-card {
    grid-template-columns: 1fr;
  }

  .step-card span {
    width: 56px;
    height: 56px;
  }

  #hubspot-form {
    min-height: 620px;
  }

  #hubspot-form iframe {
    min-height: 620px !important;
  }
}

/* --- Ajuste de Títulos Testimonios --- */
.testimonial-side h2 {
    color: #1a1a1a !important;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 1.5rem;
}
