/* Layout: página única em faixas largas alternando creme e verde; texto em coluna estreita, muito respiro, mostarda só nos destaques. */
@font-face { font-family: "Audex"; src: url("fonts/Audex-Regular.ttf") format("truetype"); font-display: swap; }
:root {
  --verde: #12403a;
  --verde-2: #1c5a50;
  --creme: #e8dcc4;
  --creme-2: #f1e9d8;
  --mostarda: #c49a48;
  --tinta: #12403a;
  --display: "Audex", "Figtree", system-ui, sans-serif;
  --texto: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
img { max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { background: var(--creme); color: var(--tinta); font-family: var(--texto); font-size: 17px; line-height: 1.6; margin: 0; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--creme); }

.faixa { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.faixa > .dentro { max-width: var(--max); margin: 0 auto; }
.creme { background: var(--creme); color: var(--verde); }
.verde { background: var(--verde); color: var(--creme); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: 1.6rem; }
p { margin: 0; max-width: 62ch; }
.rotulo { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mostarda); }

a { color: inherit; }
a:focus-visible, .botao:focus-visible { outline: 3px solid var(--mostarda); outline-offset: 3px; }
.botao { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.botao:hover { transform: translateY(-2px); }
.botao.cheio { background: var(--verde); color: var(--creme); }
.botao.cheio:hover { background: var(--verde-2); }
.verde .botao.cheio { background: var(--mostarda); color: var(--verde); }
.botao.linha { border: 2px solid currentColor; }
.botao svg { width: 20px; height: 20px; flex: none; }

/* topo */
header.faixa { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--creme); border-bottom: 1px solid rgba(18,64,58,.12); }
header .dentro { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
header img { height: 22px; width: auto; display: block; }
header nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
header nav a { text-decoration: none; }
header nav a:not(.botao):hover { color: var(--mostarda); }
header .botao { padding: 10px 18px; font-size: .95rem; }
@media (max-width: 760px) { header nav a:not(.botao) { display: none; } header img { height: 16px; } }

/* hero */
.hero { position: relative; overflow: hidden; background-color: var(--creme); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.hero .dentro { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 48px; padding-block: clamp(64px, 10vw, 128px); }
.hero .texto { display: grid; gap: 28px; min-width: 0; }
.hero p.lead { font-size: 1.2rem; }
.hero .acoes { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .marca { justify-self: end; width: min(100%, 380px); }
.hero .marca img { display: block; width: 100%; height: auto; }
.coord { font-size: .78rem; letter-spacing: .08em; opacity: .65; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .hero .dentro { grid-template-columns: 1fr; } .hero .marca { justify-self: start; width: 160px; order: -1; } }

/* serviços */
.servicos .dentro { padding-block: clamp(72px, 9vw, 120px); display: grid; gap: 56px; }
.servicos .cabeca { display: grid; gap: 16px; }
.servicos .cabeca p { opacity: .85; font-size: 1.1rem; }
.lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(232,220,196,.25); }
.lista article { padding: 32px 28px 8px 0; display: grid; gap: 16px; align-content: start; min-width: 0; }
.lista article + article { padding-left: 28px; border-left: 1px solid rgba(232,220,196,.25); }
.lista h3 { color: var(--creme); }
.lista h3 span { color: var(--mostarda); }
.lista ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: .95rem; }
.lista li { display: flex; gap: 10px; align-items: baseline; }
.lista li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--mostarda); flex: none; transform: translateY(-1px); }
@media (max-width: 860px) {
  .lista { grid-template-columns: 1fr; }
  .lista article, .lista article + article { padding: 28px 0; border-left: 0; }
  .lista article + article { border-top: 1px solid rgba(232,220,196,.25); }
}

/* treinamentos e sobre */
.duas .dentro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(72px, 9vw, 120px); }
.duas .texto { display: grid; gap: 22px; min-width: 0; }
.duas figure { margin: 0; min-width: 0; }
.duas figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.duas figcaption { font-size: .85rem; opacity: .7; margin-top: 10px; }
.treinos figure img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 40%; }
.sobre figure { justify-self: start; max-width: 420px; }
.sobre figure img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.sobre .nome { font-family: var(--display); font-size: 1.5rem; color: var(--mostarda); }
@media (max-width: 860px) { .duas .dentro { grid-template-columns: 1fr; } .sobre figure { order: -1; max-width: 320px; } }

