/* CSS variables */
:root {
    --color-orange: #FF6D00;
    --color-orange-support: #FF9201;
    --color-orange-light: #FFAB40;
    --color-cream: #FFF2DB;
    --color-navy: #1A1A2E;
    --color-white: #FFFFFF;
    
    --font-headline: 'Urbanist', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    --shape-pill: 9999px;
    --transition: all 0.3s ease;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-navy);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    line-height: 1.2;
}

.headline-dark { color: var(--color-navy); }
.headline-white { color: var(--color-white); }

/* Reusables */
.pill-shape {
    border-radius: var(--shape-pill) !important;
}

.section-label {
    display: inline-block;
    color: var(--color-orange);
    text-transform: uppercase;
    font-family: var(--font-headline);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-headline);
    font-weight: 700;
    border-radius: var(--shape-pill);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--color-white);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-img-logo {
    height: 56px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-escura {
    display: none;
}

.navbar.scrolled .logo-clara {
    display: none;
}

.navbar.scrolled .logo-escura {
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.nav-cta-btn) {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:not(.nav-cta-btn):hover {
    color: var(--color-cream);
}

.navbar.scrolled .nav-links a:not(.nav-cta-btn) {
    color: var(--color-navy);
}

.navbar.scrolled .nav-links a:not(.nav-cta-btn):hover {
    color: var(--color-orange);
}

.nav-cta-btn {
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--shape-pill);
    text-decoration: none;
    font-family: var(--font-headline);
    font-weight: 700;
    transition: var(--transition);
}

.nav-cta-btn:hover {
    background-color: var(--color-orange-support);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: var(--transition);
}

.navbar.scrolled .menu-toggle span, .menu-open .menu-toggle span {
    background-color: var(--color-navy);
}

/* Hero Section */
.section-hero {
    background: linear-gradient(180deg, var(--color-orange-light) 0%, var(--color-orange) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

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

.hero-content .eyebrow {
    display: inline-block;
    color: var(--color-cream);
    font-family: var(--font-headline);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge-acerto {
    background-color: var(--color-white);
    color: var(--color-orange);
    padding: 0.4rem 1rem;
    border-radius: var(--shape-pill);
    font-family: var(--font-headline);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero-headline {
    color: var(--color-white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-body {
    color: var(--color-cream);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.btn-white-pill {
    background-color: var(--color-white);
    color: var(--color-orange);
}

.btn-white-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.microcopy {
    color: var(--color-cream);
    font-size: 0.85rem;
}

.hero-visual {
    position: absolute;
    right: -2%;
    bottom: -8%;
    width: 45%;
    max-width: 580px;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    transform: rotate(-5deg);
    opacity: 0.65; /* Transparência solicitada */
}

.glass-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsividade */
@media (max-width: 992px) {
    .section-hero {
        background: linear-gradient(180deg, var(--color-orange-light) 0%, var(--color-orange) 100%);
        text-align: center;
        padding: 6rem 0;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-body {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-wrapper {
        align-items: center;
        width: 100%;
    }
    
    .hero-visual {
        position: relative;
        right: auto;
        bottom: auto;
        width: 80%;
        max-width: 300px;
        margin: 2rem auto 0;
        opacity: 0.8;
        transform: rotate(0);
    }
}

/* Sobre Section */
.section-sobre {
    background-color: var(--color-cream);
    padding: 8rem 0;
}

.sobre-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    text-wrap: balance;
}

.sobre-body p {
    color: #4a4a5a;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.image-pill-frame {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--shape-pill);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid #CC5200;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Metodo Section */
.section-metodo {
    background-color: var(--color-navy);
    padding: 8rem 0;
    text-align: center;
}

.metodo-body {
    color: var(--color-cream);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
}

.metodo-hand-wrapper {
    margin-bottom: 4rem;
}

.centered-hand-icon {
    width: 180px;
    height: 180px;
    background-color: var(--color-orange);
    -webkit-mask: url('hand-icon.png') no-repeat center / contain;
    mask: url('hand-icon.png') no-repeat center / contain;
    margin: 0 auto;
}

.cards-track {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.method-card {
    background: linear-gradient(135deg, var(--color-orange-light) 0%, var(--color-orange) 100%);
    border-radius: var(--shape-pill);
    padding: 2.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: var(--color-navy);
    min-width: 180px;
}

.center-card {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--color-orange) 0%, #E66200 100%);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    z-index: 2;
}

.roman-numeral {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.method-card-title {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.method-card-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Depoimentos Section */
.section-depoimentos {
    background-color: var(--color-white);
    padding: 8rem 0 0;
}

.depo-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-slider {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-testimonials 50s linear infinite;
    padding: 0 1rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-testimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Slider Navigation Buttons (Mobile Only) */
.slider-btn {
    display: none; /* Hidden by default (desktop) */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-orange);
    z-index: 10;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-btn svg {
    width: 24px;
    height: 24px;
}

.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }

.testimonials-track.no-animation {
    animation: none !important;
}

@media (max-width: 768px) {
    .slider-btn {
        display: flex;
    }
    
    .testimonials-slider {
        mask-image: none; /* Remove mask on mobile for better visibility with buttons */
    }

    .testimonials-track {
        animation: none !important;
        padding: 0;
    }
}

.testimonial-card {
    flex: 0 0 400px;
    background-color: var(--color-white);
    border: 2px solid rgba(255, 109, 0, 0.1);
    border-radius: 40px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(255, 109, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.student-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem;
}

.student-quote {
    font-family: var(--font-body);
    font-style: italic;
    color: #4a4a5a;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.student-name {
    font-family: var(--font-headline);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.score-tag {
    background-color: var(--color-cream);
    color: var(--color-orange);
    padding: 0.5rem 1rem;
    border-radius: var(--shape-pill);
    font-size: 0.85rem;
    font-weight: 700;
}

.stats-strip {
    background-color: var(--color-navy);
    padding: 3rem 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    color: var(--color-orange);
    font-family: var(--font-headline);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-cream);
    font-family: var(--font-headline);
    font-size: 1rem;
}

/* Formatos Section */
.section-formatos {
    background-color: var(--color-cream);
    padding: 8rem 0;
}

.formatos-header {
    text-align: center;
    margin-bottom: 4rem;
}

.formatos-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.formato-card {
    border-radius: 60px; /* Advanced pill for large content */
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-orange {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.card-white {
    background-color: var(--color-white);
    color: var(--color-navy);
    border: 2px solid rgba(255, 109, 0, 0.1);
}

.formato-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.formato-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.card-white .formato-title {
    color: var(--color-navy);
}

.location-tag {
    background-color: rgba(255, 109, 0, 0.1);
    color: var(--color-orange);
    padding: 0.5rem 1rem;
    border-radius: var(--shape-pill);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.formato-body {
    font-size: 1.125rem;
    opacity: 0.9;
}

.formato-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.formato-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.formato-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: inherit;
    font-weight: bold;
}

/* Contato Section */
.section-contato {
    background: linear-gradient(180deg, var(--color-orange-light) 0%, var(--color-orange) 100%);
    padding: 8rem 0 2rem;
    text-align: center;
    color: var(--color-white);
}

.contact-hand-icon {
    height: 160px;
    width: auto;
    margin: 0 auto 2rem;
    display: block;
    object-fit: contain;
}

.contact-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.contato-body {
    color: var(--color-cream);
    font-size: 1.25rem;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.btn-whatsapp-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--color-white);
    color: var(--color-orange);
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.5rem 3rem;
    border-radius: var(--shape-pill);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-whatsapp-main:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.footer {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: var(--color-cream);
    font-size: 0.9rem;
}

.copyright {
    margin-top: 0.5rem;
    opacity: 0.8;
    font-size: 0.8rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .sobre-container, .formatos-cards {
        grid-template-columns: 1fr;
    }
    .cards-track {
        flex-wrap: wrap;
    }
    .method-card {
        min-width: 45%;
    }
    .center-card {
        transform: scale(1);
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }
    .testimonial-card {
        flex: 0 0 85vw;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .nav-links a:not(.nav-cta-btn) {
        color: var(--color-navy) !important;
        font-size: 1.25rem;
        padding: 0.5rem 0;
    }
    .nav-cta-btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
    .navbar.scrolled .brand-name {
        color: var(--color-navy);
    }
    .menu-open .navbar {
        background-color: var(--color-white);
    }
    .menu-open .nav-img-logo {
        filter: invert(9%) sepia(21%) saturate(2203%) hue-rotate(202deg) brightness(94%) contrast(92%);
    }
    .method-card {
        min-width: 100%;
    }
    .formato-card {
        padding: 3rem 2rem;
    }
    .btn-whatsapp-main {
        font-size: 1.25rem;
        padding: 1rem 2rem;
        width: 90%;
        justify-content: center;
    }
}
