/* ===================================================
   INSTITUTO PRODIGIUM — DESIGN SYSTEM
   Cores: #002B36 (Azul Petróleo) | #C5A059 (Ouro)
   Tipografia: Montserrat + Inter
   =================================================== */

/* ─── RESET & BASE ─────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #002B36;
  --color-primary-80: rgba(0, 43, 54, 0.8);
  --color-primary-60: rgba(0, 43, 54, 0.6);
  --color-primary-lt: #003d4d;
  --color-secondary: #C5A059;
  --color-secondary-lt: #d4b478;
  --color-secondary-dk: #a8874a;
  --color-bg: #F8F9FA;
  --color-bg-alt: #EDEEF0;
  --color-text: #1a2332;
  --color-text-muted: #5a6476;
  --color-white: #ffffff;
  --color-border: rgba(0, 43, 54, 0.12);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(0, 43, 54, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 43, 54, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 43, 54, 0.18);
  --shadow-gold: 0 8px 32px rgba(197, 160, 89, 0.25);

  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --navbar-h: 80px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ─── CONTAINER ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY UTILITIES ───────────────────────── */
.text-gold {
  color: var(--color-secondary);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.section-tag--light {
  color: var(--color-secondary-lt);
  background: rgba(197, 160, 89, 0.08);
  border-color: rgba(197, 160, 89, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

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

.section-title--light {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  padding: 52px 0;
}

/* ─── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-100%);
  transition: transform var(--transition);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn--primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
  box-shadow: 0 4px 16px rgba(197, 160, 89, 0.3);
}

.btn--primary:hover {
  background: var(--color-secondary-lt);
  border-color: var(--color-secondary-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(197, 160, 89, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

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

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.navbar--scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.navbar--scrolled .navbar__link {
  color: var(--color-primary);
}

.navbar--scrolled .navbar__link:hover {
  color: var(--color-secondary);
}

.navbar--scrolled .navbar__cta {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.navbar--scrolled .navbar__cta:hover {
  background: var(--color-primary-lt);
}

.navbar--scrolled .hamburger-line {
  background: var(--color-primary);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: all var(--transition);
  border-radius: var(--radius-sm);
}

/* On dark hero, give logo a translucent backing so white bg doesn't clash */
.navbar:not(.navbar--scrolled) .navbar__logo-img {
  /*background: rgba(255,255,255,0.95);*/
  /*padding: 4px 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);*/
}

.navbar__menu {
  position: fixed;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  border-top: 1px solid var(--color-border);
  padding: 0 16px;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--transition), opacity var(--transition), padding var(--transition);
  z-index: 999;
}

.navbar__link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.navbar__link:hover {
  color: var(--color-secondary);
  background: rgba(197, 160, 89, 0.08);
}

.navbar__cta {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-secondary);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px rgba(197, 160, 89, 0.3);
}

.navbar__cta:hover {
  background: var(--color-secondary-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

/* CTA dentro do menu mobile: largura total */
.navbar__menu .navbar__cta {
  text-align: center;
  margin-top: 4px;
  padding: 12px 24px;
  width: 100%;
  display: block;
}


.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar--scrolled .navbar__hamburger span {
  background: var(--color-primary);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: auto;
  background: linear-gradient(135deg, var(--color-primary) 0%, #003d4d 50%, #001f29 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--navbar-h);
  padding-bottom: 24px;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 800px 600px at 80% 50%, rgba(197, 160, 89, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

/* Geometric decorative lines */
.hero__bg-pattern::before {
  content: '';
  position: absolute;
  right: -10%;
  top: 10%;
  width: 60%;
  height: 80%;
  border: 1px solid rgba(197, 160, 89, 0.08);
  border-radius: 50%;
  transform: rotate(30deg);
}

.hero__bg-pattern::after {
  content: '';
  position: absolute;
  right: 5%;
  top: 20%;
  width: 40%;
  height: 60%;
  border: 1px solid rgba(197, 160, 89, 0.05);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 36px 20px 48px;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  border: 1px solid rgba(197, 160, 89, 0.3);
  background: rgba(197, 160, 89, 0.07);
  backdrop-filter: blur(4px);
  border-radius: 100px;
  padding: 8px 20px;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease forwards;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--color-secondary);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 8vw, 2.4rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero__title-accent {
  color: var(--color-secondary);
  display: block;
}

.hero__subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s 0.6s ease both;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeInUp 0.8s 0.8s ease both;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-secondary);
  line-height: 1;
}

.hero__stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-secondary);
  display: inline;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  font-weight: 500;
}

.hero__stat-divider {
  display: none;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2.5s ease infinite;
  z-index: 2;
}

.hero__scroll-arrow {
  width: 18px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 9px;
  position: relative;
}

.hero__scroll-arrow::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollDot 1.5s ease infinite;
}

/* ─── PARTICLES ──────────────────────────────────── */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(197, 160, 89, 0.4);
  border-radius: 50%;
  animation: floatParticle linear infinite;
}

