/* Importação de Fontes e Ícones */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

/* Para os ícones do Font Awesome, o script no HTML já faz o trabalho */

/* Variáveis de Cores */
:root {
    --black: #080808;
    --dark-grey: #121212;
    --medium-grey: #222;
    --orange:  #ff5e00a4;
    --white: #f5f5f5;
    --light-grey: #ccc;
}

/* Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
font-family: "Montserrat", sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--orange);
    margin: 10px auto 40px;
    border-radius: 2px;
}

a {
    text-decoration: none;
    color: var(--white);
    transition: color 0.3s ease;
}

/* Navegação */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(5px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
}
.logo img{
    width: 110px;
    height: 100px;
    vertical-align: middle;
    margin-right: 10px;
    margin-top: -20px;
}

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

.nav-links a:hover {
    color: var(--orange);
}

.logout-button {
    background:none;
    border: none;
    text-decoration: none;
    color: var(--white);
    font-size: 17px;
    font-family: "Montserrat", sans-serif;
    
}

.logout-button:hover {
    color: var(--orange);
    cursor: pointer;
}
/* Cabeçalho */
.hero-section {
    
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}
.hero-section{
    /*background-image: url('/img/20.png');*/
    height: clamp(460px, 38vw, 760px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.8rem;
    color: var(--orange);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    margin-bottom: 20px;
    animation: slideInLeft 1s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    animation: slideInRight 1s ease-out;
}

.cta-button {
    background-color: var(--orange);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(255, 0, 0, 0.4);
}

/* Seções */
section {
    padding: 100px 0;
}

.about-section {
    background-color: var(--dark-grey);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    animation: fadeIn 1s ease-in-out;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: scaleIn 1s ease-in-out;
}

.courses-section {
    background-color: var(--black);
}

.course-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--dark-grey);
    border-radius: 10px;
    text-align: center;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--orange);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.icon-large {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.course-card h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.details-button {
    color: var(--orange);
    border: 2px solid var(--orange);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    margin-top: 20px;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
}

.details-button:hover {
    background-color: var(--orange);
    color: var(--dark-grey);
}

/* Depoimentos */
.testimonials-section {
    background-color: var(--medium-grey);
}

.testimonial-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.testimonial-card {
    background-color: var(--dark-grey);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-card p {
    font-style: italic;
    color: var(--light-grey);
    margin-bottom: 20px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card .author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--orange);
}

.testimonial-card .author span {
    font-weight: 500;
    color: var(--orange);
}

/* Chamada para Ação Final */
.cta-final-section {
    background-color: var(--orange);
    text-align: center;
    padding: 80px 0;
    animation: popUp 1s ease-out;
}

.cta-final-section h2 {
    color: var(--black);
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.cta-button-final {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button-final:hover {
    background-color: var(--black);
    transform: translateY(-5px);
}

/* Rodapé */
.footer-section {
    background-color: var(--dark-grey);
    padding: 60px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
}

.footer-info h4 {
    color: var(--orange);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-info p {
    color: var(--light-grey);
}

.img-curso{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
.social-links a {
    color: var(--light-grey);
    font-size: 1.5rem;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--orange);
}

.footer-copyright {
    margin-top: 40px;
    border-top: 1px solid var(--medium-grey);
    padding-top: 20px;
}

.footer-copyright p {
   color: var(--light-grey); 
    font-size: 0.9rem;
    text-align: center;
}

/* Landing pages for the established training courses */
.legacy-course-page {
    --course-accent: #ff6b1a;
    --course-accent-soft: rgba(255, 107, 26, 0.14);
}

.legacy-course-page .navbar {
    background: rgba(8, 8, 8, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.legacy-course-page .navbar .nav-content {
    min-height: 68px;
}

.legacy-course-page .navbar .logo img {
    width: 82px;
    height: 68px;
    margin: 0;
    object-fit: contain;
}

.legacy-course-page .navbar .nav-links {
    align-items: center;
    gap: clamp(16px, 2.5vw, 30px);
    font-size: 0.86rem;
    font-weight: 600;
}

.legacy-course-page .navbar .nav-links a {
    transition: color 180ms ease;
}

.legacy-course-page .hero-section.course-landing-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    width: 100%;
    height: auto;
    min-height: min(800px, 100vh);
    align-items: center;
    overflow: hidden;
    padding: 122px 0 76px;
    background-color: #0b0b0b;
    background-image: url('/img/20.png');
    background-position: center;
    background-size: cover;
    text-align: left;
}

.course-page-escort .hero-section.course-landing-hero {
    background-image: url('/img/2.png');
}

.course-page-less-lethal .hero-section.course-landing-hero {
    background-image: url('/img/20.png');
}

.course-page-security .hero-section.course-landing-hero {
    background-image: url('/img/20.png');
}

.course-landing-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 7, 7, 0.96), rgba(7, 7, 7, 0.84) 48%, rgba(7, 7, 7, 0.58)),
        linear-gradient(0deg, #080808, transparent 38%);
}

.course-landing-content {
    display: grid;
    width: min(100%, 1240px);
    grid-template-columns: minmax(0, 1fr) minmax(230px, 340px);
    align-items: center;
    gap: clamp(34px, 7vw, 92px);
}

.course-landing-copy {
    max-width: 760px;
}

.course-landing-eyebrow,
.course-section-eyebrow {
    margin: 0 0 14px;
    color: #ff843e;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.course-landing-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-landing-copy h1 {
    margin: 0;
    color: #fff;
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 6.6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.04;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.55);
    text-wrap: balance;
}

.course-landing-lead {
    max-width: 650px;
    margin: 20px 0 26px;
    color: #d0d0d0;
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    line-height: 1.8;
}

.course-landing-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}

.course-landing-fact {
    display: grid;
    min-height: 112px;
    grid-template-columns: 32px minmax(0, 1fr);
    align-content: center;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(17, 17, 17, 0.78);
    backdrop-filter: blur(9px);
}

.course-landing-fact > i {
    grid-row: span 2;
    color: #ff843e;
    font-size: 1.1rem;
}

.course-landing-fact > span {
    color: #aaa;
    font-size: 0.68rem;
    line-height: 1.35;
}

.course-landing-fact > strong {
    color: #fff;
    font-size: clamp(0.8rem, 1.2vw, 0.98rem);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.course-landing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 26px;
}

.legacy-course-page .course-landing-actions .cta-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    background: linear-gradient(135deg, #ff7b32, #f0520a);
    box-shadow: 0 10px 30px rgba(255, 94, 0, 0.24);
    font-size: 0.9rem;
}

.legacy-course-page .course-landing-actions .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(255, 94, 0, 0.35);
}

