/* ========================================
   CONFIGURAÇÕES GERAIS
======================================== */

:root {
    --navy: #091525;
    --ink: #0b132b;
    --orange: #ff8500;
    --paper: #f4f6f9;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.45;
}

h1,h2,p {
    margin: 0;
}

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

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

a:focus-visible,button:focus-visible,summary:focus-visible {
    outline: 3px solid #ff8500;
    outline-offset: 4px;
}

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

.svg-library {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.2em;
    height: 1.2em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    vertical-align: middle;
}

.container {
    max-width: 1240px;
}

section[id] {
    scroll-margin-top: 90px;
}

/* ========================================
   MENU DE NAVEGAÇÃO
======================================== */

header {
    background: var(--navy);
    color: white;
}

.topbar {
    background: #091625;
    border-bottom: 1px solid #344150;
    position: relative;
    z-index: 5;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 27px;
    font-weight: 750;
    white-space: nowrap;
    color: white;
    letter-spacing: -1px;
}

.brand .icon {
    color: var(--orange);
    font-size: 30px;
}

.brand b {
    color: var(--orange);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-menu>a:not(.btn-buy) {
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding: 20px 0;
}

.nav-menu>a:not(.btn-buy)::after {
    content: "";
    position: absolute;
    bottom: 11px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform .2s;
}

.nav-menu>a.active::after,.nav-menu>a:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 8px;
    padding: 7px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(#ffa83a,#ff7b00);
    border-radius: 12px;
    color: #10151d;
    font-weight: 750;
    padding: 13px 24px;
    transition: background .2s,transform .2s;
    text-align: center;
}

.btn-buy:hover {
    background: #ffb04a;
    color: #10151d;
    transform: translateY(-2px);
}

.nav-buy {
    font-size: 15px;
    padding: 10px 18px;
}

/* ========================================
   APRESENTAÇÃO DO EBOOK
======================================== */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 510px;
    display: flex;
    align-items: center;
    padding: 45px 0 85px;
    background: #081321;
}