/* contato */
.contato .dentro { padding-block: clamp(80px, 10vw, 136px); display: grid; gap: 28px; justify-items: start; }
.contato .numero { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; user-select: all; }
.redes { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 500; }
.redes a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 10px 18px 10px 14px; border: 2px solid rgba(18,64,58,.2); border-radius: 999px; transition: border-color .15s ease, background .15s ease; }
.redes a:hover { border-color: var(--verde); background: var(--creme-2); }
.redes svg { width: 20px; height: 20px; flex: none; }

footer .dentro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 32px; font-size: .9rem; }
footer img { height: 18px; width: auto; display: block; }

/* botão flutuante */
.flutua { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 6; width: 56px; height: 56px; border-radius: 50%; background: var(--mostarda); color: var(--verde); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(18,64,58,.25); transition: transform .15s ease; }
.flutua:hover { transform: scale(1.06); }
.flutua svg { width: 28px; height: 28px; }

/* barra de administração do WordPress (só aparece para quem está logado) */
.admin-bar header.faixa { top: 32px; }
@media (max-width: 782px) { .admin-bar header.faixa { top: 46px; } }
@media (max-width: 600px) { .admin-bar header.faixa { top: 0; } }
footer .dentro { padding-right: 72px; }

/* entrada do topo: o texto sobe em sequência enquanto o relevo é varrido */
@keyframes dk-sobe { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .texto > * { opacity: 0; animation: dk-sobe .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero .texto > :nth-child(1) { animation-delay: .35s; }
  .hero .texto > :nth-child(2) { animation-delay: .5s; }
  .hero .texto > :nth-child(3) { animation-delay: .65s; }
  .hero .texto > :nth-child(4) { animation-delay: .8s; }
}
.hero .rotulo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.hero .rotulo::before { content: ""; width: 28px; height: 1px; background: currentColor; }
/* o mapa animado é a imagem do topo; a marca fica no menu */
.hero .marca { display: none; }

/* selo DK! na foto do "quem faz": Dekkai é o apelido do Caio */
.sobre figure { position: relative; }
.sobre .selo { position: absolute; right: -20px; bottom: -20px; width: 108px; height: 108px; border-radius: 50%; background: var(--creme); display: grid; place-items: center; box-shadow: 0 0 0 6px var(--verde); }
.sobre .selo img { width: 62%; height: auto; display: block; aspect-ratio: auto; object-fit: contain; border-radius: 0; }
@media (max-width: 860px) { .sobre .selo { width: 84px; height: 84px; right: -12px; bottom: -12px; } }

/* acessibilidade: dourado mais escuro nos rótulos sobre o creme (contraste 4,7:1) */
.creme .rotulo, .hero .rotulo, main .dk-clientes .dk-rotulo { color: #7a5a1a; }
/* âncoras não param embaixo do menu fixo */
section[id] { scroll-margin-top: 72px; }
.admin-bar section[id] { scroll-margin-top: 104px; }
/* link "pular para o conteúdo", visível só no teclado */
.pular { position: absolute; left: 16px; top: -100px; z-index: 20; background: var(--verde); color: var(--creme); padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.pular:focus { top: 12px; }
main:focus { outline: none; }

/* clientes: o que foi entregue para cada um e chamada para conversa */
main .dk-clientes .dk-entrega { display: block; margin-top: 6px; font-size: .8rem; line-height: 1.35; text-align: center; color: var(--verde); opacity: .78; }
main .dk-clientes .dk-cta { margin: 24px 0 0; font-weight: 600; }
main .dk-clientes .dk-cta a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
main .dk-clientes .dk-cta a:hover { color: var(--verde-2); text-decoration-thickness: 2px; }

/* quem faz: cargo junto ao nome */
.sobre .cargo { margin-top: -10px; font-size: 1.2rem; font-weight: 600; color: var(--mostarda); }

/* menu e rodapé mais finos */
header .dentro { padding-block: 10px; }
header .botao { padding: 8px 16px; }
footer .dentro { padding-block: 18px; }
section[id] { scroll-margin-top: 60px; }
