/* =========================================================================
   MovCode — home conceitual: tudo cresce com o scroll.
   Sem JavaScript (ou com movimento reduzido) cada secao tem um layout
   estatico completo. O script liga html.anima e os layouts animados.
   Contraste: laranja como texto so sobre noite (6:1); sobre papel use
   --laranja-texto; sobre laranja todo texto e --noite (6:1).
   ========================================================================= */

body.home { background: var(--noite); color: var(--sobre-noite); }
/* O Lenis controla a rolagem; o scroll suave nativo brigaria com ele */
html.anima { scroll-behavior: auto; }
html.anima .home .whats-flutuante { transform: scale(0); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
html.anima .home.mostrar-whats .whats-flutuante { transform: scale(1); }
.home ::selection { background: var(--laranja); color: var(--laranja-tinta-txt); }
.home [data-magnetico] { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }

/* Titulos gigantes: largura condensada da Bricolage (eixo wdth) */
.gigante {
    font-family: var(--f-display);
    font-weight: 800;
    font-stretch: 80%;
    line-height: 0.9;
    letter-spacing: -0.035em;
    text-wrap: balance;
}
/* Palavras e letras separadas pelo script para a entrada suave */
.m { display: inline-block; vertical-align: bottom; }
.p, .l { display: inline-block; will-change: transform; }

/* ---------- Abertura (intro) ---------- */
.intro { display: none; }
html.intro-ativa .intro {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    background: var(--noite);
    /* Rede de seguranca: se o script falhar, a intro some sozinha */
    animation: intro-some 0s 4s forwards;
}
@keyframes intro-some { to { visibility: hidden; opacity: 0; } }
.intro .duo { --w: clamp(72px, 9vw, 120px); }

/* Titulo do hero escondido ate o script assumir (com rede de seguranca) */
html.anima-pre .h-titulo .p { opacity: 0; animation: titulo-aparece 0s 3s forwards; }
@keyframes titulo-aparece { to { opacity: 1; } }

/* ---------- Cursor ---------- */
.cursor, .cursor-anel { display: none; }
@media (pointer: fine) {
    html.anima .cursor, html.anima .cursor-anel {
        display: grid;
        place-items: center;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 250;
        pointer-events: none;
        border-radius: 50%;
        opacity: 0;
    }
    html.anima .cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--laranja); }
    html.anima .cursor-anel {
        width: 44px;
        height: 44px;
        margin: -22px 0 0 -22px;
        border: 1.5px solid color-mix(in srgb, var(--laranja) 70%, transparent);
        font: 600 11px var(--f-mono);
        letter-spacing: .04em;
        text-transform: uppercase;
        color: var(--laranja-tinta-txt);
        transition: width .3s ease, height .3s ease, margin .3s ease, background-color .3s ease, border-color .3s ease;
    }
    html.anima .cursor-anel.ativo { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--laranja); border-color: var(--laranja); }
    html.anima .cursor-anel span { opacity: 0; transition: opacity .2s ease; }
    html.anima .cursor-anel.ativo span { opacity: 1; }
    html.anima .cursor-anel.ativo.sobre-laranja { background: var(--noite); border-color: var(--noite); color: var(--sobre-noite); }
}

/* ---------- Hero ---------- */
.h-hero {
    position: relative;
    isolation: isolate;
    min-height: 100svh;
    display: grid;
    align-content: center;
    /* espacos e titulo acompanham a altura da tela: o topo inteiro (titulo e
       base com o botao) cabe na primeira dobra, ate em notebook de tela baixa */
    padding: clamp(86px, 13svh, 130px) 0 clamp(110px, 18svh, 170px);
    overflow: hidden;
}
.h-titulo { font-size: clamp(46px, min(11vw, calc((100svh - 220px) / 2.85)), 190px); text-align: center; line-height: 0.88; padding-inline: 12px; }
.h-titulo .linha { display: block; }
.h-titulo .tamanho { color: var(--laranja); }
/* cada letra de "tamanho" e maior que a anterior */
.h-titulo .tamanho .l { font-size: calc(var(--s) * 1em); }
/* "oooo" que crescem e saem pela borda: largura zero, nao empurram o titulo */
.h-titulo .tamanho { position: relative; }
.h-titulo .alem { display: inline-block; width: 0; margin-block: -2em; white-space: nowrap; text-align: left; }
.h-hero-base { position: absolute; left: 0; right: 0; bottom: clamp(20px, 4vh, 40px); }
.h-hero-base .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.h-hero-base p { max-width: 320px; color: var(--sobre-noite-2); font-size: 16px; line-height: 1.5; }
/* Uma frase por linha: quebra sempre no ponto final */
.h-hero-base p span { display: block; white-space: nowrap; }
.h-rolar { display: grid; justify-items: center; gap: 10px; font: 500 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--sobre-noite-2); text-decoration: none; }
.h-rolar .duo { --w: 20px; }
@media (prefers-reduced-motion: no-preference) {
    .h-rolar .duo { animation: pulo 1.8s ease-in-out infinite; }
    @keyframes pulo { 50% { transform: translateY(6px); } }
}
.h-hero-base .btn { min-height: 56px; padding-inline: 28px; }
/* Sem animacao o WhatsApp flutuante aparece desde o inicio: abre espaco para ele */
html:not(.anima) .h-hero-base .wrap { padding-right: 96px; }

