@font-face {
  font-family: "Gin Tio Nan";
  src: url("GinTest-Round.otf") format("opentype");
  font-display: swap;
}

:root {
  --navy: #0b284b;
  --navy-soft: #173e6c;
  --gold: #c79a49;
  --gold-soft: #ecd6aa;
  --ink: #19283c;
  --muted: #66758a;
  --ivory: #f8f4eb;
  --paper: #fffdfa;
  --line: #e7ddcb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 76px 1fr 76px;
  align-items: center;
  height: 78px;
  background: rgba(255, 253, 250, .92);
  border-bottom: 1px solid rgba(199, 154, 73, .22);
  backdrop-filter: blur(16px);
}
.back, .home {
  display: grid;
  place-items: center;
  height: 48px;
  color: var(--navy);
  text-decoration: none;
  font-size: 28px;
  transition: color .2s ease, transform .2s ease;
}
.back:hover, .home:hover { color: var(--gold); transform: translateY(-1px); }
.brand {
  justify-self: center;
  color: #080808;
  text-decoration: none;
  font: 400 30px/1 "Gin Tio Nan", Georgia, serif;
  letter-spacing: .03em;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 90px) 26px;
  background:
    radial-gradient(circle at 8% 8%, rgba(199, 154, 73, .22), transparent 32%),
    radial-gradient(circle at 90% 92%, rgba(79, 119, 164, .2), transparent 32%),
    linear-gradient(135deg, #071d37, #0d3158 65%, #143e69);
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(120deg, transparent 0 48%, rgba(255,255,255,.08) 48% 49%, transparent 49% 100%);
  background-size: 38px 38px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(50px, 7vw, 100px);
  row-gap: 14px;
  align-items: center;
}
.hero-inner > .eyebrow { grid-column: 1; grid-row: 1; align-self: end; }
.hero-inner > h1 { grid-column: 1; grid-row: 2; align-self: start; }
.hero-inner > p { grid-column: 1; grid-row: 3; align-self: start; }
.hero-inner::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / 4;
  width: 100%;
  height: 470px;
  border: 1px solid rgba(236, 214, 170, .7);
  border-radius: 4px 42px 4px 42px;
  background: center / cover no-repeat;
  box-shadow: 0 32px 70px rgba(0, 0, 0, .34), 16px 16px 0 rgba(199, 154, 73, .13);
}
html:has(link[rel="canonical"][href$="sobre.html"]) .hero-inner::after { background-image: url("fotos/gengibre-guaco-mel.webp"); }
html:has(link[rel="canonical"][href$="entregas.html"]) .hero-inner::after { background-image: url("fotos/cachaca-ouro.webp"); }
html:has(link[rel="canonical"][href$="cachaca-porto-alegre"]) .hero-inner::after { background-image: url("fotos/cachaca-ouro.webp"); }
html:has(link[rel="canonical"][href$="trocas-devolucoes.html"]) .hero-inner::after { background-image: url("fotos/gengibre-guaco-mel.webp"); }
html:has(link[rel="canonical"][href$="privacidade.html"]) .hero-inner::after { background-image: url("fotos/cachaca-ouro.webp"); }
html:has(link[rel="canonical"][href$="termos.html"]) .hero-inner::after { background-image: url("fotos/gengibre-guaco-mel.webp"); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 {
  max-width: 610px;
  margin: 10px 0 14px;
  color: white;
  font: 700 clamp(46px, 5.2vw, 74px)/.98 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero p {
  max-width: 570px;
  margin: 0;
  color: #d7e1ed;
  font-size: clamp(18px, 1.55vw, 21px);
}

.content {
  width: min(900px, calc(100% - 48px));
  margin: auto;
  padding: clamp(64px, 8vw, 104px) 0;
}
.content h2 {
  position: relative;
  margin: 60px 0 18px;
  padding-top: 22px;
  color: var(--navy);
  font: 700 clamp(28px, 3.5vw, 38px)/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}
.content h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 3px;
  border-radius: 9px;
  background: var(--gold);
}
.content h2:first-child { margin-top: 0; }
.content h3 { margin: 32px 0 9px; color: var(--navy); font-size: 20px; }
.content p, .content li { font-size: 17px; }
.content p { max-width: 820px; }
.content ul { padding: 6px 0 6px 24px; }
.content li { padding: 4px 0 4px 5px; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 38px 0;
}
.info-card {
  position: relative;
  min-height: 136px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #faf6ee);
  box-shadow: 0 16px 38px rgba(11, 40, 75, .07);
}
.info-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: rgba(199, 154, 73, .09);
}
.info-card strong { display: block; margin-bottom: 7px; color: var(--navy); font-size: 18px; }
.callout {
  margin: 44px 0;
  padding: 30px 34px;
  border: 1px solid rgba(199, 154, 73, .38);
  border-radius: 20px;
  background: linear-gradient(135deg, #0c294b, #153e69);
  color: #eef3f8;
  box-shadow: 0 20px 46px rgba(11, 40, 75, .16);
}
.callout strong { color: #fff; }
.callout a { color: #f3d89f; }
a { color: var(--navy-soft); text-underline-offset: 4px; }
.content a:hover { color: #8f641d; }
.updated {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px !important;
}

.page-footer {
  padding: 48px 24px;
  background: #071d37;
  color: white;
  border-top: 3px solid var(--gold);
}
.footer-inner { width: min(900px, 100%); margin: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 26px; }
.footer-links a { color: white; }
.legal { color: #c6d2e0; font-size: 13px; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; row-gap: 18px; }
  .hero-inner > .eyebrow, .hero-inner > h1, .hero-inner > p, .hero-inner::after { grid-column: 1; }
  .hero-inner > .eyebrow { grid-row: 1; }
  .hero-inner > h1 { grid-row: 2; }
  .hero-inner > p { grid-row: 3; }
  .hero-inner::after { grid-row: 4; height: min(58vw, 430px); margin-top: 16px; }
}

@media (max-width: 640px) {
  .site-header { height: 66px; grid-template-columns: 58px 1fr 58px; }
  .brand { font-size: 25px; }
  .hero { padding: 42px 20px 46px; }
  .hero h1 { font-size: clamp(40px, 12vw, 53px); }
  .hero p { font-size: 17px; }
  .hero-inner::after { height: 260px; border-radius: 3px 24px 3px 24px; box-shadow: 0 22px 44px rgba(0,0,0,.28), 8px 8px 0 rgba(199,154,73,.14); }
  .content { width: calc(100% - 36px); padding: 56px 0 72px; }
  .content h2 { margin-top: 48px; font-size: 29px; }
  .content p, .content li { font-size: 16px; }
  .info-grid { grid-template-columns: 1fr; gap: 12px; }
  .info-card { min-height: 0; padding: 23px; }
  .callout { padding: 25px; border-radius: 16px; }
  .footer-links { display: grid; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-inner::after { animation: reveal .7s ease both; }
  @keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
