/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body {
    background: #fff;
}

/* ================= CONTAINER ================= */
.interface {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4%;
}

/* ================= HEADER ================= */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 28px 0;
    background: transparent;
    transition: all 0.4s ease;
}

/* Header ao scroll */
header.scrolled {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Grid do header */
header .interface {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

/* Logo */
.logo img {
    max-width: 55px;
    transition: 0.4s ease;
}

/* Logo menor e azul ao scroll */
header.scrolled .logo img {
    max-width: 40px;
    filter: brightness(0) saturate(100%) invert(9%) sepia(48%)
            saturate(4123%) hue-rotate(221deg)
            brightness(88%) contrast(108%);
}

/* ================= MENU ================= */
.menu-desktop {
    display: flex;
    justify-content: center;
}

.menu-icons {
    display: flex;
    gap: 50px;
    list-style: none;
    align-items: center;
    margin-left: 200px;
}

.menu-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 14px;
    color: #fff;
    transition: 0.3s;
}

.menu-icons a i {
    font-size: 18px;
}

.menu-icons a:hover {
    transform: translateY(-3px);
    color: #a8d8ff;
}

/* Menu ao scroll */
header.scrolled .menu-icons a {
    color: #03113f;
}

header.scrolled .menu-icons a:hover {
    color: #0a4fff;
}

/* ================= DROPDOWN ================= */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    list-style: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    color: #03113f;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background: #f5f7ff;
    color: #0a4fff;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


/* ESTILOS GERAIS DAS SEÇÕES */
section {
    padding: 60px 0;
    background-color: white;
}

section:nth-child(even) {
    background-color: #f8f9fa;
}

.interface {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-header h2 i {
    color: #3498db;
}

.section-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* SEÇÃO: COMO AGENDAR EXAMES */
.agendamento-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border-top: 4px solid #3498db;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #3498db;
    font-size: 1.8rem;
}

.step-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* SEÇÃO: PREPAROS IMPORTANTES */
.preparos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.preparo-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #3498db;
}

.preparo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.preparo-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #3498db;
    font-size: 1.5rem;
}

.preparo-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.preparo-card p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* SEÇÃO: EXAMES MAIS SOLICITADOS */
.exames-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.exame-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
}

.exame-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.exame-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.exame-card-icon {
    width: 50px;
    height: 50px;
    background: #f0f7ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 1.4rem;
}

.exame-card-title {
    flex: 1;
}

.exame-card h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.exame-card-codigo {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-family: monospace;
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
}

.exame-card-descricao {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.exame-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.exame-card-preco {
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.2rem;
}

.exame-card-botao {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.exame-card-botao:hover {
    background: #2980b9;
}

/* SEÇÃO: FAQ EXAMES */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-pergunta {
    width: 100%;
    padding: 22px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-pergunta:hover {
    background: #f8f9fa;
}

.faq-pergunta i {
    transition: transform 0.3s;
    color: #3498db;
}

.faq-item.active .faq-pergunta i {
    transform: rotate(180deg);
}

.faq-resposta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: white;
}

.faq-item.active .faq-resposta {
    max-height: 500px;
}

.faq-resposta p {
    padding: 0 25px 25px;
    color: #5a6c7d;
    line-height: 1.7;
    margin: 0;
}
/* ===== HERO EXAMES ===== */
.hero-exames {
    background: linear-gradient(135deg, #1a73e8 0%, #3498db 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-exames::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600" opacity="0.1"><path d="M0 0h1200v600H0z" fill="none"/><path d="M0 300c150 0 150-100 300-100s150 100 300 100 150-100 300-100 150 100 300 100 150-100 300-100 150 100 300 100V0H0z" fill="white"/></svg>');
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white;
}

.hero-content h1 i {
    font-size: 3rem;
    color: #a5d8ff;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* BUSCA NO HERO */
.hero-search {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-top: 30px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 25px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s;
}

.search-box:focus-within {
    border-color: #3498db;
    background: white;
}

.search-box i {
    color: #6c757d;
    font-size: 1.2rem;
    margin: 0 15px;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
    font-size: 1.1rem;
    outline: none;
    color: #333;
}

.search-box input::placeholder {
    color: #95a5a6;
}

.btn-search {
    background: linear-gradient(135deg, #1a73e8 0%, #3498db 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    margin-left: 10px;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

/* FILTROS */
.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 12px 25px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: #3498db;
    color: #3498db;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #1a73e8 0%, #3498db 100%);
    color: white;
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

/* ===== TABELA DE EXAMES ===== */
.tabela-exames {
    padding: 60px 0;
    background: #f8f9fa;
}

/* CONTROLES DA TABELA */
.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 15px;
}

.controls-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.show-entries {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #495057;
}

.show-entries select {
    padding: 8px 15px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    background: white;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.3s;
}

.show-entries select:focus {
    outline: none;
    border-color: #3498db;
}

.controls-right {
    display: flex;
    gap: 15px;
}

.btn-export, .btn-print {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-export {
    background: #e63946;
    color: white;
}

.btn-export:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.2);
}

.btn-print {
    background: #6c757d;
    color: white;
}

.btn-print:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.2);
}

/* TABELA */
.table-responsive {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    overflow-x: auto;
}

.exames-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}

.exames-table thead {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.exames-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

.exames-table th.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.exames-table th.sortable:hover {
    background: rgba(255, 255, 255, 0.1);
}

.exames-table th.sortable span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.exames-table th.sortable i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.exames-table th.sortable.sorted-asc i.fa-sort {
    display: none;
}

.exames-table th.sortable.sorted-asc::after {
    content: '\f0de';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
}

.exames-table th.sortable.sorted-desc::after {
    content: '\f0dd';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
}

.exames-table tbody tr {
    border-bottom: 1px solid #f1f3f4;
    transition: background 0.3s;
}

.exames-table tbody tr:hover {
    background: #f8f9fa;
}

.exames-table tbody tr.prep-especial {
    background-color: #e8f7ed;
}

.exames-table tbody tr.jejum-obrigatorio {
    background-color: #fff0e6;
}

.exames-table tbody tr.disponivel-todas {
    background-color: #f0f7ff;
}

.exames-table td {
    padding: 18px 15px;
    color: #333;
    vertical-align: middle;
}

.exames-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
}

/* ESTILOS ESPECÍFICOS DAS COLUNAS */
.exames-table td:nth-child(3), /* Material */
.exames-table td:nth-child(4) { /* Método */
    font-size: 0.95rem;
    color: #5a6c7d;
}

.exames-table td:nth-child(5) { /* Preparo */
    max-width: 250px;
}

.preparo-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #e67e22;
    font-weight: 500;
}

