/* RESET E CONFIGURAÇÃO GLOBAL */
* { box-sizing: border-box; }
html, body { 
    background-color: #FFFFFF !important; 
    margin: 0; padding: 0; 
    font-family: 'Montserrat', sans-serif;
    color: #333;
    overflow-x: hidden;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* AVISO TOPO */
.KB-AVISO-TOPO {
    background: #FFF5F7;
    border: 1px solid #770623;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #770623;
    text-align: center;
}

/* INTRO */
.SECAO-INTRO-GUIA { padding: 150px 20px 60px; text-align: center; background: #FFF; }
.TEXTO-SUBTITULO-GUIA { color: #d4af37; text-transform: uppercase; letter-spacing: 5px; font-size: 0.75rem; font-weight: 700; display: block; }
.TEXTO-TITULO-GUIA { font-family: 'Cinzel', serif; font-size: clamp(2rem, 5vw, 3.5rem); color: #1A0106; margin: 15px 0; }
.TEXTO-PARAGRAFO-GUIA { color: #666; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* CALCULADORA */
.GUIA-ISOLADO-CARD-CALC {
    background: #1A0106;
    color: #FFF;
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: clamp(20px, 5vw, 50px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.GUIA-ISOLADO-H3 { font-family: 'Cinzel', serif; margin-bottom: 30px; display: flex; align-items: center; gap: 10px; justify-content: center; }
.GUIA-ISOLADO-INPUTS-GRID { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: flex-end; }
.GUIA-ISOLADO-LABEL { font-size: 0.7rem; text-transform: uppercase; color: #d4af37; margin-bottom: 8px; display: block; }
.GUIA-ISOLADO-INPUT, .GUIA-ISOLADO-SELECT {
    width: 100%; padding: 12px; background: rgba(255,255,255,0.05); border: 1px solid #333; color: #FFF; outline: none;
}
.GUIA-ISOLADO-SELECT option { color: #000; }
.GUIA-ISOLADO-RESULTADO-BOX { background: #770623; padding: 20px; text-align: center; }
.GUIA-ISOLADO-H2 { font-family: 'Cinzel', serif; font-size: 1.8rem; margin: 5px 0 0; }

/* DETALHES (01 e 02) */
.GUIA-GRID-DETALHES { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 80px; }
.GUIA-CARD-INFO { padding: 50px 40px; border: 1px solid #F0F0F0; position: relative; background: #FFF; }
.GUIA-CARD-INFO h4, 
.GUIA-CARD-INFO p {
    position: relative;
    z-index: 2;
}
.GUIA-NUM {
    font-family: 'Cinzel', serif;
    font-size: 5rem; /* Aumentei um pouco para dar mais estilo */
    color: #EAEAEA !important; /* Um cinza que aparece suavemente no branco */
    position: absolute;
    top: -10px;
    right: 15px;
    z-index: 0; /* Fica atrás do texto */
    font-weight: 700;
    user-select: none; /* Impede que o usuário selecione o número por engano */
    opacity: 0.6; /* Deixa ele levemente transparente */
}

/* Garante que o conteúdo do card fique acima do número */
.GUIA-CARD-INFO h4, 
.GUIA-CARD-INFO p {
    position: relative;
    z-index: 2;
}

/* PASSO A PASSO (TIMELINE) */
.SECAO-PASSO-A-PASSO { margin: 100px auto; }
.GUIA-TEXTO-CENTRO { text-align: center; margin-bottom: 60px; }
.GUIA-TITULO-SEC-H2 { font-family: 'Cinzel', serif; color: #1A0106; font-size: 2rem; margin-bottom: 10px; }
.SUB-TEXTO { color: #666; font-size: 1rem; }

.GUIA-TIMELINE { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.TIMELINE-STEP { 
    background: #FFF; padding: 50px 25px 30px; text-align: center; border-radius: 8px;
    border-top: 5px solid #770623; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; position: relative;
}
.TIMELINE-STEP:hover { transform: translateY(-10px); }
.TIMELINE-STEP i { color: #d4af37 !important; margin-bottom: 20px; display: block; }
.TIMELINE-STEP h5 { font-family: 'Cinzel', serif; color: #1A0106 !important; margin-bottom: 15px; font-size: 1.1rem; }
.TIMELINE-STEP p { color: #555 !important; font-size: 0.9rem; line-height: 1.6; }

.PASSO-NUM {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    background: #770623; color: #FFF; width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: bold; border: 4px solid #FFF;
}

/* FAQ */
.GUIA-FAQ-SECTION { max-width: 800px; margin: 0 auto 100px; padding: 0 20px; }
.FAQ-ITEM { border-bottom: 1px solid #EEE; }
.FAQ-QUESTION {
    width: 100%; padding: 25px 0; background: none; border: none; display: flex; justify-content: space-between;
    font-family: 'Cinzel', serif; font-size: 1.1rem; cursor: pointer; color: #1A0106;
}
.FAQ-ANSWER { max-height: 0; overflow: hidden; transition: 0.4s ease; }
.FAQ-ANSWER p { padding-bottom: 25px; color: #666; line-height: 1.8; }
.FAQ-ITEM.active .FAQ-ANSWER { max-height: 300px; }
.FAQ-ITEM.active .FAQ-QUESTION i { transform: rotate(45deg); color: #770623; }

/* CTAs */
.CTA-DEGUSTACAO { background: #1A0106; padding: 80px 20px; text-align: center; color: #FFF; margin: 80px 0; }
.CTA-DEGUSTACAO h2 { font-family: 'Cinzel', serif; margin: 20px 0; font-size: 2rem; }
.BTN-DEGUSTACAO { display: inline-block; padding: 15px 40px; background: #770623; color: #FFF; text-decoration: none; font-weight: 600; margin-top: 20px; transition: 0.3s; }

.CTA-FINAL-ORCAMENTO { padding: 100px 20px; background: #FDFDFD; border-top: 1px solid #EEE; text-align: center; }
.CTA-BOX { max-width: 700px; margin: 0 auto; }
.CTA-BOX h2 { font-family: 'Cinzel', serif; font-size: 2.2rem; color: #1A0106; margin: 20px 0; }
.CTA-BUTTONS { display: flex; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.BTN-PRINCIPAL, .BTN-SECUNDARIO { padding: 15px 35px; text-decoration: none; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.BTN-PRINCIPAL { background: #770623; color: #FFF; }
.BTN-SECUNDARIO { border: 2px solid #770623; color: #770623; }
.BTN-PRINCIPAL:hover { background: #1A0106; transform: translateY(-3px); }
.BTN-SECUNDARIO:hover { background: #770623; color: #FFF; transform: translateY(-3px); }

/* MOBILE */
@media (max-width: 768px) {
    .SECAO-INTRO-GUIA { padding: 100px 20px 40px; }
    .GUIA-TIMELINE { gap: 50px; }
    .CTA-BUTTONS { flex-direction: column; }
    .CTA-BUTTONS a { width: 100%; }
}

#novo{
    color: #FFFFFF;
}

/* ============================================================
   DESIGN EDITORIAL DE REDES SOCIAIS
   ============================================================ */
.CONEXAO-EDITORIAL {
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.CONEXAO-WRAPPER {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.CONEXAO-HEADER {
    text-align: center;
    margin-bottom: 60px;
}

.CONEXAO-SUB {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #770623;
    font-weight: 600;
}

.CONEXAO-TITULO {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #1A0106;
    margin: 10px 0 20px;
}

.LINHA-DECORATIVA {
    width: 40px;
    height: 2px;
    background: #770623;
    margin: 0 auto;
}

/* O Grid de Links */
.CONEXAO-LINKS {
    width: 100%;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.LINK-MODERNO {
    display: flex;
    flex-direction: column;
    padding: 40px;
    text-decoration: none;
    border-right: 1px solid #eee;
    position: relative;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.LINK-MODERNO:last-child {
    border-right: none;
}

.LINK-LABEL {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
    transition: 0.3s;
}

.LINK-USER {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #1A0106;
}

.LINK-MODERNO i {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 18px;
    color: #770623;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.4s ease;
}

/* Efeito Hover */
.LINK-MODERNO:hover {
    background-color: #fdfafb;
}

.LINK-MODERNO:hover .LINK-LABEL {
    color: #770623;
    transform: translateX(5px);
}

.LINK-MODERNO:hover i {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================================
   RESPONSIVIDADE PERFEITA
   ============================================================ */
@media (max-width: 900px) {
    .CONEXAO-LINKS {
        grid-template-columns: 1fr; /* Vira lista no tablet/celular */
    }
    
    .LINK-MODERNO {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 30px 20px;
    }
    
    .LINK-MODERNO:last-child {
        border-bottom: none;
    }

    .CONEXAO-TITULO {
        font-size: 1.8rem;
    }
}

/* ============================================================
   AJUSTES UNIVERSAIS DE RESPONSIVIDADE (NÍVEL PRODUÇÃO)
   ============================================================ */

/* 1️⃣ Escala fluida global */
html {
    font-size: clamp(14px, 1.2vw, 16px);
}

/* 2️⃣ Evita estouro de layout em qualquer tela */
img, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

* {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 3️⃣ Botões e inputs realmente tocáveis no mobile */
button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
    touch-action: manipulation;
}

/* Remove zoom estranho do iOS */
input,
textarea,
select {
    font-size: 16px;
}

/* 4️⃣ Containers sempre respirando */
section {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
}

/* 5️⃣ Evita que grids quebrem em telas muito pequenas */
@media (max-width: 420px) {

    .GUIA-GRID-DETALHES,
    .GUIA-TIMELINE,
    .GUIA-ISOLADO-INPUTS-GRID {
        grid-template-columns: 1fr !important;
    }

    .TEXTO-TITULO-GUIA {
        font-size: 1.8rem;
    }

    .GUIA-TITULO-SEC-H2,
    .CTA-BOX h2 {
        font-size: 1.6rem;
    }

    .FAQ-QUESTION {
        font-size: 1rem;
        gap: 15px;
    }
}

/* 6️⃣ Ajuste fino para telas grandes (4K / ultrawide) */
@media (min-width: 1600px) {

    .container {
        max-width: 1400px;
    }

    .SECAO-INTRO-GUIA {
        padding-top: 180px;
    }
}

/* 7️⃣ Melhor leitura em telas médias */
@media (max-width: 1024px) {

    .SECAO-PASSO-A-PASSO {
        margin: 80px auto;
    }

    .GUIA-TEXTO-CENTRO {
        margin-bottom: 40px;
    }
}

/* 8️⃣ Acessibilidade visual mínima */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
