/* ==================================================
   GOOGLE FONTS
================================================== */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto+Slab:wght@100..900&display=swap");

/* ==================================================
   VARIÁVEIS
================================================== */
:root {
    /* Cores do site */
    --cor-principal: #0A2E3C;
    --cor-secundaria: #711d17;
    --cor-auxiliar: #005747;
    --cor-coadjuvante: #B03B2C;
    /* Fundos */
    --fundo-principal: #F4F2E6;
    --fundo-suave: #F8F6EF;
    --fundo-card: #FFFFFF;
    /* Texto */
    --texto-principal: #315458;
    --texto-secundario: #66757A;
    --texto-suave: #78868C;
    --texto-claro: #FFFFFF;
    /* Bordas */
    --borda: #D8DEE2;
    --borda-suave: #E5E9EA;
    /* Estados */
    --sucesso: #198754;
    --erro: #C0392B;
    /* Dimensões */
    --container: 1200px;
    --header-height: 80px;
    /* Bordas */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    /* Sombras */
    --shadow-sm:
        0 8px 24px rgba(0, 0, 0, .07);
    --shadow-md:
        0 18px 45px rgba(0, 0, 0, .08);
    --shadow-lg:
        0 24px 60px rgba(0, 0, 0, .12);
    /* Transições */
    --transition-fast: .2s ease;
    --transition: .3s ease;
    --transition-slow: .4s ease;
}

/* ==================================================
   RESET
================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: "Noto Sans", sans-serif;
    background: var(--fundo-principal);
    color: var(--texto-principal);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

/* ==================================================
   CONTAINER
================================================== */
.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

/* ==================================================
   SEÇÕES
================================================== */
section {
    padding: 40px 0;
}

/* ==================================================
   UTILITÁRIOS
================================================== */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================================================
   TIPOGRAFIA
================================================== */
h1,
h2,
h3,
h4 {
    font-family: "Roboto Slab", serif;
    font-weight: 600;
    color: var(--cor-principal);
}

h1 {
    font-size: 60px;
    line-height: 1.05;
}

h2 {
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.25;
}

p {
    line-height: 1.6;
}

/* ==================================================
   BARRA DE ROLAGEM
================================================== */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--cor-principal) transparent;
}

html::-webkit-scrollbar {
    width: 9px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--cor-principal);
    border-radius: 999px;
    border: 2px solid var(--fundo-principal);
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--cor-auxiliar);
}

/* ==================================================
   BOTÃO PRINCIPAL
================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 42px;
    border: 2px solid #FFFFFF;
    border-radius: 4px;
    background: transparent;
    color: #FFFFFF;
    font-weight: 600;
    text-align: center;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

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

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

/* Remove o movimento dos botões da seção de planos */
.plans .btn-primary:hover {
    transform: none;
}

.plans .btn-primary:active {
    transform: none;
}

/* ==================================================
   HEADER
================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: transparent;
    transition:
        background var(--transition-slow),
        box-shadow var(--transition-slow),
        backdrop-filter var(--transition-slow);
}

.internal-page .header {
    background: var(--cor-principal);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.header.scrolled {
    background: var(--cor-principal);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .15);
}

.menu-toggle {
    display: none;
}

.mobile-menu {
    display: none;
}

/* ==================================================
   HEADER — CONTAINER
================================================== */
.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==================================================
   HEADER - LOGO
================================================== */
.about-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: auto;
    max-width: 100%;
}

.about-logo img {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 12px;
    line-height: 1;
}

.main-title {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 700;
}

.subtitle {
    margin-top: 4px;
    color: #FFFFFF;
    font-size: .92rem;
    white-space: nowrap;
}

/* ==================================================
   HEADER - NAVEGAÇÃO
================================================== */
.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
}

.nav a {
    position: relative;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    transition:
        color var(--transition),
        opacity var(--transition);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: #FFFFFF;
    transition: width var(--transition);
}

.nav a:hover {
    opacity: .9;
}

.nav a:hover::after {
    width: 100%;
}

/* ==================================================
   INÍCIO - HERO
================================================== */
.hero {
    position: relative;
    min-height: 640px;
    height: 40em;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.75) 50%,
            rgba(0, 0, 0, 0.60) 80%,
            rgba(0, 0, 0, 0.50) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(90%, var(--container));
    margin: 0 auto;
    color: #FFFFFF;
}

.hero-content h1 {
    max-width: 15em;
    margin-bottom: 50px;
    color: #FFFFFF;
    font-size: 2.8rem;
    line-height: 1.05;
}

.hero-subtitle {
    max-width: 22em;
    margin-bottom: 2.5rem;
    color: #FFFFFF;
    font-size: 1.5rem;
    line-height: 1.2;
}

.hero-content .btn-primary {
    margin-top: .5rem;
}

/* ==================================================
   COMO FUNCIONA
================================================== */

.how-it-works {
    padding: 30px 0 80px;
    background: var(--fundo-principal);
}

.how-it-works .container {
    position: relative;
}

/* ==================================================
   INTRODUÇÃO
================================================== */

.especial {
    max-width: 520px;
    margin-bottom: 4px;
    color: var(--texto-principal);
    font-size: 1.0rem;
    font-weight: 400;
    line-height: 1.6;
}

.slogan {
    display: block;
    max-width: 420px;
    margin-top: .2rem;
    margin-bottom: 2.5rem;
    color: var(--cor-principal);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

/* ==================================================
   COMO FUNCIONA - GRID
================================================== */

.steps-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 0;
}

/* ==================================================
   COMO FUNCIONA - CARD
================================================== */

