/* ============================================================
   SOLAHIC — DESIGN SYSTEM v2
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  /* Paleta institucional da proposta */
  --brand-blue: #1A73E8;
  --brand-blue-700: #1557B0;
  --brand-gray: #F2F2F2;
  --brand-white: #FFFFFF;

  /* Brand colors */
  --green-500: #038C3E;
  --green-400: #0CF25D;
  --green-300: #02735E;
  --blue-900: #034159;
  --orange-400: #025951;

  /* Semantic */
  --primary: var(--green-500);
  --primary-hover: #02735E;
  --accent: var(--green-400);
  --brand-dark: var(--blue-900);

  /* Neutrals */
  --gray-900: #0f172a;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-100: #f1f5f9;
  --white: #ffffff;

  /* Surfaces */
  --bg: var(--brand-gray);
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-glass: rgba(255, 255, 255, 0.82);

  /* Feedback */
  --feedback-error: #b42318;
  --feedback-info-bg: #e7ecf3;
  --feedback-success-bg: #e8f8ef;
  --feedback-success-fg: #0f6b48;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.07), 0 1px 2px rgba(11, 31, 58, 0.05);
  --shadow-md: 0 4px 16px rgba(11, 31, 58, 0.09), 0 2px 6px rgba(11, 31, 58, 0.06);
  --shadow-lg: 0 10px 32px rgba(11, 31, 58, 0.12), 0 4px 12px rgba(11, 31, 58, 0.07);
  --shadow-xl: 0 20px 48px rgba(11, 31, 58, 0.15), 0 8px 20px rgba(11, 31, 58, 0.09);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur-normal: 220ms;
  --dur-slow: 380ms;

  /* Tipografia */
  --font-title: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --line-height-tight: 1.2;
  --line-height-normal: 1.55;
  --line-height-relaxed: 1.65;

  /* Espaçamento base */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --component-padding: 15px;

  /* ── Aliases legado (compatibilidade) ──────────────────────── */
  --primary-green: var(--green-500);
  --secondary-green: var(--green-400);
  --primary-blue: var(--blue-900);
  --ink-soft: var(--gray-700);
  --gray-dark: var(--gray-900);
  --shadow-soft: var(--shadow-md);
  --shadow-strong: var(--shadow-lg);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background:
    linear-gradient(rgba(237, 243, 247, 0.9), rgba(237, 243, 247, 0.9)),
    url("../img/backgraund.png") no-repeat center/cover fixed;
  background-color: var(--bg);
  line-height: var(--line-height-normal);
  font-size: clamp(0.875rem, 1vw, 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

.section,
.stats-bar,
.clients-section,
.testimonials-section,
.section-team,
.section-work {
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

.page-enter {
  animation: page-fade-in 420ms var(--ease-out);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--primary-blue);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
  text-decoration: none;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 31, 58, 0.9);
  backdrop-filter: blur(8px);
  transition: background-color var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(8, 21, 40, 0.94);
  box-shadow: 0 8px 20px rgba(6, 17, 34, 0.28);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: var(--space-md);
  padding: 0 var(--space-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.65625rem;
  transition: opacity var(--dur-fast) ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.brand-logo {
  width: clamp(66px, 8vw, 93px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(6, 17, 34, 0.2);
  flex-shrink: 0;
}

.brand-text {
  line-height: 1;
}

.brand:hover {
  opacity: 0.9;
}

.brand:focus-visible {
  outline-color: var(--brand-blue);
}

.site-nav {
  display: flex;
}

.menu {
  list-style: none;
  display: flex;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-block;
  color: var(--brand-white);
  text-decoration: none;
  font-weight: 600;
  padding: var(--space-sm) 0.75rem;
  border-radius: 999px;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) ease;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.nav-link:focus-visible {
  outline-color: var(--brand-blue);
  background: var(--secondary-green);
  color: var(--green-300);
}

.nav-link-cta:hover,
.nav-link-cta.is-active {
  background: var(--green-400);
  color: var(--green-300);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  padding: 5.2rem 0 4.4rem;
  min-height: clamp(440px, 62vh, 700px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(120deg, rgba(10, 26, 52, 0.5), rgba(15, 42, 80, 0.22)),
    url("../img/backgraund.png");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.3) 50%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(123, 229, 179, 0.08), transparent 40%);
  animation: hero-shimmer 7s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--component-padding);
  backdrop-filter: blur(2px);
  animation: hero-enter 0.8s var(--ease-out) forwards;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-full);
  font-size: 1.21875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue-900);
  background: linear-gradient(130deg, rgba(62, 207, 142, 0.24), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(11, 31, 58, 0.12);
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--primary-green);
  font-size: 1.25rem;
  animation: fade-in-text 0.6s var(--ease-out) 0.1s backwards;
}

