/* ============================================================
   Paula Dazini — Nutricionista
   Tema: escuro quente + dourado champagne (premium)
   ============================================================ */

:root {
  /* Paleta */
  --bg-0: #0c0906;
  --bg-1: #171008;
  --champagne-50: #f7ecdc;
  --champagne-100: #eeddc4;
  --champagne-200: #e3cba8;
  --champagne-300: #d4b483;
  --gold: #c9a061;
  --gold-deep: #a37f42;
  --ink: #3a2d1c;          /* texto sobre cartões claros */
  --ink-soft: #5c4a30;
  --cream: #f5efe4;        /* texto sobre fundo escuro */
  --cream-dim: rgba(245, 239, 228, 0.72);

  /* Tipografia */
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", sans-serif;
  --font-script: "Great Vibes", cursive;

  --radius-card: 1.4rem;
  --page-max: 30rem; /* coluna estilo link-in-bio */
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ============ Fundo decorativo ============ */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 0%, #241809 0%, transparent 60%),
    radial-gradient(90% 50% at 50% 100%, #1b1207 0%, transparent 65%),
    var(--bg-0);
}

.backdrop__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.backdrop__glow--top {
  top: -12rem;
  left: 50%;
  transform: translateX(-50%);
  width: 34rem;
  height: 24rem;
  background: rgba(201, 160, 97, 0.14);
  animation: breathe 7s ease-in-out infinite;
}

.backdrop__glow--bottom {
  bottom: -10rem;
  right: -8rem;
  width: 28rem;
  height: 28rem;
  background: rgba(163, 127, 66, 0.10);
  animation: breathe 9s ease-in-out 2s infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.35; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.6;  transform: translateX(-50%) scale(1.08); }
}
.backdrop__glow--bottom { transform: none; }
@keyframes breatheAlt {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.1); }
}
.backdrop__glow--bottom { animation-name: breatheAlt; }

/* Partículas douradas flutuantes (geradas via JS) */
.particles { position: absolute; inset: 0; overflow: hidden; }

.particle {
  position: absolute;
  bottom: -2vh;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 221, 196, 0.9) 0%, rgba(201, 160, 97, 0.35) 60%, transparent 100%);
  animation: floatUp linear infinite;
  opacity: 0;
}

@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: var(--p-opacity, 0.5); }
  85%  { opacity: var(--p-opacity, 0.5); }
  100% { transform: translateY(-108vh) translateX(var(--p-drift, 0px)); opacity: 0; }
}

/* ============ Layout geral ============ */

.page {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

/* ============ Hero ============ */

.hero {
  position: relative;
  padding-top: 15rem;
  text-align: center;
}

.hero__photo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: none;
  height: 29rem;
  overflow: hidden;
  z-index: -1;
  will-change: auto;
  box-shadow: 0 2rem 3.5rem 1.25rem rgba(12, 9, 6, 0.82);
}

/* Slideshow Ken Burns: cada slide fica ~8s visível dentro de um ciclo
   de 32s, com zoom contínuo e crossfade de ~3s entre as fotos. */
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  transform: scale(1.02);
  will-change: transform, opacity;
  animation: kenBurns 32s linear infinite;
}

.hero__slide:nth-child(1) { animation-delay: -4s;  object-position: 62% 20%; }
.hero__slide:nth-child(2) { animation-delay: -28s; object-position: center 22%; }
.hero__slide:nth-child(3) { animation-delay: -20s; object-position: center 15%; }
.hero__slide:nth-child(4) { animation-delay: -12s; object-position: 42% 22%; }

@keyframes kenBurns {
  0%    { opacity: 1; transform: scale(1.02); }
  25%   { opacity: 1; transform: scale(1.10); }
  34%   { opacity: 0; transform: scale(1.135); }
  35%   { opacity: 0; transform: scale(1); }
  91%   { opacity: 0; transform: scale(1); }
  100%  { opacity: 1; transform: scale(1.02); }
}

