:root {
  --wine: #8b1e3f;
  --wine-dark: #68142e;
  --dark: #31120d;
  --brown: #6f625c;
  --cream: #f6f0e7;
  --cream-strong: #eadfcf;
  --paper: #fffaf4;
  --gold: #d9a327;
  --gold-soft: #e2b460;
  --line: #dccbbb;
  --shadow-soft: 0 18px 50px rgba(49, 18, 13, .08);
  --shadow-card: 0 10px 32px rgba(49, 18, 13, .12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --touch: 44px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: #2e211d;
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

img, iframe { max-width: 100%; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: .75rem;
  z-index: 2000;
  padding: .75rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--wine);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

#conteudo:focus {
  outline: none;
}

a {
  color: var(--wine);
  text-underline-offset: .18em;
}

a:hover { color: var(--wine-dark); }

.touch-link,
.breadcrumb-lite a,
main > .container > nav.mb-4 a,
main .container > nav.mb-4 a,
.locked a,
footer a {
  display: inline-flex;
  min-height: var(--touch);
  align-items: center;
}



.breadcrumb-lite a,
main > .container > nav.mb-4 a,
main .container > nav.mb-4 a {
  min-width: var(--touch);
}
h1, h2, h3, .brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.glass {
  background: rgba(49, 18, 13, .94);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.navbar { min-height: 72px; }

.navbar-toggler { min-height: var(--touch); }

.navbar .nav-link {
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
  padding-inline: .9rem !important;
}

.navbar .nav-link.active,
.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.navbar .btn { min-height: var(--touch); }

.brand {
  display: inline-flex;
  min-height: var(--touch);
  align-items: baseline;
  gap: .25rem;
  font-size: 1.05rem;
  font-style: italic;
  white-space: nowrap;
}

.brand strong {
  display: inline-block;
  font-size: 1.65rem;
  font-style: normal;
  letter-spacing: .03em;
}

.hero {
  position: relative;
  min-height: clamp(640px, 86vh, 760px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 122, 43, .22), transparent 28%),
    linear-gradient(100deg, rgba(55, 7, 31, .98) 0%, rgba(91, 14, 46, .88) 31%, rgba(116, 31, 59, .48) 54%, rgba(15, 34, 38, .32) 100%),
    linear-gradient(180deg, rgba(24, 8, 20, .08), rgba(55, 7, 31, .78)),
    url('../images/chef-rosely.jpg') center 38%/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(55, 7, 31, .82));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(230px, 1fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  width: 100%;
  padding-top: clamp(9rem, 13vh, 12rem);
  padding-bottom: clamp(3rem, 9vh, 4.8rem);
}

.hero-copy { max-width: 760px; }

.hero h1 {
  max-width: 760px;
  margin: .85rem 0 0;
  color: #fff;
  font-size: clamp(4.3rem, 8.8vw, 7.55rem);
  line-height: .82;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 18px 52px rgba(26, 3, 16, .32);
}

.hero em,
h2 em,
h1 em { color: #f2c6cf; font-weight: 400; }

.hero .lead {
  max-width: 680px;
  margin: 2rem 0 2.55rem;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(1.05rem, 1.45vw, 1.26rem);
  line-height: 1.62;
  text-shadow: 0 8px 28px rgba(26, 3, 16, .3);
}

.hero .kicker {
  color: #fff !important;
  letter-spacing: .24em;
  font-size: .78rem;
  font-weight: 900;
  text-shadow: 0 8px 24px rgba(26, 3, 16, .38);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.hero .btn {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  border-radius: 0;
  padding: .95rem 1.45rem;
  font-size: .95rem;
  font-weight: 800;
}

.hero .btn-light {
  border-color: #fff;
  color: var(--wine-dark);
  background: #fff;
}

.hero .btn-outline-light {
  min-width: 142px;
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
  background: rgba(255, 255, 255, .03);
}

.hero-date {
  align-self: end;
  max-width: 330px;
  margin-left: auto;
  margin-bottom: .65rem;
  color: #fff;
}

.hero-date-line {
  height: 1px;
  margin-bottom: 1.1rem;
  background: rgba(255, 255, 255, .55);
}

.hero-date-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.65rem;
}

.hero-date strong {
  font-size: 1.06rem;
  letter-spacing: .02em;
  white-space: nowrap;
}

.hero-date strong:last-child { text-align: right; }

.hero-date span {
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
}

.hero-date p {
  margin: 1.05rem 0 0;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  font-weight: 700;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .17em;
  color: var(--wine);
  font-size: .75rem;
  font-weight: 700;
}

.py-section { padding: clamp(4.5rem, 9vw, 7rem) 0; }

.page-top { padding-top: 96px; }
.pb-section { padding-bottom: clamp(4.5rem, 9vw, 7rem); }

.participant-hero {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.participant-photo {
  position: relative;
}

.participant-photo figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: .65rem .85rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(49, 18, 13, .78);
  font-size: .85rem;
  backdrop-filter: blur(8px);
}

.participant-dish-label {
  color: var(--brown);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}

.participant-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.participant-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: .35rem .8rem;
  border-radius: 999px;
  color: var(--dark);
  background: #f0d49a;
  font-weight: 800;
}

.participant-actions .btn {
  border-radius: 999px;
}

.info-panel {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 34px rgba(49, 18, 13, .06);
}

.info-panel h3 {
  font-size: clamp(1.8rem, 4vw, 2.35rem);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.info-grid > div {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.info-grid small {
  display: block;
  margin-bottom: .25rem;
  color: var(--brown);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}

.info-grid b {
  display: block;
  line-height: 1.35;
}



.institutional-hero {
  background: linear-gradient(135deg, #fffaf4, #f0e6d8);
}

.institutional-notice {
  padding: 1rem 1.25rem;
  border: 1px solid #e7c86f;
  border-radius: var(--radius-md);
  background: #fff7dc;
  color: var(--dark);
  font-weight: 700;
}

.institutional-blocks {
  display: grid;
  gap: 1rem;
}

.institutional-blocks .info-panel h2,
.participation-form h2,
.institutional-steps h2 {
  font-size: clamp(1.65rem, 4vw, 2.2rem);
}

.institutional-steps li {
  align-items: flex-start;
}


.institutional-page-festival .institutional-hero {
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.institutional-page-festival .institutional-hero .lead {
  max-width: 980px;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  line-height: 1.42;
}

.institutional-page-festival .institutional-blocks {
  margin-top: clamp(-3.5rem, -5vw, -2rem);
  gap: 1.25rem;
}

.festival-card {
  position: relative;
  min-height: 190px;
  padding: clamp(1.5rem, 3.4vw, 2.55rem);
  overflow: hidden;
  background: linear-gradient(135deg, #fffdf8 0%, #fffaf4 58%, #f4eadb 100%);
}

.festival-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--wine);
  opacity: .9;
}

.festival-card::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  top: 50%;
  width: clamp(5rem, 10vw, 8rem);
  aspect-ratio: 1;
  border: 1px solid rgba(139, 30, 63, .16);
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at center, rgba(139, 30, 63, .1) 0 10%, transparent 11% 100%),
    repeating-radial-gradient(circle at center, transparent 0 18px, rgba(139, 30, 63, .08) 19px 20px);
  pointer-events: none;
}

.festival-card-icon {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: var(--wine);
  color: #fffaf4;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 0 14px 30px rgba(139, 30, 63, .22);
}

.festival-card h2,
.festival-card p {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.festival-card h2 {
  color: var(--dark);
}

.festival-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-md);
  background: var(--wine);
  color: #fffaf4;
  box-shadow: 0 18px 44px rgba(49, 18, 13, .16);
}

.festival-final-cta .kicker {
  color: #f1c5d4;
}

.festival-final-cta h2 {
  max-width: 720px;
  margin-bottom: .75rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: .98;
}

.festival-final-cta p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 250, 244, .86);
  font-size: 1.05rem;
}

