/* ==========================================================================
   Espaço Celebre — estilos
   Direção: "Confete em órbita". O anel de bolinhas da marca é a moldura,
   o divisor e a linha do tempo do site. O resto fica calmo e bem acabado.

   Sumário
   1. Tokens (cores, tipo, espaços)
   2. Base e acessibilidade
   3. Componentes reutilizáveis (botões, divisor, anel, fotos)
   4. Cabeçalho e menu
   5. Seções (hero → contato)
   6. Rodapé, WhatsApp flutuante, lightbox
   7. Movimento reduzido
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  /* Paleta da marca */
  --navy: #34508A;        /* institucional, fundos fortes */
  --red: #E8323A;         /* CTAs e grafismos (texto branco só em tamanho grande e bold: 4,24:1) */
  --yellow: #FFE81A;      /* só sobre azul ou marrom, ou como fundo com texto marrom */
  --white: #FFFFFF;
  --brown: #2A0E0E;       /* texto principal e fundo da seção "Do seu jeito" */

  /* Tons derivados (para cumprir WCAG AA) */
  --red-deep: #C4202A;    /* vermelho para texto pequeno e superfícies com texto: 5,85:1 com branco */
  --navy-deep: #273E6E;   /* fotos provisórias sobre o azul */
  --ice: #EEF2FA;         /* fundo de respiro entre seções */
  --ice-line: #D5DDEE;
  --muted: #4A3A3A;       /* texto secundário sobre fundo claro (≥ 9:1) */

  /* Tipografia */
  --font-display: "Nunito", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.0625rem;                              /* 17px: texto */
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(2rem, 1.5rem + 2.6vw, 3.5rem);    /* títulos de seção */
  --step-4: clamp(2.75rem, 1.6rem + 6vw, 5.75rem);  /* título do hero */

  /* Espaços */
  --gutter: 1.25rem;
  --section-y: clamp(4rem, 3rem + 6vw, 7.5rem);
  --radius: 1.25rem;
  --radius-lg: 1.75rem;

  --header-h: 4.25rem;
  --focus: var(--navy);
}

/* 2. BASE ================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--brown);
  background: var(--white);
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:where(ul[role="list"], ol, .nav__list) { list-style: none; margin: 0; padding: 0; }

section[id], main [id] { scroll-margin-top: calc(var(--header-h) + 0.5rem); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Em fundos escuros o foco vira amarelo */
.site-header, .hero, .section--navy, .section--brown, .site-footer, .lightbox { --focus: var(--yellow); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--brown);
  font-weight: 700;
  border-radius: 0.5rem;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* 3. COMPONENTES =========================================================== */

/* Botões — o texto tem 19px e peso 900 (texto grande pela WCAG),
   por isso o branco sobre o vermelho da marca é permitido aqui. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--large { min-height: 3.5rem; padding-inline: 1.75rem; }
.btn--small { min-height: 2.5rem; padding: 0.5rem 1.1rem; }
.btn--block { width: 100%; padding-inline: 1rem; white-space: nowrap; }

.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-deep); }

.btn--ghost { border-color: currentColor; color: var(--white); background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--yellow { background: var(--yellow); color: var(--brown); }
.btn--yellow:hover { box-shadow: 0 0 0 4px rgba(255, 232, 26, 0.35); }

.text-link {
  color: var(--red-deep);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.text-link:hover { text-decoration-thickness: 3px; }

/* Divisor: um arco do anel de confete (SVG gerado pelo JS) */
.divider { width: 8.5rem; height: 2.25rem; margin-bottom: 1.25rem; }
.divider svg { width: 100%; height: 100%; overflow: visible; }

/* Títulos e introdução de seção */
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy); color: var(--white); }
.section--brown { background: var(--brown); color: var(--white); }

.section__title {
  font-size: var(--step-3);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 18ch;
}
.section--navy .section__title,
.section--brown .section__title { color: var(--white); }