.step-card {
    position: relative;
    min-height: 21rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.6rem;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    text-align: left;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* ==================================================
   COMO FUNCIONA - ÍCONES
================================================== */

.step-icon {
    width: 58px;
    height: 58px;

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

    margin-bottom: .3rem;

    border-radius: 50%;
    background: var(--cor-secundaria);
    color: var(--texto-claro);

    font-size: 1.7rem;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.step-card:hover .step-icon {
    transform: translateY(-2px);
}

/* ==================================================
   COMO FUNCIONA - TÍTULOS
================================================== */

.step-card h3 {
    max-width: 220px;
    color: var(--cor-principal);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
}

/* ==================================================
   COMO FUNCIONA - TEXTO
================================================== */

.step-card p {
    margin: 0;
    color: var(--cor-principal);
    font-size: 1rem;
    line-height: 1.5;
}

/* ==================================================
   A GOLFIN
================================================== */
.about {
    position: relative;
    min-height: 31em;
    display: flex;
    align-items: center;
    background: var(--cor-principal);
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -220px;
    right: -140px;
    border-radius: 50%;
    background:
        rgba(255, 255, 255, .035);
    pointer-events: none;
}

/* ==================================================
   A GOLFIN — GRID
================================================== */
.about-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

/* ==================================================
   A GOLFIN — IMAGEM
================================================== */
.about-image {
    overflow: hidden;
    border-radius: 18px;
}

.about-image img {
    width: 100%;
    height: 26em;
    object-fit: cover;
    border-radius: 18px;
    transition:
        transform .6s ease;
}

.about-image:hover img {
    transform: scale(1.025);
}

/* ==================================================
   A GOLFIN — CONTEÚDO
================================================== */
.about-content {
    max-width: 560px;
}

.about-content h2 {
    margin-bottom: 1.2rem;
    color: #FFFFFF;
    font-size: 2rem;
    line-height: 1.2;
}

.about-content p {
    margin-bottom: .7rem;
    color: rgba(255, 255, 255, .9);
    font-size: 1rem;
    line-height: 1.55;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   PLANOS
   ========================================================= */

.plans {
    padding: 35px 0 88px;
    background: var(--fundo-suave);
}

.plans .container {
    position: relative;
}

.plans h2 {
    position: relative;
    margin: 0 0 3.5rem;
    padding-bottom: 1.1rem;
    color: var(--cor-principal);
    font-family: "Roboto Slab", serif;
    font-size: 2.15rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.plans h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 52px;
    height: 2px;
    background: var(--cor-secundaria);
    transform: translateX(-50%);
}


/* =========================================================
   GRID
   ========================================================= */

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    align-items: stretch;
}


/* =========================================================
   CARD
   ========================================================= */

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;

    background: var(--fundo-card);

    border: 1px solid var(--borda);
    border-radius: 8px;

    box-shadow: 0 5px 18px rgba(10, 46, 60, .035);

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(10, 46, 60, .08);
    border-color: rgba(10, 46, 60, .18);
}


.plan-card::before {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background: var(--cor-principal);
}

.plan-card.trimestral::before {
    background: var(--cor-auxiliar);
}


/* =========================================================
   ANUAL — DESTAQUE
   ========================================================= */

.plan-card.anual {
    border: 1px solid rgba(113, 29, 23, .45);
    background: #FFFDF8;

    transform: translateY(-12px);

    box-shadow:
        0 16px 38px rgba(10, 46, 60, .09);
    
    z-index: 2;
}

.plan-card.anual::before {
    background: var(--cor-secundaria);
}

.plan-card.anual:hover {
    transform: translateY(-17px);

    box-shadow:
        0 20px 42px rgba(10, 46, 60, .12);
}


/* =========================================================
   CONTEÚDO
   ========================================================= */

.plan-content {
    flex: 1;
    padding: 2rem 2rem 1.7rem;
}



.plan-content h3 {
    margin: 0 0 .65rem;

    color: var(--cor-principal);

    font-family: "Roboto Slab", serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;

    text-align: center;
}

.trimestral .plan-content h3 {
    color: var(--cor-principal);
}

.anual .plan-content h3 {
    color: var(--cor-principal);
}


/* =========================================================
   ETIQUETA
   ========================================================= */

.plan-content > span {
    display: table;

    margin: 0 auto 1.8rem;
    padding: 4px 11px;

    border: 1px solid var(--borda);
    border-radius: 100px;

    background: transparent;

    color: var(--texto-secundario);

    font-family: "Noto Sans", sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.3;

    text-align: center;
    text-transform: uppercase;
}


.trimestral .plan-content > span {
    border-color: rgba(0, 87, 71, .25);
    color: var(--cor-auxiliar);
}


.anual .plan-content > span {
    border-color: rgba(113, 29, 23, .28);
    background: rgba(113, 29, 23, .035);
    color: var(--cor-secundaria);
}


/* =========================================================
   LISTA DE BENEFÍCIOS
   ========================================================= */

.plan-content ul {
    margin: 0;
    padding: 0;
}

.plan-content li {
    position: relative;

    margin: 0;
    padding: .78rem 0 .78rem 29px;

    border-bottom: 1px solid var(--borda-suave);

    color: var(--texto-principal);

    font-family: "Noto Sans", sans-serif;
    font-size: .91rem;
    line-height: 1.55;
}

.plan-content li:first-child {
    padding-top: .2rem;
}

.plan-content li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


/* Check */

.plan-content li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: .82rem;

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

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: rgba(10, 46, 60, .08);

    color: var(--cor-principal);

    font-size: .67rem;
    font-weight: 800;
}

.plan-content li:first-child::before {
    top: .25rem;
}

.trimestral .plan-content li::before {
    background: rgba(0, 87, 71, .08);
    color: var(--cor-auxiliar);
}

.anual .plan-content li::before {
    background: rgba(113, 29, 23, .08);
    color: var(--cor-secundaria);
}


/* =========================================================
   RODAPÉ DO CARD
   ========================================================= */

.plan-footer {
    margin-top: auto;
    padding: 1.6rem 2rem 2rem;

    border-top: 1px solid var(--borda-suave);

    text-align: center;
}


/* =========================================================
   PREÇO
   ========================================================= */

.price-prefix {
    display: block;

    margin-bottom: .45rem;

    color: var(--texto-suave);

    font-family: "Noto Sans", sans-serif;
    font-size: .73rem;
    font-weight: 500;
    letter-spacing: .02em;

    text-align: center;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .2rem;

    width: auto;

    margin: 0 auto 1.5rem;

    color: var(--cor-principal);

    font-family: "Roboto Slab", serif;
    font-size: 2.45rem;
    font-weight: 600;
    line-height: 1;
}

.trimestral .price {
    color: var(--cor-principal);
}

.anual .price {
    color: var(--cor-secundaria);
}

.price > span:not(.price-prefix) {
    color: var(--texto-secundario);

    font-family: "Noto Sans", sans-serif;
    font-size: .78rem;
    font-weight: 400;
}


/* =========================================================
   BOTÃO
   ========================================================= */

.plan-footer .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 48px;

    padding: 12px 18px;

    border: 1px solid var(--cor-principal);
    border-radius: 5px;

    background: var(--cor-principal);

    color: #FFFFFF;

    font-family: "Noto Sans", sans-serif;
    font-size: .88rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.plan-footer .btn-primary:hover {
    background: #123F4E;
    border-color: #123F4E;
}


/* Botão do anual */

.anual .plan-footer .btn-primary {
    background: var(--cor-secundaria);
    border-color: var(--cor-secundaria);
}

.anual .plan-footer .btn-primary:hover {
    background: #5C1713;
    border-color: #5C1713;
}


/* ==================================================
   CATÁLOGO — BANNER
================================================== */
.catalog-banner {
    position: relative;
    height: 40em;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.85) 50%,
            rgba(0, 0, 0, 0.80) 80%,
            rgba(0, 0, 0, 0.80) 100%);
}


.catalog-banner-content {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 700px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #FFFFFF;
    text-align: center;
}

.catalog-banner-content h2 {
    margin-bottom: 18px;
    color: #FFFFFF;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.catalog-banner-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, .92);
    font-size: 1rem;
}

.catalog-link {
    display: inline-block;
    margin-top: 1rem;

    color: #FFFFFF;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;

    opacity: .9;

    transition: opacity .2s ease;
}

.catalog-link:hover {
    opacity: 1;
}

