/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #eee;
    background-color: #121212; /* Deep Dark Background */
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #1a1a1a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

.logo .highlight {
    color: #ff6b00;
}

.btn-small {
    background: transparent;
    border: 2px solid #ff6b00;
    color: #ff6b00;
    padding: 6px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-small:hover {
    background: #ff6b00;
    color: #fff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.hero-content {
    flex: 1;
    min-width: 300px; /* Garante que não fique muito estreito */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.9;
    max-width: 500px;
}

.btn-large {
    display: inline-block;
    background: #ff6b00;
    color: #fff;
    padding: 15px 35px; /* Aumentei um pouco a área de toque */
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}

.btn-large:hover {
    background: #e65100;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Pulse Animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Problem Section */
.problem {
    padding: 60px 0;
    text-align: center;
    background: #121212;
}

.problem h2 {
    color: #ff4d4d;
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1rem;
    color: #bbb;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Melhora o ajuste em telas médias */
    gap: 20px;
}

.card {
    background: #1e1e1e;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-top: 4px solid #333;
    text-align: left;
}

.card.danger {
    border-top-color: #ff4d4d;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #fff;
}
.card p {
    font-size: 0.95rem;
    color: #aaa;
}

/* Solution / Module Section */
.solution {
    padding: 60px 0;
    background: #1a1a1a;
}

.solution h2 {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
}
.solution-text > p {
    text-align: center;
    margin-bottom: 40px;
    color: #bbb;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Forces 4 columns on one line */
    gap: 20px;
    align-items: stretch;
}

/* Responsiveness for Modules */
@media (max-width: 1024px) {
    .module-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
    }
}

@media (max-width: 600px) {
    .module-grid {
        grid-template-columns: 1fr; /* 1 per row on mobile */
    }
}

.module-card {
    background: #252525;
    padding: 20px; /* Slightly reduced padding to fit 4 in a row */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-left: 4px solid #ff6b00;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.module-card:hover {
    transform: translateY(-5px);
}

.module-card i {
    font-size: 1.8rem;
    color: #ff6b00;
    margin-bottom: 15px;
    display: block;
}

.module-card h4 {
    margin-bottom: 10px;
    font-size: 1rem; /* Slightly smaller font to prevent bad breaking */
    color: #fff;
    line-height: 1.3;
}

.module-card p {
    font-size: 0.85rem; /* Compact text */
    color: #ccc;
    line-height: 1.5;
    flex-grow: 1;
}

/* Author Section */
.author {
    padding: 60px 0;
    background: #121212;
    border-top: 1px solid #333;
}

.author-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.author-img-wrapper {
    flex: 0 0 300px;
    height: 300px;
    position: relative;
    background: #252525;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #ff6b00;
}

.author-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.author-bio {
    flex: 1;
    min-width: 300px;
}

.author-bio h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    border-left: 5px solid #ff6b00;
    padding-left: 15px;
}

.author-bio p {
    font-size: 1rem;
    color: #bbb;
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: #1a1a1a;
}

.offer-box {
    max-width: 500px;
    margin: 0 auto;
    background: #252525;
    border: 2px solid #ff6b00;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.offer-box h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
}

.price {
    margin: 20px 0;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: #777;
    font-size: 1rem;
}

.new-price {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff6b00;
}

.security-note {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #666;
}

/* Footer */
footer {
    background: #000;
    color: #666;
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
}

/* =========================================
   RESPONSIVIDADE (MOBILE E TABLET)
   ========================================= */
@media (max-width: 768px) {
    /* Hero: Centraliza e empilha */
    .hero {
        text-align: center;
        padding: 40px 0;
    }
    
    .hero .container {
        flex-direction: column; /* Coloca um embaixo do outro */
        gap: 40px;
    }

    .hero h1 {
        font-size: 2rem; /* Fonte menor no celular */
    }

    .subtitle {
        margin: 0 auto 25px auto; /* Centraliza subtítulo */
    }

    /* Ajuste da imagem do Tiguan no mobile */
    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    /* Autor: Centraliza e empilha */
    .author-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .author-bio {
        min-width: 100%; /* Ocupa largura total */
    }

    .author-bio h3 {
        border-left: none; /* Remove barra lateral */
        border-bottom: 3px solid #ff6b00; /* Coloca barra embaixo */
        padding-bottom: 10px;
        padding-left: 0;
        display: inline-block;
        font-size: 1.8rem;
    }
    
    .author-img-wrapper {
        width: 250px; /* Foto um pouco menor no celular */
        height: 250px;
        flex: 0 0 auto;
    }

    /* Ajuste de fontes gerais */
    h2 { font-size: 1.8rem; }
    
    /* CTA Box */
    .offer-box {
        padding: 20px;
    }
    .new-price {
        font-size: 2rem;
    }
}

/* Telas muito pequenas (iPhone SE, etc) */
@media (max-width: 480px) {
    .btn-large {
        width: 100%; /* Botão ocupa largura total */
        padding: 15px 10px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .btn-small {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}
