/* ==========================================================================
   Home — MEI Brasil Assessoria (depende dos tokens de site.css)
   Linguagem: superfícies em areia com contorno de 1px bem sutil e sem sombra, títulos de seção em Barlow Condensed
   (caixa alta, verde-floresta), links com chevron. Cada seção tem um formato próprio: grade (serviços), passos numerados, mosaico, card com fotos,
   carrossel (depoimentos e blog) e lista em cards (dúvidas).
   ========================================================================== */

.home-sec { padding: 64px 0; }
.home-sec.home-sec--colado-baixo { padding-top: 0; padding-bottom: 0; } /* card de largura quase total: o respiro vem das seções vizinhas */
.home-sec__titulo { margin-bottom: 28px; max-width: 18ch; }
@media (min-width: 1024px) {
    .home-sec { padding: 112px 0; }
    .home-sec__titulo { margin-bottom: 44px; max-width: 20ch; }
}
/* Primeira seção depois do topo: menos respiro, o topo já separa */
.home-sec--servicos { padding-top: 56px; }
@media (min-width: 1024px) {
    .home-sec--servicos { padding-top: 96px; }
}

/* Chevron dos links: desliza 3px quando o link (ou o card dele) recebe hover ou foco */
.home-chevron {
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-left: 2px;
    transition: transform .2s ease-out;
}


/* --------------------------------------------------------------------------
   Topo: card arredondado com a foto da produção.
   - Celular (até 599px): a foto ocupa a parte de cima do card, enquadrada no rosto da empreendedora;
     o texto fica embaixo, sobre o escurecimento que vira fundo sólido.
   - A partir de 600px: o enquadramento da produção (foto inteira, centralizada, card de 600px, sem zoom),
     com escurecimento uniforme (tablet) ou da esquerda para a direita (desktop).
   Escurecimento neutro (quase preto) para a foto manter as cores quentes.
   -------------------------------------------------------------------------- */
.home-hero { padding: 10px 10px 0; }
.home-hero__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 600px;
    border-radius: 20px;
    background: #0D1119;
    color: var(--branco);
}
.home-hero__foto {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    width: 100%;
    height: 360px;
    display: block;
    object-fit: cover;
    object-position: 86% 50%; /* rosto no centro da largura */
}
.home-hero__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    /* rosto quase sem escurecimento; a partir do título, fundo escuro e depois sólido */
    background: linear-gradient(180deg,
        rgba(13, 17, 25, .12) 0,
        rgba(13, 17, 25, .04) 110px,
        rgba(13, 17, 25, .5) 175px,
        rgba(13, 17, 25, .9) 235px,
        #0D1119 340px);
}

.home-hero__wrap { padding: 178px 20px 24px; }
.home-hero__texto { max-width: 600px; }

.home-hero__titulo {
    margin: 0;
    font-size: clamp(34px, 9.4vw, 38px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--branco);
}
/* "sem dor de cabeça" sempre na segunda linha, em verde-claro */
.home-hero__destaque {
    display: block;
    color: var(--verde-claro);
}

.home-hero__apoio {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .92);
    max-width: 34em;
}

.home-hero__botoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}
.home-hero__btn { width: 100%; min-height: 52px; font-size: 17px; }
/* Secundário mais leve: contorno fino translúcido, fundo escuro bem leve (só para leitura), peso menor */
.home-hero__btn--wa {
    border-width: 1px;
    border-color: rgba(255, 255, 255, .55);
    background: rgba(10, 15, 25, .3);
    color: var(--branco);
    font-weight: 600;
}
.home-hero__btn--wa svg { width: 19px; height: 19px; }
.home-hero__btn--wa:hover { color: var(--branco); border-color: var(--branco); background: rgba(255, 255, 255, .1); }
/* Topo é fundo escuro (foto escurecida): os dois botões seguem a regra do site, hover branco com texto floresta e toque verde-suave */
.home-hero__btn:hover, .home-hero__btn--wa:hover { background: var(--branco); border-color: var(--branco); color: var(--floresta); }
.home-hero__btn:active, .home-hero__btn--wa:active { background: var(--verde-suave); border-color: var(--verde-suave); color: var(--floresta); }
.home-hero__btn:focus-visible { outline-color: var(--branco); }

