/* =========================================================================
   SOBRE.CSS - Instituto Longevinté
   Design System: Antigravity (Elite Luxury)
   Target: Dr. Allan Herbert & Institutional Bio
   ========================================================================= */

:root {
    --c-bg: #041611;
    --c-primary: #D4AF37;
    --c-primary-light: #E8D5B7;
    --c-accent: #858481;
    --c-text: #f8f8f7;
    --c-text-muted: #858481;
    --c-footer-bg: #030f0c;
    --c-glass: rgba(26, 26, 25, 0.4);
    --c-glass-border: rgba(212, 175, 55, 0.15);
    
    --font-heading: 'ABC Arizona Flare', serif;
    --font-body: 'Aeonik', sans-serif;
    --font-mono: 'NB Architekt', monospace;
    
    --trans-smooth: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    --trans-fast: 0.4s ease;
    --section-pad: clamp(100px, 15vw, 180px);
}

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

/* =========================================================================
   BASE & LAYOUT
   ========================================================================= */
body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

.ds-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

/* =========================================================================
   NAVBAR (Exact Copy from index.html)
   ========================================================================= */
.ds-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(212, 175, 55, 0);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ds-navbar.scrolled {
    height: 80px;
    background: rgba(4, 22, 17, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.05);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    flex: 0 1 auto;
    min-width: 0;
}

.nav-logo img {
    height: 140px;
    width: auto;
    max-width: clamp(160px, 15vw, 220px);
    object-fit: contain;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo:hover img {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    gap: clamp(15px, 2.5vw, 40px);
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    min-width: 0;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.5px;
    color: var(--c-text);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--trans-fast);
}

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

.btn-nav-wrapper {
    flex: 0 0 auto;
    margin-left: 20px;
}

.btn-nav-wrapper .btn {
    height: 42px; /* More compact for navbar */
    padding: 0 24px;
    font-size: 13px;
    letter-spacing: 1px;
}

/* =========================================================================
   BUTTONS (Synchronized from index.html)
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 54px;
    padding: 0 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-white {
    background: #FFFFFF !important;
    color: #041611 !important;
}

.btn-white:hover {
    background: var(--c-primary-light) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: var(--c-primary) !important;
    color: #041611 !important;
}

.btn-primary:hover {
    background: var(--c-primary-light) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--c-text);
    display: block;
    position: relative;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--c-text);
    left: 0;
    transition: 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }


/* =========================================================================
   ANIMATIONS
   ========================================================================= */
@keyframes revealLateral {
    from { clip-path: inset(0 100% 0 0); transform: translateX(-30px); }
    to { clip-path: inset(0 0 0 0); transform: translateX(0); }
}

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

@keyframes shine {
    100% { left: 125%; }
}

.reveal-text {
    opacity: 0;
}

.reveal-text.visible {
    animation: fadeInUp var(--trans-smooth) forwards;
}

/* =========================================================================
   HERO SECTION: O ESPECIALISTA
   ========================================================================= */
.sobre-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.hero-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(4, 22, 17, 0.4), transparent);
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 92px);
    line-height: 0.95;
    margin-bottom: 32px;
    color: var(--c-primary);
    animation: revealLateral 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--c-primary-light);
    margin-bottom: 24px;
    opacity: 0.7;
}

.hero-bio {
    max-width: 540px;
}

.hero-bio p {
    font-size: 18px;
    color: var(--c-text-muted);
    margin-bottom: 24px;
}

/* =========================================================================
   DOSSIÊ TÉCNICO
   ========================================================================= */
.technical-dossier {
    padding: var(--section-pad) 0;
    background: rgba(255,255,255,0.01);
}

.dossier-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 60px;
    display: block;
}

.dossier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(212, 175, 55, 0.1);
}

.dossier-item {
    background: var(--c-bg);
    padding: 48px;
    border: 1px solid rgba(212, 175, 55, 0.05);
    transition: var(--trans-fast);
}