.section__intro {
  margin-top: 1rem;
  max-width: 54ch;
  font-size: var(--step-1);
  line-height: 1.5;
}

/* Anel de confete (SVG gerado pelo JS) */
.ring { width: 100%; height: 100%; overflow: visible; display: block; }
.ring circle { transform-box: fill-box; transform-origin: center; }

/* Moldura circular: anel ao redor de uma foto */
.ring-frame {
  position: relative;
  width: min(86vw, 30rem);
  aspect-ratio: 1;
  margin-inline: auto;
}
.ring-frame > .ring { position: absolute; inset: 0; }
.ring-frame__photo {
  position: absolute;
  inset: 13%;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
}

/* Fotos e marcadores provisórios */
.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ice-line);
}
.media img, .ring-frame__photo img { width: 100%; height: 100%; object-fit: cover; }

.ph {
  display: grid;
  place-content: center;
  gap: 0.25rem;
  width: 100%;
  height: 100%;
  padding: 1rem;
  text-align: center;
  color: var(--navy);
  background-color: #DDE4F2;
  /* textura de confete discreta */
  background-image:
    radial-gradient(circle at 20% 30%, rgba(52, 80, 138, 0.18) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 20%, rgba(232, 50, 58, 0.18) 0 4px, transparent 5px),
    radial-gradient(circle at 80% 75%, rgba(52, 80, 138, 0.14) 0 9px, transparent 10px),
    radial-gradient(circle at 35% 80%, rgba(232, 50, 58, 0.14) 0 3px, transparent 4px);
  background-size: 140px 140px;
}
.ph strong { font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1.2; }
.ph span { font-size: 0.875rem; }
.ph--dark { color: var(--white); background-color: var(--navy-deep);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 232, 26, 0.22) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.16) 0 4px, transparent 5px),
    radial-gradient(circle at 80% 75%, rgba(232, 50, 58, 0.3) 0 9px, transparent 10px),
    radial-gradient(circle at 35% 80%, rgba(255, 255, 255, 0.14) 0 3px, transparent 4px); }
.ph--brown { color: var(--white); background-color: #4A2222;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 232, 26, 0.22) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.14) 0 4px, transparent 5px),
    radial-gradient(circle at 80% 75%, rgba(232, 50, 58, 0.35) 0 9px, transparent 10px); }

/* 4. CABEÇALHO ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 30, 60, 0.25); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  color: var(--white);
  text-decoration: none;
}
.brand__mark { width: 2.5rem; height: 2.5rem; }
.brand__img { height: 2.75rem; width: auto; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__small { font-weight: 800; font-size: 0.8em; opacity: 0.9; }

.header__actions { display: flex; align-items: center; gap: 0.5rem; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 1.375rem; height: 3px;
  border-radius: 3px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Menu no celular: painel abaixo do cabeçalho */
.nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem var(--gutter) 1.25rem;
  box-shadow: 0 12px 24px rgba(20, 30, 60, 0.3);
}
.nav:not(.is-open) { display: none; }
.nav__list a {
  display: block;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav__list li:last-child a { border-bottom: 0; }

@media (min-width: 60rem) {
  .menu-toggle { display: none; }
  .nav, .nav:not(.is-open) {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .nav__list { display: flex; gap: 1.5rem; }
  .nav__list a {
    padding: 0.5rem 0;
    font-size: 1rem;
    border: 0;
    position: relative;
  }
  /* Hover: uma bolinha amarela aparece sob o link */
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 50%; bottom: -0.15rem;
    width: 0.45rem; height: 0.45rem;
    margin-left: -0.225rem;
    border-radius: 50%;
    background: var(--yellow);
    transform: scale(0);
    transition: transform 0.2s cubic-bezier(.34, 1.56, .64, 1);
  }
  .nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scale(1); }
  .header__actions { margin-left: 1rem; }
}

/* 5. SEÇÕES ================================================================ */

