:root {
  --navy: #071827;
  --navy2: #0b2235;
  --blue: #087cff;
  --blue2: #1676e8;
  --cyan: #20dff0;
  --green: #08bf58;
  --text: #112235;
  --muted: #5c6b7b;
  --bg: #fff;
  --soft: #eef6ff;
  --line: #dbe5ef;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}

img {
  max-width: 100%;
}

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


/* =========================================
   HEADER
========================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(7, 24, 39, 0.96);
  backdrop-filter: blur(12px);

  color: #fff;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  min-height: 68px;

  display: flex;
  align-items: center;

  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;

  gap: 10px;

  color: #fff;
  text-decoration: none;

  font-weight: 700;
  font-size: 16px;

  margin-right: auto;
}

.brand b {
  color: #49a4ff;
}

.python-mark {
  font-size: 24px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #dbe8f4;

  text-decoration: none;

  font-size: 13px;

  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}


/* =========================================
   BOTÕES
========================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 9px;

  padding: 13px 22px;

  font-weight: 700;

  text-decoration: none;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  background: var(--blue);
  color: #fff;

  padding: 10px 17px;

  font-size: 13px;
}

.btn-primary {
  background: var(--green);
  color: #fff;

  box-shadow:
    0 10px 24px rgba(8, 191, 88, 0.2);
}

.btn-primary:hover {
  background: #07ad50;

  box-shadow:
    0 14px 30px rgba(8, 191, 88, 0.3);
}

.btn-large {
  font-size: 15px;

  padding: 16px 28px;

  margin-top: 12px;
}


/* =========================================
   HERO
========================================= */

.hero {
  position: relative;

  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(8, 124, 255, 0.10),
      transparent 32%
    ),
    linear-gradient(
      110deg,
      #eaf6ff 0%,
      #ffffff 58%,
      #eaf4ff 100%
    );

  padding: 55px 0 48px;

  overflow: hidden;
}

.hero::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  background: rgba(32, 223, 240, 0.06);

  filter: blur(20px);

  left: -250px;
  top: 50px;

  pointer-events: none;
}

.hero-grid {
  position: relative;

  z-index: 1;

  display: grid;

  grid-template-columns: 46% 54%;

  align-items: center;

  gap: 10px;
}


/* =========================================
   CAPA 3D
========================================= */

.book-wrap {
  height: 540px;

  display: flex;

  align-items: center;
  justify-content: center;

  position: relative;

  perspective: 1200px;
}

.glow {
  position: absolute;

  width: 390px;
  height: 390px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(8, 124, 255, 0.22) 0%,
      rgba(32, 223, 240, 0.12) 35%,
      transparent 70%
    );

  filter: blur(12px);

  pointer-events: none;
}

.book-cover {
  position: relative;

  z-index: 2;

  display: block;

  width: min(390px, 90%);

  height: auto;

  object-fit: contain;

  filter:
    drop-shadow(
      0 28px 28px rgba(0, 25, 50, 0.25)
    )
    drop-shadow(
      0 8px 12px rgba(0, 25, 50, 0.12)
    );

  transform:
    perspective(1200px)
    rotateY(-5deg)
    rotateX(1deg);

  transform-origin: center center;

  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.book-cover:hover {
  transform:
    perspective(1200px)
    rotateY(-1deg)
    rotateX(0deg)
    translateY(-8px)
    scale(1.015);

  filter:
    drop-shadow(
      0 35px 38px rgba(0, 25, 50, 0.3)
    )
    drop-shadow(
      0 10px 16px rgba(0, 25, 50, 0.15)
    );
}


/* =========================================
   HERO COPY
========================================= */

.hero-copy {
  padding: 10px 20px;
}

.eyebrow {
  display: inline-block;

  color: var(--blue);

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.8px;

  margin-bottom: 8px;
}

.hero h1 {
  font-size: 46px;

  line-height: 1.1;

  margin: 0 0 14px;

  letter-spacing: -1.5px;
}

.hero h1 span {
  display: block;

  color: var(--blue);
}

.lead {
  font-size: 17px;

  color: #34475a;

  max-width: 650px;
}


/* =========================================
   FEATURES
========================================= */

.feature-row {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 12px;

  margin: 25px 0;
}

.feature-row div {
  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  gap: 5px;

  font-size: 11px;

  color: #35485a;
}

.feature-row strong {
  font-size: 24px;

  color: var(--blue);
}

.trust {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;

  margin-top: 15px;

  font-size: 11px;

  color: #536273;
}


/* =========================================
   DARK SECTION
========================================= */

.dark-section {
  background:
    linear-gradient(
      110deg,
      var(--navy),
      #102f47
    );

  color: #fff;
}

.pain {
  padding: 46px 0;
}

.pain-grid {
  display: grid;

  grid-template-columns: 1.1fr 1fr;

  gap: 80px;

  align-items: center;
}

.pain h2,
.section-head h2,
.preview h2,
.offer h2,
.audience-box h2,
.guarantee h2,
.faq h2 {
  font-size: 32px;

  line-height: 1.15;

  margin: 5px 0 14px;

  letter-spacing: -0.7px;
}

.pain p {
  color: #c9d7e3;

  max-width: 620px;
}

.pain .eyebrow {
  color: #35a0ff;
}

.pain-list {
  list-style: none;

  margin: 0;

  padding: 0;

  display: grid;

  gap: 15px;
}

.pain-list li {
  display: flex;

  align-items: center;

  gap: 13px;
}

.pain-list li::before {
  content: "×";

  display: grid;

  place-items: center;

  flex-shrink: 0;

  width: 27px;
  height: 27px;

  border-radius: 50%;

  background: #31536a;

  font-weight: 800;
}


/* =========================================
   SEÇÕES
========================================= */

.section {
  padding: 66px 0;
}

.section-head {
  text-align: center;

  margin-bottom: 35px;
}


/* =========================================
   CARDS
========================================= */

.cards {
  display: grid;

  gap: 18px;
}

.cards.five {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  text-align: center;

  padding: 22px 14px;
}

.icon {
  font-size: 31px;

  color: var(--blue);

  margin-bottom: 8px;
}

.card h3 {
  font-size: 15px;

  margin: 4px 0 7px;
}

.card p {
  font-size: 13px;

  color: var(--muted);

  margin: 0;
}


/* =========================================
   PREVIEW
========================================= */

.preview {
  background: #edf7ff;
  padding: 82px 0;
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.78fr);
  gap: 58px;
  align-items: center;
}

