/* Design System - Manuela Bauer | Método ECEA */

:root {
    /* Core Palette */
    --color-brown: #3a2b2a;
    --color-brown-dark: #3a2b2a;
    --color-brown-light: #5d4745;
    --color-taupe: #EBE7DC;
    --color-cream: #EBE7DC;
    --color-white: #FFFFFF;

    /* Semantic Backgrounds */
    --bg-primary: #3a2b2a;
    --bg-secondary: #EBE7DC;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;

    /* Semantic Text */
    --text-on-brown: #FFFFFF;
    --text-on-cream: #3a2b2a;
    --text-on-white: #3a2b2a;
    --text-muted-on-brown: #EBE7DC;
    --text-muted-on-cream: #7a7265;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-accent: 'Anton', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.br-mobile {
    display: none;
}

.br-desktop {
    /* Only hidden on mobile */
}

body {
    background-color: var(--bg-primary);
    color: var(--text-on-brown);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ========== BUTTONS ========== */
.btn-cta {
    display: inline-block;
    position: relative;
    overflow: hidden;
    background-color: var(--color-brown);
    color: var(--color-white);
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease, letter-spacing 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    background-color: var(--color-brown-dark);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(58, 43, 42, 0.55);
    letter-spacing: 1.5px;
}

/* On cream/white backgrounds */
.bg-cream .btn-cta,
.bg-white .btn-cta {
    border: 1px solid var(--color-brown);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ========== HEADER ========== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 25px 0;
    transition: all 0.4s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--color-white);
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: var(--text-on-brown);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--color-taupe);
}

/* ========== HERO (Section 1) ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('../images/heroimg.webp') no-repeat 75% center;
    background-size: cover;
    background-color: var(--bg-primary);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to top, rgba(58, 43, 42, 1) 0%, transparent 18%),
        linear-gradient(15deg, rgba(58, 43, 42, 1) 0%, rgba(58, 43, 42, 0.9) 30%, rgba(58, 43, 42, 0.4) 50%, transparent 80%);
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    /* Wider container to move text further to the left */
    margin-left: max(20px, calc((100% - 1400px) / 2));
    /* Ensure it doesn't touch the edge but stays far left */
}

.hero-text-wrapper {
    max-width: 650px;
}

.hero-subheading {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 0px;
    letter-spacing: 23px;
    color: var(--color-white);
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-accent);
    font-size: 12rem;
    line-height: 0.8;
    margin-bottom: 10px;
    letter-spacing: 5px;
    color: var(--color-white);
}

.hero-author {
    font-size: 1.2rem;
    letter-spacing: 10px;
    color: var(--color-white);
    margin-bottom: 50px;
    padding-left: 5px;
    text-transform: uppercase;
    font-weight: 400;
}

.hero-headline {
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 25px;
    font-weight: 700;
    max-width: 580px;
    color: var(--color-white);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 50px;
    max-width: 500px;
    line-height: 1.6;
    font-weight: 400;
}

/* ========== HERO ENTRANCE ANIMATION ========== */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subheading,
.hero-title,
.hero-author,
.hero-headline,
.hero-description,
.hero-text-wrapper .btn-cta {
    opacity: 0;
    animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-subheading  { animation-delay: 0.2s; }
.hero-title       { animation-delay: 0.45s; }
.hero-author      { animation-delay: 0.65s; }
.hero-headline    { animation-delay: 0.9s; }
.hero-description { animation-delay: 1.15s; }
.hero-text-wrapper .btn-cta { animation-delay: 1.4s; }

/* ========== AUDIENCE (Section 2) — Brown Dark BG ========== */
.audience {
    padding: var(--section-padding);
    background-color: var(--color-brown-dark);
}

.audience .section-title {
    color: var(--color-white);
}

.audience .section-subtitle {
    color: var(--color-taupe);
    margin-bottom: 40px;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.audience-intro {
    text-align: center;
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 60px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.highlight {
    color: var(--color-taupe);
    font-weight: 600;
}

.editorial-list {
    position: relative;
    max-width: 850px;
    margin: 80px auto;
    text-align: left;
}

.editorial-list::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-taupe), transparent);
    opacity: 0.3;
}

.editorial-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.editorial-item.active {
    opacity: 1;
    transform: translateY(0);
}

.editorial-item::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 8px;
    width: 9px;
    height: 9px;
    background: var(--color-taupe);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-taupe);
    z-index: 2;
}

.editorial-item p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.btn-discrete {
    background-color: transparent !important;
    border: 1px solid rgba(203, 196, 181, 0.4) !important;
    color: var(--color-white) !important;
    box-shadow: none !important;
    padding: 18px 45px !important;
}

