/* ============================================================
   SAPORE* — jornadas gastronômicas pela Itália
   Sistema: azul royal #012CCD + amarelo limão #FFE44A
   Tipos: Fraunces (serif alta-contraste, itálico) + Inter
   ============================================================ */

:root {
  --blu: #012ccd;
  --blu-deep: #0121a0;
  --gia: #ffe44a;
  --paper: #ffffff;
  --map: #c9dcec;
  --ink: #012ccd;

  --serif: "Fraunces", "Georgia", serif;
  --sans: "Inter", -apple-system, sans-serif;

  --container: min(1200px, 92vw);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gia); color: var(--blu); }

.container { width: var(--container); margin-inline: auto; }

/* tipografia utilitária */
.serif { font-family: var(--serif); }
.up {
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 700;
  line-height: 1.35;
}
.hl { background: linear-gradient(transparent 18%, var(--gia) 18%, var(--gia) 88%, transparent 88%); padding-inline: 2px; }

/* headline com parênteses — assinatura da referência */
.paren {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--blu);
  text-align: center;
}
.paren .p { font-style: italic; font-weight: 300; }
.paren em { font-style: italic; font-weight: 350; }

/* asterisco */
.ast { color: var(--blu); font-style: normal; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-inline: clamp(16px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}
.nav.is-scrolled { border-bottom-color: rgba(1, 44, 205, 0.16); }
.nav__logo {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--blu);
  white-space: nowrap;
}
.nav__logo .star { display: inline-block; transform: translateY(1px); }
.nav__links { display: flex; gap: clamp(14px, 2.6vw, 34px); }
.nav__links a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blu);
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--blu);
  transition: right 0.3s ease;
}
.nav__links a:hover::after { right: 0; }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__lang { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--blu); opacity: 0.75; }
.nav__cta {
  background: var(--blu);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 11px 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.nav__cta:hover { background: var(--blu-deep); transform: translateY(-1px); }

.nav__burger { display: none; width: 42px; height: 42px; position: relative; z-index: 1200; }
.nav__burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--blu);
  transition: transform 0.35s ease, top 0.35s ease;
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 24px; }
.nav__burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--blu);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu a {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(32px, 9vw, 48px);
  font-style: italic;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(1) { transition-delay: 0.06s; }
.menu.is-open a:nth-child(2) { transition-delay: 0.12s; }
.menu.is-open a:nth-child(3) { transition-delay: 0.18s; }
.menu.is-open a:nth-child(4) { transition-delay: 0.24s; }
.menu.is-open a:nth-child(5) { transition-delay: 0.3s; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 24px) 16px 48px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__stack { position: relative; width: min(720px, 94vw); }

/* cartão-postal azul com grade branca */
.postcard {
  position: relative;
  background: var(--blu);
  color: #fff;
  padding: clamp(28px, 6vw, 64px) clamp(24px, 6vw, 60px);
  box-shadow: 0 34px 80px rgba(0, 10, 60, 0.4);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: rotate(-3.5deg);
  will-change: transform;
}
.postcard--ghost {
  position: absolute;
  inset: 8% -4% -6% 4%;
  padding: 0;
  transform: rotate(3deg);
  z-index: -1;
  box-shadow: 0 24px 60px rgba(0, 10, 60, 0.3);
}
.postcard__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: clamp(18px, 4vw, 38px);
  flex-wrap: wrap;
}
.postcard__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 118px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.postcard__title .it { font-style: italic; font-weight: 300; }
.postcard__sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 3vw, 28px);
  font-weight: 300;
  margin-top: 14px;
  opacity: 0.95;
}
.postcard__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(22px, 4vw, 36px);
  background: var(--gia);
  color: var(--blu);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.postcard__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 10, 60, 0.35); }
.postcard__cta svg { width: 14px; height: 14px; }

/* sticker circular amarelo */
.sticker {
  position: absolute;
  top: -54px;
  right: -34px;
  width: clamp(116px, 16vw, 158px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gia);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 36px rgba(0, 10, 60, 0.3);
  z-index: 3;
}
.sticker svg { width: 100%; height: 100%; }
.sticker .spin { transform-origin: 50% 50%; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

/* ---------- marquee de listras ---------- */
.stripeband {
  position: relative;
  background: repeating-linear-gradient(90deg, var(--blu) 0 34px, var(--paper) 34px 68px);
  padding: 26px 0;
  overflow: hidden;
}
.marquee { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(26px, 4vw, 44px);
  color: var(--blu);
  background: var(--paper);
  padding: 6px 28px;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 130px) 0; overflow: hidden; }

.kicker {
  display: block;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blu);
  margin-bottom: 18px;
}
.kicker .ast { margin-inline: 8px; }

