/* ===================================
   EMAGRECENTRO LANDING PAGE STYLES
   Desenvolvido seguindo padrões de alta performance
   ================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Utilitários */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: #bf9e3f;
    font-weight: bold;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #172340;
}

.section-title.white {
    color: white;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #7f8c8d;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle.white {
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   HEADER - ALTURA REDUZIDA
   ================================== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
}

.header .container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    max-height: 35px;
    width: auto;
}

/* ===================================
   HERO SECTION - COMPLETA E AJUSTADA
   ================================== */
.hero {
    background: linear-gradient(135deg, #172340 0%, #2c3e50 100%);
    color: white;
    padding: 80px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 500px;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: #bf9e3f;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.benefit-icon {
    background: #27ae60;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.cta-button {
    display: inline-block;
    background: #bf9e3f;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(191, 158, 63, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: #a68935;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 158, 63, 0.4);
}

.hero-image {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.4));
}

/* Responsividade para o Hero */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-benefits {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .highlight {
        white-space: normal;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image img {
        max-width: 450px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image img {
        max-width: 350px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-image img {
        max-width: 280px;
    }
}

/* ===================================
   ABOUT SECTION - MUDANDO PARA FUNDO BRANCO
   ================================== */
.about {
    padding: 80px 0;
    background: white;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #172340;
}

.about-text h2 .highlight {
    color: #bf9e3f;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #bf9e3f;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 600;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* ===================================
   MÉTODO 4 FASES - 4 CARDS NA MESMA LINHA
   ================================== */
.metodo {
    padding: 80px 0;
    background: white;
}

.fases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.fase-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    border-top: 4px solid #bf9e3f;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.fase-card:hover {
    transform: translateY(-5px);
}

.fase-number {
    background: #bf9e3f;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.fase-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #172340;
}

.fase-duracao {
    color: #bf9e3f;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.fase-card p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.fase-benefits {
    list-style: none;
    text-align: left;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.fase-benefits li {
    padding: 0.4rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.fase-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.fase-obs {
    font-size: 0.85rem;
    color: #bf9e3f;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Responsividade para o Método 4 Fases */
@media (max-width: 1200px) {
    .fases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .fases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===================================
   RESULTADOS - TÍTULOS MAIS PRÓXIMOS DAS IMAGENS
   ================================== */
.resultados {
    padding: 80px 0;
    background: linear-gradient(135deg, #172340 0%, #2c3e50 100%);
    color: white;
}

.resultados .section-title {
    color: white;
}

.resultados .section-title .highlight {
    color: #bf9e3f;
}

.resultados .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.resultados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.resultado-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.resultado-card:hover {
    transform: translateY(-5px);
}

.antes-depois {
    width: 100%;
    height: 320px;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.antes-depois img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.resultado-titulo {
    padding: 1rem 1.5rem;
    text-align: center;
    background: white;
}

.resultado-titulo h3 {
    font-size: 1.6rem;
    color: #172340;
    margin: 0;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.resultado-titulo .vs {
    color: #bf9e3f;
    font-weight: 900;
    font-size: 1.8rem;
    margin: 0 0.5rem;
    text-shadow: 0 2px 4px rgba(191, 158, 63, 0.3);
}

/* ===================================
   DEPOIMENTOS - CARROSSEL DE VÍDEOS COMPLETO
   ================================== */
.depoimentos {
    padding: 80px 0;
    background: #f8f9fa;
}

.videos-container {
    position: relative;
    margin-top: 3rem;
}

.videos-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    position: relative;
}

.videos-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.video-card {
    flex: 0 0 auto;
    width: 280px;
    height: 500px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.video-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: #172340;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    user-select: none;
}

.carousel-btn:hover {
    background: #bf9e3f;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(191, 158, 63, 0.3);
}

/* Responsividade para os vídeos */
@media (max-width: 768px) {
    .video-card {
        width: 250px;
        height: 445px;
    }
    
    .videos-carousel {
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .carousel-controls {
        margin-top: 1.5rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .video-card {
        width: 220px;
        height: 390px;
    }
    
    .videos-carousel {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 320px) {
    .video-card {
        width: 200px;
        height: 355px;
    }
}

/* ===================================
   FORMULÁRIO - SEM CAMPO CIDADE E ÍCONE WHATSAPP
   ================================== */
.formulario {
    padding: 80px 0;
    background: linear-gradient(135deg, #172340 0%, #2c3e50 100%);
    color: white;
}

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

.form-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.form-text h2 .highlight {
    color: #bf9e3f;
}

.form-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #bf9e3f;
}

.form-group input::placeholder {
    color: #999;
}

.submit-button {
    background: #bf9e3f;
    color: white;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.submit-button:hover {
    background: #a68935;
    transform: translateY(-2px);
}

.form-security {
    text-align: center;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.success-message {
    text-align: center;
    color: #27ae60;
    padding: 2rem;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.error-message {
    background: #e74c3c;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
}

.whatsapp-button {
    margin-top: 2rem;
    text-align: center;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.whatsapp-link:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===================================
   FOOTER - FUNDO AZUL ESCURO
   ================================== */
.footer {
    background: #172340;
    color: white;
    padding: 40px 0;
    text-align: center;
}

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

.footer-logo img {
    max-height: 40px;
    width: auto;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}
/* ===================================
   RESPONSIVIDADE
   ================================== */

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-benefits {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image img {
        max-width: 450px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .fases-grid {
        grid-template-columns: 1fr;
    }
    
    .resultados-grid {
        grid-template-columns: 1fr;
    }
    
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
    
    .form-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image img {
        max-width: 350px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .fase-card {
        padding: 1.5rem;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-text h2 {
        font-size: 2rem;
    }
    
    .form-text p {
        font-size: 1rem;
    }
    
    .resultados-grid,
    .depoimentos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Micro Mobile */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-image img {
        max-width: 280px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .form-container {
        padding: 1rem;
    }
    
    .fase-card {
        padding: 1rem;
    }
}

/* ===================================
   ANIMAÇÕES E EFEITOS
   ================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Smooth scroll para links internos */
a[href^="#"] {
    scroll-behavior: smooth;
}

/* Loading states para imagens */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Focus states para acessibilidade */
input:focus,
button:focus,
a:focus {
    outline: 2px solid #bf9e3f;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .formulario,
    .footer {
        display: none;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}

/* ===================================
   OTIMIZAÇÕES DE PERFORMANCE
   ================================== */
/* GPU acceleration para elementos animados */
.cta-button,
.submit-button,
.whatsapp-link,
.fase-card,
.resultado-card,
.depoimento-card {
    will-change: transform;
}

/* Lazy loading placeholder */
.lazy-loading {
    background: #f0f0f0;
    background-image: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}
/* ===================================
   PÁGINA DE OBRIGADO
   ================================== */
.thank-you-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.thank-you {
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

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

.success-icon {
    margin-bottom: 2rem;
    animation: bounceIn 1s ease-out;
}

.thank-you-title {
    font-size: 3rem;
    color: #172340;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.thank-you-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.next-steps {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.next-steps h3 {
    color: #172340;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    font-size: 1.1rem;
}

.step-number {
    background: #bf9e3f;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.cta-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.urgency-text {
    font-size: 1.2rem;
    color: #172340;
    margin-bottom: 1.5rem;
}

.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #25d366;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-cta .whatsapp-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Animação de entrada */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .thank-you-title {
        font-size: 2.2rem;
    }
    
    .thank-you-subtitle {
        font-size: 1.1rem;
    }
    
    .next-steps,
    .cta-section {
        padding: 1.5rem;
    }
    
    .steps-list {
        text-align: center;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
