/* 
* IFES Hackeado - Styles (Final)
* Palette:
* Azul Petróleo: #0E3A5D
* Azul Claro: #2D7FF9
* Dourado: #D4AF37
* Cinza Claro: #F5F7FA
* Preto: #111111
* Branco: #FFFFFF
*/

:root {
    --petroleo: #0E3A5D;
    --azul: #2D7FF9;
    --azul-hover: #1b65d4;
    --dourado: #D4AF37;
    --cinza: #F5F7FA;
    --preto: #111111;
    --branco: #FFFFFF;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--preto);
    background-color: var(--branco);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

a { text-decoration: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* UTIL CLASSES */
.bg-cinza { background-color: var(--cinza); }
.bg-petroleo { background-color: var(--petroleo); }
.text-white { color: var(--branco); }
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--petroleo);
}
.section-title.left { text-align: left; }
.section-title.text-white { color: var(--branco); }

/* HEADER */
header {
    background-color: var(--petroleo);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.logo strong {
    color: var(--branco);
    font-size: 1.5rem;
    font-family: 'Poppins', sans-serif;
}
.logo span {
    color: var(--dourado);
}

.btn-cta-small {
    background-color: var(--azul);
    color: var(--branco);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-cta-small:hover { background-color: var(--azul-hover); }

/* BUTTONS */
.btn-cta {
    display: inline-block;
    background-color: var(--azul);
    color: var(--branco);
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 20px 40px;
    border-radius: 12px;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(45, 127, 249, 0.4);
    transition: all 0.3s ease;
    text-align: center;
}
.btn-cta:hover {
    background-color: var(--azul-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(45, 127, 249, 0.5);
}
.w-100 { width: 100%; }

.pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(45, 127, 249, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(45, 127, 249, 0); }
    100% { box-shadow: 0 0 0 0 rgba(45, 127, 249, 0); }
}

/* HERO */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--petroleo) 0%, #1a4d7c 100%);
    color: var(--branco);
}
.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-text { flex: 1; }
.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.hero-text h1 span { color: var(--dourado); }
.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e0e6ed;
}

.benefits-list { margin-bottom: 40px; }
.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}
.social-proof-small {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
}
.stars { color: var(--dourado); font-size: 1.2rem; letter-spacing: 2px; }

.hero-image { flex: 1; display: flex; justify-content: center; }

/* IMAGES STYLING */
.hero-cover-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
.hero-cover-img:hover {
    transform: translateY(-5px);
}

.about-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border: 5px solid var(--branco);
    background-color: var(--cinza); /* In case of transparent PNG */
}

/* SECTIONS PADDING */
section { padding: 100px 0; }

/* GRIDS */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

/* PROBLEMA / CARDS */
.card {
    background: var(--branco);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
}
.card:hover { transform: translateY(-10px); }
.card .icon { font-size: 3rem; margin-bottom: 20px; }
.card h3 { font-size: 1.4rem; color: var(--petroleo); margin-bottom: 15px; }

/* METHOD */
.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}
.split-layout.reverse { flex-direction: row-reverse; }
.method-image { flex: 1; display: flex; justify-content: center; }
.method-text { flex: 1; }
.method-text p { font-size: 1.1rem; margin-bottom: 20px; color: #475569; }

/* ABOUT SECTION */
.about { background: var(--branco); }
.about-text { flex: 1; }
.about-image { flex: 1; display: flex; justify-content: center;}

/* MODULES PREMIUM */
.card-premium {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: 16px;
    color: var(--branco);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}
.card-premium:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--dourado);
}
.module-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
}
.card-premium h3 { color: var(--dourado); margin-bottom: 15px; font-size: 1.3rem; }

/* DELIVERABLES */
.deliverable-item {
    display: flex;
    gap: 20px;
    background: var(--branco);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.deliverable-item .check {
    background: var(--dourado);
    color: var(--branco);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: bold;
}
.deliverable-item h4 { font-size: 1.3rem; color: var(--petroleo); margin-bottom: 10px; }

/* OFFER */
.offer { background: var(--branco); }
.offer-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--branco);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid var(--azul);
    position: relative;
}
.offer-box h2 { font-size: 2rem; color: var(--petroleo); margin-bottom: 30px; }
.price-container { margin-bottom: 40px; }
.old-price { display: block; font-size: 1.2rem; color: #94a3b8; text-decoration: line-through; }
.price { display: block; font-size: 4rem; font-family: 'Poppins', sans-serif; font-weight: 800; color: var(--azul); line-height: 1.1; }
.a-vista { display: block; font-size: 1.1rem; color: var(--azul); font-weight: 700; text-transform: uppercase; margin-top: -5px; }
.or { display: block; margin: 15px 0; font-weight: 600; color: #94a3b8; }
.installments { display: block; font-size: 1.2rem; color: #475569; font-weight: 600; }
.secure-checkout { margin-top: 20px; font-size: 0.9rem; color: #64748b; font-weight: 500; }

.guarantee-box {
    max-width: 800px;
    margin: 60px auto 0;
    background: var(--cinza);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 30px;
}
.guarantee-box .seal { font-size: 4rem; }
.guarantee-box h3 { color: var(--petroleo); margin-bottom: 10px; font-size: 1.5rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--branco);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 30px;
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--petroleo);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer p { padding-bottom: 20px; color: #475569; }

/* FOOTER */
footer {
    background: var(--preto);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 40px 0;
}
.hashtags { margin-top: 15px; font-size: 0.9rem; color: var(--dourado); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-content { flex-direction: column; text-align: center; }
    .benefits-list li { justify-content: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .split-layout { flex-direction: column; }
    .split-layout.reverse { flex-direction: column; }
    .method-text { text-align: center; }
    .section-title.left { text-align: center; }
    .about-img { width: 250px; height: 250px; }
}
@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .guarantee-box { flex-direction: column; text-align: center; }
    .offer-box { padding: 30px 20px; }
    .price { font-size: 3rem; }
}