.dossier-item:hover {
    background: rgba(212, 175, 55, 0.03);
}

.dossier-category {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--c-primary-light);
    opacity: 0.5;
    margin-bottom: 16px;
    display: block;
}

.dossier-value {
    font-family: var(--font-mono);
    font-size: 15px;
    line-height: 1.8;
    color: var(--c-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================================================
   MANIFESTO
   ========================================================================= */
.manifesto-section {
    padding: var(--section-pad) 0;
    text-align: center;
}

.manifesto-text {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 64px);
    line-height: 1.2;
    color: var(--c-text);
    max-width: 1000px;
    margin: 0 auto;
    font-weight: 300;
}

.manifesto-text em {
    color: var(--c-primary);
    font-family: var(--font-heading);
}

/* =========================================================================
   CLINICAL VISION (4Ps)
   ========================================================================= */
.vision-section {
    padding: var(--section-pad) 0;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.vision-card {
    background: var(--c-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--c-glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: var(--trans-fast);
    display: flex;
    flex-direction: column;
}

.vision-card:hover {
    transform: translateY(-10px);
    border-color: var(--c-primary);
}

.vision-number {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--c-primary);
    margin-bottom: 24px;
}

.vision-title {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--c-primary-light);
}

.vision-desc {
    font-size: 14px;
    color: var(--c-text-muted);
}

/* =========================================================================
   TEAM GRID
   ========================================================================= */
.team-section {
    padding: var(--section-pad) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.team-card {
    background: rgba(255,255,255,0.015);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 32px;
    overflow: hidden;
    border: 2px solid var(--c-glass-border);
    transition: var(--trans-smooth);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Foca no rosto para melhores enquadramentos de retrato */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-photo {
    border-color: var(--c-primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.team-card:hover .team-photo img {
    transform: scale(1.1);
}

.team-name {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 8px;
}

.team-role {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-text-muted);
}

.team-bio {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-top: 12px;
    opacity: 0.85;
}

/* =========================================================================
   CTA BUTTON
   ========================================================================= */
.cta-section {
    padding: var(--section-pad) 0;
    text-align: center;
}

.btn-shine {
    position: relative;
    overflow: hidden;
    background: var(--c-primary);
    color: var(--c-bg);
    padding: 20px 48px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    transition: var(--trans-fast);
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: rotate(25deg);
    transition: 0s;
}

.btn-shine:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-shine:hover::after {
    animation: shine 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =========================================================================
   PREMIUM FOOTER
   ========================================================================= */
.ds-footer {
    background-color: var(--c-footer-bg);
    padding: 120px 0 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

.footer-col-brand img { width: 180px; margin-bottom: 24px; }

.footer-brand-text {
    font-size: 14px;
    color: var(--c-text-muted);
    max-width: 280px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 32px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    font-size: 14px;
    color: var(--c-text-muted);
    text-decoration: none;
    transition: var(--trans-fast);
}

.footer-links a:hover {
    color: var(--c-primary);
    transform: translateX(5px);
}

.footer-contact-item {
    margin-bottom: 24px;
}

.footer-contact-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--c-primary);
    display: block;
    margin-bottom: 4px;
}

.footer-contact-value { font-size: 14px; color: var(--c-text-muted); }

.footer-social-icons {
    display: flex;
    gap: 20px;
}

.footer-social-link {
    color: var(--c-text-muted);
    transition: var(--trans-fast);
}

.footer-social-link:hover {
    color: var(--c-primary);
    transform: translateY(-3px);
}


.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    transition: var(--trans-fast);
}

.footer-legal a:hover {
    color: var(--c-primary);
}


/* =========================================================================
   RESPONSIVENESS
   ========================================================================= */
@media (max-width: 1024px) {
    .nav-toggle { display: block; padding: 10px; }
    .menu-open .hamburger { background: transparent; }
    .menu-open .hamburger::before { top: 0; transform: rotate(45deg); }
    .menu-open .hamburger::after { bottom: 0; transform: rotate(-45deg); }
    .menu-open .hamburger { background: transparent; } 
    .menu-open .hamburger::before { top: 0; transform: rotate(45deg); }
    .menu-open .hamburger::after { bottom: 0; transform: rotate(-45deg); }

    .nav-menu {
        position: fixed;
        inset: 0;
        background: rgba(4, 22, 17, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s;
    }
    .nav-menu.open { display: flex !important; opacity: 1; visibility: visible; }
    .nav-link { font-size: 24px; }
    .btn-nav-wrapper { display: none; }
    
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .vision-grid { grid-template-columns: repeat(2, 1fr); }
    .dossier-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .vision-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col-brand, .footer-brand-text { margin: 0 auto; }
    .footer-bottom { flex-direction: column; gap: 20px; }
}

/* =========================================================================
           MOBILE RESPONSIVENESS - NAVBAR & HAMBURGER
           ========================================================================= */
        @media (max-width: 991px) {
            .nav-toggle {
                display: flex !important;
                background: transparent;
                border: none;
                cursor: pointer;
                z-index: 1001;
                padding: 10px;
                position: relative;
            }
            .hamburger {
                width: 24px;
                height: 2px;
                background: #d4a843;
                display: block;
                position: relative;
                transition: 0.3s;
            }
            .hamburger::before, .hamburger::after {
                content: '';
                position: absolute;
                width: 24px;
                height: 2px;
                background: #d4a843;
                left: 0;
                transition: 0.3s;
            }
            .hamburger::before { top: -8px; }
            .hamburger::after { bottom: -8px; }
            .menu-open .hamburger { background: transparent; }
            .menu-open .hamburger::before { top: 0; transform: rotate(45deg); }
            .menu-open .hamburger::after { bottom: 0; transform: rotate(-45deg); }
            .nav-menu {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                width: 100% !important;
                height: 100vh !important;
                background: rgba(4, 22, 17, 0.98) !important;
                backdrop-filter: blur(20px) !important;
                flex-direction: column !important;
                justify-content: center !important;
                align-items: center !important;
                gap: 40px !important;
                opacity: 0 !important;
                visibility: hidden !important;
                transition: all 0.3s ease !important;
                z-index: 1000 !important;
            }
            .nav-menu.open {
                display: flex !important;
                opacity: 1 !important;
                visibility: visible !important;
            }
            .nav-link { font-size: 24px !important; }
            .btn-nav-wrapper { display: none !important; }
            body, html { overflow-x: hidden; width: 100%; }
            .ds-container { padding: 0 20px !important; }
        }

        @media (max-width: 991px) {
            /* Hero */
            .sobre-hero { padding-top: 80px; min-height: auto; }
            .hero-grid {
                grid-template-columns: 1fr !important;
                gap: 32px;
            }
            .hero-visual {
                height: 320px;
                order: -1;
            }
            .hero-content { padding: 0; }
            .hero-name { font-size: clamp(32px, 9vw, 52px) !important; }
            .hero-bio p { font-size: 16px !important; }

            /* Dossier */
            .dossier-grid {
                grid-template-columns: 1fr !important;
                gap: 16px;
            }
            .dossier-item { padding: 28px !important; }

            /* Manifesto */
            .manifesto-text { font-size: clamp(22px, 6vw, 36px) !important; }

            /* Vision */
            .vision-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 20px;
            }

            /* Doctors / Mission */
            .mission-grid,
            .doctors-section .ds-container {
                grid-template-columns: 1fr !important;
                flex-direction: column !important;
                display: flex !important;
            }
            .doctor-card { width: 100% !important; }

            /* Footer */
            .footer-grid {
                grid-template-columns: 1fr !important;
                gap: 32px;
            }
        }
        @media (max-width: 480px) {
            .hero-name { font-size: clamp(28px, 8vw, 40px) !important; }
            .vision-grid { grid-template-columns: 1fr !important; }
        }
