/* Anna Doces — direção gastronômica e editorial (sem glass / sem tech) */

:root {
  --white: #ffffff;
  --paper: #faf6f2;
  --paper-warm: #f5efe8;
  --rose: #ff5ca8;
  --rose-hover: #e84f96;
  --rose-soft: #fad7e6;
  --gold: #c9a227;
  --gold-muted: rgba(201, 162, 39, 0.35);
  --chocolate: #5a3424;
  --chocolate-soft: #6b4030;
  --ink: #2a1810;
  --muted: rgba(90, 52, 36, 0.72);
  --radius: 20px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Spectral", Georgia, serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --space: clamp(1rem, 0.55rem + 1.5vw, 1.45rem);
  --shadow-soft: 0 6px 28px rgba(42, 24, 16, 0.07);
  --shadow-soft-hover: 0 10px 36px rgba(42, 24, 16, 0.1);
  --shadow-hero: 0 12px 40px rgba(42, 24, 16, 0.11);
}

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

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--chocolate);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(255, 92, 168, 0.1);
  overflow-x: clip;
}

/* Fundo geral da página — só tons suaves (sem foto) */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 70% at 50% -15%, rgba(250, 215, 230, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, #fcf9f6 0%, var(--paper) 32%, var(--paper-warm) 100%);
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--chocolate);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.main {
  max-width: 32rem;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 1.35rem) var(--space) calc(env(safe-area-inset-bottom, 0px) + 2.1rem);
}

/* Hero full width + altura mínima da viewport (mobile first) */
.hero-band {
  --hero-pad-top: calc(env(safe-area-inset-top, 0px) + 1.35rem);
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: calc(-1 * var(--hero-pad-top));
  margin-bottom: 1.75rem;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: var(--hero-pad-top) max(var(--space), env(safe-area-inset-right, 0px)) 1.75rem
    max(var(--space), env(safe-area-inset-left, 0px));
  isolation: isolate;
}

.hero-band__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #3d2a22;
  background-image: url("../img/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-band__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(253, 251, 248, 0.38) 26%,
    rgba(252, 248, 244, 0.65) 50%,
    rgba(250, 246, 242, 0.88) 74%,
    var(--paper) 100%
  );
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Painel suave só no texto: contraste sem “vidro” pesado */
.hero__copy {
  margin-top: 0.35rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 32px rgba(42, 24, 16, 0.12), 0 1px 0 rgba(255, 255, 255, 1) inset;
}

.hero__visual {
  margin: 0 auto 1.35rem;
  padding: 0;
  border: none;
  display: flex;
  justify-content: center;
  background: transparent;
}

.hero__photo {
  display: block;
  width: clamp(10rem, 42vw, 12.5rem);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 82% 22%;
  border-radius: calc(var(--radius) + 6px);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-hero);
}

.hero__kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a2e22;
}

.hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 8.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #1a0f0a;
}

.hero__title-line {
  display: block;
  margin-top: 0.08em;
  font-size: 0.52em;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #3d2620;
}

.hero__tagline {
  margin: 0 auto 1.35rem;
  max-width: 24rem;
  font-size: 1.05rem;
  color: #3d2a20;
  font-weight: 500;
  line-height: 1.65;
}

.hero__tagline em {
  font-style: italic;
  color: #2a1810;
  font-weight: 600;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__chips li {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #352018;
  background: #fffefb;
  border: 1px solid rgba(90, 52, 36, 0.22);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(42, 24, 16, 0.07), 0 1px 0 rgba(255, 255, 255, 1) inset;
}

.hero__divider {
  margin: 1.35rem auto 0;
  max-width: 8rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5), transparent);
}

/* Cards */
.cards-section {
  margin-top: 1.75rem;
}

.cards-track {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.link-card {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(90, 52, 36, 0.09);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.link-card:hover,
.link-card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft-hover);
}

.link-card__hit {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.link-card__hit:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.link-card__media {
  position: relative;
  flex: none;
  width: 100%;
  max-width: none;
  min-height: 12rem;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--paper-warm);
}

.link-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease);
}

.link-card__media--map img {
  object-fit: contain;
  object-position: center;
  padding: 0.35rem;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
}

.link-card:hover .link-card__media img,
.link-card:focus-within .link-card__media img {
  transform: scale(1.04);
}

.link-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.3rem 1.4rem;
  gap: 0.45rem;
  text-align: left;
}

.link-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5.2vw, 1.95rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.16;
}

.link-card__text {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.58;
  font-weight: 400;
}

.link-card__action {
  display: inline-flex;
  align-items: flex-end;
  margin-top: 0.55rem;
  padding: 0.35rem 0 0.15rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  border-bottom: 1px solid rgba(255, 92, 168, 0.45);
  width: fit-content;
  min-height: 2.75rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.link-card:hover .link-card__action,
.link-card:focus-within .link-card__action {
  color: var(--rose-hover);
  border-bottom-color: rgba(232, 79, 150, 0.65);
}

/* CTA */
.cta-block {
  margin-top: 2rem;
}

.cta-block__inner {
  padding: 1.75rem 1.35rem 1.85rem;
  border-radius: calc(var(--radius) + 2px);
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: var(--shadow-soft);
}

.cta-block__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.8vw, 1.95rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.cta-block__lede {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
}

.cta-block__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.05rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--rose);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 92, 168, 0.28);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}

.cta-block__button:hover {
  background: var(--rose-hover);
  box-shadow: 0 8px 28px rgba(255, 92, 168, 0.34);
  transform: translateY(-2px);
}

.cta-block__button:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(255, 92, 168, 0.26);
}

.cta-block__button:focus-visible {
  outline: 2px solid var(--chocolate);
  outline-offset: 3px;
}

.site-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer__brand {
  font-weight: 600;
  color: var(--chocolate);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal:nth-child(2).is-visible {
  transition-delay: 0.05s;
}
.reveal:nth-child(3).is-visible {
  transition-delay: 0.1s;
}
.reveal:nth-child(4).is-visible {
  transition-delay: 0.15s;
}

.cta-block.reveal.is-visible {
  transition-delay: 0.06s;
}

@media (min-width: 480px) {
  .main {
    max-width: 26rem;
  }

  .hero {
    max-width: 26rem;
  }

  .link-card__hit {
    flex-direction: row;
    align-items: stretch;
    min-height: 11.75rem;
  }

  .link-card__media {
    flex: 0 0 46%;
    width: auto;
    max-width: 14rem;
    min-height: 11.75rem;
    aspect-ratio: auto;
  }

  .link-card__body {
    padding: 1.2rem 1.35rem 1.2rem 1.15rem;
  }
}
