/* =====================================================================
   ZECARLOS — página de atendimento (link da bio do Instagram)
   Cartão institucional escuro com a fachada da matriz, o amarelo da
   marca como cor de ação e um sistema de medidas único para os botões:
   linhas de 64px, cartões de loja do mesmo tamanho, cantos de 16px.
   ===================================================================== */
:root {
    --amarelo: #FFB500;
    --amarelo-hover: #FFC233;
    --vermelho: #D22630;
    --fundo: #0F0F0E;
    --superficie: #181816;
    --superficie-2: #20201D;
    --borda: rgba(255, 255, 255, .07);
    --borda-forte: rgba(255, 255, 255, .16);
    --texto: #F5F4F0;
    --texto-2: #B9B6AD;
    --texto-3: #85827A;
    --raio: 16px;
    --raio-sm: 11px;
    --linha-altura: 64px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--fundo); }
body {
    min-height: 100vh; min-height: 100dvh;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-feature-settings: "cv11", "ss01";
    color: var(--texto); background: var(--fundo);
    -webkit-font-smoothing: antialiased;
    display: flex; justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom));
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--amarelo); outline-offset: 3px; }

/* fundo: as diagonais da marca, bem sutis */
.fundo { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fundo span { position: absolute; transform: rotate(45deg); }
.fundo span:first-child { width: 520px; height: 520px; right: -300px; top: -260px; background: rgba(255, 181, 0, .055); }
.fundo span:last-child { width: 420px; height: 420px; left: -300px; bottom: -220px; background: rgba(210, 38, 48, .06); }

.pagina { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 12px; }

/* entrada em sequência (usa "translate" para não brigar com os efeitos de hover) */
.capa, .pagina > .linha, .lojas, .rodape { opacity: 0; translate: 0 10px; animation: entrar .6s var(--ease) forwards; }
.pagina > .linha { animation-delay: .12s; }
.lojas { animation-delay: .2s; }
.linha--insta { animation-delay: .28s !important; }
.rodape { animation-delay: .34s; }
@keyframes entrar { to { opacity: 1; translate: 0 0; } }

/* ---------------------------------------------------------------------
   CAPA
--------------------------------------------------------------------- */
.capa {
    position: relative; isolation: isolate; overflow: hidden;
    /* primeira tela = capa + botão do site, terminando exatamente no fim da tela
       (88px = espaço + botão do site + espaço; o resto é a margem de cima) */
    min-height: clamp(500px, calc(100vh - 88px - max(16px, env(safe-area-inset-top))), 1000px);
    min-height: clamp(500px, calc(100svh - 88px - max(16px, env(safe-area-inset-top))), 1000px);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 18px; border-radius: 22px; background: var(--superficie);
    box-shadow: 0 0 0 1px var(--borda), 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.capa__foto { position: absolute; inset: 0; z-index: -2; }
.capa__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; transform: scale(1.08); animation: aproximar 14s var(--ease) forwards; }
@keyframes aproximar { to { transform: scale(1); } }
.capa::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(15, 15, 14, .55) 0%, rgba(15, 15, 14, 0) 26%),
        linear-gradient(0deg, rgba(15, 15, 14, .97) 0%, rgba(15, 15, 14, .9) 34%, rgba(15, 15, 14, .25) 62%, rgba(15, 15, 14, 0) 78%);
}

.capa__topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.capa__logo img { width: 132px; height: auto; filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .35)); }
/* horário: só texto, fino e discreto */
.status {
    margin-top: 4px; text-align: right;
    font-size: .8125rem; font-weight: 300; line-height: 1.45; letter-spacing: .02em;
    color: rgba(245, 244, 240, .95); text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}
.status span { display: block; white-space: nowrap; }
.status span + span { color: rgba(245, 244, 240, .72); }
.status[hidden] { display: none; }

.capa__base { display: flex; flex-direction: column; }
.capa__sobre {
    display: flex; align-items: center; gap: 10px;
    font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--amarelo);
}
.capa__sobre::before { content: ""; width: 22px; height: 2px; background: var(--amarelo); }
.capa__titulo {
    margin-top: 10px;
    font-family: "Barlow Semi Condensed", "Inter", sans-serif; font-weight: 700;
    font-size: 2.5rem; line-height: .98; letter-spacing: -.01em; text-transform: uppercase;
}
.capa__texto { margin-top: 10px; max-width: 330px; font-size: .9375rem; line-height: 1.5; color: var(--texto-2); }

