/* ============================================
   UM NOVO OLHAR V2 — INSTITUTIONAL SITE
   Concept: "O Mapa do Desenvolvimento"
   Multi-page, warm, editorial, premium
   Primary: #0a747c | CTA: #E88D67
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;1,14..32,400&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors (Real Clinic Palette - Official Teal Sync) */
  --c-primary: #0a747c;
  --c-primary-deep: #06555a; /* Deep Teal version */
  --c-primary-light: #159ba3;
  --c-primary-pale: rgba(10, 116, 124, 0.05);
  --c-primary-ghost: rgba(10, 116, 124, 0.12);

  --c-brand-teal: #0a747c;
  --c-brand-deep: #06555a;
  --c-brand-darkest: #042e31;

  --c-cta: #13d8e6;
  /* Vibrant Cyan - Modern & Energizing */
  --c-cta-deep: #0bbbc7;
  --c-cta-light: #6be7f0;

  --c-blue-calm: #4A90E2;
  --c-blue-bg: #F0F5FA;

  --c-bg: #F8F6F0;
  --c-bg-dark: #ede9e0;
  --c-white: #FFFFFF;
  --c-warm-white: #FDFCFA;

  --c-dark: #162425;
  --c-text: #2d3e40;
  --c-text-secondary: #5a7073;
  --c-text-muted: #8a9fa2;

  --c-border: rgba(10, 116, 124, 0.08);
  --c-divider: rgba(0, 0, 0, 0.06);

  /* Fonts */
  --ff-heading: 'Outfit', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;

  /* Type Scale */
  --fs-hero: clamp(2.75rem, 5.5vw + 0.5rem, 4.5rem);
  --fs-h1: clamp(2rem, 3.5vw, 3rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.1rem, 1.4vw, 1.3rem);
  --fs-body: clamp(0.95rem, 1vw, 1.05rem);
  --fs-body-lg: clamp(1.05rem, 1.15vw, 1.15rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;
  --fs-label: 0.8125rem;

  /* Spacing (8pt) */
  --sp-4: 0.25rem;
  --sp-8: 0.5rem;
  --sp-12: 0.75rem;
  --sp-16: 1rem;
  --sp-20: 1.25rem;
  --sp-24: 1.5rem;
  --sp-32: 2rem;
  --sp-40: 2.5rem;
  --sp-48: 3rem;
  --sp-64: 4rem;
  --sp-80: 5rem;
  --sp-96: 6rem;
  --sp-120: 7.5rem;
  --sp-160: 10rem;

  /* Effects */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.10);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.09);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur-normal: 300ms;
  --dur-slow: 550ms;

  /* Layout */
  --container: 1200px;
  --container-wide: 1400px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-heading);
  color: var(--c-dark);
  line-height: 1.15;
  font-weight: 600;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.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;
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

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

.rd1 {
  transition-delay: 80ms;
}

.rd2 {
  transition-delay: 160ms;
}

.rd3 {
  transition-delay: 240ms;
}

.rd4 {
  transition-delay: 320ms;
}

.rd5 {
  transition-delay: 400ms;
}

@media (prefers-reduced-motion: reduce) {

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

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  padding: var(--sp-14, 0.875rem) var(--sp-28, 1.75rem);
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--dur-normal) var(--ease-spring);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn--cta {
  background: var(--c-cta);
  color: var(--c-dark);
  box-shadow: 0 4px 18px rgba(19, 216, 230, 0.3);
}

.btn--primary {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(10, 116, 124, 0.2);
}

.btn--ghost-white {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-border);
}

.btn--lg {
  padding: var(--sp-16) var(--sp-32);
  font-size: var(--fs-body);
}

/* Button Tap Feedback */
.btn:active {
  transform: scale(0.96) !important;
  opacity: 0.85;
  transition: transform 0.1s;
}

@media (hover: hover) {
  .btn--cta:hover {
    background: var(--c-cta-deep);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(19, 216, 230, 0.45);
  }

  .btn--primary:hover {
    background: var(--c-primary-deep);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(10, 116, 124, 0.3);
  }

  .btn--ghost-white:hover {
    background: var(--c-white);
    color: var(--c-primary);
    border-color: var(--c-white);
    transform: translateY(-3px);
  }

  .btn--outline:hover {
    border-color: var(--c-primary);
    background: var(--c-primary-pale);
    transform: translateY(-2px);
  }
}

/* --- Labels --- */
.label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start; /* Ensure it doesn't stretch in flex containers */
  width: max-content;
  gap: var(--sp-8);
  padding: var(--sp-8) var(--sp-16);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  font-family: var(--ff-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.label--light {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}

.label--primary {
  background: var(--c-primary-ghost);
  color: var(--c-primary);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--sp-16) 0;
  transition: all var(--dur-normal) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(248, 246, 240, 0.88);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 1px 0 var(--c-divider), var(--shadow-xs);
  padding: var(--sp-8) 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
}