/* ==================================================
   RESPONSIVIDADE — BASE
================================================== */
@media (max-width: 1100px) {
    :root {
        --header-height: 74px;
    }

    .container {
        width: min(92%, var(--container));
    }

    .header .container {
        height: var(--header-height);
    }

    .nav {
        gap: 1.4rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    .header .container {
        height: var(--header-height);
    }

    .about-logo img {
        width: 78px;
    }

    .logo-text {
        margin-left: 8px;
    }

    .main-title {
        font-size: 1.25rem;
    }

    .subtitle {
        font-size: .78rem;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 10px;
        background: transparent;
        color: #FFFFFF;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1002;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, .1);
    }

    .mobile-menu {
        display: flex;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.2rem;
        padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
        background: var(--cor-principal);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none;
        transition:
            opacity var(--transition),
            visibility var(--transition);
        z-index: 1001;
    }

    .header.menu-open .mobile-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu a {
        width: auto;
        color: #FFFFFF;
        font-size: 1.15rem;
        font-weight: 700;
        text-align: center;
    }

    .mobile-menu a:hover {
        color: #FFFFFF;
        opacity: .8;
    }

    .hero {
        min-height: 100svh;
        height: 100svh;
    }

    .hero-content {
        text-align: left;
    }

    .hero-content h1 {
        max-width: none;
        font-size: 2rem;
        margin-bottom: 120px;
    }

    .hero-subtitle {
        max-width: none;
        font-size: 1.25rem;
        margin-bottom: 50px;
    }

    .catalog-banner {
        min-height: 520px;
        height: 520px;
    }

    .catalog-banner-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(90%, var(--container));
    }

    .about-logo img {
        width: 68px;
    }

    .logo-text {
        margin-left: 8px;
    }

    .nav {
        gap: .8rem;
    }

    .nav a {
        font-size: .78rem;
    }

    .btn-primary {
        width: 100%;
        padding: 13px 20px;
    }

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

    .hero-image {
        width: 100vh;
        height: 100vw;
        max-width: none;
        max-height: none;
        position: absolute;
        top: 50%;
        left: 50%;
        object-fit: cover;
        transform: translate(-50%, -50%) rotate(90deg);
        transform-origin: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .catalog-banner-content h2 {
        font-size: 1.8rem;
    }
}

/* ==================================================
   INÍCIO - RESPONSIVIDADE
================================================== */
@media (max-width: 1100px) {
    .steps-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-grid {
        gap: 2rem;
    }

    .plans-grid {
        gap: 1rem;
    }

    .plan-content {
        padding: 1.6rem 1.4rem 1.4rem;
    }

    .plan-footer {
        padding: 1.2rem 1.4rem 1.5rem;
    }

    .plan-content li {
        font-size: .9rem;
    }

    .price {
        font-size: 2.35rem;
    }
}

@media (max-width: 768px) {
    .especial {
        max-width: 100%;
    }

    .slogan {
        max-width: 100%;
        font-size: 1.6rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .about {
        min-height: auto;
        padding: 50px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image img {
        height: 22em;
    }

    .about-content {
        max-width: none;
    }

    .about-content h2 {
        font-size: 1.9rem;
    }

    .plans {
        padding: 50px 0 60px;
    }

    .plans h2 {
        margin-bottom: 2.2rem;
        font-size: 1.8rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .plan-card {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }

    .plan-card.anual {
        transform: none;
    }

    .plan-card.anual:hover {
        transform: translateY(-5px);
    }

    .plan-content {
        padding: 1.8rem 2rem 1.5rem;
    }

    .plan-footer {
        padding: 1.3rem 2rem 1.8rem;
    }


}

@media (max-width: 480px) {
    .slogan {
        font-size: 1.45rem;
    }

    .step-card {
        padding: 1.8rem 1.3rem;
    }

    .about-image img {
        height: 19em;
    }

    .about-content h2 {
        font-size: 1.7rem;
    }

        .plans {
        padding: 40px 0 50px;
    }

    .plans h2 {
        margin-bottom: 1.8rem;
        font-size: 1.6rem;
    }

    .plans-grid {
        gap: 1.2rem;
    }

    .plan-content {
        padding: 1.5rem 1.3rem 1.3rem;
    }

    .plan-content h3 {
        font-size: 1.4rem;
    }

    .plan-content > span {
        margin-bottom: 1.4rem;
    }

    .plan-content li {
        padding-left: 27px;
        font-size: .88rem;
    }

    .plan-footer {
        padding: 1.2rem 1.3rem 1.5rem;
    }

    .price {
        font-size: 2.15rem;
    }

    .plan-footer .btn-primary {
        padding: 13px 15px;
    }
}

/* ==================================================
   BUSCA DO CATÁLOGO
================================================== */

.catalog-search-section {
    padding:
        calc(var(--header-height) + 1rem) 0 1rem;
    background: var(--fundo-principal);
}

.catalog-search {
    width: min(100%, 1100px);
    margin: 0 auto;
}

/* ==================================================
   CATÁLOGO - CARREGAMENTO
================================================== */
.catalogo-loading {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    color: var(--cor-principal);
    text-align: center;
}

.catalogo-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.catalogo-loading-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #E1E5E7;
    border-top-color: var(--cor-auxiliar);
    border-radius: 50%;
    animation: catalogoSpinner .8s linear infinite;
}

.catalogo-loading-text {
    color: #68757D;
    font-size: .95rem;
}

@keyframes catalogoSpinner {
    to {
        transform: rotate(360deg);
    }
}

.catalogo-carregando .catalog-section {
    display: none;
}

.catalogo-carregando .footer {
    display: none;
}

.catalogo-carregando .catalogo-loading {
    display: flex;
}

.catalogo-carregado .catalogo-loading {
    display: none;
}

/* ==================================================
   CATÁLOGO - BUSCA
================================================== */
.catalog-search {
    width: min(100%, 1100px);
    display: flex;
    align-items: center;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .12);
}

/* ==================================================
   CATÁLOGO - FILTRO
================================================== */
#categoryFilter {
    min-width: 220px;
    padding: 1rem 1.2rem;
    border: none;
    border-right: 1px solid #E1E5E7;
    border-radius: 14px 0 0 14px;
    background: #F3F4F6;
    color: var(--cor-principal);
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition:
        background var(--transition),
        color var(--transition);
}

#categoryFilter:hover {
    background: #EDEFF0;
}

#categoryFilter:focus,
#categoryFilter:focus-visible {
    outline: none;
    box-shadow: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: #E1E5E7;
    background: #FFFFFF;
}

/* ==================================================
   CATÁLOGO - CAMPO DE BUSCA
================================================== */
#searchInput {
    flex: 1;
    min-width: 0;
    padding: 1rem 1.2rem;
    border: none;
    background: #FFFFFF;
    color: var(--cor-principal);
    font-size: 1rem;
    outline: none;
}

#searchInput::placeholder {
    color: #9BA6AD;
}

/* ==================================================
   CATÁLOGO - BOTÃO DE BUSCA
================================================== */
#searchButton {
    width: 70px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
    border-radius: 0 14px 14px 0;
    background: var(--cor-principal);
    color: #FFFFFF;
    font-size: 1.15rem;
    cursor: pointer;
    transition:
        background var(--transition),
        transform var(--transition);
}

#searchButton:hover {
    background: var(--cor-auxiliar);
}

#searchButton:active {
    transform: scale(.96);
}

#searchButton:focus,
#searchButton:focus-visible {
    outline: none;
    box-shadow: none;
}

/* ==================================================
   CATÁLOGO - LIMPAR BUSCA
================================================== */
.clear-search-btn {
    margin-top: 2rem;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--cor-auxiliar);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        color var(--transition),
        opacity var(--transition);
}

.clear-search-btn:hover {
    color: var(--cor-coadjuvante);
}

/* ==================================================
   CATÁLOGO - SEÇÃO
================================================== */
.catalog-section {
    padding: 1rem 0;
}

.catalog-section+.catalog-section {
    padding-top: 0;
    margin-top: -1.5rem;
}

/* ==================================================
   CATÁLOGO - CABEÇALHO DA SEÇÃO
================================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: .75rem;
}

.section-header h2 {
    margin: 0;
    color: var(--cor-principal);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
}

.section-header p {
    margin-top: 2rem;
}

/* ==================================================
   CATÁLOGO - CARROSSEL
================================================== */
.carousel-wrapper {
    position: relative;
}

.books-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding:
        .25rem .25rem 1rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.books-carousel::-webkit-scrollbar {
    display: none;
}

/* ==================================================
   CATÁLOGO - BOTÕES DO CARROSSEL
================================================== */
.carousel-btn {
    position: absolute;
    top: 40%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: none;
    border-radius: 50%;
    background:
        rgba(29, 46, 69, .92);
    color: #FFFFFF;
    font-size: 1rem;
    z-index: 5;
    cursor: pointer;
    box-shadow:
        0 6px 18px rgba(0, 0, 0, .14);
    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.carousel-btn:hover {
    background: var(--cor-principal);
    transform:
        translateY(-50%) scale(1.06);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, .18);
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}

/* ==================================================
   CATÁLOGO - CARD
================================================== */
.book-card {
    flex:
        0 0 180px;
    width: 180px;
    min-width: 180px;
    color: inherit;
    text-decoration: none;
    transition:
        transform var(--transition);
}

.book-card:hover {
    transform: translateY(-5px);
}

/* ==================================================
   CATÁLOGO - CAPA DO LIVRO
================================================== */
.book-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 0.6709;
    overflow: hidden;
    background: transparent;
    border-radius: 0px;
}