.festival-final-cta .btn {
  background: #fffaf4;
  color: var(--wine);
  border-color: #fffaf4;
  white-space: nowrap;
}

.festival-final-cta .btn:hover,
.festival-final-cta .btn:focus {
  background: #f1c5d4;
  border-color: #f1c5d4;
  color: var(--wine-dark);
}

@media (max-width: 767.98px) {
  .institutional-page-festival .institutional-hero {
    padding-bottom: 3rem;
  }

  .institutional-page-festival .institutional-blocks {
    margin-top: -1.5rem;
  }

  .festival-card::after {
    right: -1.5rem;
    opacity: .7;
  }

  .festival-final-cta {
    grid-template-columns: 1fr;
  }

  .festival-final-cta .btn {
    width: 100%;
  }
}

.institutional-page-como-votar .institutional-hero {
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.institutional-page-como-votar .institutional-hero .lead {
  max-width: 960px;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  line-height: 1.42;
}

.voting-steps {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(-3.5rem, -5vw, -2rem);
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.voting-steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
  min-height: 150px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fffdf8 0%, #fffaf4 60%, #f4eadb 100%);
  box-shadow: 0 12px 34px rgba(49, 18, 13, .07);
  overflow: hidden;
}

.voting-steps li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--wine);
}

.voting-steps li::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  width: clamp(7rem, 13vw, 10rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 30, 63, .13) 0 18%, transparent 19% 100%);
  border: 1px solid rgba(139, 30, 63, .12);
}

