/* Fábrica de Sonhos — emerald · champagne · cream */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Playfair+Display:wght@500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --emerald-900: #0a3d2e;
  --emerald-800: #0d4f3c;
  --emerald-700: #1a6b54;
  --emerald-600: #2d8a6e;
  --gold-600: #a8893a;
  --gold-500: #c9a962;
  --gold-400: #e0c99a;
  --cream-100: #faf8f3;
  --cream-200: #f5f0e6;
  --cream-300: #ede8dc;
  --white: #ffffff;
  --text: #1a2e28;
  --text-muted: #4a5f58;
  --text-on-emerald: #f5f0e6;
  --shadow-sm: 0 2px 12px rgba(13, 79, 60, 0.08);
  --shadow-md: 0 8px 28px rgba(13, 79, 60, 0.14);
  --shadow-lg: 0 16px 48px rgba(13, 79, 60, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5.5rem;
  --font-sans: 'Source Sans 3', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --header-h: 72px;
  --mobile-bar-h: 64px;
  --rail-w: 128px;
  --max-w: 1140px;
  --transition: 0.28s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  background: var(--cream-100);
  color: var(--text);
  line-height: 1.65;
  min-height: 100dvh;
  padding-bottom: var(--mobile-bar-h);
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

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

a {
  color: var(--emerald-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
a:hover { color: var(--emerald-800); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--emerald-900);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 5vw, 2.85rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); font-weight: 600; margin-bottom: var(--space-md); }
h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: var(--space-xs); }

p { margin-bottom: var(--space-sm); }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--gold-500);
  color: var(--emerald-900);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-sm); }

/* Brand rail */
.brand-rail { display: none; }

@media (min-width: 1100px) {
  .brand-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 0;
    top: 0;
    width: var(--rail-w);
    height: 100vh;
    background: var(--emerald-800);
    border-right: 3px solid var(--gold-500);
    padding: var(--space-lg) var(--space-sm);
    z-index: 200;
    text-align: center;
  }

  .site-shell { margin-left: var(--rail-w); }

  .brand-rail__logo {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cream-200);
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1.3;
  }
  .brand-rail__logo:hover { color: var(--gold-400); }

  .brand-rail__mark { margin: var(--space-md) 0; }
  .brand-rail__mark svg { display: block; }

  .brand-rail__accent {
    width: 2px;
    flex: 1;
    min-height: 40px;
    background: linear-gradient(to bottom, var(--gold-500), transparent);
    margin: var(--space-sm) 0;
  }

  .brand-rail__year {
    font-family: var(--font-serif);
    font-size: 0.65rem;
    font-style: italic;
    color: var(--gold-400);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 243, 0.97);
  border-bottom: 1px solid var(--cream-300);
  height: var(--header-h);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--emerald-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--emerald-700); }
.logo__mark svg { display: block; width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__tag {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-600);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-desktop { display: none; }

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .nav-desktop a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
  }
  .nav-desktop a:hover,
  .nav-desktop a[aria-current="page"] {
    color: var(--emerald-800);
    border-bottom-color: var(--gold-500);
  }
}

.header-cta { display: none; gap: 0.5rem; }

@media (min-width: 992px) {
  .header-cta { display: flex; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 12px;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--emerald-800);
  border-radius: 1px;
  transition: opacity var(--transition), transform var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
}

/* Mobile nav — body-level overlay, no ancestor transforms */
.site-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 9999;
  background: var(--cream-100);
  padding: calc(var(--header-h) + var(--space-md)) var(--space-md) var(--space-lg);
  overflow-y: auto;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}

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

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--emerald-900);
  text-decoration: none;
  border-bottom: 1px solid var(--cream-300);
  padding: var(--space-sm) 0;
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] { color: var(--gold-600); }

.mobile-nav__actions {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (min-width: 992px) {
  .site-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  min-width: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  line-height: 1.3;
  text-align: center;
}

.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn--whatsapp { background: #25d366; color: var(--white); border-color: #25d366; }
.btn--whatsapp:hover { background: #1fb855; color: var(--white); }
.btn--outline { background: transparent; color: var(--emerald-800); border-color: var(--emerald-700); }
.btn--outline:hover { background: var(--cream-200); }
.btn--emerald { background: var(--emerald-800); color: var(--cream-100); border-color: var(--emerald-800); }
.btn--emerald:hover { background: var(--emerald-700); color: var(--cream-100); }
.btn--gold { background: var(--gold-500); color: var(--emerald-900); border-color: var(--gold-500); }
.btn--gold:hover { background: var(--gold-400); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.text-center { text-align: center; }
.mb-xl { margin-bottom: var(--space-xl); }

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

.section--cream { background: var(--cream-200); }
.section--emerald {
  background: var(--emerald-800);
  color: var(--text-on-emerald);
}
.section--emerald h2,
.section--emerald h3 { color: var(--cream-100); }
.section--emerald a { color: var(--gold-400); }

.section__label {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--space-xs);
}

.section__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 62ch;
}

.section--emerald .section__lead { color: rgba(245, 240, 230, 0.88); }

/* Hero */
.hero {
  padding: var(--space-lg) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--cream-100) 0%, var(--cream-200) 100%);
  border-bottom: 1px solid var(--cream-300);
}

