:root {
    --background-escuro: #181818;
}

.navbar {
    background-color: var(--background-escuro) !important;
}

.navbar .nav-link {
    color: white;
    text-decoration: none;
}

.navbar .nav-link:hover {
    color: #ffdc40; /* amarelo-hover opcional para hover */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    color: white;
    min-height: 100vh;
}

/*.header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    padding: 20px 5%;*/
/*    background: rgba(0, 0, 0, 0.3);*/
/*    backdrop-filter: blur(10px);*/
/*}*/

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #FFC107, #FF9800);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1a1a1a;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
}

.logo-text .price {
    color: white;
}

.logo-text .index {
    color: #FFC107;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav a:hover {
    color: #FFC107;
}

.container-cont {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    text-align: center;
    padding: 80px 0 60px;
}

.hero h1 {
    font-size: 22px;
    font-weight: bold;
    color: #FFC107;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.hero p.central-content {
    font-size: 22px;
    line-height: 1.6;
    color: #FFC107;
    max-width: 900px;
    margin: 20px auto;
    text-align: justify;
    letter-spacing: 1px;
}

/* Estilos para os itens de conteúdo */
.content-item {
    padding: 60px 0;
    position: relative;
}

/* Alternância de cores de fundo */
.content-item:nth-child(odd) {
    background: linear-gradient(to bottom, #1a1a1a 0%, #1a1a1a 25%, #FFC107 25%, #FFC107 100%);
}

.content-item:nth-child(even) {
    background: linear-gradient(to bottom, #FFC107 0%, #FFC107 25%, #1a1a1a 25%, #1a1a1a 100%);
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    padding: 0;
    min-height: 600px;
}

/* Conteúdo à direita (padrão - item ímpar) */
.content-item:nth-child(odd) .main-content {
    grid-template-areas: "phone content";
}

/* Conteúdo à esquerda (item par) */
.content-item:nth-child(even) .main-content {
    grid-template-areas: "content phone";
}

.phone-mockup {
    grid-area: phone;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    height: fit-content;
}

.content-section {
    grid-area: content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    min-height: 640px;
}

.phone-frame {
    width: 100%;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-screen {
    background: transparent;
    border-radius: 25px;
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 600px;
    width: 100%;
}

.ebook-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 25px;
    display: block;
}

/* Estilos de texto para seção escura */
.content-item:nth-child(odd) .content-section h2,
.content-item:nth-child(odd) .content-section .subtitle {
    color: white;
}

.content-item:nth-child(odd) .content-section p {
    color: #333;
}

.content-item:nth-child(odd) .quote {
    background: rgba(105, 104, 104, 0.3);
    border-left: 4px solid #333;
    color: #333;
}

.content-item:nth-child(odd) .author-info h3 {
    color: #333;
}

.content-item:nth-child(odd) .author-info p {
    color: #ccc;
}

.content-item:nth-child(odd) .download-btn {
    background: #1a1a1a;
    color: #FF9800;
}

.content-item:nth-child(odd) .download-btn:hover {
    background: #333;
    color: #FFB74D;
}

/* Estilos de texto para seção clara */
.content-item:nth-child(even) .content-section h2,
.content-item:nth-child(even) .content-section .subtitle {
    color: #333;
}

.content-item:nth-child(even) .content-section p {
    color: white;
}

.content-item:nth-child(even) .quote {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid white;
    color: white;
}

.content-item:nth-child(even) .author-info h3 {
    color: white;
}

.content-item:nth-child(even) .author-info p {
    color: #666;
}

.content-item:nth-child(even) .download-btn {
    background: #FFC107;
    color: #1a1a1a;
}

.content-item:nth-child(even) .download-btn:hover {
    background: #1c1c1c;
    color: #FFD700;
}

.content-section h2 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1;
    letter-spacing: 1px;
}

.content-section .subtitle {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 100;
}

.content-section p {
    font-size: 16px;
    line-height: 1.7;
    margin: 40px 0;
    text-align: justify;
}

.author-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.author-photo-img {
    width: 60px;
    height: 60px;
    /*border-radius: 50%;*/
    object-fit: cover;
    object-position: center;
}

.author-info h3 {
    font-size: 18px;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 14px;
    margin: 0;
}

.quote {
    padding: 20px;
    margin: 0 0 15px 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.download-section {
    text-align: center;
    padding: 20px 0;
}

.download-btn {
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: inline-block;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a1a1a, #333);
    width: 100%;
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .content-item:nth-child(odd) {
        background: linear-gradient(to bottom, #1a1a1a 0%, #1a1a1a 24%, #FFC107 24%, #FFC107 100%);
    }
    
    .content-item:nth-child(even) {
        linear-gradient(to bottom, #FFC107 0%, #FFC107 24%, #1a1a1a 24%, #1a1a1a 100%);
    }
    
    .content-section .subtitle {
        margin-bottom: 10px;
        font-size: 20px;
    }
    
    .content-section h2{
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "phone"
            "content" !important;
        gap: 40px;
        text-align: center;
    }
    
    .content-section {
        min-height: 500px;
    }
    
    .content-section p {
        margin: 15px 0 30px 0;
    }
    
    .content-item:nth-child(odd) .content-section h2, 
    .content-item:nth-child(odd) .content-section .subtitle {
        color: #333;
    }
    .content-item:nth-child(odd) .content-section h2{
        font-size: 30px;
    }
    
    .content-item:nth-child(even) .content-section h2, 
    .content-item:nth-child(even) .content-section .subtitle {
        color: white;
    }
    .content-item:nth-child(even) .content-section h2{
        font-size: 30px;
    }
    
    
    .nav {
        display: none;
    }

    .download-btn {
        padding: 15px 30px;
        font-size: 18px;
        letter-spacing: 1px;
        word-break: keep-all;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 90%;
        margin: 0 auto;
        display: inline-block;
    }

    .download-section {
        padding: 40px 20px;
    }

    .content-item {
        padding: 40px 0;
    }
    
    .hero {
        text-align: center;
        padding: 80px 20px 60px;
    }
}