/* ========================================== */
/* 0. O SEU SISTEMA DE TEMPLATES (:root)      */
/* ========================================== */
:root {
    --cor-fundo: #121212; 
    --cor-primaria: #ef4444; 
    --cor-texto: #e5e7eb;
    --cor-texto-mutado: #9ca3af;
    --font-corpo: system-ui, -apple-system, sans-serif; 
    --font-titulo: 'Besley', serif;
    --font-subtitulo: 'Fraunces', serif;
    --font-destaque: 'Anonymous Pro', monospace;
}

/* ========================================== */
/* 1. RESET E APLICAÇÃO DOS TEMPLATES         */
/* ========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    background-color: var(--cor-fundo); 
    color: var(--cor-texto); 
    overflow-x: hidden; 
    font-family: var(--font-corpo); 
}

h1, h2, h3, .will-hero-title, .will-section-title, .will-plan-name, .will-step-title {
    font-family: var(--font-titulo);
    font-weight: 500;
    letter-spacing: -0.5px;
}

.will-hero-desc, .will-steps-subtitle {
    font-family: var(--font-subtitulo);
    font-weight: 300;
}

.tag-destaque {
    font-family: var(--font-destaque);
    font-weight: 400;
    display: inline-block; 
    border: 1px solid var(--cor-primaria); 
    border-radius: 30px; 
    padding: 6px 20px; 
    font-size: 0.85rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 25px; 
    color: var(--cor-texto-mutado);
}

.will-container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; color: var(--cor-texto); }
.will-section-title { font-size: 2.8rem; margin-bottom: 50px; color: #ffffff; text-align: center; }

/* ========================================== */
/* 2. SEÇÃO PRINCIPAL (HERO)                  */
/* ========================================== */
.will-hero-logo { width: 130px; margin-bottom: 25px; }
.will-hero-section { display: flex; align-items: center; gap: 60px; }
.will-text-content { flex: 1; text-align: center; }
.will-hero-title { font-size: 3.8rem; line-height: 1.15; margin-bottom: 25px; color: #ffffff; }
.will-hero-desc { font-size: 1.2rem; line-height: 1.6; color: #9ca3af; margin-bottom: 20px; }
.will-image-wrapper { width: 100%; max-width: 450px; flex-shrink: 0; }
.will-image-wrapper img { width: 100%; height: auto; border-radius: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

/* ========================================== */
/* 3. BENEFÍCIOS (6 CARDS)                    */
/* ========================================== */
.will-benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.will-benefit-card { background-color: rgba(31, 41, 55, 0.4); padding: 30px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.will-benefit-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2); }
.will-benefit-icon { font-size: 2.5rem; margin-bottom: 20px; color: var(--cor-primaria); }
.will-benefit-card h3 { font-size: 1.6rem; margin-bottom: 15px; color: #ffffff; }
.will-benefit-card p { font-size: 1rem; line-height: 1.6; color: #9ca3af; }

/* ========================================== */
/* 4. PASSO A PASSO (OVERLAPPING ICONS)       */
/* ========================================== */
.will-steps-subtitle { text-align: center; color: #9ca3af; font-size: 1.2rem; margin-top: -30px; margin-bottom: 70px; max-width: 700px; margin-left: auto; margin-right: auto; }
.will-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; row-gap: 60px; }
.will-step-box { background-color: rgba(31, 41, 55, 0.4); padding: 50px 20px 30px 20px; border-radius: 20px; border-top: 4px solid var(--cor-primaria); border-left: 1px solid rgba(255, 255, 255, 0.05); border-right: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05); position: relative; overflow: visible; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.will-step-box:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(220, 38, 38, 0.15); border-color: rgba(239, 68, 68, 0.3); }
.will-step-circle { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 80px; height: 80px; background-color: var(--cor-fundo); border: 3px solid var(--cor-primaria); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 15px rgba(0,0,0,0.3); z-index: 10; }
.will-step-circle svg { width: 35px; height: 35px; stroke: var(--cor-primaria); }
.will-step-title { font-size: 1.4rem; margin-bottom: 15px; color: #ffffff; }
.will-step-desc { font-size: 0.95rem; line-height: 1.6; color: #d1d5db; }

/* ========================================== */
/* 5. PLANOS E PREÇOS                         */
/* ========================================== */
.will-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; justify-content: center; }
.will-pricing-card { background-color: rgba(31, 41, 55, 0.4); padding: 40px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, 0.05); display: flex; flex-direction: column; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.will-pricing-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(220, 38, 38, 0.3); border-color: var(--cor-primaria); }
.will-plan-name { font-size: 2rem; margin-bottom: 15px; color: #ffffff; }
.will-plan-price { font-size: 3rem; font-weight: 700; color: var(--cor-primaria); margin-bottom: 25px; font-family: var(--font-corpo); }
.will-plan-price span { font-size: 1.2rem; color: #9ca3af; font-weight: 600; }
.will-plan-features { list-style: none; padding: 0; margin-bottom: 40px; text-align: left; flex-grow: 1; }
.will-plan-features li { font-size: 1.05rem; color: #d1d5db; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-family: var(--font-corpo); }
.will-plan-features li:before { content: "✔️"; color: var(--cor-primaria); }
.will-btn-plan { display: inline-block; background-color: var(--cor-primaria); color: #ffffff; padding: 15px 35px; border-radius: 30px; font-weight: bold; font-size: 1.1rem; text-decoration: none; transition: background-color 0.3s ease; font-family: var(--font-corpo); }
.will-btn-plan:hover { background-color: #b91c1c; }

/* ========================================== */
/* 6. VÍDEOS NA PRÁTICA                       */
/* ========================================== */
.will-video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.will-video-wrapper { background-color: rgba(31, 41, 55, 0.4); border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.05); overflow: hidden; position: relative; padding-top: 177.78%; }
.will-video-wrapper video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter 0.3s ease; }
.will-video-wrapper:hover video { filter: grayscale(0%); }

/* ========================================== */
/* 7. FAQ E BOTÃO WHATSAPP                    */
/* ========================================== */
.will-faq-container { max-width: 900px; margin: 0 auto; padding: 60px 20px; color: var(--cor-texto); }
.will-faq-item { background-color: rgba(31, 41, 55, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; margin-bottom: 15px; transition: box-shadow 0.3s ease; }
.will-faq-item:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.3); border-color: rgba(239, 68, 68, 0.2); }
.will-faq-question { font-family: var(--font-titulo); font-weight: 500; padding: 20px 25px; font-size: 1.4rem; color: #ffffff; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.will-faq-question::-webkit-details-marker { display: none; }
.will-faq-answer { padding: 0 25px 25px 25px; font-size: 1rem; color: #9ca3af; line-height: 1.6; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 5px; padding-top: 20px; font-family: var(--font-corpo); }
.will-faq-icon { font-size: 1.5rem; color: var(--cor-primaria); transition: transform 0.3s ease; font-family: var(--font-corpo); }
details[open] .will-faq-icon { transform: rotate(45deg); }
.will-faq-btn-container { text-align: center; margin-top: 50px; }
.will-btn-back { display: inline-block; background-color: transparent; color: #ffffff; padding: 15px 40px; border-radius: 30px; border: 2px solid var(--cor-primaria); font-weight: bold; font-size: 1.1rem; text-decoration: none; transition: all 0.3s ease; font-family: var(--font-corpo); }
.will-btn-back:hover { background-color: var(--cor-primaria); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2); }

.whatsapp-flutuante { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 9999; transition: transform 0.3s ease; animation: pulse-whatsapp 2s infinite; }
.whatsapp-flutuante:hover { transform: scale(1.1); }
.whatsapp-flutuante svg { width: 35px; height: 35px; fill: currentColor; }
@keyframes pulse-whatsapp { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ========================================== */
/* RESPONSIVIDADE GLOBAL CELULAR              */
/* ========================================== */
@media (max-width: 900px) {
    .will-hero-section { flex-direction: column-reverse; text-align: center; gap: 30px; padding: 40px 20px; }
    .will-image-wrapper { max-width: 350px; }
    .will-hero-title { font-size: 2.5rem !important; }
    .will-hero-desc { font-size: 1rem !important; }
    .will-section-title { font-size: 2.2rem; }
}