/* =========================
   RESET GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY BASE
========================= */
html {
    min-height: 100%;
}

body {
    font-family: 'Lato', Arial, Helvetica, sans-serif; /*'Lato', Arial, Helvetica, sans-serif; 'Poppins', sans-serif;*/
    min-height: 100vh;
}

/* =========================
   HEADER / TOPBAR
========================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
    z-index: 100;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* =========================
   ICON BUTTONS
========================= */
.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    text-decoration: none;
}

.icon-btn img {
    width: 56px;
    height: 56px;
    max-width: none;
    max-height: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-btn:hover img {
    transform: scale(1.08);
    opacity: 0.9;
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;

    padding: 8px 16px;
    min-height: 50px;

    font-size: 16px;
    font-weight: 600;

    border-radius: 8px;
    border: none;

    cursor: pointer;
    text-decoration: none;

    transition: 
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.button-group .btn {
    min-width: 180px;   /* 🔑 tamanho igual */
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #4b60bd 0%, #2b13af 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #ea66b1 0%, #a71616 100%);
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-tertiary {
    background: linear-gradient(135deg, #5aac4a 0%, #13a574 100%);
    color: #fff;
}

.btn-tertiary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

a.btn {
    color: #fff;
    text-decoration: none;
}

.btn-login {
    background: #1E88E5;
    color: #fff;
}

.btn-login:hover {
    background: #1565C0;
}

.btn-user {
    background: #2e7d32;
    color: #fff;
}

.btn-user:hover {
    background: #1b5e20;
}

.btn-barrasup {
    background: linear-gradient(135deg, #2e7d32 0%, #1e5a39 100%);
    color: #fff;
}

.btn-barrasup:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-barrasuptermo {
    background: linear-gradient(135deg, #9b0000 0%, #5a1e1e 100%);
    color: #fff;
}

.btn-barrasuptermo:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* =========================
   USER MENU
========================= */
.user-menu {
    position: relative;
}

.menu {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 160px;
    z-index: 101;
}

.menu.active {
    display: block;
}

.menu a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.menu-admin {
    color: #ff0000;
    font-weight: 600;
}

.menu-admin:hover {
    background: rgba(255, 215, 0, 0.15);
    color: #ff0000;
}

.menu a:last-child {
    border-bottom: none;
}

.menu a:hover {
    background: #f5f5f5;
}

/* =========================
   MAIN BASE
========================= */
main {
    padding-top: 100px; /* espaço do header */
    min-height: calc(100vh - 100px);

    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* =========================
   HELPERS
========================= */
.hidden {
    display: none !important;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   OVERLAYS
========================= */

/* OVERLAY */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* CONTEÚDO */

.overlay-contentqs { /* Quem Somos */
    background: #000224;
    color: #fff;
    max-width: 800px;
    width: 90%;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.overlay-contentqs p {
    margin-top: 20px;
}

.overlay-contentfc { /* Fale Conosco */
    background: #000224;
    color: #fff;
    max-width: 800px;
    width: 90%;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.overlay-contentfc p {
    margin-top: 20px;
}

.overlay-contentgrmt { /* Grupo RMT */
    background: #000224;
    color: #fff;
    max-width: 800px;
    width: 90%;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.overlay-contentgrmt p {
    margin-top: 20px;
}

.overlay-img {
    display: block;
    max-width: 50px;
    width: 50%;
    margin: 10px auto;
    border-radius: 6px;
}

.overlay-contentqs p {
    color: #cfcfcf;
    line-height: 1.6;
}

.overlay-contentqs h2 {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.overlay-contentfc p {
    color: #cfcfcf;
    line-height: 1.6;
}

.overlay-contentfc h2 {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.overlay-contentgrmt p {
    color: #cfcfcf;
    line-height: 1.6;
}

.overlay-contentgrmt h2 {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.overlay-contentqs blockquote {
    font-style: italic;
    color: #bfbfbf;
    border-left: 3px solid #6ab4ff;
    padding-left: 15px;
    margin: 25px 0;
}

/* BOTÃO FECHAR */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

/* =========================
   BOTÕES GRUPOS RMT
========================= */
.overlay-description {
    font-size: 16px;
    color: #cfcfcf;
    margin-bottom: 20px;
    text-align: center;
}

.grmt-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-grmt {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-grmt:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #2ee876 0%, #15a88e 100%);
}

.btn-grmt:active {
    transform: translateY(-1px);
}

/* Último botão centralizado */
.grmt-buttons-grid .btn-grmt:nth-child(11) {
    grid-column: 1 / -1;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsividade para telas pequenas */
@media (max-width: 600px) {
    .grmt-buttons-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .grmt-buttons-grid .btn-grmt:nth-child(11) {
        grid-column: 1;
        max-width: 100%;
    }

    .btn-grmt {
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* =========================
   BOTÃO WHATSAPP - FALE CONOSCO
========================= */
.btn-whatsapp {
    display: inline-block;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #2ee876 0%, #15a88e 100%);
}

.btn-whatsapp:active {
    transform: translateY(-1px);
}

/* ANIMAÇÃO */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}