/* ---------- A escala: o simbolo cresce com o scroll ---------- */
.h-escala { background: var(--noite); position: relative; }
.h-escala-palco {
    max-width: calc(var(--largura) + var(--margem) * 2);
    margin: 0 auto;
    padding: var(--secao) var(--margem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: end;
}
.h-escala-duo, .h-escala-fundo, .h-escala-progresso { display: none; }
.h-cap { display: grid; gap: 12px; justify-items: start; align-content: end; }
.h-cap .duo { margin-bottom: 12px; }
.h-cap.c1 .duo { --w: 48px; }
.h-cap.c2 .duo { --w: 76px; }
.h-cap.c3 .duo { --w: 112px; }
.h-cap-num { font: 500 13px var(--f-mono); letter-spacing: .06em; color: var(--laranja); }
.h-cap-nome { font-size: clamp(44px, 6vw, 88px); }
.h-cap-linha { font: 700 clamp(20px, 1.8vw, 26px)/1.25 var(--f-display); letter-spacing: -0.01em; max-width: 360px; text-wrap: balance; }

html.anima .h-escala-palco { display: block; max-width: none; height: 100svh; padding: 0; position: relative; overflow: hidden; }
html.anima .h-escala-duo { display: block; position: absolute; left: 50%; top: 50%; z-index: 2; }
html.anima .h-escala-duo .duo { --w: clamp(88px, 11vw, 160px); }
html.anima .h-cap { position: absolute; inset: 0; display: block; }
html.anima .h-cap .duo { display: none; }
html.anima .h-cap-nome {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    font-size: clamp(72px, 21vw, 360px);
    font-stretch: 75%;
    white-space: nowrap;
    /* Preenchido (sem text-stroke: em fonte variavel o contorno desenha
       as sobreposicoes internas dos glifos). Fica na frente do simbolo. */
    color: var(--sobre-noite);
}
.h-cap-nome-i { display: block; }
html.anima .h-cap-num { position: absolute; left: var(--borda); top: 112px; }
/* Frase de cada capitulo: centralizada e sempre em uma linha so. A fonte
   encolhe para caber na largura do celular sem quebrar. */
html.anima .h-cap-linha {
    position: absolute;
    left: var(--margem);
    right: var(--margem);
    bottom: clamp(48px, 10svh, 96px);
    max-width: none;
    text-align: center;
    white-space: nowrap;
    font-size: min(clamp(20px, 1.8vw, 26px), calc((100vw - var(--margem) * 2) / 16.5));
}
html.anima .h-escala-fundo { display: grid; place-items: center; position: absolute; inset: 0; z-index: 5; background: var(--laranja); clip-path: circle(0% at 50% 50%); }
.h-escala-final { max-width: 12ch; padding: 0 24px; text-align: center; color: var(--noite); font-size: clamp(56px, 10vw, 170px); line-height: 0.88; }
html.anima .h-escala-progresso {
    display: block;
    position: absolute;
    right: var(--borda);
    top: 118px;
    width: 120px;
    height: 3px;
    border-radius: 3px;
    background: var(--noite-linha);
    overflow: hidden;
}
.h-escala-progresso i { display: block; height: 100%; background: var(--laranja); transform-origin: left; transform: scaleX(0); }

/* ---------- Faixa gigante ---------- */
.h-faixa { background: var(--laranja); color: var(--noite); padding: clamp(36px, 6vw, 80px) 0; overflow: hidden; }
.h-faixa-linha {
    display: flex;
    width: max-content;
    white-space: nowrap;
    font-family: var(--f-display);
    font-weight: 800;
    font-stretch: 78%;
    font-size: clamp(56px, 11vw, 180px);
    line-height: 1;
    letter-spacing: -0.035em;
}
.h-faixa-linha + .h-faixa-linha { margin-top: 0.08em; }
.h-faixa-linha .item { display: inline-flex; align-items: center; gap: 0.28em; padding-right: 0.28em; }
.h-faixa-linha .duo { --w: 0.42em; --cor: var(--noite); }
.h-faixa-linha.contorno { color: var(--noite); }

/* ---------- Conversa ---------- */
.h-conversa { background: var(--papel); color: var(--tinta); padding: var(--secao) 0; }
.h-conversa .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.h-grande { font-size: clamp(46px, 6.6vw, 108px); }
.h-grande em {
    font-style: normal;
    color: var(--noite);
    background: linear-gradient(var(--laranja), var(--laranja)) 0 88% / 100% 62% no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding: 0 0.06em;
}
.escuro .h-grande em { color: var(--laranja); background: none; padding: 0; }
.chat { position: relative; display: grid; gap: 12px; width: 100%; max-width: 540px; justify-self: end; }
.bolha {
    justify-self: start;
    max-width: 88%;
    padding: 14px 18px;
    border-radius: 22px 22px 22px 6px;
    background: var(--cartao);
    border: 1px solid var(--linha);
    box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.35);
    font-size: 18px;
    line-height: 1.4;
}
.bolha small { display: block; margin-top: 4px; font: 500 11px var(--f-mono); color: var(--tinta-3); }
.bolha.nossa { justify-self: end; background: var(--noite); border-color: var(--noite); color: var(--sobre-noite); border-radius: 22px 22px 6px 22px; font-weight: 700; }
.bolha.nossa small { color: var(--sobre-noite-2); }
.digitando {
    position: absolute;
    left: 0;
    display: none;
    gap: 5px;
    padding: 16px 18px;
    border-radius: 22px 22px 22px 6px;
    background: var(--cartao);
    border: 1px solid var(--linha);
}
.digitando.nossa { left: auto; right: 0; background: var(--noite); border-color: var(--noite); border-radius: 22px 22px 6px 22px; }
.digitando i { width: 7px; height: 7px; border-radius: 50%; background: var(--tinta-3); animation: pontinho 1s ease-in-out infinite; }
.digitando.nossa i { background: var(--sobre-noite-2); }
.digitando i:nth-child(2) { animation-delay: .15s; }
.digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes pontinho { 50% { transform: translateY(-4px); opacity: .5; } }

