/* Base Styles */
:root {
    --primary-color: #0A192F;
    --secondary-color: #f8f9fa;
    --accent-color: #28A745;
    --text-color: #333;
    --light-text: #FFFFFF;
    --light-accent: #D9E2EC;
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color);
}

p {
    margin-bottom: 15px;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #075e01;
    transform: scale(1.1);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    width: 100%;
}

.cta-button i {
    margin-right: 12px;
    font-size: 1.4rem;
}

.cta-button:hover {
    background-color: #1e7e34;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.85) 100%), url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiMxNDI4NDUiIGZpbGwtb3BhY2l0eT0iMC40Ij48cGF0aCBkPSJNMzYgMzRjMC0yLjIxIDEuNzktNCA0LTRzNCAxLjc5IDQgNC0xLjc5IDQtNCA0LTQtMS43OS00LTRtMC0xN2MwLTIuMjEgMS43OS00IDQtNHM0IDEuNzkgNCA0LTEuNzkgNC00IDQtNC0xLjc5LTQtNG0tMTcgMGMwLTIuMjEgMS43OS00IDQtNHM0IDEuNzkgNCA0LTEuNzkgNC00IDQtNC0xLjc5LTQtNG0wIDE3YzAtMi4yMSAxLjc5LTQgNC00czQgMS43OSA0IDQtMS43OSA0LTQgNC00LTEuNzktNC00Ii8+PC9nPjwvZz48L3N2Zz4=');
    color: var(--light-text);
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.85) 100%), url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgdmlld0JveD0iMCAwIDYwIDYwIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiMxNDI4NDUiIGZpbGwtb3BhY2l0eT0iMC40Ij48cGF0aCBkPSJNMzYgMzRjMC0yLjIxIDEuNzktNCA0LTRzNCAxLjc5IDQgNC0xLjc5IDQtNCA0LTQtMS43OS00LTRtMC0xN2MwLTIuMjEgMS43OS00IDQtNHM0IDEuNzkgNCA0LTEuNzkgNC00IDQtNC0xLjc5LTQtNG0tMTcgMGMwLTIuMjEgMS43OS00IDQtNHM0IDEuNzkgNCA0LTEuNzkgNC00IDQtNC0xLjc5LTQtNG0wIDE3YzAtMi4yMSAxLjc5LTQgNC00czQgMS43OSA0IDQtMS43OSA0LTQgNC00LTEuNzktNC00Ii8+PC9nPjwvZz48L3N2Zz4=');
    opacity: 0.8;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 8px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--light-accent);
    text-transform: uppercase;
}

/* Classes para controle de visibilidade desktop/mobile */
.mobile-badge, .mobile-credentials {
    display: none;
}

.desktop-badge, .desktop-credentials {
    display: inline-block;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    color: var(--light-accent);
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--accent-color);
    opacity: 0.3;
    z-index: -1;
}

.hero .credentials {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 20px;
    color: var(--light-accent);
}

/* Apenas negrito para o texto Ortopedista Especialista em Coluna Vertebral */
.hero .desktop-credentials {
    font-weight: 700; /* Negrito */
}

.hero h2 {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 40px;
    color: var(--light-text);
    opacity: 0.9;
}

.treatment-list {
    margin-bottom: 40px;
    list-style: none;
    padding-left: 0;
}

@media (max-width: 768px) {
    .treatment-list {
        margin-bottom: 25px;
    }
    
    .treatment-list li {
        margin-bottom: 12px;
    }
}

.treatment-list li {
    margin-bottom: 16px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    color: var(--light-text);
    font-weight: 500;
}

.treatment-list li i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.4rem;
}

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

.doctor-image-container {
    position: relative;
    max-width: 450px;
}

.about-images img {
    max-width: 100%;
    width: 48%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    object-fit: contain;
    display: inline-block;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid white;
    padding: 5px;
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    color: white;
}

.experience-badge .text {
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    line-height: 1.1;
}

/* Pulse animation for CTA button */
.cta-button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Testimonials Section */
.testimonials {
    background-color: #f9f9f9;
}

