/*
 * NV Decora — Design System em CSS puro
 * Espelha exatamente src/styles.css do projeto TanStack original.
 */

:root {
  --radius: 3px;

  --navy: #213252;
  --navy-deep: #172338;
  --navy-mid: #34456a;
  --gold: #b79379;
  --gold-soft: #d4b89e;
  --paper: #fefefe;
  --paper-warm: #f5f2ec;

  --ink: var(--navy);
  --stone: color-mix(in oklab, var(--navy) 62%, var(--paper) 38%);
  --line: color-mix(in oklab, var(--navy) 14%, var(--paper) 86%);

  --background: var(--paper);
  --foreground: var(--ink);
  --primary: var(--navy);
  --primary-foreground: var(--paper);
  --accent: var(--gold);
  --border: var(--line);

  --font-display: "Newsreader", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, sans-serif;
}

* {
  border-color: var(--border);
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  margin: 0;
}

::selection {
  background-color: var(--navy);
  color: var(--paper);
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
}

/* Logo da NV Decora */
.nv-logo {
  height: 58px;
  width: auto;
  display: block;
}

/* =====================================
   HERO SLIDER
===================================== */

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;

  transition: opacity 1500ms ease-in-out;
}

.hero-slide.hero-active {
  opacity: 1;
}

/* ===========================================================
   CONSULTORIA PERSONALIZADA
=========================================================== */

.nv-method-video {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
}

@media (min-width: 769px) {
  .nv-method-media {
    align-self: stretch;
    display: flex;
  }

  .nv-method-media .nv-method-video {
    height: 100%;
  }
}

/* ===========================================================
   PORTFÓLIO PREVIEW
=========================================================== */

.nv-portfolio-preview {
  width: 100%;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.nv-portfolio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.nv-portfolio-title {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.nv-portfolio-nav {
  display: flex;
  gap: 10px;
}

.nv-portfolio-nav button {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  transition: 0.25s;
}

.nv-portfolio-nav button:hover {
  opacity: 0.6;
}

.nv-portfolio-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nv-portfolio-track::-webkit-scrollbar {
  display: none;
}

.nv-portfolio-card {
  flex: 0 0 calc((100% - 16px) / 2.4);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: zoom-in;
  scroll-snap-align: start;
  border-radius: 3px;
}

.nv-portfolio-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.nv-portfolio-card:hover img {
  transform: scale(1.04);
}

/* ===========================================================
   MOBILE
=========================================================== */

@media (max-width: 768px) {
  .nv-method-video {
    max-width: 100%;
  }

  .nv-portfolio-preview {
    margin-top: 28px;
    padding-top: 22px;
  }

  .nv-portfolio-header {
    margin-bottom: 18px;
  }

  .nv-portfolio-track {
    gap: 12px;
    padding-right: 18px;
  }

  .nv-portfolio-card {
    flex: 0 0 86%;
  }

  .nv-portfolio-nav button {
    width: 44px;
    height: 44px;
  }
}

/* ─── Utilitários tipográficos customizados ─────────────────────── */
.display-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.04;
  font-optical-sizing: auto;
}

.display-serif {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.15;
  font-optical-sizing: auto;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  display: none !important;
}

#nv-ci-num,
#nv-ci-title {
  color: #b79379;
}

.brand-frame {
  position: relative;
}
.brand-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid color-mix(in oklab, var(--gold) 45%, transparent);
  pointer-events: none;
  z-index: 2;
}

.paper-grain {
  position: relative;
  isolation: isolate;
}
.paper-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
  mix-blend-mode: multiply;
}

.rise-in {
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Assegura z-index correto sobre grão de papel */
.paper-grain > * {
  position: relative;
  z-index: 1;
}

/* ─── Landing Pages: galeria de projetos ───────────────────────── */
.nv-landing-hero {
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.nv-landing-hero-media {
  height: min(58svh, 520px);
  overflow: hidden;
}

.nv-landing-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nv-landing-hero-content {
  padding: 36px 24px 52px;
}

.nv-landing-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nv-landing-hero h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.8rem, 12vw, 4.5rem);
}

.nv-landing-hero-link {
  display: inline-flex;
  gap: 14px;
  margin-top: 32px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  transition: gap 0.25s ease;
}

.nv-landing-hero-link:hover {
  gap: 20px;
}

.nv-landing-intro {
  display: grid;
  gap: 28px;
  padding: 68px 24px;
  border-top: 1px solid var(--line);
}

.nv-landing-intro h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.35rem, 10vw, 4rem);
}