/* Linha de confiança: 3 itens com ícone (empilhados no celular, numa linha no desktop) */
.home-hero__provas {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0 0; /* celular: 3 itens no espaço que antes tinha 2, sem aumentar o card */
    padding: 0;
}
.home-hero__provas li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255, 255, 255, .94);
}
.home-hero__provas li > svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--verde-claro); }

/* Tablet: enquadramento da produção, botões lado a lado */
@media (min-width: 600px) {
    .home-hero { padding: 10px 20px 0; }
    .home-hero__card { justify-content: center; background: #1B1A18; }
    .home-hero__foto { height: 100%; object-position: 50% 50%; }
    .home-hero__card::after {
        background: linear-gradient(180deg,
            rgba(10, 15, 25, .68) 0%,
            rgba(10, 15, 25, .7) 40%,
            rgba(10, 15, 25, .72) 100%);
    }
    .home-hero__wrap { padding: 48px 40px; }
    .home-hero__titulo { font-size: 48px; }
    .home-hero__apoio { margin-top: 18px; font-size: 17px; }
    .home-hero__botoes { flex-direction: row; flex-wrap: wrap; margin-top: 26px; }
    .home-hero__btn { width: auto; padding: 0 28px; }
    .home-hero__provas { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
    .home-hero__provas li { gap: 8px; font-size: 15px; white-space: nowrap; }
    .home-hero__provas li > svg { width: 18px; height: 18px; }
}

/* Desktop: texto alinhado ao logo (container de 1200px), escurecimento forte à esquerda e quase nenhum sobre a pessoa */
@media (min-width: 900px) {
    .home-hero__card::after {
        background: linear-gradient(90deg,
            rgba(10, 15, 25, .82) 0%,
            rgba(10, 15, 25, .78) 36%,
            rgba(10, 15, 25, .7) 50%,
            rgba(10, 15, 25, .5) 60%,
            rgba(10, 15, 25, .14) 70%,
            rgba(10, 15, 25, .03) 82%);
    }
    .home-hero__wrap {
        width: 100%;
        max-width: calc(var(--container) + 2 * var(--margem));
        margin: 0 auto;
        padding: 48px var(--margem);
    }
    .home-hero__texto { max-width: 560px; }
    .home-hero__titulo { font-size: 54px; }
    /* Subtítulo em 2 linhas, uma frase em cada (a primeira frase mede ~30em) */
    .home-hero__apoio { font-size: 18px; margin-top: 22px; max-width: none; }
    .home-hero__apoio-fim { display: block; }
    .home-hero__botoes { margin-top: 32px; gap: 14px; }
    .home-hero__btn { padding: 0 30px; }
    .home-hero__provas { margin-top: 28px; gap: 10px 22px; }
    .home-hero__provas li { gap: 6px; }
}
@media (min-width: 1180px) {
    .home-hero__texto { max-width: 620px; }
    .home-hero__titulo { font-size: 64px; }
    .home-hero__apoio { font-size: 19px; max-width: 31em; }
    .home-hero__provas { flex-wrap: nowrap; width: max-content; }
}


/* --------------------------------------------------------------------------
   Serviços: grade sem buracos (1 / 2 / 3 colunas), todos os cards iguais. Card areia com contorno de 1px bem sutil
   (aparece sem hover e no celular); título no topo, ícone no canto, descrição curta, link com chevron e preço na mesma
   linha, alinhados na base. O link cobre o card inteiro (::after).
   Só serviços pagos (catálogo permanente; assuntos temporários, como o perdão, ficam no FAQ e no blog).
   - Desktop: Declaração, Parcelamento, Regularização | Abrir, Alterar, Cancelar | Nota Fiscal + card de ajuda em 2 colunas
     (texto à esquerda, botão à direita, na linha do link da Nota Fiscal).
   - Tablet: 4 linhas de 2, com a ajuda ao lado da Nota Fiscal (empilhada, botão na base).
   - Celular: 1 coluna, mesma ordem, a ajuda empilhada com o botão na base.
   -------------------------------------------------------------------------- */
.home-servicos {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}
@media (min-width: 640px) {
    .home-servicos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
    .home-servicos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.home-servico {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 23px; /* 24px menos o contorno */
    border: 1px solid var(--floresta-borda);
    border-radius: var(--raio-card);
    background: var(--areia);
    transition: background-color .2s ease-out, box-shadow .2s ease-out, transform .2s ease-out;
}
@media (min-width: 1024px) {
    .home-servico { padding: 27px; min-height: 248px; }
}
.home-servico__topo {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.home-servico__nome {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 0;
    padding-top: 4px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--floresta);
}
.home-servico__icone {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: var(--raio-icone);
    background: var(--areia-escura);
    color: var(--floresta);
    display: flex; align-items: center; justify-content: center;
    transition: background-color .2s ease-out;
}
.home-servico__icone svg { width: 26px; height: 26px; }
.home-servico__texto {
    flex-grow: 1;
    margin: 10px 0 0;
    max-width: 34ch;
    font-size: 16px;
    line-height: 1.5;
    color: var(--texto-suave);
}
/* Base do card: link à esquerda e preço à direita. Sem preço (MOSTRAR_PRECOS_HOME = False), fica só o link. */
.home-servico__rodape {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}
.home-servico__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--floresta);
    text-decoration: none;
}
.home-servico__link::after { content: ""; position: absolute; inset: -1px; border-radius: var(--raio-card); }
.home-servico__link:focus-visible { outline: none; }
.home-servico:has(.home-servico__link:focus-visible) { outline: 3px solid var(--foco); outline-offset: 3px; }
.home-servico__preco {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--texto-suave);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Etiqueta "Novo" ao lado do nome: pequena e discreta */
.home-servico__novo {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(37, 106, 70, .35); /* contorno em vez de fundo: aparece na areia e no card branco do hover */
    border-radius: var(--raio-pilula);
    color: var(--verde-escuro);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1;
}

/* Card de ajuda: fundo branco com contorno areia, botão verde compacto (não cobre o card) */
.home-servico--ajuda {
    /* Contorno de 1.5px = borda de 1px (a mesma dos vizinhos, com o mesmo padding) + 0.5px de sombra interna: o conteúdo e o
       botão ficam exatamente na linha dos cards vizinhos em qualquer densidade de tela */
    --contorno-ajuda: inset 0 0 0 .5px var(--areia-escura);
    background: var(--branco);
    border-color: var(--areia-escura);
    box-shadow: var(--contorno-ajuda);
}
.home-servico__ajuda-texto { flex-grow: 1; display: flex; flex-direction: column; }
.home-servico--ajuda .home-servico__texto { max-width: 30ch; }
.home-servico__ajuda-btn { min-height: 44px; padding: 0 20px; font-size: 16px; font-weight: 700; }
.home-servico__ajuda-btn svg { width: 18px; height: 18px; }
/* Celular e tablet: empilhado como os outros cards (título, texto e o botão na base, com 44px como o link dos vizinhos).
   Desktop: ocupa as 2 últimas colunas; o texto fica à esquerda (título na altura do nome da Nota Fiscal) e o botão à direita,
   na mesma linha do link da Nota Fiscal. */
@media (min-width: 1024px) {
    .home-servico--ajuda { grid-column: span 2; flex-direction: row; align-items: flex-end; gap: 32px; }
    .home-servico--ajuda .home-servico__ajuda-texto { align-self: stretch; }
    .home-servico--ajuda .home-servico__texto { max-width: 52ch; }
    .home-servico--ajuda .home-servico__rodape { flex-shrink: 0; }
}

/* Hover (aparelhos com mouse) e toque: o card fica branco, ganha sombra e sobe 3px; o chevron desliza.
   O card de ajuda não reage como um todo: só o botão dele. */
@media not ((hover: none) and (pointer: coarse)) {
    .home-servico:hover { background: var(--branco); box-shadow: var(--sombra-hover); transform: translateY(-3px); }
    .home-servico:hover .home-servico__icone { background: var(--areia); }
    .home-servico--ajuda:hover { box-shadow: var(--contorno-ajuda); transform: none; }
    .home-servico:hover .home-chevron { transform: translateX(3px); }
}
.home-servico:active { background: var(--branco); box-shadow: var(--sombra-hover); }
.home-servico--ajuda:active { box-shadow: var(--contorno-ajuda); }
.home-servico:has(.home-servico__link:focus-visible) .home-chevron { transform: translateX(3px); }

/* Link com chevron do FAQ ("Fale com um especialista") */
.home-faq-grid__ajuda a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-weight: 700;
    color: var(--floresta);
    text-decoration: none;
}
.home-faq-grid__ajuda a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.home-faq-grid__ajuda a:hover .home-chevron { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Simples assim: 3 passos numerados (é uma sequência), números na fonte display (48px no celular, 64px no desktop)
   -------------------------------------------------------------------------- */
.home-sec.home-sec--passos { padding-top: 0; } /* a seção de serviços, logo acima, já dá o respiro */
.home-passos { list-style: none; display: grid; gap: 0; counter-reset: passo; }
.home-passo {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 16px;
    margin: 0;
    padding: 24px 0;
    border-top: 1px solid var(--areia-borda);
}
.home-passo:last-child { border-bottom: 1px solid var(--areia-borda); }
.home-passo__num {
    grid-row: 1 / span 2;
    font-family: var(--fonte-display);
    font-size: 48px;
    font-weight: 800;
    line-height: .8;
    color: var(--floresta);
    font-variant-numeric: tabular-nums;
}
.home-passo__titulo { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--texto); }
.home-passo p { margin: 6px 0 0; font-size: 16px; line-height: 1.5; color: var(--texto-suave); }
@media (min-width: 900px) {
    .home-passos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
    .home-passo { display: block; padding: 24px 0 0; border-top: 1px solid var(--areia-borda); }
    .home-passo:last-child { border-bottom: 0; }
    .home-passo__num { display: block; font-size: 64px; margin-bottom: 20px; }
    .home-passo__titulo { font-size: 21px; max-width: 16em; }
    .home-passo p { font-size: 17px; }
}

