@import url('style.css');

/* Variáveis CSS */
:root {
    --primary-red: #e31e24;
    --dark-red: #c41e24;
    --light-red: #f5f5f5;
    --light-gray: #f8f9fa;
    --dark-gray: #333;
    --text-color: #666;
    --white: #ffffff;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.2);
    --container-max-width: 1200px;
    --section-padding: 60px 0;
    --border-radius: 10px;
    --transition: all 0.3s ease;
    
    /* Cores das redes sociais */
    --whatsapp-color: #25D366;
    --facebook-color: #1877F2;
    --instagram-color: #E4405F;
    --linkedin-color: #0A66C2;
    --youtube-color: #FF0000;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    padding-top: 30px;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-red);
    margin: 1rem auto 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-line-1 {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.hero-line-2 {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

/* Contatos Principais */
.contatos-principais {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.contatos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contato-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.contato-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    transform: scaleX(0);
    transition: var(--transition);
}

.contato-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contato-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.whatsapp-card .card-icon { color: var(--whatsapp-color); }
.telefone-card .card-icon { color: var(--primary-red); }
.email-card .card-icon { color: #6366F1; }

.contato-card h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.contato-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contato-info {
    margin-bottom: 1.5rem;
}

.contato-info span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.email-address {
    word-break: break-all;
    line-height: 1.3;
    display: inline-block;
}

.btn-contato {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background-color: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.whatsapp-btn { background-color: var(--whatsapp-color); }
.telefone-btn { background-color: var(--primary-red); }
.email-btn { background-color: #6366F1; }
.maps-btn { background-color: #4285F4; }

.btn-contato:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}

/* Endereços */
.enderecos-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.enderecos-grid {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.endereco-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid #eee;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.endereco-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.endereco-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.endereco-icon {
    font-size: 3rem;
    color: var(--primary-red);
}

.endereco-tipo {
    text-align: center;
}

.endereco-tipo h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.badge-sede {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.endereco-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-item i {
    color: var(--primary-red);
    font-size: 1.25rem;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-content span {
    line-height: 1.4;
    color: var(--dark-gray);
}

/* Redes Sociais */
.redes-sociais {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f0f0 100%);
}

.redes-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.redes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.rede-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    border: 1px solid #eee;
}

.rede-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.rede-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.facebook-card .rede-icon { background-color: var(--facebook-color); }
.instagram-card .rede-icon { background: linear-gradient(45deg, #E4405F, #F56040, #FFDC80); }
.linkedin-card .rede-icon { background-color: var(--linkedin-color); }
.youtube-card .rede-icon { background-color: var(--youtube-color); }

.rede-info h3 {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.rede-info p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.rede-action {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Call to Action */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    justify-content: center;
}

.btn-cta.whatsapp {
    background-color: var(--whatsapp-color);
    color: var(--white);
}

.btn-cta.telefone {
    background-color: var(--white);
    color: var(--primary-red);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar animações */
.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-badge { animation-delay: 0.2s; }
.hero-title { animation-delay: 0.4s; }
.hero-description { animation-delay: 0.6s; }

.contato-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.contato-card:nth-child(1) { animation-delay: 0.1s; }
.contato-card:nth-child(2) { animation-delay: 0.2s; }
.contato-card:nth-child(3) { animation-delay: 0.3s; }

.endereco-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.rede-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.rede-card:nth-child(1) { animation-delay: 0.1s; }
.rede-card:nth-child(2) { animation-delay: 0.2s; }
.rede-card:nth-child(3) { animation-delay: 0.3s; }
.rede-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */

/* Tablet */
@media (min-width: 768px) {
    .hero-section {
        min-height: 500px;
        padding: 100px 0 0;
    }
    
    .hero-line-1 { font-size: 3rem; }
    .hero-line-2 { font-size: 2.5rem; }
    .hero-description { font-size: 1.2rem; }
    .hero-wave svg { height: 80px; }
    
    .section-title { font-size: 3rem; }
    
    .endereco-header {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .endereco-tipo {
        text-align: left;
    }
    
    .info-item {
        flex-direction: row;
        justify-content: center;
        text-align: left;
        gap: 1rem;
    }
    
    .info-item i {
        margin-top: 0.25rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .hero-section {
        min-height: 600px;
    }
    
    .hero-line-1 { font-size: 3.5rem; }
    .hero-line-2 { font-size: 3rem; }
    .hero-description { font-size: 1.3rem; }
    .hero-wave svg { height: 100px; }
    
    .contatos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .redes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .endereco-card {
        padding: 3rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-line-1 { font-size: 4rem; }
    .hero-line-2 { font-size: 3.5rem; }
    .hero-description { font-size: 1.4rem; }
    
    .contatos-grid {
        gap: 4rem;
    }
    
    .redes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .hero-section {
        min-height: 350px;
        padding: 60px 0 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contatos-grid {
        grid-template-columns: 1fr;
    }
    
    .endereco-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .endereco-tipo {
        text-align: center;
    }
    
    .info-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .redes-grid {
        grid-template-columns: 1fr;
    }
    
    .rede-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
    }
}

/* Print styles */
@media print {
    .hero-section,
    .cta-section {
        background: var(--white) !important;
        color: var(--dark-gray) !important;
    }
    
    .hero-bg-pattern,
    .hero-wave {
        display: none;
    }
    
    .btn-contato,
    .btn-cta {
        display: none;
    }
    
    .section-title::after {
        display: none;
    }
    
    .contatos-grid,
    .enderecos-grid,
    .redes-grid {
        break-inside: avoid;
    }
}