/* La Barbearia Clube: estilos do site (home e páginas de texto).
   Recriado a partir do site em WordPress/Elementor (nov/2026), com as mesmas cores, fontes e medidas.
   Celular primeiro: o que vale para telas a partir de 768 px está nos blocos @media no fim de cada seção. */

/* ---------- fontes (dentro do site, sem Google Fonts) ---------- */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/bebasneue-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/unbounded-500.woff2) format("woff2"); }

/* ---------- base ---------- */
:root {
  /* Tokens do design system (design/la-barbearia-design-system/tokens.json). Os valores vêm de lá;
     não carregamos o tokens.css/bundle.css dele porque o bundle puxa o Google Fonts e pinta o body de espresso. */
  --espresso: #1E150F;    /* fundo escuro do início, mapa e rodapé */
  --brown: #331D0D;       /* textos escuros e cartão da prótese */
  --bronze: #89795D;      /* fundo das seções "sobre" e etiquetas de preço */
  --sand: #E7DBC8;        /* títulos sobre fundo escuro e cartão do corte infantil */
  --peach: #FFBC7D;       /* acento único do DS: aqui só no anel de foco sobre fundo escuro */
  --white: #FFFFFF;
  --overlay: #1e150f69;   /* no site, usado também como filete entre os preços */
  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Unbounded", "Poppins", system-ui, sans-serif;
  --radius-md: 14px;
  --radius-lg: 25px;
  --radius-pill: 80px;
  --container: 1140px;    /* páginas de texto */
  --largura-home: 1400px; /* a home do site original usa 1400 px (configuração da página no Elementor), não o container do DS */
  --focus: var(--espresso);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--espresso); } /* passar do fim da página (efeito elástico) mostra a cor do rodapé, não branco */
body { margin: 0; font-family: var(--font-sans); font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--brown); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, p { margin: 0; }
a { color: inherit; }
.coluna { width: 100%; max-width: var(--largura-home); margin-inline: auto; }
.textura { background: var(--espresso) url(img/textura-marrom.webp) center / cover; }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Foco (DS): anel de 2px afastado 3px. Pêssego sobre fundo escuro; espresso sobre bronze, areia e branco,
   onde o pêssego não chega a 3:1 (2,6:1 sobre bronze e 1,7:1 sobre branco). */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.inicio, .textura, .cartao-marrom, .creditos, .cookies { --focus: var(--peach); }