.header__logo {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1001;
  height: 44px; /* Proportional height for horizontal logo */
}

.logo-img {
  height: 100%;
  width: auto;
  transition: opacity var(--dur-normal) var(--ease-out);
  display: block;
}

.logo-img--dark {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

/* Scroll Transition */
.is-scrolled .logo-img--light {
  opacity: 0;
}

.is-scrolled .logo-img--dark {
  opacity: 1;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-28, 1.75rem);
}

.header__link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  /* Initial State: Soft White */
  padding: var(--sp-4) 0;
  position: relative;
  transition: all var(--dur-fast);
}

.is-scrolled .header__link {
  color: var(--c-text-secondary);
  /* Scrolled State: Darker */
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--c-cta);
  border-radius: 1px;
  transition: width var(--dur-normal) var(--ease-out), left var(--dur-normal) var(--ease-out);
}

@media (hover: hover) {
  .header__link:hover {
    color: var(--c-cta) !important;
  }

  .is-scrolled .header__link:hover {
    color: var(--c-primary) !important;
  }
}

.header__link:hover::after {
  width: 100%;
  left: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px 0;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition: all var(--dur-normal) var(--ease-out);
  transform-origin: center;
}

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

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

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

/* ============================================
   HERO — Dark premium, institutional
   ============================================ */
/* Simplified Hero — Direct Brand Teal */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Cinematic Lighting - Centers outside the viewport to prevent visible 'circle' focus */
  background: 
    radial-gradient(circle at 115% 40%, rgba(19, 216, 230, 0.75) 0%, transparent 65%), /* Primary Head Light */
    radial-gradient(circle at -20% -10%, rgba(19, 216, 230, 0.5) 0%, transparent 55%),  /* Top-Left Accent */
    radial-gradient(circle at 100% 115%, rgba(19, 216, 230, 0.45) 0%, transparent 50%), /* Bottom-Right Hint */
    var(--c-primary);
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

/* Watermark Background */
.hero__watermark {
  position: absolute;
  top: 50%;
  right: -10%;
  height: 120%;
  width: auto;
  transform: translateY(-50%) rotate(-15deg);
  opacity: 0.15;
  pointer-events: none;
  z-index: 2; /* Staying above the lighting for depth */
  filter: brightness(0) invert(1);
}

.hero__watermark img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

/* --- INTERNAL PAGE HEADERS --- */
.page-header {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + var(--sp-80)) 0 var(--sp-80);
  margin: 0;
  position: relative;
  overflow: hidden;
  /* Cinematic Lighting */
  background: 
    radial-gradient(circle at 110% 40%, rgba(19, 216, 230, 0.7) 0%, transparent 65%),
    radial-gradient(circle at -15% -10%, rgba(19, 216, 230, 0.4) 0%, transparent 55%),
    var(--c-primary);
  color: var(--c-white);
}

.page-header h1 {
  font-size: var(--fs-h1);
  color: var(--c-white);
  margin-bottom: var(--sp-12);
}

.page-header p {
  font-size: var(--fs-body-lg);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.hero__inner {
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: calc(100vh - var(--header-h));
  position: relative;
  z-index: 2;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-64) 0;
  padding-right: var(--sp-32);
  max-width: 720px;
}

.hero__title {
  font-size: var(--fs-hero);
  color: var(--c-bg);
  font-weight: 700;
  margin-bottom: var(--sp-24);
  letter-spacing: -0.025em;
  white-space: normal;
  overflow-wrap: break-word;
}

.hero__title-highlight {
  background: var(--c-white);
  color: var(--c-primary);
  padding: 0.02em 0.25em 0.15em;
  /* Ajuste fino: menos em cima, mais embaixo pros descendentes */
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  transform: translateY(-0.06em);
  /* Centralização ótica */
}

.hero__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--c-white);
  /* 100% Branco */
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: var(--sp-40);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  flex-wrap: wrap;
  margin-bottom: var(--sp-48);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  padding-top: var(--sp-40);
  /* Border removed as requested */
}

.hero__trust-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--sp-12) var(--sp-20);
  border-radius: var(--radius, 12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 130px;
  transition: all var(--dur-normal) var(--ease-out);
}

@media (hover: hover) {
  .hero__trust-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
  }
}

.hero__trust-item strong {
  display: block;
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  color: var(--c-white);
  /* Números em Branco */
  font-weight: 700;
  line-height: 1;
}

.hero__trust-item span {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.8);
  /* Legendas em Branco quase total */
  letter-spacing: 0.02em;
}

/* Hero visual — image with organic border */
.hero__visual {
  position: relative;
  overflow: hidden;
}

.hero__visual .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  /* Clean overlay */
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-small);
  text-align: center;
  padding: var(--sp-32);
  font-style: italic;
}

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