/* ─── QUEM SOMOS ─────────────────────────────────── */
.quem-somos {
  background: var(--color-bg);
}

.quem-somos__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.quem-somos__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.quem-somos__text strong {
  color: var(--color-primary);
  font-weight: 600;
}

.quem-somos__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 36px;
}

.quem-somos__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 500;
}

.quem-somos__feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(197, 160, 89, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.quem-somos__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quem-somos__logo-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quem-somos__logo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse, rgba(197, 160, 89, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 4s ease infinite;
}

.quem-somos__logo-img {
  width: 180px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 48px rgba(0, 43, 54, 0.18));
  transition: transform var(--transition-slow);
}

.quem-somos__logo-img:hover {
  transform: scale(1.04) translateY(-6px);
}

/* Floating Cards */
.quem-somos__card {
  position: absolute;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  z-index: 2;
  animation: cardFloat 4s ease infinite;
}

.quem-somos__card--1 {
  bottom: 20px;
  left: -10px;
  animation-delay: 0s;
}

.quem-somos__card--2 {
  top: 30px;
  right: -10px;
  animation-delay: -2s;
}

.quem-somos__card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

.quem-somos__card span {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* ─── VALORES ─────────────────────────────────────── */
.valores {
  background: linear-gradient(135deg, var(--color-primary) 0%, #003d4d 100%);
  position: relative;
  overflow: hidden;
}

.valores .section-tag {
  color: var(--color-secondary-lt);
}

.valores .section-title {
  color: var(--color-white);
}

.valores .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.valores__bg-accent {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

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

.valor-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.valor-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary-dk), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.valor-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(197, 160, 89, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.valor-card:hover::before {
  transform: scaleX(1);
}

.valor-card__icon-wrap {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.15), rgba(197, 160, 89, 0.05));
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.valor-card:hover .valor-card__icon-wrap {
  background: rgba(197, 160, 89, 0.2);
  border-color: rgba(197, 160, 89, 0.5);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.15);
}

.valor-card__icon {
  width: 26px;
  height: 26px;
  stroke: var(--color-secondary);
}

.valor-card__number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(197, 160, 89, 0.4);
  margin-bottom: 8px;
}

.valor-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 14px;
}

.valor-card__text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

.valor-card__line {
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 40%;
  background: linear-gradient(180deg, rgba(197, 160, 89, 0.3), transparent);
  border-radius: 2px;
}

/* ─── PROJETOS ────────────────────────────────────── */
.projetos {
  background: var(--color-bg);
}

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

