/* ========================================
   ESTILOS GLOBAIS
   ======================================== */
:root {
    --primary-color: #333333;
    --secondary-color: #ffffff;
    --accent-green: #7EB77F;
    --accent-yellow: #E9C46A;
    --accent-cyan: #00B2CB;
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

#logopng {
    max-width: 3%;
    height: auto;
}

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

section {
    padding: 100px 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-cyan);
}

p {
    margin-bottom: 15px;
}

.subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   HEADER E NAVEGAÇÃO
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 40px;
    width: auto;
}

.centered-nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

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

.centered-nav ul li {
    margin: 0 20px;
}

.centered-nav ul li a {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
}

.centered-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition);
}

.centered-nav ul li a:hover::after,
.centered-nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========================================
   SEÇÃO HERO
   ======================================== */
.hero {
    height: 100vh;
    background-color: var(--light-bg);
    background-image: url('/assets/banner-bgdtd.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

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

.hero-logo img {
    max-width: 400px;
    margin-bottom: 30px;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-cyan);
    color: var(--secondary-color);
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 178, 203, 0.2);
}

/* ========================================
   SEÇÃO SOBRE
   ======================================== */
.about {
    background-color: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

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

/* Foto da equipe com borda suave e sombra */
.team-image {
    max-width: 500px;
    margin: 30px auto 0;
}

.team-image img {
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* ========================================
   SEÇÃO PROJETOS
   ======================================== */
.projects {
    background-color: var(--light-bg);
}

/* Container do carrossel */
.projects-carousel {
    max-width: 420px;          /* largura do card */
    margin: 40px auto 20px;    /* centraliza */
    overflow: hidden;
    position: relative;
}

/* Faixa que desliza */
.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

/* Cada slide do carrossel */
.projects-carousel .project-item {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

/* Iframe do Behance estilizado */
.projects-carousel .project-item iframe {
    width: 100%;
    height: 316px;
    border-radius: 18px;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.20);
    overflow: hidden;
    border: 0;
}

/* Dots de navegação */
.project-navigation {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4d4d4;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nav-dot.active {
    background: #06b0c9;   /* azul da marca */
    transform: scale(1.2);
}

/* Grid antigo de projetos (caso queira usar no futuro) */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.project-gallery .project-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: block;
}

.project-gallery .project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-gallery .project-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.project-gallery .project-item:hover img {
    transform: scale(1.1);
}

.project-gallery .project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--secondary-color);
    transform: translateY(100%);
    transition: var(--transition);
}

.project-gallery .project-item:hover .project-info {
    transform: translateY(0);
}

.project-gallery .project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.project-gallery .project-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   SEÇÃO CLIENTES (DEPOIMENTOS)
   ======================================== */
.testimonials {
    background-color: var(--secondary-color);
}

.video-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 20px;
    background-color: var(--light-bg);
}

.video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.video-info p {
    font-size: 0.9rem;
    color: #666;
}

/* ========================================
   SEÇÃO CURSOS
   ======================================== */
.courses {
    background-color: var(--light-bg);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-category {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background-color: var(--accent-cyan);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-content {
    padding: 25px;
}

.course-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.course-content p {
    color: #666;
    margin-bottom: 15px;
}

.course-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #777;
}

.course-details span i {
    margin-right: 8px;
    color: var(--accent-green);
}

.course-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-cyan);
    color: var(--secondary-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.course-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 178, 203, 0.3);
}

.courses-cta {
    text-align: center;
    margin-top: 50px;
}

/* ========================================
   SEÇÃO CONTATO
   ======================================== */
.contact {
    background-color: var(--secondary-color);
}

.contact-info-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    margin-right: 15px;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
    line-height: 1.4;
}

.info-item a {
    color: var(--accent-cyan);
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-color);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-cyan);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ========================================
   RESPONSIVO - TABLET
   ======================================== */
@media (max-width: 1024px) {
    .project-gallery,
    .courses-grid,
    .video-testimonials {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   RESPONSIVO - MOBILE
   ======================================== */
@media (max-width: 768px) {
    header .container {
        padding: 15px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .centered-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--secondary-color);
        transition: var(--transition);
        z-index: 999;
    }
    
    .centered-nav.active {
        left: 0;
    }
    
    .centered-nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    
    .centered-nav ul li {
        margin: 15px 0;
    }
    
    .centered-nav ul li a {
        font-size: 1.2rem;
    }
    
    .hero {
        margin-top: 80px;
        height: auto;
        padding: 60px 0;
    }
    
    .hero-logo img {
        max-width: 200px;
    }
    
    .about-content,
    .contact-info-full {
        grid-template-columns: 1fr;
    }
    
    .project-gallery,
    .courses-grid,
    .video-testimonials {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 70px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* ========================================
   RESPONSIVO - CELULAR PEQUENO
   ======================================== */
@media (max-width: 480px) {
    .hero-logo img {
        max-width: 180px;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .social-links {
        margin-top: 20px;
    }
    
    .social-links a {
        margin: 0 8px;
    }
    
    .centered-nav ul li {
        margin: 10px 0;
    }
    
    .course-details {
        flex-direction: column;
        gap: 10px;
    }
}
