/* ======================== */
/* Estilos Globais e Base  */
/* ======================== */
:root {
    --primary-color: #ff6b6b; /* Vermelho-laranja para botões e detalhes */
    --secondary-color: #4a4a4a; /* Cinza escuro para texto principal */
    --background-color: #f7f7f7; /* Fundo claro */
    --card-background: #ffffff; /* Fundo dos cartões */
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--secondary-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================ */
/* Header e Navegação (Comum)  */
/* ============================ */
.header {
    background-color: #fefdfd;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
}

.logo {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--primary-color);
}

/* A seção da barra de pesquisa foi removida */

/* ============================ */
/* Seções da Página Inicial    */
/* ============================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 147, 255, 0.5), rgba(42, 108, 114)) no-repeat center center/cover;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-1 {
    background: linear-gradient(rgba(0, 147, 255, 0.5), rgba(42, 108, 114)), url('https://via.placeholder.com/1500x500.png?text=Fundo+1') no-repeat center center/cover;
}

.slide-2 {
    background: linear-gradient(rgba(0, 147, 255, 0.5), rgba(42, 108, 114)), url('https://via.placeholder.com/1500x500.png?text=Fundo+2') no-repeat center center/cover;
}

.slide-3 {
    background: linear-gradient(rgba(0, 147, 255, 0.5), rgba(42, 108, 114)), url('https://via.placeholder.com/1500x500.png?text=Fundo+3') no-repeat center center/cover;
}

.slide-4 {
    background: linear-gradient(rgba(0, 147, 255, 0.5), rgba(42, 108, 114)), url('https://via.placeholder.com/1500x500.png?text=Fundo+4') no-repeat center center/cover;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 40px;
}

.cta-button:hover {
    background-color: #e55a5a;
}
/* O restante do CSS permanece inalterado */
.testimonials-section, .gallery-section, .video-testimonial-section {
    padding: 4rem 0;
    text-align: center;
}

.testimonials-section h3,
.gallery-section h3,
.video-testimonial-section h3 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonials-section {
    background-color: #ffffff;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
}

.gallery-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item-container:hover {
    transform: scale(1.02);
}

.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.gallery-item-container:hover .gallery-item {
    filter: brightness(60%);
}

.add-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-icon {
    font-size: 3rem;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gallery-item-container:hover .add-icon {
    opacity: 1;
}

.comment-form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.comment-form .cta-button {
    margin-top: 1rem;
    padding: 10px 20px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.testimonial-card.new-comment-form-container {
    background-color: #fff;
    padding: 2rem;
}

.video-testimonial-section {
    background-color: var(--card-background); /* Ou var(--background-color) se preferir */
    padding: 5rem 0;
    text-align: center;
}

.video-testimonial-section h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.video-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    margin: 0 auto 3rem auto;
    max-width: 900px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 10px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-cta {
    margin-top: 2rem;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.course-details-section, .about-section, .contact-section, .blog-section {
    padding: 4rem 0;
}

.course-header {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
}

.course-banner {
    width: 60%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.course-info {
    flex-grow: 1;
}

.course-info h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.tagline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.price-and-buy {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.price-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.course-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.main-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.learning-list, .curriculum-list {
    list-style-position: inside;
    list-style-type: none;
    margin-bottom: 2rem;
}

.learning-list li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.curriculum-list li::before {
    content: "●";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.sidebar-content {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.instructor-bio {
    text-align: center;
}

.instructor-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.about-title, .contact-title, .blog-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-image {
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-description, .blog-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-post-card {
    background-color: var(--card-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
}

.blog-post-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-post-card .card-content {
    padding: 1.5rem;
}

.blog-post-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.blog-post-card p {
    color: #555;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.footer {
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 2.5rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-info {
    font-size: 0.9rem;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .nav-list {
        gap: 1rem;
    }
    
    .logo {
        margin-bottom: 0.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }

    .testimonials-section h3,
    .gallery-section h3,
    .blog-title,
    .video-testimonial-section h3 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .video-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .video-cta {
        padding: 12px 25px;
        font-size: 1rem;
    }
}