/* Self-hosted Fonts */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    size-adjust: 97%;
    src: url('../fonts/poppins-v24-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    size-adjust: 97%;
    src: url('../fonts/poppins-v24-latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    size-adjust: 97%;
    src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    size-adjust: 97%;
    src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2');
}

:root {
    --primary-color: #1c3055; /* Updated blue */
    --secondary-color: #4a5d7a;
    --accent-color: #ff3131; /* Updated red */
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --text-color: #333333;
    --text-dark: #1e1e1e;
}

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

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

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

/* Header */
header {
    padding: 30px 0;
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 40px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-image {
    background-color: var(--card-bg);
    height: 0;
    padding-bottom: 100%; /* Makes it a perfect square */
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    width: 100%;
}

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

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 25px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 5px; /* Add padding to prevent cut-off */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(28, 48, 85, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    animation: pulse 3s infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(28, 48, 85, 0.6);
}

/* Vertical Video Container */
.video-container {
    position: relative;
    width: 355px;
    height: 631px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

@media (max-width: 400px) {
    .video-container {
        width: 90%;
        height: 0;
        padding-bottom: 160%; /* Maintain aspect ratio */
    }
}

/* Slideshow */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: contain;
}

.slide.active {
    opacity: 1;
}

/* Price Highlight */
.price-highlight {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(28, 48, 85, 0.4);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
}

/* Modal for detailed pricing */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 40px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-color);
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.duo-learning {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0 0 0;
    border-left: 5px solid var(--accent-color);
}

.duo-learning h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Pricing Section */
.pricing {
    background-color: var(--bg-color);
}

.pricing-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background-color: var(--card-bg);
    padding: 25px; /* Reduzido de 30px */
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #1c3055, #3a5a82);
    position: relative;
    z-index: 1;
    transform: scale(1.05);
    color: white;
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px; /* Reduzido de 15px */
}

.pricing-card .price {
    font-size: 2.5rem; /* Reduzido de 3rem */
    margin-bottom: 5px;
    font-weight: 700;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
}

.pricing-tag {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px; /* Reduzido de 20px */
    font-size: 1rem; /* Reduzido de 1.1rem */
}

.pricing-card.featured .pricing-tag {
    color: white;
}

.pricing-features {
    list-style: none;
    margin-bottom: 20px; /* Reduzido de 30px */
    text-align: left;
}

.pricing-features li {
    padding: 6px 0; /* Reduzido de 8px */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    font-size: 0.9rem; /* Reduzido de 1rem (base) */
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .feature-check {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.pricing-features .highlight-feature {
    color: var(--accent-color);
    font-weight: bold;
}

.pricing-card.featured .pricing-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-card.featured .pricing-features .feature-check {
    color: white;
}

.feature-inactive {
    color: #767676;
    opacity: 0.9;
    position: relative;
}

.feature-inactive::before {
    content: "✗";
    margin-right: 10px;
    color: #767676;
    font-size: 1.2rem;
}

.pricing-card.featured .feature-inactive {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-card.featured .feature-inactive::before {
    color: rgba(255, 255, 255, 0.5);
}

.featured-btn {
    background: white;
    color: var(--primary-color);
}

.pricing-upgrade-box {
    background-color: #f0f4f8;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
    font-size: 0.95rem;
    color: var(--primary-color);
}

.pricing-upgrade-box.featured-upgrade {
    background-color: rgba(255, 49, 49, 0.05);
    border-left-color: var(--accent-color);
}

.pricing-upgrade-box p {
    margin-bottom: 0;
}

/* Methodology Section */
.methodology {
    background-color: #f8f9fa;
}

.methodology-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.methodology-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.methodology-item {
    display: flex;
    gap: 20px;
}

.methodology-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.7;
    line-height: 1;
}

.methodology-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.methodology-item p {
    color: var(--text-color);
}

/* Methodology Image Styling */
.methodology-image {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    min-width: 0; /* Prevent grid blowout */
    overflow: hidden; /* Prevent content overflow */
}

.methodology-image .responsive-img,
.responsive-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

/* Ensure methodology layout works on narrow screens */
@media (max-width: 400px) {
    .methodology-content {
        grid-template-columns: 1fr;
    }
}


.video-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
    width: 100%;
    height: 350px;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    border-left: 4px solid var(--accent-color);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-color);
}

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

