:root {
  --color-primary: #0057b8;
  --color-primary-dark: #003a7a;
  --color-accent: #00a7d8;
  --color-success: #25b36b;
  --color-success-dark: #12854a;
  --color-gold: #f6c453;
  --color-ink: #172033;
  --color-muted: #5f6b7a;
  --color-line: #d9e3ec;
  --color-surface: #ffffff;
  --color-soft: #f3f8fb;
  --color-soft-2: #e7f6fb;
  --shadow: 0 20px 50px rgba(8, 31, 56, 0.16);
  --radius: 8px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

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

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  color: #fff;
  background: var(--color-primary-dark);
  clip: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: #fff;
  border-bottom: 1px solid rgba(217, 227, 236, 0.85);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.porto-logo-img {
  display: block;
  flex: 0 1 auto;
  height: auto;
  object-fit: contain;
}

.porto-logo-img {
  width: clamp(150px, 18vw, 205px);
  max-height: 48px;
}

.brand-divider {
  width: 1px;
  height: 38px;
  background: var(--color-line);
}

.adonai-logo {
  width: 100%;
  max-height: 32px;
}

.adonai-brand {
  display: grid;
  width: clamp(106px, 12vw, 150px);
  justify-items: center;
  gap: 1px;
  line-height: 1;
}

.adonai-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.adonai-caption {
  width: 100%;
  color: #182052;
  font-size: clamp(0.62rem, 0.68vw, 0.72rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--color-primary-dark);
}

.nav-links {
  position: absolute;
  top: 72px;
  right: 16px;
  left: 16px;
  display: none;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: grid;
}

.nav-links a {
  padding: 12px;
  color: var(--color-muted);
  font-weight: 700;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #004487, #006fb8 52%, #00a7d8);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 35, 79, 0.94), rgba(0, 83, 160, 0.74) 54%, rgba(0, 167, 216, 0.36));
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 76px 0 156px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero .eyebrow,
.final-cta .eyebrow {
  color: #9be7ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
p,
a,
button,
label,
summary,
span {
  overflow-wrap: break-word;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 2rem;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 16px;
  font-size: 1.56rem;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  box-shadow: 0 10px 24px rgba(8, 31, 56, 0.16);
}

.btn-primary {
  color: #fff;
  background: var(--color-success);
  box-shadow: 0 12px 28px rgba(37, 179, 107, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #1f9e5e;
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-full {
  width: 100%;
}

.btn-highlight {
  min-height: 64px;
  padding: 20px 32px;
  background: linear-gradient(135deg, #2ac779, var(--color-success-dark));
  border-color: rgba(255, 255, 255, 0.28);
  font-size: 1.1rem;
  box-shadow: 0 18px 40px rgba(18, 133, 74, 0.34);
}

.btn-highlight:hover,
.btn-highlight:focus-visible {
  background: linear-gradient(135deg, #31d884, #0f7541);
  box-shadow: 0 22px 48px rgba(18, 133, 74, 0.42);
}

.btn-compact {
  min-height: 52px;
  padding: 15px 22px;
  font-size: 0.98rem;
}

.legal-note {
  margin: 0;
  color: inherit;
  font-size: 0.9rem;
  opacity: 0.78;
}

.hero-card-preview {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 92px;
  width: min(39vw, 500px);
  min-width: 310px;
  aspect-ratio: 1000 / 620;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  isolation: isolate;
  pointer-events: none;
}

.hero-card-preview::before,
.hero-card-preview::after {
  position: absolute;
  content: "";
}

.hero-card-preview::before {
  z-index: 0;
  top: -38%;
  right: -10%;
  bottom: -4%;
  left: -8%;
  background: url("assets/hero-beneficios-3d-premium.webp") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 22px;
  box-shadow: 0 28px 54px rgba(0, 28, 61, 0.24);
  opacity: 0.96;
  transform: translateY(-10px);
}

.hero-card-preview::after {
  display: none;
}

.visual-frame {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(0, 87, 184, 0.16), rgba(0, 167, 216, 0.2)),
    var(--color-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.hero-card-preview img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: translateY(38px);
  opacity: 1;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.38));
}

.trust-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}

.trust-grid {
  display: grid;
  gap: 1px;
  background: var(--color-line);
}

.trust-grid > div {
  display: grid;
  gap: 4px;
  align-content: center;
  justify-items: center;
  min-height: 96px;
  padding: 22px 18px;
  background: #fff;
  text-align: center;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #f7fbff, #e7f6fb);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.cta-row-compact {
  margin-top: 0;
  margin-bottom: 22px;
}

.cta-row span {
  color: var(--color-primary-dark);
  font-size: 1.04rem;
  font-weight: 900;
}

.cta-center {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 28px;
  text-align: center;
}

.cta-spaced {
  margin-top: 22px;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 4px;
  color: var(--color-primary-dark);
  font-size: 1rem;
}

.trust-grid span,
.section-heading p,
.benefit-card p,
.why-list p,
.step p,
.faq-list p,
.final-cta p,
.site-footer p {
  color: var(--color-muted);
}

.section {
  padding: 72px 0;
}

.section-light {
  background: var(--color-surface);
}

.section-intent {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f8fb 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.benefits-grid {
  display: grid;
  gap: 16px;
}

.benefit-card,
.step,
.apply-card,
.faq-list details,
.why-list article {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
}

.benefit-card {
  padding: 24px;
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: var(--color-primary);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 900;
}

.image-band {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: 40px;
  padding: 26px 0 0;
  border-top: 1px solid var(--color-line);
}

.image-copy {
  max-width: 560px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--color-primary-dark);
}

.visual-frame {
  aspect-ratio: 16 / 10;
  min-height: 260px;
  margin: 0;
  background: #f7fbff;
  box-shadow: 0 20px 48px rgba(8, 31, 56, 0.1);
  color: var(--color-primary-dark);
  font-weight: 800;
}

.visual-frame picture,
.visual-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.visual-frame img {
  object-fit: cover;
}

.visual-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.visual-frame.image-error .visual-fallback {
  display: grid;
}

.intent-layout {
  display: grid;
  gap: 28px;
}

.intent-grid {
  display: grid;
  gap: 16px;
}

.intent-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(8, 31, 56, 0.07);
}

.intent-card h3 {
  color: var(--color-primary-dark);
}

.intent-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.intent-layout .cta-row {
  margin-top: 0;
}

.section-blue {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 58, 122, 0.96), rgba(0, 87, 184, 0.92)),
    var(--color-primary-dark);
}

.section-blue .section-heading p,
.section-blue .why-list p {
  color: rgba(255, 255, 255, 0.78);
}

.why-layout {
  display: grid;
  gap: 28px;
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-list article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

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

.step {
  padding: 24px;
}

.step span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  place-items: center;
  color: #fff;
  background: var(--color-primary);
  border-radius: 50%;
  font-weight: 900;
}

.section-apply {
  background:
    linear-gradient(135deg, rgba(0, 58, 122, 0.96), rgba(0, 116, 184, 0.92)),
    var(--color-primary-dark);
  color: #fff;
}

.apply-layout {
  display: grid;
  gap: 30px;
  align-items: center;
}

.apply-copy {
  max-width: 600px;
}

.section-apply .eyebrow {
  color: #9be7ff;
}

.section-apply p {
  color: rgba(255, 255, 255, 0.82);
}

.apply-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(231, 246, 251, 0.98));
  box-shadow: var(--shadow);
}