.hero__photo-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12, 9, 6, 0.3) 0%, rgba(12, 9, 6, 0.08) 32%, rgba(12, 9, 6, 0.68) 66%, var(--bg-0) 92%),
    linear-gradient(90deg, rgba(12, 9, 6, 0.36), transparent 27%, transparent 73%, rgba(12, 9, 6, 0.36)),
    radial-gradient(90% 70% at 50% 100%, rgba(12, 9, 6, 0.52) 0%, transparent 60%);
}

.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.monogram {
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1px solid rgba(227, 203, 168, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 22px rgba(201, 160, 97, 0.25), inset 0 0 14px rgba(201, 160, 97, 0.12);
  animation: monogramGlow 4s ease-in-out infinite;
}

@keyframes monogramGlow {
  0%, 100% { box-shadow: 0 0 16px rgba(201, 160, 97, 0.2), inset 0 0 12px rgba(201, 160, 97, 0.1); }
  50%      { box-shadow: 0 0 30px rgba(201, 160, 97, 0.4), inset 0 0 18px rgba(201, 160, 97, 0.2); }
}

.monogram__letters {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: linear-gradient(120deg, var(--champagne-100), var(--gold) 55%, var(--champagne-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.monogram__spark {
  position: absolute;
  right: -0.35rem;
  bottom: 0.1rem;
  font-size: 0.7rem;
  color: var(--champagne-200);
  animation: sparkle 2.8s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.4; transform: scale(0.85) rotate(0deg); }
  50%      { opacity: 1;   transform: scale(1.1) rotate(20deg); }
}

.hero__name { text-align: left; }

.hero__name h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.05;
  background: linear-gradient(115deg, var(--champagne-50) 10%, var(--gold) 55%, var(--champagne-100) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__name p {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--cream-dim);
  margin-top: 0.3rem;
}

.hero__tagline {
  margin-top: 1.6rem;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--cream);
}

.hero__tagline em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.5em;
  line-height: 1;
  background: linear-gradient(115deg, var(--champagne-100), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Redes sociais com divisor ============ */

.social-divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.social-divider__line {
  flex: 1;
  height: 1px;
  position: relative;
  background: linear-gradient(90deg, transparent, rgba(227, 203, 168, 0.7));
}

.social-divider__line--right {
  background: linear-gradient(90deg, rgba(227, 203, 168, 0.7), transparent);
}

.social-divider__line::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 5px;
  height: 5px;
  background: var(--champagne-200);
}

.social-divider__line--left::after { right: 0; }
.social-divider__line--right::after { left: 0; }

.social-divider__icons {
  display: flex;
  gap: 0.7rem;
}

.social-divider__icons a {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(227, 203, 168, 0.4);
  background: rgba(23, 16, 8, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--champagne-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.social-divider__icons a:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--champagne-50);
  box-shadow: 0 6px 20px rgba(201, 160, 97, 0.35);
}

.social-divider__icons svg {
  width: 1.3rem;
  height: 1.3rem;
}

/* ============ Frase assinatura ============ */

.signature-phrase {
  margin: 3rem 0 2.2rem;
  text-align: center;
  font-family: var(--font-script);
  font-size: 2.1rem;
  line-height: 1.25;
  /* padrão A-B-A: as pontas são idênticas para o loop do brilho ser invisível */
  background-image: linear-gradient(115deg,
    var(--champagne-100) 0%, var(--gold) 20%, var(--champagne-100) 43%,
    #fff2d9 50%,
    var(--champagne-100) 57%, var(--gold) 80%, var(--champagne-100) 100%);
  background-size: 230% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(201, 160, 97, 0.15);
  animation: sigShimmer 6s ease-in-out infinite;
}

@keyframes sigShimmer {
  0%        { background-position: 100% 0; }
  45%, 100% { background-position: 0% 0; }
}

/* ============ Prova social ============ */

.proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: -0.6rem 0 2rem;
}

.proof__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 203, 168, 0.35);
  background: rgba(23, 16, 8, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.proof__pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 160, 97, 0.18);
  flex-shrink: 0;
}

.light .proof__pill {
  background: rgba(255, 253, 247, 0.7);
  border-color: rgba(163, 127, 66, 0.4);
  color: rgba(58, 45, 28, 0.75);
}

