/* ==========================================================================
   Humany Engenharia — Design System & Styles
   HTML/CSS/JS puros — sem framework, sem build.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Marca — não mudar */
  --navy: #010163;
  --navy-700: #050540;
  --navy-600: #0a0a5c;
  --navy-500: #12127a;
  --navy-400: #2626a0;
  --orange: #ff4e00;
  --orange-light: #ff8a3d;
  --orange-dark: #d43e00;

  /* Neutros de apoio */
  --cream: #f8f6f2;
  --beige: #efe9dd;
  --ink: #0b0b1f;
  --gray-900: #14142b;
  --gray-700: #43435c;
  --gray-500: #6b6b85;
  --gray-300: #d6d5e2;
  --gray-200: #e8e7f0;
  --gray-100: #f2f1f7;
  --white: #ffffff;

  /* Gradiente de assinatura — azul-marinho */
  --gradient-navy: linear-gradient(135deg, #010163 0%, #050540 48%, #0d0d78 100%);
  /* Degradê dos heros — azul-marinho predominante + laranja dissolvido no canto inferior direito */
  --gradient-hero:
    radial-gradient(ellipse 95% 100% at 88% 100%, rgba(255, 92, 10, 0.4) 0%, rgba(255, 88, 8, 0.17) 38%, rgba(255, 78, 0, 0) 72%),
    linear-gradient(155deg, #01011c 0%, #030334 32%, #010163 72%, #0a0a5c 100%);
  --gradient-cta: linear-gradient(135deg, #ff4e00 0%, #ff7a3d 100%);
  --gradient-cta-hover: linear-gradient(135deg, #ff6a1f 0%, #ff8a3d 100%);
  --overlay-navy: linear-gradient(0deg, rgba(1, 1, 40, 0.92) 0%, rgba(1, 1, 60, 0.35) 55%, rgba(1, 1, 60, 0) 100%);

  /* Tipografia */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 860px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --header-h: 76px;

  /* Sombra sutil (sem sombra pesada) */
  --shadow-soft: 0 16px 40px -24px rgba(1, 1, 99, 0.45);
  --shadow-card: 0 10px 24px -16px rgba(1, 1, 99, 0.3);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

@media (min-width: 768px) {
  .container {
    padding-inline: 40px;
  }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 3px;
  height: 18px;
  background: var(--orange);
  display: inline-block;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.15;
}

.section-lede {
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 60ch;
  line-height: 1.65;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 44px;
}

.section-head--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.text-orange {
  color: var(--orange);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--white);
  box-shadow: 0 12px 28px -12px rgba(255, 78, 0, 0.55);
}

.btn-primary:hover {
  background: var(--gradient-cta-hover);
  box-shadow: 0 16px 34px -10px rgba(255, 78, 0, 0.7);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline--dark {
  color: var(--navy);
  border-color: rgba(1, 1, 99, 0.35);
}

.btn-outline--dark:hover {
  border-color: var(--navy);
  background: rgba(1, 1, 99, 0.06);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 0.85rem;
}

/* Circular ring button (referência tdois) */
.btn-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-ring:hover {
  border-color: var(--orange);
  background: rgba(255, 78, 0, 0.12);
  transform: translateY(-2px);
}

.btn-ring svg {
  width: 20px;
  height: 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(2, 2, 46, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(1, 1, 38, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 30px;
  width: auto;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-block: 6px;
  transition: color 0.2s var(--ease);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--white);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after {
  width: 100%;
}

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

.header-cta {
  display: none;
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1000px) {
  .nav-desktop {
    display: block;
  }
  .header-cta {
    display: inline-flex;
  }
  .hamburger {
    display: none;
  }
}

/* Mobile nav panel */
.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--gradient-navy);
  z-index: 99;
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  overflow-y: auto;
}

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

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-mobile a[aria-current="page"] {
  color: var(--orange);
}

@media (min-width: 1000px) {
  .nav-mobile {
    display: none;
  }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background-color: var(--navy-700);
  background-image: var(--gradient-hero);
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
}

.hero::before {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(255, 78, 0, 0.22) 0%, rgba(255, 78, 0, 0) 70%);
}

.hero::after {
  width: 520px;
  height: 520px;
  bottom: -240px;
  left: -160px;
  background: radial-gradient(circle, rgba(38, 38, 160, 0.55) 0%, rgba(38, 38, 160, 0) 70%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-block: 64px;
}

@media (min-width: 960px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 56px;
  }
}

@media (min-width: 1300px) {
  .hero-inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
  }
  .hero-carousel-frame {
    aspect-ratio: 5 / 4;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-eyebrow {
  color: var(--orange-light);
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.4rem, 1.5rem + 4.2vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.hero-title .weight-light {
  font-weight: 300;
  display: block;
  color: rgba(255, 255, 255, 0.85);
}

.hero-title .weight-bold {
  font-weight: 800;
  display: block;
}

.hero-title .weight-bold em {
  font-style: normal;
  color: var(--orange);
}

.hero-lede {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 52ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

/* ---------- Hero carousel (obras) ---------- */
.hero-photo {
  width: 100%;
}

.hero-carousel-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-soft);
  background: var(--navy-700);
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.hero-carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1, 1, 40, 0.45) 0%, rgba(1, 1, 40, 0) 45%);
  z-index: 2;
  pointer-events: none;
}

.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(1, 1, 40, 0.4);
  backdrop-filter: blur(6px);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.hero-carousel-arrow:hover {
  border-color: var(--orange);
  background: rgba(255, 78, 0, 0.3);
}

.hero-carousel-prev {
  left: 12px;
}

.hero-carousel-next {
  right: 12px;
}

.hero-carousel-arrow svg {
  width: 18px;
  height: 18px;
}

.hero-carousel-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero-carousel-caption {
  display: flex;
  flex-direction: column;
}

.hero-carousel-name {
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
}

.hero-carousel-loc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  margin-top: 2px;
}

.hero-carousel-dots {
  display: flex;
  gap: 8px;
}

.hero-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  padding: 0;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.hero-carousel-dots button.is-active {
  background: var(--orange);
  transform: scale(1.35);
}

/* ---------- Moldura (assinatura: marca de registro) ---------- */
.framed {
  --frame-gap: 14px;
  --frame-arm: 24px;
  --frame-thickness: 2px;
  position: relative;
  padding: var(--frame-gap);
  background: var(--navy);
  border-radius: var(--radius-sm);
}

.framed::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(var(--orange), var(--orange)), linear-gradient(var(--orange), var(--orange)),
    linear-gradient(var(--orange), var(--orange)), linear-gradient(var(--orange), var(--orange)),
    linear-gradient(var(--orange), var(--orange)), linear-gradient(var(--orange), var(--orange)),
    linear-gradient(var(--orange), var(--orange)), linear-gradient(var(--orange), var(--orange));
  background-size:
    var(--frame-thickness) var(--frame-arm), var(--frame-arm) var(--frame-thickness),
    var(--frame-thickness) var(--frame-arm), var(--frame-arm) var(--frame-thickness),
    var(--frame-thickness) var(--frame-arm), var(--frame-arm) var(--frame-thickness),
    var(--frame-thickness) var(--frame-arm), var(--frame-arm) var(--frame-thickness);
  background-position:
    0 0, 0 0,
    100% 0, 100% 0,
    0 100%, 0 100%,
    100% 100%, 100% 100%;
}

