/* Acqua House Garden — estilos compartilhados (index + produtos)
   Cores e tipografia tiradas do catálogo corporativo (PDF) */

:root {
  --petroleo: #142829;
  --petroleo-2: #253d3d;
  --petroleo-3: #0d1c1d;
  --areia: #f4f1ea;
  --areia-2: #ebe6db;
  --salvia: #dee3dc;
  --cobre: #c2976d;
  --cobre-texto: #7a5634;
  --tinta: #192b2d;
  --tinta-2: #3d4c4d;
  --papel: #ffffff;

  --ff: 'Carlito', 'Calibri', 'Segoe UI', system-ui, sans-serif;

  --t-display: clamp(2.75rem, 6.6vw, 6.5rem);
  --t-h2: clamp(2.125rem, 4.4vw, 4rem);
  --t-h3: clamp(1.375rem, 1.9vw, 1.75rem);
  --t-body: clamp(1.0625rem, 1.15vw, 1.25rem);
  --t-small: 0.875rem;

  --margem: clamp(16px, 4.4vw, 64px);
  --gap-secao: clamp(88px, 11vw, 176px);
  --raio: 12px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; font-family: var(--ff); font-size: var(--t-body); line-height: 1.55; color: var(--tinta); background: var(--areia); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(194,151,109,.25); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cobre); outline-offset: 3px; }
::selection { background: var(--cobre); color: var(--petroleo); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--cobre); color: var(--petroleo); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; padding-inline: var(--margem); margin-inline: auto; max-width: 1440px; }
.campo { padding-block: var(--gap-secao); }
.campo--escuro { background: var(--petroleo); color: var(--areia); }
.campo--areia { background: var(--areia); color: var(--tinta); }
.campo--areia2 { background: var(--areia-2); color: var(--tinta); }
.campo--salvia { background: var(--salvia); color: var(--tinta); }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.1875rem, 1.6vw, 1.5rem); line-height: 1.45; max-width: 44ch; }
.campo--escuro .lead, .campo--escuro p { color: #e3e0d8; }

/* Rótulo do catálogo (padrão do PDF: "ETAPA 01 / PRODUÇÃO") */
.rotulo { display: block; font-size: var(--t-small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cobre-texto); margin-bottom: 18px; }
.campo--escuro .rotulo { color: var(--cobre); }
.traco { display: block; width: 48px; height: 4px; background: var(--cobre); margin-bottom: 22px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; border: 0; border-radius: 0; transition: background-color .2s, color .2s, transform .15s var(--ease); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--cobre { background: var(--cobre); color: var(--petroleo); }
.btn--cobre:hover { background: #d4ab83; }
.btn--escuro { background: var(--petroleo); color: var(--areia); }
.btn--escuro:hover { background: var(--petroleo-2); }
.btn--claro { background: var(--areia); color: var(--petroleo); }
.btn--claro:hover { background: var(--papel); }
.btn--vazado { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--vazado:hover { background: rgba(194,151,109,.18); }

/* ── Cabeçalho ── */
.topo { position: sticky; top: 0; z-index: 1000; background: var(--petroleo); color: var(--areia); }
.topo__in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.marca { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.marca b { font-size: 1.25rem; letter-spacing: .01em; }
.marca span { margin-top: 5px; font-size: .6875rem; font-weight: 700; letter-spacing: .42em; color: var(--cobre); }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { position: relative; text-decoration: none; font-size: 1rem; padding: 6px 0; transition: color .2s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cobre); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.topo__zap { min-height: 44px; padding: 10px 18px; font-size: 1rem; }
.topo__burger { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; color: var(--areia); align-items: center; justify-content: center; }
.topo__burger svg { width: 26px; height: 26px; }

@media (max-width: 1020px) {
  .menu { display: none; }
  .topo__burger { display: inline-flex; }
  .topo__zap { margin-left: 0; padding: 10px 14px; }
  .topo__zap .zap-num { display: none; }
  .topo.is-aberto .menu { display: flex; position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; gap: 0; background: var(--petroleo); padding: 8px var(--margem) 24px; box-shadow: 0 24px 40px rgba(0,0,0,.25); }
  .topo.is-aberto .menu a { font-size: 1.375rem; padding: 14px 0; }
  .topo.is-aberto .menu a::after { display: none; }
}
@media (min-width: 1021px) { .topo__zap { margin-left: 8px; } }

/* WhatsApp flutuante */
.zap-flutuante { position: fixed; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 900; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.28); transition: transform .2s var(--ease); }
.zap-flutuante:hover { transform: scale(1.07); }
.zap-flutuante.is-oculto { opacity: 0; transform: scale(.6); pointer-events: none; visibility: hidden; transition: opacity .25s, transform .25s, visibility 0s .25s; }
.zap-flutuante { transition: opacity .25s, transform .2s var(--ease), visibility 0s; }
.zap-flutuante svg { width: 32px; height: 32px; }

/* ── Rodapé ── */
.rodape { background: var(--petroleo-3); color: #d9d6ce; padding-top: clamp(72px, 9vw, 128px); }
.rodape .rodape__marca { font-size: clamp(3rem, 11.4vw, 11rem); font-weight: 700; line-height: .86; letter-spacing: -0.035em; color: var(--areia); }
.rodape__marca span { color: var(--cobre); }
.rodape__grade { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr; gap: 40px; margin-top: clamp(48px, 6vw, 80px); }
.rodape h2 { font-size: 1.125rem; letter-spacing: 0; color: var(--cobre); margin-bottom: 14px; }
.rodape li { margin-bottom: 8px; font-size: 1rem; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.rodape p { font-size: 1rem; }
.rodape__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-block: 28px 32px; background: transparent; font-size: .9375rem; color: #a9b1ae; }
@media (max-width: 900px) { .rodape__grade { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rodape__grade { grid-template-columns: 1fr; gap: 28px; } }

/* ── Entrada dos elementos ── */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