/* ---------- Servicos (rolagem lateral no desktop) ---------- */
.h-servicos { background: var(--noite); padding: var(--secao) 0; overflow: hidden; }
.h-servicos-trilho {
    max-width: calc(var(--largura) + var(--margem) * 2);
    margin: 0 auto;
    padding: 0 var(--margem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.h-servicos-intro { grid-column: 1 / -1; display: grid; gap: 20px; margin-bottom: 24px; }
.h-servicos-intro p { color: var(--sobre-noite-2); font-size: 19px; max-width: 420px; }
.h-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 320px;
    padding: 32px;
    border-radius: var(--r-xl);
    background: var(--noite-2);
    border: 1px solid var(--noite-linha);
    transition: background-color .35s ease, color .35s ease;
}
.h-card-topo { display: flex; justify-content: space-between; align-items: center; }
.h-card-num { font: 500 13px var(--f-mono); color: var(--sobre-noite-2); transition: color .35s ease; }
.h-card-icone { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--noite); color: var(--laranja); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.h-card-icone svg { width: 28px; height: 28px; }
.h-card h3 { margin-top: auto; font: 800 clamp(30px, 2.8vw, 44px)/0.95 var(--f-display); font-stretch: 85%; letter-spacing: -0.03em; }
.h-card p { color: var(--sobre-noite-2); transition: color .35s ease; }
/* Texto curvo atravessando o card (onda ou diagonal, alternados) */
.h-card { position: relative; overflow: hidden; }
.h-card > :not(.h-card-curva) { position: relative; z-index: 1; }
.h-card-curva { position: absolute; left: -12px; right: -12px; top: 72px; height: 220px; z-index: 0; pointer-events: none; }
.h-card-curva svg { width: 100%; height: 100%; overflow: visible; }
.h-card-curva text {
    font: 800 44px var(--f-display);
    font-stretch: 78%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    fill: #2C2F35;
    transition: fill .35s ease;
}
/* So com mouse: no toque o hover "gruda" e o card ficava laranja */
@media (hover: hover) and (pointer: fine) {
    .h-card:hover .h-card-curva text { fill: var(--noite); }
    .h-card:hover { background: var(--laranja); color: var(--noite); }
    .h-card:hover p, .h-card:hover .h-card-num { color: var(--noite); }
    .h-card:hover .h-card-icone { transform: rotate(-12deg) scale(1.08); }
}
@media (min-width: 821px) {
    html.anima .h-servicos { padding: 0; }
    html.anima .h-servicos-pin { height: 100svh; display: flex; align-items: center; overflow: hidden; }
    html.anima .h-servicos-trilho { display: flex; width: max-content; max-width: none; margin: 0; gap: 20px; padding: 0 var(--borda); align-items: stretch; }
    html.anima .h-servicos-intro { flex: 0 0 min(560px, 42vw); margin: 0 4vw 0 0; align-content: center; }
    html.anima .h-card { flex: 0 0 clamp(300px, 27vw, 420px); min-height: min(64svh, 540px); }
}

/* ---------- Como funciona ---------- */
.h-processo { background: var(--papel); color: var(--tinta); padding: var(--secao) 0; }
.h-processo .h-grande { max-width: 11ch; margin-bottom: clamp(48px, 7vw, 96px); }
.h-passos-caixa { position: relative; }
.h-passos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; padding-top: 48px; }
.h-passos::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--linha); }
.h-passos-linha { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--laranja); transform-origin: left; }
.h-passo { position: relative; display: grid; gap: 10px; align-content: start; }
.h-passo::before { content: ""; position: absolute; top: -55px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--laranja); border: 4px solid var(--papel); }
.h-passo-num { font: 800 clamp(56px, 6vw, 96px)/0.9 var(--f-display); font-stretch: 80%; letter-spacing: -0.04em; }
.h-passo h3 { font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.h-passo h3 small { font: 700 12px var(--f-texto); color: var(--laranja-tinta-txt); background: var(--laranja); padding: 3px 10px; border-radius: var(--r-pill); }
.h-passo p { color: var(--tinta-2); font-size: 16px; }

/* ---------- Caso ---------- */
.h-caso { background: var(--noite); padding: var(--secao) 0; overflow: hidden; }
.h-caso-titulo { font-size: clamp(64px, 17.5vw, 290px); font-stretch: 75%; line-height: 0.8; letter-spacing: -0.05em; text-align: center; margin-bottom: clamp(32px, 5vw, 64px); }
.h-produtos-sub { max-width: 520px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; color: var(--sobre-noite-2); font-size: clamp(17px, 1.5vw, 20px); text-wrap: balance; }
/* Cada produto com a identidade do proprio site: cores, fonte, marca e botoes.
   As cores de cada marca ficam nas variaveis --p-* (veja .h-marca-* abaixo). */
.h-produtos-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.h-produto {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: clamp(22px, 2.6vw, 32px);
    min-height: clamp(440px, 42vw, 580px);
    padding: clamp(24px, 3.2vw, 44px);
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--p-fundo);
    color: var(--p-texto);
}
.h-produto-topo, .h-breve-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.h-produto-marca { display: inline-flex; align-items: center; gap: 12px; font-family: var(--p-fonte); color: var(--p-texto); white-space: nowrap; }
.h-produto-marca img, .h-produto-marca .h-marca-icone { flex: none; }
.h-produto-frase { align-self: end; max-width: 15ch; font-family: var(--p-fonte-frase, var(--p-fonte)); text-wrap: balance; }
.h-produto-frase em { font-style: normal; }
.h-produto-corpo { display: grid; gap: 10px; max-width: 46ch; }
.h-produto-para { font: 600 15px var(--f-texto); color: var(--p-acento); }
.h-produto-corpo p { color: var(--p-texto-2); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.h-produto-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.h-produto .btn-acao { background: var(--p-botao); color: var(--p-botao-txt); box-shadow: var(--p-botao-sombra, none); }
.h-produto .btn-acao:hover { background: var(--p-botao-hover); }
.h-produto-site { border-color: var(--p-linha); background: transparent; color: var(--p-texto); }
.h-produto-site:hover { border-color: var(--p-texto); }
.h-produto-site span { transition: transform 0.3s ease; }
.h-produto-site:hover span { transform: translate(2px, -2px); }
.h-produto-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: var(--p-status-fundo);
    color: var(--p-status-txt);
    font: 600 13px var(--f-texto);
    font-style: normal;
    white-space: nowrap;
}
.h-produto-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); }
.h-produto :focus-visible, .h-breve-card :focus-visible { outline-color: var(--p-foco); }