.hero-inner h1 {
  color: var(--brand-white);
  font-weight: bold;
  animation: fade-in-text 0.6s var(--ease-out) 0.2s backwards;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-inner p.subtitle {
  color: var(--brand-white);
  font-size: 1.1rem;
  animation: fade-in-text 0.6s var(--ease-out) 0.3s backwards;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

.hero-pill-row {
  animation: fade-in-text 0.6s var(--ease-out) 0.4s backwards;
}

.cta-row {
  animation: fade-in-text 0.6s var(--ease-out) 0.5s backwards;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  color: var(--primary-blue);
  margin-top: 0;
  letter-spacing: -0.01em;
  line-height: var(--line-height-tight);
}

h1 {
  font-size: clamp(2.5234rem, 5.3125vw, 3.9844rem);
  line-height: 1.16;
  margin-bottom: 0.8rem;
}

h2 {
  font-size: clamp(1.9922rem, 3.9844vw, 2.7891rem);
}

.subtitle {
  color: var(--ink-soft);
  max-width: 70ch;
  margin-bottom: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.btn:focus-visible {
  outline-color: var(--brand-blue);
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--brand-white);
  box-shadow: 0 8px 18px rgba(26, 115, 232, 0.28);
}

.btn-primary:hover {
  background: var(--brand-blue-700);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(26, 115, 232, 0.1);
  color: var(--brand-blue-700);
  transform: translateY(-1px);
}

.stats-bar {
  margin-top: 1.25rem;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 2;
  padding: 2.5rem 0;
}

.indicadores-bloco__container {
  position: relative;
}

.indicadores-bloco {
  position: relative;
}

.indicadores-bloco__cabecalho {
  margin-bottom: 1rem;
}

.indicadores-bloco__titulo-principal {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  color: var(--primary-blue);
}

.indicadores-bloco__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.indicadores-bloco__item {
  display: grid;
  gap: 0.35rem;
  position: relative;
  padding-top: 40px;
}

.indicadores-bloco__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(31, 122, 99, 0.7) 0%, rgba(31, 122, 99, 0.4) 60%, rgba(31, 122, 99, 0.2) 100%);
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
}

.indicadores-bloco__titulo,
.indicadores-bloco__texto {
  position: relative;
  z-index: 2;
  color: white;
}

.section-readable {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.96));
  border-top: 1px solid rgba(11, 31, 58, 0.08);
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
  backdrop-filter: blur(2px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid rgba(26, 115, 232, 0.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: calc(var(--component-padding) + 15px);
}

.stat-card strong {
  display: block;
  font-size: 2.109375rem;
  color: var(--primary-blue);
}

.stat-card span {
  color: var(--gray-700);
  font-size: 1.46875rem;
}

.indicadores-bloco__item .indicadores-bloco__titulo {
  color: white !important;
  font-size: 2.109375rem;
}

.indicadores-bloco__item .indicadores-bloco__texto {
  color: white !important;
  font-size: 1.46875rem;
}

.page-hero {
  padding: 2.8rem 0 1.1rem;
}

.section {
  padding: 2.5rem 0;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-tech {
  background:
    linear-gradient(180deg, rgba(62, 207, 142, 0.08) 0%, rgba(62, 207, 142, 0.02) 100%),
    var(--surface);
  border-top: 1px solid rgba(31, 122, 99, 0.14);
  border-bottom: 1px solid rgba(31, 122, 99, 0.14);
  position: relative;
  overflow: hidden;
}

/* ── Recursos / Benefícios grid ── */
.section-recursos {
  background: var(--surface);
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.recurso-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md, 12px);
  background: var(--brand-white);
  border: 1px solid rgba(26, 115, 232, 0.1);
  transition: box-shadow 0.2s, transform 0.2s;
}

.recurso-card:hover {
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.12);
  transform: translateY(-2px);
}