.course-landing-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #eee;
    font-size: 0.86rem;
    font-weight: 600;
}

.course-landing-more:hover {
    color: #ff843e;
}

.course-landing-poster {
    width: 100%;
    max-width: 330px;
    aspect-ratio: 0.61;
    justify-self: end;
    overflow: hidden;
    margin: 0;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(20, 20, 20, 0.88));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), 0 0 44px rgba(255, 94, 0, 0.12);
}

.course-landing-poster img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 11px;
    object-fit: contain;
}

.legacy-course-page .about-section,
.legacy-course-page .courses-section,
.legacy-course-page .testimonials-section {
    padding: 76px 0;
}

.legacy-course-page .about-section {
    background: #111;
}

.legacy-course-page .course-section-eyebrow {
    text-align: center;
}

.legacy-course-page .section-title {
    margin-top: 0;
    color: #fff;
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.2rem, 4.2vw, 3.35rem);
    font-weight: 400;
    line-height: 1.1;
}

.legacy-course-page .section-title::after {
    margin-top: 13px;
    margin-bottom: 38px;
    background: #ff6b1a;
}

.legacy-course-page .about-grid {
    max-width: 900px;
    grid-template-columns: minmax(0, 1fr);
    margin: 0 auto;
    gap: clamp(32px, 6vw, 72px);
}

.legacy-course-page .about-text p {
    margin-bottom: 16px;
    color: #c9c9c9;
    line-height: 1.9;
}

.legacy-course-page .about-image img {
    max-height: 390px;
    object-fit: cover;
}

.legacy-course-page .courses-section {
    background: #080808;
}

.legacy-course-page .course-cards-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.legacy-course-page .course-card {
    min-height: 210px;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #ff6b1a;
    border-radius: 12px;
    background: linear-gradient(145deg, #191919, #101010);
    text-align: left;
}

.legacy-course-page .course-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 26, 0.45);
    border-top-color: #ff6b1a;
}

.legacy-course-page .course-card .icon-large {
    margin-bottom: 13px;
    color: #ff843e;
    font-size: 1.65rem;
}