.voting-steps li > b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--wine);
  color: #fffaf4;
  font-size: .9rem;
  letter-spacing: .08em;
}

.voting-step-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-8deg);
  background: #f1c5d4;
  color: var(--wine);
  font-size: 1.8rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(139, 30, 63, .12);
}

.voting-steps li > div {
  position: relative;
  z-index: 1;
}

.voting-steps h2 {
  margin-bottom: .35rem;
  color: var(--dark);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.voting-steps p {
  max-width: 780px;
  margin-bottom: 0;
  color: #56443d;
  font-size: 1.02rem;
}

.voting-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-md);
  background: var(--wine);
  color: #fffaf4;
  box-shadow: 0 18px 44px rgba(49, 18, 13, .16);
}

.voting-final-cta .kicker {
  color: #f1c5d4;
}

.voting-final-cta h2 {
  max-width: 720px;
  margin-bottom: .75rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: .98;
}

.voting-final-cta p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 250, 244, .86);
  font-size: 1.05rem;
}

.voting-final-cta .btn {
  background: #fffaf4;
  color: var(--wine);
  border-color: #fffaf4;
  white-space: nowrap;
}

.voting-final-cta .btn:hover,
.voting-final-cta .btn:focus {
  background: #f1c5d4;
  border-color: #f1c5d4;
  color: var(--wine-dark);
}

@media (max-width: 767.98px) {
  .institutional-page-como-votar .institutional-hero {
    padding-bottom: 3rem;
  }

  .voting-steps {
    margin-top: -1.5rem;
  }

  .voting-steps li {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
  }

  .voting-step-icon {
    grid-column: 1 / -1;
    width: 3.75rem;
    height: 3.75rem;
    font-size: 1.55rem;
  }

  .voting-steps li > div {
    grid-column: 1 / -1;
  }

  .voting-final-cta {
    grid-template-columns: 1fr;
  }

  .voting-final-cta .btn {
    width: 100%;
  }
}
.participation-form {
  margin-top: 1.5rem;
}
.prepared-request {
  display: grid;
  gap: .5rem;
  margin: 1.25rem 0 0;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  list-style: none;
}
.city-hero {
  background: linear-gradient(135deg, #fffaf4, #f0e6d8);
}

.city-stats,
.route-summary {
  display: grid;
  gap: .15rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 10px 34px rgba(49, 18, 13, .06);
}

.city-stats b,
.route-summary b {
  color: var(--wine);
  font: 3rem/1 "Cormorant Garamond", Georgia, serif;
}

.city-stats span,
.route-summary span {
  color: var(--dark);
  font-weight: 800;
}

.city-stats small,
.route-summary small {
  color: var(--brown);
}

.route-list {
  display: grid;
  gap: 2rem;
}

.route-group {
  display: grid;
  gap: 1rem;
}

.route-group-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}

.route-group-header h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
}

.route-group-header span {
  color: var(--brown);
  font-weight: 800;
}

.route-item-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.route-item-body h3 {
  margin-top: .35rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.route-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: auto;
}