.recurso-card__icone {
  font-size: 2rem;
  line-height: 1;
}

.recurso-card__titulo {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin: 0;
}

.recurso-card__descricao {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary, #555);
  margin: 0;
}

.grid {
  display: grid;
  gap: 1rem;
}

.features,
.products,
.infra {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.features .feature-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: rgba(255, 255, 255, 0.22);
}

.features .feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.15) 0%, rgba(11, 31, 58, 0.78) 100%);
  z-index: 0;
}

.features .feature-card > * {
  position: relative;
  z-index: 1;
}

.features .feature-card h3 {
  margin: 0 0 0.35rem;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.features .feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.features .feature-card.feature-card--ha {
  background-image: url("../img/ha.png");
  background-position: 18% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.features .feature-card.feature-card--syd {
  background-image: url("../img/syd.png");
  background-position: 18% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.features .feature-card.feature-card--low-carbon {
  background-image: url("../img/Low carbon.png");
  background-position: 18% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.features .feature-card.feature-card--opsec {
  background-image: url("../img/opsec.png");
  background-position: 18% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.indicadores-bloco__item--sla {
  background-image: url("../img/sla.png");
  background-position: 18% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.indicadores-bloco__item--soc {
  background-image: url("../img/soc.png");
  background-position: 18% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.indicadores-bloco__item--b2b {
  background-image: url("../img/b2b.png");
  background-position: 18% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.portfolio-card {
  display: grid;
  gap: 0.8rem;
}

.portfolio-card h4 {
  margin: 0;
  font-size: 1.5625rem;
}

.portfolio-list {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
}

.portfolio-list li {
  margin: 0.25rem 0;
}

.chip-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip-list li {
  background: var(--brand-gray);
  color: var(--brand-blue-700);
  border: 1px solid rgba(26, 115, 232, 0.22);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 1.28125rem;
  font-weight: 600;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(242, 242, 242, 0.78));
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 115, 232, 0.2);
  padding: var(--component-padding);
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(26, 115, 232, 0.45);
}

.card:focus-within {
  outline: 2px solid rgba(31, 122, 99, 0.3);
  outline-offset: 2px;
}

.clients-section {
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.02) 0%, rgba(31, 122, 99, 0.06) 100%),
    var(--surface-2);
}

.clientes-bloco {
  position: relative;
}

.clientes-bloco__container {
  position: relative;
  padding: 15px;
}

.clientes-bloco__cabecalho {
  margin-bottom: 1.4rem;
}

.clientes-bloco__titulo-superior,
.clientes-bloco__titulo,
.clientes-bloco__descricao {
  position: relative;
  z-index: 1;
}

.testimonials-section {
  background:
    radial-gradient(circle at 8% 10%, rgba(31, 122, 99, 0.22) 0%, rgba(31, 122, 99, 0) 42%),
    radial-gradient(circle at 90% 84%, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0) 42%),
    var(--surface);
  position: relative;
  overflow: hidden;
}

.section-work {
  background:
    radial-gradient(circle at 95% 5%, rgba(31, 122, 99, 0.15) 0%, rgba(31, 122, 99, 0) 35%),
    linear-gradient(120deg, rgba(11, 31, 58, 0.04), rgba(31, 122, 99, 0.05)),
    var(--surface);
  position: relative;
  overflow: hidden;
}

.work-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.work-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(31, 122, 99, 0.12);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.12);
  transition: all var(--dur-normal) ease;
  position: relative;
}

.work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 122, 99, 0.06) 0%, rgba(62, 207, 142, 0.08) 100%);
  opacity: 0;
  transition: opacity var(--dur-normal) ease;
  pointer-events: none;
  z-index: 1;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(31, 122, 99, 0.2);
  border-color: rgba(31, 122, 99, 0.25);
}

.work-card:hover::before {
  opacity: 1;
}

.work-card img {
  width: 100%;
  height: 162px;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.03);
  transition: transform var(--dur-normal) var(--ease-out), filter var(--dur-normal) var(--ease-out);
}