.book-tag {
    position: absolute;
    top: 12px;
    right: -32px;
    z-index: 2;
    padding:
        5px 34px;
    background:
        var(--fundo-principal);
    color:
        var(--cor-principal);
    font-size:
        .7rem;
    font-weight:
        700;
    line-height:
        1;
    white-space:
        nowrap;
    transform:
        rotate(45deg);
    box-shadow:
        0 3px 8px rgba(0, 0, 0, .18);
    pointer-events:
        none;
}

.book-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    transition:
        transform .4s ease,
        filter .4s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.025);
    filter:
        drop-shadow(0 12px 18px rgba(0, 0, 0, .14));
}

/* ==================================================
   CATÁLAGO - TÍTULO DO LIVRO
================================================== */
.book-title {
    margin-top: .4rem;
    color: var(--cor-principal);
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ==================================================
   CATÁLAGO - AUTOR
================================================== */
.book-author {
    margin-top: .3rem;
    color: var(--texto-secundario);
    font-size: .9rem;
    line-height: 1.4;
}

/* ==================================================
   CATÁLAGO - RESULTADOS DA BUSCA
================================================== */
.search-results-section {
    display: none;
    min-height: calc(100vh - var(--header-height) - 100px);
}

.search-results-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill,
            minmax(190px, 210px));
    justify-content: start;
    gap: 2rem;
    padding-bottom: 2rem;
}

.search-results-grid .book-card {
    width: 210px;
    min-width: 210px;
}

/* ==================================================
   CATÁLAGO - RESPONSIVIDADE
================================================== */
@media (max-width: 1100px) {
    .carousel-btn.prev {
        left: -10px;
    }

    .carousel-btn.next {
        right: -10px;
    }

    .book-card {
        flex-basis: 175px;
        width: 175px;
        min-width: 175px;
    }

    .search-results-grid {
        grid-template-columns:
            repeat(auto-fill,
                minmax(165px, 175px));
    }

    .search-results-grid .book-card {
        width: 175px;
        min-width: 175px;
    }

    .book-hero {
        grid-template-columns:
            220px minmax(0, 1fr);
        gap: 2.5rem;
    }

    .book-image img {
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .catalog-search {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    #categoryFilter {
        min-width: 0;
        width: 32%;
        flex: 0 1 32%;
        padding: 1rem 2rem 1rem .8rem;
        font-size: .9rem;
    }

    #searchInput {
        min-width: 0;
        width: auto;
        flex: 1 1 auto;
        padding: 1rem .8rem;
        font-size: .9rem;
    }

    #searchButton {
        width: 56px;
        height: 58px;
        flex-shrink: 0;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        display: none;
    }

    .carousel-btn.prev {
        left: -5px;
    }

    .carousel-btn.next {
        right: -5px;
    }

    .book-card {
        flex-basis: 170px;
        width: 170px;
        min-width: 170px;
    }

    .search-results-grid {
        grid-template-columns:
            repeat(auto-fill,
                minmax(160px, 170px));
    }

    .search-results-grid .book-card {
        width: 170px;
        min-width: 170px;
    }

    .book-page {
        padding-top:
            calc(var(--header-height) + 30px);
    }

    .book-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .book-image {
        display: flex;
        justify-content: center;
    }

    .book-image img {
        max-width: 210px;
    }

    .book-info h1 {
        font-size: 1.8rem;
    }

    .book-description {
        text-align: left;
    }

    .book-info #btnReservar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .catalog-search {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow: hidden;
        border-radius: 14px;
    }

    #categoryFilter {
        width: 32%;
        min-width: 0;
        flex: 0 1 32%;
        padding: 1rem 2rem 1rem .8rem;
        border: none;
        border-right: 1px solid #E1E5E7;
        border-radius: 14px 0 0 14px;
        font-size: .8rem;
    }

    #searchInput {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        padding: .9rem .6rem;
        font-size: .8rem;
    }

    #searchButton {
        width: 48px;
        height: 54px;
        flex-shrink: 0;
        border-radius: 0 14px 14px 0;
    }

    .section-header {
        align-items: flex-start;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .books-carousel {
        gap: 1.2rem;
    }

    .carousel-btn {
        display: none;
    }

    .book-card {
        flex: 0 0 calc((100% - 1.2rem) / 2);
        width: calc((100% - 1.2rem) / 2);
        min-width: 0;
    }

    .search-results-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .search-results-grid .book-card {
        width: 100%;
        min-width: 0;
    }

    .book-title {
        font-size: .9rem;
    }

    .book-author {
        font-size: .84rem;
    }

    .book-status {
        font-size: .76rem;
    }

    .book-image img {
        max-width: 190px;
    }

    .book-info h1 {
        font-size: 1.6rem;
    }
}

/* ==================================================
   LIVRO
================================================== */
.internal-page .header {
    background: var(--cor-principal);
}

.book-page {
    padding:
        calc(var(--header-height) + 15px) 0 1px;
    background: var(--fundo-principal);
}

.book-hero {
    display: grid;
    grid-template-columns:
        200px minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
    padding: .5rem 0;
}

.related-books {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(49, 84, 88, .12);
}

.related-books .book-cover {
    margin-bottom: .6rem;
}

/* ==================================================
   LIVRO - CAPA DO LIVRO
================================================== */
.book-hero {
    border: 0px solid rgba(49, 84, 88, .12);
    border-radius: 16px;
}

.book-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.book-image img {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 0px;
    object-fit: contain;
    background: transparent;
    box-shadow:
        0 16px 35px rgba(0, 0, 0, .18);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


/* ==================================================
   LIVRO - INFORMAÇÕES DO LIVRO
================================================== */
.book-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    height: 100%;
}

.book-category {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--cor-principal);
    opacity: .8;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.book-info h1 {
    margin:
        0 0 .5rem;
    color: var(--cor-principal);
    font-size: 2.25rem;
    line-height: 1.15;
}

.book-info .book-author {
    display: block;
    margin:
        0 0 .75rem;
    color: var(--cor-principal);
    font-size: 1.1rem;
    font-weight: 700;
    opacity: .8;
}

/* ==================================================
   LIVRO - BOTÃO RESERVAR
================================================== */
.book-actions {
    margin-top: auto;
    padding-top: 1rem;
}

.book-info #btnReservar {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 24px;

    border-radius: 10px;

    border: 2.0px solid var(--cor-principal);

    background-color: var(--cor-principal);

    color: var(--texto-claro);

    font-weight: 700;

    transition: .25s;

}

.book-info #btnReservar:disabled {
    background-color: transparent;
    color: var(--cor-principal);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#mensagemReserva {
    margin:
        .6rem 0 0;
    color: var(--texto-claro);
    font-size: .9rem;
}

/* ==================================================
   LIVRO - DESCRIÇÃO
================================================== */
.book-description {
    margin-top: 1.5rem;
    color: #4D5B63;
    line-height: 1.9;
    font-size: 1.02rem;
}

.book-description h2 {
    margin: 0 0 0.5rem;
    color: var(--cor-principal);
    font-size: 1.2rem;
    font-weight: 700;
}

.book-description p {
    margin:
        0;
}

#bookSummary.collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    max-height: none;
    overflow: hidden;
}

/* ==================================================
   LIVRO - LEIA MAIS
================================================== */
.summary-toggle {
    padding: 0;
    border: none;
    background: transparent;
    color: var(--cor-principal);
    font-size: .90rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        color .25s ease;
}

/* ==================================================
   CARREGAMENTO E ENTRADA
================================================== */
.book-page.is-loading {
    visibility: hidden;
    opacity: 0;
}

.book-loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg,
            #faf8f4,
            #f4efe6);
    opacity: 1;
    visibility: visible;
    transition:
        opacity .45s ease,
        visibility .45s ease;
}