/* --------------------------------------------------------------------------
   Mosaico "Feito pra quem não tem tempo a perder"
   Desktop (12 colunas): acompanhar pedido (alto, à esquerda) | WhatsApp (largo, só texto e ícone) / prazo | pagamento.
   Tablet: acompanhar e WhatsApp em linha inteira, prazo e pagamento lado a lado. Celular: coluna única.
   -------------------------------------------------------------------------- */
.home-bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.home-bento__card {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 27px 23px; /* 28/24px menos o contorno */
    border: 1px solid var(--floresta-borda);
    border-radius: var(--raio-card);
    background: var(--areia);
}
.home-bento__titulo {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--floresta);
}
.home-bento__card p { margin: 10px 0 0; max-width: 30em; font-size: 16px; line-height: 1.5; color: var(--texto-suave); }
.home-bento__link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--floresta);
    text-decoration: none;
}
.home-bento__link:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.home-bento__link:hover .home-chevron { transform: translateX(3px); }
.home-bento__link:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; border-radius: 6px; }

/* Acompanhar pedido: tela de acompanhamento desenhada em HTML/CSS dentro de uma moldura de celular, cortada pela base do card */
.home-bento__card--rastreio { padding-bottom: 0; display: flex; flex-direction: column; }
/* A moldura (.home-celular) e a tela (.home-app) ficam em site.css, porque o Acompanhar pedido também usa (partials/tela_acompanhar.html).
   Aqui ficam só as medidas do card do mosaico. */

