/* 1. Fonts and design tokens */
@font-face {
  font-family: "Montserrat";
  src: url("montserrat.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  --navy-950: #06162f;
  --navy-900: #082044;
  --navy-800: #0b2d59;
  --blue-700: #075fae;
  --blue-600: #0873c5;
  --cyan-500: #16a8dd;
  --amber-500: #f4a000;
  --amber-400: #ffb51b;
  --white: #ffffff;
  --gray-50: #f7f9fc;
  --gray-100: #edf2f7;
  --gray-200: #dce5ef;
  --gray-500: #66758a;
  --gray-700: #344258;
  --ink: #152c3b;
  --shadow-sm: 0 8px 24px rgba(6, 22, 47, 0.08);
  --shadow-md: 0 18px 50px rgba(6, 22, 47, 0.13);
  --shadow-lg: 0 28px 80px rgba(6, 22, 47, 0.18);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1220px;
  --section-space: clamp(4.5rem, 8vw, 7.5rem);
}

/* 2. Reset and global */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--gray-700);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

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

.narrow {
  max-width: 880px;
}

.center {
  text-align: center;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section-soft {
  background: var(--gray-50);
}

.section-dark {
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy-950);
}

.split {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.align-center {
  align-items: center;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
}

.skip-link:focus {
  transform: none;
}

/* 3. Typography */
h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 7.2vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h1 span {
  display: block;
  margin-top: 0.18em;
  color: var(--amber-500);
}

h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(1.9rem, 4.6vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h3 {
  line-height: 1.28;
}

.section-dark h2,
.section-dark h3,
.offer h2,
.footer h2 {
  color: var(--white);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow.amber {
  color: var(--amber-500);
}

.eyebrow.cyan {
  color: #66d5ff;
}

.microcopy,
.source,
.legal {
  color: var(--gray-500);
  font-size: 0.76rem;
  line-height: 1.55;
}

/* 4. Buttons */
.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.95rem 1.35rem;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button::after {
  content: "›";
  font-size: 1.55em;
  line-height: 0;
}

.button-primary {
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 12px 28px rgba(7, 95, 174, 0.25);
}

.button-primary:hover {
  transform: translateY(-3px);
  background: var(--blue-600);
  box-shadow: 0 18px 34px rgba(7, 95, 174, 0.3);
}

.button-primary:active {
  transform: translateY(-1px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 4px;
}

/* 5. Hero */
.blueprint {
  background-color: var(--gray-50);
  background-image:
    linear-gradient(rgba(8, 115, 197, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 115, 197, 0.045) 1px, transparent 1px);
  background-size: 38px 38px;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(3.2rem, 6vw, 6rem) 0 clamp(5rem, 8vw, 8rem);
  background:
    radial-gradient(circle at 85% 35%, rgba(22, 168, 221, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7faff 68%, #eef6fc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(8, 115, 197, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 115, 197, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy::before {
  content: "";
  display: block;
  width: 66px;
  height: 66px;
  margin-bottom: 1.5rem;
  border-radius: 18px;
  background:
    url("favicon.svg") center / 50px no-repeat,
    var(--white);
  box-shadow: var(--shadow-sm);
}

.hero .lead {
  max-width: 670px;
  color: var(--gray-700);
}

.hero-inline-mockup {
  width: min(100%, 680px);
  margin: 1.5rem 0 1.75rem;
}

.hero-inline-mockup img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(14px, 2vw, 24px);
  filter: drop-shadow(0 24px 34px rgba(6, 22, 47, 0.18));
}

.check-list {
  display: grid;
  gap: 0.78rem;
  margin: 1.6rem 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
}

.check-list li::before,
.outcome-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 900;
}

.check-list.compact {
  font-size: 0.94rem;
  font-weight: 650;
}

.hero-offer {
  display: block;
  margin: 1.6rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid #b9d4eb;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.hero-offer p {
  margin: 0 0 0.65rem;
  color: var(--navy-900);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-offer ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-offer li {
  position: relative;
  padding: 0.58rem 0.2rem 0.58rem 2.1rem;
  border-top: 1px solid var(--gray-100);
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 750;
}

.hero-offer li:first-child {
  border-top: 0;
}

.hero-offer li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 50%;
  width: 1.15rem;
  height: 1.15rem;
  transform: translateY(-50%);
  border: 2px solid var(--blue-700);
  border-radius: 3px;
  box-shadow: inset 0 0 0 3px var(--white);
  background: var(--cyan-500);
}

.hero .button {
  width: 100%;
}

.hero .microcopy {
  margin: 0.7rem 0 0;
}

/* Hero product composition */
.hero-visual {
  position: relative;
  min-height: 430px;
}

.visual-orbit {
  position: absolute;
  inset: 9% 5% 4%;
  border: 1px solid rgba(8, 115, 197, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 168, 221, 0.15), rgba(255, 255, 255, 0) 67%);
}

.visual-card {
  position: absolute;
  overflow: hidden;
  border: 9px solid var(--white);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visual-card-primary {
  z-index: 2;
  top: 5%;
  right: 1%;
  width: 68%;
  aspect-ratio: 1 / 1;
  transform: rotate(3deg);
}

.visual-card-secondary {
  z-index: 3;
  bottom: 3%;
  left: 0;
  width: 47%;
  aspect-ratio: 1 / 1;
  transform: rotate(-7deg);
}

.visual-clipboard {
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: -1%;
  width: 46%;
  height: 45%;
  padding: 2.5rem 1rem 1rem;
  transform: rotate(7deg);
  border: 8px solid var(--navy-800);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.visual-clipboard::before {
  content: "";
  position: absolute;
  top: -17px;
  left: 50%;
  width: 42%;
  height: 30px;
  transform: translateX(-50%);
  border: 4px solid var(--navy-800);
  border-radius: 8px;
  background: var(--gray-200);
}

.visual-clipboard i {
  display: block;
  height: 14px;
  margin-bottom: 1rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan-500) 0 12%, var(--gray-200) 12% 100%);
}

.visual-keys {
  position: absolute;
  z-index: 5;
  right: 22%;
  bottom: 3%;
  width: 31%;
  overflow: visible;
  transform: rotate(11deg);
  fill: none;
  stroke: var(--amber-500);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 12px 14px rgba(6, 22, 47, 0.2));
}

/* 6. Benefit strip */
.benefit-strip {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  background: transparent;
}

.three-up {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.three-up p {
  position: relative;
  display: grid;
  min-height: 100px;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 800;
}

.three-up p:last-child {
  border-bottom: 0;
}

.three-up span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #b8d6ef;
  border-radius: 50%;
  color: var(--blue-700);
  background: #eef7ff;
  font-size: 0.75rem;
}

/* 7. Risks and statistics */
#riscos {
  padding-top: clamp(5.5rem, 9vw, 8rem);
  background: var(--white);
}

#riscos .split {
  align-items: start;
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.stats div {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
}

.stats div::before,
.stats div::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  border-radius: 99px;
}