.book-loading-screen.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.book-loading-spinner {
    width: 54px;
    height: 54px;
    border: 3px solid rgba(49, 84, 88, .12);
    border-top: 3px solid var(--cor-auxiliar);
    border-radius: 50%;
    animation: bookLoadingSpin .75s linear infinite;
}

.loading-text {
    margin-top: 18px;
    color: var(--cor-principal);
    font-size: .95rem;
    letter-spacing: .3px;
}

/* ==================================================
   ENTRADA DO CONTEÚDO
================================================== */
.book-page:not(.is-loading) {
    visibility: visible;
    opacity: 1;
}

.book-page:not(.is-loading) .book-hero {
    animation:
        bookHeroEnter .65s cubic-bezier(.22, 1, .36, 1) both;
}

.book-page:not(.is-loading) .book-image {
    animation:
        bookCoverEnter .7s cubic-bezier(.22, 1, .36, 1) .08s both;
}

.book-page:not(.is-loading) .book-info {
    animation:
        bookInfoEnter .65s cubic-bezier(.22, 1, .36, 1) .16s both;
}

.book-page:not(.is-loading) .related-books {
    animation:
        relatedBooksEnter .7s cubic-bezier(.22, 1, .36, 1) .28s both;
}

/* ==================================================
   KEYFRAMES
================================================== */
@keyframes bookLoadingSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes skeletonLoading {
    from {
        background-position: 100% 0;
    }

    to {
        background-position: -100% 0;
    }
}

@keyframes bookHeroEnter {
    from {
        opacity: 0;
        transform:
            translateY(18px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

@keyframes bookCoverEnter {
    from {
        opacity: 0;
        transform:
            translateX(-18px) scale(.97);
    }

    to {
        opacity: 1;
        transform:
            translateX(0) scale(1);
    }
}

@keyframes bookInfoEnter {
    from {
        opacity: 0;
        transform:
            translateY(14px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

@keyframes relatedBooksEnter {
    from {
        opacity: 0;
        transform:
            translateY(22px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

/* ==================================================
   ACESSIBILIDADE
================================================== */
@media (prefers-reduced-motion: reduce) {
    .book-loading-spinner {
        animation: none;
    }

    .book-loading-screen {
        transition: none;
    }

    .book-page:not(.is-loading) .book-hero,
    .book-page:not(.is-loading) .book-image,
    .book-page:not(.is-loading) .book-info,
    .book-page:not(.is-loading) .related-books {
        animation: none;
    }
}

/* ==================================================
   LIVRO - RESPONSIVIDADE
================================================== */
@media (max-width: 1100px) {
    .book-hero {
        grid-template-columns:
            250px minmax(0, 1fr);
        gap: 2.5rem;
    }

    .book-image img {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .book-hero {
        border: none;
        display: grid;
        grid-template-columns: minmax(180px, 45%) minmax(0, 1fr);
        gap: 1.5rem;
        align-items: stretch;
    }

    .book-image img {
        width: 100%;
        max-width: 280px;
    }

    .book-info {
        text-align: left;
    }

    .book-info h1 {
        font-size: 1.7rem;
    }

    .book-description {
        margin-top: 1.5rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .book-hero {
        grid-template-columns: minmax(140px, 42%) minmax(0, 1fr);
        gap: 1rem;
    }

    .book-image img {
        max-width: 240px;
    }

    .book-info h1 {
        font-size: 1.35rem;
    }

    .book-info .book-author {
        font-size: .9rem;
    }

    .book-info #btnReservar {
        width: 100%;
        min-width: 0;
        padding: 10px 12px;
    }

    .book-description {
        margin-top: 1.5rem;
    }
}

/* ==================================================
   LOGIN
================================================== */
.login {
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 1.5rem 50px;
    background:
        linear-gradient(180deg,
            rgba(29, 46, 69, .05),
            transparent 260px),
        var(--fundo-principal);
}

.login-container {
    width: 100%;
    max-width: 1040px;
    display: grid;
    grid-template-columns: 40% 60%;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .11);
}

/* ==================================================
   LOGIN - PAINEL ESQUERDO
================================================== */
.login-panel {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3.5rem 2.5rem;
    background: var(--cor-principal);
    color: #fff;
}

.login-panel-content {
    width: 100%;
    max-width: 300px;
    margin-top: 1rem;
    text-align: center;
}

.login-panel h1 {
    margin-bottom: 1rem;
    color: var(--texto-claro);
    font-size: 2rem;
}

.login-panel p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, .88);
    font-size: 1rem;
    line-height: 1.75;
}

/* ==================================================
   LOGIN - FORMULÁRIO
================================================== */
.login-form {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2.5rem;
    background: #fff;
}

.login-form-content {
    width: 100%;
    max-width: 420px;
}

.login-form h2 {
    margin-bottom: .75rem;
    color: var(--cor-principal);
    font-size: 1.7rem;
    text-align: left;
}

.login-subtitle {
    margin-bottom: 2rem;
    color: #68757D;
    line-height: 1.7;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1rem;
}

.login-form .form-group label {
    color: var(--cor-principal);
    font-size: .9rem;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #D8DEE2;
    border-radius: 12px;
    background: #fff;
    color: #24313A;
    font: inherit;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.form-group input::placeholder {
    color: #9BA6AD;
}

.form-group input:hover {
    border-color: #BBC4C8;
}

.form-group input:focus {
    outline: none;
    border-color: var(--cor-auxiliar);
    box-shadow: 0 0 0 4px rgba(0, 115, 131, .10);
}

/* ==================================================
   LOGIN - BOTÃO ENTRAR
================================================== */
.login-button {
    width: 100%;
    margin-top: .5rem;
    padding: 15px;
    border-radius: 12px;
    background: var(--cor-principal);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

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

/* ==================================================
   LOGIN - RECUPERAÇÃO DE SENHA
================================================== */
.forgot-password {
    margin-top: 1rem;
    text-align: center;
}

.forgot-password a {
    color: var(--cor-auxiliar);
    font-weight: 700;
    transition: color .25s ease;
}

.forgot-password a:hover {
    color: var(--cor-coadjuvante);
    text-decoration: underline;
}

#recoveryForm,
#resetForm {
    width: 100%;
    animation: fade .25s ease;
}

#recoveryForm .btn-primary,
#resetForm .btn-primary {
    width: 100%;
    margin-top: .5rem;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: var(--cor-principal);
}

#recoveryForm .btn-primary:hover,
#resetForm .btn-primary:hover {
    background: var(--cor-principal);
}

/* ==================================================
   LOGIN - MENSAGENS
================================================== */
.login-message {
    min-height: 24px;
    margin-top: 1rem;
    color: var(--cor-coadjuvante);
    font-size: .9rem;
    text-align: center;
}

.login-footer {
    margin-top: .5rem;
    text-align: center;
    font-size: .9rem;
}

.login-footer p {
    margin-bottom: .5rem;
}

.login-footer a {
    color: var(--cor-coadjuvante);
    font-weight: 700;
    transition: color .25s ease;
}

.login-footer a:hover {
    color: var(--cor-auxiliar);
}

/* ==================================================
   LOGIN - CAMPOS DE SENHA
================================================== */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 52px;
}

.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    transform: translateY(-50%);
    background: transparent;
    color: #60707A;
    cursor: pointer;
    transition: color .25s ease;
}

.password-wrapper .toggle-password:hover {
    color: var(--cor-auxiliar);
}

.password-wrapper .toggle-password:focus {
    outline: none;
    color: var(--cor-auxiliar);
}

.password-requirements {
    display: grid;
    gap: 6px;
    margin: 15px 0 25px;
}

.password-requirements small {
    color: #68757D;
    transition: color .2s ease;
}

.password-requirements .ok {
    color: #198754;
}

.password-requirements .erro {
    color: #C0392B;
}

/* ==================================================
   LOGIN - RESPONSIVIDADE
================================================== */
@media (max-width: 760px) {
    .login {
        min-height: 100vh;
        padding: 20px 1rem 40px;
        align-items: flex-start;
    }

    .login-container {
        grid-template-columns: 1fr;
        max-width: 520px;
        border-radius: 18px;
    }

    .login-panel {
        padding: 2.5rem 2rem;
    }

    .login-panel-content {
        max-width: 100%;
        margin-top: 0;
    }

    .login-panel h1 {
        font-size: 1.8rem;
    }

    .login-panel p {
        font-size: .9rem;
        line-height: 1.6;
    }

    .login-form {
        padding: 2.5rem 2rem;
    }

    .login-form-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .login {
        padding: 15px .75rem 30px;
    }

    .login-container {
        border-radius: 15px;
    }

    .login-panel {
        padding: 2rem 1.25rem;
    }

    .login-panel h1 {
        font-size: 1.6rem;
    }

    .login-panel p {
        font-size: .88rem;
        line-height: 1.55;
    }

    .login-form {
        padding: 2rem 1.25rem;
    }

    .login-form h2 {
        font-size: 1.5rem;
    }

    .login-subtitle {
        font-size: .9rem;
        line-height: 1.6;
    }

    .form-group input {
        padding: 13px 14px;
    }

    .login-button {
        padding: 14px;
    }
}

/* ==================================================
   MINHA CONTA
================================================== */
.minhaconta {
    min-height: 100vh;
    background: var(--fundo-principal);
}

.minhaconta .secao {
    padding: 5px;
    margin: 10px 0 8px;
}

.minhaconta-header {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.minhaconta-header-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.minhaconta-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, .18),
            rgba(28, 46, 53, .70));
}

.perfil-hero {
    position: relative;
    z-index: 5;
    width: min(92%, var(--container));
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.perfil-info {
    margin-top: -10px;
}

.perfil-info h1 {
    color: #fff;
    font-size: 2.4rem;
}

.perfil-info p {
    color: #fff;
    opacity: .95;
    font-size: .95rem;
}

.perfil-avatar {
    position: absolute;
    bottom: 15px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, .35);
    background: linear-gradient(135deg,
            var(--cor-principal),
            var(--cor-auxiliar));
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
}

/* ==================================================
   MINHA CONTA - MENU
================================================== */
.conta-menu {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #E7E7E7;
}

.conta-menu a {
    padding: 12px 24px;
    border-bottom: 3px solid transparent;
    color: #5E6C71;
    font-weight: 600;
    transition: color .25s ease, border-color .25s ease;
}

.conta-menu a:hover {
    color: var(--cor-principal);
}

.conta-menu .active {
    border-color: var(--cor-principal);
    color: var(--cor-principal);
}

/* ==================================================
   MINHA CONTA - SEÇÕES
================================================== */
.secao-header {
    margin-bottom: 10px;
}

.secao-header h2 {
    margin-bottom: 1px;
    color: var(--cor-principal);
    font-size: 1.4rem;
}

.secao-header p {
    color: #78868C;
    font-size: .9rem;
}

.dados-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 8px;
}

.campo {
    display: flex;
    flex-direction: column;
}

.campo-full {
    grid-column: 1 / -1;
}

.campo label {
    margin-bottom: 10px;
    color: var(--cor-auxiliar);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.campo span {
    display: flex;
    align-items: center;
    min-height: 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid #D9E1E4;
    color: #46555A;
    font-size: .95rem;
    font-weight: 600;
}

/* ==================================================
   MINHA CONTA - HISTÓRICO E RESERVAS
================================================== */
.lista-livros {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
}

.lista-livros>p {
    grid-column: 1 / -1;
    color: var(--texto-secundario);
}

.historico-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    width: 100%;
    padding: 3rem 1rem;
    box-sizing: border-box;
    color: #68757D;
    font-size: .9rem;
}

.historico-card {
    position: relative;
    width: 100%;
}

.historico-card .card-data {
    margin-top: .35rem;
    color: var(--texto-secundario);
    font-size: .85rem;
}

.historico-card .btn-cancelar {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #ffffffdd;
    backdrop-filter: blur(4px);
    color: var(--erro);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

/* ==================================================
   MINHA CONTA - CONFIGURAÇÕES
================================================== */
.configuracoes-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 760px;
}

.configuracao-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid #D9E1E4;
}

