:root {
    --primary: #1DB2C4;
    --dark: #2c5364;
    --text: #333;
    --light: #f4fbfb;
    --white: #ffffff;
    --gray: #666;
    --light-gray: #eee;
    --success: #25D366;
    --warning: #ffe082;
    --warning-text: #856404;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: white;
    color: var(--text);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 65px;
}

.btn-whatsapp-nav {
    background: var(--success);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s ease;
}

.btn-whatsapp-nav:hover {
    background: #1ebe5d;
}

/* Hero Section */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 80px 10%;
    color: white;
    border-radius: 0 0 60px 60px;
    text-align: center;
}

.header h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 18px 35px;
    border-radius: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--dark);
}

/* Wrapper */
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 25px;
}

.bg-light {
    background: var(--light);
    padding: 60px 25px;
    border-radius: 40px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
}

/* Pain Grid */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.pain-item {
    background: var(--white);
    padding: 20px;
    border-left: 5px solid var(--primary);
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.solution-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.solution-text p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Joan Container */
#joan-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    min-height: 350px;
}

.joan-step {
    padding: 40px 20px;
}

.joan-step h3 {
    margin-bottom: 10px;
    font-weight: 800;
}

.joan-step p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.btn-modern-dark {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    width: 100%;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
    margin-bottom: 10px;
}

.btn-modern-dark:hover {
    background: #1a9fb0;
}

.btn-modern-white {
    background: var(--white);
    color: var(--text);
    padding: 10px 20px;
    width: 100%;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-modern-white:hover {
    background: var(--light);
}

/* Authority Section */
.authority-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.authority-text {
    flex: 1;
    min-width: 300px;
}

.authority-text .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.authority-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.authority-benefits {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.authority-benefits h4 {
    margin-bottom: 20px;
    color: var(--primary);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: var(--light);
    padding: 30px;
    border-radius: 20px;
}

.testimonial-card p {
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-card span {
    font-weight: 800;
    color: var(--primary);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.benefit-item {
    background: var(--white);
    padding: 15px;
    border-radius: 15px;
    border: 1px solid var(--light-gray);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Plan Grid */
.plan-grid {
    display: grid;
    gap: 20px;
    justify-content: center;
}

.plans-layout {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: var(--white);
    padding: 40px;
    border-radius: 35px;
    border: 1px solid var(--light-gray);
    position: relative;
    width: 100%;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.plan-card.featured {
    border: 2px solid var(--primary);
}

.plan-card.avulsa {
    border-color: var(--light-gray);
}

.plan-tag {
    position: absolute;
    top: -12px;
    left: 30px;
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
}

.plan-card.featured .plan-tag {
    background: var(--primary);
}

.plan-card.avulsa .plan-tag {
    background: var(--gray);
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--dark);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 15px 0;
    color: var(--primary);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.7;
}

.plan-card.avulsa .price {
    color: var(--text);
}

.features {
    list-style: none;
    margin-bottom: 30px;
    font-size: 0.9rem;
    text-align: left;
}

.features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    text-decoration: none;
}

.btn-assinar {
    background: var(--primary);
    color: var(--white);
    width: 100%;
}

.btn-assinar:hover {
    background: #1a9fb0;
}

.btn-avulsa {
    background: var(--gray);
    color: var(--white);
    width: 100%;
}

.btn-avulsa:hover {
    background: #555;
}

/* Notice Box */
.notice-box {
    background: #fff8e1;
    border: 1px solid var(--warning);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    text-align: center;
    color: var(--warning-text);
    font-size: 0.9rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 15px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    transition: 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 20px 20px;
}

.faq-content p {
    margin-bottom: 10px;
}

/* Footer */
.footer {
    padding: 40px 25px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    background: var(--light);
}

.footer p {
    margin-bottom: 10px;
}

.footer-note {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 991px) {
    .plans-layout {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    }
    
    .plan-card {
        padding: 30px 20px !important;
    }
    
    .price {
        font-size: 2.2rem !important;
    }
    
    .navbar {
        padding: 15px 5%;
    }
    
    .header {
        padding: 60px 5%;
    }
    
    .wrapper {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .authority-content {
        flex-direction: column;
    }
    
    .authority-text .section-title {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none;
}