/* WhatsApp: texto + conversa de exemplo (balões na identidade do site: cliente em floresta à direita, equipe em areia à esquerda).
   Sem foto nem nome de pessoas; o "avatar" é o símbolo do logo. */
.home-bento__card--whatsapp { display: flex; flex-direction: column; }
.home-chat {
    margin-top: 20px;
    padding: 12px 12px 14px;
    border: 1px solid var(--floresta-borda);
    border-radius: 20px;
    background: var(--branco);
}
.home-chat__topo {
    display: flex; align-items: center; gap: 10px;
    padding: 0 2px 12px;
    border-bottom: 1px solid var(--areia-borda);
}
.home-chat__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--branco); box-shadow: 0 0 0 1px var(--areia-borda); }
.home-bento__card .home-chat__topo p { margin: 0; font-size: 14px; line-height: 1.3; color: var(--texto-suave); }
.home-chat__topo strong { font-weight: 700; color: var(--floresta); }
.home-chat__online::before { /* bolinha de online */
    content: "";
    display: inline-block;
    width: 7px; height: 7px;
    margin: 0 5px 1px 0;
    border-radius: 50%;
    background: var(--verde-escuro);
}
.home-chat__msgs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.home-chat__msg {
    position: relative;
    max-width: 88%;
    margin: 0;
    padding: 7px 11px 6px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.4;
    text-wrap: balance;
}
.home-chat__msg--cliente { align-self: flex-end; border-bottom-right-radius: 5px; background: var(--floresta); color: var(--branco); }
.home-chat__msg--equipe { align-self: flex-start; border-bottom-left-radius: 5px; background: var(--areia); color: var(--texto); }
.home-chat__msg--cliente + .home-chat__msg--equipe,
.home-chat__msg--equipe + .home-chat__msg--cliente { margin-top: 4px; }
/* Hora em linha (sem float), para o text-wrap: balance do balão funcionar e não sobrar uma palavra sozinha */
.home-chat__hora { display: inline-block; margin-left: 8px; font-size: 11px; line-height: 1.2; vertical-align: -1px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-chat__msg--cliente .home-chat__hora { color: var(--sobre-escuro-suave); }
.home-chat__msg--equipe .home-chat__hora { color: var(--texto-suave); }
/* "digitando…": três pontos num balão pequeno no lugar da resposta (só durante a animação) */
.home-chat__pontos {
    display: none;
    position: absolute; left: 0; top: 0;
    gap: 4px; align-items: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 16px 16px 16px 5px;
    background: var(--areia);
}
.home-chat__pontos i { width: 6px; height: 6px; border-radius: 50%; background: var(--texto-suave); animation: home-digitando 1s ease-in-out infinite; }
.home-chat__pontos i:nth-child(2) { animation-delay: .15s; }
.home-chat__pontos i:nth-child(3) { animation-delay: .3s; }
@keyframes home-digitando {
    0%, 60%, 100% { transform: translateY(0); opacity: .45; }
    30% { transform: translateY(-3px); opacity: 1; }
}
/* Animação de entrada (site.js): os balões têm o espaço reservado desde o início (sem pulo de layout) e aparecem em sequência */
.home-chat.is-preparada .home-chat__msg { opacity: 0; transform: translateY(6px) scale(.98); transition: opacity .25s ease-out, transform .25s ease-out; }
.home-chat__msg--cliente { transform-origin: bottom right; }
.home-chat__msg--equipe { transform-origin: bottom left; }
.home-chat.is-preparada .home-chat__msg.is-digitando { opacity: 1; transform: none; background: transparent; }
.home-chat__msg.is-digitando > .home-chat__texto,
.home-chat__msg.is-digitando > .home-chat__hora { visibility: hidden; }
.home-chat__msg.is-digitando > .home-chat__pontos { display: flex; }
.home-chat.is-preparada .home-chat__msg.is-visivel { opacity: 1; transform: none; }

/* Prazo: o "2h" grande é o desenho do card */
.home-bento__card .home-bento__numero {
    margin: -4px 0 16px;
    font-family: var(--fonte-display);
    font-size: 104px;
    font-weight: 800;
    line-height: .8;
    color: var(--floresta);
}

/* Pagamento: formas de pagamento em pílulas brancas */
.home-bento__metodos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; }
.home-bento__metodos li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin: 0;
    padding: 0 14px;
    border-radius: var(--raio-pilula);
    background: var(--branco);
    font-size: 15px;
    font-weight: 600;
    color: var(--texto);
}
.home-bento__metodos img { width: 18px; height: 18px; object-fit: contain; }