.preparo-info i {
    font-size: 0.9rem;
}

.exames-table td:nth-child(6) { /* Prazo */
    font-weight: 600;
    color: #27ae60;
}

/* AÇÕES */
.acoes-cell {
    display: flex;
    gap: 10px;
}

.btn-agendar, .btn-detalhes {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-agendar {
    background: #2ecc71;
    color: white;
}

.btn-agendar:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.2);
}

.btn-detalhes {
    background: #3498db;
    color: white;
}

.btn-detalhes:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.2);
}

/* RODAPÉ DA TABELA */
.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-info {
    color: #495057;
    font-weight: 500;
}

.pagination {
    display: flex;
    gap: 5px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #dee2e6;
    background: white;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #495057;
}

.pagination-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.pagination-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn:disabled:hover {
    border-color: #dee2e6;
    color: #495057;
}

/* LEGENDA */
.table-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-content h1 i {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .table-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .controls-left, .controls-right {
        width: 100%;
        justify-content: center;
    }
    
    .table-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-exames {
        padding: 60px 0 40px;
    }
    
    .hero-search {
        padding: 20px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box input {
        width: 100%;
        text-align: center;
    }
    
    .btn-search {
        width: 100%;
        justify-content: center;
    }
    
    .search-filters {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .exames-table th,
    .exames-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
    
    .acoes-cell {
        flex-direction: column;
        gap: 5px;
    }
    
    .btn-agendar, .btn-detalhes {
        padding: 6px 12px;
        font-size: 0.85rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
        justify-content: center;
    }
    
    .controls-right {
        flex-direction: column;
    }
    
    .btn-export, .btn-print {
        width: 100%;
        justify-content: center;
    }
    
    .table-legend {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .legend-item {
        justify-content: center;
    }
}

 /* ===== RODAPÉ ===== */
.rodape {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: #ecf0f1;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #3498db;
}

.rodape::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #3498db);
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.rodape::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" opacity="0.03"><path d="M0 0v10c50 0 50 20 100 20s50-20 100-20 50 20 100 20 50-20 100-20 50 20 100 20 50-20 100-20 50 20 100 20 50-20 100-20 50 20 100 20 50-20 100-20 50 20 100 20 50-20 100-20 50 20 100 20V0z" fill="white"/></svg>');
    background-size: 1200px 120px;
    opacity: 0.1;
}

.rodape-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.rodape-coluna {
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: footerFadeUp 0.8s ease forwards;
}

.rodape-coluna:nth-child(1) { animation-delay: 0.1s; }
.rodape-coluna:nth-child(2) { animation-delay: 0.3s; }
.rodape-coluna:nth-child(3) { animation-delay: 0.5s; }

@keyframes footerFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LOGO NO RODAPÉ */
.logo-rodape {
    max-width: 200px;
    height: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
    transition: all 0.5s ease;
    position: relative;
}

.logo-rodape:hover {
    transform: scale(1.05) rotate(-2deg);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(52, 152, 219, 0.5));
}

.rodape-coluna p {
    line-height: 1.7;
    color: #bdc3c7;
    margin-bottom: 0;
    font-size: 1.05rem;
    text-align: justify;
    padding-right: 20px;
}

/* TÍTULOS DAS COLUNAS */
.rodape-coluna h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.rodape-coluna h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.rodape-coluna h3:hover::after {
    width: 100%;
}

/* MENU DO RODAPÉ */
.rodape-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rodape-menu li {
    margin-bottom: 15px;
    transform: translateX(-10px);
    opacity: 0;
    animation: menuSlideIn 0.5s ease forwards;
}

.rodape-menu li:nth-child(1) { animation-delay: 0.4s; }
.rodape-menu li:nth-child(2) { animation-delay: 0.5s; }
.rodape-menu li:nth-child(3) { animation-delay: 0.6s; }
.rodape-menu li:nth-child(4) { animation-delay: 0.7s; }

@keyframes menuSlideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.rodape-menu a {
    color: #bdc3c7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    padding: 10px 15px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.rodape-menu a::before {
    content: '›';
    color: #3498db;
    font-weight: bold;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.rodape-menu a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.rodape-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rodape-menu a:hover::before {
    transform: translateX(5px);
    color: #2ecc71;
}

.rodape-menu a:hover::after {
    left: 100%;
}

/* CONTATOS NO RODAPÉ */
.rodape-contato {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rodape-contato li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-10px);
    animation: contactSlideIn 0.5s ease forwards;
}

.rodape-contato li:nth-child(1) { animation-delay: 0.6s; }
.rodape-contato li:nth-child(2) { animation-delay: 0.7s; }
.rodape-contato li:nth-child(3) { animation-delay: 0.8s; }

@keyframes contactSlideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.rodape-contato a, .rodape-contato li {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s;
    padding: 12px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.rodape-contato a::before, .rodape-contato li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #3498db, #2ecc71);
    transition: height 0.3s ease;
}

.rodape-contato a:hover::before, .rodape-contato li:hover::before {
    height: 100%;
}

.rodape-contato i {
    color: #3498db;
    font-size: 1.3rem;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.rodape-contato span {
    line-height: 1.6;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.rodape-contato a:hover, .rodape-contato li:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.rodape-contato a:hover i, .rodape-contato li:hover i {
    color: #2ecc71;
    transform: scale(1.2);
}

/* REDES SOCIAIS (OPCIONAL) */
.rodape-redes {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.rede-social {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.rede-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    opacity: 0;
    transition: opacity 0.3s;
}

.rede-social i {
    position: relative;
    z-index: 1;
}

.rede-social:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.rede-social:hover::before {
    opacity: 1;
}

/* COPYRIGHT */
.rodape-copy {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.rodape-copy p {
    margin: 0;
    letter-spacing: 0.5px;
}

.rodape-copy::before {
    content: '❤';
    color: #e74c3c;
    margin-right: 10px;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* BOTÃO VOLTAR AO TOPO */
.voltar-topo {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 1.2s;
}

.voltar-topo:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .rodape-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
    }
    
    .rodape-coluna {
        padding: 15px;
    }
    
    .logo-rodape {
        max-width: 180px;
    }
    
    .rodape-coluna h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .rodape {
        padding: 50px 0 25px;
    }
    
    .rodape-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .rodape-coluna h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .rodape-coluna h3:hover::after {
        width: 50px;
    }
    
    .rodape-menu a:hover {
        transform: translateX(0);
    }
    
    .rodape-contato a:hover, .rodape-contato li:hover {
        transform: translateX(0);
    }
    
    .rodape-coluna p {
        text-align: center;
        padding-right: 0;
    }
    
    .rodape-menu a, .rodape-contato a, .rodape-contato li {
        justify-content: center;
        text-align: left;
    }
    
    .voltar-topo {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .rodape {
        padding: 40px 0 20px;
    }
    
    .rodape-coluna {
        padding: 10px;
    }
    
    .logo-rodape {
        max-width: 150px;
    }
    
    .rodape-coluna h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .rodape-menu li, .rodape-contato li {
        margin-bottom: 15px;
    }
    
    .rodape-menu a, .rodape-contato a, .rodape-contato li {
        padding: 10px 15px;
    }
    
    .rodape-copy {
        font-size: 0.85rem;
    }
    
    .voltar-topo {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* EFEITOS DE HOVER GLOBAIS */
.rodape a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ANIMAÇÃO DE BRILHO PARA OS LINKS */
.rodape a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
}

.rodape a:hover::after {
    width: 100%;
}

/* DECORAÇÃO EXTRA */
.rodape .decoracao {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.05) 0%, rgba(46, 204, 113, 0.02) 70%);
    z-index: 0;
}

.rodape .decoracao:nth-child(1) {
    top: -150px;
    left: -150px;
}

.rodape .decoracao:nth-child(2) {
    bottom: -150px;
    right: -150px;
}
/* ===== MODAL DETALHES DO EXAME ===== */
.modal-exame {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.3s ease;
}

.modal-exame.ativo {
    display: flex;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* CABEÇALHO DO MODAL */
.modal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: #3498db;
}

.btn-fechar-modal {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-fechar-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* CORPO DO MODAL */
.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 200px);
}

/* ESTILOS ESPECÍFICOS DO CONTEÚDO DO MODAME */
.detalhes-exame {
    display: grid;
    gap: 25px;
}

.detalhes-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
}

.detalhes-header-icono {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #3498db;
}

.detalhes-header-info h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.8rem;
}

.codigo-exame-modal {
    display: inline-block;
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 20px;
    font-family: monospace;
    font-weight: 600;
    color: #3498db;
    border: 1px solid #e9ecef;
}

.detalhes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detalhe-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.detalhe-item strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.detalhe-item p {
    margin: 0;
    color: #5a6c7d;
    line-height: 1.6;
}

/* PREPARO ESPECIAL */
.preparo-detalhado {
    background: #fff8e6;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #ffecb3;
}

.preparo-detalhado h5 {
    color: #e67e22;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preparo-detalhado h5 i {
    color: #e67e22;
}

.preparo-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preparo-lista li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #5a6c7d;
}