/* ---------- sobre ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  margin-top: clamp(36px, 6vw, 64px);
}
.about__map { position: relative; }
.about__map svg { width: 100%; height: auto; }
.about__copy .up { font-size: clamp(17px, 2.2vw, 23px); }
.about__note {
  margin-top: 22px;
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 46ch;
}
.about__note .mark { font-weight: 700; }
.btn-blu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  background: var(--blu);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 15px 26px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-blu:hover { background: var(--blu-deep); transform: translateY(-2px); }
.btn-blu svg { width: 14px; height: 14px; }

/* ---------- jornadas (arcos) ---------- */
.arches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(40px, 6vw, 70px);
}
.arch { position: relative; }
.arch__frame {
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4.4;
  position: relative;
  border: 1px solid rgba(1, 44, 205, 0.18);
}
.arch__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.arch:hover .arch__frame img { transform: scale(1.08); }
.arch__label {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.arch__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.arch__tags span {
  background: var(--gia);
  color: var(--blu);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 9px;
}
.journeys__intro {
  text-align: center;
  max-width: 62ch;
  margin: 26px auto 0;
  font-size: clamp(14.5px, 1.6vw, 17px);
}
.journeys__intro .up { display: block; }

/* ---------- colagem no amarelo ---------- */
.collage {
  background: var(--gia);
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 12vw, 150px) 0;
}
.collage__inner { position: relative; text-align: center; }
.collage__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.02;
  color: var(--blu);
}
.collage__title em { font-style: italic; font-weight: 300; }
.collage__text {
  max-width: 52ch;
  margin: 24px auto 0;
  color: var(--blu);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}
/* recortes flutuantes */
.cut { position: absolute; will-change: transform; pointer-events: none; }
.cut--spritz { width: clamp(120px, 17vw, 230px); left: 4%; top: -30px; transform: rotate(-8deg); filter: drop-shadow(0 24px 30px rgba(1, 20, 100, 0.28)); }
.cut--net { width: clamp(130px, 18vw, 240px); right: 3%; top: -10px; }
.cut--olive { width: clamp(90px, 12vw, 170px); right: 10%; bottom: -26px; transform: rotate(14deg); }
.cut--tile { width: clamp(64px, 8vw, 110px); left: 11%; bottom: 4px; transform: rotate(-10deg); }

/* ---------- citação nas listras ---------- */
.quote {
  position: relative;
  padding: clamp(90px, 13vw, 170px) 0;
  overflow: hidden;
  background:
    linear-gradient(var(--paper), var(--paper)) top / 100% calc(100% - 120px) no-repeat,
    repeating-linear-gradient(90deg, var(--blu) 0 30px, var(--paper) 30px 60px) bottom / 100% 120px no-repeat;
}
.quote__text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 5.4vw, 62px);
  line-height: 1.15;
  color: var(--blu);
  text-align: center;
  max-width: 22ch;
  margin-inline: auto;
}
.quote__text em { font-style: italic; font-weight: 300; }
.quote__who {
  text-align: center;
  margin-top: 26px;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blu);
}
.quote .cut--lemon { width: clamp(90px, 12vw, 160px); right: 7%; bottom: 54px; transform: rotate(-14deg); pointer-events: none; }
.quote .cut--olive2 { width: clamp(80px, 10vw, 140px); left: 6%; top: 40px; transform: rotate(8deg); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1.5px solid rgba(1, 44, 205, 0.25); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  text-align: left;
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--blu);
}
.faq__q .sign { font-family: var(--serif); font-size: 24px; flex-shrink: 0; transition: transform 0.35s ease; }
.faq__item.is-open .sign { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq__a p { padding: 0 4px 22px; font-size: 14.5px; line-height: 1.7; max-width: 64ch; }

/* ---------- CTA final + rodapé ---------- */
.cta-final { text-align: center; }
.cta-final .paren { margin-bottom: 10px; }
.cta-final p { max-width: 46ch; margin: 18px auto 0; font-size: 15px; font-weight: 500; }

.footer {
  background: var(--blu);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0 30px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 84px 84px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.footer__logo { font-weight: 800; font-size: clamp(30px, 4.5vw, 44px); letter-spacing: 0.02em; }
.footer__tag {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  line-height: 1.8;
}
.footer__links { display: grid; gap: 10px; font-size: 14px; }
.footer__links a { opacity: 0.85; transition: opacity 0.25s ease; }
.footer__links a:hover { opacity: 1; text-decoration: underline; }
.footer h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}
.news { display: flex; border: 1.5px solid rgba(255, 255, 255, 0.6); }
.news input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  padding: 13px 14px;
}
.news input::placeholder { color: rgba(255, 255, 255, 0.55); }
.news button {
  background: var(--gia);
  color: var(--blu);
  padding: 0 18px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}
.news button:hover { background: #fff; }
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 70px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  opacity: 0.8;
}

/* ---------- reveals ---------- */
.rv { opacity: 0; transform: translateY(30px); }
.no-js .rv, .rv.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1000px) {
  .arches { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__map { max-width: 440px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links, .nav__lang, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .sticker { top: -44px; right: -10px; }
  .postcard { transform: rotate(-2.5deg); }
  .postcard--ghost { inset: 6% -3% -4% 3%; }
  .footer__grid { grid-template-columns: 1fr; }
  .cut--tile { display: none; }
  .cut--spritz { left: -4%; top: -46px; width: clamp(100px, 26vw, 150px); }
  .cut--net { right: -5%; width: clamp(110px, 28vw, 160px); }
  .cut--olive { right: 2%; bottom: -30px; }
}

@media (max-width: 520px) {
  .arches { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .quote .cut--lemon { width: 84px; right: 2%; bottom: 40px; }
  .quote .cut--olive2 { width: 70px; left: 2%; top: 16px; }
}

/* paisagem baixa de celular */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 130vh; }
  .menu a { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .rv { opacity: 1; transform: none; }
  .marquee { animation: none; }
  .sticker .spin { animation: none; }
}