@media (min-width: 640px) {
    .home-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .home-bento__card { padding: 31px; }
    .home-bento__card--rastreio,
    .home-bento__card--whatsapp { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 32px; }
    /* WhatsApp: texto à esquerda, conversa à direita (mesmo desenho do card do celular, espelhado no peso) */
    .home-chat { flex: 0 0 min(340px, 52%); margin-top: 0; }
    .home-bento__card--rastreio { align-items: flex-end; padding-bottom: 0; }
    .home-bento__card--rastreio .home-bento__texto { align-self: center; padding-bottom: 32px; }
    .home-bento__texto { flex: 1; }
    .home-celular { margin-top: 0; flex-shrink: 0; }
}
@media (min-width: 1024px) {
    .home-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
    .home-bento__card { padding: 35px; }
    .home-bento__titulo { font-size: 24px; }
    .home-bento__card--rastreio {
        grid-column: 1 / span 5;
        grid-row: 1 / span 2;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-bottom: 0;
    }
    .home-bento__card--rastreio .home-bento__texto { align-self: auto; flex: none; padding-bottom: 0; }
    .home-celular { margin-top: auto; padding-top: 9px; width: 280px; }
    .home-bento__card--rastreio .home-bento__texto + .home-celular { margin-top: 36px; }
    /* O card ocupa 2 linhas da grade: o celular cresce até a base do card e o botão da tela fica no rodapé dela */
    .home-celular { flex: 1 0 auto; display: flex; flex-direction: column; }
    .home-celular__tela { flex: 1; height: auto; min-height: 392px; display: flex; flex-direction: column; }
    .home-app__corpo { flex: 1; display: flex; flex-direction: column; padding-bottom: 28px; }
    .home-app__btn { margin-top: auto; }
    .home-app__etapas { margin-bottom: 18px; }
    .home-app__etapa { padding-bottom: 24px; }
    .home-chat { flex-basis: min(360px, 56%); }
    .home-bento__card--whatsapp { grid-column: 6 / -1; grid-row: 1; }
    .home-bento__card--prazo { grid-column: 6 / span 3; grid-row: 2; }
    .home-bento__card--pagamento { grid-column: 9 / -1; grid-row: 2; }
    .home-bento__card .home-bento__numero { font-size: 128px; }
}

