﻿:root {
  --navy-950: #1f3c44;
  --navy-900: #294d58;
  --navy-800: #355f69;
  --navy-700: #4d727a;
  --gold-500: #c9a35d;
  --gold-600: #a9823f;
  --surface: #f7f6f3;
  --surface-alt: #efede8;
  --surface-card: #ffffff;
  --text: #20292b;
  --muted: #667477; 
  --line: rgba(41, 77, 88, 0.14);
  --line-light: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 8px 24px rgba(24, 48, 56, 0.07);
  --shadow-md: 0 18px 48px rgba(24, 48, 56, 0.11);
  --container: 1280px;
  --radius-sm: 4px;
  --radius: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  cursor: pointer;
}

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

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

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(41, 77, 88, 0.97);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(14px);
}

.header.scrolled {
  box-shadow: 0 8px 28px rgba(15, 34, 39, 0.14);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100% - 40px));
  min-height: 82px;
  margin-inline: auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
}

.brand-svg {
  display: block;
  width: 80%;
  max-width: 220px;
  height: auto;
  padding-bottom: 10px;
}

.main-nav {
  display: flex;
  flex: 1;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.nav-list a {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-list a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.lang-btn.active {
  border-color: rgba(201, 163, 93, 0.36);
  background: rgba(201, 163, 93, 0.15);
}

.lang-flag {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.menu-toggle {
  display: none;
}

.menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy-900);
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

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

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #d3ae68;
  box-shadow: 0 10px 24px rgba(17, 31, 34, 0.18);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.14);
}

.btn-header {
  min-height: 42px;
  padding-inline: 18px;
}

.btn-large {
  min-height: 56px;
  padding-inline: 30px;
}

.arrow {
  transition: transform 220ms ease;
}

.btn:hover .arrow,
.btn:focus-visible .arrow {
  transform: translateX(4px);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 90px;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02);
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(20, 48, 58, 0.8) 0%,
    rgba(20, 48, 58, 0.5) 52%,
    rgba(20, 48, 58, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: 80px 20px;
  color: #fff;
}

.hero-inner {
  max-width: 700px;
}

.hero-tag {
  margin: 0 0 20px;
  color: var(--gold-500);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 720px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--gold-500), rgba(201, 163, 93, 0));
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.8);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Shared section typography */
.section-header {
  margin-bottom: 46px;
  text-align: center;
}

.section-title {
  margin: 0 0 12px;
  color: var(--navy-900);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Differentials */
.diferenciais {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.diferencial-item {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  gap: 12px;
}

.diferencial-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--gold-600);
}

.diferencial-icon svg {
  width: 100%;
  height: 100%;
}

.diferencial-text {
  margin: 0;
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
}

/* Company */
.empresa {
  padding: 100px 0;
  background: var(--surface);
}

.empresa-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 6vw, 82px);
}

.empresa-copy {
  max-width: 760px;
}

.empresa-copy h2 {
  margin: 0 0 22px;
  color: var(--navy-900);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.empresa-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.company-list {
  display: grid;
  margin-top: 26px;
  padding-left: 20px;
  gap: 12px;
  color: var(--navy-800);
  list-style: disc;
}

.company-list li {
  font-size: 0.96rem;
  line-height: 1.7;
}

.empresa-aside {
  display: grid;
  gap: 18px;
}

.company-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.company-card.highlight {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background: var(--navy-900);
  color: #fff;
}

.company-card.highlight::before {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -78px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(201, 163, 93, 0.28);
  border-radius: 50%;
}

.card-label {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--gold-500);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.company-card p:last-child {
  position: relative;
  z-index: 1;
  margin: 0;
  color: inherit;
  font-size: 0.98rem;
  line-height: 1.8;
}

/* Natural stones */
.pedras {
  padding: 94px 0 100px;
  background:
    radial-gradient(
      circle at 8% 14%,
      rgba(201, 163, 93, 0.11),
      transparent 32%
    ),
    linear-gradient(135deg, #efede8 0%, #f7f6f3 52%, #e9e6df 100%);
}

.pedras .container {
  width: min(1380px, calc(100% - 40px));
}

.pedras-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: clamp(18px, 2vw, 28px);
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 44px;
}

.pedra-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: visible;
  background: transparent;
}