/* Organic mask on the left edge */
.hero__visual::before {
  content: '';
  position: absolute;
  top: 0; left: -1px; bottom: 0;
  width: 120px;
  background: var(--c-brand-teal); /* Brand Teal, not Green */
  border-radius: 0 60% 40% 0 / 0 50% 50% 0;
  z-index: 2;
}

/* ============================================
   SECTION: ÁREAS DE ATUAÇÃO — Bento Grid
   ============================================ */
.section-areas {
  padding: var(--sp-120) 0;
  background: var(--c-bg);
}

.section__eyebrow {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--sp-12);
}

.section__title {
  font-size: var(--fs-h2);
  color: var(--c-dark);
  margin-bottom: var(--sp-16);
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.section__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--c-text-secondary);
  line-height: 1.75;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.areas-header {
  text-align: center;
  margin-bottom: var(--sp-80);
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-20);
}

/* Centralizando os últimos 2 cards da jornada */
.bento-grid > article:nth-child(7) {
  grid-column: 2;
}
.bento-grid > article:nth-child(8) {
  grid-column: 3;
}

/* Grid Cards - Base interaction for JS Zoom */
.bento-card, .why-card, .value-card {
  will-change: transform, opacity;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.bento-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-32);
  border: 1px solid var(--c-divider);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  cursor: pointer;
}

@media (hover: hover) {
  .bento-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--c-primary);
  }
}

/* Large cards span 2 cols */
.bento-card--lg {
  grid-column: span 2;
}

.bento-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--c-primary-pale);
  border-radius: 14px;
  margin-bottom: var(--sp-20);
  font-size: 1.4rem;
  transition: all var(--dur-normal) var(--ease-spring);
}

@media (hover: hover) {
  .bento-card:hover .bento-card__icon {
    background: var(--c-primary);
    transform: scale(1.05);
  }

  .bento-card:hover .bento-card__icon svg {
    stroke: var(--c-white);
  }
}

.bento-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--c-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--dur-normal);
}

.bento-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-8);
}

.bento-card p {
  color: var(--c-text-secondary);
  font-size: var(--fs-small);
  line-height: 1.65;
  flex: 1;
}

.bento-card__arrow {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  color: var(--c-primary);
  font-size: var(--fs-small);
  font-weight: 600;
  font-family: var(--ff-heading);
  margin-top: var(--sp-20);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--dur-normal) var(--ease-out);
}

.bento-card:hover .bento-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.bento-card__arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform var(--dur-fast);
}

.bento-card:hover .bento-card__arrow svg {
  transform: translateX(4px);
}

/* TEA card special styling */
.bento-card--tea {
  background: var(--c-blue-bg);
  border-color: rgba(74, 144, 226, 0.15);
}

.bento-card--tea .bento-card__icon {
  background: rgba(74, 144, 226, 0.1);
}

.bento-card--tea .bento-card__icon svg {
  stroke: var(--c-blue-calm);
}

.bento-card--tea:hover {
  border-color: var(--c-blue-calm);
}

.bento-card--tea:hover .bento-card__icon {
  background: var(--c-blue-calm);
}

.bento-card--tea:hover .bento-card__icon svg {
  stroke: var(--c-white);
}

.bento-card--tea .bento-card__arrow {
  color: var(--c-blue-calm);
}

/* ============================================
   SECTION: POR QUE O UM NOVO OLHAR
   ============================================ */
.section-why {
  padding: var(--sp-160) 0;
  background: var(--c-white);
  position: relative;
}

.section-why::before,
.section-why::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-divider), transparent);
}

.section-why::before {
  top: 0;
}

.section-why::after {
  bottom: 0;
}

.why-header {
  text-align: center;
  margin-bottom: var(--sp-80);
}

.why-header .section__title {
  max-width: 550px;
  margin: 0 auto var(--sp-16);
}

.why-header .section__subtitle {
  max-width: 480px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-40);
}

.why-card {
  text-align: center;
  padding: var(--sp-48) var(--sp-32);
  border-radius: var(--radius-lg);
}

@media (hover: hover) {
  .why-card:hover {
    background: var(--c-bg);
  }
}

.why-card__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--c-primary-pale);
  border-radius: 20px;
  margin: 0 auto var(--sp-24);
  transition: all var(--dur-normal) var(--ease-spring);
}

.why-card:hover .why-card__icon {
  background: var(--c-primary);
  transform: translateY(-4px) scale(1.05);
}

.why-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--c-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--dur-normal);
}

.why-card:hover .why-card__icon svg {
  stroke: var(--c-white);
}

.why-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-12);
}