/* Carrossel de depoimentos */
.testimonials-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 40px;
    overflow: hidden;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial-slide {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin: 10px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

/* Desktop: 3 depoimentos por vez */
@media (min-width: 769px) {
    .testimonial-slide {
        min-width: calc(33.333% - 20px);
        flex: 0 0 calc(33.333% - 20px);
    }
}

/* Mobile: 1 depoimento por vez */
@media (max-width: 768px) {
    .testimonial-slide {
        min-width: calc(100% - 20px);
        flex: 0 0 calc(100% - 20px);
    }
}

/* Controles do slider - posicionamento simples e direto */
.slider-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(10, 25, 47, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.prev-btn {
    left: 5px;
}

.next-btn {
    right: 5px;
}

.slider-btn:hover {
    background-color: rgba(10, 25, 47, 0.8);
}

.slider-btn:focus {
    outline: none;
}

.slider-btn i {
    font-size: 16px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
}

/* Treatments Section */
.treatments {
    background-color: #2a3b4d;
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.treatments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.15) 0%, rgba(42,59,77,0) 70%);
    pointer-events: none;
}

.treatments .section-title {
    color: white;
}

.treatments .section-title::after {
    background-color: white;
}

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

.treatment-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 80%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: -1;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    background-color: rgba(255, 255, 255, 0.18);
}

