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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #4a4a4a;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #4a5fd1 0%, #5a4a8a 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 95, 209, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4a5fd1;
    border: 2px solid #4a5fd1;
}

.btn-secondary:hover {
    background: #4a5fd1;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #4a5fd1;
    border: 2px solid #4a5fd1;
}

.btn-outline:hover {
    background: #4a5fd1;
    color: white;
}

.btn-whatsapp {
    background: #1a8d4a;
    color: white;
    font-weight: 600;
}

.btn-whatsapp:hover {
    background: #0d5a2e;
    transform: translateY(-2px);
}

.btn-email {
    background: #ea4335;
    color: white;
}

.btn-email:hover {
    background: #d32f2f;
    transform: translateY(-2px);
}

.btn-phone {
    background: #2e7d32;
    color: white;
    font-weight: 600;
}

.btn-phone:hover {
    background: #1b5e20;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    color: #4a5fd1;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.nav-logo span {
    font-size: 0.8rem;
    color: #4a4a4a;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4a5fd1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a5fd1;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c2c2c;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

.hero-location {
    font-size: 1.1rem;
    color: #4a5fd1;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-credentials {
    margin-bottom: 2rem;
}

.crp {
    background: #2c3e50;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.hero-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(74, 95, 209, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4a5fd1 0%, #5a4a8a 100%);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #4a4a4a;
    max-width: 600px;
    margin: 0 auto;
}

/* Sobre Section */
.sobre {
    padding: 80px 0;
    background: #fff;
}

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

.sobre-text h3 {
    color: #4a5fd1;
    margin-bottom: 0.5rem;
}

.crp-info {
    color: #4a4a4a;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.especialidades {
    margin-top: 2rem;
}

.especialidades h4 {
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.especialidades ul {
    list-style: none;
}

.especialidades li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.especialidades i {
    color: #4a5fd1;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

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

.image-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4a5fd1 0%, #5a4a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 15px 30px rgba(74, 95, 209, 0.3);
}

/* Serviços Section */
.servicos {
    padding: 80px 0;
    background: #f8f9fa;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a5fd1 0%, #5a4a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.servico-card h3 {
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.servico-card p {
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

.servico-card ul {
    list-style: none;
    text-align: left;
}

.servico-card li {
    margin-bottom: 0.5rem;
    color: #4a4a4a;
    position: relative;
    padding-left: 1.5rem;
}

.servico-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a5fd1;
    font-weight: bold;
}

/* Atendimentos Section */
.atendimentos {
    padding: 80px 0;
    background: #fff;
}

.atendimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.atendimento-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.atendimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #4a5fd1;
}

.atendimento-card.online {
    border-color: #25d366;
}

.atendimento-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.atendimento-header i {
    font-size: 2rem;
    color: #4a5fd1;
    margin-right: 1rem;
}

.atendimento-header h3 {
    color: #2c2c2c;
    margin-bottom: 0;
}

.atendimento-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.atendimento-info i {
    color: #4a5fd1;
    margin-right: 0.5rem;
    width: 20px;
}

.atendimento-card .btn {
    margin-top: 1.5rem;
    width: 100%;
}

/* Mapa Container */
.mapa-container {
    margin-top: 1.5rem;
}

.mapa-container iframe {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mapa-container iframe:hover {
    transform: scale(1.02);
}

/* Placeholder do Mapa */
.mapa-placeholder {
    background: #f8f9fa;
    border: 2px dashed #4a5fd1;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.mapa-placeholder:hover {
    background: #e9ecef;
    border-color: #2c3e50;
}

.mapa-placeholder i {
    font-size: 3rem;
    color: #4a5fd1;
    margin-bottom: 1rem;
}

.mapa-placeholder p {
    color: #4a4a4a;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Contato Section */
.contato {
    padding: 80px 0;
    background: #fff;
}

.contato-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contato-info {
    display: grid;
    gap: 2rem;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contato-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contato-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a5fd1 0%, #5a4a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contato-details h4 {
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.contato-details p {
    color: #4a4a4a;
    margin-bottom: 1rem;
}

.redes-sociais h3 {
    color: #2c2c2c;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #2c2c2c;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-link:hover {
    transform: translateX(5px);
    background: #4a5fd1;
    color: white;
}

.social-link i {
    font-size: 1.5rem;
    width: 30px;
}

.social-link.instagram:hover {
    background: #e4405f;
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: #4a5fd1;
    margin-bottom: 1rem;
}

.footer-info p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
    color: #4a5fd1;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a5fd1;
}

.footer-contact p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #404040;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #1a8d4a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(26, 141, 74, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(26, 141, 74, 0.4);
    color: white;
    background: #0d5a2e;
}

/* Responsividade */
@media (max-width: 768px) {
    .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;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contato-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }

    .atendimentos-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-photo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .mapa-container iframe {
        height: 250px;
    }

    .hero-photo {
        width: 140px;
        height: 140px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Melhorias de acessibilidade */
html {
    font-size: 16px;
    scroll-padding-top: 80px;
}

/* Melhorias específicas para contraste */
.btn-outline {
    background: transparent;
    color: #4a5fd1;
    border: 2px solid #4a5fd1;
    font-weight: 600;
}

.btn-outline:hover {
    background: #4a5fd1;
    color: white;
}

/* Melhorar contraste dos botões de ação */
.btn-whatsapp {
    background: #1a8d4a;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp:hover {
    background: #0d5a2e;
    transform: translateY(-2px);
    color: white;
}

.btn-phone {
    background: #2e7d32;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-phone:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    color: white;
}

/* Garantir que todos os botões tenham contraste adequado */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Otimizações de performance */
* {
    box-sizing: border-box;
}

/* Melhorar performance de animações */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
    will-change: transform, opacity;
}

/* Otimizar transições */
.btn,
.nav-link,
.social-link,
.atendimento-card,
.servico-card {
    will-change: transform;
}

/* Reduzir reflows */
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    contain: layout style paint;
}

/* Garantir contraste adequado para textos pequenos */
.nav-logo span {
    font-size: 0.8rem;
    color: #4a4a4a;
    font-weight: 500;
}

/* Melhorar contraste do CRP */
.crp {
    background: #2c3e50;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Melhorar contraste dos links do footer */
.footer-links a {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #4a5fd1;
    text-decoration: underline;
}

/* Melhorar contraste dos textos do footer */
.footer-info p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.footer-contact p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}

.footer-bottom p {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

/* Melhorar contraste dos parágrafos */
p {
    margin-bottom: 1rem;
    color: #4a4a4a;
    font-weight: 400;
}

/* Melhorar contraste dos textos de localização */
.hero-location {
    font-size: 1.1rem;
    color: #4a5fd1;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Melhorar contraste dos ícones */
.atendimento-info i {
    color: #4a5fd1;
    margin-right: 0.5rem;
    width: 20px;
    font-weight: 600;
}

.especialidades i {
    color: #4a5fd1;
    margin-right: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}