/* --------------------------------------------------------------------------
   Personalidade: card areia grande com texto à esquerda e mosaico de fotos à direita.
   Celular: 4 fotos em grade 2x2 (a segunda coluna desce um pouco); desktop: 6 fotos em 3 colunas de alturas variadas.
   -------------------------------------------------------------------------- */
.home-brasil {
    margin: 0 10px;
    padding: 48px 0;
    border: 1px solid var(--floresta-borda);
    border-radius: var(--raio-card);
    background: var(--areia);
    overflow: hidden;
}
@media (min-width: 600px) {
    .home-brasil { margin: 0 20px; }
}
.home-brasil__wrap { display: grid; gap: 36px; }
.home-brasil__titulo { max-width: 14ch; }
.home-brasil__texto p { margin: 18px 0 0; max-width: 30em; font-size: 17px; line-height: 1.6; color: var(--texto-suave); }
.home-brasil__texto .mb-btn { margin-top: 28px; width: 100%; }
.home-brasil__fotos {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0 0 24px;
}
.home-brasil__foto { margin: 0; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 5; background: var(--areia-escura); }
.home-brasil__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-brasil__foto:nth-child(even) { transform: translateY(24px); }
.home-brasil__foto--5, .home-brasil__foto--6 { display: none; }
/* Enquadramento de cada foto no rosto */
.home-brasil__foto--1 img { object-position: 42% 40%; }
.home-brasil__foto--2 img { object-position: 45% 30%; }
.home-brasil__foto--3 img { object-position: 80% 50%; }
.home-brasil__foto--4 img { object-position: 78% 45%; }
.home-brasil__foto--5 img { object-position: 52% 40%; }
.home-brasil__foto--6 img { object-position: 82% 42%; }

