:root {
  --verde-profundo: #314d35;
  --verde-escuro: #243828;
  --bege-claro: #f4eadc;
  --off-white: #fffaf3;
  --terracota: #ef835f;
  --marrom-profundo: #25150f;
  --dourado-suave: #c7a76c;
  --texto: #2a211c;
  --muted: rgba(42, 33, 28, 0.72);
  --glass: rgba(255, 250, 243, 0.72);
  --line: rgba(199, 167, 108, 0.3);
  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--texto);
  background:
    radial-gradient(circle at 82% 12%, rgba(199, 167, 108, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--off-white) 0%, var(--bege-claro) 52%, var(--off-white) 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  color: var(--off-white);
  background: var(--verde-escuro);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.section-pad {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  transition: background 260ms ease, backdrop-filter 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(36, 56, 40, 0.72);
  border-bottom: 1px solid rgba(255, 250, 243, 0.12);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1220px, calc(100% - 32px));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  color: var(--off-white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.2));
}

.brand span {
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  font-size: 0.84rem;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-panel a {
  position: relative;
  opacity: 0.86;
  transition: opacity 180ms ease, color 180ms ease;
}

.nav-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.38rem;
  height: 1px;
  background: var(--dourado-suave);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

.nav-panel a:hover,
.nav-panel a.is-active {
  opacity: 1;
  color: #fff;
}

.nav-panel a:hover::after,
.nav-panel a.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  justify-content: end;
  gap: 0.55rem;
}

.icon-link,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 250, 243, 0.22);
  background: rgba(255, 250, 243, 0.08);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.icon-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.icon-link:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(199, 167, 108, 0.72);
  background: rgba(255, 250, 243, 0.16);
}

.icon-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease;
}

.menu-toggle span + span {
  margin-top: -13px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(42deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-42deg);
}

.hero,
.final-cta {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--off-white);
}

.hero-media,
.cta-media {
  position: absolute;
  inset: -7vh 0;
  background-position: center;
  background-size: cover;
  transform: translate3d(0, 0, 0) scale(1.02);
  will-change: transform;
}

.hero-media {
  background-image: url("assets/hero-casamento.jpg?v=20260522-4");
}

.cta-media {
  background-image: url("assets/cta-casamento.jpg?v=20260522-4");
}

.hero-overlay,
.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37, 21, 15, 0.82) 0%, rgba(37, 21, 15, 0.52) 42%, rgba(37, 21, 15, 0.16) 100%),
    linear-gradient(180deg, rgba(36, 56, 40, 0.48) 0%, rgba(36, 56, 40, 0.18) 42%, rgba(37, 21, 15, 0.72) 100%);
}

.hero-content,
.cta-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--header-height) + 3rem) 0 clamp(4rem, 10vw, 7rem);
}

.hero-content {
  margin-left: max(20px, calc((100vw - 1140px) / 2));
  margin-right: auto;
}

.microcopy,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--dourado-suave);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 840px;
  font-size: clamp(3.6rem, 8.8vw, 7.5rem);
}

h2 {
  font-size: clamp(2.7rem, 5.5vw, 5.4rem);
}

h3 {
  font-size: clamp(1.42rem, 2vw, 1.85rem);
  line-height: 1.05;
}

.hero-text,
.cta-content p {
  max-width: 660px;
  margin: 1.5rem 0 0;
  color: rgba(255, 250, 243, 0.88);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.28rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--marrom-profundo);
  background: var(--off-white);
}

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

.btn-ghost {
  color: var(--off-white);
  border-color: rgba(255, 250, 243, 0.36);
  background: rgba(255, 250, 243, 0.08);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  border-color: rgba(255, 250, 243, 0.72);
  background: rgba(255, 250, 243, 0.15);
}

.btn-secondary {
  color: var(--off-white);
  background: var(--verde-profundo);
  border-color: var(--verde-profundo);
}

.btn-secondary:hover {
  color: var(--marrom-profundo);
  background: var(--dourado-suave);
  border-color: var(--dourado-suave);
}

.narrative {
  background: var(--off-white);
}

.narrative-grid,
.about-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.narrative-copy h2 {
  max-width: 760px;
  color: var(--marrom-profundo);
}

.prose {
  max-width: 730px;
  margin-top: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.prose p {
  margin: 0 0 1.2rem;
}

.portrait-frame,
.about-image {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
}

.portrait-frame {
  border-radius: 48% 48% 4px 4px;
}

.portrait-frame::before,
.about-image::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 250, 243, 0.55);
  pointer-events: none;
}

.portrait-frame img,
.about-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.02);
}

.portfolio {
  color: var(--off-white);
  background:
    linear-gradient(180deg, rgba(36, 56, 40, 0.95), rgba(49, 77, 53, 0.98)),
    var(--verde-profundo);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 5vw, 3.6rem);
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-heading.compact {
  max-width: 620px;
}

.section-heading p {
  margin: 1.1rem auto 0;
  color: rgba(255, 250, 243, 0.72);
}

.services .section-heading p,
.differentials .section-heading p,
.reviews .section-heading p {
  color: var(--muted);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 0.85rem;
}

.portfolio-item {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 243, 0.14);
  border-radius: 6px;
  background: transparent;
  cursor: zoom-in;
}

.portfolio-item.tall {
  grid-row: span 2;
}

.portfolio-item.wide {
  grid-column: span 2;
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(37, 21, 15, 0.42));
  opacity: 0;
  transition: opacity 260ms ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.04);
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.18, 1), filter 260ms ease;
}

.portfolio-focus-couple img {
  object-position: center 34%;
}

.portfolio-focus-bride img {
  object-position: 58% 14%;
}

.portfolio-item:hover img {
  transform: scale(1.045);
  filter: saturate(0.96) contrast(1.02);
}

