/* ================= RESET / BASE ================= */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: #F4F7FB;
    color: #1F2937;
}

a {
    color: #3498DB;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2ECC71;
}

/* ================= HEADER / NAVBAR ================= */
header {
    background: linear-gradient(90deg, #1F3C88, #2ECC71);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 22px;
}

.nav-links li a {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* ================= HERO ================= */
.hero {
    background: linear-gradient(135deg, #3498DB, #2ECC71);
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ================= SEÇÕES ================= */
.content-section,
.contact-section,
.login-section,
.dashboard-section {
    max-width: 900px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(31,60,136,0.08);
    min-height: 300px;       /* <<< altura mínima */

}

.content-section h2,
.contact-section h2 {
    color: #1F3C88;
    font-weight: 800;
    margin-bottom: 20px;
}

/* ================= FORMULÁRIOS ================= */
label {
    display: block;
    margin-top: 18px;
    font-weight: 600;
    color: #374151;
}

input {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #eeeceb;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #eeeceb;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;

    min-height: 800px;   /* <<< AQUI ESTÁ O SEGREDO */
    line-height: 1.7;
    resize: vertical;
}


input:focus,
textarea:focus {
    outline: none;
    border-color: #3498DB;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.15);
}




/* ================= BOTÕES ================= */
.btn {
    margin-top: 25px;
    background: linear-gradient(135deg, #3498DB, #2ECC71);
    color: white;
    border: none;
    padding: 14px 26px;
    font-size: 1rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46,204,113,0.35);
}

/* ================= FLASH MESSAGES ================= */
.flash-messages {
    max-width: 800px;
    margin: 25px auto;
}

.flash {
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
}

.flash.success {
    background: #2ECC71;
    color: white;
}

.flash.danger {
    background: #E74C3C;
    color: white;
}

/* ================= TABELAS ================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

th {
    background: #1F3C88;
    color: white;
}

th, td {
    padding: 14px;
    border-bottom: 1px solid #E5E7EB;
}

/* ================= GALERIA ================= */
.gallery-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 0;
    margin-top: 25px;
    list-style: none;
}

.gallery-list img,
.gallery-list video {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.gallery-list img:hover,
.gallery-list video:hover {
    transform: scale(1.04);
}

/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
    color: #6B7280;
}


/* ================= TEXTAREA GRANDE ================= */
textarea {
    min-height: 500px;     /* altura grande padrão */
    line-height: 1.6;      /* mais conforto pra ler/escrever */
    resize: vertical;      /* usuário pode aumentar se quiser */
}



/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


/* ================= GALERIA – EFEITOS ================= */
.gallery-img {
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    border-radius: 14px;
}

.gallery-img:hover {
    transform: scale(1.06);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    filter: brightness(1.05);
}

/* ================= MODAL / LIGHTBOX ================= */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-modal img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

