/* Paleta tirada da logo (vinho e creme) e dos copinhos reais da Cocão */
:root {
  --vinho: #54121e;
  --vinho-escuro: #3a0b14;
  --tijolo: #9a2f2c;
  --creme: #f6ecdc;
  --creme-claro: #fbf6ee;
  --caramelo: #c48a45;
  --oliva: #6f7a36;
  --tinta: #2b1418;
  --tinta-suave: #6b5054;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme-claro);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--tijolo); }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--vinho); color: var(--creme); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  background: var(--vinho); color: var(--creme);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid var(--vinho); border-radius: 999px;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--vinho-escuro); border-color: var(--vinho-escuro); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--caramelo); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--vinho); }
.btn--ghost:hover { background: var(--vinho); color: var(--creme); }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }

.eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--tijolo); margin-bottom: 14px;
}

/* Topo */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter);
  background: rgba(251, 246, 238, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(91, 26, 43, .1);
}
.topbar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.375rem; font-weight: 600; color: var(--vinho); }
.topbar__brand img { width: 44px; height: 44px; border-radius: 50%; }
.topbar__nav { display: flex; gap: 28px; }
.topbar__nav a { text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--tinta-suave); }
.topbar__nav a:hover { color: var(--vinho); }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 6vw, 88px);
  padding: clamp(32px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 104px);
}
.hero__brand { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.hero__brand img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 10px 24px -12px rgba(58, 11, 20, .6); }
.seal {
  display: inline-block; margin: 0; padding: 8px 16px;
  border: 1.5px solid var(--vinho); border-radius: 999px;
  font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--vinho);
}
.hero h1 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); font-weight: 800; color: var(--vinho); }
.hero__lead { margin: 24px 0 32px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); max-width: 34ch; color: var(--tinta-suave); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__rating { margin: 28px 0 0; font-size: .9375rem; color: var(--tinta-suave); }
.hero__rating strong { font-family: var(--serif); font-size: 1.5rem; color: var(--vinho); margin-right: 4px; }

.arch { margin: 0; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--creme); }
.hero__photo { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(63, 15, 28, .45); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Faixa vinho */
.band { background: var(--vinho); color: var(--creme); padding: clamp(56px, 9vw, 120px) var(--gutter); text-align: center; }
.band__quote { margin: 0 auto; max-width: 980px; }
.band__quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 4.4vw, 3.5rem); line-height: 1.15; margin: 0 0 20px; }
.band__quote cite { font-style: normal; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--caramelo); }

/* História */
.story {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(64px, 10vw, 128px) var(--gutter);
}
.story__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); color: var(--vinho); margin-bottom: 28px; }
.story p { max-width: 52ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid rgba(91, 26, 43, .18); }
.facts div { margin: 0; }
.facts dt { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--tijolo); line-height: 1; }
.facts dd { margin: 6px 0 0; font-size: .875rem; color: var(--tinta-suave); }

/* Sabores */
.flavors { background: var(--creme); padding: clamp(64px, 10vw, 128px) var(--gutter); }
.flavors > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(2.25rem, 5vw, 4rem); color: var(--vinho); margin-bottom: 18px; }
.section-head p:last-child { max-width: 56ch; color: var(--tinta-suave); }

.star {
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: stretch;
  margin-bottom: 28px; overflow: hidden;
  background: var(--vinho); color: var(--creme); border-radius: var(--radius);
}
.star__text { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.star__text p { margin: 0; }
.star__photo { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.star__tag { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--caramelo); }
.star h3 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; max-width: 14ch; }
.star__text p:last-child { max-width: 34ch; color: rgba(246, 236, 220, .82); }

.flavor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flavor { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--vinho-escuro); }
.flavor img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.flavor:hover img { transform: scale(1.03); }
.flavor figcaption {
  position: absolute; inset: auto 0 0 0; padding: 64px 22px 22px;
  background: linear-gradient(to top, rgba(43, 20, 24, .88), rgba(43, 20, 24, 0));
  color: var(--creme);
}
.flavor strong { display: block; font-family: var(--serif); font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.1; }
.flavor span { display: block; margin-top: 6px; font-size: .9375rem; color: rgba(246, 236, 220, .85); }

.flavor-list { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.flavor-list__title { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--tijolo); }
.flavor-list ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.flavor-list li { padding: 8px 16px; border: 1.5px solid rgba(91, 26, 43, .28); border-radius: 999px; font-weight: 500; font-size: .9375rem; color: var(--vinho); }

