/* ===== Virada Fest 2027 — estilos ===== */
:root {
  --cream: #F6EFE3;
  --cream-2: #EFE5D4;
  --ink: #1F1A17;
  --muted: #5E554C;
  --terra: #B9532B;
  --terra-dark: #973F1E;
  --teal: #0F5E5E;
  --teal-dark: #0A4545;
  --navy: #0E1B33;
  --navy-2: #13233F;
  --gold: #C9A66B;
  --gold-soft: #E4CFA4;
  --buy: #7CC4F0;        /* botões de compra (azul dos copos). Para voltar ao terracota: #B9532B */
  --buy-hover: #A6D8F6;  /* terracota: #973F1E */
  --buy-text: #0E1B33;   /* terracota: #FFFFFF */
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 26, 23, .10);
  --font-title: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 76px; /* espaço da barra fixa no celular */
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ===== Tipografia ===== */
.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terra);
}
.eyebrow--light { color: var(--gold-soft); }
.title {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(30px, 6.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--navy);
  text-wrap: balance;
}
.title--light { color: var(--white); }
.lead { margin: 0 0 24px; font-size: clamp(17px, 2.2vw, 19px); color: var(--muted); max-width: 62ch; }
.lead--light { color: rgba(255, 255, 255, .86); }

.ornament { display: block; width: 64px; height: 2px; background: var(--terra); margin: 0 auto 24px; position: relative; }
.ornament::after { content: ''; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; background: var(--cream); border: 2px solid var(--terra); transform: translate(-50%, -50%) rotate(45deg); }
.ornament--gold { background: var(--gold); }
.ornament--gold::after { border-color: var(--gold); background: var(--navy); }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 800; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--buy); color: var(--buy-text); }
.btn--primary:hover { background: var(--buy-hover); }
.sectors .btn--primary, .buybar .btn--primary { box-shadow: inset 0 0 0 1.5px rgba(14, 27, 51, .18); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-dark); }
.btn--sm { min-height: 48px; padding: 10px 20px; font-size: 13px; }
.btn--lg { min-height: 58px; padding: 16px 40px; font-size: 16px; }
.btn--block { width: 100%; }

/* ===== Cabeçalho ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header.is-solid { background: var(--cream); box-shadow: 0 1px 0 rgba(31, 26, 23, .08); }

.logo { text-decoration: none; color: var(--white); display: flex; flex-direction: column; line-height: 1; }
.logo__small { font-family: var(--font-title); font-style: italic; font-weight: 500; font-size: 15px; color: var(--gold-soft); }
.logo__main { font-family: var(--font-body); font-weight: 800; font-size: 19px; letter-spacing: .1em; text-transform: uppercase; }
.logo__main b { color: var(--gold); font-weight: 800; }
.header.is-solid .logo { color: var(--navy); }
.header.is-solid .logo__small { color: var(--terra); }
.header.is-solid .logo__main b { color: var(--terra); }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px; border: 0; background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.header.is-solid .menu-toggle span, .header.is-open .menu-toggle span { background: var(--navy); }
.header.is-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
.header.is-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--cream); padding: 8px 20px 24px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, .12);
  display: none;
}
.header.is-open { background: var(--cream); }
.header.is-open .logo { color: var(--navy); }
.header.is-open .logo__small, .header.is-open .logo__main b { color: var(--terra); }
.header.is-open .nav { display: block; }
.nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.nav li a { display: block; padding: 14px 4px; font-weight: 700; text-decoration: none; color: var(--navy); border-bottom: 1px solid rgba(31, 26, 23, .08); }
.nav .btn { width: 100%; }

/* ===== Capa ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--navy); }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 27, 51, .55) 0%, rgba(14, 27, 51, .25) 35%, rgba(14, 27, 51, .85) 75%, rgba(14, 27, 51, .95) 100%); }
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 104px; }
.hero__title {
  margin: 0 0 14px;
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(38px, 9vw, 76px); line-height: 1.04; letter-spacing: -.015em;
  max-width: 15ch; text-wrap: balance;
}
.hero__sub { margin: 0 0 22px; font-size: clamp(17px, 2.4vw, 21px); color: rgba(255, 255, 255, .9); max-width: 40ch; }
.seals { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.seals li {
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 14px; border: 1px solid rgba(228, 207, 164, .6); border-radius: 999px;
  color: var(--gold-soft); background: rgba(14, 27, 51, .45);
}
.hero__ctas { display: flex; flex-direction: column; gap: 12px; }

/* ===== Tradição ===== */
.tradition { padding: 80px 0; text-align: center; background: var(--cream); }
.tradition__inner { max-width: 820px; }
.tradition .lead { margin: 0 auto; }

