/* ========================================
   PÁGINAS INTERNAS - ESTILOS ADICIONAIS
   ======================================== */

/* ========================================
   PAGE HERO (Páginas Internas)
   ======================================== */
.page-hero {
    min-height: 60vh;
    padding-top: 120px;
}

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

/* Hero Específicos por Página */
.sst-hero .hero-bg {
    background-image: url('https://images.unsplash.com/photo-1581094794329-c8112c4e5190?w=1920&q=85');
}

.ambiental-hero .hero-bg {
    background-image: url('https://images.unsplash.com/photo-1611273426858-450d8e3c9fce?w=1920&q=85');
}

.sobre-hero .hero-bg {
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=85');
}

.contato-hero .hero-bg {
    background-image: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1920&q=85');
}

/* ========================================
   SERVICES SECTION (SST & Ambiental)
   ======================================== */
.services-section {
    padding: 100px 0;
    background: #ffffff;
}

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

.service-card {
    background: #ffffff;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    transition: all var(--transition-base);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--green-primary);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    transition: height var(--transition-base);
}

.service-card:hover {
    border-color: var(--green-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 26px;
    color: var(--green-primary);
}

.service-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-description {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-details {
    background: transparent;
    color: var(--green-primary);
    border: 2px solid var(--green-primary);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-base);
    width: 100%;
}

.btn-details:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   ESOCIAL SECTION (Card Destacado)
   ======================================== */
.esocial-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.esocial-card-featured {
    background: var(--white);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    border: 3px solid var(--green-primary);
    box-shadow: 0 8px 40px rgba(16, 185, 129, 0.15);
    max-width: 1000px;
    margin: 0 auto;
}

.esocial-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-light) 100%);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.esocial-title {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.esocial-description {
    font-size: 17px;
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 40px;
}

.esocial-events {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

.event-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px;
    background: #f9fafb;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--green-primary);
}

.event-code {
    background: var(--green-primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

.event-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.event-info p {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.6;
}

.esocial-cta {
    text-align: center;
}

/* ========================================
   MEDICINA SECTION
   ======================================== */
.medicina-section {
    padding: 100px 0;
    background: #f9fafb;
}

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

.medicina-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.medicina-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.medicina-icon i {
    font-size: 32px;
    color: var(--white);
}

.medicina-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.medicina-description {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.6;
}

.medicina-list {
    list-style: none;
    padding: 0;
}

.medicina-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--gray-dark);
}

.medicina-list i {
    color: var(--green-primary);
    font-size: 16px;
    flex-shrink: 0;
}

/* ========================================
   MODALS
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 24, 69, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
    animation: modalFadeIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--gray-medium);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: var(--gray-light);
    color: var(--navy-dark);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 24px;
    padding-right: 40px;
}

.modal-section {
    margin-bottom: 28px;
}

.modal-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 12px;
    border-left: 4px solid var(--green-primary);
    padding-left: 16px;
}

.modal-section p {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 12px;
}

.modal-section ul {
    list-style: none;
    padding: 0;
}

.modal-section li {
    padding: 8px 0 8px 32px;
    font-size: 15px;
    color: var(--gray-dark);
    position: relative;
}

.modal-section li::before {
    content: '✓';
    position: absolute;
    left: 8px;
    color: var(--green-primary);
    font-weight: 700;
    font-size: 16px;
}

.btn-modal {
    display: inline-block;
    background: var(--green-primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    margin-top: 12px;
    transition: all var(--transition-base);
}

.btn-modal:hover {
    background: var(--green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.3);
}

/* ========================================
   PÁGINA SOBRE
   ======================================== */
.quem-somos-section {
    padding: 100px 0;
}

.quem-somos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quem-somos-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 20px;
}

.quem-somos-text p {
    font-size: 17px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
}

.quem-somos-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.quem-somos-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   LOGO MINIMALISTA CLEAN (OPÇÃO 3)
   Design: Minimalista, elegante, moderno
   ============================================ */

/* Container Principal */
.logo-minimal-clean {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.08);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.04);
}

/* Grid de Pontos de Fundo */
.dot-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 1;
    z-index: 1;
}

/* Conteúdo Inner */
.logo-minimal-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Símbolo Infinito Grande */
.infinity-symbol-large {
    font-size: 120px;
    font-weight: 200;
    color: #10b981;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    opacity: 0.95;
    transition: all 0.5s ease;
}

.logo-minimal-clean:hover .infinity-symbol-large {
    transform: scale(1.08) rotate(360deg);
    opacity: 1;
}

/* Texto INFINITY (Brand Name) */
.logo-brand-name {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: 16px;
    color: #0a1f3d;
    margin-bottom: 28px;
    position: relative;
    transition: letter-spacing 0.6s ease;
}

.logo-minimal-clean:hover .logo-brand-name {
    letter-spacing: 18px;
}