.testimonial-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #f1c40f;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3a5a82; 
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-color);
}

#beneficios {
    padding-bottom: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-color);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Colunas iguais para centralizar o eixo perfeitamente */
    gap: 60px; /* Ajuste no gap para afastar um pouco mais o formulário dos cards, mantendo o centro */
    align-items: center;
    max-width: 900px; /* Largura exata do FAQ para alinhamento perfeito */
    margin: 0 auto;
}

.contact-details-container {
    max-width: 350px; 
    width: 100%;
    margin: 0 auto; /* Centraliza o bloco dentro da sua própria coluna (metade direita) */
}

.contact-details-container .contact-subtitle {
    text-align: center;
}

.contact-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-control {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 49, 49, 0.05);
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Reduzido de 25px para compactar verticalmente */
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px; /* Reduzido de 20px */
    padding: 15px; /* Reduzido de 20px */
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-card:hover {
    transform: translateX(10px);
    border-color: rgba(255, 49, 49, 0.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.icon-box {
    width: 50px; /* Reduzido de 60px para maior harmonia */
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, #1c3055, #3a5a82);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 15px rgba(28, 48, 85, 0.15);
}

.icon-box svg {
    width: 25px; /* Reduzido de 30px */
    height: 25px;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-text a, .contact-text p {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--accent-color);
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success { background-color: #dff0d8; color: #3c763d; border: 1px solid #d6e9c6; }
.alert-error { background-color: #f2dede; color: #a94442; border: 1px solid #ebccd1; }

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background-color: white;
    transition: border-color 0.3s;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

/* SEO Tag Cloud */
.seo-tags {
    padding: 40px 0;
    background-color: var(--bg-color);
    border-top: 1px solid #eee;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.seo-tag {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--card-bg);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.seo-tag:hover {
    background-color: rgba(28, 48, 85, 0.05);
    color: var(--primary-color);
    border-color: rgba(28, 48, 85, 0.2);
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero-grid,
    .methodology-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .methodology-content {
        gap: 50px;
    }
    
    .hero-image {
        order: -1;
        padding-bottom: 100%; /* Maintain square shape */
        margin-bottom: 30px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* New pricing modal styles */
.pricing-modal-header {
    margin-bottom: 30px;
}

.pricing-modal-header h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.pricing-highlight-box {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.pricing-highlight-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.pricing-guarantee {
    font-weight: 600;
    margin-top: 10px;
}

.pricing-features-section {
    margin-bottom: 30px;
}

.pricing-features-section h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.pricing-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 5px 20px;
}

.pricing-features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.pricing-features-list li:hover {
    background-color: rgba(0,0,0,0.02);
}

.pricing-features-list .feature-check {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.pricing-features-list .highlight-feature {
    color: #ff3131;
}

.pricing-features-list .feature-not-included {
    color: #999;
}

.pricing-features-list .feature-not-included span {
    color: #999;
    margin-right: 10px;
    font-size: 1.2rem;
}

.pricing-modal-cta {
    text-align: center;
}

/* Pulse Animation for CTAs */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 5px 15px rgba(28, 48, 85, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 8px 25px rgba(255, 49, 49, 0.5); }
    100% { transform: scale(1); box-shadow: 0 5px 15px rgba(28, 48, 85, 0.4); }
}

/* Scarcity Banner */
.scarcity-banner {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 10px 20px; /* Reduzido de 15px */
    border-radius: 5px;
    margin-bottom: 20px; /* Reduzido de 30px */
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: #856404;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.scarcity-icon {
    font-size: 1.5rem;
}

/* FAQ Section */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px; /* Garante espaço entre o texto e o ícone */
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-align: left;
    transition: background-color 0.3s;
}

.faq-question span:first-child {
    text-wrap: balance; /* Equilibra as linhas quebradas para não ficar uma palavra sozinha na segunda linha */
    line-height: 1.4;
}

.faq-question:hover {
    background-color: #f1f3f5;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    flex-shrink: 0; /* Impede que o ícone seja esmagado pelo texto */
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background-color: white;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: var(--text-color);
    margin: 0;
}

/* Active FAQ Item state toggled by JS */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Header Desktop CTA */
.desktop-only-cta {
    display: none;
}
.header-cta {
    padding: 8px 20px !important;
    font-size: 0.9rem !important;
    color: white !important;
}
.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 49, 49, 0.4);
}
.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 49, 49, 0.4);
}

@media (min-width: 769px) {
    .desktop-only-cta {
        display: block !important;
    }
}

/* Floating CTA (Mobile) */
.floating-cta {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    animation: pulse 3s infinite;
    white-space: nowrap;
}

/* Hide floating CTA when modal is open */
body.modal-open .floating-cta {
    display: none !important;
}

/* Smart hiding for floating CTA */
.floating-cta.hide-floating {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
}

@media (min-width: 769px) {
    .floating-cta {
        display: none;
    }
}

.mobile-swipe-hint {
    display: none;
}

/* Testimonials Video Slider */
.testimonials-wrapper {
    position: relative;
    max-width: 1100px;
    width: 100%; /* Garante que não ultrapasse a largura da tela */
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    /* overflow: hidden removido para evitar corte dos botões tipo aba */
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 30px 0;
    margin: 0 10px; /* Reduzido para 10px para aproximar os botões conforme solicitado */
    scrollbar-width: none; /* Firefox */
    scroll-snap-type: x mandatory;
    scroll-padding: 0 10px;
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.testimonial-video-card {
    flex: 0 0 80%; /* No mobile: 1 completo + 20% do 2º card aparecendo */
    max-width: 500px;
    scroll-snap-align: start;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

@media (min-width: 768px) {
    .testimonial-video-card {
        flex: 0 0 38%; /* Ajustado para 38% conforme solicitado */
    }
    .testimonials-wrapper {
        padding: 0 80px;
    }
}

.testimonial-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}


.video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(255, 49, 49, 0.4);
}

.video-container-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    background: #000;
    cursor: pointer;
}

.testimonial-video, 
.testimonial-facade-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, opacity 0.3s ease;
}

