/* CSS completo otimizado - Header e Footer corrigidos */
:root {
    /* Cores principais */
    --primary: #5a7685; /* Azul escuro para cabeçalho */
    --primary-dark: #4a6572; /* Para hover/efeitos */
    --secondary: #d4b254; /* Dourado para destaques */
    --accent: #a88d5f;
    --cream: #f5f0e8;
    --white: #ffffff;
    --off-white: #fdfbf7;
    --gray: #666666;
    --light-gray: #f8f6f3;
    --dark: #2c2c2c;
    --text-light: rgba(255, 255, 255, 0.9);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    
    /* Tipografia */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background: var(--off-white);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================== */
/* HEADER - AJUSTADO CONFORME SUA VERSÃO */
/* =========================================== */
.header {
    background: var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 3px solid var(--secondary);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
    transition: transform 0.3s ease;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

.logo img {
    height: 65px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    filter: brightness(1.4) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

/* Logo mantém sua cor original e apenas escala no hover */
.logo:hover a {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.12);
}

.logo:hover img {
    filter: brightness(1.6) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link:hover::after {
    width: 100%;
}

.social-header {
    display: flex;
    gap: 1rem;
}

.social-header a {
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-header a:hover {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* =========================================== */
/* HERO SECTION */
/* =========================================== */
.hero-full {
    position: relative;
    height: 90vh;
    min-height: 700px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-full-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-full-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.8);
}

.hero-full-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-full-content {
    max-width: 600px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 3rem;
    border-left: 4px solid var(--secondary);
}

.hero-full-content h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-full-subtitle {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 2.5rem;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-full-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Botões */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    min-height: 50px;
}

.button-primary {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(212, 178, 84, 0.3);
}

.button-primary:hover {
    background: #e6c45e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 178, 84, 0.4);
}

/* Section Titles */
.section-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--dark);
    text-align: center;
    margin-bottom: 3.5rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

/* =========================================== */
/* SEÇÃO SOBRE */
/* =========================================== */
.sobre {
    padding: 5rem 0;
    background: var(--white);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.sobre-text {
    text-align: left;
}

.sobre-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.sobre-credenciais {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0d5c7;
}

.sobre-credenciais p {
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-size: 1rem;
}

.sobre-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e0d5c7;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 500;
}

/* =========================================== */
/* ESPECIALIDADES */
/* =========================================== */
.especialidades {
    padding: 5rem 0;
    background: var(--cream);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.area-card {
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.area-card:hover img {
    transform: scale(1.05);
}

.area-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
}

.area-card:hover .area-overlay {
    background: rgba(90, 118, 133, 0.95);
    padding: 3rem 2rem;
}

.area-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.area-overlay p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* =========================================== */
/* SEÇÃO REGIONAL */
/* =========================================== */
.regional {
    padding: 5rem 0;
    background: var(--light-gray);
}

.regional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.regional-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
}

.regional-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.regional-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.regional-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.regional-card ul {
    list-style: none;
}

.regional-card ul li {
    color: var(--gray);
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0ebe3;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.regional-card ul li:last-child {
    border-bottom: none;
}

.regional-card i {
    color: var(--secondary);
    font-size: 1rem;
}

/* =========================================== */
/* ATENDIMENTO */
/* =========================================== */
.atendimento {
    padding: 5rem 0;
    background: var(--white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    background: var(--cream);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.step-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.step-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* =========================================== */
/* CONTATO */
/* =========================================== */
.contato {
    padding: 5rem 0;
    background: var(--white);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contato-info {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 8px;
}

.contato-info-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: left;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-title {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 1rem;
}

.social-media {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0d5c7;
}

.social-title {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.contato-form {
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 8px;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e0d5c7;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(90, 118, 133, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* =========================================== */
/* FOOTER - CORRIGIDO */
/* =========================================== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-section ul li {
    color: rgba(255, 255, 255, 0.9);
}

.footer-section ul li i {
    color: var(--secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* =========================================== */
/* RESPONSIVIDADE */
/* =========================================== */

/* Para desktop - Ajuste da imagem para mostrar mais cabeça */
@media (min-width: 1024px) {
    .hero-full-background img {
        object-position: center 15% !important;
    }
}

/* Para telas grandes */
@media (min-width: 1400px) {
    .hero-full-background img {
        object-position: center 10% !important;
    }
}

/* Para tablets */
@media (max-width: 1024px) {
    .hero-full {
        height: 85vh;
        min-height: 600px;
    }
    
    .hero-full-content {
        max-width: 500px;
        padding: 2.5rem;
    }
    
    .hero-full-content h1 {
        font-size: 3rem;
    }
    
    .hero-full-subtitle {
        font-size: 1.6rem;
    }
    
    .sobre-content {
        gap: 3rem;
    }
}

/* =========================================== */
/* MOBILE */
/* =========================================== */
@media (max-width: 768px) {
    /* Header mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--primary);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding: 100px 0 2rem;
        gap: 1.5rem;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }

    .social-header {
        display: none;
    }
    
    /* Hero mobile */
    .hero-full {
        height: 85vh;
        min-height: 550px;
    }
    
    .hero-full-content {
        padding: 2rem;
        margin: 0 1rem;
        text-align: center;
    }
    
    .hero-full-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-full-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-full-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-full-buttons .button {
        width: 100%;
        text-align: center;
    }
    
    /* Sobre mobile - Centralizado */
    .sobre-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .sobre-text {
        text-align: center;
        order: 2;
    }
    
    .sobre-image {
        order: 1;
    }
    
    .sobre-text p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }
    
    .sobre-credenciais {
        text-align: center;
    }
    
    .sobre-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Especialidades mobile */
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .area-card {
        height: 350px;
    }
    
    /* Regional mobile */
    .regional-grid {
        grid-template-columns: 1fr;
    }
    
    .regional-card {
        padding: 2rem;
    }
    
    /* Atendimento mobile */
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contato mobile */
    .contato-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contato-info,
    .contato-form {
        text-align: center;
        padding: 2rem;
    }
    
    .contato-info-title,
    .form-title {
        text-align: center;
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        align-items: center;
        margin-bottom: 1.8rem;
    }
    
    .info-item i {
        margin-top: 0;
        font-size: 1.8rem;
    }
    
    .info-content {
        text-align: center;
    }
    
    .social-media {
        text-align: center;
    }
    
    .social-title {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .form-group {
        text-align: left;
    }
    
    /* Footer mobile - CORRIGIDO */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-section h3 {
        text-align: center;
    }
    
    .footer-section ul li {
        justify-content: center;
    }
    
    .footer-section ul li a {
        justify-content: center;
    }
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
    .hero-full {
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-full-content {
        padding: 1.5rem;
    }
    
    .hero-full-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-full-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contato-info,
    .contato-form {
        padding: 1.5rem;
    }
    
    .contato-info-title,
    .form-title {
        font-size: 1.4rem;
    }
}

/* Para telas grandes (acima de 1440px) */
@media (min-width: 1441px) {
    .hero-full {
        max-height: 1000px;
    }
    
    .hero-full-content h1 {
        font-size: 4rem;
    }
    
    .hero-full-subtitle {
        font-size: 2.2rem;
    }
    
    .hero-full-background img {
        object-position: center 5% !important;
    }
}