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

/* Slick Carousel Custom Styles */
.slick-slide {
    padding: 20px 10px;
    height: auto;
    outline: none;
}

.slick-dots {
    position: relative;
    bottom: 0;
    margin-top: 30px;
    list-style: none;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.slick-dots li {
    margin: 0 5px;
}

.slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ccc;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slick-dots li.slick-active button {
    background: var(--primary-color);
    transform: scale(1.2);
}

.slick-prev, .slick-next {
    width: 50px;
    height: 50px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0.9;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.slick-prev:hover, .slick-next:hover {
    background: white !important;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.slick-prev:before, .slick-next:before {
    color: var(--primary-color);
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    opacity: 1;
    transition: all 0.3s ease;
}

.slick-prev:hover:before, .slick-next:hover:before {
    color: var(--accent-color);
    transform: scale(1.2);
}

.slick-prev:before {
    content: '\f053';
    margin-right: 3px;
}

.slick-next:before {
    content: '\f054';
    margin-left: 3px;
}

.slick-prev {
    left: -60px;
}

.slick-next {
    right: -60px;
}

/* Esconder botões de navegação em mobile para evitar overflow */
@media (max-width: 768px) {
    .slick-prev, .slick-next {
        display: none !important;
    }
}

/* Seção de depoimentos visível em todos os dispositivos */

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #9be2b5, transparent);
}


/* Reviews Container */
.reviews-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
}

.reviews-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
    justify-content: flex-start;
}

.review-card {
    flex: 0 0 350px;
    height: 350px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9be2b5, #7dd3fc);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #9be2b5, #7dd3fc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    flex-shrink: 0;
    text-transform: uppercase;
}

.reviewer-details {
    flex: 1;
    min-width: 0;
}

.reviewer-details h4 {
    margin: 0 0 6px 0;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.review-stars {
    display: flex;
    gap: 1px;
}

.review-stars i {
    color: #ffc107;
    font-size: 0.85rem;
}

.review-date {
    color: #6c757d;
    font-size: 0.8rem;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 2px;
}

.review-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.review-content p {
    color: #495057;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
    position: relative;
    text-align: left;
    padding: 0 15px;
}

.review-content p::before {
    content: '"';
    font-size: 2rem;
    color: #9be2b5;
    position: absolute;
    left: -5px;
    top: -10px;
    font-family: Georgia, serif;
    font-weight: bold;
    line-height: 1;
}

.review-content p::after {
    content: '"';
    font-size: 2rem;
    color: #9be2b5;
    font-family: Georgia, serif;
    font-weight: bold;
    position: absolute;
    right: -5px;
    bottom: -15px;
    line-height: 1;
}

/* Reviews Controls - Escondidas (JavaScript cria as setas funcionais) */
.reviews-controls {
    display: none !important;
}

.review-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #9be2b5;
    font-size: 1.2rem;
}

.review-btn:hover {
    background: #9be2b5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 226, 181, 0.3);
}

.review-btn:active {
    transform: translateY(0);
}

/* Reviews Dots */
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.review-dot.active {
    background: #9be2b5;
    transform: scale(1.2);
}

.review-dot:hover {
    background: #7dd3fc;
}