.hero__grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1fr 1fr; }
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: var(--space-md);
  padding: 0.4rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--emerald-800);
  box-shadow: var(--shadow-sm);
}

.hero__promise {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold-500);
}

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

/* Trust bar */
.trust-bar {
  background: var(--emerald-800);
  color: var(--cream-100);
  padding: var(--space-md) 0;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  text-align: center;
}

@media (min-width: 768px) {
  .trust-bar__grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-bar__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-400);
  line-height: 1.2;
}

.trust-bar__item span {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* Service cards */
.services-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
}

.service-card__img { aspect-ratio: 4/3; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }

.service-card__body { padding: var(--space-md); }

.service-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-600);
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}

/* Differentials */
.diff-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .diff-grid { grid-template-columns: repeat(3, 1fr); }
}

.diff-card {
  padding: var(--space-md);
  background: var(--white);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.diff-card h3 { color: var(--emerald-800); }

/* Reviews */
.reviews-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

.review-card {
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.review-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--emerald-800);
}

.review-card__stars { color: var(--gold-500); letter-spacing: 0.05em; }

.rating-banner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--emerald-800);
  color: var(--cream-100);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.rating-banner__score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0;
}

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

.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }

@media (min-width: 768px) {
  .gallery-item--wide { grid-column: span 2; }
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm);
  background: linear-gradient(transparent, rgba(10, 61, 46, 0.85));
  color: var(--cream-100);
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .gallery-preview { grid-template-columns: repeat(4, 1fr); }
}

.gallery-preview img {
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

/* Location */
.location-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 900px) {
  .location-grid { grid-template-columns: 1fr 1fr; }
}

.map-embed,
.footer-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--cream-300);
  aspect-ratio: 4/3;
}

.map-embed iframe,
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 280px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

.hours-table th,
.hours-table td {
  padding: 0.5rem 0;
  text-align: left;
  border-bottom: 1px solid var(--cream-300);
}

.hours-table th { font-weight: 600; width: 45%; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: var(--space-sm); }

.faq-item {
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  padding: var(--space-md);
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--emerald-900);
  cursor: pointer;
}

.faq-item__icon {
  font-size: 1.5rem;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-left: var(--space-sm);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
  display: none;
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-muted);
}

.faq-item.is-open .faq-item__answer { display: block; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700));
  color: var(--cream-100);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-band h2 { color: var(--cream-100); margin-bottom: var(--space-sm); }
.cta-band p { opacity: 0.92; max-width: 50ch; margin-inline: auto var(--space-md); margin-bottom: var(--space-md); }

/* Footer */
.site-footer {
  background: var(--emerald-900);
  color: var(--cream-300);
  padding: var(--space-xl) 0 var(--space-lg);
}

.site-footer a { color: var(--gold-400); }
.site-footer a:hover { color: var(--gold-400); opacity: 0.9; }

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream-100);
  margin-bottom: var(--space-sm);
}

.footer__list {
  list-style: none;
  padding: 0;
}

.footer__list li { margin-bottom: 0.35rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(245, 240, 230, 0.15);
  font-size: 0.875rem;
}

/* Mobile bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  height: var(--mobile-bar-h);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

.mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
}

.mobile-bar__btn--wa { background: #25d366; color: var(--white); }
.mobile-bar__btn--call { background: var(--emerald-800); color: var(--cream-100); }

/* Inner pages */
.page-hero {
  padding: var(--space-lg) 0;
  background: var(--cream-200);
  border-bottom: 1px solid var(--cream-300);
}

.page-hero__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 65ch;
  margin: var(--space-sm) 0 var(--space-md);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.breadcrumb a { color: var(--emerald-700); text-decoration: none; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table th,
.price-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-300);
}

.price-table th { background: var(--cream-200); font-weight: 600; }
.price-table tr:last-child td { border-bottom: none; }

.split-content {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .split-content { grid-template-columns: 1fr 1fr; }
}

.team-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.team-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.team-card__body { padding: var(--space-md); }
.team-card__role {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-600);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.agende-hero-card {
  background: var(--emerald-800);
  color: var(--cream-100);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.agende-hero-card h2 { color: var(--cream-100); }

.agende-steps {
  display: grid;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

@media (min-width: 768px) {
  .agende-steps { grid-template-columns: repeat(3, 1fr); }
}

.agende-step {
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--gold-500);
}

.legal-content h2 {
  margin-top: var(--space-lg);
  font-size: 1.25rem;
}
.legal-content ul {
  margin: var(--space-sm) 0 var(--space-md) 1.25rem;
}