.portfolio-item:hover::after {
  opacity: 1;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}

.about {
  background:
    linear-gradient(90deg, rgba(49, 77, 53, 0.1), transparent 44%),
    var(--bege-claro);
}

.about-grid {
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1fr);
}

.about-image {
  min-height: 620px;
  border-radius: 4px;
}

.glass-panel {
  border: 1px solid rgba(199, 167, 108, 0.26);
  background: var(--glass);
  box-shadow: 0 24px 80px rgba(37, 21, 15, 0.08);
  backdrop-filter: blur(18px);
}

.about-copy {
  padding: clamp(2rem, 5vw, 4rem);
}

.about-copy p {
  color: var(--muted);
}

.differentials,
.reviews {
  background: var(--off-white);
}

.card-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card,
.service-card {
  min-height: 270px;
  padding: 1.75rem;
  border: 1px solid rgba(49, 77, 53, 0.16);
  border-radius: 6px;
  background: rgba(255, 250, 243, 0.62);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 167, 108, 0.58);
  background: rgba(255, 250, 243, 0.9);
}

.feature-card svg,
.service-card svg {
  display: none;
}

.feature-card h3,
.service-card h3 {
  color: var(--marrom-profundo);
}

.feature-card p,
.service-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.services {
  background:
    linear-gradient(180deg, var(--bege-claro), var(--off-white));
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 230px;
}

.reviews-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
}

.review-card {
  padding: clamp(1.6rem, 4vw, 2.5rem);
}

.google-label {
  display: block;
  color: var(--verde-profundo);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.review-card strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--marrom-profundo);
  font-family: var(--font-title);
  font-size: 5rem;
  font-weight: 600;
  line-height: 0.9;
}

.stars {
  margin: 0.8rem 0 1rem;
  color: var(--dourado-suave);
  font-size: 1.1rem;
  letter-spacing: 0.16em;
}

.review-card p {
  margin-bottom: 1.4rem;
  color: var(--muted);
}

.final-cta {
  min-height: 78svh;
  align-items: center;
}

.cta-content {
  margin-inline: auto;
}

.cta-content h2 {
  max-width: 850px;
}

.site-footer {
  padding: 3rem 0;
  color: rgba(255, 250, 243, 0.76);
  background: var(--marrom-profundo);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.site-footer img {
  margin-bottom: 1rem;
}

.site-footer h2 {
  font-size: 2rem;
  color: var(--off-white);
}

.site-footer p {
  max-width: 520px;
  margin: 0.35rem 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--off-white);
  opacity: 0.82;
  transition: opacity 180ms ease, color 180ms ease;
}

.footer-links a:hover {
  color: var(--dourado-suave);
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 12, 9, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 84svh;
  border-radius: 6px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.36);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 243, 0.25);
  border-radius: 50%;
  color: var(--off-white);
  background: rgba(255, 250, 243, 0.08);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .nav-shell {
    grid-template-columns: auto auto auto;
    gap: 0.75rem;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
    grid-column: 2;
  }

  .nav-actions {
    grid-column: 3;
  }

  .nav-panel {
    position: fixed;
    inset: var(--header-height) 16px auto;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid rgba(255, 250, 243, 0.16);
    border-radius: 10px;
    background: rgba(36, 56, 40, 0.94);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .nav-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-panel a {
    padding: 0.9rem;
  }

  .narrative-grid,
  .about-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 15px;
    line-height: 1.65;
  }

  .section-pad {
    padding: 4.4rem 0;
  }

  .container,
  .hero-content,
  .cta-content {
    width: min(100% - 28px, 1140px);
  }

  .brand {
    gap: 0.55rem;
  }

  .brand span {
    display: inline;
    max-width: 7.8rem;
    overflow: hidden;
    font-size: 1.05rem;
    line-height: 1;
    text-overflow: ellipsis;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .nav-shell {
    width: calc(100% - 24px);
    gap: 0.55rem;
  }

  .site-header {
    background: rgba(36, 56, 40, 0.48);
    backdrop-filter: blur(14px);
  }

  .nav-actions {
    display: none;
  }

  .icon-link {
    width: 38px;
    height: 38px;
  }

  .hero,
  .final-cta {
    min-height: 88svh;
    align-items: end;
  }

  .hero-media,
  .cta-media {
    inset: 0;
    background-position: center top;
    transform: none !important;
  }

  .hero-content,
  .cta-content {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.4rem;
  }

  .hero-overlay,
  .cta-overlay {
    background:
      linear-gradient(180deg, rgba(37, 21, 15, 0.72), rgba(37, 21, 15, 0.68)),
      linear-gradient(90deg, rgba(36, 56, 40, 0.48), transparent);
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 14vw, 4.35rem);
  }

  h2 {
    font-size: clamp(2.35rem, 11vw, 3.65rem);
    line-height: 1;
  }

  h3 {
    font-size: 1.55rem;
  }

  .hero-text,
  .cta-content p {
    font-size: 1rem;
  }

  .button-row,
  .footer-links {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .portrait-frame,
  .about-image {
    min-height: 390px;
  }

  .portrait-frame {
    border-radius: 44% 44% 4px 4px;
  }

  .about-copy {
    padding: 1.5rem;
  }

  .portfolio-grid,
  .card-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-auto-rows: 360px;
  }

  .portfolio-item.wide,
  .portfolio-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-card,
  .service-card {
    min-height: auto;
    padding: 1.45rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .review-card strong {
    font-size: 4.1rem;
  }
}

@media (max-width: 420px) {
  .portfolio-grid {
    grid-auto-rows: 310px;
  }

  .microcopy,
  .section-kicker {
    font-size: 0.72rem;
  }

  .nav-panel {
    inset-inline: 12px;
  }
}