/* ===== Experiências ===== */
.experience { padding: 72px 0 88px; background: var(--cream-2); }
.cards { display: grid; gap: 20px; margin-top: 32px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px 24px 28px; border-top: 3px solid var(--terra); }
.card h3 { margin: 0 0 8px; font-family: var(--font-title); font-size: 24px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); }

/* ===== Local ===== */
.venue { padding: 88px 0; background: var(--cream); }
.venue__grid { display: grid; gap: 36px; align-items: center; }
.venue__media { display: grid; gap: 12px; }
.venue__main { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.venue__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.venue__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.venue__address { font-style: normal; font-weight: 700; color: var(--teal); margin: 0 0 24px; padding-left: 14px; border-left: 3px solid var(--gold); }

/* ===== Galeria ===== */
.gallery { padding: 88px 0 72px; background: var(--cream-2); }
.gallery__track {
  list-style: none; margin: 24px 0 0; padding: 4px 20px 12px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track li { scroll-snap-align: center; }
.gallery__track button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--navy); }
.gallery__track img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s; }
.gallery__track button:hover img { transform: scale(1.03); }
.gallery__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); font-size: 20px; cursor: pointer; }
.round-btn:hover { background: var(--navy); color: var(--white); }

/* ===== Vídeo ===== */
.video { padding: 88px 0; background: var(--navy); text-align: center; }
.video__frame { position: relative; margin: 28px auto 0; max-width: 900px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid rgba(201, 166, 107, .4); }
.video__frame iframe, .video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__cover { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #000; }
.video__cover img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 10px rgba(185, 83, 43, .25); }
.video__play::after { content: ''; position: absolute; left: 31px; top: 24px; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }

/* ===== CTA ===== */
.cta { position: relative; padding: 104px 0; text-align: center; overflow: hidden; background: var(--navy); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(.8); transform: scale(1.05); opacity: .35; }
.cta__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14, 27, 51, .6) 0%, rgba(14, 27, 51, .95) 75%); }
.cta__inner { position: relative; max-width: 760px; }
.cta .lead { margin: 0 auto 32px; }
.cta__note { margin: 18px 0 0; color: var(--gold-soft); font-size: 15px; }

/* ===== FAQ ===== */
.faq { padding: 88px 0; background: var(--cream); }
.faq__inner { max-width: 820px; }
.faq__list { margin-top: 24px; border-top: 1px solid rgba(31, 26, 23, .14); }
.faq details { border-bottom: 1px solid rgba(31, 26, 23, .14); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 48px 20px 0; min-height: 48px;
  font-weight: 700; font-size: 17px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--terra); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__answer { padding: 0 0 20px; color: var(--muted); }
.faq__answer p { margin: 0; }
.faq__more { margin: 28px 0 0; color: var(--muted); }
.faq__more a { color: var(--teal); font-weight: 700; }

/* ===== Rodapé ===== */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 64px 0 24px; }
.footer__grid { display: grid; gap: 32px; }
.logo--footer { color: var(--white); margin-bottom: 14px; }
.footer__title { margin: 0 0 12px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.footer__text { margin: 0; font-style: normal; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links a { display: inline-block; padding: 6px 0; text-decoration: none; }
.footer__links a:hover, .footer__bottom a:hover { color: var(--gold-soft); }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.footer__bottom p { margin: 4px 0; }
.footer__bottom a { text-decoration: none; }

/* ===== Barra fixa de compra e WhatsApp ===== */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 239, 227, .96); backdrop-filter: blur(8px);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .10);
}
.wa-float {
  position: fixed; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 41;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  transition: opacity .25s, transform .25s;
}
.wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 14, 28, .95); display: flex; align-items: center; justify-content: center; padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; cursor: pointer; }
.lightbox__close { top: 12px; right: 12px; font-size: 30px !important; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ===== Data na capa ===== */
.hero__when { display: flex; flex-direction: column; gap: 2px; margin: 0 0 22px; font-weight: 700; font-size: 15px; color: var(--white); }
@media (min-width: 700px) { .hero__when { flex-direction: row; } .hero__when span + span::before { content: '·'; margin: 0 10px; color: var(--gold); } }

/* ===== Setores ===== */
.sectors { padding: 88px 0; background: var(--cream); }
.sectors__grid { display: grid; gap: 20px; margin-top: 32px; align-items: stretch; }
.sector { display: flex; flex-direction: column; gap: 18px; padding: 28px 24px; background: var(--white); border: 1px solid rgba(31, 26, 23, .10); border-radius: var(--radius); box-shadow: var(--shadow); }
.sector--feature { background: var(--navy); color: rgba(255, 255, 255, .86); border-color: var(--navy); }
.sector__head { padding-bottom: 18px; border-bottom: 1px solid rgba(31, 26, 23, .12); }
.sector--feature .sector__head { border-color: rgba(201, 166, 107, .35); }
.sector h3 { margin: 0; font-family: var(--font-title); font-size: 28px; color: var(--navy); }
.sector--feature h3 { color: var(--white); }
.sector__type { margin: 4px 0 0; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); }
.sector--feature .sector__type { color: var(--gold-soft); }
.sector__price { margin: 12px 0 0; font-weight: 800; font-size: 20px; color: var(--teal); }
.sector--feature .sector__price { color: var(--gold-soft); }
.sector__block h4 { margin: 0 0 4px; font-size: 14px; font-weight: 800; color: var(--navy); }
.sector--feature .sector__block h4 { color: var(--gold); }
.sector__block p { margin: 0; font-size: 15px; color: var(--muted); }
.sector--feature .sector__block p { color: rgba(255, 255, 255, .82); }
.sector__perk { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--cream-2); border-left: 3px solid var(--gold); font-weight: 800; font-size: 14px; color: var(--teal); }
.sector .btn { margin-top: auto; }
.sectors__extra { display: grid; gap: 18px; margin-top: 20px; padding: 24px; border-radius: var(--radius); background: var(--cream-2); border: 1px solid rgba(31, 26, 23, .08); }
.sectors__extra h3 { margin: 0 0 4px; font-family: var(--font-title); font-size: 20px; color: var(--navy); }
.sectors__extra p { margin: 0; font-size: 15px; color: var(--muted); }
.sectors__extra .btn { justify-self: start; }
@media (min-width: 960px) { .sectors__extra { grid-template-columns: 1fr 1fr auto; align-items: center; gap: 32px; padding: 28px 32px; } }
.sectors__note { margin: 24px 0 0; font-size: 15px; color: var(--muted); }
.sectors__note span { font-weight: 700; color: var(--ink); }
@media (min-width: 960px) {
  .sectors { padding: 120px 0; }
  .sectors__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sector { padding: 36px 32px; }
}