.legacy-course-page .course-card h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.legacy-course-page .course-card p {
    margin: 0;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.7;
}

.legacy-course-page .testimonials-section {
    background: #141414;
}

.legacy-course-page .testimonial-card {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: #101010;
}

.legacy-course-page .cta-final-section {
    padding: 68px 0;
    background: linear-gradient(115deg, #e8520d, #ff762d);
}

.legacy-course-page .cta-final-section h2 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
}

.legacy-course-page .cta-button-final {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.95rem;
}

.legacy-course-page .footer-section {
    background: #080808;
}

.legacy-course-page .whatsapp-button img {
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.45));
}

@media (max-width: 900px) {
    .course-landing-content {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
        gap: 28px;
    }

    .course-landing-facts {
        grid-template-columns: 1fr;
    }

    .course-landing-fact {
        min-height: 76px;
    }
}

@media (max-width: 768px) {
    .legacy-course-page .navbar .nav-content {
        width: 100%;
        max-width: 1240px;
        margin-right: auto;
        margin-left: auto;
        padding-right: 16px;
        padding-left: 16px;
    }

    .legacy-course-page .navbar .nav-links {
        display: none !important;
    }

    .legacy-course-page .navbar.rn-ready .rn-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .legacy-course-page .navbar.rn-ready .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
        background: rgba(0, 0, 0, 0.97);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .legacy-course-page .navbar.rn-ready.rn-open .nav-links {
        display: flex !important;
    }

    .legacy-course-page .navbar.rn-ready .nav-links li {
        width: 100%;
        padding: 12px 20px;
        text-align: left;
    }

    .legacy-course-page .navbar.rn-ready .nav-links a {
        display: block;
    }

    .course-landing-hero {
        min-height: 0 !important;
        padding: 104px 0 60px !important;
    }

    .course-landing-content {
        grid-template-columns: minmax(0, 1fr) minmax(140px, 210px);
        gap: 20px;
    }

    .course-landing-copy h1 {
        font-size: clamp(2.55rem, 7.8vw, 4rem);
    }

    .course-landing-facts {
        gap: 8px;
    }

    .course-landing-fact {
        min-height: 68px;
        padding: 11px;
    }

    .course-landing-actions {
        align-items: flex-start;
        gap: 15px;
    }

    .legacy-course-page .about-section,
    .legacy-course-page .courses-section,
    .legacy-course-page .testimonials-section {
        padding: 58px 0;
    }
}

@media (max-width: 520px) {
    .course-landing-content {
        grid-template-columns: minmax(0, 1fr) 112px;
        align-items: start;
        gap: 14px;
    }

    .course-landing-copy h1 {
        font-size: clamp(2rem, 8.8vw, 2.8rem);
    }

    .course-landing-eyebrow {
        align-items: flex-start;
        font-size: 0.59rem;
        letter-spacing: 0.08em;
        line-height: 1.5;
    }

    .course-landing-lead {
        margin-top: 14px;
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .course-landing-poster {
        margin-top: 29px;
        padding: 5px;
        border-radius: 11px;
    }

    .course-landing-poster img {
        border-radius: 7px;
    }

    .course-landing-fact {
        grid-template-columns: 22px minmax(0, 1fr);
        column-gap: 7px;
        padding: 9px;
    }

    .course-landing-fact > i {
        font-size: 0.88rem;
    }

    .course-landing-fact > span {
        font-size: 0.6rem;
    }

    .course-landing-fact > strong {
        font-size: 0.72rem;
    }

    .course-landing-actions {
        gap: 12px;
    }

    .legacy-course-page .course-landing-actions .cta-button {
        min-height: 43px;
        gap: 6px;
        padding: 0 12px;
        font-size: 0.69rem;
    }

    .course-landing-more {
        font-size: 0.72rem;
    }

    .legacy-course-page .course-cards-container {
        grid-template-columns: 1fr;
    }

    .legacy-course-page .course-card {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legacy-course-page *,
    .legacy-course-page *::before,
    .legacy-course-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* botão whatsapp */
.whatsapp-button {
    position: fixed;
    bottom: 3%; 
    right: 3%;
}
.whatsapp-button img{
    width: 80px;
    height: 80px;
}


.whatsapp-button:hover {
    background-color: #020202b0;
    transform: translateY(-5px);
    border-radius: 80px;
}

/* Responsividade */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-image {
        order: -1;
    }
    .testimonial-cards-container {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes popUp {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}