.founder-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}

/* ---------- Page intro band (internal pages) ---------- */
.page-intro {
  position: relative;
  background-color: var(--navy-700);
  background-image: var(--gradient-hero);
  padding-top: calc(var(--header-h) + 76px);
  padding-bottom: 76px;
  overflow: hidden;
  isolation: isolate;
}

.page-intro::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  top: -220px;
  right: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 0, 0.22) 0%, rgba(255, 78, 0, 0) 70%);
  filter: blur(70px);
  z-index: -1;
}

.page-intro::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  bottom: -220px;
  left: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 38, 160, 0.5) 0%, rgba(38, 38, 160, 0) 70%);
  filter: blur(60px);
  z-index: -1;
}

.page-intro-eyebrow {
  color: var(--orange-light);
}

.page-intro h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 18px;
  max-width: 18ch;
}

.page-intro p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 62ch;
  margin-top: 18px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--white);
}

/* ---------- Stats band ---------- */
.stats-band {
  position: relative;
  background: var(--gradient-navy);
  padding-block: 64px;
  overflow: hidden;
  isolation: isolate;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(38, 38, 160, 0.5) 0%, rgba(38, 38, 160, 0) 45%),
    radial-gradient(circle at 85% 80%, rgba(18, 18, 122, 0.45) 0%, rgba(18, 18, 122, 0) 45%);
  z-index: -1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 24px;
}

