/* ========================================================================
   VARIABLES & SETUP
======================================================================== */
:root {
    --primary-color: #0b4eaf;   /* Deep Blue / Medical Blue */
    --primary-light: #2c7ef5;
    --primary-dark: #07357a;
    --secondary-color: #00d2d3; /* Cyan/Teal accent */
    --accent-color: #f1f8ff;    /* Light blue bg */
    
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 100px 0;
}

.text-center { text-align: center; }
.text-white { color: var(--text-light) !important; }
.mt-4 { margin-top: 2rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}
.section-subtitle span {
    color: var(--primary-light);
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--bg-white);
    color: var(--primary-color);
}
.btn-white:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* ========================================================================
   HEADER & NAVBAR
======================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.header-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

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

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ========================================================================
   HERO SECTION
======================================================================== */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    background: url('bg-hero.webp') center top / cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content.centered {
    max-width: 900px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title span {
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline-white {
    border-color: white;
    color: white;
    background: transparent;
    padding: 16px 40px;
    border-width: 1px;
}
.btn-outline-white:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================================================
   ABOUT SECTION
======================================================================== */
.about {
    background: var(--bg-gray);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.image-box {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}

.image-box img {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--secondary-color);
    color: white;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    border: 8px solid white;
    box-shadow: var(--shadow-md);
}

.experience-badge span {
    font-size: 1rem;
    font-weight: 500;
}

.experience-badge strong {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-content strong {
    color: var(--text-dark);
}

.about-list {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--primary-dark);
}

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

/* ========================================================================
   SPECIALTIES SECTION
======================================================================== */
.specialties {
    background: var(--bg-white);
}

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

.spec-card {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: left;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.spec-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary-color);
    transition: var(--transition);
}

.spec-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.spec-card:hover::after {
    width: 100%;
}

.spec-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.spec-card:hover .spec-icon-wrapper {
    background: var(--primary-color);
    transform: scale(1.05);
}

.spec-icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.spec-card:hover .spec-icon-wrapper i {
    color: white;
}

.spec-card h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.spec-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========================================================================
   FEATURES SECTION
======================================================================== */
.features {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    position: relative;
}

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

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    color: white;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* ========================================================================
   TEAM SECTION
======================================================================== */
.team {
    background: var(--bg-gray);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.team-img-wrapper {
    height: 350px;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.team-info {
    padding: 30px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.team-info .role {
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 16px;
}

.team-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========================================================================
   CTA SECTION
======================================================================== */
.cta {
    background: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--primary-dark);
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================================================
   FOOTER
======================================================================== */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.footer-logo-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-wrapper img {
    width: 270%; /* Muito mais zoom para invadir totalmente a borda branca */
    height: auto;
    object-fit: cover;
}

.footer-desc {
    margin-bottom: 24px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 16px;
}

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

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

.footer-title {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    transition: var(--transition);
}

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

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-list i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 2px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ========================================================================
   FLOATING WHATSAPP
======================================================================== */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: wpp-pulse 2s infinite;
}

.float-whatsapp:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
    animation: none;
}

@keyframes wpp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(11, 78, 175, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(11, 78, 175, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(11, 78, 175, 0);
    }
}

/* ========================================================================
   MEDIA QUERIES
======================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin-top: 40px;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-list {
        align-items: center;
    }
    
    .experience-badge {
        right: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
        flex-direction: column;
        align-items: center;
    }

    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .nav-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .card-1 {
        left: 20px;
        bottom: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links, .contact-list li {
        justify-content: center;
    }

    .contact-list li {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

/* ========================================================================
   RESULTS SECTION
======================================================================== */
.results {
    background: var(--bg-white);
}

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

.result-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: #000;
}

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

.result-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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