.testimonial-video-card:hover .video-overlay {
    background: rgba(0,0,0,0.15);
}

.play-button {
    width: 65px;
    height: 65px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Impede que o flexbox achate o botão */
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 49, 49, 0.4);
    z-index: 3;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.testimonial-video-card:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 49, 49, 0.6);
}

.testimonial-video-card.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.testimonial-info {
    padding: 20px 15px;
    text-align: center;
    background: white;
}

.testimonial-info h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-style: italic;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px;
    height: 100px;
    background: white;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 28px;
    color: var(--accent-color); 
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 6px 20px rgba(28, 48, 85, 0.3);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-btn.prev { 
    left: 40px; 
    border-radius: 50px 0 0 50px;
}
.slider-btn.next { 
    right: 40px; 
    border-radius: 0 50px 50px 0;
}

@media (max-width: 767px) {
    .slider-btn {
        display: none; /* Esconde botões no mobile como observado pelo usuário */
    }
}



.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Premium Price Announcement */
.premium-price-announcement {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    gap: 15px;
}

.announcement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(28, 48, 85, 0.08);
    color: var(--primary-color);
    border-radius: 8px;
}

.announcement-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
}

.announcement-desc {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.announcement-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Responsive Helpers & Fixes */
.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .hero-cta-group {
        flex-direction: row;
        justify-content: space-between;
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 60px;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.benefit-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.benefit-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
}

.benefit-title {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card .video-facade-container {
    width: 100%;
    position: relative;
    cursor: pointer;
    margin-bottom: 15px;
}

.benefit-card .facade-img {
    width: 100%;
    height: 180px;
    object-fit: cover; /* changed from contain to cover so it fills the box nicely */
    border-radius: 8px;
    display: block; /* removes bottom ghost margin */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 60px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}



/* Footer Fixes */
footer .logo {
    margin-bottom: 20px;
    justify-content: center;
}

.dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 767px) {
    /* Slider: ocultar botões no mobile */
    .slider-btn {
        display: none;
    }

    /* Hero CTA: centraliza o banner e o botão no mobile */
    .hero-cta-group {
        align-items: center;
    }

    /* Oculta o botão estático do Hero no mobile para evitar redundância com o flutuante */
    .hero-cta-group .cta-button {
        display: none !important;
    }

    .premium-price-announcement {
        padding: 15px 20px;
        gap: 15px;
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }
    
    .announcement-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .announcement-desc {
        font-size: 1.1rem;
    }
    
    .announcement-price {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .announcement-icon {
        width: 42px;
        height: 42px;
    }

    /* Botão "Enviar Mensagem": respiração antes da próxima seção */
    #contact-form button[type="submit"] {
        margin-bottom: 10px;
    }

    /* Contact grid: espaçamento generoso entre formulário e info */
    .contact-grid {
        gap: 40px;
    }
    
    /* Benefícios: Lista Contínua no Mobile */
    .benefits-grid {
        gap: 0; 
        background: var(--card-bg);
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        overflow: hidden; /* Mantém as bordas arredondadas para o bloco inteiro */
    }
    
    .benefit-card {
        padding: 20px;
        box-shadow: none; /* Remove a sombra individual */
        border-radius: 0; /* Remove a borda individual */
        border-bottom: 1px solid #f0f0f0; /* Cria um separador sutil entre os itens */
    }
    
    .benefit-card:last-child {
        border-bottom: none; /* Remove a borda do último item */
    }
    
    .benefit-card img, 
    .benefit-card .video-facade-container {
        margin-bottom: 8px; /* Cola mais a imagem no título */
    }
    
    .benefit-title {
        margin-bottom: 4px; /* Cola bastante o título no parágrafo */
    }
    
    .benefit-card p {
        font-size: 0.95rem; /* Ajuste sutil na fonte para caber melhor */
        line-height: 1.4; /* Reduz um pouco o espaçamento entre linhas do parágrafo */
    }
    
    .mobile-swipe-hint {
        display: block;
        text-align: center;
        color: var(--secondary-color);
        font-size: 0.95rem;
        margin-top: 5px;
        margin-bottom: -10px;
        font-weight: 500;
        animation: pulse-hint 2s infinite;
    }
    
    @keyframes pulse-hint {
        0% { opacity: 0.7; transform: translateX(0); }
        50% { opacity: 1; transform: translateX(5px); }
        100% { opacity: 0.7; transform: translateX(0); }
    }

    .testimonial-video-card {
        border: none !important;
    }

    /* Modal Mobile Fixes */
    .modal-content {
        width: 95% !important;
        padding: 25px 15px !important;
        margin: 30px auto !important;
    }

    .pricing-modal-header {
        margin-bottom: 20px;
        text-align: center;
    }

    .pricing-features-list {
        grid-template-columns: 1fr !important;
        gap: 0;
    }

    .pricing-features-list li {
        padding: 8px 5px !important;
        font-size: 0.9rem;
    }

    .pricing-highlight-box {
        padding: 15px !important;
        margin-bottom: 20px;
    }

    .profile-image {
        width: 150px !important;
        height: 150px !important;
    }

    .pricing-modal-header h3 {
        font-size: 1.3rem !important;
    }
}