.stats div::before {
  background: var(--gray-100);
}

.stats div::after {
  width: var(--value);
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue-700), var(--cyan-500));
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.stats.is-visible div::after {
  transform: scaleX(1);
}

.stats div:nth-child(2)::after {
  transition-delay: 80ms;
}

.stats div:nth-child(3)::after {
  transition-delay: 160ms;
}

.stats div:nth-child(4)::after {
  transition-delay: 240ms;
}

.stats div:nth-child(5)::after {
  transition-delay: 320ms;
}

.stats span {
  color: var(--navy-950);
  font-size: 1.25rem;
  font-weight: 900;
}

.stats p {
  margin: 0;
  font-size: 0.9rem;
}

.source {
  margin-top: 0.8rem;
}

.stats-explanation {
  margin-top: 2.1rem;
}

.warning-card {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid #efc977;
  border-radius: var(--radius-md);
  background: #fff8e8;
  box-shadow: var(--shadow-sm);
}

.warning-card h3 {
  font-size: 1.25rem;
}

.warning-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--amber-400);
  font-size: 1.5rem;
  font-weight: 900;
}

.warning-card ul {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0;
  padding-left: 1.2rem;
}

/* 8. Solution */
#solucao {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 50%, rgba(22, 168, 221, 0.15), transparent 27%),
    var(--navy-950);
}

#solucao::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, #000);
}

#solucao .container {
  position: relative;
}

#solucao strong {
  color: var(--white);
}