/* ============ Cards de links ============ */

.links {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, #f4e9d8 0%, #e8d6bb 45%, #d9c09c 100%);
  border: 1px solid rgba(255, 248, 235, 0.65);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.5),
    0 0 32px rgba(201, 160, 97, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.card:active { transform: translateY(-1px) scale(0.995); }

/* brilho que segue o cursor (só desktop, junto do tilt 3D) */
@media (hover: hover) and (pointer: fine) {
  .card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(230px circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 250, 238, 0.3), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
  }

  .card:hover::after { opacity: 1; }
}

/* brilho que atravessa o cartão */
.card__shine {
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: shine 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%, 72%  { left: -80%; opacity: 0; }
  78%      { opacity: 1; }
  92%, 100% { left: 130%; opacity: 0; }
}

/* cada cartão brilha em um momento diferente */
.links .card:nth-child(2) .card__shine { animation-delay: 1.2s; }
.links .card:nth-child(3) .card__shine { animation-delay: 2.4s; }
.links .card:nth-child(4) .card__shine { animation-delay: 3.6s; }

.card__badge {
  position: absolute;
  top: 0;
  right: 1.1rem;
  padding: 0.28rem 0.75rem;
  border-radius: 0 0 0.6rem 0.6rem;
  background: linear-gradient(115deg, var(--gold-deep), #8a6832);
  color: var(--champagne-50);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(122, 92, 45, 0.4);
  z-index: 2;
}

.card__icon {
  flex-shrink: 0;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1.5px solid rgba(163, 127, 66, 0.55);
  background: radial-gradient(circle at 30% 25%, #fdf6ea, #ecd9ba);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.8), 0 3px 8px rgba(122, 92, 45, 0.25);
  transition: transform 0.35s ease;
}

.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); }

.card__icon svg { width: 1.55rem; height: 1.55rem; }

.card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.15;
}

.card__desc {
  font-size: 0.83rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.card__cta {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card__cta::after {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--gold-deep);
  transition: width 0.3s ease;
}

.card:hover .card__cta::after { width: 2.4rem; }

.card__arrow {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid rgba(163, 127, 66, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.card:hover .card__arrow {
  transform: translateX(4px);
  background: var(--gold-deep);
  color: var(--champagne-50);
}

.card__arrow svg { width: 1.1rem; height: 1.1rem; }

/* ============ Títulos de seção ============ */

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--champagne-100);
  white-space: nowrap;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 203, 168, 0.5));
}

.section-title::after {
  background: linear-gradient(90deg, rgba(227, 203, 168, 0.5), transparent);
}

/* ============ Mapa ============ */

.map-section { margin-top: 3.4rem; }

.map-frame {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(227, 203, 168, 0.35);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), 0 0 24px rgba(201, 160, 97, 0.12);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 15rem;
  border: 0;
  /* tema escuro: inverte o mapa para integrar ao fundo */
  filter: invert(0.89) hue-rotate(180deg) saturate(0.55) brightness(0.92) contrast(0.95);
}

.light .map-frame iframe {
  filter: saturate(0.85) contrast(1.02);
}

.map-address {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--cream-dim);
}

.map-address svg {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--champagne-300);
  margin-top: 0.1rem;
}

/* ============ Conheça sua Nutri ============ */

.about { margin-top: 3.4rem; }

.about__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem 1.5rem;
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, #f4e9d8 0%, #e6d2b4 55%, #d9c09c 100%);
  border: 1px solid rgba(255, 248, 235, 0.65);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--ink);
  overflow: hidden;
  text-align: center;
}

.about__card .card__shine { animation-delay: 2s; }