.icone { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Botão do WhatsApp: contorno branco, cheio ao passar o mouse */
.btn-wa { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%;
  padding: 15px 24px; border: 1px solid var(--white); border-radius: var(--radius-pill); color: var(--white); background: transparent;
  font-family: var(--font-accent); font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .3s, color .3s; }
.btn-wa:hover, .btn-wa:focus-visible { background: var(--white); color: var(--brown); }
.botoes-wa { display: flex; flex-direction: column; gap: 10px; }

/* Ícone redondo de rede social */
.social { display: flex; gap: 5px; justify-content: center; }
.social a { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: var(--sand); color: var(--bronze);
  font-size: 21px; transition: opacity .3s; }
.social a:hover { opacity: .85; }
.social .icone { width: 1em; height: 1em; }


/* ---------- topo (sobre a foto de fundo do início) ---------- */
.topo { position: relative; z-index: 10; margin-bottom: -120px; padding: 20px 10px 10px; }
.topo-linha { display: flex; align-items: center; justify-content: center; }
.topo nav { display: none; }
.topo nav a { font-size: 16px; font-weight: 500; color: var(--white); text-decoration: none; line-height: 1.2; }
.topo nav a:hover { color: var(--sand); }
.marca { display: block; width: 25%; max-width: 116px; min-width: 80px; flex: 0 0 25%; }
.marca img { width: 100%; }

/* ---------- início ---------- */
.inicio { padding: 150px 24px 32px; color: var(--sand); }
.inicio-titulos { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px; padding: 10px; }
.inicio h1 { font-family: var(--font-display); font-weight: 500; font-size: 42px; line-height: 1; text-transform: uppercase; flex: 1 1 100%; }
.inicio-sub { font-size: 17px; line-height: 20px; font-weight: 500; flex: 1 1 100%; }
.inicio-foto { display: block; margin-top: 20px; }
.inicio-foto img { width: 100%; }
.inicio-chamada { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.15; text-align: center; text-transform: uppercase; margin: 18px 0 36px; }

@media (min-width: 1025px) {
  .topo { margin-bottom: -150px; padding-inline: 50px; }
  .topo-linha { display: grid; grid-template-columns: 1fr 482px 1fr; gap: 0; }
  .topo nav { display: flex; align-items: center; }
  .topo nav:first-child { justify-content: flex-end; gap: 32px; }
  .topo nav:last-child { justify-content: flex-start; gap: 20px; }
  .marca { width: 116px; margin-inline: auto; }

  .inicio { padding: 200px 50px 80px; }
  .inicio-titulos { flex-wrap: nowrap; }
  .inicio h1 { font-size: clamp(56px, 7vw, 100px); flex: 1 1 auto; }
  .inicio-sub { flex: 0 0 22.7%; max-width: 22.7%; font-size: 20px; line-height: 32px; padding-bottom: 20px; }
  .inicio-foto { margin-top: 20px; }
  .inicio-chamada { font-size: 32px; margin: -33px 0 56px; position: relative; }
  .inicio #contato { padding-block: 10px; }
  .botoes-wa { flex-direction: row; justify-content: center; gap: 20px; flex-wrap: wrap; }
  .inicio .btn-wa { width: auto; font-size: 16px; padding: 15px 55px; }
}

/* ---------- sobre ---------- */
.sobre { background: var(--bronze); color: var(--sand); padding: 32px 24px; overflow: hidden; } /* a navalha não pode criar rolagem lateral em 320 px */
.sobre-grade { display: grid; gap: 20px; }
.sobre h2 { font-family: var(--font-display); font-weight: 600; font-size: 50px; line-height: 1; text-transform: uppercase; margin-bottom: 20px; }
.sobre-intro p { font-size: 15px; line-height: 22px; font-weight: 500; }
.sobre-foto { position: relative; padding-top: 20px; }
.sobre-foto > img:first-child { width: 100%; border-radius: var(--radius-lg); }
.sobre-texto { position: relative; }
.navalha { position: absolute; left: 110px; top: -137px; width: 190px; max-width: none; pointer-events: none; transition: transform .2s ease-out; }
.sobre-texto p { font-size: 14px; font-weight: 400; line-height: 1.5; }
.sobre-texto p + p { margin-top: 14px; }
.sobre-texto p:last-child { margin-bottom: 14px; }

@media (min-width: 1025px) {
  .sobre { padding: 80px 50px; }
  .sobre-grade { grid-template-columns: repeat(3, 33%); gap: 0; align-items: stretch; }
  .sobre-intro, .sobre-texto { display: flex; flex-direction: column; justify-content: center; }
  .sobre-intro { padding-right: 50px; }
  .sobre h2 { font-size: clamp(48px, 5vw, 70px); }
  .sobre-intro p { font-size: 16px; }
  .sobre-foto { padding: 30px 10px 10px; }
  .navalha { left: -177px; top: 308px; width: 210px; }
  .sobre-texto { padding-left: 50px; }
  .sobre-texto p { font-size: 16px; }
}

/* ---------- destaques (corte infantil e prótese capilar) ---------- */
.destaques { background: var(--bronze); padding: 0 24px 32px; }
.destaque { display: grid; }
.destaque + .destaque { margin-top: 24px; }
.destaque-foto img { width: 100%; border-radius: var(--radius-lg); }
.cartao { position: relative; border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.cartao h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; text-transform: uppercase; }
.cartao p { font-size: 15px; line-height: 22px; font-weight: 500; }
.cartao-creme { background: var(--sand); color: var(--bronze); }
.cartao-creme p { color: var(--brown); } /* DS: bronze só em texto de 24px ou mais (3,1:1 sobre areia) */
.cartao-marrom { background: var(--brown); color: var(--sand); }
.cartao-marrom p { max-width: min(236px, calc(100% - 56px)); } /* reserva o espaço do ícone do Instagram em telas estreitas */
.cartao .social { position: absolute; right: 14px; bottom: 14px; }
.cartao .social a { font-size: 24px; }
.destaque-botoes { order: 3; padding-block: 20px; }

@media (min-width: 1025px) {
  .destaques { padding: 0 50px 80px; }
  .destaque { grid-template-columns: repeat(3, 33%); align-items: stretch; }
  .destaque + .destaque { margin-top: 0; }
  .destaque-foto img { height: 100%; object-fit: cover; }
  .cartao { padding: 50px; }
  .cartao p { font-size: 16px; }
  .cartao-marrom p { max-width: min(87.5%, calc(100% - 40px)); }
  .cartao .social { right: 21px; bottom: 24px; } /* original: 383 px da esquerda (21 px da direita numa tela de 1536 px); aqui fixo pela direita */
  .cartao .social a { font-size: 29px; }
  .destaque-botoes { order: 0; padding: 0 50px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
  .destaque-botoes .btn-wa { font-size: 16px; }
}

/* ---------- serviços e preços ---------- */
.servicos { position: relative; overflow: hidden; padding: 32px 24px 35px; background: var(--white); }
.servicos-grade { position: relative; display: grid; gap: 0; }
.servicos h2 { font-family: var(--font-display); font-weight: 600; font-size: 48px; line-height: 1; text-transform: uppercase; color: var(--brown); padding: 30px 10px 10px; }
.precos { display: grid; gap: 33px; padding: 10px; }
.grupo h3 { display: inline-block; margin: 5px; padding: 10px 20px; border-radius: var(--radius-md); background: var(--bronze); color: var(--sand);
  font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1; text-transform: uppercase; }
.grupo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.grupo li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; column-gap: 12px; row-gap: 20px; padding: 4px; border-bottom: 1px solid var(--overlay); }
.grupo .nome { font-size: 16px; font-weight: 500; line-height: 22px; }
.grupo .preco { font-size: 25px; font-weight: 700; line-height: 32px; white-space: nowrap; }

@media (min-width: 1025px) {
  .servicos { padding: 80px 50px 82px; }
  .servicos-grade { grid-template-columns: 33% 67%; }
  .servicos h2 { font-size: clamp(48px, 5vw, 70px); }
  /* Tesoura decorativa: fundo da seção, com o mesmo tamanho (700 px) e posição do original (-27% 78%) */
  .servicos::before { content: ""; position: absolute; inset: 0; background: url(img/tesoura.webp) no-repeat -27% 78%; pointer-events: none; }
}
/* Tablet (768 a 1024 px): layout do celular, com mais respiro e botões centralizados */
@media (min-width: 768px) and (max-width: 1024px) {
  .botoes-wa, .rodape-acoes { max-width: 420px; margin-inline: auto; width: 100%; }
  .destaque-foto img { max-height: 420px; object-fit: cover; }
  .sobre-foto { max-width: 520px; margin-inline: auto; }
}

/* ---------- localização e rodapé (mesmo fundo) ---------- */
.local { padding: 20px 20px 0; color: var(--sand); }
.mapa { border-radius: var(--radius-lg); overflow: hidden; background: #2a1f17; }
.mapa iframe { display: block; width: 100%; height: 453px; border: 0; }
.local-info { display: grid; gap: 0; padding-top: 5px; align-items: start; }
.local-info p { margin: 5px; padding: 20px; border-radius: var(--radius-md); text-align: center; font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1; text-transform: uppercase; }
.horario { background: var(--bronze); }
.endereco { border: 1px solid var(--sand); }
.endereco a { text-decoration: none; }

.rodape { padding: 50px 20px 20px; color: var(--white); }
.rodape-grade { display: grid; gap: 28px; padding: 10px; text-align: center; justify-items: center; }
.rodape-logo img { width: 117px; }
.rodape h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--sand); text-transform: uppercase; margin-bottom: 16px; }
.rodape-sobre p { font-size: 14px; font-weight: 400; line-height: 1.5; text-align: left; max-width: 300px; margin-inline: auto; }
.rodape-contato { display: grid; gap: 10px; justify-items: center; font-size: 16px; font-weight: 400; margin-top: 12px; }
.rodape-contato a { text-decoration: none; }
.rodape-acoes { display: grid; gap: 10px; width: 100%; max-width: 315px; margin-top: 12px; padding-bottom: 11px; }
.rodape-acoes .btn-wa { padding: 10px; font-size: 16px; }
.rodape-links { display: grid; gap: 6px; padding-top: 10px; }
.rodape-links a, .link { background: none; border: 0; padding: 0; color: var(--white); font: inherit; font-size: 16px; font-weight: 500; line-height: 22px; text-decoration: underline; cursor: pointer; }
/* área de toque de 34 px sem mudar o espaçamento visível */
.rodape-links a, .creditos .link { display: inline-block; padding-block: 6px; margin-block: -6px; }
.creditos { background: var(--espresso); color: var(--white); padding: 10px 16px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px;
  font-size: 12px; font-weight: 500; text-align: center; row-gap: 20px; }