.apply-card strong {
  color: var(--color-primary-dark);
  font-size: 1.35rem;
  line-height: 1.15;
}

.apply-card span {
  color: var(--color-muted);
}

.apply-card .legal-note {
  color: var(--color-muted);
  opacity: 1;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--color-primary-dark);
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.final-cta {
  padding: 76px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 58, 122, 0.96), rgba(0, 167, 216, 0.82)),
    var(--color-primary);
}

.final-cta-content {
  max-width: 740px;
  text-align: center;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.final-cta .btn {
  margin: 10px 0 16px;
}

.floating-cta {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
}

.floating-cta .btn {
  border-radius: 999px;
}

.site-footer {
  padding: 34px 0;
  background: #071b33;
  color: #fff;
}

.footer-content {
  display: grid;
  gap: 18px;
}

.site-footer p {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  display: inline-flex;
  margin: 0 16px 8px 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

@media (min-width: 720px) {
  h1 {
    font-size: 4.2rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-subtitle {
    font-size: 1.18rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-links a {
    padding: 8px 10px;
  }

  .hero-content {
    padding-bottom: 110px;
  }

  .trust-grid,
  .benefits-grid,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .intent-card-wide {
    grid-column: span 2;
  }

  .image-band,
  .why-layout,
  .apply-layout,
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    align-items: start;
  }
}

@media (min-width: 980px) {
  h1 {
    font-size: 5.2rem;
  }

  h2 {
    font-size: 3.05rem;
  }

  .hero-subtitle {
    font-size: 1.28rem;
    max-width: 560px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-content {
    padding-right: 470px;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .intent-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 92px 0;
  }

  .apply-card {
    padding: 30px;
  }
}

@media (max-width: 719px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand {
    gap: 8px;
    max-width: calc(100% - 56px);
  }

  .brand-divider {
    height: 30px;
  }

  .porto-logo-img {
    width: clamp(116px, 40vw, 156px);
    max-height: 38px;
  }

  .adonai-brand {
    width: clamp(82px, 28vw, 104px);
  }

  .adonai-caption {
    font-size: 0.54rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 26px;
  }

  .hero-content {
    padding: 56px 0 26px;
  }

  .hero-card-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(calc(100% - 28px), 360px);
    min-width: 0;
    margin: 58px auto 0;
    aspect-ratio: 1000 / 620;
  }

  .hero-card-preview img {
    width: 100%;
    opacity: 1;
    transform: translateY(6px);
  }

  .hero-card-preview::before {
    top: -20%;
    right: -7%;
    bottom: -4%;
    left: -7%;
    border-radius: 18px;
    opacity: 0.94;
    transform: translateY(-4px);
  }

  .hero-card-preview::after {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading {
    margin-bottom: 26px;
    text-align: left;
  }

  .benefit-card,
  .step,
  .apply-card,
  .faq-list details,
  .why-list article {
    padding: 20px;
  }

  .trust-grid {
    background: #fff;
  }

  .trust-grid > div {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-line);
  }

  .cta-row {
    display: grid;
    gap: 14px;
    padding: 18px;
  }

  .cta-row .btn {
    width: 100%;
  }

  .visual-frame {
    min-height: 220px;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .container {
    max-width: 362px;
    margin-left: 14px;
    margin-right: auto;
  }

  .hero-card-preview {
    width: min(calc(100% - 34px), 340px);
    margin-top: 58px;
    margin-left: auto;
    margin-right: auto;
  }

  .floating-cta {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .floating-cta .btn {
    min-height: 48px;
    padding: 14px 18px;
    width: 100%;
    font-size: 0.94rem;
  }

  body {
    padding-bottom: 72px;
  }
}

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