.projeto-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.projeto-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.projeto-card:hover {
  border-color: rgba(197, 160, 89, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.projeto-card:hover::after {
  transform: scaleX(1);
}

.projeto-card--featured {
  background: linear-gradient(145deg, var(--color-primary) 0%, #003d4d 100%);
  border-color: transparent;
}

.projeto-card--featured .projeto-card__tag {
  background: rgba(197, 160, 89, 0.2);
  color: var(--color-secondary);
}

.projeto-card--featured .projeto-card__title,
.projeto-card--featured .projeto-card__result-num {
  color: var(--color-white);
}

.projeto-card--featured .projeto-card__text,
.projeto-card--featured .projeto-card__result-label {
  color: rgba(255, 255, 255, 0.65);
}

.projeto-card--featured .projeto-card__link {
  color: var(--color-secondary);
}

.projeto-card--featured::after {
  background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-lt));
}

.projeto-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.projeto-card__icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(0, 43, 54, 0.06);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.projeto-card--featured .projeto-card__icon-wrap {
  background: rgba(197, 160, 89, 0.15);
}

.projeto-card__icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
}

.projeto-card--featured .projeto-card__icon-wrap svg {
  stroke: var(--color-secondary);
}

.projeto-card__tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary-dk);
  background: rgba(197, 160, 89, 0.1);
  border-radius: 100px;
  padding: 4px 12px;
}

.projeto-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.projeto-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
}

.projeto-card__results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.projeto-card--featured .projeto-card__results {
  border-color: rgba(255, 255, 255, 0.1);
}

.projeto-card__result-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-secondary);
}

.projeto-card__result-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.projeto-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap var(--transition);
  margin-top: auto;
}

.projeto-card__link:hover {
  gap: 12px;
}

.projeto-card__link svg {
  transition: transform var(--transition);
}

.projeto-card__link:hover svg {
  transform: translateX(4px);
}

/* ─── DEPOIMENTOS ─────────────────────────────────── */
.depoimentos {
  background: var(--color-primary);
  padding: 52px 0;
}

.depoimentos .section-title {
  color: var(--color-white);
}

.depoimentos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.depoimento-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.depoimento-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 160, 89, 0.25);
  transform: translateY(-4px);
}

.depoimento-card__stars {
  color: var(--color-secondary);
  font-size: 1rem;
  letter-spacing: 3px;
}

.depoimento-card__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.depoimento-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.depoimento-card__avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-secondary-dk), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary);
  flex-shrink: 0;
}

.depoimento-card__author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
}

.depoimento-card__author span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* ─── CONTATO ─────────────────────────────────────── */
.contato {
  background: var(--color-bg-alt);
}

.contato__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.contato__subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contato__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contato__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.contato__item:hover {
  border-color: rgba(197, 160, 89, 0.3);
  box-shadow: var(--shadow-sm);
}

.contato__item-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 43, 54, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.contato__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.contato__item span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ─── FORM ────────────────────────────────────────── */
.contato__form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 24px 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.contato__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6476' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.12);
  background: var(--color-white);
}

.form-group input.error,
.form-group select.error {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.1);
}

.form-error {
  font-size: 0.78rem;
  color: #e05252;
  font-weight: 500;
  display: block;
  min-height: 1em;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #166534;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success.show {
  display: flex;
  animation: fadeInUp 0.4s ease;
}

.form-success svg {
  stroke: #16a34a;
  flex-shrink: 0;
}

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: #001820;
  padding: 72px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.92) saturate(0.8);
  /*background: rgba(255, 255, 255, 0.08);*/
  /*padding: 8px 14px;*/
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: 28px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: rgba(197, 160, 89, 0.3);
  color: var(--color-secondary);
}

.footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

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

.footer__bottom {
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ─── BACK TO TOP ─────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 900;
  pointer-events: none;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--color-secondary-lt);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(197, 160, 89, 0.4);
}

/* ─── SCROLL REVEAL ───────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ─── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes pulse {

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

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes scrollDot {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
  }
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes cardFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}


/* menu aberto (JS toggle) */
.navbar__menu.open {
  max-height: 600px;
  opacity: 1;
  padding: 12px 16px;
  gap: 4px;
}