/* Linha Verde Moderna */
.logo-divider-green {
    width: 140px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #10b981 20%, 
        #10b981 80%, 
        transparent 100%);
    margin: 0 auto 28px;
    transition: width 0.5s ease;
}

.logo-minimal-clean:hover .logo-divider-green {
    width: 180px;
}

/* Tagline (Subtítulo) */
.logo-tagline {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 32px;
}

/* Badge de Especialidades */
.specialties-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(16, 185, 129, 0.06);
    border-radius: 100px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.specialty-item {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #10b981;
    text-transform: uppercase;
}

.specialty-divider {
    font-size: 8px;
    color: #10b981;
    opacity: 0.4;
}

/* ============================================
   RESPONSIVE - LOGO MINIMALISTA CLEAN
   ============================================ */

@media (max-width: 992px) {
    .infinity-symbol-large {
        font-size: 100px;
        margin-bottom: 20px;
    }
    
    .logo-brand-name {
        font-size: 56px;
        letter-spacing: 12px;
        margin-bottom: 24px;
    }
    
    .logo-divider-green {
        width: 120px;
        margin-bottom: 24px;
    }
    
    .logo-minimal-inner {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .infinity-symbol-large {
        font-size: 80px;
        margin-bottom: 16px;
    }
    
    .logo-brand-name {
        font-size: 42px;
        letter-spacing: 8px;
        margin-bottom: 20px;
    }
    
    .logo-divider-green {
        width: 100px;
        height: 2px;
        margin-bottom: 20px;
    }
    
    .logo-tagline {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 24px;
    }
    
    .logo-minimal-inner {
        padding: 40px 20px;
    }
    
    .specialties-badge {
        gap: 8px;
        padding: 10px 20px;
    }
    
    .specialty-item {
        font-size: 9px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {
    .infinity-symbol-large {
        font-size: 64px;
    }
    
    .logo-brand-name {
        font-size: 32px;
        letter-spacing: 6px;
    }
    
    .logo-divider-green {
        width: 80px;
    }
    
    .logo-tagline {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .specialties-badge {
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px 16px;
    }
    
    .specialty-item {
        font-size: 8px;
    }
}

/* Pilares Section */
.pilares-section {
    padding: 100px 0;
    background: #f9fafb;
}

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

.pilar-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.pilar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

.pilar-icon i {
    font-size: 36px;
    color: var(--white);
}

.pilar-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.pilar-description {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Timeline História */
.historia-section {
    padding: 100px 0;
}

.historia-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.historia-item {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--green-primary);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.historia-year {
    font-size: 18px;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 8px;
}

.historia-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.historia-description {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.7;
}

/* Atuação Regional */
.atuacao-section {
    padding: 100px 0;
    background: #f9fafb;
}

.atuacao-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.atuacao-map {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.atuacao-map i {
    font-size: 80px;
    margin-bottom: 24px;
    color: var(--green-primary);
}

.atuacao-map h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.atuacao-list {
    list-style: none;
    padding: 0;
}

.atuacao-list li {
    font-size: 17px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.atuacao-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 20px;
}

.atuacao-text p {
    font-size: 17px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
}

/* ========================================
   PÁGINA CONTATO
   ======================================== */
.contato-section {
    padding: 100px 0;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contato-form-wrapper h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.contato-form-wrapper p {
    font-size: 17px;
    color: var(--gray-dark);
    margin-bottom: 32px;
}

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

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-family);
    transition: all var(--transition-base);
    background: var(--white);
    color: var(--navy-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

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

.form-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-submit {
    background: var(--green-primary);
    color: var(--white);
    padding: 14px 40px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    flex: 1;
    min-width: 200px;
}

.btn-submit:hover {
    background: var(--green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.3);
}

.btn-whatsapp {
    background: transparent;
    color: var(--green-primary);
    padding: 14px 40px;
    border: 2px solid var(--green-primary);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    justify-content: center;
}

.btn-whatsapp:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Dados Oficiais Card */
.dados-oficiais-card {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 120px;
}

.dados-oficiais-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
}

.dados-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dados-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dados-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dados-icon i {
    color: var(--green-primary);
    font-size: 18px;
}

.dados-info p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 4px;
}

.dados-info strong {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

/* ========================================
   RESPONSIVE - PÁGINAS INTERNAS
   ======================================== */
@media (max-width: 768px) {
    .page-hero {
        min-height: 50vh;
        padding-top: 100px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .esocial-card-featured {
        padding: 32px 24px;
    }
    
    .event-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .medicina-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 32px 24px;
        max-height: 90vh;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .quem-somos-content,
    .atuacao-content,
    .contato-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pilares-grid {
        grid-template-columns: 1fr;
    }
    
    .dados-oficiais-card {
        position: static;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .btn-submit,
    .btn-whatsapp {
        width: 100%;
        min-width: 100%;
    }
}

/* Custom Scrollbar para Modais */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--green-primary);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--green-hover);
}
