:root {
  --bg: #120d09;
  --bg-soft: #1d140e;
  --panel: rgba(33, 23, 16, 0.78);
  --panel-strong: rgba(47, 33, 24, 0.94);
  --line: rgba(237, 212, 171, 0.18);
  --text: #f8efe1;
  --muted: rgba(248, 239, 225, 0.72);
  --accent: #d7b27c;
  --accent-strong: #f0d29d;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --container: min(1440px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 210, 157, 0.14), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(163, 97, 44, 0.22), transparent 28%),
    linear-gradient(180deg, #241711 0%, #140f0b 38%, #0d0907 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 45%, transparent 92%);
}

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

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

.intro-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background:
    radial-gradient(circle at center, rgba(240, 210, 157, 0.22), transparent 20%),
    linear-gradient(135deg, #110c09 0%, #24150d 55%, #4a311d 100%);
  z-index: 999;
  pointer-events: none;
  overflow: hidden;
  animation: introFadeOut 3.2s ease forwards;
}

.intro-ring {
  position: absolute;
  width: min(440px, 76vw);
  aspect-ratio: 1;
  border: 1px solid rgba(240, 210, 157, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(240, 210, 157, 0.1), inset 0 0 50px rgba(240, 210, 157, 0.08);
  animation: ringPulse 2s ease-in-out forwards;
}

.intro-logo {
  position: relative;
  z-index: 1;
  width: min(360px, 54vw);
  filter: drop-shadow(0 0 34px rgba(240, 210, 157, 0.35));
  animation: introReveal 2s ease forwards;
}

.page-shell {
  opacity: 0;
  transform: translateY(24px);
  animation: pageReveal 0.9s ease 2.6s forwards;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(18, 13, 9, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container,
.hero,
.trust-strip,
.about-section,
.portfolio-section,
.services-section,
.quote-section,
.contact-section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-logo,
.footer-logo {
  width: 132px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a {
  color: rgba(248, 239, 225, 0.82);
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--accent-strong);
}

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.nav-button,
.primary-button {
  color: #1a120d;
  background: linear-gradient(135deg, #b68a51 0%, #f0d29d 100%);
  box-shadow: 0 16px 32px rgba(203, 155, 99, 0.22);
}

.secondary-button {
  color: var(--text);
  border: 1px solid rgba(240, 210, 157, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.nav-button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 52px;
  align-items: center;
  padding: 96px 0 72px;
  min-height: calc(100vh - 86px);
  perspective: 1400px;
  overflow: clip;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(240, 210, 157, 0.26);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-strong);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero-copy h1,
.section-heading h2,
.quote-section blockquote,
.contact-copy h2 {
  font-family: "Cormorant Garamond", serif;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 24px 0 18px;
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.hero-copy h1 span {
  display: inline-block;
  color: var(--accent-strong);
}

.hero-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
}

.hero-metrics li,
.about-card,
.service-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-metrics li {
  padding: 18px;
  border-radius: 24px;
  color: var(--muted);
  line-height: 1.5;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1.15rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  width: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.9;
}

.orb-left {
  top: 20px;
  left: 22px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(240, 210, 157, 0.34) 0%, rgba(240, 210, 157, 0) 72%);
}

.orb-right {
  right: 0;
  bottom: 48px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(128, 72, 28, 0.4) 0%, rgba(128, 72, 28, 0) 72%);
}

.camera-stage {
  position: absolute;
  inset: 70px 16px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-glow {
  position: absolute;
  inset: 15% 6% 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(240, 210, 157, 0.28) 0%, rgba(240, 210, 157, 0) 58%),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 35%);
  filter: blur(32px);
}

.camera-card {
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  width: min(100%, 560px);
  padding: 38px 28px 22px;
  border-radius: 40px;
  border: 1px solid rgba(240, 210, 157, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(30, 21, 15, 0.78);
  transform-style: preserve-3d;
  transform:
    translate3d(var(--shift-x), var(--shift-y), 0)
    rotateX(var(--rotate-x))
    rotateY(var(--rotate-y));
  transition: transform 180ms ease-out;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.camera-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item span,
.card-content span,
.service-label {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0 0;
}

.trust-strip div {
  padding: 18px 20px;
  border-top: 1px solid rgba(240, 210, 157, 0.12);
  border-bottom: 1px solid rgba(240, 210, 157, 0.12);
  color: rgba(248, 239, 225, 0.76);
  text-align: center;
}

.about-section,
.portfolio-section,
.services-section,
.quote-section,
.contact-section {
  padding: 132px 0 0;
}

.portfolio-section {
  position: relative;
}

.portfolio-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 78px;
  background: linear-gradient(to bottom, rgba(13, 9, 7, 0) 0%, rgba(13, 9, 7, 0.78) 55%, rgba(13, 9, 7, 0.96) 100%);
  pointer-events: none;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(2.6rem, 4vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.portfolio-title-desktop {
  display: inline;
}

.portfolio-title-mobile {
  display: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  gap: 24px;
}

.about-card {
  border-radius: 30px;
  padding: 34px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.about-card-main {
  background:
    radial-gradient(circle at top right, rgba(240, 210, 157, 0.14), transparent 36%),
    var(--panel-strong);
}

.about-card h3,
.service-card h3,
.card-content h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.about-card p,
.service-card p,
.contact-copy p,
.contact-item a,
.site-footer p,
.site-footer small {
  color: var(--muted);
  line-height: 1.75;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.9fr;
  gap: 24px;
}

.portfolio-card {
  display: block;
  position: relative;
  min-height: 420px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(240, 210, 157, 0.18);
  box-shadow:
    0 18px 28px rgba(0, 0, 0, 0.22),
    0 34px 54px rgba(0, 0, 0, 0.32);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.portrait {
  background:
    linear-gradient(160deg, rgba(13, 10, 8, 0.12), rgba(13, 10, 8, 0.58)),
    url("imagens/retratos (1).jpg") center 24%/cover no-repeat,
    linear-gradient(135deg, #7f5840 0%, #1d140f 100%);
}

.wedding {
  background:
    linear-gradient(160deg, rgba(13, 10, 8, 0.1), rgba(13, 10, 8, 0.62)),
    url("imagens/eventos 1.jpg") center 18%/cover no-repeat,
    linear-gradient(135deg, #aa835c 0%, #2a1b13 100%);
}

.brand {
  background:
    linear-gradient(160deg, rgba(13, 10, 8, 0.16), rgba(13, 10, 8, 0.66)),
    url("imagens/marca_pessoal.png") center 22%/cover no-repeat,
    linear-gradient(135deg, #5d412d 0%, #16100d 100%);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 7, 5, 0.98) 0%, rgba(10, 7, 5, 0.7) 18%, rgba(10, 7, 5, 0.2) 52%, rgba(10, 7, 5, 0.1) 100%);
  transition: background 240ms ease;
}

.card-content {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  transition: transform 240ms ease;
}

.card-content h3 {
  text-wrap: balance;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  border-radius: 30px;
  padding: 34px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.featured-service {
  background:
    radial-gradient(circle at top right, rgba(240, 210, 157, 0.18), transparent 34%),
    var(--panel-strong);
}

.service-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent-strong);
  font-weight: 700;
  transition: transform 180ms ease, color 180ms ease;
}

.quote-section {
  text-align: center;
}

.quote-section blockquote {
  max-width: 900px;
  margin: 0 auto 26px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.quote-section p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 34px;
  align-items: start;
  padding-bottom: 132px;
}

.contact-card {
  border-radius: 32px;
  padding: 34px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.about-card:hover,
.service-card:hover,
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.28);
  border-color: rgba(240, 210, 157, 0.28);
}

.portfolio-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow:
    0 22px 34px rgba(0, 0, 0, 0.24),
    0 40px 64px rgba(0, 0, 0, 0.38);
  border-color: rgba(240, 210, 157, 0.3);
}

.portfolio-card:hover .card-overlay {
  background:
    linear-gradient(to top, rgba(10, 7, 5, 0.92) 0%, rgba(10, 7, 5, 0.58) 18%, rgba(10, 7, 5, 0.14) 52%, rgba(10, 7, 5, 0.04) 100%);
}

.portfolio-card:hover .card-content {
  transform: translateY(-8px);
}

.portfolio-card:focus-visible,
.back-link:focus-visible,
.gallery-cta:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

.service-card:hover a {
  transform: translateX(4px);
}

.contact-item + .contact-item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(240, 210, 157, 0.14);
}

.contact-item a {
  color: var(--text);
}

/* ── Botões de contato ── */
.contact-buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 50px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.btn-whats,
.btn-email,
.btn-insta {
  background: transparent;
  border: 1px solid rgba(240, 210, 157, 0.3);
  color: var(--accent);
}

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

/* ── Mapa ── */
.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 12px;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
}

.map-address {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 10px;
  text-align: center;
}

/* ── Footer ── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: nowrap;
  padding: 40px 0 56px;
  border-top: 1px solid rgba(240, 210, 157, 0.12);
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.site-footer p {
  flex: 0 1 auto;
  text-align: center;
}

.site-footer small {
  white-space: nowrap;
  text-align: center;
}

.developer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  color: rgba(248, 239, 225, 0.72);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.developer-credit:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.developer-credit-icon {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 8px;
}

.gallery-page {
  min-height: 100vh;
}

.gallery-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 44px 0 80px;
}

.gallery-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.gallery-header h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.gallery-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.back-link,
.gallery-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(240, 210, 157, 0.18);
  background: rgba(33, 23, 16, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.back-link:hover,
.gallery-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 210, 157, 0.4);
  background: rgba(47, 33, 24, 0.92);
}

.gallery-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 360px;
  border: 1px solid rgba(240, 210, 157, 0.14);
  background: rgba(33, 23, 16, 0.72);
  box-shadow: var(--shadow);
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 7, 5, 0.48), rgba(10, 7, 5, 0.02));
  pointer-events: none;
}

.gallery-item.photo-card img {
  transition: transform 220ms ease;
}

.gallery-item.photo-card:hover img {
  transform: scale(1.03);
}

@keyframes introReveal {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }

  35% {
    transform: scale(0.98);
    opacity: 1;
  }

  65% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.16);
    opacity: 0;
  }
}

@keyframes introFadeOut {
  0%,
  72% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes ringPulse {
  0% {
    transform: scale(0.45);
    opacity: 0;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

@keyframes pageReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .contact-section,
  .about-grid,
  .portfolio-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .portfolio-card {
    min-height: 320px;
  }

  .contact-card {
    max-width: 560px;
    width: 100%;
  }

  .gallery-header,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    min-height: 300px;
  }
}

@media (max-width: 900px) {
  .nav-container {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  .nav-button {
    width: 100%;
    max-width: 360px;
  }

  .hero-metrics,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .site-footer small {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(
      calc(100% - 24px),
      calc(100% - env(safe-area-inset-left) - env(safe-area-inset-right) - 24px)
    );
  }

  .site-header {
    position: static;
  }

  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .nav-container {
    width: min(100%, 100%);
    gap: 14px;
    min-height: auto;
    padding: 14px 0 18px;
  }

  .brand-logo,
  .footer-logo {
    width: 108px;
  }

  .nav-menu {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
    font-size: 0.92rem;
  }

  .nav-button,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .eyebrow {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px 14px;
  }

  .hero {
    gap: 26px;
    padding: 40px 0 28px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.3rem);
    line-height: 1.02;
    margin: 20px 0 16px;
  }

  .hero-copy p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-visual {
    min-height: 240px;
  }

  .camera-stage {
    inset: 8px 0 0;
  }

  .camera-card {
    width: min(100%, 360px);
    padding: 14px;
    border-radius: 26px;
  }

  .camera-card img {
    display: block;
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    object-position: center top;
  }

  .camera-card::before {
    inset: 10px;
    border-radius: 20px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-metrics li {
    padding: 18px;
  }

  .hero-metrics {
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 22px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2,
  .contact-copy h2,
  .quote-section blockquote {
    font-size: clamp(2rem, 11vw, 2.7rem);
    line-height: 1.04;
  }

  .portfolio-title-desktop {
    display: none;
  }

  .portfolio-title-mobile {
    display: inline;
  }

  .about-card,
  .service-card,
  .contact-card {
    padding: 22px;
    border-radius: 24px;
  }

  .portfolio-grid,
  .services-grid,
  .about-grid {
    gap: 14px;
  }

  .portfolio-card {
    min-height: 280px;
    border-radius: 26px;
  }

  .portfolio-section::after {
    bottom: -1px;
    height: 96px;
    background: linear-gradient(to bottom, rgba(13, 9, 7, 0) 0%, rgba(13, 9, 7, 0.84) 52%, rgba(13, 9, 7, 0.98) 100%);
  }

  .portrait {
    background:
      linear-gradient(160deg, rgba(13, 10, 8, 0.12), rgba(13, 10, 8, 0.58)),
      url("imagens/retratos (1).jpg") center 12%/cover no-repeat,
      linear-gradient(135deg, #7f5840 0%, #1d140f 100%);
  }

  .wedding {
    background:
      linear-gradient(160deg, rgba(13, 10, 8, 0.1), rgba(13, 10, 8, 0.62)),
      url("imagens/eventos 1.jpg") center 4%/cover no-repeat,
      linear-gradient(135deg, #aa835c 0%, #2a1b13 100%);
  }

  .brand {
    background:
      linear-gradient(160deg, rgba(13, 10, 8, 0.16), rgba(13, 10, 8, 0.66)),
      url("imagens/marca_pessoal.png") center 14%/cover no-repeat,
      linear-gradient(135deg, #5d412d 0%, #16100d 100%);
  }

  .card-content {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .trust-strip {
    gap: 10px;
  }

  .trust-strip div {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .about-section,
  .portfolio-section,
  .services-section,
  .quote-section,
  .contact-section {
    padding-top: 68px;
  }

  .contact-section {
    gap: 18px;
    padding-bottom: 68px;
  }

  .contact-copy,
  .contact-card,
  .gallery-header,
  .gallery-side {
    min-width: 0;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-btn {
    justify-content: center;
    width: 100%;
  }

  .map-wrapper iframe {
    height: 240px;
  }

  .site-footer {
    gap: 12px;
    padding-bottom: 28px;
  }

  .developer-credit {
    text-align: center;
    line-height: 1.4;
  }

  .gallery-shell {
    padding: 28px 0 56px;
  }

  .gallery-header {
    gap: 20px;
    margin-bottom: 24px;
  }

  .gallery-header h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
    line-height: 1.02;
  }

  .gallery-header p,
  .gallery-side p {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .gallery-grid {
    gap: 14px;
  }

  .gallery-item {
    min-height: 240px;
    border-radius: 22px;
  }
}

@media (max-width: 420px) {
  :root {
    --container: min(
      calc(100% - 20px),
      calc(100% - env(safe-area-inset-left) - env(safe-area-inset-right) - 20px)
    );
  }

  .nav-menu {
    gap: 10px 14px;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.1rem, 12vw, 2.8rem);
  }

  .portfolio-card {
    min-height: 250px;
  }

  .portfolio-section::after {
    height: 104px;
    background: linear-gradient(to bottom, rgba(13, 9, 7, 0) 0%, rgba(13, 9, 7, 0.88) 50%, rgba(13, 9, 7, 1) 100%);
  }

  .hero-visual {
    min-height: 220px;
    margin-top: 10px;
  }

  .camera-stage {
    inset: 4px 0 0;
  }

  .camera-card {
    width: min(100%, 320px);
    padding: 12px;
    border-radius: 24px;
  }

  .camera-card img {
    max-height: 220px;
  }

  .camera-card::before {
    inset: 9px;
    border-radius: 18px;
  }

  .portrait {
    background:
      linear-gradient(160deg, rgba(13, 10, 8, 0.12), rgba(13, 10, 8, 0.58)),
      url("imagens/retratos (1).jpg") center 10%/cover no-repeat,
      linear-gradient(135deg, #7f5840 0%, #1d140f 100%);
  }

  .wedding {
    background:
      linear-gradient(160deg, rgba(13, 10, 8, 0.1), rgba(13, 10, 8, 0.62)),
      url("imagens/eventos 1.jpg") center 2%/cover no-repeat,
      linear-gradient(135deg, #aa835c 0%, #2a1b13 100%);
  }

  .brand {
    background:
      linear-gradient(160deg, rgba(13, 10, 8, 0.16), rgba(13, 10, 8, 0.66)),
      url("imagens/marca_pessoal.png") center 10%/cover no-repeat,
      linear-gradient(135deg, #5d412d 0%, #16100d 100%);
  }

  .card-content {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }

  .about-card,
  .service-card,
  .contact-card {
    padding: 20px;
  }
}
