/* Auto Periciado — Landing Page */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #3088c7;
  --primary-dark: #174696;
  --green: #91c934;
  --green-dark: #64ae33;
  --surface: #f7f9fc;
  --text: #202124;
  --muted: #5f6368;
  --border: #e8ecf1;
  --white: #ffffff;
  --shadow-soft: 0 1px 2px rgba(32, 33, 36, 0.04), 0 8px 24px rgba(32, 33, 36, 0.06);
  --shadow-card: 0 4px 6px rgba(32, 33, 36, 0.04), 0 16px 40px rgba(32, 33, 36, 0.08);
  --radius-lg: 1.25rem;
  --container: 80rem;
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary) 50%, transparent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin: 0 0 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 1rem 0 0;
  line-height: 1.7;
}

.section-header { max-width: 48rem; }
.section-header--center { margin-inline: auto; text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn--primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-card); }
.btn--secondary { background: var(--white); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-soft); }
.btn--secondary:hover { border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); background: var(--surface); }
.btn--lg { height: 3.5rem; padding-inline: 2rem; font-size: 1rem; }
.btn--white { background: var(--white); color: var(--primary-dark); }
.btn--white:hover { background: #f0f4f8; }
.btn--ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn--ghost-white:hover { background: rgba(255,255,255,0.1); }

.badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  background: #ffffff;
}

.header--scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,236,241,0.8);
  box-shadow: var(--shadow-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-block: 1rem;
}

.logo { display: flex; align-items: center; }
.logo__img { height: 2.75rem; width: auto; max-width: 200px; object-fit: contain; }
.logo__img--footer { height: 2.5rem; max-width: 180px; }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-desktop a { font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-desktop a:hover { color: var(--primary); }
.header__actions { display: none; align-items: center; gap: 0.75rem; }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  padding: 0; background: none; border: none; cursor: pointer; color: var(--text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { font-size: 0.875rem; font-weight: 500; }
.mobile-nav .btn { width: 100%; }

@media (min-width: 1024px) {
  .nav-desktop, .header__actions { display: flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__media {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:#000a1b;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(22rem, 50vw, 36rem);
  padding-top: 2rem;
  padding-bottom: 3rem;
  isolation: isolate;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:  url("../images/hero-bg.jpg") no-repeat right center / auto 100%;
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  text-align: center;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .hero__copy {
    text-align: left;
    margin-inline: 0;
  }

  .hero__actions { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .hero__content {
    min-height: auto;
  }

  .hero__content::before {
    display: none;
  }

  .hero__bg {
    background:
      radial-gradient(ellipse 90% 70% at 50% -10%, rgba(48, 136, 199, 0.28) 0%, transparent 55%),
      linear-gradient(165deg, #174696 0%, #000a1b 48%, #000810 100%);
  }
}

.hero__title {
  max-width: 450px;
  font-size: clamp(2rem, 4.8vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  color: var(--white);
}

@media (max-width: 767px) {
  .hero__title {
    line-height: 1.25;
  }
}

.hero__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 450px;
}

.hero__actions .btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.hero__actions .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}
.hero__actions { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; flex-wrap: wrap; } }

.credibility { padding-block: 2rem; background: var(--surface); border-block: 1px solid var(--border); }
.credibility__stats { display: grid; gap: 2rem; text-align: center; }
@media (min-width: 768px) { .credibility__stats { grid-template-columns: repeat(3, 1fr); } }
.credibility__value { font-size: 1.5rem; font-weight: 700; color: var(--primary-dark); margin: 0; }
.credibility__label { font-size: 0.875rem; color: var(--muted); margin: 0.25rem 0 0; }
.credibility__audience { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); text-align: center; }
.credibility__audience > p { font-size: 0.875rem; font-weight: 500; color: var(--muted); margin: 0 0 1rem; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.tag { padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; background: var(--white); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-soft); }
.credibility__note { font-size: 0.75rem; color: var(--muted); margin: 1rem 0 0; }

.section { padding-block: 5rem; }
.section--surface { background: var(--surface); }

.benefits-grid { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); } }

.benefit-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.benefit-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--primary) 20%, var(--border)); box-shadow: var(--shadow-card); }
.benefit-card__icon { width: 3rem; height: 3rem; display: grid; place-items: center; margin-bottom: 1rem; background: color-mix(in srgb, var(--primary) 10%, white); color: var(--primary); border-radius: 0.75rem; transition: background 0.2s, color 0.2s; }
.benefit-card:hover .benefit-card__icon { background: var(--primary); color: var(--white); }
.benefit-card__icon svg { width: 1.5rem; height: 1.5rem; }
.benefit-card__title { font-size: 1.125rem; font-weight: 600; margin: 0 0 0.5rem; }
.benefit-card__desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin: 0; }

.platform-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 640px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
}

.app-section__layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3.5rem;
}

.app-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

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

.app-section__visual {
  margin: 0 auto;
  overflow: hidden;
  max-width: 1212px;
  width: 100%;
  border-radius: 1rem;
  box-shadow:
    0 8px 20px rgba(32, 33, 36, 0.08),
    0 24px 56px rgba(32, 33, 36, 0.14),
    0 0 0 1px var(--border);
}

.app-section__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.app-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.375rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.app-feature:hover {
  border-color: color-mix(in srgb, var(--primary) 25%, var(--border));
  box-shadow: var(--shadow-card);
}

.app-feature__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--primary) 10%, white);
  color: var(--primary);
  border-radius: 0.5rem;
}

.app-feature__icon svg {
  width: 1rem;
  height: 1rem;
  max-width: 1rem;
  max-height: 1rem;
}

