/* ==========================================================================
   ST CENTRO DE TREINAMENTO - ESTILOS GERAIS
   ========================================================================== */

:root {
    /* Cores Principais */
    --main-color: #e44800;      /* Laranja Vibrante */
    --main-color-dark: #c33d00;
    --accent-blue: #0d6efd;     /* Azul para Mapas/Ações */
    --bg-color: #2d2d2e;        /* Cinza mais profundo para contraste */
    --bg-light: #f5f7fa;        /* Cinza Claro */
    --text-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    
    /* Fontes */
    --h1-font: 3rem;
    --h2-font: 2.5rem;
    --p-font: 1.05rem;
    
    /* Transições */
    --transition: all 0.1s ease;
}

* { 
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-white);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Esconder scrollbar mantendo funcionalidade */
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: var(--bg-color);
}
body::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 10px;
}

/* ==========================================================================
   HEADER & NAVEGAÇÃO
   ========================================================================== */

header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 8%;
    transition: var(--transition);
}

header.scrolled {
    background: #e44800;
    padding: 10px 8%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.logo img {
    width: 70px;
    height: auto;
    transition: var(--transition);
}

.navlist {
    display: flex;
}

.navlist li {
    position: relative;
    margin: 0 10px;
}

.navlist a {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 25px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.navlist a:hover {
    border-color: var(--main-color);
    color: var(--main-color);
}

/* Dropdown */
.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--text-white);
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    padding: 10px 0;
}

.navlist li:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content li a {
    color: var(--text-dark);
    display: block;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
}

.dropdown-content li a:hover {
    background: var(--bg-light);
    color: var(--main-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.o-btn {
    background: var(--main-color);
    color: var(--text-white);
    font-size: 22px;
    padding: 8px 12px;
    border-radius: 12px;
    transition: var(--transition);
}

.o-btn:hover {
    transform: scale(1.1);
    background: var(--main-color-dark);
}

#menu-icon {
    font-size: 35px;
    cursor: pointer;
    display: none;
}

/* Scroll no dropdown de treinamentos */
.dropdown-content {
    max-height: 360px;      /* controla a altura do menu */
    overflow-y: auto;       /* ativa scroll vertical */
    overflow-x: hidden;     /* evita scroll lateral */
}

/* Estilo da scrollbar (Chrome, Edge, Safari) */
.dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 10px;
}

/* Firefox */
.dropdown-content {
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) transparent;
}


/* ==========================================================================
   SEÇÃO 1: HERO (VÍDEO + TEXTO)
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 8% 60px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(img/bg1.png);
    background-size: cover;
    background-position: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-video {
    width: 100%;
    max-width: 600px; /* Evita que o vídeo fique gigante em telas ultra-wide */
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #000;
    justify-self: center;
}

.hero-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.main-conte h1 {
    font-family: 'Outfit', sans-serif;
    font-size: var(--h1-font);
    line-height: 1.2;
    margin-bottom: 20px;
}

.main-conte p {
    font-size: var(--p-font);
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.button-group {
    display: flex;
    gap: 15px;
}

.btn1, .btn2 {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn1 {
    background: var(--main-color);
    color: var(--text-white);
}

.btn2 {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--main-color);
}

.btn1:hover { transform: translateY(-5px); background: var(--main-color-dark); }
.btn2:hover { background: var(--main-color); transform: translateY(-5px); }

/* ==========================================================================
   SEÇÃO 2: CURSOS
   ========================================================================== */

.cursos {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-conte-cursos {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.main-conte-cursos h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

.main-conte-cursos > p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 60px;
    font-family: 'Quicksand', sans-serif;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid de Cursos */
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Cartão de Curso */
.curso-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.curso-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    transition: left 0.3s ease;
}

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

.curso-card:hover::before {
    left: 100%;
}

/* Ícone do Curso */
.curso-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc7105 0%, #ff0000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.curso-card:hover .curso-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Título do Curso */
.curso-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
}

/* Descrição do Curso */
.curso-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    font-family: 'Quicksand', sans-serif;
    flex-grow: 1;
}

/* Link do Curso */
.curso-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #667eea;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.curso-card:hover .curso-link {
    color: #764ba2;
    gap: 15px;
}

.curso-link i {
    transition: transform 0.3s ease;
}

.curso-card:hover .curso-link i {
    transform: translateX(5px);
}