/* --- 5.1 Hero --- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding-block: 2.5rem 4.5rem;
  overflow: hidden;
}
.hero__inner { display: grid; gap: 3rem; align-items: center; }

.hero__title {
  font-size: var(--step-4);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 11ch;
}
.hero__lead {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: var(--step-1);
  line-height: 1.5;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero__note {
  margin-top: 1.5rem;
  padding-left: 1.4rem;
  position: relative;
  font-size: var(--step--1);
}
.hero__note::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em;
  width: 0.7rem; height: 0.7rem;
  border-radius: 50%;
  background: var(--yellow);
}

@media (max-width: 29.99rem) {
  .hero__actions .btn { width: 100%; }
}

@media (min-width: 60rem) {
  .hero { padding-block: 4rem 6rem; }
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    min-height: calc(100svh - var(--header-h) - 10rem);
  }
  .hero__visual { justify-self: end; }
  .hero .ring-frame { width: min(40vw, 32rem); }
}

/* Entrada do confete do hero (o JS adiciona .is-entering ao SVG) */
@keyframes confetti-in {
  0%   { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translate(0, 0) scale(1); opacity: 1; }
}
.ring.is-entering circle {
  animation: confetti-in 0.9s cubic-bezier(.34, 1.4, .64, 1) both;
  animation-delay: var(--delay, 0s);
}
@keyframes photo-in { from { transform: scale(0.85); opacity: 0; } }
.hero .ring-frame__photo { animation: photo-in 0.7s 0.15s cubic-bezier(.34, 1.3, .64, 1) both; }

/* --- 5.2 Tipos de festa --- */
.party-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 40rem) { .party-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 40rem) and (max-width: 71.99rem) { .party--white { grid-column: 1 / -1; min-height: 0; } }
/* 5 cards no desktop: 3 em cima, 2 mais largos embaixo */
@media (min-width: 72rem) {
  .party-grid { grid-template-columns: repeat(6, 1fr); }
  .party { grid-column: span 2; }
  .party:nth-child(n+4) { grid-column: span 3; min-height: 16rem; }
}