.work-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.2) contrast(1.05);
}

.work-body {
  padding: var(--component-padding);
}

.work-tag {
  margin: 0 0 0.4rem;
  font-size: 1.15625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-300);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.clientes-bloco__grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.client-card {
  border-left: 4px solid rgba(31, 122, 99, 0.5);
  display: grid;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(62, 207, 142, 0.04));
  border-radius: var(--radius-md);
  padding: var(--component-padding);
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.08);
  transition: all var(--dur-normal) ease;
}

.clientes-bloco__item {
  display: grid;
  gap: 0.5rem;
}

.client-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -24px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(31, 122, 99, 0.1);
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(31, 122, 99, 0.14);
  border-left-color: rgba(245, 158, 11, 0.8);
}

.client-logo {
  height: 36px;
  object-fit: contain;
  margin: 0 auto 0.5rem;
  filter: brightness(0.95) contrast(1.08);
  transition: filter var(--dur-normal) ease, transform var(--dur-normal) ease;
}

.client-card:hover .client-logo {
  filter: brightness(1) contrast(1.12);
  transform: scale(1.05);
}

.client-visual {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: linear-gradient(140deg, rgba(31, 122, 99, 0.16), rgba(245, 158, 11, 0.25));
  border: 1px solid rgba(31, 122, 99, 0.2);
}

.clientes-bloco__icone {
  height: 32px;
  width: 32px;
}

.client-card:nth-child(2n) .client-visual {
  background: linear-gradient(140deg, rgba(62, 207, 142, 0.22), rgba(56, 189, 248, 0.2));
}

.client-card:nth-child(3n) .client-visual {
  background: linear-gradient(140deg, rgba(245, 158, 11, 0.24), rgba(244, 114, 182, 0.2));
}

.testimonial-card {
  border-top: 4px solid rgba(31, 122, 99, 0.45);
  display: grid;
  gap: 0.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 255, 0.98));
}

.testimonial-slide {
  min-width: calc(50% - 0.4rem);
}

.testimonial-rating {
  margin: 0;
  color: var(--brand-blue-700);
  letter-spacing: 0.18em;
  font-size: 1.28125rem;
  font-weight: 800;
}

.testimonial-text {
  margin: 0;
  color: var(--gray-700);
  font-size: 1.484375rem;
  line-height: 1.6;
}

.testimonial-author {
  margin: 0;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--primary-green);
}

.client-segment {
  margin: 0;
  font-size: 1.15625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-green);
}

.clientes-bloco__segmento,
.clientes-bloco__cliente,
.clientes-bloco__resumo,
.clientes-bloco__link {
  position: relative;
  z-index: 1;
}

.client-link {
  font-weight: 700;
  color: var(--primary-green);
  text-decoration: none;
}

.client-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.tech-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  gap: 0.8rem;
  transition: transform var(--dur-slow) var(--ease-out);
  will-change: transform;
}

.tech-card {
  min-width: calc(33.333% - 0.55rem);
  background: var(--surface);
  border: 1px solid rgba(31, 122, 99, 0.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--component-padding);
}

.tech-card h3 {
  margin-bottom: 0.45rem;
  color: var(--primary-green);
}

.tech-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 1.40625rem;
}

.testimonial-carousel .carousel-track {
  gap: 0.8rem;
}

.testimonial-carousel .carousel-btn {
  border-color: rgba(217, 119, 6, 0.35);
  color: var(--brand-blue-700);
}

.testimonial-carousel .carousel-btn:hover {
  background: rgba(245, 158, 11, 0.2);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(14, 111, 83, 0.28);
  cursor: pointer;
  transition: transform var(--dur-fast) ease, background-color var(--dur-fast) ease;
}

.carousel-dot:hover {
  transform: scale(1.16);
}

.carousel-dot.is-active {
  background: linear-gradient(130deg, var(--green-300), var(--brand-blue));
  transform: scale(1.2);
}

.section-accent,
.section-accent-alt {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  animation: accent-fade-in 1.2s var(--ease-out) forwards;
  animation-delay: 0.2s;
}

.section-accent {
  background: radial-gradient(circle at 12% 50%, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0) 45%);
}