/* Responsividade */
@media (max-width: 768px) {
    .main-conte-cursos h1 {
        font-size: 2rem;
    }

    .main-conte-cursos > p {
        font-size: 1rem;
    }

    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .curso-card {
        padding: 30px 20px;
    }

    .curso-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .curso-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .cursos {
        padding: 50px 15px;
    }

    .main-conte-cursos h1 {
        font-size: 1.5rem;
    }

    .main-conte-cursos > p {
        font-size: 0.9rem;
    }

    .curso-card {
        padding: 25px 15px;
    }

    .curso-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .curso-card h3 {
        font-size: 1.1rem;
    }

    .curso-card p {
        font-size: 0.85rem;
    }
}




/* seção mapa */

.section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(205, 109, 6, 0.05), rgba(76, 175, 80, 0.05));
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.section-title h2 {
    font-size: 42px;
    color: var(--purple);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    font-size: 18px;
    color: var(--light-text);
    font-weight: 500;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    animation: fadeInUp 0.8s ease;
}

.contact-item:nth-child(1) {
    border-top-color: rgb(255, 68, 0);
    animation-delay: 0.1s;
}

.contact-item:nth-child(2) {
    border-top-color: rgb(255, 68, 0);
    animation-delay: 0.2s;
}

.contact-item:nth-child(3) {
    border-top-color: rgb(255, 68, 0);
    animation-delay: 0.3s;
}

.contact-item:nth-child(4) {
    border-top-color: rgb(255, 68, 0);
    animation-delay: 0.4s;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon  {
    font-size: 40px;
    background-color: #333;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.contact-text h4 {
    font-size: 18px;
    color: var(--dark-text);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-text p {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.6;
}

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease 0.5s both;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.btn-como-chegar {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: #0d6efd; /* azul */
    color: #fff;
    padding: 10px 16px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-como-chegar:hover {
    background: #084298;
    transform: translateY(-2px);
}

.map-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.btn-como-chegar-outline {
    background: var(--purple);
    border: none;
    color: #fff;
    padding: 18px 32px;        /* maior */
    border-radius: 6px;        /* quase quadrado */
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(187, 5, 207, 0.35);
}

.btn-como-chegar-outline:hover {
    background: #084298;
    transform: translateY(-2px);
}

/* ==========================================================================
   SEÇÃO 3: CONTATO & MAPA
   ========================================================================== */

.contact-section {
    padding: 100px 8%;
    background: var(--text-white);
    color: var(--text-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: var(--h2-font);
    color: var(--main-color);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover { background: #eee; }

.contact-icon {
    font-size: 30px;
    color: var(--main-color);
    margin-bottom: 15px;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-map {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.btn-map:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* ================= SEÇÃO SOBRE / HISTÓRIA ================= */
.sobre {
    padding: 100px 8%;
    background: var(--text-white);
    color: var(--text-dark);
}

.container-sobre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-img {
    position: relative;
}

.sobre-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experiencia-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--main-color);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(228, 72, 0, 0.3);
}

.experiencia-badge span {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.sobre-conteudo .subtitulo {
    color: var(--main-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.sobre-conteudo h2 {
    font-family: 'Outfit', sans-serif;
    font-size: var(--h2-font);
    margin: 15px 0 25px;
    line-height: 1.2;
}

.sobre-conteudo p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.sobre-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.feature-item i {
    color: var(--main-color);
    font-size: 20px;
}

/* Responsividade para o Sobre */
@media (max-width: 992px) {
    .container-sobre {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .sobre-img {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }
    .sobre-features {
        justify-content: center;
    }
    .feature-item {
        justify-content: center;
    }
}



/* ==========================================================================
   SEÇÃO 4: FORMULÁRIO
   ========================================================================== */

.form-section {
    padding: 100px 8%;
    background: var(--bg-light);
    color: var(--text-dark);
}

.custom-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--text-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input, .form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--main-color);
    outline: none;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--main-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover { background: var(--main-color-dark); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-social {
    padding: 60px 8%;
    background: #111;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}

.social-links a {
    font-size: 28px;
    color: var(--text-white);
    transition: var(--transition);
}

.social-links a:hover { color: var(--main-color); transform: scale(1.2); }

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 992px) {
    header { padding: 15px 5%; }
    .hero-container { grid-template-columns: 1fr; }
    .hero-video { order: 2; }
    .main-conte { order: 1; text-align: center; }
    .button-group { justify-content: center; }
    :root { --h1-font: 2.5rem; }
}

@media (max-width: 768px) {
    #menu-icon { display: block; }
    .navlist {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
    }
    .navlist.open { left: 0; }
    .navlist li { margin: 15px 0; }
    .navlist a { font-size: 20px; }
    
    .form-row { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: 1fr; }
}