.party {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 19rem;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--radius-lg);
}
.party__title {
  margin-top: 5rem;
  font-size: var(--step-2);
  font-weight: 900;
  letter-spacing: -0.01em;
}
.party p { flex: 1; }
.party__link {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
.party__link:hover { text-decoration-thickness: 3px; }
.party__link::after { content: ""; position: absolute; inset: 0; } /* card inteiro clicável */

/* Fragmento do anel no canto: se espalha no hover */
.party__ring {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  width: 4.75rem; height: 4.75rem;
  pointer-events: none;
}
.party__ring circle { transition: transform 0.45s cubic-bezier(.34, 1.56, .64, 1); }
.party:hover .party__ring circle,
.party:focus-within .party__ring circle { transform: translate(var(--sx), var(--sy)) scale(1.15); }

.party--yellow { background: var(--yellow); color: var(--brown); --focus: var(--brown); }
.party--red    { background: var(--red-deep); color: var(--white); --focus: var(--yellow); }
.party--navy   { background: var(--navy); color: var(--white); --focus: var(--yellow); }
.party--brown  { background: var(--brown); color: var(--white); --focus: var(--yellow); }
.party--white  { background: var(--white); color: var(--brown); border: 3px solid var(--navy); --focus: var(--navy); }
.party--white .party__title { color: var(--navy); }
.party--white .party__link { color: var(--red-deep); }

/* --- 5.3 O espaço --- */
.space { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.space__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.space__photo { margin: 0; }
.space__photo--main { grid-column: 1 / -1; }
.space__photo .media { aspect-ratio: 3 / 4; }
.space__photo--main .media { aspect-ratio: 4 / 3; }
.space__photo figcaption { margin-top: 0.5rem; font-size: var(--step--1); color: var(--muted); }

.space__capacity {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-2);
  color: var(--navy);
}
.space__capacity strong { font-weight: 900; color: var(--red-deep); }

.features { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.features li { position: relative; padding-left: 1.75rem; }
.features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3rem;
  width: var(--d, 0.75rem); height: var(--d, 0.75rem);
  border-radius: 50%;
  background: var(--c, var(--red));
  transform: translateX(calc((0.9rem - var(--d, 0.75rem)) / 2));
}
/* bolinhas de tamanhos e cores diferentes, como no símbolo */
.features li:nth-child(odd)  { --c: var(--navy); }
.features li:nth-child(even) { --c: var(--red); }
.features li:nth-child(3n+1) { --d: 0.55rem; }
.features li:nth-child(3n+2) { --d: 0.9rem; }
.features li:nth-child(3n)   { --d: 0.7rem; }
.features h3 { font-size: 1.1875rem; font-weight: 800; color: var(--navy); }
.features p { margin-top: 0.25rem; }

@media (min-width: 60rem) {
  .space { grid-template-columns: 7fr 5fr; align-items: start; gap: 4rem; }
  .space__info { padding-top: 0.5rem; }
}

/* --- 5.4 Do seu jeito (classes .buffet mantidas por simplicidade) --- */
.buffet { display: grid; gap: 3.5rem; align-items: center; }
.section--brown .section__intro { color: rgba(255, 255, 255, 0.92); }
.sweets { display: grid; gap: 1.5rem; margin-block: 2rem 2.5rem; }
.sweets li { border-left: 3px solid var(--yellow); padding-left: 1.25rem; }
.sweets h3 { font-size: var(--step-2); font-weight: 900; color: var(--yellow); }
.sweets p { margin-top: 0.35rem; max-width: 46ch; }
.ring-frame--sweet { width: min(80vw, 26rem); }

@media (min-width: 60rem) {
  .buffet { grid-template-columns: 6fr 5fr; gap: 4rem; }
}

/* --- 5.5 Galeria --- */
.gallery {
  margin-top: 2.5rem;
  columns: 2;
  column-gap: 0.75rem;
}
@media (min-width: 48rem) { .gallery { columns: 3; column-gap: 1rem; } }
.gallery li { break-inside: avoid; margin-bottom: 0.75rem; }
@media (min-width: 48rem) { .gallery li { margin-bottom: 1rem; } }

.gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.gallery__item .media { border-radius: 0; }
.gallery__item img, .gallery__item .ph { transition: transform 0.35s ease; }
.gallery__item:hover img, .gallery__item:hover .ph { transform: scale(1.04); }
/* Hover: o anel aparece no canto, convidando a ampliar */
.gallery__hint {
  position: absolute;
  right: 0.6rem; bottom: 0.6rem;
  width: 2.5rem; height: 2.5rem;
  padding: 0.35rem;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(.34, 1.56, .64, 1);
}
.gallery__item:hover .gallery__hint,
.gallery__item:focus-visible .gallery__hint { opacity: 1; transform: scale(1); }

/* --- 5.6 Como funciona --- */
.steps {
  position: relative;
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
  counter-reset: passo;
}
/* linha pontilhada ligando os passos */
.steps::before {
  content: "";
  position: absolute;
  left: 2.25rem; top: 1rem; bottom: 2rem;
  width: 4px;
  margin-left: -2px;
  background: radial-gradient(circle, var(--navy) 1.6px, transparent 2px) center top / 4px 12px repeat-y;
  opacity: 0.45;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  column-gap: 1.25rem;
  align-items: start;
}
.step__dot {
  grid-row: span 2;
  justify-self: center;
  position: relative;
  width: var(--d); height: var(--d);
  margin-top: calc((4.5rem - var(--d)) / 2 - 1rem);
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 6px var(--ice);
}
.step h3 { font-size: var(--step-2); font-weight: 900; color: var(--navy); }
.step p { margin-top: 0.4rem; max-width: 36ch; }

.step--1 { --d: 1.1rem; --c: var(--navy); }
.step--2 { --d: 1.9rem; --c: var(--red); }
.step--3 { --d: 2.9rem; --c: var(--navy); }
.step--4 { --d: 3.75rem; --c: var(--red); }
.step--4 h3 { color: var(--red-deep); }
/* no último passo, o confete se abre ao redor da bolinha */
.step--4 .step__dot .ring { position: absolute; inset: -38%; width: 176%; height: 176%; }

@media (min-width: 60rem) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .steps::before {
    left: 1rem; right: 12%; bottom: auto;
    width: auto; height: 4px; margin: -2px 0 0;
    background: radial-gradient(circle, var(--navy) 1.6px, transparent 2px) left center / 12px 4px repeat-x;
  }
  .steps::before { top: 3rem; }
  .step { grid-template-columns: 1fr; grid-template-rows: 6rem auto 1fr; row-gap: 1rem; }
  .step__dot { grid-row: auto; justify-self: start; align-self: center; margin: 0 0 0 calc((3.75rem - var(--d)) / 2); }
}