.creditos a { display: inline-flex; padding: 3px; }
.creditos img { width: 31px; height: 15px; }
.creditos .link { font-size: 12px; line-height: 18px; }

@media (min-width: 1025px) {
  .local { padding: 80px 50px 0; }
  .local-info { grid-template-columns: 1fr 1fr; column-gap: 20px; padding-top: 16px; }
  .rodape { padding: 79px 50px 30px; }
  .rodape-grade { grid-template-columns: repeat(4, 1fr); align-items: stretch; justify-items: stretch; text-align: left; gap: 20px; }
  .rodape-grade > * { display: flex; flex-direction: column; justify-content: space-around; padding: 0 10px; margin-top: 0; max-width: none; }
  .rodape-logo { align-items: center; padding: 0; }
  .rodape-grade > .rodape-acoes { padding: 16px 10px 0; justify-content: flex-start; gap: 20px; }
  .rodape-acoes .rodape-links { padding-top: 2px; }
  .rodape-sobre h2 { margin-bottom: 0; }
  .creditos { row-gap: 6px; }
  .rodape-logo img { width: 170px; }
  .rodape-sobre { justify-self: start; }
  .rodape-sobre p { margin-inline: 0; }
  .rodape-contato { align-items: flex-start; justify-content: flex-start; gap: 0; padding-top: 16px; }
  .rodape-contato p:nth-child(1) { margin-bottom: 23px; }
  .rodape-contato p:nth-child(2) { margin-bottom: 22px; }
  .rodape-contato .social { justify-content: flex-start; }
  .rodape-links { justify-items: start; }
}