.route-item-actions a,
.route-item-actions button {
  display: inline-flex;
  min-height: var(--touch);
  align-items: center;
}

.route-remove {
  border: 0;
  padding: 0;
  color: var(--wine);
  background: transparent;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.route-note h2 {
  max-width: 760px;
}
.participant-info .display-6 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.breadcrumb-lite,
main > .container > nav.mb-4,
main .container > nav.mb-4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  color: var(--brown);
  font-size: .95rem;
}

.touch-link,
.breadcrumb-lite a,
main > .container > nav.mb-4 a,
main .container > nav.mb-4 a { font-weight: 700; }

.countdown-section { background: var(--wine); color: #fff; }
.countdown-section .kicker { color: #f2d7de; }
.countdown { flex-wrap: wrap; }
.countdown span {
  min-width: 84px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .3);
}
.countdown b { font: 2.2rem Georgia, serif; display: block; }
.countdown small { font-size: .65rem; text-transform: uppercase; }


.festival-intro {
  background: #f4eee3;
  border-top: 1px solid rgba(139, 30, 63, .22);
}

.festival-intro-row {
  align-items: flex-start;
  row-gap: 2.5rem;
}

.festival-intro .kicker {
  margin-bottom: 1.35rem;
  color: var(--wine);
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 900;
}

.festival-intro h2 {
  max-width: 720px;
  margin: 0;
  color: #281918;
  font-size: clamp(4rem, 7.1vw, 6.65rem);
  line-height: .86;
  letter-spacing: -.052em;
}

.festival-intro h2 em {
  color: var(--wine);
  font-weight: 400;
}

.festival-intro-text {
  padding-top: .15rem;
  color: #120b0a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 1.35vw, 1.38rem);
  line-height: 1.55;
}

.festival-intro-text p {
  margin: 0 0 .55rem;
}

.festival-intro-link {
  min-height: var(--touch);
  align-items: center;
  display: inline-flex;
  align-items: center;
  gap: 2.15rem;
  margin-top: .6rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--wine);
  color: var(--wine);
  font-family: Inter, Arial, sans-serif;
  font-size: .93rem;
  font-weight: 900;
  text-decoration: none;
}

.festival-intro-link:hover,
.festival-intro-link:focus {
  color: var(--wine-dark);
  border-bottom-color: var(--wine-dark);
}

@media (max-width: 991px) {
  .festival-intro h2 {
    font-size: clamp(3.4rem, 12vw, 5.4rem);
  }

  .festival-intro-text {
    padding-top: 0;
    font-size: 1.14rem;
  }
}

@media (max-width: 575px) {
  .festival-intro .kicker {
    max-width: 310px;
    line-height: 1.7;
    letter-spacing: .22em;
  }

  .festival-intro h2 {
    font-size: clamp(3.05rem, 16vw, 4.35rem);
  }
}
.ingredients { background: var(--cream-strong); }
.ingredients article {
  height: 100%;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-left: 1px solid #bda88e;
}
.ingredients article > span { color: var(--wine); font-weight: 700; }

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 220px);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}


#participantes h2 em {
  color: var(--wine);
}
.catalog-summary { color: var(--brown); }
.catalog-clear { font-weight: 700; }
.catalog-search, .catalog-sort {
  display: grid;
  gap: .35rem;
  margin: 0;
  color: var(--brown);
  font-size: .9rem;
  font-weight: 700;
}

.catalog-search input,
.catalog-sort select,
.form-control,
.form-select {
  min-height: var(--touch);
  border-color: var(--line);
  border-radius: 999px;
}

.catalog-search input:focus,
.catalog-sort select:focus,
.form-control:focus,
.form-select:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 .2rem rgba(139, 30, 63, .15);
}

.filters {
  justify-content: flex-end;
  gap: .45rem;
}

.filters.btn-group { display: flex; }
.filters .btn,
.btn { min-height: var(--touch); }
.filters .btn {
  border-radius: 999px !important;
  margin: 0 !important;
}
.filters .btn.active {
  background: var(--dark);
  color: #fff;
}

.prato-col { min-width: 0; }

.prato-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.prato-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.card-image {
  position: relative;
  height: clamp(220px, 28vw, 280px);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-strong), #fff);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.prato-card:hover img { transform: scale(1.04); }