.preview-copy {
  align-self: center;
  max-width: 420px;
}

.preview-copy p {
  color: var(--muted);
  max-width: 410px;
  margin-bottom: 0;
}

.preview-copy .checks {
  margin-top: 26px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  color: #24384b;
  font-size: 15px;
}

.checks li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #1676e8;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-right: 11px;
  margin-top: 1px;
}

/* =========================================
   PÁGINAS REAIS DO EBOOK
========================================= */

.preview-pages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  transform: none;
}

.preview-page {
  margin: 0;
  text-align: center;
  min-width: 0;
}

.preview-page-frame {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(7, 24, 39, 0.09);
  border-radius: 14px;
  box-shadow:
    0 20px 42px rgba(25, 70, 100, 0.16),
    0 4px 12px rgba(7, 24, 39, 0.07);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.preview-page-frame:hover {
  transform: translateY(-5px);
  box-shadow:
    0 28px 52px rgba(25, 70, 100, 0.20),
    0 6px 16px rgba(7, 24, 39, 0.10);
}

.preview-page img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.preview-page figcaption {
  margin-top: 12px;
  color: #5c6b7b;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
}

/* =========================================
   PREVIEW — TABLET
========================================= */

@media (max-width: 1100px) {

  .preview {
    padding: 68px 0;
  }

  .preview-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .preview-copy {
    max-width: 680px;
  }

  .preview-copy p {
    max-width: 650px;
  }

  .preview-pages {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    gap: 20px;
  }
}

/* =========================================
   PREVIEW — MOBILE
========================================= */

@media (max-width: 680px) {

  .preview {
    padding: 52px 0;
  }

  .preview-grid {
    gap: 34px;
  }

  .preview-copy {
    max-width: none;
  }

  .preview-copy .checks {
    margin-top: 22px;
  }

  .checks {
    gap: 10px;
  }

  .checks li {
    font-size: 14px;
  }

  .preview-pages {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
    gap: 26px;
  }

  .preview-page-frame {
    border-radius: 14px;
  }

  .preview-page img {
    aspect-ratio: auto;
    object-fit: contain;
  }

  .preview-page figcaption {
    margin-top: 9px;
  }
}

/* =========================================
   AUDIENCE
========================================= */

.audience {
  padding-top: 45px;
}

.audience-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 18px;
}

.audience-box {
  padding: 34px;

  border-radius: 15px;

  border: 1px solid var(--line);
}

.dark-box {
  background: var(--navy);

  color: #fff;

  border-color: var(--navy);
}

.audience-box h2 {
  font-size: 24px;
}

.audience-box h2 span {
  color: #e22d2d;
}

.green li::before {
  background: #10b75b;
}

.red li::before {
  background: #e43c3c;

  content: "×";
}


/* =========================================
   OFERTA
========================================= */

