*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  background: #fff;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--font-size);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 99;
  background: #fff;
  padding: 8px 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  color: transparent;
  font-size: 1px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 0;
}

/* Header */
.site-header {
  background-image: linear-gradient(180deg, var(--header-from) 0%, var(--header-to) 100%);
  padding: 15px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.header-logos {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-cupom img {
  width: 172px;
  height: 49px;
  object-fit: contain;
}

.logo-certisign {
  margin-left: 20px;
}

.logo-certisign img {
  width: 147px;
  height: 56px;
  object-fit: contain;
}

.header-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-desktop {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.nav-desktop a {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 15px;
}

.nav-desktop a:hover,
.nav-desktop a:focus,
.nav-desktop a:active {
  color: #fd8203;
  border-color: #fd8203;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 8px;
  cursor: pointer;
  margin: 0 auto;
}

.mobile-panel {
  background: var(--navy);
  padding: 8px 24px 20px;
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.mobile-panel a {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 8px;
  border: 1px solid transparent;
  border-radius: 15px;
}

.mobile-panel a:hover,
.mobile-panel a:focus {
  color: #fd8203;
  border-color: #fd8203;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  background: var(--btn);
  border-radius: 25px;
  padding: 7px 10px;
  line-height: 1.4;
  border: 1px solid var(--btn);
  transition: background 0.3s, color 0.3s;
}

.btn:hover,
.btn:focus {
  background: #4a32e0;
}

.btn-pair {
  display: inline-flex;
  align-items: stretch;
}

.btn-pair-left {
  border-radius: 25px 0 0 25px;
  background: var(--btn);
  border: 1px solid var(--btn);
  color: #fff;
  padding: 7px 10px;
  font-size: 15px;
  font-weight: 400;
}

.btn-pair-right {
  border-radius: 0 25px 25px 0;
  background: transparent;
  border: 1px solid var(--btn);
  color: #fff;
  padding: 7px 10px;
  font-size: 15px;
  font-weight: 400;
}

.btn-pair-left:hover {
  background: #4a32e0;
}

.btn-pair-right:hover {
  background: rgba(89, 62, 255, 0.2);
}

.hero-actions,
.cta-center {
  display: flex;
  justify-content: flex-start;
}

.cta-center {
  justify-content: center;
}

/* Hero */
.hero {
  background: var(--navy);
  padding: 5% 0;
}

.hero-grid {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-media,
.hero-copy {
  width: 50%;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: 550px;
  max-width: 100%;
  height: auto;
}

.hero-kicker {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 20px;
}

.hero-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 20px;
  padding-right: 20%;
}

.hero-lead {
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 28px;
  padding-right: 20%;
  line-height: 1.55;
}

/* Section titles */
.section-head {
  text-align: center;
  padding: 8% 16px 0;
}

.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.section-head h2.is-accent {
  color: var(--accent);
}

.section-head h2.is-dark {
  color: var(--ink-2);
}

.section-head .sub {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 20px;
}

.section-head.dark {
  background: var(--navy-deep);
}

.section-head.navy {
  background: var(--navy);
}

.section-head.navy .sub,
.section-head.dark .sub {
  color: #fff;
}

.section-head.navy h2.is-accent,
.section-head.dark h2.is-accent {
  color: var(--accent);
}

.bg-white {
  background: #fff;
}

.bg-navy {
  background: var(--navy);
}

.bg-navy-deep {
  background: var(--navy-deep);
}

.band-deep {
  background: var(--navy-deep);
}

.band-navy {
  background: var(--navy);
}

.band-deep .section-head,
.band-deep .pricing,
.band-navy .section-head,
.band-navy .split {
  background: transparent;
}

/* Video steps */
.video-wrap {
  background: #fff;
  padding: 0 1% 8%;
}

.video-grid {
  display: flex;
  align-items: center;
  gap: 70px;
  max-width: var(--container);
  margin: 0 auto;
}

.video-media {
  width: 44.785%;
  flex: 0 0 44.785%;
}

.video-steps {
  width: 50%;
  flex: 0 0 50%;
  padding-right: 10%;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.step img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.step p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
}

/* Product cards (PNG mockups) */
.pricing {
  background: var(--navy-deep);
  padding: 0 0 5%;
}

.pricing-inner {
  max-width: 874px;
  margin: 0 auto;
  display: flex;
}

.pricing-inner a {
  width: 50%;
  display: block;
}

.pricing-inner img {
  width: 100%;
  height: auto;
}

/* Split cards */
.split {
  padding: 0 11% 5%;
}

.split-inner {
  display: flex;
  max-width: 1140px;
  margin: 0 auto;
  align-items: stretch;
}

.split-copy {
  width: 59.982%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5% 3%;
  background: rgba(217, 217, 217, 0.13);
}

.split-copy h3,
.split-copy .split-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  padding: 0 5%;
}

.split-copy .split-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  padding: 0 5%;
  line-height: 1.55;
  margin-bottom: 16px;
}

.split-copy .split-text p {
  margin: 0 0 10px;
}

.split-copy .btn {
  align-self: flex-start;
  margin: 0 5% 2%;
}

.split-photo {
  width: 40.018%;
  overflow: hidden;
}

.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presencial-split .split-inner {
  flex-direction: row-reverse;
}

.presencial-split .split-copy {
  border-radius: 0 20px 20px 0;
  background: rgba(217, 217, 217, 0.13);
}

.presencial-split .split-photo {
  border-radius: 30px 0 0 30px;
  background: rgba(217, 217, 217, 0.13);
}

.contadores-split {
  background: var(--navy);
}

.contadores-split .split-inner {
  flex-direction: row;
}

.contadores-split .split-copy {
  border-radius: 25px 0 0 0;
  background: #fff;
}

.contadores-split .split-photo {
  border-radius: 0 30px 30px 0;
  background: #fff;
  width: 50%;
  overflow: hidden;
}

.contadores-split .split-copy {
  width: 50%;
}

/* Benefits */
.benefits {
  background: #fff;
  padding-bottom: 10%;
}

.benefits-head {
  padding-top: 8%;
  padding-bottom: 5%;
}

.benefits-row {
  display: flex;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto 20px;
  padding: 0 10px;
}

.benefits-row.narrow {
  max-width: 720px;
  padding-top: 2%;
}

.benefit-card {
  flex: 1;
  border-radius: 25px;
  box-shadow: 1px 2px 53px -37px #000;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
}

.benefit-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 48px;
}

.benefit-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.benefit-card p {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}

/* Vantagens */
.vantagens {
  background: var(--navy);
}

.vantagens-head {
  padding-bottom: 5%;
}

.vantagens-card {
  padding: 0 11% 5%;
}

.vantagens-panel {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 25px 30px 30px 30px;
  overflow: hidden;
  max-width: 1140px;
  margin: 0 auto;
}

.vantagens-list-wrap {
  width: 50%;
  background: #fff;
  padding: 3% 5%;
  display: flex;
  align-items: center;
}

.vantagens-photo {
  width: 50%;
  overflow: hidden;
  background: #fff;
}

.vantagens-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.4;
}