.rounded-image {
  width: 100%;
  border: 10px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.text-link {
  color: #69d6ff;
  font-weight: 800;
  text-underline-offset: 5px;
}

/* 9. Testimonials */
.testimonials {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy-900);
}

.testimonials .section-heading {
  margin-inline: auto;
  text-align: center;
}

.testimonial-carousel {
  overflow: hidden;
  margin-top: 2.5rem;
  padding: 1rem 0 1.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.testimonial-track {
  display: flex;
  width: max-content;
  gap: 1.1rem;
  animation: testimonial-scroll 36s linear infinite;
  will-change: transform;
}

.testimonial-carousel:hover .testimonial-track,
.testimonial-carousel:focus-within .testimonial-track {
  animation-play-state: paused;
}

.testimonial-track .testimonial {
  flex: 0 0 clamp(235px, 72vw, 320px);
  width: clamp(235px, 72vw, 320px);
  height: 330px;
}

.testimonial {
  overflow: hidden;
  min-height: 150px;
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  cursor: zoom-in;
}

.testimonial img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 11px;
}

/* 10. Steps */
#como-funciona {
  background: var(--gray-50);
}

#como-funciona .narrow {
  max-width: 1100px;
}

.steps {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
  text-align: left;
}

.steps article {
  position: relative;
  z-index: 1;
  padding: 1.7rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.steps article > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 0 0 7px #e5f3ff;
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 0.45rem;
}

.steps p {
  margin: 0;
  color: var(--gray-500);
}

/* 11. Product */
.product-view {
  background:
    radial-gradient(circle at 15% 50%, rgba(22, 168, 221, 0.08), transparent 25%),
    var(--white);
}

.product-view .split {
  display: block;
  max-width: 920px;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.product-view .check-list {
  grid-template-columns: 1fr;
}

.mini-offer {
  display: grid;
  gap: 0.35rem;
  margin-top: 2rem;
  padding: 1.35rem;
  border: 1px solid #b9d4eb;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f8fbff, #edf7ff);
}

.mini-offer p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.84rem;
}

.mini-offer strong {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--navy-950);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

/* 12. Accordions */
.accordion {
  display: grid;
  gap: 0.8rem;
  margin-top: 2.25rem;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.accordion-item.is-open {
  border-color: #91c5ed;
  background: #f4faff;
  box-shadow: var(--shadow-sm);
}

.accordion-item h3 {
  margin: 0;
}

.accordion-item button {
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 0;
  color: var(--navy-900);
  background: transparent;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.accordion-item button b {
  display: inline-grid;
  width: 2.45rem;
  height: 2.15rem;
  margin-right: 0.5rem;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-700);
  font-size: 0.72rem;
}

.accordion-item i {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-100);
}

.accordion-item i::before,
.accordion-item i::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 6px;
  width: 12px;
  height: 2px;
  background: var(--blue-700);
  transition: transform 180ms ease;
}

.accordion-item i::after {
  transform: rotate(90deg);
}

.accordion-item.is-open i::after {
  transform: rotate(0);
}

.accordion-panel {
  padding: 0 1.15rem 1.35rem;
  color: var(--gray-500);
}

.accordion-panel p:last-child {
  margin-bottom: 0;
}

/* 13. Results */
.section-heading {
  max-width: 760px;
}

