/* ================================================================
   CHARMING DEGREE — ESTILOS PRINCIPAIS
   Identidade: preto, dourado, verde-oliva e branco.
   ================================================================ */

:root {
  --ink: #080a08;
  --ink-soft: #101310;
  --surface: #151915;
  --surface-light: #f2f0e9;
  --paper: #faf9f5;
  --white: #fffef9;
  --muted: #a4a79e;
  --muted-dark: #62685f;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(8, 10, 8, 0.14);
  --gold: #d6a542;
  --gold-light: #f0d58d;
  --gold-dark: #8f6114;
  --green: #536d48;
  --green-light: #9ab08c;
  --green-dark: #263722;
  --success: #4f9a5d;
  --container: 1240px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 1.25rem;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--gold-light);
  border-radius: 0.5rem;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 em,
h2 em {
  color: var(--gold-light);
  font-weight: 400;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 5.3vw, 5.2rem);
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.2;
}

.section {
  padding-block: clamp(5.5rem, 9vw, 9rem);
}

.section-heading {
  max-width: 58rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.75rem);
}

.section-heading--row {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
}

.section-heading--row > p,
.section-heading--row > .text-link {
  max-width: 25rem;
  margin-bottom: 0.5rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

/* Header */
.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 6rem;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

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

.brand img {
  width: 3.45rem;
  height: 3.45rem;
  object-fit: contain;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-transform: uppercase;
}

.brand__name strong {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand__name small {
  margin-top: 0.38rem;
  color: var(--gold-light);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}

.primary-nav a {
  position: relative;
  padding-block: 0.75rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.3rem;
  left: 0;
  height: 1px;
  background: var(--gold-light);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--white);
}

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

.header-cta {
  padding: 0.78rem 1.2rem;
  border: 1px solid rgba(240, 213, 141, 0.55);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.header-cta:hover {
  color: var(--ink);
  background: var(--gold-light);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--white);
  background: transparent;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: 0.35rem auto;
  background: currentColor;
  transition: transform 180ms ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(8, 10, 8, 0.99) 10%, rgba(8, 10, 8, 0.94) 52%, rgba(13, 19, 12, 0.92)),
    var(--ink);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px);
  background-size: 6rem 6rem;
  content: "";
  mask-image: linear-gradient(to right, transparent, black 60%, transparent);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 35rem;
  height: 35rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.14;
}

.hero__glow--green {
  top: 20%;
  left: -15rem;
  background: var(--green-light);
}

.hero__glow--gold {
  right: -14rem;
  bottom: 0;
  background: var(--gold);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(22rem, 0.94fr);
  min-height: calc(100svh - 6.5rem);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 48rem;
}

.hero__copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-light);
}

.hero__copy .eyebrow span {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin-bottom: 2rem;
  font-size: clamp(3.3rem, 7.2vw, 7rem);
}

.hero h1 span,
.hero h1 em {
  display: block;
  font-style: normal;
}

.hero h1 em {
  color: var(--gold-light);
}

.hero__lead {
  max-width: 41rem;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  color: var(--ink);
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  box-shadow: 0 12px 36px rgba(214, 165, 66, 0.18);
}

.button--secondary {
  color: var(--white);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.button--secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.hero__visual {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  max-width: 38rem;
  place-items: center;
}

.hero__visual::before,
.hero__visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero__visual::before {
  inset: 8%;
  border: 1px solid rgba(214, 165, 66, 0.18);
}

.hero__visual::after {
  inset: 18%;
  border: 1px dashed rgba(154, 176, 140, 0.2);
  animation: spin 28s linear infinite;
}

.hero__visual-ring {
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 165, 66, 0.09), transparent 65%);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.025);
}

.hero__brand-mark {
  position: relative;
  z-index: 2;
  width: 72%;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.5));
}

.hero__brand-mark img {
  width: 100%;
  height: auto;
}

.hero__tag {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(13, 16, 13, 0.72);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero__tag span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
}

.hero__tag--nature {
  top: 20%;
  left: 0;
}

.hero__tag--nature span {
  background: var(--green-light);
  box-shadow: 0 0 0 5px rgba(154, 176, 140, 0.1);
}

.hero__tag--security {
  right: -2%;
  bottom: 23%;
}