/* ---------- páginas de texto (política de privacidade) ---------- */
.texto-topo { background: var(--bronze); color: var(--sand); padding: 32px 24px; }
.texto-topo .coluna { display: grid; gap: 20px; }
.texto-topo .voltar { justify-self: center; width: 90px; }
.texto-topo h1 { font-family: var(--font-display); font-weight: 600; font-size: 42px; line-height: 1; text-transform: uppercase; }
.texto-topo p { font-size: 15px; line-height: 22px; }
.texto { padding: 32px 24px 60px; color: var(--brown); }
.texto .coluna { max-width: var(--container); }
.texto h2 { font-size: 26px; font-weight: 700; line-height: 1.2; margin: 32px 0 12px; }
.texto h3 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 20px 0 10px; }
.texto p { font-weight: 400; line-height: 1.6; }
.texto p + p { margin-top: 10px; }
.texto h2:first-child { margin-top: 0; }

@media (min-width: 1025px) {
  .texto-topo { padding: 50px 50px 80px; }
  .texto-topo h1 { font-size: 70px; text-align: center; }
  .texto-topo p { font-size: 16px; }
  .texto { padding: 60px 50px 80px; }
  .texto h2 { font-size: 30px; }
  .texto h3 { font-size: 20px; }
}

/* ---------- aviso de cookies (ids fixos da camada comum) ---------- */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; z-index: 50;
  background: var(--espresso); color: var(--sand); border: 1px solid var(--bronze); border-radius: var(--radius-md); padding: 10px 14px; font-size: 14px; font-weight: 400; }