.favorite {
  min-width: var(--touch);
  min-height: var(--touch);
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--wine);
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .16);
}

.card-image .favorite {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  width: var(--touch);
  height: var(--touch);
  border-radius: 50%;
  font-size: 1.5rem;
}

.favorite.marked { background: var(--wine); color: #fff; }
.favorite:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(217, 163, 39, .8);
  outline-offset: 3px;
}

.card-body {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 1.35rem;
}

.card-body small { color: var(--brown); font-weight: 700; }
.card-body h3 { font-size: clamp(1.55rem, 3vw, 1.9rem); line-height: 1.05; }
.card-body h4 { font-size: 1rem; color: var(--brown); }
.card-body p { color: #4f403a; }
.card-body .d-flex { margin-top: auto !important; gap: 1rem; }
.card-body a {
  display: inline-flex;
  min-height: var(--touch);
  align-items: center;
  color: var(--wine);
  font-weight: 700;
}

.btn-wine {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
}
.btn-wine:hover { background: var(--wine-dark); color: #fff; }

.vote-section { background: #f0e6d8; }

.vote-photo-wrap {
  position: relative;
  margin: 0;
}

.vote-photo,
.detail-image {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.vote-seal {
  position: absolute;
  top: clamp(1.75rem, 4vw, 3.4rem);
  right: clamp(1.35rem, 3.4vw, 2.6rem);
  width: clamp(104px, 10vw, 138px);
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--wine);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .035em;
  line-height: 1.24;
  transform: rotate(6deg);
  box-shadow: 0 18px 42px rgba(49, 18, 13, .18);
}

.vote-section h2 em {
  color: var(--wine);
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.steps { list-style: none; padding: 0; }
.steps li {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #ccb9a5;
}
.steps li > b { font: 2rem Georgia, serif; color: var(--wine); }

.route-call {
  background: #74102d;
  color: #fff;
}

.route-call h2 {
  margin: 0 0 1.55rem;
  color: #fff;
  font-size: clamp(4.2rem, 7.2vw, 7.05rem);
  line-height: .82;
  letter-spacing: -.052em;
}

.route-call h2 em {
  display: inline-block;
  color: #a11f4b;
  font-weight: 400;
}

.route-call-lead {
  max-width: 720px;
  margin: 0 0 .2rem;
  color: #fff;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  font-weight: 700;
  line-height: 1.55;
}

.route-call-cta {
  display: inline-flex;
  align-items: center;
  gap: 2.1rem;
  margin-top: .15rem;
  padding: 1.05rem 1.45rem;
  color: var(--wine);
  background: #fffaf4;
  font-weight: 900;
  text-decoration: none;
}

.route-call-cta:hover,
.route-call-cta:focus {
  color: var(--wine-dark);
  background: #fff;
}

.route-city-grid {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid rgba(255, 255, 255, .34);
}

.route-call article {
  height: 100%;
  min-height: clamp(235px, 23vw, 290px);
  padding: clamp(2rem, 3.2vw, 2.8rem);
  border-right: 1px solid rgba(60, 3, 24, .58);
  background: #86163a;
}

.route-city-grid > [class*="col-"]:first-child article {
  border-left: 0;
}

.route-city-grid > [class*="col-"]:last-child article {
  border-right: 0;
}

.route-call article small {
  display: block;
  margin-bottom: clamp(2.2rem, 4.8vw, 3.7rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .7rem;
  font-weight: 800;
}

.route-call article h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.1rem, 3.2vw, 2.9rem);
  line-height: 1;
}

.route-call article h3 a {
  display: inline-flex;
  min-height: var(--touch);
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.route-call article h3 a:hover,
.route-call article h3 a:focus {
  text-decoration: underline;
  text-underline-offset: .16em;
}

.route-call article p {
  max-width: 380px;
  margin: 0;
  color: rgba(255, 255, 255, .94);
  font-size: 1rem;
  line-height: 1.55;
}


@media (max-width: 767px) {
.route-call h2 {
    font-size: clamp(3.45rem, 16vw, 4.7rem);
  }

  .route-city-grid {
    margin-top: 3rem;
  }

  .route-call article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(60, 3, 24, .58);
  }

  .route-city-grid > [class*="col-"]:last-child article {
    border-bottom: 0;
  }

  .route-call article small {
    margin-bottom: 2rem;
  }
}
.regulation {
  background: #981b42;
  color: #fff;
}

.regulation-row {
  row-gap: 2.5rem;
}

.regulation .kicker {
  margin-bottom: 1.55rem;
  color: #fff;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 900;
}

.regulation h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(4.1rem, 7vw, 6.8rem);
  line-height: .82;
  letter-spacing: -.052em;
}

.regulation h2 em {
  color: #f2b7c4;
  font-weight: 400;
}

.regulation-copy {
  color: #fff;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  font-weight: 700;
  line-height: 1.7;
}

.regulation-copy p {
  max-width: 520px;
  margin: 0 0 .55rem;
}

.regulation-cta {
  display: inline-flex;
  align-items: center;
  gap: 2.3rem;
  margin-top: .15rem;
  padding: 1.05rem 1.45rem;
  color: var(--wine);
  background: #fffaf4;
  font-weight: 900;
  text-decoration: none;
}

.regulation-cta:hover,
.regulation-cta:focus {
  color: var(--wine-dark);
  background: #fff;
}

@media (max-width: 767px) {
.regulation h2 {
    font-size: clamp(3.25rem, 15vw, 4.7rem);
  }
}


.results-preview {
  background: #eadfce;
}

.results-preview .container {
  max-width: 980px;
}

.results-preview .kicker {
  margin-bottom: 1.1rem;
  color: var(--wine);
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 900;
}

.results-preview h2 {
  margin: 0 auto;
  color: #281918;
  font-size: clamp(4rem, 7.2vw, 7rem);
  line-height: .82;
  letter-spacing: -.052em;
}

.results-preview h2 em {
  color: var(--wine);
  font-weight: 400;
}

.results-preview-lead {
  max-width: 760px;
  margin: 1.4rem auto 0;
  color: #070403;
  font-size: clamp(1rem, 1.16vw, 1.16rem);
  line-height: 1.65;
}

.results-card.locked {
  max-width: 790px;
  min-height: 114px;
  margin: clamp(2.6rem, 5vw, 3.2rem) auto 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 1.85rem;
  border: 1px solid #d9c9b7;
  border-radius: 0;
  background: #fffdf9;
  color: #120b0a;
  text-align: left;
}

.results-card > span {
  width: 1.05rem;
  flex: 0 0 auto;
  color: #120b0a;
  line-height: 1;
}

.results-card b {
  display: block;
  margin-bottom: .45rem;
  color: #120b0a;
  font-size: 1rem;
}

.results-card small {
  color: #6f625c;
  font-size: .9rem;
}

@media (max-width: 767px) {
.results-preview h2 {
    font-size: clamp(3.1rem, 15vw, 4.65rem);
  }

  .results-card.locked {
    align-items: flex-start;
    padding: 1.25rem;
  }
}
.locked,
.empty-state {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #cdbda9;
  border-radius: var(--radius-md);
  background: #f1e7dc;
}

.empty-state[hidden] { display: none !important; }


.join-section {
  background: #f4eee3;
}

.join-section .container {
  max-width: 1040px;
}

.join-section .kicker {
  margin-bottom: 1.25rem;
  color: var(--wine);
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 900;
}

.join-section h2 {
  max-width: 980px;
  margin: 0 auto;
  color: #281918;
  font-size: clamp(4rem, 6.6vw, 6.6rem);
  line-height: .84;
  letter-spacing: -.052em;
}

.join-section h2 em {
  color: var(--wine);
  font-weight: 400;
}

.join-section p:not(.kicker) {
  max-width: 720px;
  margin: 1.55rem auto 0;
  color: #070403;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.65;
}

.join-cta {
  display: inline-flex;
  align-items: center;
  gap: 2.1rem;
  margin-top: 2.25rem;
  padding: 1.05rem 1.45rem;
  color: #fff;
  background: var(--wine);
  font-weight: 900;
  text-decoration: none;
}

.join-cta:hover,
.join-cta:focus {
  color: #fff;
  background: var(--wine-dark);
}

@media (max-width: 767px) {
.join-section h2 {
    font-size: clamp(3rem, 14vw, 4.55rem);
  }
}
.partners {
  background: #fbfaf6;
}

.partners .container {
  max-width: 1500px;
}

.partners .kicker {
  margin-bottom: 1.65rem;
  color: var(--wine);
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 900;
}

.partners h2 {
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  color: #281918;
  text-align: center;
  font-size: clamp(3.6rem, 5.7vw, 5.8rem);
  line-height: .9;
  letter-spacing: -.045em;
}

.partners-board {
  display: grid;
  grid-template-columns: 1.5fr 1fr .65fr;
  min-height: 265px;
  border: 1px solid #dacbb8;
  background: #fffdf9;
}

.partners-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.3rem);
  text-align: center;
  border-right: 1px solid #dacbb8;
}