.preparo-lista li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* INFORMAÇÕES ADICIONAIS */
.info-adicional {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #f1f3f4;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item i {
    color: #3498db;
    font-size: 1.2rem;
}

/* RODAPÉ DO MODAL */
.modal-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn-modal {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 180px;
}

.btn-modal {
    background: linear-gradient(135deg, #1a73e8 0%, #3498db 100%);
    color: white;
}

.btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

.btn-modal.secundario {
    background: white;
    color: #495057;
    border: 2px solid #dee2e6;
}

.btn-modal.secundario:hover {
    border-color: #3498db;
    color: #3498db;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .rodape-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .modal-content {
        max-width: 90%;
    }
    
    .detalhes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .rodape {
        padding: 40px 0 20px;
    }
    
    .rodape-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .rodape-coluna h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .rodape-menu a:hover {
        padding-left: 0;
        transform: translateX(5px);
    }
    
    .rodape-contato li {
        justify-content: center;
        text-align: left;
    }
    
    .modal-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        text-align: center;
    }
    
    .modal-header h3 {
        justify-content: center;
    }
    
    .btn-fechar-modal {
        position: absolute;
        top: 15px;
        right: 15px;
    }
    
    .detalhes-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .detalhes-header-icono {
        margin: 0 auto;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn-modal {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-body {
        padding: 20px;
    }
    
    .detalhe-item {
        padding: 15px;
    }
    
    .preparo-detalhado {
        padding: 20px;
    }
    
    .info-adicional {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        padding: 15px;
    }
}

/* ANIMAÇÕES ADICIONAIS */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.numero-telefone {
    color: #3498db;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    animation: pulse 2s infinite;
}

/* SCROLLBAR PERSONALIZADA PARA O MODAL */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
/* RESPONSIVIDADE */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .agendamento-steps,
    .preparos-grid,
    .exames-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-card,
    .preparo-card,
    .exame-card {
        padding: 25px 20px;
    }
    
    .faq-pergunta {
        padding: 18px 20px;
        font-size: 1rem;
    }
    
    .faq-resposta p {
        padding: 0 20px 20px;
    }
}

/* ANIMAÇÕES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card,
.preparo-card,
.exame-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }

.preparo-card:nth-child(1) { animation-delay: 0.1s; }
.preparo-card:nth-child(2) { animation-delay: 0.2s; }
.preparo-card:nth-child(3) { animation-delay: 0.3s; }
.preparo-card:nth-child(4) { animation-delay: 0.4s; }