.pedra-image {
  position: relative;
  display: block;
  order: 1;
  width: 100%;
  height: 70%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #d8d5cf;
  box-shadow: var(--shadow-sm);
}

.category-grid .pedra-image {
  aspect-ratio: 5 / 4;
}

.pedra-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, transparent 58%, rgba(19, 36, 40, 0.16));
  pointer-events: none;
  transition:
    border-color 280ms ease,
    background 280ms ease;
}

.pedra-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.02);

  /* Zoom temporário para cortar as extremidades */
  transform: scale(1.16);
  transform-origin: center;

  transition:
    filter 320ms ease,
    transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);

  will-change: transform;
}

.pedra-card:hover .pedra-image img,
.pedra-card:focus-within .pedra-image img {
  filter: saturate(1) contrast(1.03);
  transform: scale(1.2);
}

.pedra-card:hover .pedra-image::after,
.pedra-card:focus-within .pedra-image::after {
  border-color: rgba(201, 163, 93, 0.48);
  background: linear-gradient(180deg, transparent 52%, rgba(19, 36, 40, 0.24));
}

.pedra-heading {
  display: grid;
  order: 2;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 0;
  padding: 18px 2px 0;
  gap: 16px;
  background: transparent;
}

.pedra-heading::after {
  content: "↗";
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(41, 77, 88, 0.22);
  border-radius: 50%;
  color: var(--navy-900);
  font-size: 0.9rem;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.pedra-card:hover .pedra-heading::after,
.pedra-card:focus-within .pedra-heading::after {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: #fff;
  transform: translate(2px, -2px);
}

.pedra-name {
  margin: 0;
  color: var(--navy-900);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

/* Stone catalogue navigation and detail */
.stone-page {
  position: relative;
  padding-top: clamp(132px, 12vw, 168px) !important;
}

.stone-page > .container {
  display: flex;
  flex-direction: column;
}

.stone-page .stone-breadcrumb {
  order: -1;
}

.stone-page .section-header {
  width: min(760px, 100%);
  margin-bottom: clamp(44px, 6vw, 70px);
  text-align: left;
}

.stone-page .section-title {
  font-size: clamp(2.9rem, 5.5vw, 5.2rem);
  line-height: 0.98;
}

.stone-page .section-subtitle {
  margin-left: 0;
}

.stone-breadcrumb {
  margin: 0 0 clamp(34px, 5vw, 58px);
  padding: 0 0 15px;
  border-bottom: 1px solid var(--line);
}

.stone-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  row-gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
}

.stone-breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.stone-breadcrumb li + li::before {
  content: "";
  width: 20px;
  height: 1px;
  margin: 0 12px;
  background: rgba(41, 77, 88, 0.34);
}

.stone-breadcrumb a {
  color: var(--muted);
  transition: color 180ms ease;
}

.stone-breadcrumb a:hover,
.stone-breadcrumb a:focus-visible,
.stone-breadcrumb [aria-current="page"] {
  color: var(--navy-900);
}

.stone-breadcrumb [aria-current="page"] {
  font-weight: 700;
}

.stone-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  width: 100%;
  max-width: 1180px;
  gap: clamp(40px, 6vw, 82px);
}

.stone-empty {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: stretch;
  width: 100%;
  max-width: 1180px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.stone-empty-media {
  min-height: 420px;
  overflow: hidden;
}

.stone-empty-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stone-empty-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
}

.stone-empty-copy h2 {
  margin: 8px 0 14px;
  color: var(--navy-900);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.stone-empty-copy p:last-child {
  margin: 0;
  color: var(--muted);
}

.stone-notice {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold-500);
  background: rgba(201, 163, 93, 0.1);
  color: var(--navy-900);
}

.stone-detail-media {
  min-width: 0;
}

.stone-detail-image {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #d8d5cf;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
}

