/* ========================================
   AMPLIAR ABA - CSS PARA WORDPRESS
   ======================================== */

/* Importar Tailwind CSS */
@import url('https://cdn.tailwindcss.com');

/* ========== CONFIGURAÇÕES GERAIS ========== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* ========== SCROLLBAR PERSONALIZADA ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}

/* ========== NAVEGAÇÃO ========== */
.nav-link {
    color: #374151;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
    text-decoration: none;
}

.nav-link-mobile {
    color: #374151;
    text-decoration: none;
    padding: 0.75rem 0;
    display: block;
    font-weight: 500;
    text-align: left;
    transition: color 0.3s ease;
}

.nav-link-mobile:hover {
    color: #2563eb;
    text-decoration: none;
}

/* ========== BOTÕES ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(to right, #1d4ed8, #1e40af);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    padding: 1rem 2rem;
    border: 2px solid #2563eb;
    color: #2563eb;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: white;
    text-decoration: none;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #10b981;
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-whatsapp:hover {
    background-color: #059669;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    color: white;
    text-decoration: none;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(to right, #ec4899, #9333ea);
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.btn-instagram:hover {
    background: linear-gradient(to right, #db2777, #7c3aed);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
    color: white;
    text-decoration: none;
}

/* ========== CARDS DE RECURSOS ========== */
.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: #dbeafe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ========== EQUIPE ========== */
.team-card {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 300px;
    margin: 0 auto;
}

.team-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px) scale(1.02);
}

.team-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== SERVIÇOS ========== */
.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background-color: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-divider {
    width: 3rem;
    height: 0.25rem;
    background-color: #2563eb;
    margin: 0 auto 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
    color: #6b7280;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-list li::before {
    content: "•";
    color: #2563eb;
    position: absolute;
    left: 0;
    top: 0;
}

/* ========== ESPECIALIDADES ========== */
.specialty-card {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.specialty-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px) scale(1.02);
}

.specialty-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    display: block;
}

.specialty-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    text-align: center;
}

.specialty-description {
    color: #6b7280;
    line-height: 1.625;
    text-align: center;
}

/* ========== CONTATO ========== */
.contact-info-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: #dbeafe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon {
    background-color: #dcfce7;
}

.whatsapp-icon svg {
    color: #059669;
}

/* ========== FORMULÁRIOS ========== */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 16px; /* Evita zoom no iOS */
}

.form-input:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px #3b82f6;
    transform: translateY(-1px);
}

/* ========== FOOTER ========== */
.footer-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
}

.social-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #10b981;
    text-decoration: none;
}

.social-link:nth-child(2):hover {
    color: #ec4899;
}

.social-link:nth-child(3):hover {
    color: #3b82f6;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.animate-pulse-custom {
    animation: pulse 2s infinite;
}

/* ========== LOADING STATES ========== */
.loading-spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .section-padding {
        padding: 60px 0;
    }

    .btn-primary,
    .btn-secondary,
    .btn-whatsapp,
    .btn-instagram {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .team-card {
        max-width: 100%;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ========== ACESSIBILIDADE ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

@media (prefers-contrast: high) {
    .shadow-lg {
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    }
}

/* ========== ESTADOS DE FOCO ========== */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* ========== OTIMIZAÇÕES PARA WORDPRESS ========== */
.wp-block-group {
    margin: 0;
}

.wp-block-image {
    margin: 0;
}

/* Remove margens padrão do WordPress */
.entry-content > * {
    margin-top: 0;
    margin-bottom: 0;
}

/* Compatibilidade com tema WordPress */
.entry-content {
    max-width: none;
}

.site-main {
    padding: 0;
}

.content-area {
    width: 100%;
}

/* ========== PRINT STYLES ========== */
@media print {
    .no-print,
    header,
    footer,
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp,
    .btn-instagram {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .bg-gray-50,
    .bg-blue-50 {
        background: white !important;
    }
}