/* ==========================================================================
   Loja de Noivas Quatro Estações — Design System
   Paleta derivada diretamente do emblema das quatro estações:
   - Branco seda (#FFFFFF) e névoa porcelana (#F3F6F7)
   - Azul safira botânico (#1B4362) como tinta principal e identidade
   - Verde-petróleo inverno (#2A6F7F) para ações principais
   - Rosa primavera (#D98899) e ouro outono (#C99546) como acentos sutis
   ========================================================================== */

:root {
  --paper: #FFFFFF;
  --mist: #F3F6F7;
  --sapphire: #1B4362;
  --sapphire-deep: #133149;
  --teal: #2A6F7F;
  --teal-hover: #1E5765;
  --rose: #D98899;
  --gold: #C99546;
  --slate: #4B5E6B;
  --border: #DCE4E8;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1160px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4.5rem;
  --space-2xl: 6.5rem;
}

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

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

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--sapphire);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--sapphire);
}

p {
  margin: 0;
  max-width: 64ch;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sapphire);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Barra de assinatura com as 4 cores do emblema */
.seasons-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 4px;
  width: 100%;
}

.season-spring { background-color: var(--rose); }
.season-winter { background-color: var(--teal); }
.season-night  { background-color: var(--sapphire); }
.season-autumn { background-color: var(--gold); }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-emblem {
  border-radius: 2px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--sapphire);
}

.brand-sub {
  font-size: 0.8rem;
  color: var(--slate);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 160ms ease;
}

.nav-list a:hover {
  color: var(--sapphire);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background-color: var(--sapphire);
  transition: transform 200ms ease;
}

/* ==========================================================================
   Botões e links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn-sm {
  padding: 0.625rem 1.15rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--teal);
  color: var(--paper);
}

.btn-primary:hover {
  background-color: var(--teal-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--sapphire);
  border-color: var(--sapphire);
}

.btn-secondary:hover {
  background-color: var(--sapphire);
  color: var(--paper);
}

.btn-light {
  background-color: var(--paper);
  color: var(--sapphire);
}

.btn-light:hover {
  background-color: var(--mist);
}

.btn-full {
  width: 100%;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link:hover {
  color: var(--sapphire);
  border-color: var(--sapphire);
}

/* ==========================================================================
   Hero Editorial
   ========================================================================== */
.hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-emblem {
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  padding: 4px;
  background-color: var(--paper);
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  font-weight: 500;
  line-height: 1.16;
  max-width: 19ch;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--slate);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.75rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-facts dt {
  font-size: 0.8125rem;
  color: var(--slate);
  margin-bottom: 0.25rem;
}

.hero-facts dd {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sapphire);
}

.hero-media {
  margin: 0;
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
}

/* ==========================================================================
   Seções gerais
   ========================================================================== */
.section {
  padding-block: clamp(3.75rem, 7vw, 6.5rem);
}

.section-mist {
  background-color: var(--mist);
}

.section-sapphire {
  background-color: var(--sapphire);
  color: var(--paper);
}

.section-sapphire h2 {
  color: var(--paper);
}

.section-intro {
  max-width: 56ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-intro h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 0.875rem;
}

.section-intro p {
  color: var(--slate);
  font-size: 1.03125rem;
}

/* ==========================================================================
   Lookbook / Coleções
   ========================================================================== */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.lookbook-offset {
  margin-top: 3.5rem;
}

.lookbook-photo {
  margin: 0 0 1.35rem 0;
  background-color: var(--paper);
  overflow: hidden;
}

.lookbook-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.lookbook-body h3 {
  font-size: 1.75rem;
  margin-bottom: 0.6rem;
}

.lookbook-body p {
  color: var(--slate);
  font-size: 0.96875rem;
}

/* ==========================================================================
   Como funciona (sequência real)
   ========================================================================== */
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 2.25rem;
}

.step-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.step-item h3 {
  font-size: 1.55rem;
  margin-bottom: 0.65rem;
}

.step-item p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* ==========================================================================
   A Loja Física (Fachada + Horários)
   ========================================================================== */
.store-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.store-photo {
  margin: 0;
}

.store-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.store-photo figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--slate);
}

.store-details h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-bottom: 1rem;
}

.store-details > p {
  color: var(--slate);
  margin-bottom: 2.25rem;
}

.info-block {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.info-block h3 {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.live-status {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hours-table {
  margin: 0;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid rgba(27, 67, 98, 0.08);
  font-size: 0.95rem;
}

.hours-row dt {
  color: var(--slate);
}

.hours-row dd {
  margin: 0;
  font-weight: 500;
  color: var(--sapphire);
}

.hours-row.is-today dt,
.hours-row.is-today dd {
  color: var(--sapphire);
  font-weight: 600;
}

.store-address {
  font-style: normal;
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.store-address a {
  color: var(--sapphire);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ==========================================================================
   Avaliações reais do Google
   ========================================================================== */
.reviews-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.reviews-header h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-bottom: 0.5rem;
}

.reviews-header p {
  color: var(--slate);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.review-item {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.stars {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.review-item blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--sapphire);
}

.review-item figcaption {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
}

/* ==========================================================================
   Agendamento WhatsApp
   ========================================================================== */
.booking-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.booking-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 1rem;
}

.booking-copy p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 1.25rem;
}

.booking-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.booking-form {
  background-color: var(--sapphire-deep);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.choice-group {
  border: 0;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.choice-group legend {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.choice-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.pill {
  position: relative;
  cursor: pointer;
}

.pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  padding: 0.6rem 0.95rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.pill input:checked + span {
  background-color: var(--paper);
  color: var(--sapphire);
  border-color: var(--paper);
  font-weight: 600;
}

.pill input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.45rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--paper);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--paper);
  background-color: rgba(255, 255, 255, 0.1);
}

.form-feedback {
  min-height: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #F8D58E;
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer {
  background-color: var(--paper);
  border-top: 1px solid var(--border);
  padding-block: 3rem 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--sapphire);
}

.footer-address {
  font-size: 0.875rem;
  color: var(--slate);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.footer-links a {
  text-decoration: none;
  color: var(--sapphire);
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--slate);
}

/* ==========================================================================
   Botão flutuante de WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem;
  background-color: #1F8A4C;
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(19, 49, 73, 0.22);
  transition: background-color 180ms ease, transform 180ms ease;
}

.whatsapp-float:hover {
  background-color: #18723E;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem;
  }

  .whatsapp-float-label {
    display: none;
  }
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .store-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 560px;
  }

  .steps-list,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .lookbook-offset {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background-color: var(--paper);
    border-bottom: 1px solid var(--border);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .lookbook-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media {
    animation: none;
  }
}