.app-feature__body {
  min-width: 0;
  flex: 1;
  padding-top: 0.15rem;
}

.app-feature__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.app-feature__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.laudos-section__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.pdf-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.pdf-features li { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 500; }
.pdf-features svg { width: 1rem; height: 1rem; color: var(--green-dark); flex-shrink: 0; }

.laudos-section__visual {
  flex-shrink: 0;
  margin: 0;
  overflow: hidden;
  max-width: 1212px;
  width: 100%;
  border-radius: 1rem;
  box-shadow:
    0 8px 20px rgba(32, 33, 36, 0.08),
    0 24px 56px rgba(32, 33, 36, 0.14),
    0 0 0 1px var(--border);
}

.laudos-section__visual img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 767px) {
  .app-section__visual,
  .laudos-section__visual {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    border-radius: 0;
    box-shadow: none;
  }
}

.timeline { display: flex; justify-content: center; gap: 1rem; margin-top: 3.5rem; overflow-x: auto; padding-bottom: 1rem; list-style: none; padding-left: 0; }
.timeline__item { flex: 0 0 10rem; text-align: center; }
.timeline__num { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; margin-inline: auto; font-size: 0.875rem; font-weight: 700; color: var(--primary-dark); background: color-mix(in srgb, var(--primary) 5%, white); border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border)); border-radius: var(--radius-lg); }
.timeline__title { font-size: 0.875rem; font-weight: 600; margin: 1rem 0 0.5rem; }
.timeline__desc { font-size: 0.75rem; color: var(--muted); line-height: 1.5; margin: 0; }

.table-wrap { margin-top: 3.5rem; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); }
.comparison-table { width: 100%; min-width: 45rem; border-collapse: collapse; text-align: left; }
.comparison-table th, .comparison-table td { padding: 1rem 1.5rem; font-size: 0.875rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.comparison-table thead th { background: var(--surface); font-weight: 600; }
.comparison-table thead th:nth-child(2) { color: var(--primary-dark); }
.comparison-table thead th:nth-child(3) { color: var(--muted); }
.comparison-table tbody tr:last-child td, .comparison-table tbody tr:last-child th { border-bottom: none; }
.comparison-table tbody th { font-weight: 600; }
.cell-yes, .cell-no { display: flex; align-items: flex-start; gap: 0.5rem; }
.cell-yes svg { color: var(--green-dark); flex-shrink: 0; margin-top: 0.125rem; }
.cell-no svg { color: #f87171; flex-shrink: 0; margin-top: 0.125rem; }
.cell-no { color: var(--muted); }

.faq { max-width: 48rem; margin: 3.5rem auto 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; font-family: inherit; font-size: 1rem; font-weight: 600; text-align: left; background: none; border: none; cursor: pointer; color: var(--text); transition: color 0.2s; }
.faq-trigger:hover { color: var(--primary); }
.faq-trigger svg { width: 1.25rem; height: 1.25rem; color: var(--muted); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.is-open .faq-trigger svg { transform: rotate(180deg); }
.faq-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.25s ease; }
.faq-item.is-open .faq-content { grid-template-rows: 1fr; }
.faq-content > div { overflow: hidden; }
.faq-content p { padding: 0 1.5rem 1.25rem; margin: 0; font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

.cta-box { padding: 7rem 2rem; text-align: center; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: var(--white); box-shadow: var(--shadow-card); }
.cta-box h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.cta-box p { max-width: 42rem; margin: 1rem auto 0; color: rgba(255,255,255,0.85); line-height: 1.7; }
.cta-box__actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .cta-box__actions { flex-direction: row; justify-content: center; } }

.footer { padding-block: 4rem; border-top: 1px solid var(--border); background: var(--white); }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; margin: 1rem 0 0; }
.footer h3 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li + li { margin-top: 0.75rem; }
.footer a { font-size: 0.875rem; color: var(--muted); transition: color 0.2s; }
.footer a:hover { color: var(--primary); }

.footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.4;
}

.footer__whatsapp:hover .footer__whatsapp-phone {
  color: var(--primary);
}

.footer__whatsapp-icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  color: #25d366;
}

.footer__whatsapp:hover .footer__whatsapp-icon {
  color: #1ebe57;
}
.footer__social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.footer__social a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--border); border-radius: 0.5rem; }
.footer__bottom { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); font-size: 0.875rem; color: var(--muted); }
@media (min-width: 640px) { .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1rem; }

.whatsapp { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 150; }
.whatsapp__tooltip { position: absolute; right: 0; bottom: calc(100% + 0.5rem); padding: 0.5rem 0.75rem; font-size: 0.75rem; font-weight: 500; white-space: nowrap; color: var(--white); background: var(--text); border-radius: 0.5rem; box-shadow: var(--shadow-card); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.whatsapp:hover .whatsapp__tooltip, .whatsapp:focus-within .whatsapp__tooltip { opacity: 1; }
.whatsapp__btn { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; background: #25d366; color: var(--white); border-radius: 50%; box-shadow: var(--shadow-card); transition: transform 0.2s; }
.whatsapp__btn:hover { transform: scale(1.05); }
.whatsapp__btn svg { width: 1.75rem; height: 1.75rem; }

.reveal { opacity: 0; transform: translateY(1rem); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.legal-page { padding-top: 2rem; padding-bottom: 4rem; }
.legal-page h1 { font-size: 1.875rem; font-weight: 700; margin: 0 0 1rem; }
.legal-page p { color: var(--muted); line-height: 1.7; max-width: 48rem; }
.legal-page a { color: var(--primary); }