/* ─── TABLET (≥ 640px) ────────────────────────────── */
@media (min-width: 640px) {
  .section {
    padding: 64px 0;
  }

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

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.4rem);
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .hero {
    min-height: clamp(520px, 85vh, 760px);
    padding-bottom: 0;
  }

  .hero__content {
    padding: 48px 24px 60px;
  }

  .hero__title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 36px;
  }

  .hero__actions {
    flex-direction: row;
    margin-bottom: 36px;
  }

  .hero__actions .btn {
    width: auto;
  }

  .hero__stat-number {
    font-size: 2rem;
  }

  .hero__stat-divider {
    display: block;
  }

  .hero__scroll-indicator {
    display: flex;
  }

  .hero__badge {
    font-size: 0.7rem;
    padding: 7px 16px;
  }

  .btn {
    width: auto;
    justify-content: initial;
  }


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

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

  .footer__links {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .footer__bottom-inner {
    flex-direction: row;
    gap: 0;
    text-align: left;
  }

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

  .contato__form-wrap {
    padding: 36px;
  }

  .depoimentos {
    padding: 64px 0;
  }

  .quem-somos__card--1,
  .quem-somos__card--2 {
    display: flex;
  }

  .quem-somos__logo-wrap {
    width: 260px;
    height: 260px;
  }

  .quem-somos__logo-img {
    width: 220px;
  }
}

/* ─── TABLET LARGO / DESKTOP PEQUENO (≥ 900px) ───── */
@media (min-width: 900px) {
  .navbar__hamburger {
    display: none;
  }

  .navbar__menu {
    position: static;
    flex-direction: row;
    background: transparent;
    box-shadow: none;
    border-top: none;
    padding: 0;
    transform: none;
    max-height: none;
    overflow: visible;
    opacity: 1;
    align-items: center;
    gap: 8px;
  }

  .navbar__link {
    padding: 8px 16px;
  }

  .navbar__cta {
    margin-top: 0;
    text-align: left;
    padding: 10px 24px;
  }

  .navbar__menu .navbar__cta {
    width: auto;
    display: inline-flex;
    margin-top: 0;
    text-align: left;
    padding: 10px 24px;
  }


  .section {
    padding: 80px 0;
  }

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

  .section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  .hero {
    min-height: clamp(560px, 90vh, 860px);
  }

  .hero__content {
    padding: 60px 24px 72px;
  }

  .hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
  }

  .hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 40px;
  }

  .hero__actions {
    flex-direction: row;
    gap: 16px;
    margin-bottom: 48px;
  }

  .hero__actions .btn {
    width: auto;
    justify-content: initial;
  }

  .hero__stat-divider {
    display: block;
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
  }

  .hero__stat-number {
    font-size: 2.2rem;
  }

  .btn {
    width: auto;
    justify-content: initial;
  }

  .quem-somos__inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .quem-somos__visual {
    order: 0;
  }

  .quem-somos__logo-wrap {
    width: 300px;
    height: 300px;
  }

  .quem-somos__logo-img {
    width: 250px;
  }

  .quem-somos__card--1 {
    left: -10px;
    bottom: 20px;
  }

  .quem-somos__card--2 {
    right: -10px;
    top: 30px;
  }

  .projetos__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .depoimentos__grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    gap: 24px;
  }

  .depoimentos {
    padding: 80px 0;
  }

  .contato__inner {
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
  }

  .contato__form-wrap {
    padding: 48px;
  }

  .footer__inner {
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
  }
}

/* ─── DESKTOP (≥ 1100px) ──────────────────────────── */
@media (min-width: 1100px) {
  .section {
    padding: 96px 0;
  }

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

  .valores__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .quem-somos__logo-wrap {
    width: 340px;
    height: 340px;
  }

  .quem-somos__logo-img {
    width: 280px;
  }
}