.nv-landing-intro > p {
  max-width: 46ch;
  margin: 0;
  color: var(--stone);
  font-size: 16px;
  line-height: 1.75;
}

.nv-gallery-section {
  overflow: hidden;
  padding: 0 0 74px;
}

.nv-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  overflow: visible;
  padding: 0 24px 26px;
}

.nv-gallery-filter {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--stone);
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.nv-gallery-filter[aria-pressed="true"],
.nv-gallery-filter:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--paper);
}

.nv-gallery-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 24px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nv-gallery-grid::-webkit-scrollbar {
  display: none;
}

.nv-gallery-item {
  position: relative;
  flex: 0 0 min(82vw, 390px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--paper-warm);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.nv-gallery-item[hidden] {
  display: none;
}
.nv-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.nv-gallery-item:hover img {
  transform: scale(1.035);
}

.nv-gallery-item-overlay {
  position: absolute;
  right: 14px;
  bottom: 13px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(23, 35, 56, 0.16);
  color: white;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nv-gallery-item-overlay svg {
  width: 15px;
  height: 15px;
}

.nv-gallery-item:hover .nv-gallery-item-overlay,
.nv-gallery-item:focus-visible .nv-gallery-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.nv-gallery-item:focus-visible,
.nv-gallery-filter:focus-visible,
.nv-lightbox button:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.nv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 19, 31, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: nv-lightbox-in 0.28s ease both;
}

.nv-lightbox[hidden] {
  display: none;
}
.nv-no-scroll {
  overflow: hidden;
}

.nv-lightbox-figure {
  width: 100%;
  max-width: 1120px;
  max-height: calc(100svh - 110px);
  margin: 0;
}
.nv-lightbox-figure img {
  width: 100%;
  max-height: calc(100svh - 145px);
  object-fit: contain;
}
.nv-lightbox-figure figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  text-align: center;
}

.nv-lightbox button {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(23, 35, 56, 0.28);
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nv-lightbox button:hover {
  background: rgba(255, 255, 255, 0.16);
}
.nv-lightbox-close {
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}
.nv-lightbox-nav {
  bottom: 25px;
  width: 47px;
  height: 42px;
  font-size: 21px;
}
.nv-lightbox-prev {
  left: calc(50% - 51px);
}
.nv-lightbox-next {
  right: calc(50% - 51px);
}

.nv-landing-cta {
  max-width: 1440px;
  margin: 0 auto;
  padding: 74px 24px;
  border-top: 1px solid var(--line);
}

.nv-landing-cta h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 10vw, 4.4rem);
}

.nv-landing-cta p:not(.nv-landing-kicker) {
  max-width: 48ch;
  margin: 22px 0 0;
  color: var(--stone);
  font-size: 16px;
  line-height: 1.75;
}

.nv-landing-cta .nv-landing-hero-link {
  margin-top: 30px;
}

@keyframes nv-lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes nv-gallery-discovery {
  0%,
  22% {
    transform: translateX(0);
  }
  52% {
    transform: translateX(-18px);
  }
  78%,
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 767px) {
  .nv-gallery-item-overlay {
    opacity: 0.78;
    transform: none;
  }
  .nv-gallery-discover .nv-gallery-item:first-child {
    animation: nv-gallery-discovery 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.45s
      both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv-gallery-discover .nv-gallery-item:first-child {
    animation: none;
  }
}

@media (min-width: 768px) {
  .nv-landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: min(760px, calc(100svh - 106px));
  }
  .nv-landing-hero-media {
    order: 2;
    height: auto;
    min-height: 100%;
  }
  .nv-landing-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px clamp(48px, 8vw, 130px) 80px;
  }
  .nv-landing-hero h1 {
    font-size: clamp(3.8rem, 5.4vw, 5.8rem);
  }
  .nv-landing-intro {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
    gap: 12vw;
    max-width: 1440px;
    margin: 0 auto;
    padding: 132px clamp(48px, 7vw, 112px);
  }
  .nv-gallery-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(48px, 7vw, 112px) 132px;
  }
  .nv-gallery-filters {
    padding: 0 0 36px;
  }
  .nv-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
    overflow: visible;
    padding: 0;
  }
  .nv-gallery-item {
    width: 100%;
    flex: auto;
    aspect-ratio: 4 / 4.8;
  }
  .nv-landing-cta {
    padding: 112px clamp(48px, 7vw, 112px);
  }
  #nv-lightbox:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .nv-lightbox-nav {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .nv-lightbox-prev {
    left: 32px;
  }
  .nv-lightbox-next {
    right: 32px;
  }
}