.about__photo {
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(163, 127, 66, 0.55);
  box-shadow: 0 0 0 5px rgba(255, 251, 243, 0.55), 0 6px 18px rgba(122, 92, 45, 0.35);
  flex-shrink: 0;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__text p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.about__text strong {
  font-weight: 600;
  color: var(--ink);
}

.about__highlight {
  margin-top: 1rem;
  font-family: var(--font-script);
  font-size: 1.7rem;
  line-height: 1.2;
  background: linear-gradient(115deg, var(--gold-deep), #8a6832);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__local-link {
  width: fit-content;
  margin-top: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--champagne-100);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-decoration-color: rgba(227, 203, 168, 0.42);
  text-underline-offset: 0.3rem;
  text-transform: uppercase;
}

.about__local-link span {
  color: var(--gold);
  transition: transform 0.3s ease;
}

.about__local-link:hover span {
  transform: translateX(0.3rem);
}

/* ============ Rodapé ============ */

.footer {
  margin-top: 3.4rem;
  text-align: center;
}

.footer .social-divider { margin-top: 0; }

.footer__nap {
  max-width: 30rem;
  margin: 1.5rem auto 0;
  display: grid;
  gap: 0.2rem;
  color: rgba(245, 239, 228, 0.56);
  font-size: 0.7rem;
  font-style: normal;
  line-height: 1.55;
}

.footer__nap strong {
  color: var(--champagne-100);
  font-weight: 500;
}

.footer__nap a {
  width: fit-content;
  margin: 0.3rem auto 0;
  color: var(--gold);
  text-underline-offset: 0.22rem;
}

.footer__copy {
  margin-top: 1.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(245, 239, 228, 0.45);
}

.footer__legal-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem 1.1rem;
  font-size: .68rem;
  letter-spacing: .04em;
}

.footer__legal-links a {
  color: rgba(245, 239, 228, 0.62);
  text-decoration: underline;
  text-decoration-color: rgba(201, 160, 97, .48);
  text-underline-offset: .25rem;
}

.footer__legal-links a:hover { color: var(--champagne-100); }

/* ============ Página de E-books ============ */

.ebooks-hero {
  position: relative;
  padding-top: 4.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.back-link {
  position: absolute;
  top: 1.4rem;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 203, 168, 0.4);
  background: rgba(23, 16, 8, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--champagne-100);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.back-link:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201, 160, 97, 0.3);
  transform: translateY(-2px);
}

.ebooks-hero__kicker {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.ebooks-hero__name {
  margin-top: 0.4rem;
  font-family: var(--font-script);
  font-size: 3.1rem;
  font-weight: 400;
  line-height: 1.1;
  background: linear-gradient(115deg, var(--champagne-50) 10%, var(--gold) 55%, var(--champagne-100) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(201, 160, 97, 0.2);
}

.ebooks-hero__sub {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.95rem;
  color: var(--cream-dim);
}

.ebooks-hero .social-divider {
  width: 100%;
  margin-top: 2.6rem;
}

.ebooks-hero__divider-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--champagne-100);
  white-space: nowrap;
}