.btn-discrete:hover {
    background-color: var(--color-taupe) !important;
    color: var(--color-brown-dark) !important;
    border-color: var(--color-taupe) !important;
    transform: translateY(-3px) !important;
}

.audience-cta {
    text-align: center;
    margin-top: 80px;
}

/* ========== PILLARS (Section 3) — Bold & Impactful ========== */
.pillars-bold {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}



.pillars-bold .container {
    position: relative;
    z-index: 2;
}

.pillars-header {
    text-align: center;
    margin-bottom: 80px;
}

.pillars-header .section-title {
    color: var(--color-white);
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--color-taupe);
    font-weight: 300;
}

.video-section {
    margin-bottom: 100px;
}

.video-frame-premium {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #3a2b2a;
    border: 1px solid rgba(203, 196, 181, 0.2);
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.video-frame-premium:hover {
    transform: translateY(-5px);
}

.video-inner {
    aspect-ratio: 16 / 9;
    background-color: #2a1f1e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.play-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.play-trigger span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--color-taupe);
}

.video-inner:hover .play-trigger {
    transform: scale(1.1);
}

.pillars-grid-v3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.pillar-card-v3 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 30px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    /* Stagger initial state */
    opacity: 0;
    transform: translateY(40px);
}

.pillar-card-v3.stagger-visible {
    opacity: 1;
    transform: translateY(0);
}

.pillar-card-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-taupe);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.pillar-card-v3:hover::before {
    transform: translateY(0);
}

.pillar-letter {
    font-family: var(--font-accent);
    font-size: 4.5rem;
    color: var(--color-taupe);
    line-height: 1;
    margin-bottom: 25px;
    display: block;
    position: relative;
    z-index: 2;
    transition: color 0.4s;
}

.pillar-content {
    position: relative;
    z-index: 2;
}

.pillar-card-v3 h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-white);
    transition: color 0.4s;
}

.pillar-card-v3 p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    transition: color 0.4s;
}

.pillar-card-v3:hover .pillar-letter,
.pillar-card-v3:hover h4,
.pillar-card-v3:hover p {
    color: var(--color-brown);
}

@media (max-width: 1024px) {
    .pillars-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .pillars-header .section-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 640px) {
    .pillars-grid-v3 {
        grid-template-columns: 1fr;
    }

    .pillars-header .section-title {
        font-size: 2.5rem;
    }
}

/* ========== MODULES (Section 4) — Brown BG ========== */
.modules {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.modules-title {
    text-align: left;
    color: var(--text-on-brown);
    margin-bottom: 50px;
}

.title-highlight {
    color: var(--color-taupe);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.modules-cta {
    text-align: center;
}

.module-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease,
                opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    /* Stagger initial state */
    opacity: 0;
    transform: translateY(40px);
}

.module-card.stagger-visible {
    opacity: 1;
    transform: translateY(0);
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.module-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.module-card:hover img {
    transform: scale(1.05);
}

.topics-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(58, 43, 42, 0.97) 0%, rgba(58, 43, 42, 0.99) 100%);
    padding: 40px 32px;
    transform: translateY(101%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.module-card:hover .topics-overlay {
    transform: translateY(0);
}

.topics-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-taupe);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}

.topics-overlay ul {
    list-style: none;
    padding: 0;
}

.topics-overlay li {
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--color-white);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ========== TESTIMONIALS (Section 5) — Cream BG ========== */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.testimonials .section-title {
    color: var(--text-on-brown);
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 15px;
}

.testimonials .section-subtitle {
    color: var(--text-muted-on-brown);
    max-width: 700px;
    margin: 0 auto 60px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--color-cream);
    padding: 40px 35px;
    border-radius: 16px;
    color: var(--text-on-cream);
    position: relative;
    text-align: center;
}

.testimonial-card::before {
    content: "\201C";
    font-size: 4rem;
    color: var(--color-taupe);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card::after {
    content: "\201D";
    font-size: 4rem;
    color: var(--color-taupe);
    position: absolute;
    bottom: -10px;
    right: 20px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-brown);
}

.carousel-controls {
    display: none;
}

/* ========== ABOUT (Section 6) — Cream BG ========== */
.about {
    padding: var(--section-padding);
    background-color: var(--bg-secondary);
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    filter: none;
}

.about-content {
    flex: 1.2;
}