/* Preços */
.prices { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prices__col { padding: 28px; background: var(--creme-claro); border-radius: var(--radius); border-top: 3px solid var(--vinho); }
.prices h3 { font-size: 1.5rem; color: var(--vinho); margin-bottom: 16px; }
.prices h3 em { display: block; margin-top: 4px; font-family: var(--sans); font-style: normal; font-size: .875rem; font-weight: 500; color: var(--tinta-suave); }
.prices dl { margin: 0; }
.prices dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(84, 18, 30, .2); }
.prices dt { font-weight: 500; }
.prices dd { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--tijolo); }
.prices__note { grid-column: 1 / -1; margin: 0; font-size: .875rem; color: var(--tinta-suave); }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; } }

/* Clientes */
.reviews { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 128px) var(--gutter); }
.big-num { font-weight: 800; color: var(--tijolo); }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { margin: 0; padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid rgba(91, 26, 43, .1); border-radius: var(--radius); }
.review p { font-family: var(--serif); font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.4; color: var(--tinta); }
.review cite { font-style: normal; font-weight: 600; font-size: .9375rem; color: var(--tijolo); }
.review cite::before { content: "★★★★★ "; letter-spacing: 2px; color: var(--caramelo); }
.reviews__source { margin-top: 20px; font-size: .8125rem; color: var(--tinta-suave); }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery__link {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  aspect-ratio: 1; padding: 16px; text-align: center; text-decoration: none;
  background: var(--tijolo); color: var(--creme);
  font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.1;
  transition: background .2s;
}
.gallery__link span { font-family: var(--sans); font-size: .875rem; font-weight: 500; opacity: .85; }
.gallery__link:hover { background: var(--vinho); }

/* Como pedir */
.how { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 128px) var(--gutter) 0; }
.how__photos { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-bottom: 20px; height: clamp(320px, 36vw, 480px); }
.how__photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.how__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding: 28px; border-top: 3px solid var(--vinho); background: var(--creme); border-radius: 0 0 var(--radius) var(--radius); }
.steps span { display: block; font-family: var(--serif); font-size: 2.75rem; font-weight: 800; line-height: 1; color: var(--caramelo); margin-bottom: 14px; }
.steps h3 { font-size: 1.5rem; color: var(--vinho); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--tinta-suave); }

/* Visite */
.visit {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(64px, 10vw, 128px) var(--gutter);
}
.visit h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); color: var(--vinho); margin-bottom: 28px; }
.visit__list { margin: 0 0 32px; display: grid; gap: 18px; }
.visit__list div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(91, 26, 43, .14); }
.visit__list dt { font-weight: 600; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tijolo); padding-top: 3px; }
.visit__list dd { margin: 0; }
.visit__map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--creme); box-shadow: 0 24px 48px -28px rgba(63, 15, 28, .4); }
.visit__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Rodapé */
.footer { background: var(--vinho-escuro); color: var(--creme); padding: 0 var(--gutter) 40px; overflow: hidden; }
.footer__big {
  margin: 0 auto; max-width: var(--max);
  font-family: var(--serif); font-weight: 800; font-size: clamp(5rem, 22vw, 18rem); line-height: .9;
  letter-spacing: -0.03em; color: var(--vinho); padding-top: 32px;
}
.footer__row { max-width: var(--max); margin: 24px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
.footer__row img { width: 72px; height: 72px; border-radius: 50%; }
.footer__row p { margin: 0; flex: 1 1 240px; color: rgba(246, 236, 220, .8); }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.footer__links a { text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(246, 236, 220, .4); padding-bottom: 2px; }
.footer__links a:hover { border-color: var(--caramelo); color: var(--caramelo); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 12px 22px 12px 16px;
  background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 600;
  border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45);
  transition: transform .2s, background .2s;
}
.wa-float:hover { background: #18743f; transform: translateY(-2px); }

/* Animação de entrada */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Tablet */
@media (max-width: 960px) {
  .topbar__nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr 1fr; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .flavor-grid .flavor:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .visit { grid-template-columns: 1fr; }
  .star { grid-template-columns: 1fr; }
  .star__photo { max-height: 380px; }
  .how__photos { grid-template-columns: 1fr 1.4fr; height: 340px; }
}

/* Celular */
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero__photo { order: -1; max-width: 420px; width: 100%; margin: 0 auto; aspect-ratio: 5 / 5.4; }
  .hero__lead { margin: 18px 0 24px; }
  .story { grid-template-columns: 1fr; }
  .story__photo { aspect-ratio: 4 / 3.4; }
  .flavor-grid { grid-template-columns: 1fr; }
  .flavor-grid .flavor:last-child { aspect-ratio: 4 / 5; }
  .review-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .how__photos { grid-template-columns: 1fr; height: auto; }
  .how__photo { aspect-ratio: 4 / 3; }
  .visit__list div { grid-template-columns: 1fr; gap: 4px; }
  .facts dt { font-size: 2rem; }
  .wa-float { right: 16px; bottom: 16px; padding: 14px; }
  .wa-float span { display: none; }
  .topbar__brand span { display: none; }
}
