/* ============================================================
   STYLE.CSS — Todos os estilos da landing page
   Organizado por secções para ser fácil de encontrar
============================================================ */


/* ── RESET & VARIÁVEIS GLOBAIS ──────────────────────────────
   :root define as cores como variáveis reutilizáveis.
   Em vez de escrever #C4955A em 50 sítios, escrevemos var(--accent)
   Se o cliente quiser mudar a cor principal, mudas só aqui!
─────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:  #F7F3EE;
  --warm:   #EDE5D8;
  --brown:  #8B6B4A;
  --dark:   #2C2218;
  --accent: #C4955A;
  --soft:   #D4B896;
  --white:  #FDFAF7;
}

html {
  scroll-behavior: smooth; /* scroll suave ao clicar nos links do nav */
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden; /* evita scroll horizontal indesejado */
}


/* ── NAV ────────────────────────────────────────────────────
   position: fixed  → fica sempre visível ao fazer scroll
   backdrop-filter  → efeito de vidro fosco
─────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(247, 243, 238, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 107, 74, 0.12);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--dark);
  color: var(--cream);
  border: none;
  padding: 0.55rem 1.4rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--accent);
}


/* ── HERO ───────────────────────────────────────────────────
   display: grid com 2 colunas iguais (1fr 1fr)
   padding-top: 72px → compensar a altura do nav fixo
─────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem 5rem;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--soft);
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.8rem;
  width: fit-content;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem); /* responsivo: mínimo 2.8, ideal 5vw, máximo 4.5 */
  line-height: 1.1;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: #6B5744;
  max-width: 420px;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  background: var(--dark);
  color: var(--cream);
  border: none;
  padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
}

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

.btn-ghost {
  background: transparent;
  color: var(--brown);
  border: 1px solid var(--soft);
  padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 107, 74, 0.15);
  animation: fadeUp 0.6s 0.4s ease both;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
}

.stat-label {
  font-size: 0.78rem;
  color: #9A7F68;
  margin-top: 0.1rem;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--warm);
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E8DCCF 0%, #C4A882 50%, #A8855A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-photo-placeholder svg   { opacity: 0.35; }
.hero-photo-placeholder span  {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--dark);
  opacity: 0.5;
}

.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  background: var(--white);
  padding: 1rem 1.4rem;
  box-shadow: 0 8px 32px rgba(44, 34, 24, 0.12);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.badge-dot {
  width: 9px;
  height: 9px;
  background: #4CAF50;
  border-radius: 50%;
}

.badge-text       { font-size: 0.78rem; line-height: 1.4; }
.badge-text strong { display: block; font-weight: 500; font-size: 0.85rem; }


/* ── SECÇÕES GERAIS ─────────────────────────────────────────*/
.section {
  padding: 6rem 5rem;
}

.section-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 3rem;
}


/* ── SERVIÇOS ───────────────────────────────────────────────*/
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid rgba(139, 107, 74, 0.1);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44, 34, 24, 0.09);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
}

.service-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.85rem;
  color: #7A6455;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.service-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
}

.service-price span {
  font-size: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  color: #9A7F68;
  font-weight: 400;
}


/* ── GALERIA ────────────────────────────────────────────────*/
.gallery-section {
  background: var(--warm);
  padding: 6rem 5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  overflow: hidden;
  background: var(--soft);
  position: relative;
}

.gallery-item:first-child {
  grid-row: span 2; /* primeira foto ocupa 2 linhas */
}

.gallery-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.04);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0.45;
}

.gallery-placeholder span {
  font-size: 0.75rem;
  color: var(--dark);
}


/* ── AGENDAMENTO ────────────────────────────────────────────*/
.booking-section {
  padding: 6rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.booking-desc {
  font-size: 0.95rem;
  color: #6B5744;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.feature-check {
  width: 22px;
  height: 22px;
  background: var(--warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--accent);
}

.feature-text {
  font-size: 0.88rem;
  color: #5C4A38;
}

.booking-card {
  background: var(--white);
  border: 1px solid rgba(139, 107, 74, 0.12);
  padding: 2.2rem;
  box-shadow: 0 4px 24px rgba(44, 34, 24, 0.06);
}

.booking-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1.8rem;
  color: var(--dark);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.4rem;
}