/* Responsive Design for Reviews */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0 !important;
        overflow: hidden !important;
    }
    
    .testimonials .section-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px !important;
        text-align: center !important;
        padding: 0 20px !important;
    }
    
    /* Container mobile - centralizado */
    .reviews-container.mobile-container {
        margin: 30px auto 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Carrossel mobile - um card por vez centralizado */
    .reviews-carousel.mobile-carousel {
        display: flex !important;
        gap: 20px !important;
        overflow: visible !important;
        padding: 0 !important;
        transition: transform 0.5s ease !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    /* Cards mobile - tamanho fixo e centralizado */
    .mobile-carousel .review-card {
        min-width: calc(100vw - 60px) !important;
        max-width: calc(100vw - 60px) !important;
        width: calc(100vw - 60px) !important;
        height: auto !important;
        min-height: 300px !important;
        padding: 25px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        background: white !important;
        border-radius: 15px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        border: 1px solid #f0f0f0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Conteúdo dos cards mobile */
    .mobile-carousel .reviewer-avatar {
        width: 50px !important;
        height: 50px !important;
        font-size: 1rem !important;
        flex-shrink: 0 !important;
    }
    
    .mobile-carousel .reviewer-details h4 {
        font-size: 1rem !important;
        margin-bottom: 5px !important;
    }
    
    .mobile-carousel .review-stars i {
        font-size: 0.9rem !important;
    }
    
    .mobile-carousel .review-date {
        font-size: 0.8rem !important;
    }
    
    .mobile-carousel .review-header {
        margin-bottom: 15px !important;
        padding-bottom: 15px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .mobile-carousel .review-content {
        flex: 1 !important;
        display: flex !important;
        align-items: flex-start !important;
    }
    
    .mobile-carousel .review-content p {
        font-size: 0.9rem !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1.7 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        text-align: left !important;
        color: #333 !important;
    }
    
    .review-header {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .review-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .review-content p {
        font-size: 0.85rem;
    }
    
    .review-content p::before {
        left: -8px;
        font-size: 1.5rem;
        top: -6px;
    }
    
    .review-content p::after {
        font-size: 1.5rem;
    }
    
    /* Controles de navegação mobile */
    .mobile-container .carousel-navigation {
        margin-top: 25px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    /* Esconder setas do HTML que não funcionam no mobile */
    .mobile-container .reviews-controls {
        display: none !important;
    }
    
    .mobile-container .reviews-dots {
        margin-top: 15px !important;
    }
}

@media (max-width: 480px) {
    /* Cards mobile pequeno - controlado por .mobile-carousel */
    .mobile-carousel .review-card {
        min-width: calc(100vw - 40px) !important;
        max-width: calc(100vw - 40px) !important;
        width: calc(100vw - 40px) !important;
        padding: 20px !important;
    }
    
    .mobile-carousel .review-content p {
        font-size: 0.85rem !important;
    }
    
    .review-content p::before {
        left: -6px;
        font-size: 1.3rem;
        top: -4px;
    }
    
    .review-content p::after {
        font-size: 1.3rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .specialty-card {
        padding: 30px 20px;
    }
    .slick-prev {
        left: -15px;
    }
    
    .slick-next {
        right: -15px;
    }
}

@media (max-width: 992px) {
    .slick-prev, .slick-next {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .slick-slide {
        padding: 5px;
    }
    
    .review-slide {
        padding: 5px !important;
    }
    
    .review-content {
        padding: 20px 15px;
    }
    
    .review-text {
        font-size: 14px;
    }
}

:root {
    --primary-color: #f29191; /* Azul bebê suave */
    --secondary-color: #f29191; /* Rosa claro */
    --accent-color: #FF69B4; /* Rosa médio */
    --success-color: #76FF03; /* Verde limão brilhante */
    --warning-color: #FFEA00; /* Amarelo brilhante */
    --text-color: #382826; /* Azul escuro suave */
    --light-bg: #E1F5FE; /* Azul céu */
    --light-blue: #E6F7FF; /* Azul mais claro */
    --white: #FFFFFF;
    --dark: #64ecec; /* Roxo escuro */
    --gradient-1: linear-gradient(45deg, #89CFF0, #B3E0FF);
    --gradient-2: linear-gradient(45deg, #B3E0FF, #FFB6C1);
    --gradient-3: linear-gradient(45deg, #FFB6C1, #FFD1DC);
    --gradient-soft: linear-gradient(135deg, #E6F7FF 0%, #E1F5FE 50%, #B3E5FC 100%);
    --pink-accent: #FF9EFF; /* Nova cor rosa claro */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Tipografia Base */
:root {
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Tamanhos de fonte responsivos */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    
    /* Espaçamento entre linhas */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-color);
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: 400;
    background: var(--gradient-soft);
    background-attachment: fixed;
    height: 100%;
    animation: backgroundPulse 15s infinite alternate;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: var(--leading-tight);
    margin-bottom: 0.8em;
    color: var(--dark);
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s var(--bounce);
    border: none;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-prima.footer {
    background: linear-gradient(90deg, var(--dark), var(--secondary-color));
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 4px 20px rgba(255, 182, 193, 0.6);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 12px 30px;
    border-radius: 50px;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(110, 0, 255, 0.5);
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
}

.section-title {
    font-size: var(--text-4xl);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--dark);
    color: var(--dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info span, 
.contact-info a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info i {
    margin-right: 5px;
}

.social-links {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.7);
    padding: 3px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.social-links a {
    color: #333;
    font-size: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 50px; /* Aumentando um pouco o espaço do top bar */
    left: 0;
    right: 0;
    z-index: 1000;
    background: #f4c5d1; /* Azul claro com transparência */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header .container {
    display: flex;
    justify-content: flex-end; /* Alinha todos os itens à direita */
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.logo {
    position: relative;
    left: 0;
    transform: none;
    margin-right: auto; /* Empurra o menu para a direita */
    padding: 10px 0;
    z-index: 3;
    pointer-events: auto;
    padding: 0 100px; /* Adiciona espaço ao redor do logo */
}

.logo h1 {
    font-size: 2.2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: 0;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;    
}

.logo span {
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 30px; /* Aumentado o espaçamento entre os itens */
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 3px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    color: var(--dark);
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Adiciona espaço para o header fixo */
.hero {
    margin-top: 80px; /* Altura reduzida para mobile */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('images/hero-bg.jpg') no-repeat center center/cover;
    background-color: #1a1a2e; /* Cor de fallback */    
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
    padding-left: 10%; /* Ajuste o valor conforme necessário para posicionar o texto */
}

/* Ajustes para dispositivos móveis */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2.2rem;
        --text-4xl: 1.8rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.3rem;
        --text-xl: 1.1rem;
        --text-base: 1rem;
        --text-sm: 0.9rem;
        --container-padding: 1rem;
    }

    .hero {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)), url('images/relva mobile.png') no-repeat center center/cover;
        background-color: #1a1a2e;
        background-size: cover;
        background-position: center center;
        height: auto;
        min-height: 600px;
        margin-top: 80px;
        filter: brightness(0.9);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 80px 20px 60px;
    }
    
    /* Remove efeito de onda no mobile */
    .wave {
        display: none !important;
    }
    
    .hero-content {
        padding: 0 var(--container-padding);
        width: 100%;
        text-align: center;
        max-width: 100%;
    }

    .hero h2 {
        font-size: 1.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
        padding: 0 5px;
    }

    .hero p {
        margin-bottom: 2.5rem;
        line-height: 1.4;
    }
    
    .especialidade-destaque {
        font-size: 1.4rem !important;
        font-weight: 500;
        margin: 1.5rem 0;
        line-height: 1.3;
    }

    .btn {
        padding: 14px 32px;
        font-size: 1.05rem;
        min-height: 50px;
        min-width: 220px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
    }

    .container {
        padding: 0 var(--container-padding);
    }

    /* Ajustes de seção */
    section {
        padding: 3rem 0;
    }

    /* Menu mobile */
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: 0.3s ease;
        z-index: 1000;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav li {
        margin: 1rem 0;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 0.8rem 0;
        color: var(--dark);
    }

    .mobile-menu-toggle {
        display: block;
        color: var(--dark);
        background: none;
        border: none;
        padding: 12px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active {
        color: var(--accent-color);
        background-color: rgba(155, 226, 181, 0.1);
        transform: rotate(90deg);
    }
    
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:focus {
        color: var(--accent-color);
        background-color: rgba(155, 226, 181, 0.1);
        outline: none;
    }
    
    .mobile-menu-toggle i {
        font-size: 20px;
        transition: transform 0.3s ease;
    }

    /* Ajustes de grid/cards */
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Ajustes de formulário */
    .form-group {
        margin-bottom: 1rem;
    }

    input,
    textarea,
    select {
        padding: 0.8rem;
        font-size: var(--text-base);
    }

    /* Ajustes de botões */
    .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    /* Ajustes de espaçamento */
    .section-title {
        font-size: var(--text-3xl);
        margin-bottom: 2rem;
    }

    /* Rodapé */
    footer {
        text-align: left;
        width: 100%;
        box-sizing: border-box;
        background: #87CEEB;
        color: #ffffff;
        padding: 20px 0;
        min-height: auto;
        overflow: visible;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 0 20px;
        max-width: 1400px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact,
    .footer-hours {
        padding: 0 10px;
    }
    
    .footer-logo h3 {
        color: #fff;
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .footer-logo h3 .rosa {
        color: #FFB6C1 !important; /* Rosa claro */
        font-weight: 800 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
        filter: brightness(1.3) !important;
    }
    
    .footer-logo h3 span:last-child {
        color: #FFFFFF !important; /* Branco */
        font-weight: 800 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
        filter: brightness(1.3) !important;
    }
    
    .footer-logo p {
        color: #FFFFFF !important;
        line-height: 1.6;
        font-size: 16px !important;
        font-weight: 500 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important;
        margin-bottom: 15px !important;
    }
    
    .footer-links h4,
    .footer-contact h4,
    .footer-hours h4 {
        color: #fff;
        font-size: 16px;
        margin-bottom: 12px;
        position: relative;
        padding-bottom: 8px;
    }
    
    .footer-links h4:after,
    .footer-contact h4:after,
    .footer-hours h4:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 2px;
        background: var(--primary-color);
    }
    
    .footer-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-links ul li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .footer-links a:hover {
        color: #fff;
        padding-left: 5px;
    }
    
    .footer-contact p,
    .footer-hours p {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.4;
    }
    
    .footer-contact i,
    .footer-hours i {
        margin-right: 10px;
        color: var(--primary-color);
        margin-top: 3px;
    }

    .footer-bottom {
        text-align: center;
        padding: 15px 20px 0;
        margin-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-bottom p {
        color: rgba(255, 255, 255, 0.7);
        margin: 0;
        font-size: 12px;
    }
    
    .footer-credits {
        margin-top: 10px;
    }
    
    .footer-credits a {
        color: var(--primary-color);
        text-decoration: none;
    }
    
    .footer-credits a:hover {
        text-decoration: underline;
    }
    
    /* Estilizando a barra de rolagem para navegadores WebKit */
    footer::-webkit-scrollbar {
        height: 6px;
    }
    
    footer::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }
    
    footer::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 3px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes backgroundZoom {
    0% {
        background-size: 100% auto;
    }
    100% {
        background-size: 110% auto;
    }
}

.hero-content {
    max-width: 600px; /* Largura máxima reduzida para o conteúdo */
    margin: 0;
    padding: 0;
    animation: fadeInUp 1s ease-out, float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
    width: 100%;
}

.hero h2 {
    text-shadow: 0 5px 8px rgba(0, 0, 0, 0.3);
    font-size: 4.0rem !important;
    line-height: 1.2;
    animation: textGlow 3s ease-in-out infinite alternate, gradient 8s ease infinite;
    margin-bottom: 1.5rem;
    position: relative;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
    display: block;
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background-size: 200% 200%;
}

.hero-title {
    white-space: normal; /* Permite quebra de linha normal */
}

.keep-together {
    display: inline-flex;
    white-space: nowrap;
    margin: 0;
    padding: 0;
    line-height: 1;
    letter-spacing: normal;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
}


/* Specialties Section */
.specialties {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
    padding: 0 20px;
    padding: 0 20px;
}

.specialty-card {
    background: linear-gradient(145deg, #ffffff, #E6F7FF);
    padding: 40px 25px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 15px 35px rgba(0, 184, 212, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards, float 6s ease-in-out infinite;
    animation-delay: calc(0.2s * var(--i));
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.specialty-card:hover::before {
    transform: scaleX(1);
}

.specialty-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(110, 0, 255, 0.25);
    border-color: rgba(110, 0, 255, 0.3);
    z-index: 2;
}
.specialty-card p {
    color: #555;
    line-height: 1.7;
    margin: 0 0 20px 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    font-size: 1.1rem;
    text-align: center;
}
/* Ícones dos Cards */
.specialty-card .icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 184, 212, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.9);
    animation: pulse 2s infinite alternate;
}

.specialty-card .icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
    top: -100%;
    left: 0;
    transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.8;
}

.specialty-card:hover .icon {
    transform: rotateY(360deg) scale(1.1);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 0 30px rgba(110, 0, 255, 0.4);
    border-radius: 50%;
}

.specialty-card:hover .icon::after {
    top: 100%;
}

.specialty-card h3 {
    font-size: 1.6rem;
    margin: 0 0 15px 0;
    color: #e76e0a; /* Azul escuro para melhor contraste */
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    text-align: center;
}

/* Linha com Efeito de Batimento Cardíaco */
.sound-wave-divider {
    width: 100%;
    height: 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 0;
}

.heartbeat-line {
    position: relative;
    width: 100%;
    height: 40px;
    overflow: hidden;
}

.heartbeat-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #89CFF0, #FF69B4);
    transform: translateY(-50%);
}

.heartbeat-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,10 L40,10 L60,0 L80,20 L100,10 L140,10 L160,0 L180,20 L200,10 L240,10 L260,0 L280,20 L300,10 L340,10 L360,0 L380,20 L400,10 L440,10 L460,0 L480,20 L500,10 L540,10 L560,0 L580,20 L600,10 L640,10 L660,0 L680,20 L700,10 L740,10 L760,0 L780,20 L800,10 L840,10 L860,0 L880,20 L900,10 L940,10 L960,0 L980,20 L1000,10 L1040,10 L1060,0 L1080,20 L1100,10 L1140,10 L1160,0 L1180,20 L1200,10 L1240,10 L1260,0 L1280,20 L1300,10 L1340,10 L1360,0 L1380,20 L1400,10 L1440,10' fill='none' stroke='%23FF1493' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    transform: translateY(-50%);
    animation: heartbeat 4s linear infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: translateY(-50%) scaleX(1);
    }
    25% {
        transform: translateY(-50%) scaleX(1.2);
    }
    50% {
        transform: translateY(-50%) scaleX(1);
    }
    75% {
        transform: translateY(-50%) scaleX(1.1);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.about .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.about-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.about-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(137, 207, 240, 0.1) 0%, rgba(255, 182, 193, 0.1) 100%);
    z-index: -1;
}

.about-image {
    flex: 0 0 45%;
    max-width: 45%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: perspective(1000px) rotateY(-5deg);
    position: relative;
    z-index: 1;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(137, 207, 240, 0.1), rgba(255, 182, 193, 0.1));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
    min-height: 100%;
    border-radius: 12px;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
    padding: 20px 0;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: #4a5568;
    font-family: var(--font-body);
    font-weight: 400;
    max-width: 75ch;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.about-content p:hover {
    transform: translateX(5px);
    color: #2d3748;
}

/* Estilos para a seção de contato */
.contact-method {
    margin-bottom: 15px;
}

.contact-method i {
    width: 44px;
    height: 44px;
    font-size: 18px;
}

.contact-method h4 {
    font-size: 1rem;
}

.contact-method p,
.contact-method a {
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .contact-info h2 {
        font-size: 1.8rem;
    }
    
    .contact-method {
        padding: 12px;
    }
    
    .contact-method i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .contact-method h4 {
        margin-bottom: 3px;
    }
}

@media (max-width: 992px) {
    .about-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 30px;
    }
    
    .about-image {
        max-width: 100%;
        flex: none;
        width: 100%;
        transform: none;
    }
    
    .about-image:hover {
        transform: translateY(-5px);
    }
    
    .about-content {
        text-align: center;
        padding: 0;
        width: 100%;
    }
    
    .about-content p {
        padding-left: 0;
        border-left: none;
        text-align: left;
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 15px;
    }
    
    .about-content p:hover {
        transform: none;
    }
    
    .about-features {
        max-width: 600px;
        margin: 40px auto 0;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .feature {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .about-features {
        max-width: none;
        margin: 35px 20px 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 10px;
    }
    
    .feature {
        flex: 0 0 auto;
        min-width: max-content;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 70px 0;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .about-features {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        justify-content: center;
        padding: 0 5px;
        gap: 4px;
        padding: 0 3px;
    }
    
    .feature {
        font-size: 0.8rem;
        padding: 5px 8px;
        gap: 3px;
    }
    
    .feature i {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    
    .about-content h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
}

/* Ajustes para telas grandes */
@media (min-width: 992px) {
    .about-image-mobile {
        display: none;
        max-width: 60%;
        margin-bottom: 40px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.faq-section .section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #f8fafc;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 30px 30px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 15px 20px 25px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 20px 25px;
    }
    
    .faq-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
}

/* Contact Section */
.contact {
    padding: 50px 0;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.7);
    transition: var(--transition);
}

.team-member:hover .social {
    bottom: 0;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social a:hover {
    background: var(--white);
    color: var(--primary-color);
}

.team-member h3 {
    margin: 20px 0 5px;
    font-size: 1.3rem;
    color: var(--dark);
}

.team-member p {
    color: #777;
    margin-bottom: 5px;
}

.team-member span {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

/* Estilo para a imagem da equipe */
.team-image {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 20px;
    text-align: center;
}

.team-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-image img:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Estilos para o mapa */
.map-container {
    width: 100%;
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.contact-info h2 {
    position: relative;
    padding-bottom: 5px;
    text-align: center;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.contact-info > p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop: Organiza os métodos de contato em coluna vertical */
@media (min-width: 769px) {
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-method {
        width: 100%;
        max-width: 500px;
        margin-bottom: 20px;
    }
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.contact-method i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    align-self: center;
}

.contact-method div {
    flex: 1;
}

.contact-method p {
    font-size: 0.95rem;
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-weight: 500; /* Deixando um pouco mais negrito */
}

.contact-method p, 
.contact-method a {
    color: #555;
    line-height: 1.6;
    display: block;
    margin: 0;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.contact-form h3 {
    font-size: var(--text-3xl);
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    padding-bottom: 15px;
    text-align: center;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    transition: all 0.2s ease;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    color: var(--dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
    opacity: 0.8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 168, 232, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map {
    height: 500px;
    width: 100%;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0e1620, #1a2d4f, #3a1b4a);
    background-size: 400% 400%;
    color: #ffffff;
    padding: 80px 0 0;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(9, 46, 90, 0.9) 0%, 
        rgba(7, 99, 91, 0.9) 50%, 
        rgba(52, 10, 73, 0.9) 100%);
    background-size: 400% 400%;
    z-index: 0;
    animation: gradientBG 20s ease infinite;
    animation-delay: 0.5s;
}

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

.footer-logo h3 {
    font-size: 2.4rem !important;
    margin-bottom: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block;
}

/* Estilo para a palavra 'Relva' */
.footer-logo h3 > span:first-child {
    color: #FFB6C1 !important; /* Rosa claro */
    font-weight: 800 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    filter: brightness(1.3) !important;
    -webkit-text-fill-color: #FFB6C1 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

/* Estilo para a palavra 'Fonodiologia' */
.footer-logo h3 > span + span {
    color: #FFFFFF !important; /* Branco */
    font-weight: 800 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    filter: brightness(1.3) !important;
    -webkit-text-fill-color: #FFFFFF !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

.footer-logo p {
    color: #ffffff !important; /* Branco puro */
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 600 !important; /* Negrito mais forte */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8) !important; /* Sombra mais forte */
    letter-spacing: 0.5px;
    font-size: 1.2rem !important; /* Tamanho maior */
    filter: brightness(1.1) !important;
    opacity: 1 !important; /* Garantindo opacidade total */
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    color: #ffffff;  /* Branco para os títulos */
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-hours h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    transform: translateX(5px);
    color: #ffffff;
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.footer-links ul li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
    flex-wrap: nowrap;
    overflow-x: hidden;
    padding: 0 10px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #4a5568;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: max-content;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: white;
    color: var(--dark);
}

.feature i {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.feature:hover i {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.footer-hours p,
.footer-contact p,
.footer-links a {
    color: #ffffff !important;
    margin-bottom: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    letter-spacing: 0.2px;
    line-height: 1.7;
    opacity: 0.95;
}

.footer-links a:hover {
    color: #ffffff;  /* Mantém branco ao passar o mouse */
    text-decoration: underline;
    opacity: 0.9;
}

.footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer .social-links a:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.footer-bottom {
    border: none;
    padding: 20px 0 10px;
    text-align: center;
    background: transparent;
    margin-top: 30px;
    position: relative;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    margin: 0;
    line-height: 1.6;
}

/* Classe rosa para destacar textos */
.rosa {
    color: #ff1493 !important; /* Rosa mais vibrante */
    font-weight: 800 !important; /* Negrito mais forte */
    text-shadow: 0 0 1px rgba(236, 7, 7, 0.1)3, 0.1; /* Sombra sutil para melhor contraste */
}

.footer-credits {
    margin-top: 10px;
}

.footer-credits a {
    text-decoration: none;
    transition: all 0.3s ease;    
}

.footer-credits a:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Estilo específico para o link do Criart */
.footer-credits a[href*="criart"] {
    color: #ee9105; /* Azul claro */
    font-weight: 700;
}

.footer-credits a[href*="criart"]:hover {
    color: #2980b9; /* Azul um pouco mais escuro no hover */
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px; /* Ajustado para ficar acima do WhatsApp */
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 999; /* Z-index menor que o do WhatsApp */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: none;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    filter: brightness(0.85) blur(0.5px) contrast(0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Garantindo que o WhatsApp fique por cima */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

@keyframes bounceIn {
    0% { 
        opacity: 0; 
        transform: scale(0.3);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.05);
    }
    70% { 
        transform: scale(0.9);
    }
    100% { 
        transform: scale(1);
    }
}

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

/* Animação do arco-íris */
@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Efeito de mudança de cor suave */
@keyframes colorChange {
    0% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(20deg);
    }
    100% {
        filter: hue-rotate(0deg);
    }
}

/* Efeito de estrelinhas flutuantes */
@keyframes twinkle {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(0.8) rotate(0deg);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2) rotate(10deg);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1));
    }
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle 2s infinite ease-in-out;
    z-index: 1;
}

/* Efeito de ondas na seção hero */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23ffffff" d="M0,160L48,181.3C96,203,192,245,288,250.7C384,256,480,224,576,197.3C672,171,768,149,864,165.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    animation: wave 15s linear infinite;
    opacity: 0.1;
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 1000px; }
}

/* Efeito de bolhas flutuantes */
.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: floatBubble 15s infinite linear;
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

@keyframes floatBubble {
    0% { 
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% { 
        opacity: 0.7;
    }
    100% { 
        transform: translateY(-100vh) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

/* Mostrar bolhas apenas em desktops */
@media (min-width: 768px) {
    .bubble {
        display: block;
    }
}

/* Esconder em dispositivos móveis para melhor performance */
@media (max-width: 767px) {
    .bubble {
        display: none;
    }
}

/* Estilos para confetes */
.confetti {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
}

/* Efeito de brilho nos cards */
.glow-on-hover {
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.glow-on-hover::before {
    content: '';
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--secondary-color), var(--primary-color));
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
    animation: glowing 20s linear infinite;
}

.glow-on-hover:hover::before {
    opacity: 0.5;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* Animação do gradiente do título */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about .container,
    .contact .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-method {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-image {
        order: -1;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 992px) {
    .contact .container {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Alinhamento dos ícones de contato no mobile */
    .contact-method {
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 10px 0 !important;
        margin-left: 0 !important;
    }
    
    .contact-method i {
        margin-right: 15px !important;
        margin-left: 0 !important;
        align-self: flex-start !important;
    }
    
    .contact-method div {
        text-align: left !important;
        flex: 1 !important;
    }
    
    .main-nav {
        position: fixed;
        top: 120px; /* Ajustado para ficar abaixo do header */
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 0;
        background-color: transparent;
        box-shadow: none;
        transition: all 0.4s ease-in-out;
        z-index: 1000;
        padding: 0;
        overflow: hidden;
        opacity: 0;
    }
    
    .main-nav.active {
        max-height: 400px !important;
        opacity: 1 !important;
        padding: 20px 0 !important;
        display: flex !important;
        background-color: transparent !important;
        border-top: 3px solid var(--accent-color);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        color: var(--dark);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }
    
    .main-nav ul li a:hover,
    .main-nav ul li a.active {
        background-color: rgba(155, 226, 181, 0.1);
        border-left-color: var(--accent-color);
        color: var(--accent-color);
        padding-left: 25px;
    }
    
    .main-nav a {
        display: block;
        padding: 12px 30px;
        border-bottom: 1px solid #f5f5f5;
        color: var(--text-color);
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .main-nav a:hover {
        background-color: #f9f9f9;
        padding-left: 35px;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .hero h2 {
        font-size: 2.0rem;
    }
    
    .hero p {
        font-size: 3.2rem !important; /* Adicionando !important para garantir que prevaleça */
    }
    
    .specialties-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 0 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .feature {
        width: 100% !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 12px 15px !important;
        font-size: 0.95rem !important;
    }
    
    /* Footer mobile - controlado por footer-mobile.css */
    
    .map {
        height: 400px;
    }
}

@media (max-width: 576px) {
    /* Alinhamento dos ícones de contato no mobile pequeno */
    .contact-method {
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        text-align: left !important;
    }
    
    .contact-method i {
        margin-right: 12px !important;
        margin-left: 0 !important;
        align-self: center !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
    
    .contact-method div {
        text-align: left !important;
        flex: 1 !important;
    }
    
    .contact-method h4 {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
        text-align: left !important;
    }
    
    .contact-method p,
    .contact-method a {
        font-size: 0.9rem !important;
        text-align: left !important;
    }

    footer {
        padding: 15px 0 !important;
        background: #87CEEB !important;
        color: #ffffff !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 20px 15px !important;
        width: 100% !important;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact,
    .footer-hours {
        width: 100% !important;
        padding: 15px 10px !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin: 0 !important;
    }
    
    .footer-logo {
        text-align: center !important;
        padding-bottom: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .footer-logo h3 {
        font-size: 18px !important;
        margin-bottom: 10px !important;
        color: #ffffff !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
    }
    
    .footer-logo h3 .rosa {
        color: #FFB6C1 !important;
        font-weight: 800 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
        filter: brightness(1.3) !important;
    }
    
    .footer-logo h3 span:last-child {
        color: #FFFFFF !important;
        font-weight: 800 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
        filter: brightness(1.3) !important;
    }
    
    .footer-logo p {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        padding: 0 10px !important;
    }
    
    .footer-links h4,
    .footer-contact h4,
    .footer-hours h4 {
        font-size: 16px !important;
        margin-bottom: 0 !important;
        padding: 12px 0 !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        position: relative !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after,
    .footer-hours h4::after {
        content: '\f078' !important;
        font-family: 'Font Awesome 6 Free' !important;
        font-weight: 900 !important;
        font-size: 12px !important;
        transition: transform 0.3s ease !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
        position: relative !important;
    }
    
    .footer-links h4.active::after,
    .footer-contact h4.active::after,
    .footer-hours h4.active::after {
        transform: rotate(180deg) !important;
    }
    
    .footer-contact p,
    .footer-hours p {
        font-size: 13px !important;
        margin-bottom: 10px !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    
    .footer-contact i,
    .footer-hours i {
        color: var(--primary-color) !important;
        font-size: 14px !important;
        margin-top: 2px !important;
        flex-shrink: 0 !important;
    }
    
    .footer-links ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .footer-links ul li {
        margin-bottom: 10px !important;
    }
    
    .footer-links a {
        font-size: 13px !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-decoration: none !important;
        display: block !important;
        padding: 5px 0 !important;
    }
    
    .footer-links a:hover {
        color: #ffffff !important;
        padding-left: 5px !important;
    }
    
    /* Indicadores do carrossel - ocultos no mobile */
    .footer-indicators {
        display: none !important;
    }

    .footer-bottom {
        padding: 20px 10px 10px !important;
        margin-top: 20px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .footer-bottom p {
        font-size: 11px !important;
        line-height: 1.6 !important;
        margin-bottom: 8px !important;
    }
    
    .footer-credits {
        margin-top: 8px !important;
    }
    
    .footer-credits p {
        font-size: 11px !important;
    }
    
    /* Accordion content wrapper */
    .footer-accordion-content {
        overflow: hidden !important;
        transition: max-height 0.4s ease, padding 0.4s ease !important;
    }

    .hero h2 {
        font-size: 2.2rem !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* Space Section - Carousel */
.space-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.space-section .section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.space-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.space-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.space-slide {
    flex: 0 0 calc(100% / 3);
    padding: 0 15px;
    box-sizing: border-box;
    min-width: 0;
}

.space-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

.space-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    display: block;
    background-color: #f0f0f0;
}

.space-image:hover img {
    transform: scale(1.05);
}

.space-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.space-image:hover .space-overlay {
    transform: translateY(0);
}

.space-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    pointer-events: all;
    opacity: 0.8;
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    opacity: 1;
    color: var(--accent-color);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Responsive adjustments for Space Section */
@media (max-width: 1024px) {
    .space-slide {
        flex: 0 0 calc(100% / 2);
    }
    
    .prev-btn {
        left: -15px;
    }
    
    .next-btn {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .space-slide {
        flex: 0 0 100%;
        padding: 0 10px;
    }
    
    .space-section {
        padding: 60px 0;
    }
    
    .space-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
        padding: 20px 15px 15px;
    }
    
    .space-overlay h3 {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .space-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
}

/* Loading Reviews */
.loading-reviews {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-style: italic;
}

.loading-reviews p {
    margin: 0;
    font-size: 1.1rem;
}

/* Otimizações Mobile Adicionais */
@media (max-width: 768px) {
    /* Prevenir overflow horizontal */
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto;
        overflow-x: hidden;
    }
    
    /* Footer Mobile Styles */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact,
    .footer-hours {
        text-align: center;
        padding: 0 10px;
    }
    
    .footer-logo h3 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
        line-height: 1.3;
    }
    
    .footer-logo p {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }
    
    .footer-links h4,
    .footer-contact h4,
    .footer-hours h4 {
        font-size: 1.4rem !important;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }
    
    .footer-links h4:after,
    .footer-contact h4:after,
    .footer-hours h4:after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }
    
    .footer-links ul {
        padding: 0;
        margin: 15px 0;
    }
    
    .footer-links li {
        margin: 10px 0;
    }
    
    .footer-links a {
        font-size: 1rem;
        display: inline-block;
        padding: 5px 0;
    }
    
    .footer-contact p,
    .footer-hours p {
        font-size: 0.95rem !important;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .footer-contact i,
    .footer-hours i {
        margin-right: 8px;
        width: 20px;
        text-align: center;
    }
    
    .footer-bottom {
        padding: 20px 15px 10px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .footer-credits {
        margin-top: 5px;
    }
    
    /* Especialidades - Cards mais espaçados */
    .specialties {
        padding: 70px 0;
    }
    
    .specialties-grid {
        gap: 25px;
        padding: 0 15px;
    }
    
    .specialty-card {
        padding: 30px 20px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .specialty-card .icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 20px;
    }
    
    .specialty-card .icon i {
        font-size: 2rem;
    }
    
    .specialty-card h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .specialty-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    /* Header Mobile */
    .header {
        padding: 15px 0;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .logo h1 span {
        font-size: 0.85rem;
    }
    
    /* Top Bar Mobile */
    .top-bar {
        padding: 10px 0;
    }
    
    .top-bar .contact-info a {
        font-size: 0.95rem;
    }
    
    /* Botão WhatsApp Flutuante */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
    
    /* FAQ Section Mobile */
    .faq-section {
        padding: 70px 0;
    }
    
    .faq-item {
        margin-bottom: 15px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 1.05rem;
    }
    
    .faq-answer {
        padding: 18px 20px;
        font-size: 0.98rem;
        line-height: 1.6;
    }
    
    /* Contact Section Mobile */
    .contact {
        padding: 70px 0;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .contact .btn {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    /* Hero Ajustes Finos */
    .hero {
        min-height: 550px;
        padding: 70px 15px 50px;
    }
    
    .hero h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .especialidade-destaque {
        font-size: 1.2rem !important;
        margin: 1.2rem 0;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 1rem;
        min-height: 48px;
        min-width: 200px;
    }
    
    /* Cards Especialidades */
    .specialty-card {
        padding: 25px 18px;
    }
    
    .specialty-card h3 {
        font-size: 1.2rem;
    }
    
    .specialty-card p {
        font-size: 0.95rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    /* Logo */
    .logo h1 {
        font-size: 1rem;
    }
    
    .logo h1 span {
        font-size: 0.8rem;
    }
}
