/* ============================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Principais */
    --primary-color: #003366;        /* Azul escuro profissional */
    --secondary-color: #00A86B;      /* Verde detalhes */
    --accent-color: #0066CC;         /* Azul médio */
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --text-white: #ffffff;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
    
    /* Fontes */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    
    /* Espaçamento */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
}

/* ============================================
   TIPOGRAFIA
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-white);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background: #008f5d;
    border-color: #008f5d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: #002244;
    border-color: #002244;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   HEADER / NAVEGAÇÃO
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--background-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
    max-height: 90px;
    min-height: 70px;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-normal);
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-normal);
}

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

.header-cta {
    display: flex;
}

.header-cta .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 130px 0 80px;
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.3) 0%, rgba(0, 168, 107, 0.15) 100%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--background-white);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.badge i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

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

.hero-image {
    position: relative;
    animation: fadeInRight 0.8s ease-out;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SECTIONS COMUNS
   ============================================ */

section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================
   SOBRE O MÉDICO
   ============================================ */

.sobre {
    background: var(--background-white);
}

.sobre-content {
    max-width: 900px;
    margin: 0 auto;
}

.sobre-intro {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.sobre-diferenciais {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.diferencial-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 10px;
    transition: var(--transition-normal);
}

.diferencial-item:hover {
    background: #e8f5e9;
    transform: translateX(10px);
}

.diferencial-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.diferencial-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   FORMAÇÃO ACADÊMICA E ESPECIALIZAÇÕES
   ============================================ */

.formacao {
    background: var(--background-light);
    padding: var(--spacing-xl) 0;
}

.formacao-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.formacao-image {
    position: sticky;
    top: 120px;
}

.formacao-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.formacao-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.formacao-text {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.formacao-section {
    margin-bottom: 2.5rem;
}

.formacao-section:last-child {
    margin-bottom: 0;
}

.formacao-subtitle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary-color);
}

.formacao-subtitle i {
    color: var(--secondary-color);
    font-size: 1.75rem;
}

.formacao-list {
    list-style: none;
    padding-left: 0;
}

.formacao-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
    color: var(--text-light);
}

.formacao-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.formacao-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.formacao-destaque {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.05), rgba(0, 168, 107, 0.05));
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.formacao-atual {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0;
}

.formacao-atual strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsividade para Formação */
@media (max-width: 992px) {
    .formacao-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .formacao-image {
        position: relative;
        top: 0;
    }
    
    .formacao-text {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .formacao-text {
        padding: 1.5rem;
    }
    
    .formacao-subtitle {
        font-size: 1.25rem;
    }
    
    .formacao-list li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }
    
    .formacao-destaque {
        padding: 1.5rem;
    }
}

/* ============================================
   ESPECIALIDADES
   ============================================ */

.especialidades {
    background: var(--background-light);
}

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

.especialidade-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.especialidade-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.card-list {
    list-style: none;
    margin: 0;
}

.card-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ============================================
   POR QUE ESCOLHER
   ============================================ */

.por-que-escolher {
    background: var(--background-white);
}

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

.escolher-card {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 15px;
    transition: var(--transition-normal);
}

.escolher-card:hover {
    background: var(--background-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.escolher-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), #00c97a);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.escolher-icon i {
    font-size: 2.5rem;
    color: var(--text-white);
}

.escolher-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.escolher-card p {
    font-size: 1rem;
}

/* ============================================
   GALERIA / CARROSSEL
   ============================================ */

.galeria {
    background: var(--background-light);
}

.carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--text-white);
    box-shadow: var(--shadow-md);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-btn i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-indicator.active {
    background: var(--text-white);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */

.depoimentos {
    background: var(--background-white);
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.google-logo {
    height: 30px;
}

.rating-info {
    text-align: left;
}

.stars {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.stars i {
    color: #fbbc04;
    font-size: 1.2rem;
}

.rating-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-left: 0.5rem;
}

.rating-count {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

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

.depoimento-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition-normal);
}

.depoimento-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.depoimento-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.depoimento-stars i {
    color: #fbbc04;
    font-size: 1rem;
}

.depoimento-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.depoimento-autor {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.google-reviews-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
    background: var(--background-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-white);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-question i {
    color: var(--secondary-color);
    transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
}

/* ============================================
   CONTATO
   ============================================ */

.contato {
    background: var(--background-white);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contato-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contato-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contato-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border-radius: 10px;
    flex-shrink: 0;
}

.contato-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.contato-details h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contato-details p {
    margin: 0;
    color: var(--text-light);
}

.contato-details a {
    color: var(--accent-color);
}

.contato-details a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contato-cta {
    margin-top: 2rem;
}

.contato-mapa iframe {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-logo {
    height: 100px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-info h3 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-especialidades {
    font-size: 0.85rem !important;
    margin-top: 1rem;
}

.footer-links h4,
.footer-contato h4,
.footer-social h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contato p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contato i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-contato a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contato a:hover {
    color: var(--secondary-color);
}

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

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 2rem;
    color: var(--text-white);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

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

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablets */
@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contato-content {
        grid-template-columns: 1fr;
    }
    
    .carousel-container {
        height: 400px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: var(--spacing-md) 0;
    }
    
    /* Header Mobile */
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--background-white);
        transition: var(--transition-normal);
        box-shadow: var(--shadow-md);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 0;
    }
    
    .nav-list li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hero Mobile */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-badges {
        flex-direction: column;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Especialidades Mobile */
    .especialidades-grid {
        grid-template-columns: 1fr;
    }
    
    /* Por Que Escolher Mobile */
    .escolher-grid {
        grid-template-columns: 1fr;
    }
    
    /* Carousel Mobile */
    .carousel-container {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    /* Depoimentos Mobile */
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
    
    .google-rating {
        flex-direction: column;
        text-align: center;
    }
    
    .rating-info {
        text-align: center;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* WhatsApp Button Mobile */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 1.75rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .carousel-container {
        height: 250px;
    }
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.d-none { display: none; }
.d-block { display: block; }

/* ============================================
   OTIMIZAÇÕES DE PERFORMANCE
   ============================================ */

/* Lazy Loading Images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ============================================
   LOGO CAROUSEL - INFINITE HORIZONTAL SCROLL
   ============================================ */

.logo-carousel-section {
    background: var(--background-white);
    padding: 50px 0;
    overflow: hidden;
    position: relative;
}

.container-full {
    width: 100%;
    padding: 0;
}

.logo-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    
    /* Gradient masks for smooth edges */
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.logo-carousel-track {
    display: flex;
    gap: 60px;
    width: fit-content;
    animation: scroll-logos-desktop 30s linear infinite;
    will-change: transform;
}

/* Pause animation on hover */
.logo-carousel-wrapper:hover .logo-carousel-track {
    animation-play-state: paused;
}

.logo-carousel-slide {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%) opacity(0.85);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-carousel-slide:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Animation keyframes for desktop */
@keyframes scroll-logos-desktop {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move by half the track width (7 logos + gaps) */
        transform: translateX(calc(-200px * 7 - 60px * 7));
    }
}

/* Animation keyframes for tablet */
@keyframes scroll-logos-tablet {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 7 - 50px * 7));
    }
}

/* Animation keyframes for mobile */
@keyframes scroll-logos-mobile {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-150px * 7 - 40px * 7));
    }
}

