/* =========================
   RESET E TIPOGRAFIA
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, sans-serif;
}

body {
    background-color: #f7f7f7;
    color: #333;
}

/* =========================
   CABEÇALHO
========================= */
header {
    width: 100%;
    background-color: #002f9e;
    color: #fff;
    position: absolute; /* ou fixed se quiser que fique sempre visível */
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    z-index: 20;
    flex-wrap: wrap;
}

header .logo {
    font-weight: bold;
    letter-spacing: 0.5px;
    display: flex;
}

.logo img{
    max-width: 40px;
    max-height: 40px;
    margin: 5px;
}
.logo p {
    margin: auto;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

header a {
    color: #fff;
    margin: 5px 10px;
    text-decoration: none;
    font-size: 14px;
}

header a:hover {
    text-decoration: underline;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    height: 80vh;
    min-height: 400px;
    width: 100%;
    background-image: url('/img/entregador.png'); /* SUBSTITUA O CAMINHO */
    background-size: cover;
    background-position: top center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(0, 47, 158, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        transparent 100%
    );
}

.hero-text {
    position: absolute;
    bottom: 40px;
    left: 50px;
    color: #fff;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
    margin: 0;
}

.hero-text p {
    font-size: 1.2rem;
    margin-top: 5px;
}

/* =========================
   BOTÕES PADRÃO
========================= */
.botao {
    display: inline-block;
    background-color: #0078ff;
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    cursor: pointer;
}

.botao:hover {
    background-color: #005fcc;
}

/* =========================
   SEÇÃO DE TEXTO COM IMAGEM
========================= */
.texto-imagem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 10%;
    flex-wrap: wrap;
}

.texto-imagem .texto {
    flex: 1;
    min-width: 280px;
}

.texto-imagem .texto h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #222;
}

.texto-imagem .texto p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.texto-imagem .imagem {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
}

.texto-imagem .imagem img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* =========================
   SEÇÃO DE TEXTO SIMPLES
========================= */
.texto-simples {
    padding: 4rem 10%;
    background-color: #f9f9f9;
    text-align: center;
}

.texto-simples .conteudo {
    max-width: 800px;
    margin: 0 auto;
}

.texto-simples h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 1.5rem;
}

.texto-simples p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* =========================
   CARROSSEL
========================= */
.carousel-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
}

.carousel-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.carousel {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.5s ease-in-out;
}

.slides {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.slide {
    flex: 0 0 100%; /* 1 slide por vez */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botões do Carrossel */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    border-radius: 5px;
    transition: background 0.3s;
}

.carousel-button:hover {
    background: rgba(0,0,0,0.8);
}

.prev { left: 0; }
.next { right: 0; }

/* =========================
   SEÇÃO DE ODS
========================= */
.section {
    text-align: center;
    padding: 4rem 10%;
    background-color: #f9f9f9;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #222;
    letter-spacing: 1px;
}

.ods-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.ods-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ods-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.ods-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: bottom center;
}

.ods-content {
    padding: 1.5rem;
}

.ods-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

/* Cores ODS */
.ods-card.red { border-top: 6px solid #d72a2a; }
.ods-card.orange { border-top: 6px solid #f44336; }
.ods-card.purple { border-top: 6px solid #8c1444; }

/* =========================
   VÍDEO
========================= */
.video-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f7f7f7;
}

.video-responsive {
    max-width: 800px;
    width: 100%;
    margin: 30px auto 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.video-responsive video,
.video-responsive iframe {
    width: 100%;
    border: none;
    display: block;
}

/* =========================
   ABAIXO-ASSINADO
========================= */
.assinatura {
    background-color: #f7f7f7;
    text-align: center;
    padding: 3rem 0;
}

.assinatura button {
    background-color: #0033cc;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.assinatura button:hover {
    background-color: #002699;
}

/* =========================
   RODAPÉ
========================= */
footer {
    background-color: #002f9e;
    color: #fff;
    padding-top: 40px;
    font-size: 0.95rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 30px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links a,
.footer-social i {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-social .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons img {
    max-width: 30px;
    max-height: 30px;
}

.footer-bottom {
    border-top: 1px solid #ffffff33;
    text-align: center;
    padding: 15px 10px;
    font-size: 0.85rem;
    color: #ddd;
}

/* =========================
   RESPONSIVIDADE
========================= */
@media (max-width: 768px) {
    /* HERO */
    .hero { height: 45vh; min-height: 350px; }
    .hero-text { bottom: 20px; left: 20px; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { font-size: 1rem; }

    /* CARROSSEL */
    .carousel { height: 300px; }
    .carousel-button { font-size: 1.2rem; padding: 10px 8px; }

    /* ODS */
    .ods-card { width: 100%; max-width: 400px; }
}

@media (min-width: 600px) {
    .ods-container { grid-template-columns: repeat(2, 1fr); }
    .hero-text h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
    .ods-container { grid-template-columns: repeat(3, 1fr); }
    .hero-text h1 { font-size: 4rem; }
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
        align-items: start;
    }
}