.offer {
  background: #fff;

  padding-top: 25px;
}

.offer-card {
  background:
    linear-gradient(
      110deg,
      #e8f5ff,
      #f6fbff
    );

  border: 1px solid #d5e8f8;

  border-radius: 14px;

  padding: 28px;

  display: grid;

  grid-template-columns: 1.2fr 0.8fr 0.8fr;

  gap: 30px;

  align-items: center;
}

.offer h2 {
  font-size: 28px;
}

.offer-card p {
  color: #536273;

  margin: 0;
}

.price {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}

.price del {
  color: #667788;

  font-size: 12px;
}

.price strong {
  font-size: 38px;

  line-height: 1.1;
}

.price span {
  font-size: 11px;

  color: #667788;

  margin-bottom: 14px;
}

.includes h3 {
  margin-top: 0;

  font-size: 15px;
}

.includes ul {
  list-style: none;

  padding: 0;

  margin: 0;

  display: grid;

  gap: 8px;

  font-size: 12px;

  color: #566777;
}

.includes li::before {
  content: "✓";

  color: #08a84e;

  font-weight: 800;

  margin-right: 7px;
}


/* =========================================
   GARANTIA + FAQ
========================================= */

.guarantee-faq {
  padding-top: 25px;
}

.gf-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 50px;

  align-items: start;
}

.guarantee {
  display: flex;

  gap: 22px;

  align-items: center;
}


/*
  SELO DE GARANTIA
  Agora utiliza a imagem PNG.
*/

.seal {
  width: 140px;
  height: 140px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;
}

