:root {
    --tr-blue-dark: #1a237e;
    --tr-blue:      #3f51b5;
    --tr-blue-light:#c5cae9;
    --tr-orange:    #fd9b00;
    --tr-black:     #000000;
    --tr-white:     #ffffff;
    --tr-grey-dark: #424242;
    --tr-grey:      #9e9e9e;
    --tr-grey-light:#eeeeee;
}

body {
    min-height: 100vh;
    margin: 0;
    background: radial-gradient(circle at center, var(--tr-blue-dark) 0%, var(--tr-black) 80%);
    background-attachment: fixed; 
}

img {
    max-width: 100%;
    height: auto;
}

.nav-wrapper {
    background-color: var(--tr-black);
    border-bottom: 1px solid var(--tr-grey);
    z-index: 1000;
}

.brand-logo img {
    height: 120px;
    width: auto;
    border-radius: 5px;
    margin: 5px 0;
}

.nav-wrapper ul li a {
    color: var(--tr-orange);
}

.nav-wrapper ul li a:hover,
.nav-wrapper ul li a:active,
.nav-wrapper ul li a:focus {
    background-color: var(--tr-orange);
    color: var(--tr-black);
    border-radius: 5px;
}

.page-footer {
    background-color: var(--tr-black);
    color: var(--tr-white);
    text-align: center;
    width: 100%;
}

.btn,
.btn-large,
.btn-small {
    width: 100%;
    background-color: var(--tr-blue);
    border-radius: 5px;
}

.btn-large {
    font-size: 1.15rem;
}

.btn:hover,
.btn-large:hover,
.btn-small:hover,
.btn:active,
.btn-large:active,
.btn-small:active,
.btn:focus,
.btn-large:focus,
.btn-small:focus {
    background-color: var(--tr-orange);
    color: var(--tr-black);
}

nav ul a.btn {
    margin: auto;
    background-color: var(--tr-blue);
    color: var(--tr-white);
}

nav ul a.btn:hover,
nav ul a.btn:active,
nav ul a.btn:focus {
    background-color: var(--tr-orange);
    color: var(--tr-black);
}

#footer {
    margin-bottom: -20px;
}

.page-footer {
    background-color: var(--tr-black);
    border-top: 1px solid var(--tr-grey);
}

.page-footer .footer-copyright {
    background-color: var(--tr-blue);
    color: var(--tr-white);
}

.tr-page-footer-logo .row img {
    max-width: 140px;
    height: auto;
    border-radius: 50%;
}

.tr-selos-footer-certificados .col img {
    max-width: 75px !important;
    border-radius: 5px !important;
}

.tr-page-footer-institucional ul {
    list-style: none;
}

.tr-page-footer-institucional ul li {
    margin-bottom: 36px;
}

.tr-page-footer-institucional ul li a {
    padding: 10px;
    font-size: 1.25rem;
}
.tr-page-footer-institucional ul li a:hover,
.tr-page-footer-institucional ul li a:active,
.tr-page-footer-institucional ul li a:focus {
    background-color: var(--tr-orange);
    color: var(--tr-black) !important;
    border-radius: 5px;
}

.tr-page-footer-site-seguro {
    background-color: var(--tr-white);
    border-radius: 5px;
    margin-top: 25px
}

.tr-page-footer-site-seguro:last-child {
    margin-top: 45px;
    padding: 40px;
}

.tr-page-footer-site-seguro img {
    width: 75%;
}

nav .sidenav-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tr-orange);
    margin-left: 1rem;
}

nav .sidenav-trigger i {
    font-size: 2rem;
}

.sidenav .btn,
.sidenav .auth-action-btn {
    width: 100%;
    margin: 0.25rem 0;
}

@media only screen and (max-width: 767px) {
    .nav-wrapper {
        padding: 0 0.75rem;
    }

    .brand-logo img {
        max-height: 56px;
    }

    #tr-hero-section-component h1 {
        font-size: 2.25rem;
    }

    #tr-hero-section-component p {
        font-size: 1.1rem;
        line-height: 1.8rem;
        text-align: center;
    }

    .hero-copy-inner,
    .section-copy-inner {
        padding: 0 0.75rem;
    }

    .btn-container {
        margin-bottom: 0.9rem;
    }

    .section-button {
        margin-top: 1rem;
    }

    .home-section h2 {
        font-size: 2rem;
    }

    .home-section p {
        font-size: 1.1rem;
        line-height: 1.8rem;
        text-align: center;
    }

    #tr-modal-btn-2 {
        margin-top: 1.5rem;
    }
}

#tr-modal {
    border-radius: 5px;
}

#tr-modal .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#tr-modal .modal-content p {
    font-size: 1.25rem;
}

#tr-modal .modal-footer {
    margin-top: auto;
    padding: 1rem;
}

#tr-hero-section-component {
    background-color: rgba(0, 0, 0, 0.9); /* Cor da película */
    background-blend-mode: overlay;
    min-height: 70vh;
}

#tr-hero-section-component.parallax-container {
    height: auto !important;
}

#tr-hero-section-component .container {
    min-height: 70vh;
}

#tr-hero-section-component .valign-wrapper-custom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

#tr-hero-section-component > .row {
    margin-bottom: 10px;
}

#tr-hero-section-component h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tr-orange);
}

#tr-hero-section-component p {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--tr-orange);
    text-align: justify;
}

#tr-hero-section-component .row img {
    border-radius: 5px;
    margin-top: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.flash-container-wrapper {
    position: fixed;
    top: 75px;
    right: 20px;
    width: 25%;
    min-width: 280px;
    z-index: 9999;
}

/* Ajusta o card para herdar o comportamento do wrapper */
.flash-message {
    position: relative; /* Muda de fixed para relative */
    width: 100%;
    top: auto;
    right: auto;
    margin: 0 0 10px 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    border-radius: 4px !important;
    animation: fadeInRight 0.3s ease-out;
}

/* Cores de fundo elegantes para o tema escuro */
.flash-message.green.darken-4 {
    background-color: #0c2417 !important;
}

.flash-message.red.darken-4 {
    background-color: #2a1215 !important;
}

.flash-message.blue.darken-4 {
    background-color: #0f1c2e !important;
}

/* Estilo do conteúdo interno */
.style-flash-content {
    padding: 12px 15px !important;
}

.style-flash-content span {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Animação suave surgindo da direita para a esquerda */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.flash-message {
    cursor: pointer; /* Transforma o mouse em mãozinha */
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Efeito sutil ao passar o mouse por cima */
.flash-message:hover {
    opacity: 0.9;
    transform: scale(1.02); /* Dá um leve "push" para frente */
}