/* Animation keyframes for small mobile */
@keyframes scroll-logos-small {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-130px * 7 - 30px * 7));
    }
}

/* Tablet - Show 3 logos */
@media screen and (max-width: 992px) {
    .logo-carousel-slide {
        width: 180px;
        height: 100px;
    }
    
    .logo-carousel-track {
        gap: 50px;
        animation: scroll-logos-tablet 30s linear infinite;
    }
    
    .logo-carousel-section {
        padding: 40px 0;
    }
}

/* Mobile - Show 2 logos */
@media screen and (max-width: 768px) {
    .logo-carousel-slide {
        width: 150px;
        height: 90px;
    }
    
    .logo-carousel-track {
        gap: 40px;
        animation: scroll-logos-mobile 25s linear infinite;
    }
    
    .logo-carousel-section {
        padding: 30px 0;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .logo-carousel-slide {
        width: 130px;
        height: 80px;
    }
    
    .logo-carousel-track {
        gap: 30px;
        animation: scroll-logos-small 20s linear infinite;
    }
}

/* Reduce Motion para Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   BAIRROS & ROTAS — UNIFICADO
   ============================================ */

#bairros { scroll-margin-top: 90px; } /* compensa header fixo */

.bairros { background: var(--background-light); }

.bairros .section-subtitle {
  max-width: 980px;
  margin: 0 auto var(--spacing-lg);
}

/* Grid de cards */
.bairros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Card */
.bairro-item {
  background: var(--background-white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 160px;
}
.bairro-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 107, 0.35);
}

/* Título com ícone (Font Awesome) */
.bairro-item h3 {
  font-size: 1.15rem;
  color: var(--primary-color);
  margin: 0 0 0.5rem;
  padding-left: 1.85rem;
  position: relative;
  line-height: 1.4;
}
.bairro-item h3::before {
  content: "\f3c5"; /* fa-location-dot */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  top: 0.1rem;
  line-height: 1;
  font-size: 1.05rem;
}

/* Texto */
.bairro-item p {
  margin: 0;
  color: var(--text-light);
  padding-left: 1.85rem;
  line-height: 1.75;
}

/* Destaque opcional no primeiro card */
.bairro-item:first-child {
  border-left: 4px solid var(--secondary-color);
  padding-left: 1.25rem;
}

/* Rotas (chips) */
.rota-links { margin-top: 1.25rem; }
.rota-links h4 { margin-bottom: 0.75rem; color: var(--primary-color); }
.rota-links p { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.rota-links .btn {
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
  border-radius: 999px;
  line-height: 1;
  margin: 0.25rem 0.4rem 0.4rem 0;
}
.rota-links .btn:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

/* Responsivo */
@media (max-width: 992px) { .bairro-item { min-height: auto; } }
@media (max-width: 768px) { .bairros-grid { grid-template-columns: 1fr; } }


/* ============================================
   INSTAGRAM FEED (escopado com .insta-*)
   ============================================ */

.insta-section {
  padding: 40px 16px;
  background: #f8f8f8;
}

.insta-container {
  max-width: 1100px;
  margin: 0 auto;
}

.insta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.insta-header h2 {
  font-size: 1.8rem;
  margin: 0;
}

.insta-view-all {
  font-size: .9rem;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #ddd;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.insta-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.insta-card:hover img {
  transform: scale(1.05);
}

.insta-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 10px;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(0,0,0,.7);
  color: #fff;
}

/* Skeleton loader */
.insta-skel {
  width: 100%;
  padding-top: 100%;
  background: linear-gradient(90deg, #eee, #f5f5f5, #eee);
  background-size: 200% 100%;
  animation: shine 1.2s infinite linear;
  border-radius: 12px;
}
@keyframes shine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