.section-accent-alt {
  background: radial-gradient(circle at 85% 20%, rgba(62, 207, 142, 0.2) 0%, rgba(62, 207, 142, 0) 50%);
}

.carousel-btn {
  height: 42px;
  width: 42px;
  border: 1px solid rgba(31, 122, 99, 0.25);
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary-green);
  font-size: 1.875rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) ease, background-color var(--dur-fast) ease;
}

.carousel-btn:hover {
  transform: translateY(-2px);
  background: rgba(62, 207, 142, 0.15);
}

.carousel-btn:focus-visible {
  outline: 3px solid rgba(31, 122, 99, 0.25);
  outline-offset: 2px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.muted {
  color: var(--gray-500);
}

.narrow {
  max-width: 760px;
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--component-padding);
  border: 1px solid rgba(11, 31, 58, 0.09);
  box-shadow: var(--shadow-soft);
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  font: inherit;
  background: var(--surface-2);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(31, 122, 99, 0.25);
  border-color: var(--primary-green);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.errorlist {
  margin: 0.3rem 0 0;
  padding-left: 1rem;
  color: var(--feedback-error);
  font-size: 1.375rem;
}

.message-wrap {
  padding-top: 0.9rem;
}

.message {
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--feedback-info-bg);
}

.message.success {
  background: var(--feedback-success-bg);
  color: var(--feedback-success-fg);
}

.contato-hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 1.4rem;
}

.contato-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(26, 115, 232, 0.18) 0%, rgba(26, 115, 232, 0) 46%),
    radial-gradient(circle at 88% 10%, rgba(12, 242, 93, 0.2) 0%, rgba(12, 242, 93, 0) 42%);
  pointer-events: none;
}

.contato-hero__shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.contato-hero__content {
  background: linear-gradient(145deg, rgba(3, 65, 89, 0.9), rgba(2, 115, 94, 0.9));
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: calc(var(--component-padding) + 18px);
}

.contato-hero__content h1 {
  margin: 0.3rem 0 0.8rem;
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.1;
}

.contato-hero__content .subtitle {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
}

.contato-hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contato-hero__highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.72rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  font-weight: 600;
}

.contato-hero__card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(3, 65, 89, 0.15);
  border-radius: var(--radius-lg);
  padding: calc(var(--component-padding) + 8px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}

.contato-hero__card h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: 1.25rem;
}

.contato-hero__card p {
  margin: 0;
  color: var(--gray-700);
}

.contato-hero__card a {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
}

.contato-hero__card a:hover {
  text-decoration: underline;
}

.contato-hero__card small {
  color: var(--gray-500);
  line-height: 1.45;
}

.section-contato {
  padding-top: 1.2rem;
}

.contato-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.contact-form {
  border-radius: var(--radius-lg);
  padding: calc(var(--component-padding) + 12px);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(3, 65, 89, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.contato-btn {
  width: 100%;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contato-sidecard {
  background: linear-gradient(160deg, #05203a 0%, #034159 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: calc(var(--component-padding) + 12px);
  box-shadow: var(--shadow-lg);
}

.contato-sidecard h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-title);
  font-size: 1.25rem;
}

.contato-sidecard ol {
  margin: 0;
  padding-left: 1.25rem;
}

.contato-sidecard li {
  margin-bottom: 0.55rem;
  line-height: 1.55;
}

.contato-sidecard p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  margin-top: 2rem;
  background: var(--blue-900);
  color: var(--gray-300);
  padding: 3rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand p {
  margin: 0.6rem 0 0;
  font-size: 1.4375rem;
  line-height: 1.65;
  max-width: 30ch;
}

.footer-brand .brand-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-white);
  letter-spacing: 0.04em;
}

.footer-col h5 {
  margin: 0 0 0.9rem;
  font-size: 1.171875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-300);
}

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

.footer-col li {
  margin: 0.42rem 0;
}

.site-footer a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 1.40625rem;
  transition: color 140ms ease;
}