@media (min-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 20px;
}

.stat:first-child,
.stats-grid > .stat:nth-child(1) {
  border-left: none;
}

@media (max-width: 719px) {
  .stat:nth-child(odd) {
    border-left: none;
  }
}

.stat-number {
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: inline-flex;
}

.stat-number .suffix {
  color: var(--orange);
}

.stat-label {
  margin-top: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.02em;
}

/* ---------- Generic sections ---------- */
.section {
  padding-block: 88px;
}

.section--tight {
  padding-block: 64px;
}

.section--cream {
  background: var(--cream);
}

.section--beige {
  background: var(--beige);
}

/* ---------- Cards: Services ---------- */
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.service-card-index {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.08em;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
}

.service-card p {
  color: var(--gray-700);
  font-size: 0.98rem;
  line-height: 1.65;
}

.service-card ul {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-card li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--gray-700);
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--orange);
}

/* Full service page block layout */
.service-block {
  display: grid;
  gap: 40px;
  padding-block: 56px;
  border-top: 1px solid var(--gray-200);
}

.service-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

@media (min-width: 860px) {
  .service-block {
    grid-template-columns: 0.8fr 1fr;
    align-items: start;
  }
  .service-block-photo {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1120px) {
  .service-block {
    grid-template-columns: 0.65fr 0.85fr 1.15fr;
  }
  .service-block-photo {
    grid-column: auto;
  }
}

.service-block-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

.service-block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1, 1, 50, 0.55) 0%, rgba(1, 1, 50, 0) 40%);
  z-index: 1;
}

.service-block-media-tag {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  z-index: 2;
}

.service-block-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-block-index {
  font-size: 1rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.1em;
}

.service-block-head h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 800;
  color: var(--navy);
}

.service-block-body p {
  color: var(--gray-700);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-block-body ul {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .service-block-body ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-block-body li {
  position: relative;
  padding: 14px 16px 14px 20px;
  background: var(--cream);
  border-left: 2px solid var(--orange);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Cards: Obras / Portfolio ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gray-700);
  transition: all 0.25s var(--ease);
}

.filter-pill:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.obras-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .obras-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .obras-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.obra-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--navy);
  border: none;
  padding: 0;
  width: 100%;
  display: block;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.obra-card.is-hidden {
  display: none;
}

.obra-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.obra-card:hover img {
  transform: scale(1.06);
}

.obra-card-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-navy);
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.obra-card-caption {
  text-align: left;
  color: var(--white);
}

.obra-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 6px;
  display: block;
}

.obra-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.obra-card-loc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  display: block;
}

.obra-card-photos {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(1, 1, 40, 0.55);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Home: featured obras teaser reuses obra-card but shorter */
.obras-teaser-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .obras-teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.obras-teaser-grid .obra-card {
  aspect-ratio: 3 / 4;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(1, 1, 20, 0.94);
  padding: 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lightbox-figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9rem;
}

.lightbox-caption strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.lightbox-caption span {
  color: rgba(255, 255, 255, 0.55);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--orange);
  background: rgba(255, 78, 0, 0.15);
}

.lightbox-close {
  top: -60px;
  right: 0;
}

.lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.lightbox-prev {
  top: 50%;
  left: -8px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
}

@media (max-width: 720px) {
  .lightbox-prev {
    left: 0;
  }
  .lightbox-next {
    right: 0;
  }
  .lightbox-close {
    top: -52px;
  }
}

/* ---------- Full-bleed photo section ---------- */
.fullbleed {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.fullbleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.fullbleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 1, 50, 0.88) 0%, rgba(1, 1, 60, 0.55) 45%, rgba(1, 1, 60, 0.15) 75%);
  z-index: -1;
}