.why-card p {
  color: var(--c-text-secondary);
  font-size: var(--fs-small);
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

/* ============================================
   SECTION: TEA DESTAQUE
   ============================================ */
.section-tea {
  padding: var(--sp-160) 0;
  background: 
    radial-gradient(circle at 115% 30%, rgba(19, 216, 230, 0.7) 0%, transparent 60%),
    radial-gradient(circle at -10% -10%, rgba(19, 216, 230, 0.45) 0%, transparent 50%),
    var(--c-primary);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

/* Força Branco Absoluto nos novos blocos do TEA — REMOVIDO PRA VOLTAR AO ORIGINAL */
.section-tea .tea__credential span {
  color: var(--c-white) !important;
}

.section-tea::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(10, 116, 124, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.tea__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas: 
    "intro visual"
    "cta visual";
  gap: var(--sp-20) var(--sp-80);
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.tea__intro { grid-area: intro; }
.tea__cta { grid-area: cta; }
.tea__visual { grid-area: visual; align-self: stretch; }

.tea__intro .section__eyebrow {
  color: var(--c-cta-light); /* Esse é o ciano original! */
}

.tea__intro .section__title {
  color: var(--c-bg); /* Esse é o off-white puro */
  margin-bottom: var(--sp-24);
}

.tea__text {
  color: rgba(248, 246, 240, 0.7);
  line-height: 1.8;
  margin-bottom: var(--sp-24);
  font-size: var(--fs-body-lg);
}

@media (min-width: 1025px) {
  .tea__text { margin-bottom: 0; }
}

.tea__credential {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-16);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  margin-bottom: var(--sp-32);
  font-size: var(--fs-small);
  color: rgba(248, 246, 240, 0.6);
}

.tea__credential strong {
  color: var(--c-bg);
}

.tea__img {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4/3;
}

.tea__img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(248, 246, 240, 0.35);
  font-size: var(--fs-small);
  text-align: center;
  padding: var(--sp-24);
  font-style: italic;
}

/* ============================================
   SECTION: CONVÊNIOS
   ============================================ */
.section-conv {
  padding: var(--sp-120) 0;
  background: var(--c-bg);
}

.conv-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.conv-header .section__title {
  max-width: 500px;
  margin: 0 auto var(--sp-12);
}

.conv-header .section__subtitle {
  max-width: 480px;
  margin: 0 auto;
}

.marquee-wrap {
  overflow: hidden;
  padding: var(--sp-48) 0;
  position: relative;
  margin-top: var(--sp-48);
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--c-bg), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--c-bg), transparent);
}

.marquee-track {
  display: flex;
  gap: var(--sp-24);
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-12) var(--sp-24);
  background: var(--c-white);
  border: 1px solid var(--c-divider);
  border-radius: 12px;
  min-width: 150px;
  height: 56px;
  color: var(--c-text-muted);
  font-weight: 600;
  font-size: var(--fs-small);
  filter: grayscale(1);
  opacity: 0.5;
  transition: all var(--dur-normal) var(--ease-out);
  white-space: nowrap;
}

@media (hover: hover) {
  .marquee-item:hover {
    filter: grayscale(0);
    opacity: 1;
    border-color: var(--c-primary);
    color: var(--c-primary);
    box-shadow: var(--shadow-sm);
  }
}

/* Accordion */
.accordion {
  max-width: 660px;
  margin: var(--sp-40) auto 0;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-16) var(--sp-24);
  background: var(--c-white);
  border: 1px solid var(--c-divider);
  border-radius: var(--radius);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--c-primary);
  cursor: pointer;
  transition: all var(--dur-fast);
}

@media (hover: hover) {
  .accordion__trigger:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-sm);
  }
}

.accordion__chevron {
  width: 18px;
  height: 18px;
  transition: transform var(--dur-normal) var(--ease-spring);
  flex-shrink: 0;
}

.accordion__trigger.is-open .accordion__chevron {
  transform: rotate(180deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}

.accordion__panel.is-open {
  max-height: 600px;
}

.accordion__panel-inner {
  padding: var(--sp-24);
  color: var(--c-text-secondary);
  line-height: 1.8;
  font-size: var(--fs-small);
}

.accordion__panel-inner p+p {
  margin-top: var(--sp-12);
}

.accordion__panel-inner strong {
  color: var(--c-dark);
}

/* ============================================
   SECTION: JORNADA — Timeline
   ============================================ */
.section-journey {
  padding: var(--sp-120) 0;
  background: var(--c-white);
}

.journey-header {
  text-align: center;
  margin-bottom: var(--sp-80);
}

.journey-header .section__title {
  max-width: 480px;
  margin: 0 auto var(--sp-12);
}

.journey-header .section__subtitle {
  max-width: 440px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.timeline__line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--c-divider);
}

.timeline__line-fill {
  width: 100%;
  height: 0;
  background: var(--c-primary);
  border-radius: 1px;
  transition: height 1s var(--ease-out);
}

.timeline__step {
  display: flex;
  gap: var(--sp-24);
  padding-bottom: var(--sp-40);
  position: relative;
}