.cookies[hidden] { display: none; }
.cookies-linha { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookies-linha p { margin: 0; }
.cookies-link { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 4px 2px; min-height: 32px; }
.cookies-ok { background: var(--sand); color: var(--brown); border: 0; border-radius: var(--radius-pill); min-height: 36px; padding: 0 18px; font: inherit; font-weight: 700; cursor: pointer; }
.cookies-opcoes { display: grid; gap: 10px; margin-top: 10px; }
.cookies-opcao { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.cookies-opcao small { display: block; opacity: .75; }


/* ---------- animações ----------
   Só opacidade e translate/scale/rotate (propriedades separadas, para não brigar com o transform da navalha):
   nenhum espaçamento muda. Desligadas com "reduzir movimento" (bloco no fim do arquivo). */

/* Abertura do início: só CSS, funciona sem JavaScript e termina sempre visível */
@keyframes entra-subindo { from { opacity: 0; translate: 0 28px; } }
@keyframes entra-descendo { from { opacity: 0; translate: 0 -16px; } }
@keyframes entra-zoom { from { opacity: 0; scale: .9; } }
.marca { animation: entra-zoom .8s cubic-bezier(.2, .7, .2, 1) both; }
.topo nav a { animation: entra-descendo .7s ease .15s both; }
.topo nav a:nth-child(2) { animation-delay: .25s; }
.topo nav:last-child a { animation-delay: .3s; }
.topo nav:last-child a:nth-child(2) { animation-delay: .4s; }
.inicio h1 { animation: entra-subindo .9s cubic-bezier(.2, .7, .2, 1) .1s both; }
.inicio-sub { animation: entra-subindo .9s cubic-bezier(.2, .7, .2, 1) .3s both; }
.inicio-foto { animation: entra-subindo 1.1s cubic-bezier(.2, .7, .2, 1) .45s both; }
.inicio-chamada { animation: entra-subindo .8s ease .7s both; }
.inicio .btn-wa { animation: entra-subindo .8s ease .85s both; }
.inicio .btn-wa + .btn-wa { animation-delay: .95s; }
.texto-topo .coluna > * { animation: entra-subindo .9s cubic-bezier(.2, .7, .2, 1) both; }
.texto-topo .coluna > :nth-child(2) { animation-delay: .15s; }
.texto-topo .coluna > :nth-child(3) { animation-delay: .3s; }

/* Entrada ao rolar (o site.js marca os blocos que ainda estão fora da tela) */
.anim-pronto { opacity: 0; }
.anim-pronto[data-anim="subir"] { translate: 0 40px; }
.anim-pronto[data-anim="zoom"] { scale: .93; }
.anim-pronto[data-anim="esquerda"] { translate: -48px 0; }
.anim-pronto[data-anim="direita"] { translate: 48px 0; }
.anim-pronto[data-anim="navalha"] { translate: 60px 50px; rotate: -28deg; }
.anim-pronto.anim-visto { opacity: 1; translate: none; scale: none; rotate: none;
  transition: opacity .9s ease var(--atraso, 0s), translate .9s cubic-bezier(.2, .7, .2, 1) var(--atraso, 0s),
    scale .9s cubic-bezier(.2, .7, .2, 1) var(--atraso, 0s), rotate 1.1s cubic-bezier(.2, .7, .2, 1) var(--atraso, 0s); }

/* Passar o mouse */
.btn-wa { transition: background-color .3s, color .3s, translate .3s ease; }
.btn-wa .icone { transition: rotate .3s ease, scale .3s ease; }
@media (hover: hover) {
  .btn-wa:hover { translate: 0 -2px; }
  .btn-wa:hover .icone { rotate: -14deg; scale: 1.15; }
  .topo nav a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; padding-bottom: 2px; margin-bottom: -2px;
    transition: color .3s, background-size .35s ease; }
  .topo nav a:hover { background-size: 100% 1px; }
  .social a { transition: opacity .3s, scale .3s ease, rotate .3s ease; }
  .social a:hover { opacity: 1; scale: 1.1; rotate: -8deg; }
  .destaque-foto { overflow: hidden; border-radius: var(--radius-lg); }
  .destaque-foto img { transition: scale .8s cubic-bezier(.2, .7, .2, 1); }
  .destaque-foto:hover img { scale: 1.05; }
  .sobre-foto > img:first-child { transition: scale .8s cubic-bezier(.2, .7, .2, 1); }
  .sobre-foto:hover > img:first-child { scale: 1.02; }
  .grupo li { transition: background-color .25s; }
  .grupo li:hover { background-color: #89795d14; }
  .grupo .nome { transition: translate .25s ease; }
  .grupo li:hover .nome { translate: 4px 0; }
  .local-info p { transition: translate .3s ease; }
  .local-info p:hover { translate: 0 -2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .anim-pronto { opacity: 1; translate: none; scale: none; rotate: none; }
}