.site-footer a:hover {
  color: var(--green-300);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(31, 122, 99, 0.38);
  outline-offset: 2px;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-shimmer {
  from {
    transform: translateX(-2%);
    opacity: 0.55;
  }
  to {
    transform: translateX(2%);
    opacity: 0.9;
  }
}

@keyframes accent-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-in-text {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

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

.footer-bottom {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  text-align: center;
  font-size: 1.28125rem;
  color: var(--gray-700);
}

.footer-fade-line {
  width: min(920px, 100%);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(12, 242, 93, 0) 0%,
    rgba(12, 242, 93, 0.32) 18%,
    rgba(12, 242, 93, 0.65) 50%,
    rgba(12, 242, 93, 0.32) 82%,
    rgba(12, 242, 93, 0) 100%
  );
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.1rem;
}

.footer-social a {
  font-size: 1rem;
  line-height: 1;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(12, 242, 93, 0.2);
  border-radius: 50%;
  color: var(--gray-300);
  background: rgba(3, 65, 89, 0.22);
  text-decoration: none;
}

.social-icon-link i {
  font-size: 1.05rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-social a:hover {
  color: var(--brand-white);
  border-color: rgba(12, 242, 93, 0.5);
  background: rgba(12, 242, 93, 0.18);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--gray-300);
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.footer-legal a {
  color: rgba(203, 213, 225, 0.92);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links {
  font-size: 8px;
}

.footer-legal a:hover {
  color: var(--brand-white);
}

.footer-legal span:last-child {
  color: rgba(203, 213, 225, 0.9);
  font-weight: 600;
}

@media (max-width: 1024px) {
  body {
    background-attachment: scroll;
  }

  .hero::after {
    animation: none;
  }

  .hero-canvas {
    opacity: 0.75;
  }

  .container {
    width: min(1120px, 94%);
  }

  h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  }

  .subtitle {
    max-width: 62ch;
  }

  .hero {
    min-height: clamp(380px, 56vh, 560px);
    padding: 4.2rem 0 3rem;
  }

  .hero-inner {
    border-radius: var(--radius-md);
  }

  .cta-row {
    gap: 0.65rem;
  }

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

  .indicadores-bloco__item {
    padding-top: 30px;
  }

  .indicadores-bloco__item .indicadores-bloco__titulo {
    font-size: 1.4rem;
  }

  .indicadores-bloco__item .indicadores-bloco__texto {
    font-size: 1rem;
  }

  .work-card img {
    height: 170px;
  }

  .client-logo {
    height: 32px;
  }

  .tech-card {
    min-width: calc(50% - 0.4rem);
  }

  .testimonial-slide {
    min-width: 100%;
  }

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

  .contato-hero__shell,
  .contato-layout {
    grid-template-columns: 1fr;
  }

  .contato-hero__content,
  .contato-hero__card,
  .contact-form,
  .contato-sidecard {
    padding: var(--component-padding);
  }
}

@media (max-width: 820px) {
  .section {
    padding: 1.7rem 0;
  }

  .section-head,
  .clientes-bloco__cabecalho,
  .indicadores-bloco__cabecalho {
    margin-bottom: 0.9rem;
  }

  .stats-bar {
    margin-top: 0.7rem;
    margin-bottom: 0.6rem;
    padding: 1.5rem 0;
  }

  .grid,
  .work-grid,
  .clients-grid,
  .clientes-bloco__grade,
  .recursos-grid,
  .team-grid,
  .stats-grid,
  .indicadores-bloco__grid {
    gap: 0.75rem;
  }

  .card,
  .stat-card,
  .work-body,
  .team-member-body,
  .client-card,
  .recurso-card {
    padding: 0.9rem;
  }

  .clientes-bloco__container {
    padding: 0.6rem;
  }

  .nav-shell {
    min-height: 68px;
    padding: 0 0.6rem;
  }

  .nav-toggle {
    display: block;
    min-height: 44px;
    min-width: 44px;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    padding: 0.6rem 4%;
    background: rgba(11, 31, 58, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu {
    width: 100%;
    flex-direction: column;
    gap: 0.45rem;
  }

  .nav-link,
  .nav-link-cta {
    width: 100%;
    text-align: center;
    min-height: 44px;
    padding: 0.65rem 0.9rem;
  }

  .hero {
    padding: 3.4rem 0 2.4rem;
  }

  .hero-inner {
    padding: 0.95rem;
  }

  .hero-pill {
    font-size: 0.9rem;
  }

  .features,
  .products,
  .infra,
  .work-grid,
  .clients-grid,
  .clientes-bloco__grade,
  .recursos-grid {
    grid-template-columns: 1fr;
  }

  .chip-list li {
    font-size: 0.95rem;
    padding: 0.28rem 0.58rem;
  }

  .contato-btn {
    min-height: 48px;
  }
}

@media (max-width: 700px) {
  .hero-canvas {
    display: none;
  }

  .container {
    width: min(1120px, 96%);
  }

  .section {
    padding: 1.25rem 0;
  }

  .section-head,
  .clientes-bloco__cabecalho,
  .indicadores-bloco__cabecalho {
    margin-bottom: 0.65rem;
  }

  .stats-bar {
    margin-top: 0.45rem;
    margin-bottom: 0.4rem;
    padding: 1rem 0;
  }

  .grid,
  .work-grid,
  .clients-grid,
  .clientes-bloco__grade,
  .recursos-grid,
  .team-grid,
  .stats-grid,
  .indicadores-bloco__grid {
    gap: 0.55rem;
  }

  .brand-logo {
    width: 66px;
  }

  .hero {
    padding: 3rem 0 1.8rem;
    min-height: 420px;
    background-position: 62% center;
  }

  .hero-inner {
    max-width: 100%;
  }

  .hero-pill-row {
    gap: 0.35rem;
  }

  .hero-pill {
    font-size: 0.72rem;
  }

  .hero-inner h1 {
    font-size: clamp(1.65rem, 8.6vw, 2.1rem);
    line-height: 1.2;
  }

  .hero-inner p.subtitle {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .eyebrow {
    font-size: 0.92rem;
    letter-spacing: 0.07em;
  }

  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn {
    width: 100%;
    min-height: 46px;
  }

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

  .tech-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .tech-card {
    min-width: 100%;
  }

  .work-card img {
    height: 144px;
  }

  .work-tag {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  .card {
    border-radius: var(--radius-sm);
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-social {
    gap: 0.65rem;
  }

  .footer-social a {
    width: 2.05rem;
    height: 2.05rem;
    font-size: 0.92rem;
    padding: 0;
  }

}

@media (max-width: 540px) {
  .section {
    padding: 1rem 0;
  }

  .section-head,
  .clientes-bloco__cabecalho,
  .indicadores-bloco__cabecalho {
    margin-bottom: 0.5rem;
  }

  .card,
  .stat-card,
  .work-body,
  .team-member-body,
  .client-card,
  .recurso-card {
    padding: 0.75rem;
  }

  .hero {
    min-height: 360px;
    padding: 2.8rem 0 1.7rem;
  }

  .hero-inner {
    padding: 0.8rem;
  }

  .hero-pill-row {
    gap: 0.3rem;
  }

  .hero-pill {
    font-size: 0.68rem;
    padding: 0.22rem 0.52rem;
  }

  .carousel-viewport {
    padding: 0 0.15rem;
  }

  .team-member-image {
    min-height: 140px;
  }

  .team-member-avatar {
    width: 62px;
    height: 62px;
    font-size: 1.15rem;
  }
}

@media (hover: none) {
  .card:hover,
  .work-card:hover,
  .team-member-card:hover {
    transform: none;
  }

  .work-card:hover img {
    transform: none;
  }
}

/* ── Luxury Corporate Theme Refinements ─────────────────── */
:root {
  --shadow-luxury: 0 12px 48px rgba(11, 31, 58, 0.18);
  --ease-subtle: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Footer enhancement */
footer {
  border-top: 1px solid rgba(31, 122, 99, 0.14);
  background:
    linear-gradient(180deg, rgba(31, 122, 99, 0.08) 0%, rgba(62, 207, 142, 0.04) 100%),
    var(--surface);
  backdrop-filter: blur(8px);
}

footer p, footer a {
  transition: color var(--dur-normal) ease, text-shadow var(--dur-normal) ease;
}

footer a:hover {
  color: var(--green-500);
  text-shadow: 0 0 8px rgba(31, 122, 99, 0.3);
}

/* Navigation link active state */
header nav a[aria-current="page"] {
  color: var(--green-500);
  font-weight: 600;
  border-bottom: 2px solid var(--green-500);
  padding-bottom: 0.2rem;
  transition: all var(--dur-normal) ease;
}

header nav a[aria-current="page"]:hover {
  text-shadow: 0 0 12px rgba(31, 122, 99, 0.4);
}

/* Global button enhancement */
button, input[type="button"], input[type="submit"] {
  transition: all var(--dur-normal) var(--ease-subtle);
  position: relative;
}

button:hover, input[type="button"]:hover, input[type="submit"]:hover {
  box-shadow: 0 8px 24px rgba(31, 122, 99, 0.2);
}

/* Link hover effects */
a:not([class^="carousel-"]):hover {
  transition: color var(--dur-normal) ease;
}

/* Premium transitions on all interactive elements */
*[class*="btn"], *[class*="button"], a:not([class]), button {
  transition: all var(--dur-normal) var(--ease-subtle) !important;
}

/* Responsive image polish */
img {
  transition: transform var(--dur-normal) ease, filter var(--dur-normal) ease;
}

/* Section entrance animations */
.section:not(.hero) {
  animation: section-slide-up 0.8s var(--ease-out) 0.1s backwards;
}

@keyframes section-slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ── Team Member Cards ──────────────────────────── */
.section-team {
  background:
    radial-gradient(circle at 5% 95%, rgba(62, 207, 142, 0.12) 0%, rgba(62, 207, 142, 0) 38%),
    radial-gradient(circle at 92% 8%, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0) 40%),
    var(--surface);
  position: relative;
  overflow: hidden;
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-member-card {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(31, 122, 99, 0.12) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.12) !important;
  transition: all var(--dur-normal) ease !important;
  display: flex;
  flex-direction: column;
  background: var(--surface) !important;
}

.team-member-image {
  min-height: 160px;
  background: linear-gradient(135deg, var(--blue-900), var(--green-300));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--component-padding);
}

.team-member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--brand-white);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.team-member-role {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 8px rgba(11, 31, 58, 0.4);
  text-align: center;
}

.team-member-body {
  position: relative;
  padding: var(--component-padding);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.team-member-body h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-900);
  font-family: 'Space Grotesk', sans-serif;
}

.team-member-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-500);
  letter-spacing: 0.02em;
}

.team-member-bio {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--gray-700);
  flex: 1;
}

.team-member-social {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.team-member-social::before {
  content: "";
  flex-basis: 100%;
  height: 1px;
  margin-bottom: 0.55rem;
  background: linear-gradient(
    90deg,
    rgba(12, 242, 93, 0) 0%,
    rgba(12, 242, 93, 0.25) 20%,
    rgba(12, 242, 93, 0.55) 50%,
    rgba(12, 242, 93, 0.25) 80%,
    rgba(12, 242, 93, 0) 100%
  );
}

.team-member-social a {
  font-size: 0.9rem;
  line-height: 1;
  width: 1.95rem;
  height: 1.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(12, 242, 93, 0.2);
  color: var(--gray-700);
  background: rgba(12, 242, 93, 0.06);
  text-decoration: none;
}

.team-member-social .social-icon-link i {
  font-size: 0.95rem;
}

.team-member-social a:hover {
  color: var(--blue-900);
  border-color: rgba(12, 242, 93, 0.45);
  background: rgba(12, 242, 93, 0.16);
}

.team-member-social a:focus-visible {
  color: var(--blue-900);
  border-color: rgba(12, 242, 93, 0.55);
  background: rgba(12, 242, 93, 0.2);
  outline: 2px solid rgba(3, 140, 62, 0.65);
  outline-offset: 2px;
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(31, 122, 99, 0.2) !important;
  border-color: rgba(31, 122, 99, 0.25) !important;
}

/* Responsive team grid */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-member-image {
    min-height: 150px;
  }
  
  .team-member-body {
    padding: var(--component-padding);
  }
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-member-image {
    min-height: 156px;
  }
  
  .team-member-body {
    padding: var(--component-padding);
    gap: 0.4rem;
  }
  
  .team-member-body h3 {
    font-size: 1.1rem;
  }
}