/* ForLabs: bancada de laboratorio, papel milimetrado claro e o azul do sistema (Inter) */
.h-marca-forlabs {
    --p-fundo: #F6F8FB;
    --p-texto: #0B1530;
    --p-texto-2: #4B5568;
    --p-acento: #176BD0;
    --p-botao: #176BD0;
    --p-botao-txt: #FFFFFF;
    --p-botao-hover: #1460BB;
    --p-linha: rgba(11, 21, 48, 0.16);
    --p-status-fundo: rgba(16, 185, 129, 0.12);
    --p-status-txt: #047857;
    --p-foco: #176BD0;
    --p-fonte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    background:
        radial-gradient(90% 70% at 100% 0%, rgba(41, 148, 242, 0.16), transparent 62%),
        linear-gradient(rgba(23, 107, 208, 0.07) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, rgba(23, 107, 208, 0.07) 1px, transparent 1px) 0 0 / 28px 28px,
        var(--p-fundo);
}
.h-marca-forlabs .h-produto-marca { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.h-marca-forlabs .h-produto-marca img { width: 40px; height: 40px; border-radius: 10px; }
.h-marca-forlabs .h-produto-marca span span { font-weight: 400; color: var(--p-texto-2); }
.h-marca-forlabs .h-produto-frase { max-width: 17ch; font-size: clamp(30px, 3.3vw, 50px); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; }
.h-marca-forlabs .h-produto-frase em { color: var(--p-acento); white-space: nowrap; }

/* Lojinha Pronta: azul-petroleo com brilho coral, titulos em Fraunces */
.h-marca-lojinha {
    --p-fundo: #0A2531;
    --p-texto: #F7F5F2;
    --p-texto-2: #C3D5DB;
    --p-acento: #FF8B7D;
    --p-botao: #CF3F2B;
    --p-botao-txt: #FFFFFF;
    --p-botao-hover: #B83422;
    --p-botao-sombra: 0 10px 30px rgba(255, 107, 91, 0.35);
    --p-linha: rgba(247, 245, 242, 0.4);
    --p-status-fundo: rgba(247, 245, 242, 0.1);
    --p-status-txt: #7EE2A8;
    --p-foco: #FF6B5B;
    --p-fonte: "Fraunces", "Iowan Old Style", Georgia, serif;
    background:
        radial-gradient(60% 55% at 92% 8%, rgba(255, 107, 91, 0.42), transparent 70%),
        radial-gradient(55% 50% at 6% 96%, rgba(89, 131, 146, 0.5), transparent 70%),
        radial-gradient(50% 45% at 45% 55%, rgba(26, 90, 114, 0.6), transparent 72%),
        var(--p-fundo);
}
/* Granulado do topo do site da Lojinha */
.h-marca-lojinha::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23r)'/%3E%3C/svg%3E");
    pointer-events: none;
}
.h-marca-lojinha .h-produto-marca { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.h-marca-lojinha .h-marca-icone { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #FF6B5B; color: #FFFFFF; box-shadow: 0 4px 14px rgba(255, 107, 91, 0.4); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.h-marca-lojinha .h-marca-icone svg { width: 22px; height: 22px; }
.h-marca-lojinha:hover .h-marca-icone { transform: rotate(-8deg) scale(1.06); }
/* Duas linhas como no topo do site: "Sua loja pronta" / "pra vender" */
.h-marca-lojinha .h-produto-frase { max-width: none; font-size: clamp(36px, 4.4vw, 68px); font-weight: 600; line-height: 1; letter-spacing: -0.035em; color: #FFFFFF; }
.h-marca-lojinha .h-produto-frase span { display: inline-block; }
.h-marca-lojinha .h-produto-site { border-width: 1.5px; }

/* Cordeirinhos de Cristo: o ceu azul da capa do site, o rosa do "DE" da logo e a Baloo 2 */
.h-marca-cordeirinhos {
    --p-fundo: #28AAE2;
    --p-texto: #2E2823;
    --p-texto-2: #2E2823;
    --p-acento: #0B2D42;
    --p-botao: #0E618B;
    --p-botao-txt: #FFFFFF;
    --p-botao-hover: #0B4665;
    --p-linha: rgba(46, 40, 35, 0.32);
    --p-status-fundo: rgba(255, 255, 255, 0.62);
    --p-status-txt: #0E618B;
    --p-foco: #0B2D42;
    --p-fonte: "Baloo 2", ui-rounded, system-ui, sans-serif;
    background:
        radial-gradient(60% 55% at 95% 0%, rgba(255, 253, 249, 0.7), transparent 62%),
        linear-gradient(180deg, #28AAE2 0%, #8BD1EE 58%, #B8E2F5 100%);
}
.h-marca-cordeirinhos .h-produto-frase { max-width: 14ch; font-size: clamp(32px, 3.4vw, 54px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
/* O marca-texto rosa que o site usa nas palavras de destaque */
.h-marca-cordeirinhos .h-produto-frase em { background: linear-gradient(#FF8A8A, #FF8A8A) 0 74% / 100% 30% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: 0.06em; }

.h-breve { margin-top: clamp(56px, 8vw, 104px); }
.h-breve-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-breve-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 14px;
    padding: clamp(24px, 2.6vw, 34px);
    border-radius: var(--r-xl);
    background: var(--p-fundo);
    color: var(--p-texto);
    border: 1px solid var(--p-linha);
    transition: border-color .3s ease, transform .3s ease;
}
.h-breve-card:hover { border-color: var(--p-acento); transform: translateY(-4px); }
.h-breve-topo { margin-bottom: 6px; }
.h-breve-selo { flex: none; padding: 4px 10px; border-radius: var(--r-pill); background: var(--p-selo-fundo); color: var(--p-selo-txt); font: 700 11px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.h-breve-card .h-produto-marca { line-height: 1; }
.h-breve-card .h-marca-icone { width: 38px; height: 38px; }
.h-breve-card p { color: var(--p-texto-2); font-size: 16px; line-height: 1.5; }
.h-breve-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 4px; }
.h-breve-card .h-caso-link { color: var(--p-texto); }
.h-breve-avise { font: 600 15px var(--f-texto); color: var(--p-texto-2); text-decoration: none; }
.h-breve-avise:hover { color: var(--p-texto); text-decoration: underline; }

/* ForCondom: creme claro com o laranja queimado do app (Geist) */
.h-marca-forcondom {
    --p-fundo: #FAF7F2;
    --p-texto: #1F1B16;
    --p-texto-2: #6B635A;
    --p-acento: #9A3412;
    --p-linha: #E8E1D6;
    --p-selo-fundo: #C2410C;
    --p-selo-txt: #FFFFFF;
    --p-foco: #C2410C;
    --p-fonte: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.h-marca-forcondom .h-produto-marca { font-size: 28px; font-weight: 700; letter-spacing: -0.035em; }
.h-marca-forcondom:hover { border-color: #C2410C; }

/* ForBarber: marinho, marfim e vinho, com o poste de barbeiro (Cormorant Garamond) */
.h-marca-forbarber {
    --p-fundo: #0B1220;
    --p-texto: #F4EFE6;
    --p-texto-2: rgba(244, 239, 230, 0.74);
    --p-acento: #D0646B;
    --p-linha: rgba(244, 239, 230, 0.14);
    --p-selo-fundo: #9B2730;
    --p-selo-txt: #F4EFE6;
    --p-foco: #D0646B;
    --p-fonte: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    background: radial-gradient(80% 60% at 100% 0%, rgba(155, 39, 48, 0.28), transparent 70%), var(--p-fundo);
}
.h-marca-forbarber .h-produto-marca { font-size: 36px; font-weight: 600; letter-spacing: 0.01em; }
.h-marca-forbarber .h-marca-icone {
    width: 12px;
    height: 32px;
    border-radius: 6px;
    box-shadow: 0 0 0 1.5px currentColor;
    background: repeating-linear-gradient(-45deg, #9B2730 0 3px, #F4EFE6 3px 6px, #2F4A8A 6px 9px, #F4EFE6 9px 12px);
}

/* Pratuca: o laranja e o chapeu de chef da marca (Poppins) */
.h-marca-pratuca {
    --p-fundo: #F28C38;
    --p-texto: #29231F;
    --p-texto-2: #3B2A1F;
    --p-acento: #29231F;
    --p-linha: #F28C38;
    --p-selo-fundo: #29231F;
    --p-selo-txt: #FFF3E5;
    --p-foco: #29231F;
    --p-fonte: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.h-marca-pratuca .h-produto-marca { gap: 10px; font-size: 30px; font-weight: 700; letter-spacing: -0.025em; }
.h-marca-pratuca .h-marca-icone { width: 44px; height: auto; }
.h-marca-pratuca:hover { border-color: #FFF3E5; }
.h-breve-titulo { margin-bottom: clamp(24px, 3vw, 36px); font: 800 clamp(40px, 5vw, 72px)/0.9 var(--f-display); font-stretch: 78%; letter-spacing: -0.04em; }
.h-sua-pagina { display: grid; gap: 12px; margin-top: clamp(56px, 8vw, 110px); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--noite-linha); border-radius: var(--r-xl); background: var(--noite-2); color: var(--sobre-noite); text-decoration: none; transition: border-color .2s; }
.h-sua-pagina:hover { border-color: var(--laranja); }
.h-sua-pagina strong { font: 800 clamp(28px, 4vw, 52px)/1 var(--f-display); font-stretch: 75%; letter-spacing: -0.03em; text-wrap: balance; }
.h-sua-pagina-url { font: 600 clamp(16px, 1.6vw, 20px) var(--f-mono); color: var(--destaque-noite); overflow-wrap: anywhere; }
.h-caso-link { display: inline-flex; align-items: center; gap: 8px; font: 600 16px var(--f-texto); color: var(--destaque-noite); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 4px; }
.h-caso-link span { transition: transform 0.3s ease; }
.h-caso-link:hover span { transform: translate(3px, -3px); }

.h-mais { margin-top: clamp(72px, 10vw, 140px); }
.h-lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--noite-linha); }
.h-proj { border-bottom: 1px solid var(--noite-linha); }
.h-proj-linha {
    position: relative; isolation: isolate;
    display: grid; grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 1fr) 120px 40px;
    align-items: center; gap: clamp(16px, 2.5vw, 40px);
    /* sem recuo lateral: o texto da linha comeca na mesma borda do resto do site */
    padding: clamp(22px, 3vw, 40px) 0;
    color: var(--sobre-noite); text-decoration: none;
}
.h-proj-linha::before {
    /* o fundo laranja do hover passa um pouco das bordas, para o texto nao encostar nele */
    content: ""; position: absolute; inset: 0 calc(clamp(12px, 1.5vw, 24px) * -1); z-index: -1; background: var(--laranja);
    transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.h-proj-num, .h-proj-tipo { font: 500 13px var(--f-mono); color: var(--sobre-noite-2); transition: color 0.3s; }
.h-proj-nome {
    font: 800 clamp(36px, 6vw, 92px)/0.9 var(--f-display); font-stretch: 75%; letter-spacing: -0.04em;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.h-proj-desc { color: var(--sobre-noite-2); font-size: 16px; line-height: 1.45; margin: 0; transition: color 0.3s; }
.h-proj-tipo { justify-self: end; }
.h-proj-seta { justify-self: end; font: 400 28px/1 var(--f-display); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
@media (hover: hover) and (pointer: fine) {
    a.h-proj-linha:hover::before, a.h-proj-linha:focus-visible::before { transform: scaleY(1); }
    a.h-proj-linha:hover, a.h-proj-linha:focus-visible { color: var(--noite); }
    a.h-proj-linha:hover :is(.h-proj-num, .h-proj-tipo, .h-proj-desc), a.h-proj-linha:focus-visible :is(.h-proj-num, .h-proj-tipo, .h-proj-desc) { color: var(--noite); }
    a.h-proj-linha:hover .h-proj-nome, a.h-proj-linha:focus-visible .h-proj-nome { transform: translateX(14px); }
    a.h-proj-linha:hover .h-proj-seta, a.h-proj-linha:focus-visible .h-proj-seta { transform: translate(4px, -4px); }
}
a.h-proj-linha:focus-visible { outline: 2px solid var(--destaque-noite); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    .h-proj-linha::before, .h-proj-nome, .h-proj-seta { transition: none; }
}

/* ---------- Duvidas ---------- */
.h-duvidas { background: var(--papel); color: var(--tinta); padding: var(--secao) 0; }
.h-duvidas .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.h-duvidas .h-grande { position: sticky; top: 110px; }

/* ---------- Contato ---------- */
.h-contato { background: var(--laranja); color: var(--noite); padding: var(--secao) 0; }
.h-contato .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.h-contato-texto { display: grid; gap: 28px; }
.h-contato-titulo { font-size: clamp(72px, 11.5vw, 196px); font-stretch: 75%; line-height: 0.84; letter-spacing: -0.045em; }
.h-contato-texto > p { font-size: 20px; max-width: 440px; }
.h-contato .contato-lista svg { color: var(--noite); }
.h-contato .contato-alt, .h-contato .contato-alt a { color: var(--noite); }
.h-contato .form { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.45); }
.h-contato .form .btn-acao { background: var(--noite); color: var(--sobre-noite); }
.h-contato .form .btn-acao:hover { background: var(--noite-2); }
.h-contato .opcoes input:checked + span { background: var(--noite); border-color: var(--noite); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
    .h-breve-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-conversa .wrap, .h-duvidas .wrap, .h-contato .wrap { grid-template-columns: 1fr; }
    /* formulario empilhado nao estica na largura toda do tablet */
    .h-contato .form { width: 100%; max-width: 640px; }
    .chat { justify-self: start; }
    .h-duvidas .h-grande { position: static; }
    .h-passos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 72px; }
    .h-passos::before, .h-passos-linha { display: none; }
    .h-passo::before { top: -28px; }
    .h-servicos-trilho { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .h-produtos-grade, .h-breve-grade { grid-template-columns: minmax(0, 1fr); }
    .h-hero { padding-bottom: clamp(170px, 26svh, 230px); }
    .h-hero-base .wrap { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
    .h-hero-base p { max-width: 320px; }
    .h-rolar { display: none; }
    .h-proj-linha { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; column-gap: 16px; }
    .h-proj-num { grid-column: 1; grid-row: 1; }
    .h-proj-tipo { grid-column: 2; grid-row: 1; }
    .h-proj-nome { grid-column: 1 / -1; grid-row: 2; }
    .h-proj-desc { grid-column: 1; grid-row: 3; font-size: 15px; }
    .h-proj-seta { grid-column: 2; grid-row: 3; align-self: end; }
    .h-escala-palco { grid-template-columns: 1fr; }
}
/* Celular deitado ou janela muito baixa: base do topo em linha e sem o "Role" */
@media (max-height: 520px) and (orientation: landscape) {
    .h-hero { padding-bottom: clamp(84px, 22svh, 120px); }
    .h-hero-base .wrap { flex-direction: row; align-items: flex-end; text-align: left; }
    .h-rolar { display: none; }
}
@media (max-width: 640px) {
    .h-titulo { font-size: min(17vw, calc((100svh - 330px) / 2.85)); }
    html:not(.anima) .h-hero-base { bottom: 88px; }
    html:not(.anima) .h-hero-base .wrap { padding-right: var(--margem); }
    /* serviços: carrossel de arrastar com o dedo em vez de 6 cartões empilhados */
    .h-servicos-trilho { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; scroll-padding-inline: var(--margem); }
    .h-servicos-trilho::-webkit-scrollbar { display: none; }
    .h-servicos-intro { grid-column: auto; margin: 0; align-content: center; scroll-snap-align: start; }
    .h-servicos-trilho > .h-card { scroll-snap-align: start; }
    .h-passos { grid-template-columns: 1fr; }
    .h-card { min-height: 280px; padding: 26px; }
    .h-card-curva { top: 56px; }
    .h-hero-base .btn { width: 100%; }
    /* marcas dos produtos menores para caber ao lado do "No ar" */
    .h-marca-forlabs .h-produto-marca, .h-marca-lojinha .h-produto-marca { gap: 10px; font-size: 21px; }
    .h-marca-forlabs .h-produto-marca img, .h-marca-lojinha .h-marca-icone { width: 34px; height: 34px; }
    .h-marca-lojinha .h-marca-icone svg { width: 19px; height: 19px; }
}

/* Textos curtos com linhas equilibradas */
.h-card p, .h-contato-texto > p, .h-servicos-intro p, .h-passo p, .bolha, .contato-lista li { text-wrap: balance; }