/* ===========================================================
   HOME — depoimentos, apresentação, contato e footer
   Componentes mobile first, sem dependências externas.
=========================================================== */
.nv-section-shell,
.nv-footer-shell {
  width: min(100%, 1400px);
  margin-inline: auto;
  padding-inline: 24px;
}

.nv-testimonials,
.nv-founder,
.nv-contact {
  border-top: 1px solid var(--line);
}

.nv-founder {
  padding-block: 80px;
}

.nv-testimonials {
  padding-block: 64px;
  background: var(--paper-warm);
}

.nv-section-kicker,
.nv-footer-column h2 {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nv-section-kicker {
  color: var(--gold);
}

.nv-section-heading {
  display: grid;
  gap: 24px;
}

.nv-section-heading h2,
.nv-founder-content h2,
.nv-contact-intro h2 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(2.65rem, 11vw, 4.7rem);
  line-height: 0.98;
}

.nv-section-heading > p,
.nv-founder-content > p:not(.nv-section-kicker):not(.nv-founder-role),
.nv-contact-intro > p:not(.nv-section-kicker) {
  max-width: 48ch;
  margin: 0;
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.75;
}

.nv-testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 1180px;
  margin: 36px auto 0;
}

.nv-testimonial-card {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  min-width: 0;
}

.nv-testimonial-media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: linear-gradient(
      145deg,
      rgba(183, 147, 121, 0.17),
      transparent 42%
    ),
    var(--navy-deep);
}

.nv-testimonial-media::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 184, 158, 0.28);
  content: "";
  pointer-events: none;
}

.nv-testimonial-media video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  object-fit: cover;
}

.nv-testimonials-more {
  display: flex;
  max-width: 1180px;
  margin: 28px auto 0;
}

.nv-testimonials-more .nv-text-link {
  margin-top: 0;
}

.nv-founder {
  background: var(--paper);
}

.nv-founder-grid,
.nv-contact-grid {
  display: grid;
  gap: 48px;
}

.nv-contact-grid {
  gap: 36px;
}

.nv-founder-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(
      145deg,
      rgba(183, 147, 121, 0.15),
      transparent 50%
    ),
    var(--paper-warm);
}

.nv-founder-media::after {
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid color-mix(in oklab, var(--gold) 40%, transparent);
  content: "";
  pointer-events: none;
}

.nv-founder-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nv-founder-media.is-unavailable img {
  display: none;
}

.nv-founder-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--stone);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.25;
  text-align: center;
}

.nv-founder-content {
  align-self: center;
}

.nv-founder-role {
  margin: 22px 0 26px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nv-text-link {
  display: inline-flex;
  gap: 13px;
  margin-top: 34px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.875rem;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.nv-text-link:hover {
  gap: 19px;
  opacity: 0.75;
}

.nv-contact {
  padding-block: 64px;
  background: var(--paper-warm);
}

.nv-contact-form {
  display: grid;
  gap: 20px;
}

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

.nv-form-field label {
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nv-form-field label span {
  color: var(--stone);
  font-size: 0.62rem;
  font-weight: 400;
}

.nv-form-field input,
.nv-form-field select,
.nv-form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid
    color-mix(in oklab, var(--navy) 25%, var(--paper) 75%);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.nv-form-field select {
  cursor: pointer;
}

.nv-form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.nv-form-field input::placeholder,
.nv-form-field textarea::placeholder {
  color: color-mix(in oklab, var(--stone) 58%, transparent);
}

.nv-form-field input:focus,
.nv-form-field select:focus,
.nv-form-field textarea:focus {
  border-color: var(--gold);
}

.nv-contact-form.nv-form-validated :is(input, select, textarea):invalid {
  border-color: #9b453f;
}

.nv-form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.nv-form-actions button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  padding: 13px 20px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--paper);
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nv-form-actions button:hover {
  background: transparent;
  color: var(--navy);
}

.nv-form-status {
  margin: 0;
  color: var(--stone);
  font-size: 0.8rem;
}

.nv-form-status:empty {
  display: none;
}

.nv-footer {
  padding: 58px 0 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--navy-deep);
  color: var(--paper);
}

.nv-footer-grid {
  display: grid;
  gap: 34px;
}

.nv-footer-brand img {
  width: auto;
  height: 44px;
}

.nv-footer-brand p,
.nv-footer-column p,
.nv-footer-column address,
.nv-footer-column > a:not(.nv-footer-inline-link) {
  display: block;
  max-width: 34ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
}

.nv-footer-column h2 {
  color: var(--gold-soft);
}

.nv-footer-column strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.nv-footer-column a {
  transition: color 0.2s ease;
}

.nv-footer-column a:hover {
  color: var(--gold-soft);
}

.nv-footer-inline-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(212, 184, 158, 0.5);
  color: var(--paper);
  font-size: 0.78rem;
}