.seal img {
  display: block;

  width: 140px;
  height: 140px;

  object-fit: contain;

  filter:
    drop-shadow(
      0 10px 14px rgba(75, 52, 0, 0.20)
    );

  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.seal img:hover {
  transform:
    scale(1.05)
    rotate(-2deg);

  filter:
    drop-shadow(
      0 14px 22px rgba(75, 52, 0, 0.28)
    );
}

.guarantee h2 {
  margin-top: 0;
}

.guarantee p {
  color: var(--muted);

  font-size: 13px;
}

.faq details {
  border-bottom: 1px solid var(--line);

  padding: 15px 0;
}

.faq summary {
  cursor: pointer;

  font-weight: 600;

  font-size: 14px;
}

.faq details p {
  font-size: 13px;

  color: var(--muted);

  margin: 10px 0 0;
}


/* =========================================
   FOOTER
========================================= */

footer {
  background: var(--navy);

  color: #fff;

  padding: 28px 0;
}

.footer-inner {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;
}

.footer-inner h2 {
  margin: 0;

  font-size: 22px;
}

.footer-inner p {
  margin: 4px 0 0;

  color: #b9c9d7;

  font-size: 13px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

  .nav-links {
    display: none;
  }

  .hero-grid,
  .preview-grid,
  .pain-grid,
  .offer-card,
  .gf-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .book-wrap {
    height: 500px;
  }

  .book-cover {
    width: min(390px, 75%);
  }

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

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

  .preview-pages {
    transform: none;
  }

  .offer-card {
    gap: 22px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid {
    gap: 25px;
  }

  .footer-inner {
    flex-direction: column;

    align-items: flex-start;
  }

  .guarantee {
    max-width: 700px;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 560px) {

  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 60px;
  }

  .btn-small {
    display: none;
  }

  .hero {
    padding-top: 25px;

    padding-bottom: 35px;
  }

  .hero-grid {
    gap: 0;
  }


  /* CAPA */

  .book-wrap {
    height: 390px;
  }

  .glow {
    width: 300px;
    height: 300px;
  }

  .book-cover {
    width: min(330px, 88%);

    transform:
      perspective(1000px)
      rotateY(-3deg);
  }

  .book-cover:hover {
    transform:
      perspective(1000px)
      rotateY(0deg)
      translateY(-4px)
      scale(1.01);
  }


  /* HERO */

  .hero h1 {
    font-size: 33px;

    letter-spacing: -1px;
  }

  .lead {
    font-size: 15px;
  }

  .feature-row {
    gap: 8px;
  }

  .feature-row div {
    font-size: 10px;
  }

  .trust {
    font-size: 10px;

    gap: 10px;
  }


  /* SEÇÕES */

  .section {
    padding: 48px 0;
  }


  /* CARDS */

  .cards.five {
    grid-template-columns: 1fr;
  }


  /* PREVIEW */

  .preview-pages {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
    gap: 24px;
    transform: none;
  }

  .preview-page img {
    aspect-ratio: auto;
    object-fit: contain;
  }


  /* OFERTA */

  .offer-card {
    padding: 22px;
  }

  .price strong {
    font-size: 34px;
  }


  /* GARANTIA */

  .guarantee {
    align-items: flex-start;

    gap: 16px;
  }

  .seal {
    width: 90px;
    height: 90px;
  }

  .seal img {
    width: 90px;
    height: 90px;
  }

  .guarantee h2 {
    font-size: 25px;
  }


  /* FOOTER */

  .footer-inner .btn {
    width: 100%;
  }
}

/* =========================================
   RESPONSIVIDADE — AJUSTES FINAIS
========================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  height: auto;
}

/* TABLET PEQUENO */
@media (max-width: 768px) {

  .container {
    width: min(100% - 32px, 1180px);
  }

  .hero-grid {
    gap: 10px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-row {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .trust {
    justify-content: center;
  }

  .pain-grid {
    gap: 35px;
  }

  .pain-list {
    max-width: 620px;
  }

  .offer-card {
    text-align: center;
  }

  .price {
    align-items: center;
  }

  .includes {
    max-width: 420px;
    margin-inline: auto;
  }

  .guarantee {
    justify-content: center;
  }
}


/* MOBILE */
@media (max-width: 560px) {

  .container {
    width: calc(100% - 28px);
  }

  /* HEADER */

  .nav {
    min-height: 58px;
  }

  .brand {
    font-size: 14px;
  }

  .python-mark {
    font-size: 21px;
  }

  /* HERO */

  .hero {
    padding-top: 18px;
    padding-bottom: 32px;
  }

  .book-wrap {
    height: auto;
    min-height: 330px;
    padding: 15px 0 5px;
  }

  .glow {
    width: 270px;
    height: 270px;
  }

  .book-cover {
    width: min(310px, 86vw);
  }

  .hero-copy {
    padding: 0;
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(29px, 8vw, 34px);
    line-height: 1.08;
    margin-bottom: 12px;
  }

  .lead {
    font-size: 15px;
    line-height: 1.55;
  }

  /* FEATURES */

  .feature-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
    margin: 22px 0;
  }

  .feature-row div {
    font-size: 10px;
  }

  .feature-row strong {
    font-size: 22px;
  }

  .trust {
    justify-content: center;
    text-align: center;
  }

  /* BOTÕES */

  .btn-large {
    width: 100%;
    max-width: 360px;
    padding: 15px 20px;
  }

  /* SEÇÕES */

  .section {
    padding: 44px 0;
  }

  .pain {
    padding: 42px 0;
  }

  .pain h2,
  .section-head h2,
  .preview h2,
  .offer h2,
  .audience-box h2,
  .guarantee h2,
  .faq h2 {
    font-size: 27px;
    line-height: 1.15;
  }

  /* CARDS */

  .card {
    padding: 18px 10px;
  }

  /* PREVIEW */

  .preview {
    padding: 48px 0;
  }

  .preview-pages {
    width: 100%;
    max-width: 430px;
  }

  /* AUDIENCE */

  .audience {
    padding-top: 35px;
  }

  .audience-box {
    padding: 24px 20px;
  }

  /* OFERTA */

  .offer {
    padding-top: 18px;
  }

  .offer-card {
    padding: 24px 18px;
    gap: 24px;
  }

  .offer h2 {
    font-size: 26px;
  }

  .offer-card p {
    font-size: 14px;
  }

  .price strong {
    font-size: 34px;
  }

  .includes {
    width: 100%;
  }

  /* GARANTIA */

  .guarantee {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .guarantee .seal {
    width: 100px;
    height: 100px;
  }

  .guarantee .seal img {
    width: 100px;
    height: 100px;
  }

  /* FAQ */

  .faq summary {
    font-size: 14px;
    line-height: 1.4;
  }

  /* FOOTER */

  .footer-inner {
    text-align: center;
    align-items: center;
  }

  .footer-inner .btn {
    width: 100%;
    max-width: 360px;
  }
}


/* TELAS MUITO PEQUENAS */

@media (max-width: 380px) {

  .container {
    width: calc(100% - 22px);
  }

  .hero h1 {
    font-size: 28px;
  }

  .book-wrap {
    min-height: 300px;
  }

  .book-cover {
    width: min(285px, 84vw);
  }

  .feature-row {
    gap: 10px 5px;
  }

  .feature-row strong {
    font-size: 20px;
  }

  .feature-row div {
    font-size: 9px;
  }

  .pain h2,
  .section-head h2,
  .preview h2,
  .offer h2,
  .audience-box h2,
  .guarantee h2,
  .faq h2 {
    font-size: 25px;
  }

  .offer-card {
    padding: 20px 15px;
  }
}