@media (min-width: 640px) {
    .home-brasil__texto .mb-btn { width: auto; }
}
/* Tablet: as 6 fotos em 3 colunas, a do meio um pouco mais baixa */
@media (min-width: 640px) and (max-width: 1023px) {
    .home-brasil__fotos { grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 28px; }
    .home-brasil__foto:nth-child(even) { transform: none; }
    .home-brasil__foto:nth-child(3n+2) { transform: translateY(28px); }
    .home-brasil__foto--5, .home-brasil__foto--6 { display: block; }
}
@media (min-width: 1024px) {
    .home-brasil { padding: 88px 0; }
    .home-brasil__wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
    .home-brasil__texto p { font-size: 18px; }
    /* Mosaico em posições fixas: 3 colunas com alturas e alinhamentos diferentes */
    .home-brasil__fotos { display: block; position: relative; height: 560px; padding: 0; }
    .home-brasil__foto { position: absolute; aspect-ratio: auto; width: 31%; }
    .home-brasil__foto:nth-child(even) { transform: none; }
    .home-brasil__foto--5, .home-brasil__foto--6 { display: block; }
    .home-brasil__foto--1 { left: 0;     top: 72px;  height: 200px; }
    .home-brasil__foto--4 { left: 0;     top: 288px; height: 236px; }
    .home-brasil__foto--2 { left: 34.5%; top: 0;     height: 304px; }
    .home-brasil__foto--5 { left: 34.5%; top: 320px; height: 184px; }
    .home-brasil__foto--3 { left: 69%;   top: 40px;  height: 264px; }
    .home-brasil__foto--6 { left: 69%;   top: 320px; height: 212px; }
}

/* --------------------------------------------------------------------------
   Carrosséis (depoimentos e blog): rolagem nativa com scroll-snap; setas à esquerda, embaixo
   -------------------------------------------------------------------------- */
.home-trilha {
    list-style: none;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--margem);
    padding: 4px var(--margem) 16px;
    margin: 0 calc(-1 * var(--margem));
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}
.home-trilha::-webkit-scrollbar { display: none; }
.home-trilha > li { flex: 0 0 84%; scroll-snap-align: start; margin: 0; }
.home-setas { display: flex; gap: 8px; margin-top: 16px; }
.home-seta-btn {
    width: 48px; height: 48px;
    border-radius: 14px;
    border: 1px solid var(--areia-borda);
    background: var(--branco);
    color: var(--floresta);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background-color .15s ease-out, border-color .15s ease-out;
}
.home-seta-btn svg { width: 22px; height: 22px; }
.home-seta-btn:hover:not(:disabled) { background: var(--areia); border-color: var(--areia-escura); }
.home-seta-btn:active:not(:disabled) { background: var(--areia-escura); border-color: #CFC9BA; }
.home-seta-btn:disabled { opacity: .4; cursor: default; }
.home-seta-btn:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; }
@media (min-width: 640px) {
    .home-trilha > li { flex-basis: calc((100% - 16px) / 2); }
    .home-trilha { gap: 16px; }
}
@media (min-width: 1024px) {
    .home-trilha { gap: 24px; padding: 4px 0 16px; margin: 0; scroll-padding-left: 0; }
    .home-trilha > li { flex-basis: calc((100% - 48px) / 3); }
    .home-setas { margin-top: 24px; }
}

/* Depoimentos */
.home-dep__cab { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.home-dep__cab .home-sec__titulo { margin-bottom: 0; }
.home-dep__notas { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.home-dep__notas li { margin: 0; }
.home-dep__notas li > *,
.home-dep__notas li:not(:has(a)) {
    display: inline-flex; align-items: baseline; gap: 6px;
    min-height: 48px; padding: 12px 18px;
    border: 1px solid var(--areia-borda); border-radius: 16px;
    color: var(--texto-suave); font-size: 15px; text-decoration: none;
}
.home-dep__notas strong { font-size: 20px; color: var(--floresta); }
.home-dep__notas span { margin-left: 6px; }
@media (min-width: 1024px) {
    .home-dep__cab { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
}
.home-depoimento {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    height: 100%;
    margin: 0;
    padding: 28px;
    border: 1px solid var(--areia-borda);
    border-radius: var(--raio-card);
    background: var(--branco);
}
.home-depoimento blockquote p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--texto); }
.home-depoimento figcaption { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.35; color: var(--texto); }
.home-depoimento__avatar {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--floresta);
    color: var(--branco);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; letter-spacing: .02em;
}
.home-depoimento__meta { display: block; font-size: 14px; color: var(--texto-suave); }