.form-group select,
.form-group input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(139, 107, 74, 0.2);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}

.form-group select:focus,
.form-group input:focus {
  border-color: var(--accent);
}

/* Erros de validação */
.form-error {
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: #c0392b;
}

.form-group.has-error .form-error {
  display: block;
}

/* Slots de horários */
.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.slot {
  padding: 0.5rem;
  text-align: center;
  border: 1px solid rgba(139, 107, 74, 0.2);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--cream);
}

.slot:hover,
.slot.active {
  background: var(--dark);
  color: var(--cream);
  border-color: var(--dark);
}

.slot.taken {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.slots-loading {
  font-size: 0.82rem;
  color: var(--brown);
  padding: 0.5rem 0;
}

/* Info pagamento no balcão */
.pay-info-balcao {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-top: 1rem; padding: .75rem .9rem;
  background: var(--warm);
  border-left: 3px solid var(--accent);
  font-size: .82rem; color: #5C4A38; line-height: 1.55;
}

/* Botão de submeter */
.book-submit {
  width: 100%;
  margin-top: 1.4rem;
  background: var(--dark);
  color: var(--cream);
  border: none;
  padding: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.book-submit:hover     { background: var(--accent); }
.book-submit:disabled  { opacity: 0.5; cursor: not-allowed; }

/* Mensagem de sucesso */
.booking-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.booking-success .success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.booking-success h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}
.booking-success p {
  font-size: 0.88rem;
  color: #6B5744;
  line-height: 1.6;
}


/* ── TESTEMUNHOS ────────────────────────────────────────────*/
.testimonials {
  background: var(--dark);
  padding: 6rem 5rem;
}

.testimonials .section-title { color: var(--cream); }
.testimonials .section-tag   { color: var(--soft); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.8rem;
}

.testi-stars  { color: var(--accent); font-size: 0.85rem; margin-bottom: 1rem; }
.testi-text   { font-size: 0.88rem; line-height: 1.7; color: #C4B8AC; font-style: italic; margin-bottom: 1.2rem; }
.testi-author { font-size: 0.8rem; font-weight: 500; color: var(--soft); }


/* ── FOOTER ─────────────────────────────────────────────────*/
footer {
  background: var(--cream);
  border-top: 1px solid rgba(139, 107, 74, 0.15);
  padding: 3rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-size: 0.82rem;
  color: var(--brown);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.78rem; color: #A08878; }


/* ── MODAL REDES SOCIAIS ────────────────────────────────────*/
.social-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(44,34,24,.7);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
}
.social-modal-overlay.open { display: flex; }
.social-modal {
  background: var(--white); padding: 2.5rem 2rem;
  width: 320px; text-align: center;
  animation: fadeUp .3s ease both;
}
.social-modal-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.social-modal-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--dark); margin-bottom: .6rem;
}
.social-modal-desc {
  font-size: .85rem; color: #6B5744;
  line-height: 1.6; margin-bottom: 1.5rem;
}
.social-modal-btn {
  display: block; background: var(--dark); color: var(--cream);
  padding: .85rem; text-decoration: none;
  font-family: 'DM Sans', sans-serif; font-size: .85rem;
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: .8rem; transition: background .2s;
}
.social-modal-btn:hover { background: var(--accent); }
.social-modal-fechar {
  background: transparent; border: none;
  font-family: 'DM Sans', sans-serif; font-size: .8rem;
  color: var(--brown); cursor: pointer; text-decoration: underline;
}

/* ── TOAST (notificações flutuantes) ────────────────────────*/
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--dark);
  color: var(--cream);
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(120%);
  transition: transform 0.3s ease;
  max-width: 320px;
  line-height: 1.5;
}

.toast.show    { transform: translateY(0); }
.toast.success { background: #2d6a4f; }
.toast.error   { background: #922b21; }


/* ── ANIMAÇÕES ──────────────────────────────────────────────*/
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ── RESPONSIVE (mobile) ────────────────────────────────────*/
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 4rem 1.5rem 2rem; }
  .hero-right { height: 320px; }

  .section,
  .booking-section,
  .gallery-section,
  .testimonials { padding: 4rem 1.5rem; }

  .services-grid,
  .testi-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: span 1; grid-column: span 2; }

  .booking-section { grid-template-columns: 1fr; gap: 2.5rem; }

  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