.fullbleed-content {
  max-width: 560px;
  padding-block: 72px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fullbleed-content h2 {
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
}

.fullbleed-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* ---------- Mission / Vision / Values ---------- */
.mv-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .mv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mv-card {
  background: var(--gradient-navy);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.mv-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 0, 0.28) 0%, rgba(255, 78, 0, 0) 70%);
  top: -100px;
  right: -80px;
  z-index: -1;
}

.mv-card h3 {
  color: var(--orange-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.mv-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.7;
}

.values-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-card-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange);
}

.value-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
}

.value-card p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.value-card--pending {
  background: var(--cream);
  border-style: dashed;
  border-color: var(--gray-300);
}

.value-card--pending .value-card-number {
  color: var(--gray-500);
}

.value-card--pending h3 {
  color: var(--gray-500);
}

/* ---------- Founder / história ---------- */
.founder-grid {
  display: grid;
  gap: 44px;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .founder-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.founder-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 18px 0 4px;
}

@media (min-width: 560px) {
  .founder-badges {
    grid-template-columns: repeat(3, 1fr);
  }
}

.founder-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.founder-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}

.founder-badge-icon svg {
  width: 20px;
  height: 20px;
}

.founder-badge-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.founder-badge-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

.founder-quote {
  background: var(--gradient-navy);
  border-radius: var(--radius-md);
  padding: 44px 38px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.founder-quote::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 0, 0.24) 0%, rgba(255, 78, 0, 0) 70%);
  bottom: -140px;
  left: -100px;
  z-index: -1;
}

.founder-quote p {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.5;
}

.founder-quote strong {
  font-weight: 800;
}

.founder-quote cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  color: var(--orange-light);
  font-weight: 700;
  font-size: 0.9rem;
}

.quality-policy {
  background: var(--gradient-navy);
  border-radius: var(--radius-md);
  padding: 44px 38px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.quality-policy::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 0, 0.22) 0%, rgba(255, 78, 0, 0) 70%);
  top: -160px;
  right: -120px;
  z-index: -1;
}

.quality-policy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 720px;
}

.quality-policy p + p {
  margin-top: 16px;
}

.quality-policy cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  color: var(--orange-light);
  font-weight: 700;
  font-size: 0.9rem;
}

.founder-body p {
  color: var(--gray-700);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.founder-timeline {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.founder-timeline-item {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}

.founder-timeline-item strong {
  color: var(--navy);
  font-weight: 800;
  min-width: 150px;
  font-size: 0.92rem;
}

.founder-timeline-item span {
  color: var(--gray-700);
  font-size: 0.92rem;
}

/* ---------- Partners strip ---------- */
.partners-strip {
  padding-block: 56px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.partners-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: center;
}

@media (min-width: 640px) {
  .partners-track {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 960px) {
  .partners-track {
    grid-template-columns: repeat(6, 1fr);
  }
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.3s var(--ease);
}

.partner-logo:hover {
  filter: grayscale(0) opacity(1);
}

.partner-logo img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--gradient-navy);
  padding-block: 72px;
  overflow: hidden;
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 0, 0.3) 0%, rgba(255, 78, 0, 0) 70%);
  top: -260px;
  right: -140px;
  z-index: -1;
  filter: blur(10px);
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: 800;
  max-width: 26ch;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 10px;
  max-width: 46ch;
}

.cta-band-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}

@media (min-width: 940px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
  margin-bottom: 28px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-item h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-info-item a:hover {
  color: var(--orange);
}

.maintenance-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: auto;
  padding: 20px 22px;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.maintenance-callout-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}

.maintenance-callout-icon svg {
  width: 20px;
  height: 20px;
}

.maintenance-callout h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.maintenance-callout p {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.5;
  margin-bottom: 12px;
}

.contact-map {
  margin-top: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  aspect-ratio: 21 / 6;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 40px 36px;
}

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}

@media (min-width: 560px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

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

.form-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}

.form-field input,
.form-field textarea {
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  background: var(--white);
  outline: none;
}

.form-note {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-700);
  color: rgba(255, 255, 255, 0.72);
  padding-block: 64px 28px;
}

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

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 1fr 0.8fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 26px;
}

.footer-about p {
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--orange-light);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(255, 78, 0, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 36px -8px rgba(255, 78, 0, 0.75);
}

.whatsapp-float svg {
  width: 27px;
  height: 27px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mt-0 {
  margin-top: 0;
}