.hero-photo {
    position: absolute;
    inset: 0 0 0 40%;
    z-index: -1;
    background-image: linear-gradient(90deg,#081321 0%,rgba(8,19,33,.5) 12%,transparent 33%),url("../img/hero.webp");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-copy {
    position: relative;
}

.eyebrow {
    display: inline-block;
    border-left: 4px solid var(--orange);
    padding-left: 15px;
    font-size: 21px;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(36px,4.1vw,58px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -1.8px;
    font-style: italic;
    max-width: 580px;
}

.hero h1 em {
    color: var(--orange);
    font-style: inherit;
}

.hero p {
    font-size: 20px;
    max-width: 480px;
    margin: 16px 0 24px;
    line-height: 1.4;
}

.hero-buy {
    font-size: 20px;
    min-height: 54px;
}

/* ========================================
   CARACTERÍSTICAS DO EBOOK
======================================== */

.features {
    position: relative;
    margin-top: -34px;
    z-index: 2;
}

.feature-strip {
    padding: 25px 12px;
    background: linear-gradient(130deg,#fff,#f1f3f7);
    border-radius: 20px;
    box-shadow: 0 10px 24px #11243a16;
}

.feature {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
}

.feature:not(:last-child) {
    border-right: 1px solid #bdc4d0;
}

.feature .icon {
    font-size: 38px;
    color: var(--orange);
}

.feature strong {
    font-size: 20px;
    line-height: 1.15;
}

/* ========================================
   PROBLEMA E SOLUÇÃO
======================================== */

main {
    background: linear-gradient(160deg,#f7f8fa,#eef2f7 65%,#f5f7fa);
}

.benefits {
    padding-top: 40px;
    padding-bottom: 36px;
}

.notebook {
    width: 100%;
    border-radius: 22px;
    aspect-ratio: 1.6;
    object-fit: cover;
}

.benefits-copy {
    padding-left: 36px;
}

.text-block {
    border-left: 4px solid var(--orange);
    padding-left: 25px;
    margin-bottom: 20px;
}

.text-block h2 {
    font-size: clamp(25px,2.5vw,34px);
    font-weight: 800;
    letter-spacing: -.8px;
    margin-bottom: 5px;
}

.text-block p {
    font-size: 19px;
    line-height: 1.36;
}

.notice {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #e5e9ef;
    padding: 13px 16px;
    border-radius: 10px;
}

.notice .icon {
    color: var(--orange);
    font-size: 26px;
}

.notice p {
    font-size: 15px;
    line-height: 1.35;
}

/* ========================================
   O QUE VOCÊ VAI RECEBER
======================================== */

.content-section {
    background: linear-gradient(110deg,#e7edf4,#f3f5f8);
    padding: 28px 0 20px;
}

.material {
    width: 90%;
    margin: auto;
    border-radius: 8px;
    mix-blend-mode: multiply;
}

.content-section .text-block {
    margin: 0;
    padding-left: 32px;
}

.content-section p {
    margin-top: 12px;
}

/* ========================================
   OFERTA DO EBOOK
======================================== */

.offer {
    padding-top: 0;
    padding-bottom: 24px;
}

.offer-panel {
    background: linear-gradient(120deg,#14263a,#091525);
    border-radius: 20px;
    padding: 27px 32px;
    color: white;
}

.offer-intro {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-right: 20px;
}

.offer-intro>.icon {
    color: var(--orange);
    font-size: 44px;
}

.offer-intro h2 {
    font-size: 26px;
    font-weight: 750;
    letter-spacing: -.6px;
    margin-bottom: 7px;
}

.offer-intro p {
    font-size: 15px;
    line-height: 1.35;
}

.price {
    border-left: 1px solid var(--orange);
    padding-left: 32px;
    display: flex;
    flex-direction: column;
}

.price span {
    font-size: 17px;
}

.price strong {
    color: var(--orange);
    font-size: clamp(36px,4vw,54px);
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    letter-spacing: -1.5px;
}

.offer-action {
    padding-left: 20px;
}

.offer-action .btn-buy {
    width: 100%;
    font-size: 18px;
}

.offer-action p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-top: 9px;
    line-height: 1.3;
}

/* ========================================
   PERGUNTAS FREQUENTES
======================================== */

.faq {
    padding-bottom: 32px;
}

.faq h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.7px;
    margin-bottom: 24px;
}

.faq h2::before,.faq h2::after {
    content: "";
    height: 2px;
    width: 125px;
    background: linear-gradient(90deg,transparent,var(--orange));
}

.faq h2::after {
    transform: rotate(180deg);
}

.faq-list {
    max-width: 1080px;
    margin: auto;
}

.faq details {
    background: #f8f9fb;
    border: 1px solid #c6ccd6;
    border-radius: 22px;
    box-shadow: 0 3px 7px #15294320;
    margin-bottom: 8px;
    overflow: hidden;
}

.faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 25px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: rotate(45deg);
    margin: 0 6px 5px;
    flex-shrink: 0;
}

.faq details[open] summary::after {
    transform: rotate(225deg);
    margin-bottom: 0;
}

.faq details p {
    padding: 4px 25px 18px;
    font-size: 16px;
    color: #384454;
}

/* ========================================
   RODAPÉ
======================================== */

.footer {
    background: linear-gradient(100deg,#142436,#091525);
    color: white;
    padding: 35px 0;
    font-size: 15px;
}

.footer-contato {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color .3s ease;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.footer-item .icon {
    width: 20px;
    height: 20px;
    color: var(--orange);
    flex-shrink: 0;
}

.footer-item:hover {
    color: var(--orange);
    text-decoration: none;
}

/* ========================================
   RESPONSIVIDADE
======================================== */

@media (max-width:991.98px) {
    .nav-inner {
        position: relative;
        min-height: 64px;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        flex-shrink: 0;
        border-radius: 10px;
    }

    .menu-toggle[aria-expanded="true"] {
        background-color: rgba(255, 133, 0, 0.12);
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;
        width: auto;
        z-index: 10;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background-color: #191e29;
        border: 1px solid #383d47;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu > a:not(.btn-buy) {
        padding: 12px;
        border-radius: 8px;
        font-weight: 500;
    }

    .nav-menu > a:not(.btn-buy)::after {
        display: none;
    }

    .nav-menu > a.active,
    .nav-menu > a:not(.btn-buy):hover {
        color: var(--orange);
        background-color: rgba(255, 133, 0, 0.08);
    }

    .nav-menu .nav-buy {
        width: 100%;
        margin-top: 12px;
    }

    .hero {
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding: 32px 0 35px;
    }

    .hero .container {
        order: 0;
    }

    .hero-photo {
        position: relative;
        inset: auto;
        order: 1;
        width: 100%;
        height: clamp(230px,58vw,470px);
        margin-top: 15px;
        background-image: linear-gradient(180deg,#081321 0%,transparent 25%,transparent 88%,#081321 100%),url("../img/hero.webp");
        background-size: cover;
        background-position: center;
    }

    .hero h1 {
        max-width: 680px;
    }

    .hero p {
        max-width: 600px;
    }

    .offer-intro {
        justify-content: center;
        text-align: left;
        padding: 0;
    }

    .price {
        border-left: 0;
        align-items: center;
        padding: 20px 0;
    }

    .offer-action {
        padding: 0;
        max-width: 360px;
        margin: auto;
    }

    .offer-action p {
        justify-content: center;
    }

    .footer-contato {
        gap: 20px;
    }
}

@media (max-width:767.98px) {
    .nav-menu {
        left: 20px;
        right: 20px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .brand {
        font-size: 23px;
        gap: 8px;
    }

    .brand .icon {
        font-size: 25px;
    }

    .hero h1 {
        font-size: clamp(30px,8vw,44px);
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 17px;
    }

    .eyebrow {
        font-size: 17px;
    }

    .hero-buy {
        font-size: 16px;
        padding: 13px 15px;
    }

    .features {
        margin-top: -28px;
    }

    .feature-strip {
        padding: 12px 6px;
        border-radius: 15px;
        row-gap: 18px;
    }

    .feature {
        padding: 7px 5px;
    }

    .feature:nth-child(2) {
        border-right: 0;
    }

    .feature .icon {
        font-size: 30px;
    }

    .feature strong {
        font-size: 16px;
    }

    .benefits {
        padding-top: 28px;
        padding-bottom: 24px;
    }

    .benefits-copy {
        padding-left: 15px;
        padding-top: 25px;
    }

    .text-block {
        padding-left: 15px;
        margin-bottom: 18px;
    }

    .text-block p {
        font-size: 16px;
    }

    .notice {
        padding: 12px;
    }

    .notice p {
        font-size: 14px;
    }

    .content-section {
        padding: 24px 0;
    }

    .material {
        max-width: 340px;
        margin: 0 auto 24px;
    }

    .content-section .text-block {
        padding-left: 15px;
    }

    .offer {
        padding-top: 14px;
    }

    .offer-panel {
        padding: 22px 17px;
        border-radius: 16px;
    }

    .offer-intro {
        gap: 14px;
    }

    .offer-intro>.icon {
        font-size: 33px;
    }

    .offer-intro h2 {
        font-size: 23px;
    }

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

    .faq h2 {
        font-size: 24px;
        gap: 10px;
    }

    .faq h2::before,.faq h2::after {
        width: 25px;
        flex-shrink: 0;
    }

    .faq summary {
        font-size: 15px;
        padding: 12px 15px;
    }

    .faq details p {
        font-size: 15px;
        padding: 0 15px 15px;
    }

    .footer {
        padding: 30px 0;
    }

    .footer-contato {
        flex-direction: column;
        gap: 18px;
    }

    .footer-item {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,*::before,*::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Ajuste do logotipo em celulares estreitos */
@media (max-width: 375px) {
    .nav-inner .brand {
        font-size: 19px;
        gap: 6px;
    }
    .nav-inner .brand .icon {
        font-size: 21px;
    }
}