.treatment-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.treatment-icon {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: white;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.treatment-icon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

.treatment-icon img {
    max-width: 65px;
    max-height: 65px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.treatment-card:hover .treatment-icon img {
    transform: scale(1.1);
}

.treatment-card h3 {
    margin-bottom: 15px;
    color: white;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.treatment-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* First Appointment Section */
.first-appointment {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.video-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: #e9e9e9;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 24 24" fill="%230A192F"><path d="M8 5v14l11-7z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* About Doctor Section */
.about-doctor {
    background-color: #2a3b4d;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-doctor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(255,255,255,0.15) 0%, rgba(42,59,77,0) 70%);
    pointer-events: none;
}

.about-doctor .section-title {
    color: white;
}

.about-doctor .section-title::after {
    background-color: white;
}

.about-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 3;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.about-text strong {
    color: white;
    font-weight: 700;
}

.about-text h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    color: white;
    font-size: 1.4rem;
}

.about-images {
    flex: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.about-images img {
    width: 48%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0;
}

.about-images img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Medical Societies Section */
.medical-societies {
    background-color: #f5f5f5;
    padding: 60px 0;
    color: #333;
}

.medical-societies .section-title {
    font-size: 1.6rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: #333;
}

.medical-societies .section-title::after {
    display: none;
}

.societies-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.society-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 250px;
    min-width: 180px;
    padding: 15px;
}

.society-logo img {
    max-width: 100%;
    max-height: 100px;
    transition: transform 0.3s ease;
}

.society-logo img:hover {
    transform: scale(1.05);
}

/* About Clinic Section */
.about-clinic {
    background-color: #2a3b4d;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-clinic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(255,255,255,0.15) 0%, rgba(42,59,77,0) 70%);
    pointer-events: none;
}

.about-clinic .section-title {
    color: white;
}

.about-clinic .section-title::after {
    background-color: white;
}

.clinic-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.clinic-text {
    flex: 1;
}

.clinic-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.clinic-video {
    flex: 1;
}

.clinic-video .video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 24 24" fill="%23ffffff"><path d="M8 5v14l11-7z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80px;
}

.clinic-video .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Location Section */
.location {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.location .cta-button::before {
    display: none;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    height: 450px;
}

.contact-info {
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 20px;
    text-align: center;
}

.info-item p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
    opacity: 0.8;
}

.map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

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

/* Removido para evitar conflito com a seção de localização */

/* FAQ Section */
.faq {
    background-color: #2a3b4d;
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

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

.faq .section-title {
    color: white;
}

.faq .section-title::after {
    background-color: white;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: white;
}

.faq-toggle {
    font-size: 1.2rem;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.9);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-info {
    flex: 1;
    min-width: 300px;
}

.footer-info h3 {
    color: white;
    margin-bottom: 15px;
}

.footer-contact {
    flex: 1;
    min-width: 300px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: white;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Texto responsivo para tratamentos */
.mobile-text {
    display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }
    
    /* Definição de H2 movida para a media query principal */
    
    .treatment-boxes {
        margin-bottom: 25px;
    }
    
    .doctor-image-container {
        max-width: 380px;
    }
    
    .experience-badge {
        width: 90px;
        height: 90px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content, 
    .clinic-content {
        flex-direction: column;
    }
    
    .clinic-video {
        width: 100%;
        margin-top: 20px;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .map {
        height: 350px;
    }
    
    .contact-info {
        height: auto;
    }
    
    .about-images {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 20px;
    }
    
    .about-images img {
        width: calc(50% - 10px);
        max-width: 300px;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        flex: 1;
        margin-bottom: 20px;
    }
    
    .about-images {
        flex: 1;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
    }
    
    .about-images img {
        width: 48%;
        max-width: 180px;
        margin-bottom: 0;
        object-fit: contain;
        height: auto;
    }
    
    .medical-societies .section-title {
        font-size: 1.2rem;
        text-align: center;
        line-height: 1.4;
    }
    
    .societies-logos {
        gap: 5px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .society-logo {
        min-width: 0;
        max-width: 32%;
        padding: 5px;
        flex: 1;
    }
    
    .society-logo img {
        max-height: 60px;
        width: 100%;
        object-fit: contain;
    }
    
    .hero {
        padding: 40px 0 20px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }
    
    /* Estilos responsivos para o slider de depoimentos */
    .testimonials-slider {
        max-width: 100%;
    }
    
    .testimonial-slide {
        padding: 20px 15px;
        min-height: 220px;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
        background-color: transparent;
        box-shadow: none;
    }
    
    .prev-btn {
        left: 0;
    }
    
    .next-btn {
        right: 0;
    }
    
    /* Remover efeito hover em mobile */
    .slider-btn:hover {
        background-color: transparent;
    }
    
    .slider-btn i {
        font-size: 18px;
        color: rgba(10, 25, 47, 0.6);
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    /* Redefine o container principal para usar flexbox com ordem personalizada */
    .hero-text {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    /* Define a ordem específica dos elementos no mobile */
    .hero-badge {
        order: 1;
        margin: 0 auto 15px;
    }
    
    .hero h1 {
        order: 2;
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .credentials {
        order: 3;
    }
    
    .hero h2 {
        order: 4;
        margin-bottom: 20px;
        font-size: 1.4rem;
        display: block;
        color: var(--light-text);
        opacity: 0.9;
        width: 100%;
        text-align: center;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.4;
    }
    
    .hero-image {
        order: 5;
        margin: 0 auto 20px;
    }
    
    .treatment-list {
        order: 6;
        max-width: 300px;
        margin: 0 auto 15px;
    }
    
    .cta-button, .cta-container {
        order: 7;
        margin: 0 auto 20px;
        max-width: 300px;
    }

    

    
    .treatment-list li {
        font-size: 1.2rem;
    }
    
    .treatment-list li i {
        font-size: 1.3rem;
    }
    
    .doctor-image-container {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        bottom: -15px;
        right: -15px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .experience-badge .text {
        font-size: 0.6rem;
    }
    
    .cta-button {
        margin: 0 auto;
        display: flex;
        max-width: 300px;
    }
    
    .about-images {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .about-images {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .about-images img {
        width: 100%;
        max-width: 320px;
    }

    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    /* Inverter visibilidade dos textos no mobile */
    .mobile-badge, .mobile-credentials {
        display: inline-block;
    }
    
    .desktop-badge, .desktop-credentials {
        display: none;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    /* 2 tratamentos por linha no mobile */
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .treatment-card {
        padding: 20px 15px;
    }
    
    .treatment-icon {
        height: 60px;
        margin-bottom: 15px;
    }
    
    .treatment-icon img {
        max-width: 45px;
        max-height: 45px;
    }
    
    .treatment-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .desktop-text {
        display: none;
    }
    
    .mobile-text {
        display: block;
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .medical-societies .section-title {
        font-size: 1rem;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .societies-logos {
        gap: 3px;
    }
    
    .society-logo {
        padding: 3px;
    }
    
    .society-logo img {
        max-height: 45px;
    }
    
    .about-images img {
        width: calc(50% - 5px);
        max-width: 140px;
    }
}