/* --- 5.7 Depoimentos --- */
.testimonials { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 48rem) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  margin: 0;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--ice);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial blockquote { margin: 0; font-size: var(--step-1); line-height: 1.5; }
.testimonial figcaption { display: flex; flex-direction: column; font-size: var(--step--1); color: var(--muted); }
.testimonial figcaption strong { font-family: var(--font-display); font-weight: 900; font-size: 1.0625rem; color: var(--navy); }

.testimonials-empty {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--ice-line);
}
.testimonials-empty__ring { width: 5.5rem; height: 5.5rem; }
.testimonials-empty p { max-width: 52ch; font-size: var(--step-1); }
.testimonials-empty__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
@media (min-width: 48rem) {
  .testimonials-empty { grid-template-columns: auto 1fr; column-gap: 2rem; }
  .testimonials-empty__ring { grid-row: span 2; }
}

/* --- 5.8 Orçamento --- */
.quote { display: grid; gap: 2.5rem; }
.section--navy .section__intro { color: rgba(255, 255, 255, 0.95); }

.quote-form {
  display: grid;
  gap: 1.15rem;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--brown);
  --focus: var(--navy);
}
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; gap: 1.15rem; }
@media (min-width: 30rem) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label { font-weight: 700; }
.field input, .field select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.7rem 0.95rem;
  border: 2px solid var(--navy);
  border-radius: 0.85rem;
  background: var(--white);
  color: var(--brown);
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2334508A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.25rem;
  padding-right: 2.75rem;
}
.field input:focus-visible, .field select:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
.field [aria-invalid="true"] { border-color: var(--red-deep); background-color: #FFF5F5; }
.field__error { min-height: 0; color: var(--red-deep); font-weight: 700; font-size: var(--step--1); }
.field__error:empty { display: none; }

.quote-form .btn { margin-top: 0.5rem; }
.quote-form__hint { font-size: var(--step--1); color: var(--muted); text-align: center; }

@media (min-width: 60rem) {
  .quote { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: center; }
  .quote-form { padding: 2.25rem; }
}

/* Confete do envio (partículas criadas pelo JS) */
.burst {
  position: fixed;
  z-index: 90;
  border-radius: 50%;
  pointer-events: none;
}

/* --- 5.9 Contato --- */
.contact { display: grid; gap: 2.5rem; }
.contact__block { margin-top: 1.75rem; font-style: normal; }
.contact__block h3 { font-size: 1.1875rem; font-weight: 900; color: var(--navy); margin-bottom: 0.4rem; }
.contact__block .text-link { display: inline-block; margin-top: 0.4rem; }
.contact__note { margin-top: 0.75rem; font-size: var(--step--1); color: var(--muted); max-width: 46ch; }

.hours { margin: 0; display: grid; gap: 0.35rem; max-width: 22rem; }
.hours div { display: flex; align-items: baseline; gap: 0.5rem; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; order: 3; }
/* pontilhado entre o dia e o horário */
.hours div::after {
  content: "";
  order: 2;
  flex: 1;
  border-bottom: 2px dotted var(--ice-line);
  transform: translateY(-0.3em);
}

.social { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--ice);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}
.social a:hover { background: var(--ice-line); }

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ice);
  min-height: 22rem;
}
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 22rem; border: 0; }