.configuracao-info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.configuracao-icone {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(49, 84, 88, .08);
    color: var(--cor-principal);
    font-size: 1.15rem;
}

.configuracao-info h3 {
    margin-bottom: 3px;
    color: var(--cor-principal);
    font-size: 1rem;
    font-weight: 700;
}

.configuracao-info p {
    margin: 0;
    color: #78868C;
    font-size: .88rem;
    line-height: 1.5;
}

.btn-configuracao {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 105px;
    padding: 9px 15px;
    border: 1px solid var(--cor-principal);
    border-radius: 8px;
    background: transparent;
    color: var(--cor-principal);
    font-size: .85rem;
    font-weight: 700;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.btn-configuracao:hover {
    background: var(--cor-principal);
    color: #fff;
}

.btn-cancelar-assinatura {
    border-color: var(--erro);
    color: var(--erro);
}

.btn-cancelar-assinatura:hover {
    background: var(--erro);
    color: #fff;
}

/* ==================================================
   MINHA CONTA - RESPONSIVIDADE
================================================== */
@media (max-width: 768px) {
    .minhaconta-header {
        height: 280px;
    }

    .perfil-hero {
        width: min(92%, var(--container));
        padding: 0 20px;
    }

    .perfil-info {
        margin-top: -15px;
        padding: 0 10px;
    }

    .perfil-info h1 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .perfil-info p {
        font-size: .9rem;
        line-height: 1.4;
    }

    .perfil-avatar {
        bottom: 12px;
        width: 76px;
        height: 76px;
        font-size: 2rem;
    }

    .conta-menu {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .conta-menu::-webkit-scrollbar {
        display: none;
    }

    .conta-menu a {
        flex: 0 0 auto;
        padding: 12px 18px;
        font-size: .9rem;
    }

    .minhaconta .secao {
        padding: 10px 0;
        margin: 8px 0;
    }

    .secao-header {
        margin-bottom: 14px;
    }

    .secao-header h2 {
        font-size: 1.3rem;
    }

    .secao-header p {
        font-size: .85rem;
        line-height: 1.5;
    }

    .dados-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 14px;
    }

    .campo-full {
        grid-column: auto;
    }

    .campo label {
        margin-bottom: 7px;
    }

    .campo span {
        padding-bottom: 7px;
    }

    .card-historico {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 14px;
        padding: 12px 0;
    }

    .card-titulo {
        min-width: 0;
        line-height: 1.4;
    }

    .card-data {
        font-size: .78rem;
    }

    .card-status {
        grid-column: 1;
        font-size: .78rem;
    }

    .btn-cancelar {
        grid-column: 2;
        grid-row: 2;
    }

    .configuracao-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 16px 0;
    }

    .configuracao-info {
        align-items: flex-start;
    }

    .configuracao-info p {
        font-size: .84rem;
    }

    .btn-configuracao {
        align-self: flex-start;
        margin-left: 58px;

    }
}

