/* Globals & Variables */
:root {
    --primary: #F97316;
    /* Laranja Principal */
    --secondary: #EA580C;
    /* Laranja Secundário */
    --brand-green: #4D7C0F;
    --support-green: #65A30D;
    --white: #FFFFFF;
    --dark-text: #1F2937;

    --check-green: #427700;
    --neon-blue: #00f0ff;
    /* Glowing light-blue described in manual */
    --neon-gold: #ffbe0b;
    /* Golden neon for dust */

    --panel-bg: rgba(255, 255, 255, 0.15);
    /* light frosted glass */

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Background & Core Setup */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: #F69E56;
    /* Solid brand orange */
    overflow: hidden;
}

/* Neon Ribbons Effect */
.neon-ribbons {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 40%;
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.3), inset 0 0 60px rgba(255, 190, 11, 0.2);
    animation: rotate 30s linear infinite;
    opacity: 0.6;
}

.neon-ribbons::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 45%;
    border: 1px solid rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 40px var(--neon-blue);
    animation: rotate 20s linear infinite reverse;
}

/* Golden Dust Particles */
.dust-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-gold), 0 0 20px var(--neon-gold);
    animation: float 10s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-100px) scale(1.5);
        opacity: 1;
    }
}

/* Layout Split */
.app-layout {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* Left Panel - Glassmorphism */
.left-panel {
    flex: 0 0 100%;
    max-width: 1200px;
    background: var(--panel-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: none;
    color: var(--dark-text);
    padding: 80px 40px;
    z-index: 10;
    overflow-y: auto;

    /* Center all children */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Right Panel - Dynamic Image */
.right-panel {
    flex: 1;
    position: sticky;
    top: 0;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease-in-out;
}

/* Overlay removed since we use a static background color */

/* Typography */
.elegant-subtitle {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(31, 41, 55, 0.8);
    margin-bottom: 0.5rem;
    display: block;
    text-align: center;
}

.main-title {
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.4);
    letter-spacing: -1px;
    text-align: center;
}

.section-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--dark-text);
    text-align: center;
}

.subheadline,
.section-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(31, 41, 55, 0.85);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
}

/* Checklists */
.check-list {
    list-style: none;
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(31, 41, 55, 0.9);
}


.check-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 14px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.check-icon::after {
    content: '';
    width: 6px;
    height: 12px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* Buttons */
.btn-glow {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.5);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-glow:hover {
    box-shadow: 0 0 35px rgba(249, 115, 22, 0.8);
    transform: translateY(-2px);
    background: var(--secondary);
}

/* White Button with Neon Orange Glow */
.btn-white-neon {
    display: block;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    border: 2px solid var(--primary);
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.6);
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-white-neon:hover {
    box-shadow: 0 0 35px rgba(249, 115, 22, 0.9);
    transform: translateY(-2px);
    background: #fdfdfd;
}

/* Botão de Preço com borda NEON Laranja */
.btn-price-neon {
    display: inline-block;
    background: rgba(31, 41, 55, 0.8);
    color: var(--white);
    font-weight: 900;
    font-size: 1.3rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5), inset 0 0 10px rgba(249, 115, 22, 0.3);
    text-transform: uppercase;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-price-neon:hover {
    box-shadow: 0 0 30px var(--primary), inset 0 0 20px rgba(249, 115, 22, 0.6);
    background: var(--dark-text);
    color: var(--white);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Carousel Styles (Card Based) */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-card {
    display: none;
    animation: fade 0.8s ease-in-out;
    background: rgba(20, 20, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 650px;
}

.hero-card.active {
    display: flex;
    flex-direction: column;
}

@keyframes fade {
    from {
        opacity: .4;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.card-img-container {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.card-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    padding: 2rem;
}

.card-info h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.card-info p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.dot {
    height: 8px;
    width: 8px;
    margin: 0 4px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary);
}

/* Sections */
section {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section:last-child {
    border-bottom: none;
}

.benefits-section {
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.treatment-box {
    background: rgba(20, 20, 20, 0.75);
    padding: 0;
    /* Changed for accordion */
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
    overflow: hidden;
    width: 100%;
    text-align: left;
}

.treatment-box:hover {
    transform: translateY(-5px);
    background: rgba(30, 30, 30, 0.85);
}

.treatment-header {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.treatment-header .elegant-subtitle {
    color: var(--primary);
}

.treatment-header h3 {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.treatment-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.treatment-toggle {
    align-self: flex-start;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.treatment-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.treatment-box.expanded .treatment-toggle::after {
    transform: rotate(180deg);
}

.treatment-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: transparent;
    padding: 0 2rem;
}

.treatment-box.expanded .treatment-content {
    max-height: 1000px;
    padding: 0 2rem 2rem 2rem;
    transition: max-height 0.5s ease-in-out, padding 0.5s;
}

.treatment-box .check-list li {
    color: var(--white);
}

/* Category Headers */
.category-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary);
    margin: 3rem 0 1.5rem 0;
    border-bottom: 1px solid rgba(249, 115, 22, 0.3);
    padding-bottom: 0.5rem;
    font-style: italic;
}

/* Header & Footer */
header {
    margin-bottom: 3rem;
}

.brand-logo {
    max-width: 260px;
    height: auto;
    display: block;
    margin: 0 auto 0.5rem auto;
}

footer {
    padding-top: 4rem;
    padding-bottom: 2rem;
    font-size: 0.95rem;
    color: rgba(31, 41, 55, 0.7);
    width: 100%;
    text-align: center;
    max-width: 850px;
}

footer p {
    margin-bottom: 0.8rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .app-layout {
        flex-direction: column;
        display: block;
        /* Remove flex on mobile to stack naturally */
    }

    header {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
    }

    footer {
        text-align: center;
    }

    footer .brand-logo {
        margin: 0 auto 1.5rem auto;
    }

    .left-panel {
        flex: none;
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
        background: rgba(255, 255, 255, 0.35);
        /* Lighter panel for readability over image */
        overflow: visible;
        /* Let the body scroll normally */
    }

    .right-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: -1;
        /* Send it to the very back */
    }

    .main-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .treatment-header {
        padding: 1.5rem;
    }

    .treatment-content {
        padding: 0 1.5rem;
    }

    .btn-glow,
    .btn-outline {
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: center;
    }
}