.stone-detail-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.stone-detail-copy {
  padding: 34px 0 34px clamp(24px, 3vw, 42px);
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.stone-page .stone-detail-copy h2 {
  display: none;
}

.stone-detail-copy h3 {
  margin: 30px 0 10px;
  color: var(--navy-900);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.stone-detail-copy ul {
  display: grid;
  margin: 0;
  padding-left: 18px;
  gap: 7px;
  list-style: disc;
}

.finish-list {
  display: flex !important;
  flex-wrap: wrap;
  padding-left: 0 !important;
  gap: 8px 18px !important;
  list-style: none !important;
}

.finish-list li::before {
  content: "•";
  margin-right: 8px;
  color: var(--gold-500);
}

/* Applications */
.aplicacoes {
  padding: 76px 0 84px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.aplicacoes-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: transparent;
}

.aplicacao-item {
  padding: 28px 14px 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.aplicacao-item:last-child {
  border-right: 0;
}

.aplicacao-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  color: var(--navy-900);
}

.aplicacao-icon svg {
  width: 100%;
  height: 100%;
}

.aplicacao-item h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.45;
}

/* Realizations */
.realizacoes {
  padding: 96px 0 104px;
  background: var(--surface-alt);
}

.realizacoes-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 32px;
  text-align: left;
}

.realizacoes-header .section-title {
  margin-bottom: 0;
}

.realizacoes-header .section-subtitle {
  max-width: 500px;
  margin: 0;
  text-align: left;
}

.realizacoes-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(190px, 19vw, 280px);
  gap: 10px;
}

.realizacao-item {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #d5d3ce;
  cursor: pointer;
}

.realizacao-item.large {
  grid-row: span 2;
  grid-column: span 2;
}

.realizacao-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition:
    filter 300ms ease,
    transform 600ms ease;
}

.realizacao-item:hover img,
.realizacao-item:focus-within img {
  filter: saturate(1);
  transform: scale(1.045);
}

.realizacao-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 42%, rgba(24, 48, 56, 0.78));
}

.realizacao-tag {
  margin-bottom: 6px;
  color: #e0bd7a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.realizacao-caption {
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 500;
  line-height: 1.2;
}

.realizacoes-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* Realizations page */
.realizacoes-page {
  padding: 142px 0 104px;
  background: var(--surface);
}

.realizacoes-page > .container > .section-header {
  max-width: 820px;
  margin-inline: auto;
}

.realization-project {
  margin-top: 72px;
}

.realization-project:first-of-type {
  margin-top: 58px;
}

.realization-project-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.realization-project-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1;
}

.realization-project-heading p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: right;
}

.realizacoes-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(250px, 25vw, 360px);
  gap: 12px;
}

.realizacoes-page-grid .realizacao-overlay {
  padding: 18px;
}

/* Services / projects */
.projetos {
  padding: 96px 0 104px;
  background: var(--surface);
}

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

.projeto-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.projeto-visual {
  height: 260px;
  overflow: hidden;
}

.projeto-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition:
    filter 300ms ease,
    transform 650ms ease;
}

.projeto-card:hover .projeto-visual img,
.projeto-card:focus-within .projeto-visual img {
  filter: saturate(1);
  transform: scale(1.045);
}

.projeto-content {
  padding: 25px 24px 30px;
}

.projeto-content h3 {
  margin: 0 0 10px;
  color: var(--navy-900);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
}

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

/* Final call to action */
.cta-final {
  position: relative;
  display: grid;
  min-height: 470px;
  overflow: hidden;
  place-items: center;
  background: var(--navy-900);
}

.cta-bg,
.cta-overlay {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  background: linear-gradient(
    180deg,
    rgba(31, 60, 68, 0.56),
    rgba(31, 60, 68, 0.78)
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  padding: 36px 20px;
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  max-width: 820px;
  margin: 0 auto 30px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* Footer */
.footer {
  padding: 66px 0 24px;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.15fr;
  align-items: start;
  margin-bottom: 44px;
  gap: clamp(48px, 7vw, 110px);
}

.footer-contact {
  min-width: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.74);
  transition: color 180ms ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--gold-500);
}

.footer-brand-logo {
  justify-content: flex-start;
  min-width: 0;
}

.footer-brand-logo .brand-svg {
  width: 180px;
  padding: 0;
}