.timeline__step:last-child {
  padding-bottom: 0;
}

.timeline__marker {
  width: 56px;
  height: 56px;
  background: var(--c-bg);
  border: 2px solid var(--c-divider);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text-muted);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all var(--dur-normal) var(--ease-spring);
}

.timeline__step.is-visible .timeline__marker {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 0 0 6px var(--c-primary-pale);
}

.timeline__body {
  flex: 1;
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: var(--sp-24) var(--sp-32);
  border: 1px solid var(--c-divider);
  transition: all var(--dur-normal);
}

.timeline__step.is-visible .timeline__body {
  border-color: var(--c-primary-ghost);
  box-shadow: var(--shadow-sm);
}

.timeline__body h3 {
  font-size: var(--fs-h3);
  color: var(--c-primary);
  margin-bottom: var(--sp-8);
}

.timeline__body p {
  color: var(--c-text-secondary);
  font-size: var(--fs-small);
  line-height: 1.7;
}

/* ============================================
   SECTION: TRABALHE CONOSCO
   ============================================ */
.section-careers {
  padding: var(--sp-160) 0;
  background: var(--c-bg);
  position: relative;
}

.careers__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-80);
  align-items: center;
}

.careers__content .section__eyebrow {
  color: var(--c-cta);
}

.careers__content p {
  color: var(--c-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-32);
  font-size: var(--fs-body-lg);
  max-width: 460px;
}

.careers__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.careers__shape {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--c-cta), var(--c-cta-light));
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.careers__shape::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 40%, rgba(255, 255, 255, 0.15));
}

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

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: 
    radial-gradient(circle at 110% 40%, rgba(19, 216, 230, 0.7) 0%, transparent 60%),
    radial-gradient(circle at -20% -10%, rgba(19, 216, 230, 0.45) 0%, transparent 50%),
    var(--c-primary);
  color: var(--c-white);
  padding: var(--sp-120) 0 var(--sp-48);
  position: relative;
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: var(--sp-40);
  padding-bottom: var(--sp-48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo-img {
  height: 40px; /* Elegant footer presence */
  width: auto;
  margin-bottom: var(--sp-24);
  display: block;
}

.footer__brand-desc {
  font-size: var(--fs-small);
  line-height: 1.7;
  color: rgba(248, 246, 240, 0.9);
  margin-bottom: var(--sp-16);
}

.footer__brand-tech {
  font-size: var(--fs-small);
  color: rgba(248, 246, 240, 0.85);
}

.footer__brand-tech strong {
  color: var(--c-white);
}

.footer__col h4 {
  font-family: var(--ff-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--sp-24);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.footer__contact-list li a {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-small);
  transition: all var(--dur-fast);
}

.footer__contact-list li a:hover {
  color: var(--c-white);
  transform: translateX(4px);
}

.footer__icon {
  width: 18px;
  height: 18px;
  color: var(--c-cta);
}

.footer__address {
  font-style: normal;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--sp-16);
}

.footer__map-wrapper {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__map-wrapper iframe {
  filter: grayscale(0.2) contrast(1.1);
  transition: filter var(--dur-normal);
}

.footer__map-wrapper:hover iframe {
  filter: grayscale(0);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--sp-32);
  margin-top: var(--sp-48);
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-24);
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__credits {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

.plano-d-link {
  color: var(--c-cta);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--dur-fast);
  display: inline-block;
  margin-left: 4px;
}

.plano-d-link:hover {
  color: var(--c-white);
  text-shadow: 0 0 12px var(--c-cta);
  transform: translateY(-1px);
}

.footer__socials a:hover {
  background: var(--c-cta);
  color: var(--c-white);
  transform: translateY(-2px);
}

/* ============================================
   CONVÊNIOS — Partner Cards (only 2)
   ============================================ */
.conv-logos {
  display: flex;
  justify-content: center;
  gap: var(--sp-40);
  margin: var(--sp-48) 0;
  flex-wrap: wrap;
}

.conv-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  background: var(--c-white);
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-lg);
  padding: var(--sp-40) var(--sp-48);
  text-align: center;
  transition: all var(--dur-normal) var(--ease-spring);
  min-width: 220px;
  flex: 0 1 280px;
}

.conv-logo-img {
  max-width: 140px;
  height: auto;
  opacity: 0.85;
  transition: opacity var(--dur-normal);
}

.conv-logo-card:hover .conv-logo-img {
  opacity: 1;
}

.conv-logo-card span {
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: var(--fs-h3);
  color: var(--c-dark);
}

.conv-info {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  color: var(--c-text-secondary);
  line-height: 1.8;
}

.conv-info strong {
  color: var(--c-dark);
}

.conv-info__link {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast);
}

.conv-info__link:hover {
  color: var(--c-primary-deep);
}