.partners-cell:last-child {
  border-right: 0;
}

.partners-cell small {
  display: block;
  margin-bottom: clamp(2.2rem, 4vw, 4rem);
  color: #6f625c;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .62rem;
}

.partners-logo-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.7rem, 3vw, 2.65rem);
}

.logo-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  color: #0f4a7f;
  text-transform: uppercase;
  letter-spacing: .025em;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 900;
  line-height: .9;
  white-space: nowrap;
}

.logo-wordmark span {
  display: block;
  margin-bottom: .22rem;
  letter-spacing: .18em;
  font-size: .62rem;
  font-weight: 800;
}

.partner-logo {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 72px;
  object-fit: contain;
}

.logo-prepara {
  color: #e85f1c;
  font-size: clamp(1.45rem, 2vw, 1.82rem);
}

.logo-sebrae {
  color: #1a66a5;
  font-size: clamp(1.45rem, 2vw, 1.82rem);
}

.support-logo {
  display: block;
  width: min(150px, 64%);
  max-width: 155px;
  margin: 0 auto;
}


@media (max-width: 991px) {
  .partners-board {
    grid-template-columns: 1fr;
  }

  .partners-cell {
    border-right: 0;
    border-bottom: 1px solid #dacbb8;
  }

  .partners-cell:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 575px) {
  .partners-logo-row {
    flex-direction: column;
  }

  .partners h2 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }
}