.hero__tag--security span {
  background: var(--gold-light);
  box-shadow: 0 0 0 5px rgba(240, 213, 141, 0.1);
}

.hero__services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero__services span {
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.hero__services span:last-child {
  border-right: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Home intro */
.intro {
  background: var(--paper);
}

.intro__grid,
.about-story__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.intro__grid .section-heading,
.about-story__grid .section-heading {
  margin-bottom: 0;
}

.intro__lead,
.about-story__copy .intro__lead {
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.intro__content > p:not(.intro__lead),
.about-story__copy > p:not(.intro__lead) {
  max-width: 42rem;
  color: var(--muted-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  color: var(--gold-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: gap 180ms ease, color 180ms ease;
}

.text-link:hover {
  gap: 1.05rem;
  color: var(--green-dark);
}

.text-link--button {
  padding: 0 0 0.3rem;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  cursor: pointer;
}

/* Services */
.services {
  color: var(--white);
  background: var(--ink-soft);
}

.services .section-heading--row > p {
  color: var(--muted);
}

.services .eyebrow {
  color: var(--gold-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 39rem;
  padding: clamp(2rem, 4vw, 4rem);
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  transition: background 250ms ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.045);
}

.service-card::after {
  position: absolute;
  right: -6rem;
  bottom: -9rem;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
}

.service-card:first-child::after {
  background: radial-gradient(circle, rgba(83, 109, 72, 0.2), transparent 65%);
}

.service-card:last-child::after {
  background: radial-gradient(circle, rgba(214, 165, 66, 0.16), transparent 65%);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.service-card__number {
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 2rem;
}

.service-card h3 {
  max-width: 31rem;
  margin-bottom: 1.25rem;
  font-family: var(--display);
  font-size: clamp(2.3rem, 4vw, 4.1rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.service-card > p {
  max-width: 34rem;
  color: var(--muted);
}

.service-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.service-list li::before {
  margin-right: 0.6rem;
  color: var(--gold);
  content: "—";
}

/* Projects */
.featured {
  background: var(--surface-light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2rem);
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  border-radius: var(--radius);
}

.project-card__image,
.project-placeholder {
  position: relative;
  aspect-ratio: 4 / 2.8;
  overflow: hidden;
  background: var(--surface);
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.025);
}

.project-placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--white);
  isolation: isolate;
}

.project-placeholder::before,
.project-placeholder::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.project-placeholder::before {
  inset: 0;
  background:
    linear-gradient(125deg, transparent 48%, rgba(255, 255, 255, 0.06) 48.2%, transparent 48.5%),
    repeating-linear-gradient(90deg, transparent 0 4.9rem, rgba(255,255,255,.04) 5rem);
}

.project-placeholder::after {
  top: 50%;
  left: 50%;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.project-placeholder--jardinagem,
.project-placeholder--limpeza-terrenos {
  background: linear-gradient(140deg, #162016, #34472e);
}

.project-placeholder--seguranca {
  background: linear-gradient(140deg, #14130f, #533a12);
}

.project-placeholder__code {
  color: rgba(255, 255, 255, 0.11);
  font-family: var(--display);
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 0.8;
}

.project-placeholder__label {
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card__content {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  color: var(--gold-dark);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card__example,
[data-dialog-example] {
  padding: 0.35rem 0.55rem;
  color: var(--muted-dark);
  background: rgba(8, 10, 8, 0.06);
  border-radius: 999px;
  font-size: 0.55rem;
}

.project-card h3 {
  margin-bottom: 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.project-card__content > p {
  max-width: 35rem;
  color: var(--muted-dark);
}

.project-card[hidden] {
  display: none;
}

/* Differences */
.differences {
  background: var(--paper);
}

.differences-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.difference {
  min-height: 19rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.difference > span {
  display: block;
  margin-bottom: 5rem;
  color: var(--gold-dark);
  font-family: var(--display);
}

.difference h3 {
  margin-bottom: 0.75rem;
  font-size: 1.18rem;
}

.difference p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 0.9rem;
}

/* CTA */
.cta-section {
  padding-top: 2rem;
  color: var(--white);
  background: var(--paper);
}

.cta-card {
  position: relative;
  min-height: 32rem;
  padding: clamp(2rem, 7vw, 6.5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(214, 165, 66, 0.18), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(83, 109, 72, 0.22), transparent 35%),
    var(--ink-soft);
  border-radius: var(--radius);
}

.cta-card::after {
  position: absolute;
  right: 8%;
  bottom: -14rem;
  width: 32rem;
  height: 32rem;
  border: 1px solid rgba(240, 213, 141, 0.14);
  border-radius: 50%;
  content: "";
}

.cta-card .eyebrow {
  color: var(--gold-light);
}

.cta-card h2 {
  position: relative;
  z-index: 2;
  max-width: 58rem;
  margin-bottom: 2.5rem;
}

.cta-card__mark {
  position: absolute;
  right: 5%;
  bottom: -8%;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--display);
  font-size: clamp(12rem, 28vw, 28rem);
  line-height: 0.8;
}

.cta-section--compact .cta-card {
  min-height: 25rem;
}

/* Footer */
.site-footer {
  padding-top: 6rem;
  color: var(--white);
  background: #050605;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 1fr;
  gap: 4rem;
  padding-bottom: 5rem;
}

.footer-brand > p {
  max-width: 22rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-title {
  margin-bottom: 1rem;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.7rem;
}

.footer-bottom p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem 0.6rem 0.65rem;
  color: var(--white);
  background: #285c31;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.whatsapp-float > span:first-child {
  display: grid;
  width: 2rem;
  height: 2rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  place-items: center;
}

.whatsapp-float:hover {
  background: #347641;
  transform: translateY(-2px);
}

/* Inner pages */
.page-hero {
  position: relative;
  min-height: 72svh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 70%, rgba(214, 165, 66, 0.13), transparent 27%),
    radial-gradient(circle at 5% 80%, rgba(83, 109, 72, 0.18), transparent 30%),
    var(--ink);
}

.page-hero::after {
  position: absolute;
  right: -8rem;
  bottom: -17rem;
  width: 40rem;
  height: 40rem;
  border: 1px solid rgba(240, 213, 141, 0.11);
  border-radius: 50%;
  content: "";
}

.page-hero__inner {
  display: flex;
  min-height: 72svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 10rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.page-hero__inner h1 {
  max-width: 70rem;
  margin-bottom: 2rem;
  font-size: clamp(3.4rem, 8vw, 7.5rem);
}

.page-hero__inner h1 em {
  font-style: normal;
}

.page-hero__inner > p:last-child,
.page-hero__inner > div > p:last-child {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
}

.page-hero__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.65fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 9rem);
}

.about-brand-card {
  position: relative;
  display: grid;
  min-height: 31rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.about-brand-card::before {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border: 1px solid rgba(214, 165, 66, 0.2);
  border-radius: 50%;
  content: "";
}

.about-brand-card img {
  position: relative;
  z-index: 1;
  width: 80%;
}

.about-brand-card span {
  position: absolute;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-brand-card span:nth-of-type(1) { top: 1.5rem; left: 1.5rem; }
.about-brand-card span:nth-of-type(2) { right: 1.5rem; bottom: 1.5rem; }
.about-brand-card span:nth-of-type(3) { top: 1.5rem; right: 1.5rem; }

.projects-page {
  padding-top: clamp(4.5rem, 7vw, 7rem);
}

.projects-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.projects-toolbar h2 {
  margin: 0;
  font-size: 2.25rem;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.filter-button {
  min-height: 2.7rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-dark);
  color: var(--muted-dark);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.project-dialog {
  width: min(94vw, 68rem);
  max-height: 90svh;
  padding: 0;
  overflow: auto;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-dialog::backdrop {
  background: rgba(3, 4, 3, 0.82);
  backdrop-filter: blur(8px);
}

.project-dialog__close {
  position: absolute;
  z-index: 5;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.55rem;
  place-items: center;
}

.project-dialog__media > .project-placeholder,
.project-dialog__media > .comparison {
  min-height: 28rem;
  border-radius: 0;
}

.project-dialog__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--ink);
}

.project-dialog__gallery img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
}

.project-dialog__gallery img:first-child:last-child {
  grid-column: 1 / -1;
}

.project-dialog__content {
  padding: clamp(1.75rem, 5vw, 4rem);
}

.project-dialog__content h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.project-dialog__content > p {
  max-width: 45rem;
  color: var(--muted-dark);
}

/* Before / after comparison */
.comparison {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface);
}

.comparison__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison__before {
  position: absolute;
  inset: 0;
  width: var(--position);
  overflow: hidden;
}

.comparison__before .comparison__image {
  width: calc(100vw - (var(--gutter) * 2));
  max-width: calc(var(--container) / 2);
}

.project-dialog .comparison__before .comparison__image {
  width: min(94vw, 68rem);
  max-width: none;
}

.comparison__line {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  transform: translateX(-1px);
}

.comparison__line::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--white);
  background: rgba(8, 10, 8, 0.75);
  border-radius: 50%;
  color: var(--white);
  content: "↔";
  place-items: center;
  transform: translate(-50%, -50%);
}

.comparison__range {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.comparison__label {
  position: absolute;
  z-index: 2;
  top: 1rem;
  padding: 0.45rem 0.65rem;
  color: var(--white);
  background: rgba(8, 10, 8, 0.72);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison__label--before { left: 1rem; }
.comparison__label--after { right: 1rem; }

/* About */
.example-note {
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  font-size: 0.78rem;
}

.principles {
  color: var(--white);
  background: var(--ink-soft);
}

.principles .eyebrow {
  color: var(--gold-light);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principle {
  min-height: 30rem;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle > span {
  display: block;
  margin-bottom: 8rem;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: 1.5rem;
}

.principle h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
}

.principle > p:last-child {
  color: var(--muted);
}

.dual-expertise {
  padding-top: 2rem;
}

.dual-expertise__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.expertise-card {
  min-height: 32rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: var(--white);
  border-radius: var(--radius);
}

.expertise-card--green {
  background: linear-gradient(145deg, #162116, #354a2e);
}

.expertise-card--gold {
  background: linear-gradient(145deg, #17140f, #5a3e13);
}

.expertise-card > span {
  display: inline-block;
  margin-bottom: 8rem;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.expertise-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.expertise-card p {
  max-width: 34rem;
  color: rgba(255,255,255,.68);
}

.expertise-card .text-link {
  color: var(--gold-light);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.contact-intro {
  position: sticky;
  top: 2rem;
  align-self: start;
}

.contact-intro h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.contact-intro > p:not(.eyebrow) {
  max-width: 28rem;
  color: var(--muted-dark);
}

.contact-list {
  border-top: 1px solid var(--line-dark);
}

.contact-card {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  min-height: 8rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-dark);
  transition: padding 180ms ease, background 180ms ease;
}

a.contact-card:hover {
  padding-right: 1rem;
  padding-left: 1rem;
  background: rgba(8, 10, 8, 0.035);
}

.contact-card__index {
  color: var(--gold-dark);
  font-family: var(--display);
  font-size: 1.25rem;
}

.contact-card > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-card small {
  margin-bottom: 0.25rem;
  color: var(--muted-dark);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong {
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 400;
}

.contact-card em {
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-style: normal;
}

.contact-card__arrow {
  font-size: 1.5rem;
}

.availability {
  padding-top: 0;
}

.availability__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: clamp(2rem, 6vw, 5rem);
  color: var(--white);
  background: var(--green-dark);
  border-radius: var(--radius);
}

.availability__inner h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.availability__inner .eyebrow {
  color: var(--gold-light);
}

.availability__inner > p {
  align-self: end;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

/* Tablet */
@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.7fr);
  }

  .service-list {
    grid-template-columns: 1fr;
  }

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

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

  .principle {
    min-height: auto;
  }

  .principle > span {
    margin-bottom: 4rem;
  }
}

/* Mobile navigation + layout */
@media (max-width: 900px) {
  html {
    scroll-padding-top: 5.5rem;
  }

  .site-header {
    background: rgba(5, 6, 5, 0.9);
    backdrop-filter: blur(12px);
  }

  .header-inner {
    min-height: 5.2rem;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
  }

  .nav-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .nav-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: 5.2rem;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 2rem var(--gutter) 7rem;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    overflow: auto;
    visibility: hidden;
    background: rgba(5, 6, 5, 0.985);
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .nav-open .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--white);
    font-family: var(--display);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 9rem;
    padding-bottom: 3rem;
  }

  .hero__copy {
    max-width: 42rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 13vw, 6rem);
  }

  .hero__visual {
    width: min(100%, 33rem);
    margin: -1rem auto 0;
  }

  .hero__services {
    margin-top: 1rem;
  }

  .section-heading--row,
  .projects-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .project-filters {
    justify-content: flex-start;
  }

  .intro__grid,
  .about-story__grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-intro {
    position: static;
  }

  .page-hero__inner--split {
    grid-template-columns: 1fr;
    padding-top: 10rem;
  }

  .about-brand-card {
    width: min(100%, 32rem);
    min-height: 25rem;
  }

  .services-grid,
  .dual-expertise__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card__top {
    margin-bottom: 5rem;
  }

  .projects-grid {
    gap: 1.25rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  :root {
    --radius: 1rem;
  }

  .section {
    padding-block: 5rem;
  }

  h2 {
    font-size: clamp(2.45rem, 12vw, 3.7rem);
  }

  .brand__name strong {
    font-size: 0.92rem;
  }

  .brand__name small {
    font-size: 0.44rem;
  }

  .brand img {
    width: 3rem;
    height: 3rem;
  }

  .hero__inner {
    padding-top: 8rem;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15vw, 4.5rem);
    letter-spacing: -0.055em;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__visual {
    width: 100%;
  }

  .hero__tag {
    font-size: 0.55rem;
  }

  .hero__tag--nature { left: -0.5rem; }
  .hero__tag--security { right: -0.5rem; }

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

  .hero__services span {
    padding: 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero__services span:last-child {
    border-bottom: 0;
  }

  .intro__lead,
  .about-story__copy .intro__lead {
    font-size: 1.55rem;
  }

  .services {
    padding-bottom: 0;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card__top {
    margin-bottom: 4rem;
  }

  .service-card h3 {
    font-size: 2.35rem;
  }

  .projects-grid,
  .differences-grid {
    grid-template-columns: 1fr;
  }

  .project-placeholder__code {
    font-size: 4rem;
  }

  .project-placeholder__label {
    max-width: 8rem;
    text-align: right;
  }

  .difference {
    min-height: auto;
  }

  .difference > span {
    margin-bottom: 3rem;
  }

  .cta-card {
    min-height: 28rem;
    padding: 2rem 1.5rem;
  }

  .cta-card h2 {
    margin-bottom: 2rem;
  }

  .cta-card .button {
    width: 100%;
  }

  .page-hero,
  .page-hero__inner {
    min-height: 68svh;
  }

  .page-hero__inner {
    padding-top: 9rem;
    padding-bottom: 3rem;
  }

  .page-hero__inner h1 {
    font-size: clamp(3.05rem, 14vw, 4.5rem);
  }

  .page-hero__inner > p:last-child,
  .page-hero__inner > div > p:last-child {
    font-size: 1rem;
  }

  .about-brand-card {
    min-height: 20rem;
  }

  .principle {
    padding: 1.5rem;
  }

  .principle > span {
    margin-bottom: 3rem;
  }

  .expertise-card {
    min-height: 27rem;
    padding: 1.75rem;
  }

  .expertise-card > span {
    margin-bottom: 6rem;
  }

  .projects-toolbar {
    margin-bottom: 2rem;
  }

  .project-filters {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-button {
    padding-inline: 0.6rem;
  }

  .project-dialog__media > .project-placeholder,
  .project-dialog__media > .comparison {
    min-height: 18rem;
  }

  .project-dialog__gallery {
    grid-template-columns: 1fr;
  }

  .project-dialog__gallery img {
    height: 18rem;
  }

  .contact-card {
    grid-template-columns: 2rem 1fr auto;
    gap: 0.8rem;
  }

  .contact-card strong {
    font-size: 1.25rem;
  }

  .contact-card__arrow {
    font-size: 1.1rem;
  }

  .availability__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }

  .whatsapp-float > span:last-child {
    display: none;
  }

  .whatsapp-float {
    width: 3.25rem;
    height: 3.25rem;
    padding: 0.6rem;
    justify-content: center;
  }
}

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