/* Blog */
.home-blog__cab { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.home-blog__cab .home-sec__titulo { margin-bottom: 0; max-width: none; }
.home-blog__todos {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 48px;
    font-size: 16px;
    font-weight: 700;
    color: var(--floresta);
    text-decoration: none;
    white-space: nowrap;
}
.home-blog__todos:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.home-blog__todos:hover .home-chevron { transform: translateX(3px); }
@media (min-width: 1024px) {
    .home-blog__cab { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
    .home-blog__todos { align-self: auto; }
}
.home-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--floresta-borda);
    border-radius: var(--raio-card);
    background: var(--areia);
    color: inherit;
    text-decoration: none;
}
.home-post:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
.home-post__img { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--areia-escura); }
.home-post__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.home-post__corpo { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 22px; }
.home-post__titulo { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--floresta); }
.home-post__resumo { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--texto-suave); flex: 1; }
.home-post__mais { display: inline-flex; align-items: center; margin-top: 16px; font-size: 16px; font-weight: 700; color: var(--floresta); }
.home-post:hover .home-post__titulo { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.home-post:hover .home-chevron { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Dúvidas: título e ajuda à esquerda; perguntas em cards areia com "+" à direita (vira "−" aberta)
   -------------------------------------------------------------------------- */
.home-faq-grid { display: grid; gap: 8px; }
.home-faq-grid__cab .home-sec__titulo { margin-bottom: 8px; }
.home-faq-grid__ajuda { margin: 0 0 20px; font-size: 17px; line-height: 1.5; color: var(--texto-suave); }
@media (min-width: 1024px) {
    .home-faq-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
    .home-faq-grid__cab { position: sticky; top: calc(var(--altura-header) + 32px); }
    .home-faq-grid__cab .home-sec__titulo { margin-bottom: 16px; }
}
.home-faq { display: grid; gap: 8px; }
.home-faq__item { border: 1px solid var(--floresta-borda); border-radius: 20px; background: var(--areia); transition: background-color .15s ease-out; }
.home-faq__item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    min-height: 64px;
    padding: 20px 64px 20px 24px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--floresta);
    border-radius: 20px;
}
.home-faq__item summary::-webkit-details-marker { display: none; }
/* "+" desenhado com duas barras; aberto, a barra vertical some e fica "−" */
.home-faq__item summary::before,
.home-faq__item summary::after {
    content: "";
    position: absolute;
    right: 26px; top: 50%;
    width: 16px; height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    background: var(--floresta);
    transition: transform .2s ease-out;
}
.home-faq__item summary::after { transform: rotate(90deg); }
.home-faq__item[open] summary::after { transform: rotate(0deg); }
@media not ((hover: none) and (pointer: coarse)) {
    .home-faq__item:not([open]):hover { background: var(--areia-escura); }
}
.home-faq__item summary:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; }
.home-faq__item summary:active { background: var(--areia-escura); border-radius: 20px; }
.home-faq__resposta { padding: 0 24px 24px; }
.home-faq__resposta p { margin: 0; max-width: 64ch; font-size: 16px; line-height: 1.6; color: var(--texto-suave); }
.home-faq__resposta p + p { margin-top: 12px; }
.home-faq__resposta a { color: var(--floresta); font-weight: 700; text-underline-offset: 3px; }
/* Lista de preços ("Quanto custa cada serviço?"): uma linha por serviço, com marcador verde */
.home-faq__resposta ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.home-faq__resposta li { position: relative; margin: 0; padding-left: 18px; font-size: 16px; line-height: 1.5; color: var(--texto-suave); font-variant-numeric: tabular-nums; }
.home-faq__resposta li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--verde-escuro); }
@media (min-width: 1024px) {
    .home-faq__item summary { padding: 22px 72px 22px 28px; font-size: 18px; }
    .home-faq__item summary::before, .home-faq__item summary::after { right: 30px; }
    .home-faq__resposta { padding: 0 28px 26px; }
    .home-faq__resposta p, .home-faq__resposta li { font-size: 17px; }
}

/* Movimento reduzido: sem subida, sem deslize */
@media (prefers-reduced-motion: reduce) {
    .home-servico, .home-chevron, .home-faq__item summary::before, .home-faq__item summary::after { transition: none; }
    .home-servico:hover, .home-servico:active { transform: none !important; }
    .home-chevron { transform: none !important; }
    .home-trilha { scroll-behavior: auto; }
    /* Conversa do mosaico: já aparece pronta (a tela do pedido tem a regra em site.css) */
    .home-chat__pontos i { animation: none; }
}