.nv-footer-actions {
  display: grid;
  gap: 10px;
  margin-top: 42px;
  padding: 24px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.nv-footer-social {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--paper);
  font-size: 0.82rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nv-footer-social:hover {
  border-color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.06);
}

.nv-footer-whatsapp {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
}

.nv-footer-whatsapp:hover {
  background: var(--gold-soft);
}

.nv-footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nv-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
}

.nv-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nv-footer-bottom a:hover {
  color: var(--paper);
}

.nv-testimonials :focus-visible,
.nv-founder :focus-visible,
.nv-contact :focus-visible,
.nv-footer :focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .nv-section-shell,
  .nv-footer-shell {
    padding-inline: 40px;
  }

  .nv-founder {
    padding-block: 80px;
  }

  .nv-contact {
    padding-block: 72px;
  }

  .nv-testimonials {
    padding-block: 64px;
  }

  .nv-section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: 48px;
  }

  .nv-section-heading h2 {
    font-size: 3.5rem;
  }

  .nv-founder-content h2,
  .nv-contact-intro h2 {
    font-size: 3.25rem;
    line-height: 1;
  }

  .nv-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    margin-top: 32px;
  }

  .nv-testimonial-card {
    max-width: none;
  }

  .nv-founder-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
    align-items: center;
    gap: clamp(56px, 6vw, 88px);
  }

  .nv-founder-media {
    max-height: 640px;
  }

  .nv-contact-grid {
    grid-template-columns: minmax(320px, 0.9fr) minmax(440px, 1fr);
    align-items: start;
    gap: clamp(48px, 5vw, 64px);
  }

  .nv-contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .nv-form-field-wide {
    grid-column: 1 / -1;
  }

  .nv-form-actions button {
    width: auto;
  }

  .nv-form-field textarea {
    height: 96px;
  }

  .nv-footer {
    padding-block: 72px 34px;
  }

  .nv-footer-grid {
    grid-template-columns: 1.15fr 0.8fr 1.25fr 0.72fr;
    gap: clamp(28px, 4vw, 70px);
  }

  .nv-footer-actions {
    grid-template-columns: repeat(2, minmax(0, 220px));
    justify-content: end;
  }

  .nv-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .nv-section-heading {
    max-width: 1120px;
    margin-inline: auto;
  }

  .nv-testimonials-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1120px;
    gap: 18px;
  }

  .nv-testimonials-more {
    max-width: 1120px;
    margin-top: 24px;
  }

  #solucoes article img {
    aspect-ratio: 5 / 6;
  }
}

@media (max-width: 767px) {
  .nv-logo {
    width: 180px;
    height: auto;
  }

  .nv-landing-hero h1 {
    font-size: clamp(3rem, 12.8vw, 3.35rem);
  }

  #metodo > div {
    padding-block: 64px;
  }

  #metodo > div > .mt-12 {
    margin-top: 40px;
  }

  #ensaio img {
    height: min(68svh, 620px);
  }

  #atuacao > div {
    padding: 64px 24px 72px;
  }

  #atuacao .mt-16 {
    margin-top: 48px;
  }

  #atuacao .gap-14 {
    gap: 48px;
  }

  #solucoes .relative.z-10 {
    padding-block: 72px;
  }

  #solucoes .mt-12 {
    margin-top: 32px;
  }

  #solucoes .mt-16 {
    margin-top: 48px;
  }

  .nv-founder {
    padding-block: 64px;
  }

  .nv-founder-grid {
    gap: 40px;
  }

  .nv-contact-intro h2 {
    font-size: clamp(2.4rem, 10.2vw, 2.6rem);
  }

  .nv-text-link {
    min-height: 44px;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv-text-link {
    transition: none;
  }

  @media (max-width: 767px) {
    /* Hero — título principal */
    #hero h1 {
      font-size: clamp(2.15rem, 10vw, 3.2rem);
    }
  }

  @media (max-width: 767px) {
    .nv-hero-title {
      font-size: 2.5rem;
    }
  }
}