/* botão de vendas */
.vendas {
    margin-top: 18px; height: var(--linha-altura);
    display: flex; align-items: center; gap: 12px; padding: 0 8px 0 8px;
    border-radius: var(--raio); background: var(--amarelo); color: #171715;
    box-shadow: 0 14px 30px -14px rgba(255, 181, 0, .55);
    transition: background .2s, box-shadow .2s, transform .2s var(--ease);
}
.vendas:hover { background: var(--amarelo-hover); box-shadow: 0 18px 34px -14px rgba(255, 181, 0, .65); }
.vendas:active { transform: scale(.985); }
.vendas__ico { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--raio-sm); background: #171715; color: var(--amarelo); font-size: 1.3rem; }
.vendas__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.vendas__txt small { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.vendas__txt strong { margin-top: 2px; font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vendas__acao {
    width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: var(--raio-sm); background: rgba(23, 23, 21, .1); font-size: 1.1rem;
}
.vendas__acao .ph-bold { transition: transform .2s var(--ease); }
.vendas:hover .vendas__acao .ph-bold { transform: translate(2px, -2px); }

/* ---------------------------------------------------------------------
   LINHAS (site e Instagram) — mesma altura do botão de vendas
--------------------------------------------------------------------- */
.linha {
    height: var(--linha-altura); display: flex; align-items: center; gap: 12px; padding: 0 18px 0 8px;
    border-radius: var(--raio); background: var(--superficie); box-shadow: inset 0 0 0 1px var(--borda);
    transition: background .2s, box-shadow .2s, transform .2s var(--ease);
}
.linha:hover { background: var(--superficie-2); box-shadow: inset 0 0 0 1px var(--borda-forte); }
.linha:active { transform: scale(.985); }
.linha__ico { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--raio-sm); background: var(--superficie-2); box-shadow: inset 0 0 0 1px var(--borda); color: var(--amarelo); font-size: 1.3rem; }
.linha__ico--insta { color: #FFFFFF; box-shadow: none; background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.linha__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.linha__txt small { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-3); }
.linha__txt strong { margin-top: 3px; font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linha__seta { font-size: 1.05rem; color: var(--texto-3); transition: transform .2s var(--ease), color .2s; }
.linha:hover .linha__seta { color: var(--texto); transform: translate(2px, -2px); }

/* ---------------------------------------------------------------------
   LOJAS — dois cartões do mesmo tamanho, com a fachada de cada uma
--------------------------------------------------------------------- */
.lojas { padding: 16px 8px 8px; border-radius: 20px; background: var(--superficie); box-shadow: inset 0 0 0 1px var(--borda); }
.secao { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 8px 12px; }
.secao h2 { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texto-2); }
.secao p { font-size: .75rem; color: var(--texto-3); white-space: nowrap; }
.lojas__grade { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.loja {
    position: relative; isolation: isolate; overflow: hidden;
    aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: space-between;
    padding: 10px; border-radius: 14px; background: var(--superficie-2);
    box-shadow: inset 0 0 0 1px var(--borda);
    transition: box-shadow .25s, transform .2s var(--ease);
}
.loja::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(0deg, rgba(15, 15, 14, .96) 0%, rgba(15, 15, 14, .7) 38%, rgba(15, 15, 14, .05) 70%);
}
.loja__foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.loja:hover { box-shadow: inset 0 0 0 1px rgba(255, 181, 0, .7); }
.loja:hover .loja__foto { transform: scale(1.06); }
.loja:active { transform: scale(.985); }
.loja__tag {
    align-self: flex-start; height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 7px;
    background: rgba(15, 15, 14, .6); border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font-size: .625rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.loja:first-child .loja__tag { background: var(--amarelo); border-color: transparent; color: #171715; }
.loja__info { display: flex; flex-direction: column; line-height: 1.25; }
.loja__info strong { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.loja__info small { margin-top: 3px; font-size: .75rem; color: var(--texto-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loja__info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loja__rota {
    margin-top: 10px; height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border-radius: 9px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12);
    font-size: .8125rem; font-weight: 600; transition: background .2s, color .2s, border-color .2s;
}
.loja__rota .ph-fill { font-size: .9rem; color: var(--amarelo); transition: color .2s; }
.loja:hover .loja__rota { background: var(--amarelo); border-color: transparent; color: #171715; }
.loja:hover .loja__rota .ph-fill { color: #171715; }

/* ---------------------------------------------------------------------
   RODAPÉ
--------------------------------------------------------------------- */
.rodape { margin-top: 10px; padding: 18px 8px 4px; border-top: 1px solid var(--borda); text-align: center; font-size: .75rem; line-height: 1.7; color: var(--texto-3); }
.rodape a { font-weight: 500; }
.rodape a strong { color: var(--texto); font-weight: 700; transition: color .2s; }
.rodape a:hover strong { color: var(--amarelo); }

/* ---------------------------------------------------------------------
   TAMANHOS DE TELA
--------------------------------------------------------------------- */
@media (max-width: 359px) {
    .capa { padding: 14px; }
    .capa__titulo { font-size: 2.1rem; }
    .vendas__txt strong { font-size: 1rem; }
    .lojas__grade { grid-template-columns: 1fr; }
    .loja { aspect-ratio: 16 / 9; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .capa__foto img { transform: none; }
}
