@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-navy: #001A33;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #B8860B;
    --text-dark: #1A1A1A;
    --text-light: #F8F9FA;
    --bg-light: #FFFFFF;
    --bg-soft: #F0F4F8;
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 100px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-navy);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .d-none-mobile {
        display: none !important;
    }
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* SECTION HEADINGS */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-padding {
    padding: 120px 0;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

/* NAVBAR */
.navbar {
    height: var(--header-height);
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* DROPDOWN STYLES */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block !important;
    padding: 10px 25px !important;
    font-size: 0.95rem !important;
    color: var(--text-dark) !important;
    transition: var(--transition) !important;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--bg-soft);
    color: var(--accent-gold) !important;
    padding-left: 30px !important;
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    .dropdown.active .dropdown-menu {
        display: block;
    }
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-navy);
}

/* HERO SECTION */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 26, 51, 0.8), rgba(0, 26, 51, 0.8)), url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&q=80&w=2070') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero .badge {
    background: var(--accent-gold);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 15px;
    }

    .nav-links.mobile-active {
        display: flex;
    }
    
    .logo-img {
        height: 120px;
    }
    
    :root {
        --header-height: 140px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btns .btn {
        margin-left: 0 !important;
        width: 100%;
        text-align: center;
    }
}

/* SERVICES SECTION */
.services {
    padding: 100px 0;
    background-color: var(--bg-soft);
}

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

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-footer {
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* AUTHORITY / QUEM SOMOS */
.authority {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.doctor-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.doctor-img {
    height: 600px;
    overflow: hidden;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.doctor-info {
    padding: 30px;
}

.doctor-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.doctor-subtitle {
    display: block;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.doctor-bio {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.doctor-specialties {
    list-style: none;
}

.doctor-specialties li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
}

.doctor-specialties li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.escopo-escola {
    background: var(--primary-navy);
    color: white;
    padding: 60px;
    border-radius: var(--radius-md);
    margin-bottom: 60px;
}

.escopo-escola h3 {
    color: white;
    margin-bottom: 20px;
}

.escopo-escola p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* PORTFOLIO */
.portfolio {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.portfolio-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* SEO LOCATION GRIDS */
.locations {
    padding: 80px 0;
    background: #fff;
}

.neighborhood-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.city-col h4 {
    color: var(--accent-gold);
    border-bottom: 2px solid var(--bg-soft);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.neighborhood-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.neighborhood-list span {
    font-size: 0.85rem;
    color: #666;
    background: var(--bg-soft);
    padding: 4px 10px;
    border-radius: 4px;
}

/* FOOTER */
footer {
    background: white;
    color: var(--text-dark);
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--bg-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--primary-navy);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col p, .footer-col li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-col strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--bg-soft);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* WHATSAPP WIDGET */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.wa-btn {
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition);
}

.wa-btn:hover {
    transform: scale(1.1);
}

.wa-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 250px;
    padding: 20px;
    display: none;
    animation: slideUp 0.3s ease;
}

.wa-menu.active {
    display: block;
}

.wa-menu h5 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1rem;
}

.wa-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 5px;
}

.wa-item:hover {
    background: var(--bg-soft);
}

.wa-item i {
    color: #25d366;
    font-weight: bold;
}

.wa-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

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

/* SEO RANKING SECTION */
.seo-ranking {
    padding: 80px 0;
    background: var(--bg-soft);
}

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

.seo-content h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.seo-content h3 {
    margin: 40px 0 20px 0;
    color: var(--accent-gold);
}

.seo-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
}

.seo-content p a {
    color: var(--accent-gold);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.seo-content p a:hover {
    color: var(--primary-navy);
    text-decoration: none;
    background-color: rgba(212, 175, 55, 0.1);
    padding: 2px 4px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .seo-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .neighborhood-container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .doctor-img {
        height: 450px;
    }
    .escopo-escola {
        padding: 30px;
    }
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .neighborhood-list {
        grid-template-columns: 1fr;
    }
}

/* TESTIMONIALS CAROUSEL */
.testimonials {
    padding: 100px 0;
    background: var(--primary-navy);
    color: white;
    overflow: hidden;
}

.testimonials h2 {
    color: white;
}

.carousel-container {
    max-width: 500px; 
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* Garante que 1 slide apareça por vez */
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav-btn:hover {
    background: var(--accent-gold);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn.prev { left: 10px; }
.carousel-nav-btn.next { right: 10px; }

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    text-align: center;
}

.testimonial-slide img {
    max-width: 100%;
    max-height: 700px; /* Aumentado para acomodar prints verticais */
    height: auto;
    width: auto;
    border-radius: var(--radius-sm);
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.testimonial-slide p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-slide span {
    display: block;
    color: var(--accent-gold);
    font-weight: 600;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-gold);
}

/* PROCEDIMENTOS SECTION */
.procedimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.procedimento-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.procedimento-card h4 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .testimonial-slide {
        padding: 20px;
    }
    .testimonial-slide p {
        font-size: 1rem;
    }
}
