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

body {
    font-family: Arial, sans-serif;
    background: #111;
    color: #fff;
    line-height: 1.6;
}

/* ======= MENU E TOPO ======= */
header {
    background: linear-gradient(135deg, #001f3f, #003366);
    padding: 30px;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

nav {
    background: #111;
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

nav a {
    color: #00bcd4;
    margin: 0 20px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #1de9b6;
}

/* ======= ESTRUTURA ======= */
section {
    padding: 40px 20px 60px 20px;
}

main {
    max-width: 1000px;
    margin: auto;
}

h1, h2 {
    text-align: center;
    margin-bottom: 20px;
}

h2 { color: #00bcd4; }

/* ======= IMAGENS ======= */
img {
    max-width: 100%;
    border-radius: 12px;
    margin: 15px auto;
    display: block;
}

/* ======= CARDS ======= */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    width: 300px;
    background: #222;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 15px #000;
}

.card img { width: 100%; }

.card h3 {
    text-align: center;
    padding: 10px;
}

.card a {
    display: block;
    background: #00bcd4;
    text-align: center;
    color: #000;
    padding: 10px;
    font-weight: bold;
    text-decoration: none;
}

.card a:hover {
    background: #1de9b6;
}

/* ======= CARROSSEL ======= */
/* ======= CARROSSEL CORRIGIDO ======= */
.carousel-container {
    max-width: 900px;
    margin: 30px auto;
    text-align: center;
}

.carousel {
    width: 100%;
    height: 330px;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
    margin: auto;
}

.slides {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    min-width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 15px;
}

/* Botões */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Bolinhas */
.dots {
    margin-top: 12px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #666;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #00bcd4;
    transform: scale(1.2);
}
   
/* ======= CX EXPLICAÇÃO ======= */
.video-explicacao {
    background: #112;
    padding: 20px;
    border-left: 5px solid #00bcd4;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 700px;
}

/* ======= FOOTER ======= */
footer {
    background: #001f3f;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

/* ======= RESPONSIVO ======= */
@media (max-width: 768px) {
    .carousel { height: 230px; }
    .slides img { height: 230px; }
}

@media (max-width: 480px) {
    .carousel { height: 180px; }
    .slides img { height: 180px; }
}