.footer-tagline {
  max-width: 300px;
  margin: 18px 0 0;
  color: #d7b775;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
}

.footer-contact h4,
.footer-legal h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact ul {
  display: grid;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact li span,
.footer-contact li a {
  overflow-wrap: anywhere;
}

.footer-contact li svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: var(--gold-500);
}

.footer-contact a {
  transition: color 180ms ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #fff;
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

/* Image modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.gallery-modal.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 25, 28, 0.88);
  backdrop-filter: blur(8px);
}

.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--navy-950);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.gallery-stage {
  display: grid;
  overflow: hidden;
  min-height: 200px;
  place-items: center;
  border-radius: 10px;
  background: #183139;
}

.gallery-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.gallery-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(20, 39, 44, 0.72);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
}

.lightbox-trigger {
  cursor: pointer;
}

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

[data-animate="fade-right"] {
  transform: translateX(-28px);
}

[data-animate="fade-left"] {
  transform: translateX(28px);
}

[data-animate="fade-right"].visible,
[data-animate="fade-left"].visible {
  transform: none;
}

[data-delay="100"] {
  transition-delay: 100ms;
}
[data-delay="200"] {
  transition-delay: 200ms;
}
[data-delay="300"] {
  transition-delay: 300ms;
}
[data-delay="400"] {
  transition-delay: 400ms;
}
[data-delay="500"] {
  transition-delay: 500ms;
}

/* Responsive */
@media (max-width: 1190px) {
  .nav-list {
    gap: 20px;
  }

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

  .empresa-wrap {
    grid-template-columns: 1fr;
  }

  .empresa-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .aplicacoes-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .aplicacao-item:nth-child(4n) {
    border-right: 0;
  }

  .aplicacao-item:nth-child(n + 5) {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  .header::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1050;
    visibility: hidden;
    background: rgba(14, 25, 28, 0.48);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 240ms ease,
      visibility 240ms ease;
  }

  body.nav-open .header::before {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .header-container {
    position: relative;
    z-index: 1201;
    min-height: 72px;
  }

  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1100;
    display: block;
    width: min(82vw, 320px);
    height: 100dvh;
    padding: 94px 26px 30px;
    overflow-y: auto;
    background: var(--surface-card);
    box-shadow: -20px 0 46px rgba(23, 43, 48, 0.2);
    transform: translateX(110%);
    transition: transform 300ms ease;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav-list a {
    width: 100%;
    padding: 11px 0;
    color: var(--navy-900);
    font-size: 0.84rem;
  }

  .header-actions {
    position: relative;
    z-index: 1202;
    gap: 6px;
  }

  .header-actions .btn-header {
    display: none;
  }

  .header-actions .lang-selector {
    display: flex;
    gap: 2px;
  }

  .header-actions .lang-btn {
    width: 30px;
    height: 30px;
  }

  .header-actions .lang-flag {
    width: 20px;
    height: 20px;
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 42px;
    height: 42px;
    padding: 0;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: #fff;
  }

  .menu-toggle.active .menu-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
  }

  .menu-toggle.active .menu-bar:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
  }

  .menu-toggle.active .menu-bar:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 64px;
  }

  .diferenciais-grid,
  .pedras-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stone-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stone-empty {
    grid-template-columns: 1fr;
  }

  .stone-empty-media {
    min-height: 320px;
  }

  .stone-detail-copy {
    max-width: 760px;
  }

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

  .aplicacao-item:nth-child(2n) {
    border-right: 0;
  }

  .aplicacao-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .realizacoes-header {
    display: block;
  }

  .realizacoes-header .section-subtitle {
    margin-top: 12px;
  }

  .realizacoes-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(220px, 38vw, 320px);
  }

  .realizacoes-page {
    padding-top: 120px;
  }

  .realization-project-heading {
    display: block;
  }

  .realization-project-heading p {
    max-width: 620px;
    margin-top: 9px;
    text-align: left;
  }

  .realizacoes-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(240px, 42vw, 340px);
  }

  .realizacao-item.large {
    grid-row: auto;
    grid-column: auto;
  }

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

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

