/* Reset e variáveis globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1f3276;
    --secondary-blue: #1f3276;
    --accent-yellow: #ffcb05;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header e Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    min-height: 100vh;
    color: var(--white);
    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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.navbar {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-img {
    height: 80px;
    width: auto;
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-yellow);
}

/* Menu Mobile */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 15;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.98);
    backdrop-filter: blur(10px);
    z-index: 10;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-nav-link:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-yellow);
}

.mobile-nav-link.cta-mobile {
    background: var(--accent-yellow);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.mobile-nav-link.cta-mobile:hover {
    background: #ffed4e;
    transform: scale(1.05);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    position: relative;
    z-index: 5;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Botões CTA */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
    border: none;
}

.cta-button.primary {
    background: var(--accent-yellow);
    color: var(--primary-blue);
}

.cta-button.primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-button.secondary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Seção de Benefícios */
.benefits {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-yellow);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-yellow), #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-blue);
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Seção Depoimento */
.testimonial {
    background: var(--primary-blue);
    padding: 80px 0;
    color: var(--white);
}

.testimonial-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote {
    font-size: 2.2rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-yellow);
    position: absolute;
    top: -20px;
}

.testimonial-quote::before {
    left: -40px;
}

.testimonial-quote::after {
    right: -40px;
}

.testimonial-author {
    font-size: 1.2rem;
    color: var(--accent-yellow);
    font-weight: 600;
}

/* CTA Final */
.final-cta {
    background: var(--light-gray);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.footer-tagline {
    margin-top: 15px;
    opacity: 0.8;
}

address {
    font-style: normal;
    line-height: 1.6;
}

address i {
    color: var(--accent-yellow);
    margin-right: 8px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-yellow);
}

.social-link i {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsividade Aprimorada */

/* Tablets */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .navbar {
        padding: 15px 0;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .benefits {
        padding: 70px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .benefit-card {
        padding: 35px 25px;
        margin: 0 10px;
    }
    
    .benefit-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .benefit-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .testimonial {
        padding: 60px 0;
    }
    
    .testimonial-quote {
        font-size: 1.9rem;
        padding: 0 20px;
        line-height: 1.3;
    }
    
    .testimonial-quote::before,
    .testimonial-quote::after {
        display: none;
    }
    
    .final-cta {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2.3rem;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .cta-subtitle {
        font-size: 1.2rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .social-links {
        align-items: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .cta-button {
        padding: 15px 28px;
        font-size: 1.05rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .container {
        padding: 0 18px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .hero-content {
        min-height: 75vh;
        padding: 20px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .benefits {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        line-height: 1.2;
    }
    
    .benefit-card {
        padding: 25px 18px;
        margin: 0 5px;
        border-radius: 15px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .benefit-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .benefit-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .testimonial {
        padding: 45px 0;
    }
    
    .testimonial-quote {
        font-size: 1.5rem;
        padding: 0 15px;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .testimonial-author {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .final-cta {
        padding: 45px 0;
    }
    
    .cta-title {
        font-size: 1.9rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Mobile Muito Pequeno */
@media (max-width: 360px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .cta-title {
        font-size: 1.7rem;
    }
    
    .benefit-card {
        padding: 20px 15px;
    }
    
    .testimonial-quote {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 0 12px;
    }
}

/* Landscape no Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        min-height: 70vh;
        padding: 10px 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .navbar {
        padding: 8px 0;
    }
    
    .logo-img {
        height: 50px;
    }
}

/* Ajustes para telas ultrawide */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Animações suaves */
.hero-title,
.hero-subtitle,
.cta-button {
    animation: fadeInUp 0.8s ease-out;
}

.benefit-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Otimizações para Touch */
@media (hover: none) and (pointer: coarse) {
    .benefit-card:hover {
        transform: none;
        box-shadow: var(--shadow);
        border-color: transparent;
    }
    
    .cta-button:hover {
        transform: none;
        box-shadow: var(--shadow);
    }
    
    .whatsapp-btn:hover {
        transform: none;
        box-shadow: var(--shadow);
    }
}

/* Melhorias de Performance */
.benefit-card,
.cta-button,
.whatsapp-btn,
.mobile-nav-link {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Área de toque maior para botões pequenos */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

/* Melhor contraste para acessibilidade */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #1a2f4a;
        --accent-yellow: #ffcc00;
    }
}

/* Reduzir animações para usuários sensíveis */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .whatsapp-btn {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
} 