/* INTERNAL PAGE HEADERS MOVED UP TO SYNC WITH HOME */

/* ============================================
   ESPECIALIDADES PAGE — Scrollspy Sidebar
   ============================================ */
.specs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--sp-64);
  padding: var(--sp-80) 0 var(--sp-120);
}

.specs-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-32));
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.specs-sidebar__link {
  padding: var(--sp-12) var(--sp-16);
  border-radius: 10px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--c-text-muted);
  transition: all var(--dur-fast);
  border-left: 3px solid transparent;
}

.specs-sidebar__link:hover {
  color: var(--c-primary);
  background: var(--c-primary-pale);
}

.specs-sidebar__link.is-active {
  color: var(--c-primary);
  background: var(--c-primary-pale);
  border-left-color: var(--c-primary);
  font-weight: 600;
}

.specs-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-80);
}

.spec-section {
  scroll-margin-top: calc(var(--header-h) + var(--sp-32));
}

.spec-section h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--sp-12);
}

.spec-section .spec-role {
  font-size: var(--fs-small);
  color: var(--c-primary);
  font-weight: 600;
  margin-bottom: var(--sp-24);
}

.spec-section p {
  color: var(--c-text-secondary);
  line-height: 1.8;
  max-width: 640px;
}

.spec-section p+p {
  margin-top: var(--sp-16);
}

/* TEA special block inside especialidades */
.spec-tea-block {
  background: var(--c-blue-bg);
  border-radius: var(--radius-xl);
  padding: var(--sp-64);
  border: 1px solid rgba(74, 144, 226, 0.1);
}

.spec-tea-block h2 {
  color: var(--c-blue-calm);
}

.spec-tea-block .spec-role {
  color: var(--c-blue-calm);
}

/* ============================================
   CONVÊNIOS PAGE
   ============================================ */
.conv-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-48);
  padding: var(--sp-80) 0;
  align-items: start;
}

.conv-card-large {
  background: var(--c-white);
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-xl);
  padding: var(--sp-48);
  text-align: center;
  transition: all var(--dur-normal) var(--ease-spring);
}

.conv-card-large:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--c-primary);
}

.conv-card-large .conv-logo-placeholder {
  width: 160px;
  height: 100px;
  margin: 0 auto var(--sp-24);
  font-size: var(--fs-small);
}

.conv-card-large h3 {
  font-size: 1.5rem;
  margin-bottom: var(--sp-12);
}

.conv-card-large p {
  color: var(--c-text-secondary);
  font-size: var(--fs-small);
  line-height: 1.7;
}

/* Reembolso section */
.reembolso-section {
  padding: var(--sp-120) 0;
  background: var(--c-white);
}

.reembolso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
  margin-top: var(--sp-48);
}

.reembolso-step {
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: var(--sp-32);
  text-align: center;
}

.reembolso-step__number {
  width: 40px;
  height: 40px;
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-small);
  margin: 0 auto var(--sp-16);
}

.reembolso-step h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-8);
}

.reembolso-step p {
  color: var(--c-text-secondary);
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* ============================================
   TRABALHE CONOSCO PAGE
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
  padding: var(--sp-80) 0;
}

.value-card {
  background: var(--c-white);
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-lg);
  padding: var(--sp-32);
  text-align: center;
}

@media (hover: hover) {
  .value-card:hover {
    background: var(--c-bg);
    border-color: var(--c-cta);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
  }
}

.value-card__emoji {
  font-size: 2rem;
  margin-bottom: var(--sp-16);
  display: block;
}

.value-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-8);
}

.value-card p {
  color: var(--c-text-secondary);
  font-size: var(--fs-small);
  line-height: 1.65;
}

/* Vagas */
.jobs-section {
  padding: var(--sp-80) 0 var(--sp-120);
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  max-width: 700px;
  margin: var(--sp-48) auto 0;
}

.job-card {
  background: var(--c-white);
  border: 1px solid var(--c-divider);
  border-radius: var(--radius);
  padding: var(--sp-24) var(--sp-32);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  transition: all var(--dur-normal) var(--ease-out);
  cursor: pointer;
}

.job-card:hover {
  border-color: var(--c-cta);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.job-card__info h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-4);
}

.job-card__info span {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
}

.job-card__arrow {
  width: 36px;
  height: 36px;
  background: var(--c-primary-pale);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--c-primary);
  flex-shrink: 0;
  transition: all var(--dur-normal) var(--ease-spring);
}

.job-card:hover .job-card__arrow {
  background: var(--c-cta);
  color: var(--c-white);
}

.job-card__arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Talent Bank */
.talent-bank {
  text-align: center;
  padding: var(--sp-120) 0;
  position: relative;
  overflow: hidden;
  /* Cinematic Lighting */
  background: 
    radial-gradient(circle at 115% 40%, rgba(19, 216, 230, 0.75) 0%, transparent 65%),
    radial-gradient(circle at -20% -10%, rgba(19, 216, 230, 0.5) 0%, transparent 55%),
    var(--c-primary);
  color: var(--c-white);
}