/* ===== Aviso de pré-venda ===== */
.aviso { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 14, 28, .72); }
.aviso[hidden] { display: none; }
.aviso__box { position: relative; width: 100%; max-width: 440px; padding: 36px 28px 24px; background: var(--cream); border-radius: var(--radius); border-top: 4px solid var(--terra); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); text-align: center; }
.aviso__titulo { margin: 0 0 12px; font-family: var(--font-title); font-size: 28px; line-height: 1.15; color: var(--navy); text-wrap: balance; }
.aviso__texto { margin: 0 0 24px; color: var(--muted); }
.aviso__fechar { position: absolute; top: 8px; right: 8px; width: 48px; height: 48px; border: 0; background: transparent; font-size: 28px; color: var(--navy); cursor: pointer; }
.aviso__voltar { display: block; width: 100%; min-height: 48px; margin-top: 8px; border: 0; background: transparent; color: var(--teal); font-weight: 700; cursor: pointer; }

/* ===== Contador ===== */
.countdown { margin: 0 0 24px; }
.countdown__label { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.countdown__grid { display: flex; gap: 8px; }
.countdown__grid div { min-width: 64px; padding: 10px 8px 8px; text-align: center; border: 1px solid rgba(228, 207, 164, .4); border-radius: 10px; background: rgba(14, 27, 51, .55); }
.countdown__grid span { display: block; font-family: var(--font-title); font-size: 28px; font-weight: 700; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.countdown__grid small { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
@media (min-width: 960px) { .countdown__grid div { min-width: 78px; } .countdown__grid span { font-size: 34px; } }

/* ===== Telas maiores ===== */
@media (min-width: 700px) {
  .hero__ctas { flex-direction: row; }
  .gallery__track { grid-auto-columns: 40%; }
  .hero__content { padding-bottom: 72px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  :root { --header-h: 80px; }
  body { padding-bottom: 0; }
  .buybar { display: none; }
  .wa-float { bottom: 24px; right: 24px; }
  .menu-toggle { display: none; }
  .nav { position: static; display: flex; align-items: center; gap: 28px; padding: 0; background: none; box-shadow: none; }
  .nav ul { display: flex; gap: 26px; margin: 0; }
  .nav li a { padding: 8px 0; border: 0; color: var(--white); font-size: 15px; }
  .header.is-solid .nav li a { color: var(--navy); }
  .nav li a:hover { color: var(--gold-soft); }
  .header.is-solid .nav li a:hover { color: var(--terra); }
  .nav .btn { width: auto; }
  .hero { align-items: center; }
  .hero__content { padding-bottom: 80px; }
  .gallery__track { padding-right: 40px; }
  .tradition { padding: 112px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .venue { padding: 120px 0; }
  .venue__grid { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .gallery__track { grid-auto-columns: calc((100% - 48px) / 4.3); padding-left: max(20px, calc((100vw - 1160px) / 2 + 20px)); }
  .cta { padding: 136px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