@media (max-width: 480px) {
    .minhaconta-header {
        height: 250px;
    }

    .perfil-hero {
        width: 100%;
        padding: 0 16px;
    }

    .perfil-info {
        max-width: 100%;
        padding: 0 8px;
    }

    .perfil-info h1 {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    .perfil-info p {
        max-width: 280px;
        margin: 6px auto 0;
        font-size: .82rem;
        line-height: 1.45;
    }

    .perfil-avatar {
        bottom: 10px;
        width: 68px;
        height: 68px;
        border-width: 3px;
        font-size: 1.8rem;
    }

    .conta-menu a {
        padding: 11px 15px;
        font-size: .82rem;
    }

    .minhaconta .secao {
        padding: 10px 0;
        margin: 6px 0;
    }

    .secao-header h2 {
        font-size: 1.2rem;
    }

    .secao-header p {
        font-size: .82rem;
    }

    .dados-grid {
        row-gap: 13px;
    }

    .campo label {
        font-size: .68rem;
    }

    .campo span {
        font-size: .9rem;
    }

    .card-historico {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px 10px;
    }

    .card-titulo {
        font-size: .88rem;
        overflow-wrap: anywhere;
    }

    .card-data {
        font-size: .74rem;
    }

    .card-status {
        font-size: .74rem;
    }
}

/* ==================================================
   ASSINATURA
================================================== */
.checkout {
    min-height: 100vh;
    padding: 20px 20px 50px;
    background:
        radial-gradient(circle at top left,
            rgba(255, 255, 255, .08),
            transparent 35%),
        var(--cor-principal);
}

/* ==================================================
   ASSINATURA - LOGO
================================================== */
.checkout-logo {
    font-weight: bolder;
    font-size: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 20px;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.checkout>.about-logo {
    justify-content: center;
    margin-bottom: 30px;
}

/* ==================================================
   ASSINATURA - LOADING INICIAL
================================================== */

#loading-assinatura {

    min-height: calc(100vh - 90px);

    display: flex;

    align-items: center;

    justify-content: center;

}

.loading-spinner {

    width: 42px;
    height: 42px;

    border: 4px solid rgba(255, 255, 255, 0.25);

    border-top-color: #ffffff;

    border-radius: 50%;

    animation: loading-spin 0.8s linear infinite;

}

@keyframes loading-spin {

    to {

        transform: rotate(360deg);

    }

}

.checkout-container {

    display: none;

}

.checkout.loaded .checkout-container {

    display: block;

}

/* ==================================================
   ASSINATURA - ETAPAS
================================================== */
.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}

.checkout-step[data-step="1"]>.btn-checkout {
    margin-top: 2rem;
}

/* ==================================================
   ASSINATURA - ESTRUTURA
================================================== */
.checkout-container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.checkout-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==================================================
   ASSIATURA - PLANOS
================================================== */
.plan-assinatura {
    position: sticky;
    top: 30px;
    padding: 30px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 24px;
    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .11),
            rgba(255, 255, 255, .04));
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
    backdrop-filter: blur(12px);
}

.plan-label {
    display: block;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .7);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

#plano-nome {
    margin: 0 0 14px;
    color: #fff;
    font-family: "Roboto Slab", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

#plano-descricao {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
}

.plan-price {
    margin: 28px 0 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.price-value {
    display: block;
    color: #fff;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1;
}

.plan-beneficios {
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan-beneficios li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, .9);
    line-height: 1.5;
}

.plan-beneficios li:last-child {
    margin-bottom: 0;
}

.plan-beneficios i {
    flex-shrink: 0;
    margin-top: 4px;
    color: #8fd0c8;
}

/* ==================================================
   ASSINATURA - CARDS
================================================== */
#assinatura-form,
#pagamento-box {
    padding: 20px;
    border: 1px solid rgba(29, 46, 69, .06);
    border-radius: 24px;
    background: #FAFAF8;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}

#pagamento-box {
    display: none;
}

/* ==================================================
   ASSINATURA - TÍTULOS
================================================== */
#assinatura-form h2,
#assinatura-form h3,
#pagamento-box h2,
#pagamento-box h3 {
    color: #24313A;
    font-family: "Roboto Slab", serif;
    font-weight: 700;
}

#assinatura-form h3 {
    margin-bottom: 20px;
    font-size: 20px;
    opacity: 0.8;
}

#pagamento-box h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    line-height: 1.2;
}

/* ==================================================
   ASSINATURA - FORMULÁRIO
================================================== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-grid-single {
    grid-template-columns: 1fr;
}

/* ==================================================
   ASSINATURA - CAMPOS
================================================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 0;
}

.form-group label {
    color: var(--cor-secundaria);
    font-size: .9rem;
    font-weight: 600;
}

.form-control,
.form-select,
.form-group input {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid #D8DEE2;
    border-radius: 14px;
    background: #fff;
    color: #24313A;
    font: inherit;
    font-size: .95rem;
    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.form-control::placeholder,
.form-group input::placeholder {
    color: #9BA6AD;
}

.form-control:hover,
.form-select:hover,
.form-group input:hover {
    border-color: #BBC4C8;
}

.input-group:focus-within {
    border-radius: 14px;
    box-shadow: 0 0 0 4px rgba(0, 115, 131, .10);
}

.input-group:focus-within .input-group-text,
.input-group:focus-within .prefixo,
.input-group:focus-within .form-control,
.input-group:focus-within .form-select {
    border-color: var(--cor-auxiliar);
}

.input-group:focus-within .input-group-text {
    color: var(--cor-auxiliar);
}

.form-control:focus,
.form-select:focus,
.form-group input:focus {
    outline: none;
    box-shadow: none;
}

/* ==================================================
   ASSINATURA - ÍCONES
================================================== */
.input-group {
    position: relative;
    display: flex;
    width: 100%;
}

.input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    min-width: 52px;
    min-height: 54px;
    border: 1px solid #D8DEE2;
    border-right: none;
    border-radius: 14px 0 0 14px;
    background: #fff;
    color: #60707A;
    font-size: 1.1rem;
}

.prefixo {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 12px;
    border-top: 1px solid #D8DEE2;
    border-bottom: 1px solid #D8DEE2;
    background: #fff;
    color: #60707A;
    font-size: .95rem;
    font-weight: 500;
    white-space: nowrap;
}

.input-group .form-control,
.input-group .form-select {
    flex: 1;
    min-width: 0;
    border-left: none;
    border-radius: 0 14px 14px 0;
}

/* ==================================================
   ASSINATURA - SENHA
================================================== */
.input-group .toggle-password {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    color: #60707A;
    cursor: pointer;
    transition: color .2s ease;
}

.toggle-password:hover,
.toggle-password:focus {
    color: var(--cor-auxiliar);
}

.toggle-password:focus {
    outline: none;
}

.password-requirements {
    display: grid;
    gap: 6px;
    margin: 16px 0 28px;
}

.password-requirements small {
    color: #68757D;
}

.terms {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 28px 0;
    color: #58646C;
    font-size: .82rem;
    line-height: 1.5;
}

.terms input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--cor-auxiliar);
}

.terms a {
    color: var(--cor-auxiliar);
    font-weight: 600;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* ==================================================
   ASSINATURA - PAGAMENTO
================================================== */
.pagamento-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pix-texto {
    margin: 0;
    color: #5F6B73;
    line-height: 1.6;
}

.pix-copia {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pix-copia input {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #D8DEE2;
    border-radius: 14px;
    background: #fff;
    color: #24313A;
    font-size: .92rem;
}

.pix-copia input:focus {
    outline: none;
    border-color: var(--cor-auxiliar);
    box-shadow: 0 0 0 4px rgba(0, 115, 131, .10);
}

#copiar-pix {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 54px;
    padding: 0 22px;
    border: none;
    border-radius: 14px;
    background: var(--cor-auxiliar);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition:
        transform .25s ease,
        filter .25s ease;
}

#copiar-pix:hover {
    filter: brightness(.95);
    transform: translateY(-2px);
}

.qr-code {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.qr-code img {
    width: 220px;
    max-width: 100%;
    padding: 18px;
    border: 1px solid #E3E7EA;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

/* ==================================================
   ASSINATURA - COMPROVANTE
================================================== */
.envio-comprovante {
    margin-top: 36px;
    padding: 28px;
    border: 1px solid #E6EAED;
    border-radius: 20px;
    background: #fff;
}

.envio-comprovante h2 {
    margin-bottom: 10px;
}

.envio-comprovante p {
    margin-bottom: 22px;
    color: #5F6B73;
    line-height: 1.6;
}

#arquivo-comprovante {
    width: 100%;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px dashed #C8D1D6;
    border-radius: 14px;
    background: #FAFAFA;
    cursor: pointer;
    transition:
        border-color .25s ease,
        background .25s ease;
}

#arquivo-comprovante:hover {
    border-color: var(--cor-auxiliar);
    background: #fff;
}