.talent-bank .section__title {
  color: var(--c-white);
  max-width: 480px;
  margin: 0 auto var(--sp-12);
}

.talent-bank .section__subtitle {
  color: rgba(255, 255, 255, 0.9);
  max-width: 460px;
  margin: 0 auto var(--sp-32);
}

/* Job Form Modal */
.job-form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 36, 37, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-24);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal);
}

.job-form-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.job-form {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: var(--sp-48);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--dur-normal) var(--ease-spring);
}

.job-form-overlay.is-open .job-form {
  transform: translateY(0);
}

.job-form h3 {
  font-size: var(--fs-h2);
  margin-bottom: var(--sp-8);
}

.job-form p {
  color: var(--c-text-secondary);
  margin-bottom: var(--sp-32);
}

.form-group {
  margin-bottom: var(--sp-20);
}

.form-group label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: var(--sp-8);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--sp-12) var(--sp-16);
  border: 1px solid var(--c-divider);
  border-radius: 10px;
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color var(--dur-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-pale);
}

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

/* File Upload Custom Style */
.file-upload-wrapper {
  position: relative;
  width: 100%;
  height: 60px;
}

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-custom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-bg-dark);
  border: 1.5px dashed var(--c-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  padding: 0 var(--sp-20);
  transition: all var(--dur-normal) var(--ease-out);
  pointer-events: none;
}

.file-upload-icon {
  font-size: 1.25rem;
  transition: transform var(--dur-normal) var(--ease-spring);
}

.file-upload-text {
  font-size: var(--fs-small);
  color: var(--c-primary);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload-wrapper:hover .file-upload-custom {
  background: var(--c-primary-pale);
  border-color: var(--c-primary);
}

.file-upload-wrapper:hover .file-upload-icon {
  transform: translateY(-2px);
}

.file-upload-input:focus + .file-upload-custom {
  box-shadow: 0 0 0 3px var(--c-primary-ghost);
  border-color: var(--c-primary);
}

.file-upload-wrapper.has-file .file-upload-custom {
  background: var(--c-white);
  border-style: solid;
  border-color: var(--c-primary);
}

.form-actions {
  display: flex;
  gap: var(--sp-12);
  margin-top: var(--sp-24);
}

.job-form .btn-cancel {
  padding: var(--sp-12) var(--sp-24);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  transition: color var(--dur-fast);
}

.job-form .btn-cancel:hover {
  color: var(--c-dark);
}

/* Success state */
.form-success {
  text-align: center;
  padding: var(--sp-48) 0;
}

.form-success__emoji {
  font-size: 3.5rem;
  margin-bottom: var(--sp-24);
  display: block;
  animation: successBounce 0.6s var(--ease-spring);
}

@keyframes successBounce {
  0% {
    transform: scale(0);
  }

  60% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.form-success h3 {
  font-size: var(--fs-h2);
  margin-bottom: var(--sp-12);
}

.form-success p {
  color: var(--c-text-secondary);
  line-height: 1.7;
}

/* ============================================
   RESPONSIVE — Internal Pages
   ============================================ */
@media (max-width: 1024px) {
  .specs-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-32);
  }

  .specs-sidebar {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: var(--sp-8);
    padding-bottom: var(--sp-16);
    border-bottom: 1px solid var(--c-divider);
  }

  .specs-sidebar__link {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .specs-sidebar__link.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--c-primary);
  }

  .conv-page-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    padding: var(--sp-80) 0;
  }

  .reembolso-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: var(--sp-48) auto 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
    padding: var(--sp-64) 0;
  }
}

@media (max-width: 768px) {
  .careers__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-40);
  }

  .careers__content div[style*="display: flex"] {
    justify-content: center !important;
  }
  .spec-tea-block {
    padding: var(--sp-32);
  }

  .page-header {
    padding: calc(var(--header-h) + var(--sp-48)) 0 var(--sp-48);
  }

  .page-header h1 {
    font-size: var(--fs-h2);
  }

  .job-form {
    padding: var(--sp-32);
  }

  .conv-logos {
    gap: var(--sp-24);
  }
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.wpp-float {
  position: fixed;
  bottom: var(--sp-32);
  right: var(--sp-32);
  width: 58px;
  height: 58px;
  background: var(--c-cta); /* Brand Cyan Sync */
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--c-white);
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(19, 216, 230, 0.4);
  z-index: 999;
  transition: transform var(--dur-normal) var(--ease-spring);
}

.wpp-float:hover {
  transform: scale(1.12);
  background: var(--c-white);
  color: var(--c-cta);
  box-shadow: 0 12px 32px rgba(19, 216, 230, 0.5);
}