@media (max-width: 620px) {
  .container,
  .header-container,
  .pedras .container {
    width: calc(100% - 28px);
  }

  .header-container {
    min-height: 68px;
    gap: 6px;
  }

  .brand {
    min-width: 0;
  }

  .brand-svg {
    width: 118px;
    max-width: 118px;
    padding-bottom: 5px;
  }

  .header-actions .lang-btn {
    width: 30px;
    height: 30px;
  }

  .header-actions .lang-flag {
    width: 20px;
    height: 20px;
  }

  .main-nav {
    width: min(84vw, 292px);
    padding: 88px 22px 28px;
  }

  .menu-toggle {
    width: 30px;
    height: 30px;
    gap: 4px;
  }

  .menu-toggle .menu-bar {
    width: 15px;
    height: 1.5px;
  }

  .menu-toggle:focus-visible {
    outline: 0;
    box-shadow: inset 0 0 0 2px var(--gold-500);
  }

  .hero {
    min-height: max(680px, 100svh);
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(20, 48, 58, 0.84) 0%,
      rgba(20, 48, 58, 0.7) 68%,
      rgba(20, 48, 58, 0.82) 100%
    );
  }

  .hero-content {
    padding: 90px 14px 74px;
  }

  .hero-title {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
    line-height: 1.02;
  }

  .hero-text {
    margin: 20px 0 28px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-buttons {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.04;
  }

  .section-subtitle {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .diferenciais-grid,
  .empresa-aside,
  .pedras-grid,
  .category-grid,
  .aplicacoes-grid,
  .realizacoes-gallery {
    grid-template-columns: 1fr;
  }

  .realizacoes-page {
    padding: 104px 0 72px;
  }

  .realization-project {
    margin-top: 50px;
  }

  .realizacoes-page-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(250px, 86vw, 360px);
  }

  .diferencial-item {
    min-height: 66px;
  }

  .diferenciais {
    padding: 24px 0;
  }

  .empresa,
  .pedras,
  .realizacoes,
  .projetos {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .empresa-wrap {
    gap: 30px;
  }

  .empresa-aside {
    gap: 14px;
  }

  .company-card {
    padding: 24px 20px;
  }

  .stone-page {
    padding-top: 104px !important;
  }

  .stone-page .section-title {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  .stone-page .section-header {
    margin-bottom: 32px;
  }

  .stone-breadcrumb {
    margin-bottom: 30px;
  }

  .stone-breadcrumb ol {
    font-size: 0.64rem;
    letter-spacing: 0.05em;
  }

  .stone-breadcrumb li + li::before {
    width: 12px;
    margin-inline: 8px;
  }

  .pedra-image,
  .category-grid .pedra-image {
    aspect-ratio: 4 / 3;
  }

  .stone-detail-copy {
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .aplicacoes {
    padding: 60px 0 64px;
  }

  .aplicacao-item,
  .aplicacao-item:nth-child(2n),
  .aplicacao-item:nth-child(4n) {
    border-right: 0;
  }

  .aplicacao-item:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .aplicacao-item {
    display: flex;
    align-items: center;
    min-height: 0;
    padding: 18px 14px;
    gap: 16px;
    text-align: left;
  }

  .aplicacao-icon {
    flex: 0 0 42px;
    margin: 0;
  }

  .realizacoes-gallery {
    grid-auto-rows: clamp(220px, 72vw, 290px);
    gap: 8px;
  }

  .projetos-grid {
    gap: 18px;
  }

  .projeto-visual {
    height: 220px;
  }

  .cta-final {
    min-height: 400px;
  }

  .cta-content {
    padding: 42px 20px;
  }

  .cta-content h2 {
    margin-bottom: 26px;
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .cta-content .btn {
    width: 100%;
    max-width: 320px;
  }

  .footer {
    padding: 52px 0 22px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-brand-logo .brand-svg {
    width: 150px;
    max-width: 150px;
  }

  .footer-contact li {
    align-items: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .gallery-modal {
    padding: 10px;
  }

  .gallery-modal-dialog {
    width: 100%;
    padding: 8px;
  }

  .gallery-stage img {
    max-height: 78svh;
  }

  .gallery-close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