.ebooks {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.ebook {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.8rem 1.6rem 1.7rem;
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, #f4e9d8 0%, #e6d2b4 55%, #d9c09c 100%);
  border: 1px solid rgba(255, 248, 235, 0.65);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.ebook:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.5),
    0 0 34px rgba(201, 160, 97, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ebooks .ebook:nth-child(2) .card__shine { animation-delay: 1.4s; }
.ebooks .ebook:nth-child(3) .card__shine { animation-delay: 2.8s; }
.ebooks .ebook:nth-child(4) .card__shine { animation-delay: 4.2s; }

.ebook__number {
  position: absolute;
  top: 0.9rem;
  right: 1.2rem;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(163, 127, 66, 0.22);
  pointer-events: none;
}

.ebook__icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1.5px solid rgba(163, 127, 66, 0.55);
  background: radial-gradient(circle at 30% 25%, #fdf6ea, #ecd9ba);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.8), 0 3px 8px rgba(122, 92, 45, 0.25);
  transition: transform 0.35s ease;
}

.ebook:hover .ebook__icon { transform: rotate(-6deg) scale(1.06); }

.ebook__icon svg { width: 1.55rem; height: 1.55rem; }

.ebook__title {
  margin-top: 1.1rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink);
}

.ebook__subtitle {
  margin-top: 0.25rem;
  font-family: var(--font-script);
  font-size: 1.35rem;
  line-height: 1.2;
  background: linear-gradient(115deg, var(--gold-deep), #8a6832);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ebook__desc {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.ebook__btn {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(115deg, var(--gold-deep), #8a6832);
  color: var(--champagne-50);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 5px 16px rgba(122, 92, 45, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ebook__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(122, 92, 45, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.ebook__btn svg {
  width: 0.95rem;
  height: 0.95rem;
  transition: transform 0.3s ease;
}

.ebook__btn:hover svg { transform: translateX(3px); }

/* variação "em breve": sem link, aspecto desativado */
.ebook__btn--soon {
  background: transparent;
  color: var(--gold-deep);
  border: 1.5px solid rgba(163, 127, 66, 0.45);
  box-shadow: none;
  cursor: default;
  opacity: 0.75;
}

.ebook__btn--soon:hover {
  transform: none;
  box-shadow: none;
}

.ebook__btn--soon:hover svg { transform: none; }

/* ============ Fade entre páginas ============ */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 999;
}

.page-leave body::after {
  opacity: 1;
  pointer-events: auto;
}

.js body { animation: pageIn 0.4s ease; }

@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============ Animações de entrada ============ */

.animate-in {
  animation: fadeInUpBlur 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--delay, 0s);
}

/* estado oculto só existe quando o JS está ativo (html.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
              filter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--stagger, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@keyframes fadeInUpBlur {
  0%   { opacity: 0; transform: translateY(22px); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .animate-in, .reveal { animation: none; transition: none; opacity: 1; transform: none; filter: none; }
  .card__shine, .particle, .monogram, .backdrop__glow { animation: none; }
  .signature-phrase, .theme-toggle--spin svg, .js body { animation: none; }
  .wait-badge__dot { animation: none; }
  .hero__slide { animation: none; }
  .hero__slide:first-child { opacity: 1; transform: none; }
}

/* ============ Página de Lista de Espera ============ */

.wait-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 203, 168, 0.45);
  background: rgba(23, 16, 8, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne-100);
}

.wait-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 160, 97, 0.2);
  animation: badgePulse 2.4s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(201, 160, 97, 0.16); }
  50%      { box-shadow: 0 0 0 6px rgba(201, 160, 97, 0.3); }
}

.wait { margin-top: 2.6rem; }

.wait__headline {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--cream);
}