.wpp-float.pulse {
  animation: wppPulse 1.4s var(--ease-spring);
}

@keyframes wppPulse {
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(1.16);
    box-shadow: 0 8px 32px rgba(19, 216, 230, 0.55);
  }

  50% {
    transform: scale(1.04);
  }

  70% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: var(--sp-80) 0 var(--sp-48);
    padding-right: 0;
    text-align: center;
    align-items: center;
  }

  .hero__content .label {
    align-self: center;
    margin: 0 auto var(--sp-24);
  }

  .hero__title {
    font-size: clamp(2.25rem, 8vw, 3.125rem); /* Proporcional */
    font-weight: 700;
    max-width: 320px;
    margin: 0 auto var(--sp-20);
    line-height: 1.25;
    text-align: center;
  }

  .hero__title-highlight {
    display: inline-block;
    padding: 0 var(--sp-8);
    background: var(--c-white);
    color: var(--c-primary);
    border-radius: var(--radius-sm);
  }

  .hero__subtitle {
    max-width: 320px;
    margin: 0 auto var(--sp-24);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    text-align: center;
  }

  .hero__actions {
    display: flex;
    flex-direction: column;
    gap: var(--sp-12);
    width: 100%;
    max-width: 320px; /* Alinhado ao resto do bloco */
    margin: 0 auto;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    height: 360px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: 0 calc(-1 * var(--gutter));
  }

  /* Bento & Grid Overhaul — FORCE 1 COLUMN & RESET SPANS */
  .bento-grid, .services-grid, .why-grid, .careers__grid, .conv-page-grid, .reembolso-grid, .values-grid {
    grid-template-columns: 1fr !important;
    gap: var(--sp-32);
  }

  .bento-grid > article,
  .services-grid > article,
  .why-grid > article,
  .careers__grid > article,
  .values-grid > article {
    grid-column: span 1 !important;
    grid-row: auto !important;
  }

  .why-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 auto;
  }

  .tea__grid {
    display: flex;
    flex-direction: column;
    gap: var(--sp-40);
    text-align: center;
  }

  /* No Desktop ele volta pro Grid áreas pra foto ficar na direita de tudo */
  @media (min-width: 1025px) {
    .tea__grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      grid-template-areas: 
        "intro visual"
        "cta visual";
      text-align: left;
      align-items: center;
      gap: 0 var(--sp-64);
    }
    .tea__intro { grid-area: intro; }
    .tea__cta { grid-area: cta; }
    .tea__visual { 
      grid-area: visual;
      align-self: stretch;
      margin: 0;
    }
  }

  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-48);
  }

  .footer__brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer__logo {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
    margin-bottom: var(--sp-12);
  }

  .footer__logo-img {
    height: 54px;
    width: auto;
  }

  .footer__social {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .menu-toggle {
    display: flex;
    z-index: 2005;
  }

  .menu-toggle span {
    background: var(--c-white); /* White lines on Teal background (default) */
  }

  /* Scrolled or Active (Open) Toggle Colors */
  .is-scrolled .menu-toggle span,
  .menu-toggle.is-active span {
    background: var(--c-primary) !important;
  }

  .header__logo {
    z-index: 2005;
  }

  .header__nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: var(--c-bg); /* Solid background fix for contrast */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--sp-24);
    padding: var(--sp-80) var(--sp-32);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
  }

  /* Keep header solid when menu is open */
  .site-header:has(.header__nav.is-open) {
    background: var(--c-bg) !important;
    backdrop-filter: none !important;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header__link {
    font-size: 1.25rem; /* Reduced from 1.75rem for elegance */
    font-weight: 600; /* Less aggressive weight */
    color: var(--c-primary) !important;
    letter-spacing: 0.02em;
  }

  /* CENTRALIZED FOOTER & WHITE STRIP */
  .site-footer {
    border-top: 40px solid var(--c-white);
    text-align: center;
  }

  .footer__top {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__contact-list {
    align-items: center;
  }

  .footer__contact-item {
    justify-content: center;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .wpp-float {
    bottom: var(--sp-20);
    right: var(--sp-20);
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
  }

  .hero__trust {
    flex-direction: row;
    gap: var(--sp-8);
    justify-content: center;
    width: 100%;
  }

  .hero__trust-item {
    min-width: 0;
    flex: 1;
    padding: var(--sp-12) var(--sp-8);
  }

  .hero__trust-item strong {
    font-size: 1.15rem;
  }

  .hero__trust-item span {
    font-size: 0.65rem;
    white-space: nowrap;
  }

  .btn--lg {
    padding: var(--sp-12) var(--sp-24);
    font-size: var(--fs-small);
  }

  .section-areas,
  .section-why,
  .section-tea,
  .section-conv,
  .section-journey,
  .section-careers {
    padding: var(--sp-80) 0;
  }
}