@charset "UTF-8";

/*
 * Camada visual 2026
 * Mantém a estrutura e os fluxos legados, mas centraliza o acabamento atual.
 */

:root {
    --ink: #172522;
    --ink-soft: #52625e;
    --forest: #163f3a;
    --forest-deep: #0d2926;
    --teal: #287f78;
    --teal-bright: #3da49a;
    --sand: #d8b980;
    --cream: #f7f3eb;
    --paper: #fffdf9;
    --line: rgba(23, 37, 34, .12);
    --danger: #b43a3a;
    --success: #237b52;
    --shadow-sm: 0 10px 30px rgba(18, 40, 36, .08);
    --shadow-md: 0 24px 70px rgba(12, 35, 31, .14);
    --radius-sm: 12px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --transition: 180ms ease;

    --primary: var(--teal);
    --secondary: #87d5cb;
    --tertiary: var(--ink);
    --quaternary: var(--success);
    --quinary: var(--danger);
    --primary-weak: rgba(40, 127, 120, .1);
    --gradient-primary: linear-gradient(135deg, var(--teal) 0%, var(--forest) 100%);
    --gradient-tertiary: linear-gradient(135deg, var(--ink) 0%, var(--forest-deep) 100%);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

html,
body {
    min-height: 100%;
    background: var(--cream);
    color: var(--ink);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    line-height: inherit;
}

*:not(input) {
    user-select: text;
}

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

a,
button,
label,
.click-menu,
.menu-user,
.question-header {
    user-select: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(61, 164, 154, .4);
    outline-offset: 3px;
}

.container-small {
    width: min(1180px, calc(100% - 48px));
    max-width: none;
}

.container-large {
    width: min(1480px, calc(100% - 48px));
}

.padding {
    padding: clamp(72px, 8vw, 120px) 0;
}

.padding-top {
    padding-top: clamp(72px, 8vw, 120px);
}

.padding-bottom {
    padding-bottom: clamp(72px, 8vw, 120px);
}

.padding-small {
    padding: clamp(36px, 4.5vw, 64px) 0;
}

.padding-top-small {
    padding-top: clamp(32px, 4vw, 56px);
}

.padding-bottom-small {
    padding-bottom: clamp(32px, 4vw, 56px);
}

.txt-big {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.12;
}

.txt-large {
    font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.txt-small {
    font-size: .9rem;
}

.txt-minuscule {
    font-size: .78rem;
}

/* Loading */
.loading {
    z-index: 2000;
    background: var(--forest-deep);
}

.loader {
    width: 58px;
    height: 58px;
    border-width: 3px;
    border-color: rgba(255, 255, 255, .25) transparent var(--paper) transparent;
}

.loader::after,
.loader::before {
    width: 38px;
    height: 38px;
    border-width: 3px;
}

.loader::before {
    width: 18px;
    height: 18px;
}

/* Header */
.header {
    height: 82px;
    background: rgba(13, 41, 38, .9);
    background-image: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 8px 40px rgba(3, 18, 16, .18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header .container-small {
    height: 100%;
    position: relative;
}

.logo,
.menu {
    height: 82px;
}

.logo a {
    color: var(--paper);
    font-size: 1.25rem;
    letter-spacing: .01em;
    text-shadow: none;
}

.menu ul {
    gap: 8px;
}

.menu ul li,
.menu ul li:first-child {
    margin-left: 0;
    text-shadow: none;
}

.menu ul li a,
.login-link {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .08em;
    transition: color var(--transition), background var(--transition), transform var(--transition);
}

.menu ul li a:hover,
.menu ul li a:focus-visible,
.login-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    transform: translateY(-1px);
}

.menu ul li a svg {
    width: 13px;
    fill: currentColor;
}

.li-login a {
    color: var(--forest-deep) !important;
    background: var(--sand) !important;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
}

.mobile-menu-toggle span,
.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: currentColor;
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle.is-open span {
    opacity: 0;
}

.mobile-menu-toggle.is-open::before {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.is-open::after {
    transform: translateY(-6px) rotate(-45deg);
}

.menu-user {
    display: inline-flex;
    width: auto;
    max-width: 230px;
    min-height: 48px;
    flex: none;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-left: 4px;
    padding: 5px 13px 5px 5px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    background: rgba(255, 255, 255, .09);
    box-shadow: inset 0 1px rgba(255, 255, 255, .05);
    color: #fff;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.menu-user:hover,
.menu-user:focus-visible,
.menu-user[aria-expanded="true"] {
    border-color: rgba(216, 185, 128, .7);
    background: rgba(255, 255, 255, .16);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.menu-user-photo {
    width: 36px;
    height: 36px;
    flex: none;
    background-color: rgba(255, 255, 255, .1);
}

.menu-user-photo img,
.foto-pop-up-menu {
    object-fit: cover;
}

.menu-user-data {
    display: block;
    min-width: 0;
    padding: 0;
    color: #fff;
    line-height: 1.2;
}

.menu-user-name {
    display: block;
    height: auto;
    overflow: hidden;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.triangle-menu {
    width: 8px;
    height: 8px;
    flex: none;
    margin: -4px 2px 0 3px;
    border: 0;
    border-right: 2px solid var(--sand);
    border-bottom: 2px solid var(--sand);
    transform: rotate(45deg);
    transition: transform var(--transition);
}

.menu-user[aria-expanded="true"] .triangle-menu {
    margin-top: 4px;
    transform: rotate(225deg);
}

.pop-up-menu {
    top: calc(100% + 8px);
    right: 0;
    width: min(300px, calc(100vw - 32px));
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow-md);
}

.header-pop-up-menu {
    width: 100%;
    padding: 24px 16px 9px;
    background-image: linear-gradient(var(--forest) calc(50% + 10px), var(--paper) calc(50% - 10px));
}

.foto-pop-up-menu {
    width: 68px;
    height: 68px;
    box-shadow: 0 0 0 4px var(--paper);
}

.nome-pop-up-menu {
    width: 100%;
    padding: 0 16px 16px;
}

.nome-pop-up-menu h4 {
    margin: 10px 0 12px;
    color: var(--ink);
    font-size: .93rem;
    font-weight: 600;
}

.nome-pop-up-menu hr {
    margin: 0 0 8px;
    background: var(--line);
}

.nome-pop-up-menu span {
    padding: 0;
    border: 0;
}

.nome-pop-up-menu span a,
.nome-pop-up-menu .logout {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 11px;
    color: var(--forest);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.nome-pop-up-menu span a:hover,
.nome-pop-up-menu span a:focus-visible,
.nome-pop-up-menu .logout:hover,
.nome-pop-up-menu .logout:focus-visible {
    background: rgba(40, 127, 120, .1);
    color: var(--forest-deep);
}

/* Hero */
.intro {
    min-height: min(790px, 92vh);
    padding-top: 82px;
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    background-position: center;
    text-shadow: none;
}

.intro::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 72% 35%, rgba(216, 185, 128, .18), transparent 34%),
        linear-gradient(90deg, rgba(6, 27, 24, .94) 0%, rgba(8, 31, 28, .8) 48%, rgba(8, 31, 28, .55) 100%);
}

.intro .container-small {
    padding-top: clamp(72px, 9vw, 130px);
    padding-bottom: clamp(72px, 9vw, 130px);
    text-align: left;
}

.hero-kicker {
    display: inline-flex !important;
    width: auto !important;
    margin-bottom: 24px;
    padding: 8px 14px;
    border: 1px solid rgba(216, 185, 128, .48);
    border-radius: 999px;
    color: #ead7b2;
    font-family: "Poppins", sans-serif !important;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-align: left;
    text-transform: uppercase;
}

.intro h1,
.intro h2 {
    width: min(860px, 100%);
    max-width: none;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-style: normal;
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
    text-align: left;
}

.hero-copy {
    width: min(660px, 100%);
    margin-top: 28px;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-actions a,
.ancora-autora,
.morebooks-link {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.hero-actions a:first-child,
.ancora-autora {
    color: var(--forest-deep);
    background: var(--sand);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.hero-actions a:last-child {
    color: #fff;
    border-color: rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .06);
}

.hero-actions a:hover,
.ancora-autora:hover,
.morebooks-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(12, 35, 31, .18);
}

.intro hr {
    display: none;
}

.intro .hero-signature {
    width: fit-content;
    margin-top: 42px;
    color: rgba(255, 255, 255, .9);
    font-size: 1.4rem;
    text-align: left;
}

/* Welcome */
.welcome {
    position: relative;
    background-color: var(--cream);
    background-image: radial-gradient(circle at 10% 10%, rgba(40, 127, 120, .08), transparent 30%);
    background-attachment: scroll;
}

.welcome > .container-small:first-child {
    padding-top: clamp(72px, 8vw, 112px);
}

.welcome h1 {
    max-width: 820px;
    margin: 0 auto 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.welcome > .container-small:first-child p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.welcome > .container-small:nth-child(2) {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: clamp(40px, 7vw, 90px);
    align-items: center;
    padding: 64px 0 108px;
    text-align: left;
}

.welcome-photo {
    width: 100%;
    max-width: 420px;
    margin: 0;
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.welcome-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.welcome-about p:first-child {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.9;
    text-align: left;
}

.welcome-about hr {
    width: 80px;
    height: 2px;
    margin: 30px 0 22px;
    border: 0;
    background: var(--sand);
}

.welcome-about p:last-child {
    margin: 0;
    padding: 8px 14px;
    color: var(--forest);
    background: rgba(40, 127, 120, .09);
}

.ancora-autora {
    width: fit-content;
    margin-top: 30px;
}

.ancora-autora::before,
.morebooks-link::before {
    display: none;
}

/* Books */
.page-library,
.page-faq-content {
    min-height: 70vh;
    padding-top: 150px;
}

.page-heading {
    max-width: 760px;
    margin: 0 auto 54px;
    text-align: center;
}

.page-heading > span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--teal);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.page-heading h1 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.page-heading p {
    margin-top: 20px;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

#books {
    padding-top: clamp(76px, 8vw, 118px);
    padding-bottom: clamp(76px, 8vw, 118px);
}

.books-title {
    margin-bottom: 44px;
    padding-bottom: 0;
    color: var(--ink);
    background: none;
    -webkit-text-fill-color: currentColor;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -.03em;
    line-height: 1.1;
    text-align: center;
    text-shadow: none;
}

.page-heading .books-title {
    margin-bottom: 0;
}

.page-heading .books-title::after {
    display: none;
}

.books-title::after {
    top: auto;
    bottom: -16px;
    left: 50%;
    width: 54px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: var(--sand);
}

.books-simple {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.book-simple {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 253, 249, .82);
    box-shadow: 0 6px 20px rgba(18, 40, 36, .05);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.book-simple:hover {
    transform: translateY(-7px);
    border-color: rgba(40, 127, 120, .32);
    box-shadow: var(--shadow-sm);
}

.book-simple-thumb {
    max-width: none;
    aspect-ratio: 4 / 5;
    border-radius: 13px;
    background: #ede8de;
}

.book-simple-thumb img {
    object-fit: cover;
}

.book-simple-title {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 14px 4px 2px;
    color: var(--ink);
    font-size: .86rem;
    line-height: 1.35;
}

.books {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.book {
    width: 100%;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.book:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.book-thumbnail {
    aspect-ratio: 4 / 5;
    border: 0;
    background-color: #ece7dd;
}

.book-thumbnail img:not(.book-thumbnail-audio img) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-thumbnail-audio {
    height: 46px;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(255, 253, 249, .94), rgba(255, 253, 249, .55));
    animation: none;
}

.book-info {
    width: 100%;
    padding: 22px;
}

.book-name {
    min-height: 74px;
    margin-bottom: 12px;
    color: var(--ink);
    border-color: var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
}

.book-combo {
    border: 1px solid rgba(35, 123, 82, .14);
    background: rgba(35, 123, 82, .07);
}

.book-button {
    padding: 13px 16px;
    border-radius: 999px;
    box-shadow: none;
}

.active {
    background: var(--gradient-primary);
}

.morebooks-link {
    color: var(--forest-deep);
    border-color: var(--sand);
    background: var(--sand);
}

/* Author */
.author-bg {
    background-color: var(--forest-deep);
    background-image:
        linear-gradient(rgba(13, 41, 38, .93), rgba(13, 41, 38, .93)),
        url('../img/bg-author.avif');
    background-size: 540px;
}

.author-bio {
    display: grid;
    grid-template-columns: 280px 1fr;
    column-gap: clamp(40px, 6vw, 80px);
    width: 100%;
    padding: clamp(32px, 5vw, 72px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, .76);
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .2);
    backdrop-filter: blur(10px);
}

.author-photo {
    grid-row: 1 / span 10;
    width: 100%;
    max-width: 280px;
    margin: 0;
    border: 1px solid rgba(216, 185, 128, .5);
    border-radius: 28px;
    box-shadow: none;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio h2 {
    margin: 0 0 24px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -.03em;
    text-align: left;
}

.author-bio p {
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    line-height: 1.85;
    text-align: left;
}

.author-bio p:hover {
    color: rgba(255, 255, 255, .76);
}

/* Chat */
.chatvolt-section {
    background: var(--cream) !important;
    color: var(--ink) !important;
}

.chatvolt-section h2 {
    margin-bottom: 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.03em;
}

.chatvolt-box {
    border: 1px solid var(--line);
    border-radius: 24px !important;
    background: var(--paper);
    box-shadow: var(--shadow-md) !important;
}

/* FAQ */
.questions {
    display: grid;
    gap: 14px;
}

.question,
.question:first-child,
.question:not(:first-child) {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: 0 8px 26px rgba(18, 40, 36, .05);
}

.question-header {
    width: 100%;
    padding: 22px 56px 22px 24px;
    position: relative;
    color: var(--ink);
    background: transparent;
    font-weight: 600;
}

.question-header::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    color: var(--teal);
    font-size: 1.4rem;
    font-weight: 400;
}

.question.is-open .question-header::after {
    content: "−";
}

.question-copy {
    width: 100%;
    padding: 0 24px 24px;
    color: var(--ink-soft);
    background: transparent;
}

.question-footer a {
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--gradient-primary);
}

/* Book detail */
.book-view {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin: 0 auto;
    padding: 142px 56px 72px;
    display: grid;
    grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
    column-gap: clamp(42px, 7vw, 90px);
    border-radius: 0 0 34px 34px;
    background: var(--paper);
    box-shadow: var(--shadow-md);
}

.book-view > div:not(.book-view-image) {
    grid-column: 2;
}

.book-view-image {
    grid-column: 1;
    grid-row: 1 / span 8;
    width: 100%;
    max-width: 390px;
    margin: 0;
    align-self: start;
    border: 0;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.book-view-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.book-view-name {
    padding-top: 0;
}

.book-view-name h1 {
    width: 100%;
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 4.5vw, 4.4rem);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.03;
    text-align: left;
}

.book-page {
    justify-content: flex-start;
    padding-bottom: 22px;
}

.book-view-slogan {
    max-width: none;
    margin: 0 0 18px;
    color: var(--teal);
    font-size: 1.05rem;
    text-align: left;
}

.book-view-description {
    max-width: none;
    margin: 0;
    padding-top: 0;
    color: var(--ink-soft);
    line-height: 1.85;
    text-align: left;
}

.book-view-price {
    margin: 30px 0 16px;
    text-align: left;
}

.book-buttons {
    align-items: stretch;
    gap: 10px;
}

.book-view-button {
    min-height: 50px;
    padding: 13px 18px;
    border-radius: 14px;
    box-shadow: none;
    font-size: .78rem;
    line-height: 1.35;
}

.combo-discount-info {
    border-radius: 18px;
}

/* Book purchase choices */
.purchase-options {
    min-width: 0;
    padding-top: 28px;
}

.book-view .purchase-options .book-view-price {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 18px;
    padding: 0;
    color: var(--forest);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
}

.purchase-options .book-view-price::before {
    content: none;
}

.purchase-options .book-view-price::after {
    content: "";
    position: static;
    flex: 1;
    width: auto;
    height: 1px;
    background: var(--line);
    transform: none;
}

.purchase-options .book-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 12px;
}

.purchase-options .book-view-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 76px;
    padding: 16px 18px;
    border: 1px solid rgba(22, 63, 58, .18);
    border-radius: 16px;
    background: #fff !important;
    box-shadow: 0 6px 20px rgba(12, 35, 31, .05);
    color: var(--forest-deep);
    cursor: pointer;
    font: inherit;
    font-size: .9rem;
    text-align: left;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.purchase-options .book-view-button:only-child {
    grid-column: 1 / -1;
}

.purchase-options .book-view-button strong {
    flex: none;
    font-size: 1rem;
    white-space: nowrap;
}

.purchase-options .book-view-button:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.purchase-options .book-view-button::after,
.purchase-options .combo-discount-info::before {
    content: none;
}

.purchase-options .book-large-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.purchase-options .combo-discount-info {
    display: block;
    width: 100%;
    margin: 0;
    padding: 22px 24px;
    border: 1px solid rgba(40, 127, 120, .32);
    border-radius: 18px;
    background: linear-gradient(120deg, #e8f3ee, #f6f9f2);
    box-shadow: 0 12px 30px rgba(12, 35, 31, .08);
    color: var(--forest-deep);
    backdrop-filter: none;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.purchase-options .book-large-button:hover .combo-discount-info {
    border-color: var(--teal);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.purchase-options .discount-header {
    justify-content: flex-start;
    margin: 0 0 12px;
}

.purchase-options .discount-highlight {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--forest);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.4;
    text-shadow: none;
    text-transform: uppercase;
}

.purchase-options .discount-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.purchase-options .combo-copy,
.purchase-options .combo-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.purchase-options .combo-title {
    color: var(--forest-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
    line-height: 1.2;
}

.purchase-options .combo-prices {
    gap: 2px;
    margin-top: 8px;
}

.purchase-options .original-price {
    margin: 0;
    color: var(--ink-soft);
    font-size: .82rem;
    text-decoration: line-through;
}

.purchase-options .discounted-price {
    color: var(--forest-deep);
    font-size: 1rem;
}

.purchase-options .discounted-price strong {
    font-size: 1.3rem;
}

.purchase-options .combo-action {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 15px;
    border-radius: 999px;
    background: var(--forest);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .purchase-options .book-buttons {
        grid-template-columns: 1fr;
    }

    .purchase-options .discount-body {
        align-items: stretch;
        flex-direction: column;
    }

    .purchase-options .combo-action {
        width: 100%;
    }
}

/* Popup, cookies and language */
.popup-wallpaper {
    background: rgba(6, 24, 22, .78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.popup {
    max-width: 560px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    background: var(--paper);
    box-shadow: 0 32px 100px rgba(0, 0, 0, .32);
}

.popup-header {
    width: 100%;
    padding: 20px 24px;
    background: var(--forest);
}

.popup-header-count {
    flex: 1;
    min-width: 0;
    width: auto;
}

.popup-count {
    width: 100%;
    padding: 28px;
    background: var(--paper);
}

.forms-popup input {
    min-height: 48px;
    border-radius: 12px;
}

.forms-popup button,
#sprite-checkout button {
    min-height: 50px;
    border-radius: 12px;
    background: var(--gradient-primary);
}

.content-cookie {
    width: min(760px, calc(100% - 32px));
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(13, 41, 38, .95);
    background-image: none;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .24);
    backdrop-filter: blur(12px);
}

.content-cookie .container-small {
    width: 100%;
}

.cookie-btn a {
    min-width: 56px;
    height: 34px;
    border-radius: 999px;
    background: var(--sand);
    color: var(--forest-deep);
    text-transform: uppercase;
}

.alter-language {
    right: 18px;
    bottom: 18px;
}

.language-switch {
    border: 1px solid var(--line);
    background: rgba(255, 253, 249, .92);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.switch {
    background: #d7dedb;
}

.switch::before {
    background: var(--teal);
}

/* Footer */
.footer-sup {
    background: var(--forest-deep);
    background-image: radial-gradient(circle at 10% 0%, rgba(61, 164, 154, .16), transparent 30%);
}

.footer-sup .default {
    display: grid;
    grid-template-columns: 1.15fr 1.45fr .8fr .8fr;
    gap: 18px;
}

.footer-item {
    width: 100%;
    padding: 26px 20px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;
    color: rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .045);
    box-shadow: none;
    text-align: left;
}

.footer-item:hover {
    transform: translateY(-3px);
}

.footer-item h3 {
    margin-bottom: 16px;
    color: #fff;
    font-size: .75rem;
    letter-spacing: .14em;
}

.footer-count {
    justify-content: flex-start;
    color: rgba(255, 255, 255, .62);
}

.footer-item div a {
    margin: 5px 0;
    color: #b7ded8;
}

.footer-count img {
    display: block;
    width: min(100%, 150px);
    max-width: none;
    height: 60px;
    border-radius: 0;
    object-fit: contain;
}

.footer-item:nth-child(3),
.footer-item:nth-child(4) {
    display: flex;
    flex-direction: column;
}

.footer-item:nth-child(3) .footer-count,
.footer-item:nth-child(4) .footer-count {
    min-height: 84px;
    flex: 1;
    justify-content: center;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
}

.footer {
    position: relative;
    padding: 22px 24px;
    color: rgba(255, 255, 255, .62);
    background: #081e1c;
}

.footer a {
    color: #d8b980;
}

.scroll-reveal {
    transform: translateY(20px);
    transition-duration: .55s;
    transition-delay: .05s;
}

@media (max-width: 980px) {
    .books-simple {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .author-bio {
        grid-template-columns: 220px 1fr;
    }

    .footer-sup .default {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    html {
        font-size: 15px;
        scroll-padding-top: 76px;
    }

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

    .header,
    .logo,
    .menu {
        height: 72px;
    }

    .logo a:first-child {
        display: flex;
        font-size: 1.02rem;
    }

    .logo a:last-child {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .menu {
        width: min(320px, calc(100vw - 32px));
        height: auto;
        position: absolute;
        top: 64px;
        right: 0;
        padding: 12px;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 18px;
        background: rgba(13, 41, 38, .98);
        box-shadow: var(--shadow-md);
        transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    }

    .menu.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .menu ul {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .menu ul li,
    .menu ul li:first-child,
    .menu-user {
        width: 100%;
        margin: 0;
    }

    .menu-li-large,
    .menu ul li a {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    .menu-user {
        max-width: none;
        border-radius: 12px;
    }

    .menu-user-data {
        flex: 1;
        display: block;
    }

    .pop-up-menu {
        position: static;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
    }

    .intro {
        min-height: 720px;
        padding-top: 72px;
        background-position: 58% center !important;
    }

    .intro::before {
        background: linear-gradient(rgba(6, 27, 24, .88), rgba(6, 27, 24, .78));
    }

    .intro .container-small {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .intro h1,
    .intro h2 {
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: clamp(2.45rem, 12vw, 4.1rem);
    }

    .hero-kicker {
        max-width: 100%;
        white-space: normal;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }

    .welcome > .container-small:nth-child(2) {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 46px 0 82px;
    }

    .welcome-photo {
        max-width: 340px;
        margin: 0 auto;
    }

    .welcome-about p:first-child {
        text-align: left;
    }

    .books-simple,
    .books {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .book,
    .book:last-child {
        margin: 0;
    }

    .book-info {
        padding: 16px;
    }

    .book-name {
        min-height: 62px;
        padding: 0;
        font-size: 1rem;
    }

    .book-combo {
        align-items: flex-start;
        flex-direction: column;
    }

    .author-bio {
        display: block;
        padding: 26px;
    }

    .author-photo {
        max-width: 230px;
        margin: 0 auto 34px;
    }

    .author-bio h2 {
        text-align: center;
    }

    .book-view {
        width: min(100% - 24px, 1160px);
        padding: 104px 24px 48px;
        display: block;
        border-radius: 0 0 24px 24px;
    }

    .book-view-image {
        width: min(100%, 330px);
        margin: 0 auto 34px;
    }

    .book-view-name h1,
    .book-view-slogan,
    .book-view-description,
    .book-view-price {
        text-align: left;
    }

    .book-page {
        justify-content: flex-start;
    }

    .book-view-button {
        width: 100%;
    }

    .footer-sup .default {
        grid-template-columns: 1fr;
    }

    .footer-item {
        margin: 0;
        padding: 24px 20px;
    }

    .footer-item:nth-child(3) .footer-count,
    .footer-item:nth-child(4) .footer-count {
        min-height: 76px;
    }

    .content-cookie {
        bottom: 12px;
    }

    .content-cookie .container-small {
        gap: 10px;
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        margin-right: 0;
    }

    .alter-language {
        right: 12px;
        bottom: 12px;
    }
}

@media (max-width: 480px) {
    .books-simple,
    .books {
        grid-template-columns: 1fr;
    }

    .book-simple {
        display: grid;
        grid-template-columns: 110px 1fr;
        align-items: center;
        gap: 14px;
    }

    .book-simple-title {
        justify-content: flex-start;
        margin: 0;
        text-align: left;
    }

    .popup {
        width: calc(100% - 24px);
    }

    .popup-count {
        padding: 20px;
    }
}

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

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

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

.purchase-email {
    width: fit-content;
    margin: 0 auto 1.25rem;
    border: 1px solid rgba(34, 91, 79, .18);
    border-radius: 999px;
    padding: .65rem 1rem;
    background: rgba(34, 91, 79, .08);
    color: var(--primary);
    font-weight: 700;
}