.check-list svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: var(--btn);
  margin-top: 4px;
}

.vantagens-cta {
  background: var(--navy);
  padding: 0 11% 8%;
  display: flex;
  justify-content: center;
}

/* Sobre */
.sobre {
  padding: 8% 1%;
  background: #fff;
}

.sobre-grid {
  display: flex;
  align-items: center;
  gap: 70px;
  max-width: var(--container);
  margin: 0 auto;
}

.sobre-media,
.sobre-copy {
  width: 50%;
}

.sobre-media img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.sobre-copy h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}

.sobre-copy p,
.sobre-copy div {
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  color: var(--navy);
  padding-right: 50px;
}

.sobre-copy strong {
  font-weight: 700;
}

.sobre-copy .btn {
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background-image: linear-gradient(180deg, var(--navy) 0%, var(--footer-to) 100%);
  padding: 15px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-copy {
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  padding-left: 70px;
}

/* 404 */
.page-404 {
  padding: 80px 20px;
  text-align: center;
}

.page-404 h1 {
  color: var(--navy);
  font-size: 30px;
  font-weight: 800;
}

.page-404 a {
  color: var(--btn);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero-title,
  .hero-lead {
    padding-right: 8%;
  }

  .split {
    padding-left: 5%;
    padding-right: 5%;
  }

  .vantagens-card {
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media (max-width: 767px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .header-logos {
    flex-direction: column;
    width: 100%;
  }

  .logo-cupom img,
  .logo-certisign img {
    width: auto;
    max-width: 60%;
    height: auto;
    margin: 0 auto 8px;
  }

  .logo-certisign {
    margin-left: 0;
  }

  .header-nav {
    width: 100%;
    justify-content: center;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid {
    flex-direction: column;
    text-align: center;
  }

  .hero-media,
  .hero-copy {
    width: 100%;
  }

  .hero {
    padding: 8% 16px 10%;
  }

  .hero-copy {
    padding: 0 12px 12px;
  }

  .hero-title,
  .hero-lead,
  .hero-kicker {
    padding: 5px 4px;
    text-align: center;
    overflow-wrap: break-word;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 8px;
  }

  .section-head h2 {
    font-size: 25px;
  }

  .section-head .sub {
    font-size: 18px;
  }

  .video-grid {
    flex-direction: column;
    gap: 16px;
  }

  .video-media,
  .video-steps {
    width: 100%;
    flex: none;
    padding: 5%;
  }

  .pricing-inner {
    flex-direction: column;
    max-width: 360px;
    padding: 0 16px;
  }

  .pricing-inner a {
    width: 100%;
  }

  .split {
    padding: 0 5% 5%;
  }

  .split-inner,
  .presencial-split .split-inner,
  .contadores-split .split-inner {
    flex-direction: column;
  }

  .presencial-split .split-inner {
    flex-direction: column-reverse;
  }

  .split-copy,
  .split-photo,
  .contadores-split .split-copy,
  .contadores-split .split-photo {
    width: 100%;
    border-radius: 20px 20px 0 0;
  }

  .split-photo {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
  }

  .presencial-split .split-photo {
    border-radius: 20px 20px 0 0;
  }

  .presencial-split .split-copy,
  .contadores-split .split-copy {
    border-radius: 0 0 20px 20px;
    text-align: center;
    padding: 5% 0;
  }

  .split-copy h3,
  .split-copy .split-title,
  .split-copy .split-text {
    padding: 5px;
    text-align: center;
  }

  .split-copy .split-title {
    font-size: 18px;
  }

  .split-copy .btn {
    align-self: center;
    margin: 8px auto 16px;
  }

  .contadores-split .split-photo {
    border-radius: 0 0 20px 20px;
    order: 2;
  }

  .benefits-row,
  .benefits-row.narrow {
    flex-direction: column;
    max-width: 100%;
    padding: 0 20px;
  }

  .benefit-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vantagens-card {
    padding: 0 5% 5%;
  }

  .vantagens-panel {
    flex-direction: column;
    border-radius: 20px;
  }

  .vantagens-list-wrap,
  .vantagens-photo {
    width: 100%;
  }

  .vantagens-cta {
    padding: 2%;
  }

  .sobre-grid {
    flex-direction: column;
    gap: 24px;
  }

  .sobre-media,
  .sobre-copy {
    width: 100%;
    text-align: center;
  }

  .sobre-copy h2 {
    font-size: 25px;
  }

  .sobre-copy p,
  .sobre-copy div {
    padding: 5px;
    text-align: center;
  }

  .sobre-copy .btn {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-inner .logo-cupom img,
  .footer-inner .logo-certisign img {
    max-width: 50%;
  }

  .footer-copy {
    padding-left: 0;
  }
}