/* ==================================================
   ASSINATURA - MENSAGEM DE SUCESSO
================================================== */
.mensagem-sucesso {
    display: none;
    padding: 35px 30px;
    border: 1px solid #BDE6C7;
    border-radius: 20px;
    background: #F1FBF4;
    text-align: center;
}

.mensagem-sucesso i {
    display: block;
    margin-bottom: 15px;
    color: #198754;
    font-size: 56px;
}

.mensagem-sucesso h3 {
    margin-bottom: 15px;
}

.mensagem-sucesso p {
    margin-bottom: 25px;
    color: #4E5A61;
}

/* ==================================================
   ASSINATURA - BOTÃO DE FINALIZAÇÃO
================================================== */
.checkout-step-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.checkout-step-actions .btn-checkout {
    flex: 1;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
    border: none;
    border-radius: 14px;
    background: var(--cor-principal);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}

.btn-checkout i {
    margin-right: 8px;
}

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

.btn-checkout:active {
    transform: translateY(0);
}

.btn-checkout:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-voltar {
    background: transparent;
    color: var(--cor-principal);
    border: 1px solid var(--cor-principal);
}

.btn-voltar:hover {
    background: var(--cor-principal);
    color: #FFFFFF;
}

/* ==================================================
   ASSINATURA - RESPONSIVIDADE
================================================== */
@media (max-width: 1000px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .plan-assinatura {
        position: relative;
        top: auto;
    }

    .checkout-content {
        gap: 20px;
    }
}

@media (max-width: 700px) {
    .checkout {
        padding: 25px 14px 40px;
    }

    .checkout>.about-logo {
        justify-content: left;
        margin-bottom: 20px;
    }

    .checkout-layout {
        gap: 18px;
    }

    .plan-assinatura,
    #assinatura-form,
    #pagamento-box {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1;
    }

    .pix-copia {
        flex-direction: column;
        align-items: stretch;
    }

    .pix-copia input,
    #copiar-pix {
        width: 100%;
    }

    #copiar-pix {
        height: 52px;
    }

    .envio-comprovante {
        padding: 22px 18px;
    }
}

@media (max-width: 480px) {
    .checkout {
        padding-right: 10px;
        padding-left: 10px;
    }

    .checkout-logo {
        font-size: 1.5em;
    }

    .plan-assinatura,
    #assinatura-form,
    #pagamento-box {
        padding: 20px 16px;
    }

    #plano-nome,
    .price-value {
        font-size: 2rem;
    }

    .terms {
        font-size: .78rem;
        align-items: flex-start;
    }

    .qr-code img {
        width: 190px;
    }
}

/* ==================================================
   FOOTER
================================================== */
.footer {
    background: var(--fundo-principal);
    color: var(--cor-principal);
    margin-top: 0;
}

.footer-main {
    padding: 0.1rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 0 5rem;
    position: relative;
}

/* ==================================================
   FOOTER — COLUNAS
================================================== */
.footer-column {
    min-width: 0;
    padding: 20px;
}

.footer-column h3 {
    margin-bottom: 1.2rem;
    color: var(--cor-principal);
    font-family: "Roboto Slab", serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.footer-column p {
    color: var(--cor-principal);
    opacity: .82;
    line-height: 1.7;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin: 0;
}

.footer-column a {
    display: inline-block;
    color: var(--cor-principal);
    opacity: .82;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--cor-principal);
    opacity: .82;
    padding-left: .3rem;
}

/* ==================================================
   FOOTER — LOGO CENTRAL
================================================== */
.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin: auto;
}

.footer-logo {
    width: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer-logo img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-title {
    color: var(--cor-principal);
    font-family: "Roboto Slab", serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
}

.footer-logo-subtitle {
    color: var(--cor-principal);
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.2;
}

.footer-description {
    max-width: 280px;
    margin: 1rem 0 0;
    color: var(--cor-principal);
    opacity: .82;
    font-size: .9rem;
    line-height: 1.6;
}

/* ==================================================
   FOOTER — CONTATO
================================================== */
.footer-contact {
    text-align: right;
    position: relative;
}

.footer-email {
    color: var(--cor-principal);
    font-size: .85rem;
    font-weight: 700;
    opacity: .85;
}

.footer-contact+.footer-email {
    position: static;
    grid-column: 3;
    grid-row: 2;
    width: 100%;
    margin: -4rem 0 0;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: right;
    white-space: nowrap;
}

/* ==================================================
   FOOTER — REDES SOCIAIS
================================================== */
.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cor-principal);
    color: var(--fundo-principal);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--cor-principal);
    color: var(--fundo-principal);
    transform: translateY(-4px);
}

/* ==================================================
   FOOTER — LINHA INFERIOR
================================================== */
.footer-bottom {
    color: var(--cor-principal);
    padding: 0;
    font-size: .85rem;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding: 1.2rem 0;
    border-top: 1px solid var(--borda);
}

.footer-bottom p {
    margin: 0;
    color: var(--cor-principal);
}

.footer-bottom span {
    color: var(--cor-principal);
}

/* ==================================================
   FOOTER - RESPONSIVIDADE
================================================== */

@media (max-width: 768px) {

    .footer-main {
        padding: 1.5rem 0;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "links"
            "contact"
            "email";

        width: 100%;
        max-width: 100%;
        padding-inline: 1.5rem;
        box-sizing: border-box;
        row-gap: 2rem;
    }

    .footer-column {
        min-width: 0;
        padding: 0;
    }

    /* =========================
       ENDEREÇO
    ========================= */

    .footer-links {
        grid-area: links;
        text-align: center;
    }

    .footer-links h3 {
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-links ul {
        align-items: center;
        text-align: center;
    }

    /* =========================
       FALE CONOSCO
    ========================= */

    .footer-contact {
        grid-area: contact;
        min-width: 0;
        padding: 0;
        text-align: center;
    }

    .footer-contact h3 {
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-social {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: .8rem;
        margin-top: 0;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    /* =========================
       E-MAIL
    ========================= */

    .footer-contact+.footer-email {
        grid-area: email;
        position: static;
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;

        box-sizing: border-box;

        color: var(--cor-principal);
        font-size: .8rem;
        font-weight: 700;
        line-height: 1.5;
        text-align: center;

        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }

    /* =========================
       LOGO CENTRAL OCULTO
    ========================= */

    .footer-center {
        display: none;
    }

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

    .footer-bottom .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: .5rem;
        text-align: center;
    }
}


@media (max-width: 480px) {

    .footer-main {
        padding: 1.2rem 0;
    }

    .footer-grid {
        row-gap: 1.5rem;
        padding-inline: 1rem;
    }

    .footer-column h3 {
        font-size: 1rem;
        margin-bottom: .8rem;
    }

    .footer-column ul {
        gap: .5rem;
    }

    .footer-column a {
        font-size: .8rem;
    }

    .footer-contact h3 {
        font-size: 1rem;
    }

    .footer-social {
        gap: .6rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
    }

    .footer-contact+.footer-email {
        font-size: .7rem;
        line-height: 1.5;
    }

    .footer-bottom {
        font-size: .75rem;
    }
}

/* ==================================================
   ANIMAÇÕES GLOBAIS
================================================== */
.card,
.book-card,
.plan-card,
.account-card {
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.card:hover,
.account-card:hover {
    box-shadow: var(--shadow-md);
}

img {
    transition: transform .45s ease;
}

a {
    transition:
        color var(--transition),
        opacity var(--transition);
}

button {
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}