@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 95%;
  ascent-override: 96%;
  descent-override: 26%;
  line-gap-override: 0%;
}

:root {
  --bg: #FFFFFF;
  --ink: #0B0C0A;
  --ink-2: #3F4A3B;
  --rule: #9EB096;
  --accent: #264A1C;
  --font-display: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gap-gallery: 16px;
  --section-pad: clamp(52px, 6.8vw, 92px);
}

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

html {
  overflow-x: clip;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--ink);
  scrollbar-color: var(--accent) var(--bg);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

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

.dark-band :focus-visible {
  outline-color: var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  min-height: 48px;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--bg);
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}

.section {
  position: relative;
  padding-block: var(--section-pad);
}

.section--seam {
  border-top: 1px solid var(--rule);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.display-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.h1-hero {
  font-size: clamp(2.3rem, 5.1vw, 4.35rem);
}

.h2-section {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
}

.copy-line {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  max-width: 48ch;
}

.copy-line + .copy-line {
  margin-top: 10px;
}

.copy-literary {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.22rem, 1.9vw, 1.48rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 42ch;
}

/* Header */
.site-header {
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
  padding-block: 10px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
}

.header-meta {
  display: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .header-meta {
    display: block;
  }
}

/* Primary button + Shiny Sweep */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #183111;
  border-color: #183111;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-primary[data-shine="active"]::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -65%;
  width: 45%;
  height: 140%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%);
  transform: translateX(0);
  animation: btn-shine 6.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shine {
  0%, 74% {
    transform: translateX(0);
  }
  92%, 100% {
    transform: translateX(460%);
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.btn-secondary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn-secondary:hover svg {
  transform: translateX(3px);
}

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(24px, 3.6vw, 48px) clamp(44px, 5.6vw, 76px);
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.8vw, 52px);
  align-items: end;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    align-items: center;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 4px;
}

/* Base Geography Selector (São Paulo <-> Santana do Livramento) */
.base-switcher {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.base-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.base-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.base-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.base-btn[aria-pressed="true"] {
  color: var(--accent);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

.base-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: transparent;
}

.base-btn[aria-pressed="true"] .base-dot {
  background: var(--accent);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.hero-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-fact svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.hero-portrait-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

@media (min-width: 920px) {
  .hero-portrait-frame {
    margin-inline: 0;
    justify-self: end;
  }
}

.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Niche Index */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

@media (min-width: 820px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 40px;
  }
}

.niche-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.niche-row {
  border-bottom: 1px solid var(--rule);
}

.niche-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  align-items: center;
  min-height: 68px;
  padding-block: 16px;
  transition: color 0.2s ease, padding-inline-start 0.25s ease;
}

@media (min-width: 760px) {
  .niche-link {
    grid-template-columns: minmax(250px, 280px) minmax(0, 1fr) auto;
    gap: 12px 32px;
  }
}

.niche-link:hover {
  color: var(--accent);
  padding-inline-start: 6px;
}

.niche-name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.niche-desc {
  grid-column: 1 / -1;
  color: var(--ink-2);
  font-size: 14px;
}

@media (min-width: 760px) {
  .niche-desc {
    grid-column: 2 / 3;
  }
}

.niche-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.niche-arrow svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.niche-link:hover .niche-arrow svg {
  transform: translate(3px, -3px);
}

/* Galleries — strict 16px base gap across both axes, never overridden */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-gallery);
  align-items: start;
}

@media (min-width: 680px) {
  .gallery-grid--casamentos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid--quinze {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gallery-grid--ensaios {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
}

.gallery-cell {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.gallery-cell--portrait {
  aspect-ratio: 3 / 4;
}

.gallery-cell--landscape {
  aspect-ratio: 3 / 2;
}

.photo-trigger {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.photo-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-trigger:hover img,
.photo-trigger:focus-visible img {
  transform: scale(1.028);
}

/* Steps (Como funciona) */
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 36px;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}

@media (min-width: 780px) {
  .steps-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.step-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
}

/* Dark Closing / Footer (True Ink #0B0C0A + Pure White) */
.dark-band {
  background: var(--ink);
  color: var(--bg);
  padding-block: var(--section-pad) clamp(32px, 4vw, 48px);
}

.dark-band .eyebrow {
  color: var(--rule);
}

.dark-band .display-title {
  color: var(--bg);
}

.dark-band .copy-line {
  color: var(--bg);
}

.closing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 56px;
}

@media (min-width: 860px) {
  .closing-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }
}

.wa-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 560px) {
  .wa-form--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rule);
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--rule);
  border-radius: 0;
  color: var(--bg);
  font-size: 15px;
  transition: border-color 0.2s ease;
}

.field select option {
  background: var(--ink);
  color: var(--bg);
}

.field input::placeholder {
  color: var(--rule);
  opacity: 0.95;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--bg);
}

.dark-band .btn-primary {
  border-color: var(--rule);
}

.dark-band .btn-primary:hover {
  border-color: var(--bg);
}

.direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.direct-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-size: 14px;
  color: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.direct-link:hover {
  border-bottom-color: var(--bg);
}

.direct-link svg {
  width: 17px;
  height: 17px;
  color: var(--rule);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(40px, 6vw, 68px);
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rule);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(11, 12, 10, 0.94);
  color: var(--bg);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 82vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-btn {
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lightbox-btn:hover {
  background: var(--accent);
  border-color: var(--bg);
}

.lightbox-btn svg {
  width: 22px;
  height: 22px;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .btn-primary[data-shine="active"]::after {
    display: none;
  }
}