footer { background: #24100c; color: #dccfc8; }
footer a { color: #fff; }

.modal-content { border: 0; border-radius: var(--radius-md); }
.modal-header,
.modal-body,
.modal-footer { padding: clamp(1.25rem, 3vw, 2rem); }
.success-icon { font-size: 4rem; color: #198754; }

.map {
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .12);
}


.map .leaflet-container,
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.wine-map-marker {
  background: transparent;
  border: 0;
}

.wine-map-marker span {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--wine);
  box-shadow: 0 10px 24px rgba(49, 18, 13, .32);
  transform: rotate(-45deg);
}

.wine-map-marker span::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fffaf4;
  box-shadow: inset 0 0 0 3px var(--wine-dark);
}

.leaflet-control-zoom a {
  width: var(--touch) !important;
  height: var(--touch) !important;
  line-height: var(--touch) !important;
}

.route-item {
  display: flex;
  height: 100%;
  gap: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}
.route-item img {
  width: 180px;
  min-height: 150px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.regulation-text h3 {
  margin-top: 1.5rem;
  color: var(--wine);
  font: 1.4rem Georgia, serif;
}

@media (max-width: 1199px) {
  .catalog-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    padding: 1rem 0 .5rem;
  }

  .navbar .nav-link,
  .navbar .btn {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-date {
    width: min(100%, 420px);
    margin-left: 0;
    justify-self: start;
  }

  .hero-date p { text-align: left; }

  .catalog-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .filters { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .catalog-toolbar {
    gap: .85rem;
  }

  .filters.btn-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }

  .filters .btn {
    width: 100%;
    padding-inline: .75rem;
  }


.hero {
    min-height: 720px;
    background-position: 58% center;
  }

  .hero-content {
    padding-top: 8.5rem;
    padding-bottom: 2.4rem;
  }

  .hero h1 {
    font-size: clamp(3.65rem, 18vw, 5.15rem);
    line-height: .86;
  }

  .hero .lead {
    margin: 1.35rem 0 1.65rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero .kicker {
    max-width: 310px;
    line-height: 1.7;
    letter-spacing: .2em;
    font-size: .68rem;
  }

  .hero-date {
    max-width: 100%;
    margin-top: .5rem;
    margin-bottom: 0;
  }

  .hero-date-row { gap: 1rem; }
  .hero-date p { font-size: .72rem; letter-spacing: .12em; }
  .countdown span { min-width: 66px; }
  .countdown b { font-size: 1.6rem; }
  .card-body { min-height: auto; }
  .info-grid { grid-template-columns: 1fr; }
  .participant-photo figcaption { position: static; margin-top: .75rem; border-radius: var(--radius-sm); }
  .steps li { gap: .9rem; }
  .route-item { display: block; }
  .route-item img { width: 100%; height: 180px; margin-bottom: 1rem; }
  .modal-dialog { margin: .75rem; }
}

@media (max-width: 420px) {
  .brand strong { font-size: 1.35rem; }
  .brand { font-size: .95rem; }
  .hero { min-height: 690px; }
  .hero h1 { font-size: clamp(3.3rem, 18vw, 4.45rem); }
  .hero .btn { width: 100%; margin-bottom: .65rem; gap: 1.5rem; }
  .hero-date-row { grid-template-columns: 1fr auto 1fr; gap: .8rem; }
  .card-body .d-flex { flex-direction: column; align-items: flex-start !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .glass, .partners, footer, .btn, .favorite, .catalog-toolbar, .route-actions, .route-remove { display: none !important; }
  .page-top { padding-top: 0; }
  .map { height: 350px; }
  .route-item, .route-group, .prato-card { break-inside: avoid; box-shadow: none; }
}
/* Refinamento visual dos cards da página Como votar */
.voting-steps li {
  grid-template-columns: 4.4rem minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
  align-items: center;
  min-height: 142px;
  padding: clamp(1.45rem, 3vw, 2.15rem) clamp(1.35rem, 3vw, 2.25rem);
  padding-right: clamp(4.5rem, 9vw, 7rem);
}

.voting-steps li::before {
  width: 5px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.voting-steps li::after {
  right: clamp(-3rem, -2vw, -1.25rem);
  bottom: 50%;
  width: clamp(5rem, 10vw, 8rem);
  transform: translateY(50%);
  opacity: .55;
  background:
    radial-gradient(circle at center, rgba(139, 30, 63, .13) 0 15%, transparent 16% 100%),
    repeating-radial-gradient(circle at center, transparent 0 22px, rgba(139, 30, 63, .08) 23px 24px);
}

.voting-steps li > b {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  right: 1.35rem;
  width: auto;
  height: auto;
  padding: .35rem .55rem;
  border-radius: 999px;
  background: rgba(139, 30, 63, .09);
  color: var(--wine);
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .12em;
}

.voting-step-icon {
  width: 3.8rem;
  min-width: 3.8rem;
  height: 3.8rem;
  min-height: 3.8rem;
  border: 1px solid rgba(139, 30, 63, .12);
  border-radius: 50%;
  transform: none;
  background: #f1c5d4;
  color: var(--wine);
  font-size: 1.45rem;
  box-shadow: 0 12px 24px rgba(139, 30, 63, .10);
}

.voting-steps h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
}

@media (max-width: 767.98px) {
  .voting-steps li {
    grid-template-columns: 3.6rem minmax(0, 1fr);
    padding: 1.35rem;
    padding-top: 2.65rem;
  }

  .voting-steps li > b {
    top: 1rem;
    left: 1.35rem;
    right: auto;
  }

  .voting-step-icon {
    grid-column: auto;
    width: 3.25rem;
    min-width: 3.25rem;
    height: 3.25rem;
    min-height: 3.25rem;
    font-size: 1.25rem;
  }

  .voting-steps li > div {
    grid-column: auto;
  }

  .voting-steps h2 {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }
}
.form-alert{margin-top:1rem;padding:.9rem 1rem;border:1px solid rgba(155,27,70,.35);background:#fff5f7;color:#8b123b;border-radius:.45rem;font-weight:700}

.form-alert--error:focus{outline:3px solid rgba(155,27,70,.28);outline-offset:2px}