.wait__headline em {
  font-style: normal;
  font-family: var(--font-script);
  font-size: 1.35em;
  background: linear-gradient(115deg, var(--champagne-100), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wait__headline strong { color: var(--champagne-200); font-weight: 600; }

.wait__sub {
  margin-top: 1.1rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--cream-dim);
}

.wait__sub strong {
  font-weight: 500;
  color: var(--champagne-200);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wait-form {
  position: relative;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-card);
  background: linear-gradient(150deg, #f4e9d8 0%, #e6d2b4 55%, #d9c09c 100%);
  border: 1px solid rgba(255, 248, 235, 0.65);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.wait-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wait-form__field label {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.wait-form__field input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 0.8rem;
  border: 1.5px solid rgba(163, 127, 66, 0.4);
  background: rgba(255, 252, 245, 0.75);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.wait-form__field input::placeholder { color: rgba(92, 74, 48, 0.55); }

.wait-form__field input:focus {
  border-color: var(--gold-deep);
  background: #fffdf8;
  box-shadow: 0 0 0 4px rgba(163, 127, 66, 0.18);
}

.wait-form__btn {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 1.6rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(115deg, var(--gold-deep), #8a6832);
  color: var(--champagne-50);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(122, 92, 45, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wait-form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(122, 92, 45, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.wait-form__btn:active { transform: translateY(0) scale(0.99); }

.wait-form__btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.wait-form__btn:hover svg { transform: translateX(3px); }

.wait-form__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.wait-form__privacy svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gold-deep);
  flex-shrink: 0;
}

.wait-form__consent {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: var(--ink-soft);
  font-size: .74rem;
  line-height: 1.45;
  text-align: left;
}

.wait-form__consent input {
  width: 1rem;
  height: 1rem;
  margin: .08rem 0 0;
  accent-color: var(--gold-deep);
  flex: 0 0 auto;
}

.wait-form__consent a {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .18rem;
}

.about__name {
  font-family: var(--font-script);
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  background: linear-gradient(115deg, var(--gold-deep), #8a6832);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__text p + p { margin-top: 0.7rem; }

/* ============ Rodapé legal ============ */

.footer--legal { text-align: center; }

.footer__disclaimer {
  max-width: 26rem;
  margin: 0 auto;
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(245, 239, 228, 0.4);
}

.light .footer__disclaimer { color: rgba(58, 45, 28, 0.5); }

.footer__copy--caps {
  margin-top: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
}

/* ============ Página de agradecimento ============ */

.thanks {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
}

.thanks__check {
  margin-top: 1.6rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 1.5px solid rgba(227, 203, 168, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--champagne-100);
  box-shadow: 0 0 24px rgba(201, 160, 97, 0.28), inset 0 0 14px rgba(201, 160, 97, 0.12);
}

.thanks__check svg { width: 1.8rem; height: 1.8rem; }

.thanks__title {
  margin-top: 1.4rem;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: linear-gradient(115deg, var(--champagne-50) 10%, var(--gold) 55%, var(--champagne-100) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.light .thanks__title { background-image: linear-gradient(115deg, #8a6832 10%, #6b4f26 55%, #a37f42 90%); }

.thanks__text {
  margin-top: 0.9rem;
  max-width: 26rem;
  color: var(--cream-dim);
}

.thanks__text strong { color: var(--champagne-200); font-weight: 500; }

.light .thanks__text strong { color: #8a6832; }

.thanks__script {
  margin-top: 1.3rem;
  font-family: var(--font-script);
  font-size: 2rem;
  background: linear-gradient(115deg, var(--champagne-100), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.light .thanks__script { background-image: linear-gradient(115deg, #a37f42, #6b4f26); }

.back-link--static { position: static; margin-top: 2.2rem; }

/* Tema claro: formulário */

.light .wait-form {
  border: 1px solid rgba(163, 127, 66, 0.35);
  box-shadow: 0 10px 26px rgba(122, 92, 45, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.light .wait-badge { color: #8a6832; background: rgba(255, 253, 247, 0.82); border-color: rgba(163, 127, 66, 0.5); }

.light .wait__headline { color: var(--cream); }
.light .wait__headline em { background-image: linear-gradient(115deg, #a37f42, #6b4f26); }
.light .wait__headline strong,
.light .wait__sub strong { color: #8a6832; }

/* ============ Botão de tema ============ */

.theme-toggle {
  position: fixed;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 100;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(227, 203, 168, 0.45);
  background: rgba(23, 16, 8, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--champagne-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(201, 160, 97, 0.35);
}

.theme-toggle svg {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.theme-toggle:hover svg { transform: rotate(22deg); }

@keyframes themeSpin {
  from { transform: rotate(0deg) scale(0.55); opacity: 0; }
  to   { transform: rotate(360deg) scale(1); opacity: 1; }
}

.theme-toggle--spin svg { animation: themeSpin 0.55s ease both; }

.theme-toggle__icon--moon { display: none; }

/* ============ Tema claro ============ */

.light {
  --bg-0: #f7f0e2;
  --bg-1: #efe5d0;
  --cream: #3a2d1c;
  --cream-dim: rgba(58, 45, 28, 0.72);
}

.light .backdrop {
  background:
    radial-gradient(120% 60% at 50% 0%, #fdf9f0 0%, transparent 60%),
    radial-gradient(90% 50% at 50% 100%, #f0e3c9 0%, transparent 65%),
    var(--bg-0);
}

.light .backdrop__glow--top { background: rgba(201, 160, 97, 0.2); }
.light .backdrop__glow--bottom { background: rgba(163, 127, 66, 0.16); }

.light .particle {
  background: radial-gradient(circle, rgba(163, 127, 66, 0.65) 0%, rgba(163, 127, 66, 0.22) 60%, transparent 100%);
}

.light .hero__photo-fade {
  background:
    linear-gradient(to bottom, rgba(247, 240, 226, 0.08) 0%, rgba(247, 240, 226, 0.03) 30%, rgba(247, 240, 226, 0.6) 68%, var(--bg-0) 96%),
    radial-gradient(90% 70% at 50% 100%, rgba(247, 240, 226, 0.4) 0%, transparent 60%);
}

.light .hero__name h1,
.light .ebooks-hero__name {
  background-image: linear-gradient(115deg, #8a6832 10%, #6b4f26 55%, #a37f42 90%);
  text-shadow: none;
}

.light .hero__tagline em {
  background-image: linear-gradient(115deg, #a37f42 20%, #6b4f26 60%, #8a6832);
  text-shadow: none;
}

.light .signature-phrase {
  background-image: linear-gradient(115deg,
    #a37f42 0%, #6b4f26 20%, #a37f42 43%,
    #d9b979 50%,
    #a37f42 57%, #6b4f26 80%, #a37f42 100%);
  text-shadow: none;
}

.light .monogram {
  border-color: rgba(163, 127, 66, 0.6);
}

.light .monogram__letters {
  background-image: linear-gradient(120deg, #8a6832, #6b4f26 55%, #a37f42);
}

.light .section-title,
.light .ebooks-hero__divider-title { color: #8a6832; }

.light .section-title::before { background: linear-gradient(90deg, transparent, rgba(163, 127, 66, 0.45)); }
.light .section-title::after  { background: linear-gradient(90deg, rgba(163, 127, 66, 0.45), transparent); }

.light .social-divider__line--left  { background: linear-gradient(90deg, transparent, rgba(163, 127, 66, 0.6)); }
.light .social-divider__line--right { background: linear-gradient(90deg, rgba(163, 127, 66, 0.6), transparent); }
.light .social-divider__line::after { background: #a37f42; }

.light .social-divider__icons a,
.light .back-link,
.light .theme-toggle {
  background: rgba(255, 253, 247, 0.82);
  border-color: rgba(163, 127, 66, 0.5);
  color: #8a6832;
}

.light .theme-toggle__icon--sun { display: none; }
.light .theme-toggle__icon--moon { display: block; }

.light .card,
.light .about__card,
.light .ebook {
  border: 1px solid rgba(163, 127, 66, 0.35);
  box-shadow: 0 10px 26px rgba(122, 92, 45, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.light .card:hover,
.light .ebook:hover {
  box-shadow:
    0 16px 36px rgba(122, 92, 45, 0.24),
    0 0 26px rgba(201, 160, 97, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.light .map-frame {
  border-color: rgba(163, 127, 66, 0.4);
  box-shadow: 0 10px 26px rgba(122, 92, 45, 0.18);
}

.light .map-address svg { color: #8a6832; }

.light .footer__copy { color: rgba(58, 45, 28, 0.55); }

.light .about__local-link {
  color: #6f542d;
  text-decoration-color: rgba(111, 84, 45, 0.32);
}

.light .footer__nap {
  color: rgba(58, 45, 28, 0.62);
}

.light .footer__nap strong {
  color: #3a2d1c;
}

/* transição suave ao alternar o tema (aplicada só após o primeiro clique) */
.theme-anim body,
.theme-anim .card,
.theme-anim .about__card,
.theme-anim .ebook,
.theme-anim .social-divider__icons a,
.theme-anim .theme-toggle,
.theme-anim .back-link,
.theme-anim .section-title,
.theme-anim .hero__tagline,
.theme-anim .ebooks-hero__divider-title,
.theme-anim .map-address,
.theme-anim .footer__copy {
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Modo estático (?static): desliga animações para capturas/depuração */
.static *,
.static *::before,
.static *::after {
  animation: none !important;
  transition: none !important;
}

.static .animate-in,
.static .reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.static .hero__slide:first-child {
  opacity: 1 !important;
  transform: none !important;
}

/* ============ Telas maiores ============ */

@media (min-width: 48rem) {
  :root { --page-max: 32rem; }

  .hero { padding-top: 17rem; }

  .hero__name h1 { font-size: 2.3rem; }

  .signature-phrase { font-size: 2.4rem; }

  .map-frame iframe { height: 17rem; }

  .about__card {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
}
