/* CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Urbanist', sans-serif;
    color: #1e293b;
    background-color: #ffffff;
    line-height: 1.5;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: #043be8;
}

/* TOPO DO SITE (AZUL PETCONVIV) */
.topo-secao {
    background-color: #043be8;
    color: #ffffff;
    padding: 40px 40px 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-logo {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center; /* Logotipo perfeitamente centralizado */
    margin-bottom: 40px;
}

.header-logo .logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* CONTAINER GIGANTE LADO A LADO */
.player-container-lado-a-lado {
    display: grid;
    grid-template-columns: 1.4fr 1fr; /* Vídeo maior na esquerda, controles na direita */
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    align-items: center;
}

/* LADO DO VÍDEO (ESQUERDA) */
.lado-video {
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção de cinema */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

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

/* LADO DOS CONTROLES (DIREITA) */
.lado-controles {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 100%;
}

.textos-player {
    margin-bottom: 25px;
}

.textos-player h1 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    text-align: center;
}

/* Texto de apoio ajustado para branco (Legibilidade em fundo azul) */
.textos-player h2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    font-weight: 300;
    max-width: 400px;
    margin: 0 auto;
    font-family: 'Urbanist', sans-serif;
    text-align: center;
}

/* O CRONÔMETRO REDESENHADO */
#timer {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1;
}

/* BOTÕES ALINHADOS EM LINHA */
.controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 380px;
}

.controls button {
    flex: 1;
    border: none;
    padding: 14px 15px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#start {
    background-color: #ffffff;
    color: #043be8;
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

#start:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

#pause, #reset {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#pause:hover, #reset:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* SEÇÃO DE CONTEÚDO (FUNDO BRANCO) */
.conteudo-secao {
    padding: 80px 20px;
    background-color: #ffffff;
}

.container-central {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.bloco-texto {
    margin-bottom: 50px;
}

.bloco-texto h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.bloco-texto p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #475569;
}

.bloco-ciclos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 70px;
}

.card-passo {
    background-color: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    border-top: 4px solid #043be8;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.card-passo h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-passo p {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
}

/* SEÇÃO DO E-BOOK */
.secao-ebook {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 40px;
    align-items: center;
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 20px;
}

.ebook-imagem img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.ebook-texto h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.ebook-texto p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #475569;
}

.ebook-texto .titulo-ebook {
    font-weight: 600;
    color: #043be8;
    background: rgba(4, 59, 232, 0.04);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #043be8;
}

.ebook-texto .titulo-ebook span {
    font-weight: 400;
    font-size: 0.95rem;
    display: block;
    margin-top: 4px;
    color: #64748b;
}

.btn-ebook {
    display: inline-block;
    background-color: #043be8;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}

.btn-ebook:hover {
    background-color: #032cb0;
    transform: translateY(-2px);
}

.rodape {
    text-align: center;
    padding: 40px 20px;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 0.9rem;
}

/* RESPONSIVO PARA CELULAR */
@media (max-width: 992px) {
    .player-container-lado-a-lado {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 25px;
    }
    .topo-secao {
        padding: 30px 15px;
    }
    .header-logo {
        justify-content: center;
    }
    .bloco-ciclos, .secao-ebook {
        grid-template-columns: 1fr;
    }
    .secao-ebook {
        text-align: center;
    }
    .ebook-imagem {
        max-width: 180px;
        margin: 0 auto;
    }
    .ebook-texto .titulo-ebook {
        text-align: left;
    }
}