.outcome-grid {
  display: grid;
  gap: 0.9rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.outcome-grid li {
  position: relative;
  min-height: 108px;
  padding: 1.35rem 1.1rem 1.2rem 3.4rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.outcome-grid li::before {
  left: 1.1rem;
  top: 1.35rem;
}

/* 14. Bonus */
.bonus {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 30%, rgba(244, 160, 0, 0.12), transparent 25%),
    linear-gradient(135deg, #f8fbff, #edf7ff);
}

.bonus .narrow {
  position: relative;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid #c6dff1;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

.bonus .gift {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  place-items: center;
  border-radius: 20px;
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 12px 28px rgba(7, 95, 174, 0.24);
  font-size: 2rem;
}

.bonus-value {
  margin: 2rem auto 0;
  padding: 1rem;
  border: 1px dashed #9ac6e7;
  border-radius: var(--radius-sm);
  background: #f3f9ff;
}

.bonus-value strong {
  display: block;
  color: var(--amber-500);
  font-size: 1.05rem;
}

/* 15. Offer */
.offer {
  padding-block: var(--section-space);
  color: rgba(255, 255, 255, 0.84);
  background: var(--gray-50);
}

.offer-card {
  display: grid;
  gap: 2rem;
  padding: clamp(1.6rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 30%, rgba(22, 168, 221, 0.18), transparent 30%),
    var(--navy-950);
  box-shadow: var(--shadow-lg);
}

.check-list.light li::before {
  color: var(--navy-950);
  background: var(--cyan-500);
}

.price-box {
  padding: clamp(1.3rem, 4vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
}

.price-box > p {
  margin-bottom: 0.5rem;
}

.price-box > strong {
  display: block;
  margin: 0.25rem 0 1.35rem;
  color: var(--white);
  font-size: clamp(3rem, 9vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.price-box small {
  color: var(--amber-400);
  font-size: 1rem;
  letter-spacing: 0;
}

.price-box .button {
  width: 100%;
}

.price-box .microcopy {
  margin: 0.9rem 0 0;
  color: #b7c5d4;
}

/* 16. FAQ */
#faq {
  background: var(--gray-50);
}

#faq .narrow {
  max-width: 900px;
}

/* 17. Footer */
.footer {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 calc(5rem + env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-950);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.footer .container {
  position: relative;
}

.footer .button {
  width: 100%;
  max-width: 540px;
}

.footer .legal {
  max-width: 760px;
  margin: 1.2rem auto 0;
  color: #9fb0c2;
}

/* 18. Sticky CTA */
.sticky-cta {
  position: fixed;
  z-index: 100;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  left: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 3rem 0.72rem 0.9rem;
  border: 1px solid #bdd5e7;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.sticky-cta[hidden] {
  display: none;
}

.sticky-cta div {
  display: flex;
  flex-direction: column;
  color: var(--gray-500);
  font-size: 0.72rem;
}

.sticky-cta div strong {
  color: var(--navy-950);
  font-size: 1rem;
}

.sticky-cta .button {
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
}

.sticky-close {
  position: absolute;
  right: 5px;
  top: -32px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

/* 19. Lightbox */
.lightbox {
  max-width: min(920px, 94vw);
  max-height: 92vh;
  padding: 2.8rem 1rem 1rem;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox::backdrop {
  background: rgba(4, 15, 32, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox img {
  max-height: 80vh;
  margin: auto;
}

.lightbox-close {
  position: absolute;
  right: 0.55rem;
  top: 0.35rem;
  width: 40px;
  height: 40px;
  border: 0;
  color: var(--navy-950);
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
}

/* 20. Animations */
@keyframes testimonial-scroll {
  to {
    transform: translateX(calc(-50% - 0.55rem));
  }
}

/* 21. Responsive */
@media (min-width: 560px) {
  .container {
    width: min(calc(100% - 56px), var(--container));
  }

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

  .hero-offer li {
    padding-inline: 2.1rem 0.7rem;
    border-top: 0;
    border-left: 1px solid var(--gray-100);
  }

  .hero-offer li:first-child {
    border-left: 0;
  }

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

  .product-view .check-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .three-up p {
    border-right: 1px solid var(--gray-100);
    border-bottom: 0;
  }

  .three-up p:last-child {
    border-right: 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .steps::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 42px;
    right: 15%;
    left: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-700), var(--cyan-500));
  }

  .offer-card {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .sticky-cta {
    right: 18px;
    left: auto;
    min-width: 440px;
  }
}

@media (min-width: 980px) {
  h1 {
    font-size: 3rem;
    line-height: 1.01;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  }

  .hero-visual {
    min-height: 610px;
  }

  .hero .button {
    width: auto;
    min-width: min(100%, 480px);
  }

  #riscos .split {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  }

  #solucao .split {
    grid-template-columns: 1.05fr 0.95fr;
  }

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

  .outcome-grid li:hover,
  .steps article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

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

  .hero-visual {
    min-height: 380px;
  }

  .sticky-cta {
    right: 6px;
    left: 6px;
  }

  .sticky-cta div span {
    display: none;
  }
}

/* 22. Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .testimonial-carousel {
    overflow-x: auto;
    mask-image: none;
  }

  .testimonial-track {
    animation: none;
    will-change: auto;
  }

  .stats div::after {
    transform: scaleX(1);
  }
}