.about-content .section-title {
    text-align: left;
    font-size: 2.2rem;
    color: var(--text-on-cream);
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-muted-on-cream);
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ========== PRICING (Section 7) — Brown BG ========== */
.pricing {
    padding: var(--section-padding);
    text-align: center;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.pricing-a1 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Background Aura */
.pricing-a1::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(235, 231, 220, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

.glass-card-a1 {
    position: relative;
    width: 100%;
    max-width: 550px;
    background: rgba(58, 43, 42, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    text-align: center;
    z-index: 2;
}

.glass-card-a1 .pricing-title {
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: var(--color-taupe);
    margin-bottom: 40px;
    font-weight: 600;
    text-transform: uppercase;
}

.glass-card-a1 .price-main {
    margin-bottom: 30px;
}

.glass-card-a1 .price-old {
    display: block;
    font-size: 1.1rem;
    text-decoration: line-through;
    opacity: 0.5;
    margin-bottom: 10px;
    color: var(--color-white);
}

.glass-card-a1 .price-installment {
    display: block;
    font-family: var(--font-accent);
    font-size: 5rem;
    line-height: 1;
    color: var(--color-white);
    margin-bottom: 10px;
}

.glass-card-a1 .price-installment span {
    font-size: 2rem;
    font-family: var(--font-body);
    font-weight: 300;
}

.glass-card-a1 .price-cash {
    font-size: 1rem;
    color: var(--color-taupe);
}

.glass-features {
    list-style: none;
    margin: 40px 0;
    padding: 0;
    text-align: left;
    display: inline-block;
}

.glass-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
}

.glass-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-taupe);
    border-radius: 50%;
}

.glass-card-a1 .btn-cta {
    width: 100%;
    background-color: var(--color-taupe);
    color: var(--color-brown);
    border: none;
    font-size: 1rem;
    letter-spacing: 2px;
}

.glass-card-a1 .btn-cta:hover {
    background-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(235, 231, 220, 0.3);
}

