/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #041562;
    background-color: #EEEEEE;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(4, 21, 98, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-img {
    height: 70px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #041562;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #11468F;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #041562;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: #EEEEEE;
    color: #041562;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #041562 0%, #11468F 100%);
    clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: rgba(17, 70, 143, 0.1);
    color: #11468F;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(17, 70, 143, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #041562;
}

.hero-title .highlight {
    color: #11468F;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #11468F;
    line-height: 1.6;
}

.cta-button {
    background: #DA1212;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(218, 18, 18, 0.3);
}

.cta-button:hover {
    background: #b80f0f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 18, 18, 0.4);
}

.hero-image {
    position: relative;
    z-index: 3;
}

.image-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(4, 21, 98, 0.1);
    border: 2px solid rgba(17, 70, 143, 0.1);
    position: relative;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 21, 98, 0.1) 0%, rgba(17, 70, 143, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-img:hover {
    transform: scale(1.05);
}

/* Seções gerais */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #041562;
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #11468F;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Produtos Section */
.produtos {
    padding: 80px 0;
    background: #EEEEEE;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.produto-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(4, 21, 98, 0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.produto-card:hover {
    transform: translateY(-5px);
    border-color: #11468F;
    box-shadow: 0 8px 30px rgba(4, 21, 98, 0.15);
}

.produto-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #041562 0%, #11468F 100%);
    border-radius: 20px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(4, 21, 98, 0.2);
}

.produto-icon svg {
    width: 40px;
    height: 40px;
}

.produto-card:hover .produto-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(4, 21, 98, 0.3);
}

.produto-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #041562;
}

.produto-button {
    background: #11468F;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.produto-button:hover {
    background: #041562;
    transform: translateY(-2px);
}

/* Estatísticas Section */
.estatisticas {
    padding: 80px 0;
    background: linear-gradient(135deg, #041562 0%, #11468F 100%);
    color: white;
}

.estatisticas .section-title {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #DA1212;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* História Section */
.historia {
    padding: 80px 0;
    background: white;
}

.historia-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.historia-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #041562, #11468F);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #DA1212;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(218, 18, 18, 0.3);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(4, 21, 98, 0.1);
    border: 2px solid rgba(17, 70, 143, 0.1);
    margin: 0 2rem;
    flex: 1;
    max-width: 350px;
}

.timeline-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(4, 21, 98, 0.1);
}

.timeline-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.timeline-img:hover {
    transform: scale(1.05);
}

.timeline-content h3 {
    color: #041562;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #11468F;
    line-height: 1.6;
}

/* Pilares Section */
.pilares {
    padding: 80px 0;
    background: #EEEEEE;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pilar-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(4, 21, 98, 0.1);
    border: 2px solid transparent;
}

.pilar-card:hover {
    transform: translateY(-5px);
    border-color: #11468F;
    box-shadow: 0 8px 30px rgba(4, 21, 98, 0.15);
}

.pilar-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #11468F 0%, #041562 100%);
    border-radius: 18px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(17, 70, 143, 0.2);
}

.pilar-icon svg {
    width: 35px;
    height: 35px;
}

.pilar-card:hover .pilar-icon {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(17, 70, 143, 0.3);
}

.pilar-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #041562;
}

.pilar-card p {
    color: #11468F;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pilar-button {
    background: transparent;
    color: #11468F;
    border: 2px solid #11468F;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pilar-button:hover {
    background: #11468F;
    color: white;
}

/* Depoimentos Section */
.depoimentos {
    padding: 80px 0;
    background: #EEEEEE;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.depoimento-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(4, 21, 98, 0.1);
    border-left: 4px solid #DA1212;
}

.depoimento-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #041562;
}

.depoimento-author {
    color: #11468F;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #EEEEEE;
}

.faq .section-title .highlight-text {
    color: #11468F;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(4, 21, 98, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(4, 21, 98, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-item.active .faq-question {
    background: #041562;
    color: white;
}

.faq-item:not(.active) .faq-question {
    background: white;
    color: #041562;
}

.faq-question:hover {
    background: #11468F;
    color: white;
}

.faq-item.active .faq-question:hover {
    background: #041562;
}

.faq-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #11468F;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: white;
    color: #041562;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-question span {
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: #11468F;
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #041562 0%, #11468F 100%);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    margin-right: 1rem;
}

.footer-logo-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: white;
}

.footer-logo-text p {
    font-size: 0.9rem;
    color: #DA1212;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-description {
    color: white;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    color: #DA1212;
    flex-shrink: 0;
}

.contact-item span {
    color: white;
    opacity: 0.9;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-links-list a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links-list a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 1;
}

.social-link svg {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    color: #DA1212;
    flex-shrink: 0;
}

.footer-bottom {
    background: rgba(4, 21, 98, 0.8);
    padding: 1.5rem 0;
    width: 100%;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: white;
    opacity: 0.9;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* WhatsApp Button */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    color: white;
    animation: whatsappPulse 2s infinite;
    position: relative;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 30px;
    height: 30px;
    animation: whatsappIconBounce 1.5s ease-in-out infinite;
}

@keyframes whatsappIconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.whatsapp-chat {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.whatsapp-chat.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: #25D366;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    color: white;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.chat-avatar svg {
    width: 24px;
    height: 24px;
}

.chat-info {
    flex: 1;
}

.chat-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    opacity: 0.9;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f0f0f0;
}

.message {
    margin-bottom: 15px;
    display: flex;
}

.bot-message {
    justify-content: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bot-message .message-content {
    background: white;
    color: #333;
}

.message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-input {
    padding: 20px;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.whatsapp-cta {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.whatsapp-cta:hover {
    background: #20c55a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta svg {
    width: 20px;
    height: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero::before {
        display: none;
    }
    
    .hero-img {
        height: 300px;
    }
    
    .historia-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 80px;
        padding: 10px 15px;
        font-size: 1rem;
    }
    
    .timeline-content {
        margin: 0;
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .timeline-img {
        height: 150px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo {
        max-width: 100%;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* WhatsApp Responsive */
    .whatsapp-chat {
        width: 300px;
        height: 450px;
        right: -10px;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
    
    .produtos-grid,
    .pilares-grid,
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.produto-card,
.pilar-card,
.depoimento-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}
