/* custom.css - Estilos para ficar mais próximo do original */

:root {
    --primary: #45818E;
    --primary-dark: #2c5a63;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
}

.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.mega-menu {
    border-radius: 8px;
    border: none;
    padding: 25px 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.hero-section {
    background: #45818E; /* mesma cor do site original */
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.card {
    transition: all 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12) !important;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

footer {
    background: #1a1a2e;
}

/* Dark mode */
html.dark {
    background: #1a1a2e;
    color: #eee;
}

html.dark .bg-white {
    background: #16213e !important;
}

html.dark .card {
    background: #0f3460;
    color: #eee;
}

html.dark .navbar {
    background: #0f3460 !important;
}

html.dark .text-dark {
    color: #eee !important;
}

/* Busca */
.search-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    z-index: 9999;
}

.search-box {
    width: 100%;
    max-width: 700px;
    border: none;
    background: transparent;
    color: white;
    font-size: 1.8rem;
    outline: none;
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Overlay de Busca */
.search-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.search-box {
    background: #fff;
    border: 2px solid #45818E;
    border-radius: 12px;
    padding: 18px 24px;
    font-size: 1.35rem;
    color: #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

html.dark .search-box {
    background: #1e2937;
    color: #e2e8f0;
    border-color: #60a5fa;
}

.search-close {
    background: none;
    border: none;
    color: #666;
    font-size: 2.2rem;
    cursor: pointer;
}

html.dark .search-close {
    color: #94a3b8;
}

/* ===== CORREÇÃO HEADER / MENU ===== */
.header,
.navbar {
    background-color: #ffffff !important;
}

.navbar {
    box-shadow: none !important;
}