.trust-icons-white {
    margin-top: 30px;
    opacity: 0.8;
    font-size: 0.85rem;
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.trust-icons-white svg {
    width: 16px;
    height: 16px;
    color: var(--color-white);
}

/* ========== FAQ & GUARANTEE (Section 8) — Brown Dark BG ========== */
.faq-guarantee {
    padding: var(--section-padding);
    background-color: var(--color-brown-dark);
}

.faq-guarantee .section-title {
    color: var(--text-on-brown);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto 80px;
}

.faq-item {
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    padding: 22px 10px;
    background-color: transparent;
    border: none;
    color: var(--text-on-brown);
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    font-family: var(--font-heading);
}

.faq-question:hover {
    color: var(--color-taupe);
}

.faq-question span {
    color: var(--color-taupe);
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 10px;
    max-height: 0;
    overflow: hidden;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    padding: 0 10px 25px;
    max-height: 300px;
}

.faq-answer p {
    color: var(--color-taupe);
    line-height: 1.7;
}

/* Guarantee Box */
.guarantee-box {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.guarantee-visual {
    flex-shrink: 0;
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.guarantee-text h3 {
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guarantee-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ========== SUPPORT CTA (Section 9) ========== */
.support-cta {
    padding: var(--section-padding);
    background-color: #493635;
    text-align: center;
}

.support-title {
    color: var(--color-white);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.support-subtitle {
    color: var(--color-taupe);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--color-taupe);
    color: var(--color-brown-dark);
    border: none;
}

.btn-whatsapp:hover {
    background-color: var(--color-cream);
    color: var(--color-brown-dark);
    border: none;
}

.bg-cream .btn-whatsapp,
.bg-white .btn-whatsapp {
    border: none;
}

/* ========== FOOTER ========== */
.main-footer {
    padding: 30px 0;
    background-color: var(--color-brown-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.main-footer p {
    color: var(--color-taupe);
    font-size: 0.85rem;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* ========== REDUCED MOTION (Accessibility) ========== */
@media (prefers-reduced-motion: reduce) {
    .hero-subheading,
    .hero-title,
    .hero-author,
    .hero-headline,
    .hero-description,
    .hero-text-wrapper .btn-cta {
        opacity: 1;
        animation: none;
    }

    .pillar-card-v3,
    .module-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .editorial-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .br-desktop {
        display: none;
    }

    .hero {
        background-position: 30% bottom;
        background-size: 150%;
        height: auto;
        min-height: 100vh;
        align-items: flex-end;
        padding-top: 50vh;
        padding-bottom: 50px;
    }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(58, 43, 42, 0.97) 0%, rgba(58, 43, 42, 0.75) 35%, rgba(58, 43, 42, 0.1) 65%, rgba(58, 43, 42, 0.0) 100%);
    }

    .hero-title {
        font-size: 8rem;
        line-height: 0.9;
    }

    .hero-headline {
        font-size: 1.6rem;
    }

    .hero-subheading {
        font-size: 0.9rem;
        letter-spacing: 6px;
    }

    .hero-author {
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Typography Adjustments */
    .price-new {
        font-size: 2.2rem;
    }

    .editorial-list {
        margin: 40px auto;
    }

    .editorial-item {
        padding-left: 30px;
        margin-bottom: 40px;
    }

    .editorial-item p {
        font-size: 1.1rem;
    }

    /* Pillars Adjustments (Disable hover trap) */
    .pillar-card-v3::before {
        transform: translateY(0);
    }

    .pillar-letter,
    .pillar-card-v3 h4,
    .pillar-card-v3 p {
        color: var(--color-brown) !important;
    }

    /* Modules Adjustments (Disable hover trap) */
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .modules-title {
        text-align: center;
    }

    .module-card {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        background-color: var(--color-brown-dark);
    }

    .module-card img {
        height: auto;
        width: 100%;
        display: block;
    }

    .topics-overlay {
        position: static;
        transform: none;
        padding: 30px 25px;
        background: var(--color-brown-dark);
        height: auto;
    }

    .topics-overlay h4 {
        margin-bottom: 15px;
        color: var(--color-taupe);
    }

    /* Testimonials Carousel */
    .testimonial-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;

        /* Break out of container constraint with extra padding at start */
        width: calc(100% + 60px);
        margin-left: -20px;
        padding-left: 40px;
        padding-right: 20px;
    }

    .testimonial-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        flex: 0 0 85%;
        min-width: 85%;
        max-width: 85%;
        scroll-snap-align: center; /* Adjusted for better alignment with extra padding */
        padding: 30px 25px;
    }

    .carousel-controls {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 25px;
    }

    .carousel-btn {
        background-color: var(--color-brown-dark);
        color: var(--color-taupe);
        border: 1px solid rgba(255, 255, 255, 0.1);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .carousel-btn:hover,
    .carousel-btn:active {
        background-color: var(--color-taupe);
        color: var(--color-brown-dark);
    }

    .about-flex {
        flex-direction: column;
    }

    .about-content .section-title {
        text-align: center;
        font-size: 1.8rem;
    }

    .guarantee-box {
        flex-direction: column;
        text-align: left;
        padding: 40px 25px;
        gap: 30px;
    }

    .guarantee-visual {
        width: 100%;
        max-width: 200px;
        margin: 0 auto 20px;
        height: auto;
    }

    .guarantee-text h3 {
        font-size: 1.8rem;
    }

    .testimonials .section-title {
        font-size: 1.7rem; /* Reduced from 2rem */
        line-height: 1.2;
    }

    .support-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        background-position: 52% bottom;
        background-size: 250%;
        height: auto;
        min-height: 100vh;
        align-items: flex-end;
        padding-top: 60vh;
        padding-bottom: 50px;
    }

    .hero .container {
        margin-left: auto;
        margin-right: auto;
        padding: 0 20px;
        width: 100%;
    }

    .hero-text-wrapper {
        max-width: 100%;
        width: 100%;
        text-align: left;
    }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(58, 43, 42, 0.97) 0%, rgba(58, 43, 42, 0.75) 35%, rgba(58, 43, 42, 0.1) 65%, rgba(58, 43, 42, 0.0) 100%);
    }

    .hero-subheading {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .hero-title {
        font-size: 6.5rem;
        line-height: 0.9;
    }

    .hero-author {
        font-size: 0.8rem;
        letter-spacing: 5px;
        margin-bottom: 16px;
    }

    .hero-headline {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 20px;
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .br-mobile {
        display: block;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        max-width: 100%;
        text-align: left;
    }

    /* CTA Full Width */
    .btn-cta {
        padding: 16px 20px;
        font-size: 0.9rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .modules-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Pricing Card Mobile Adjustments */
    .glass-card-a1 {
        padding: 50px 20px; /* Reduced side padding */
    }

    .glass-card-a1 .price-installment {
        font-size: 3.5rem; /* Reduced from 5rem to fit one line */
        white-space: nowrap;
        margin-bottom: 5px;
    }

    .glass-card-a1 .price-installment span {
        font-size: 1.4rem; /* Reduced from 2rem */
    }

    .glass-card-a1 .btn-cta {
        font-size: 0.85rem; /* Slightly smaller to fit "QUERO COMEÇAR AGORA" */
        letter-spacing: 1px;
        padding: 18px 10px;
    }

    .trust-icons-white {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .trust-item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .trust-separator {
        display: none;
    }
}