@media (min-width: 60rem) {
  .contact { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: stretch; }
  .contact__map { min-height: 34rem; }
}

/* 6. RODAPÉ, WHATSAPP FLUTUANTE, LIGHTBOX ================================== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 6.5rem;
}
.footer__inner { display: grid; gap: 2rem; }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__motto { font-family: var(--font-display); font-weight: 900; font-size: var(--step-2); line-height: 1.1; }
.footer__cols { display: grid; gap: 1.5rem; }
.footer__cols a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.footer__legal { font-size: var(--step--1); opacity: 0.9; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 1.5rem; }

.social--footer a { background: rgba(255, 255, 255, 0.12); color: var(--white); padding: 0; width: 2.75rem; justify-content: center; }
.social--footer a:hover { background: rgba(255, 255, 255, 0.22); }

@media (min-width: 48rem) {
  .footer__cols { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
  .site-footer { padding-bottom: 4rem; }
}

.whats-float {
  position: fixed;
  right: 1rem; bottom: 1rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 3.75rem; height: 3.75rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(42, 14, 14, 0.3);
  transition: transform 0.2s cubic-bezier(.34, 1.56, .64, 1);
}
.whats-float .icon { width: 1.9rem; height: 1.9rem; }
.whats-float:hover { transform: scale(1.08); }
/* anel de confete que gira devagar ao passar o mouse */
.whats-float .ring { position: absolute; inset: -0.55rem; width: calc(100% + 1.1rem); height: calc(100% + 1.1rem); opacity: 0; transition: opacity 0.2s ease; }
.whats-float:hover .ring, .whats-float:focus-visible .ring { opacity: 1; animation: spin 6s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Lightbox */
.lightbox {
  width: 100%; max-width: none;
  height: 100%; max-height: none;
  margin: 0; padding: 4.5rem 1rem 1.5rem;
  border: 0;
  background: rgba(22, 32, 58, 0.96);
  color: var(--white);
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto auto; justify-items: center; gap: 0.75rem; }
.lightbox::backdrop { background: rgba(22, 32, 58, 0.6); }

.lightbox__stage { position: relative; display: grid; place-items: center; width: 100%; min-height: 0; }
.lightbox__media { display: grid; place-items: center; max-width: min(100%, 72rem); max-height: 100%; height: 100%; }
.lightbox__media img { max-height: calc(100svh - 11rem); width: auto; border-radius: var(--radius); object-fit: contain; }
.lightbox__media .ph { width: min(86vw, 52rem); height: auto; border-radius: var(--radius); }
.lightbox__loader { position: absolute; width: 4.5rem; height: 4.5rem; opacity: 0; transition: opacity 0.2s; }
.lightbox.is-loading .lightbox__loader { opacity: 1; }
.lightbox.is-loading .lightbox__loader .ring { animation: spin 1.4s linear infinite; }
.lightbox__caption { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); text-align: center; }
.lightbox__count { font-size: var(--step--1); opacity: 0.9; }

.lightbox__btn {
  position: fixed;
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border: 0; border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.lightbox__btn .icon { width: 1.4rem; height: 1.4rem; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev, .lightbox__next { top: 50%; margin-top: -1.5rem; }
.lightbox__prev { left: 0.75rem; }
.lightbox__prev .icon { transform: rotate(180deg); }
.lightbox__next { right: 0.75rem; }
@media (max-width: 47.99rem) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; margin: 0; }
}

/* 7. MOVIMENTO REDUZIDO ==================================================== */
@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;
  }
  .ring.is-entering circle, .hero .ring-frame__photo { animation: none; }
  .party:hover .party__ring circle, .party:focus-within .party__ring circle { transform: none; }
  .whats-float:hover .ring { animation: none; }
}
