/* ============================================================
   CristaCore Systems — styles.css
   Palette: Navy #0d2137 | Teal #2a9d8f | Light teal #3fc4b4
   ============================================================ */

:root {
  --navy:        #0d2137;
  --navy-mid:    #163352;
  --navy-light:  #1e4a73;
  --teal:        #2a9d8f;
  --teal-light:  #3fc4b4;
  --teal-pale:   #e6f7f5;
  --green-accent:#38b06b;
  --white:       #ffffff;
  --off-white:   #f5f9fc;
  --text:        #0d2137;
  --muted:       #4a6480;
  --border:      #d0e2ef;

  --font-body:   'Inter', sans-serif;
  --font-display:'Sora', sans-serif;

  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(13,33,55,0.10);
  --shadow-lg:   0 8px 48px rgba(13,33,55,0.15);

  --container:   1160px;
  --section-pad: 5rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* —— Container —— */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* —— Buttons —— */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.button--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.button--primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(42,157,143,0.35);
}

.button--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.button--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.button--nav {
  background: var(--teal);
  color: var(--white);
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}
.button--nav:hover {
  background: var(--teal-light);
}

.button--team {
  background: var(--navy);
  color: var(--white);
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid var(--navy);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.button--team:hover {
  background: var(--navy-mid);
  border-color: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13, 33, 55, 0.25);
}

.button--team-hero {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 2px solid rgba(63, 196, 180, 0.65);
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.button--team-hero:hover {
  background: rgba(63, 196, 180, 0.2);
  border-color: var(--teal-light);
  transform: translateY(-2px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav a.nav-link--team {
  color: var(--navy);
  font-weight: 700;
}

.nav a.nav-link--team:hover {
  color: var(--teal);
}

.footer-link--team {
  font-weight: 700;
  color: var(--teal-light) !important;
}

.hero-team-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36rem;
  line-height: 1.5;
}

.hero-team-note strong {
  color: var(--teal-light);
}

.button--full {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

/* —— Eyebrow —— */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

/* —— Section headings —— */
.section-heading {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

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

.section-heading--light .eyebrow {
  color: var(--teal-light);
}

.section-intro {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* —— Sections —— */
.section {
  padding-block: var(--section-pad);
}

.section--alt {
  background: var(--off-white);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 0.75rem;
}

.brand-logo {
  height: 88px;
  width: auto;
  object-fit: contain;
  transition: filter 0.35s ease;
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 0 10px rgba(42,157,143,0.55));
}

.nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--teal); }

.menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}
.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0e3a4a 100%);
  padding-block: 5rem 4rem;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(42,157,143,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.hero-content { color: var(--white); }

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.highlight {
  color: var(--teal-light);
  position: relative;
  text-shadow: 0 0 48px rgba(63,196,180,0.35), 0 0 96px rgba(63,196,180,0.15);
}

.hero-content .eyebrow { color: var(--teal-light); margin-bottom: 0.75rem; }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-actions .button--primary {
  background: var(--teal);
  border-color: var(--teal);
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.hero-actions .button--ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.hero-actions .button--ghost:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
}

.stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.3;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 380px;
}

.mock-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  animation: float-card 3s ease-in-out infinite;
  will-change: transform;
}

.mock-card--2 { animation-delay: 0.6s; }
.mock-card--3 { animation-delay: 1.2s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.mock-icon { font-size: 1.5rem; flex-shrink: 0; }

.mock-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}

.mock-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.1rem;
}

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pain-card {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pain-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-top-color: var(--teal);
}

.pain-icon-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.pain-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-pale) 0%, #d0f2ee 100%);
  border: 1px solid rgba(42,157,143,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
  transition: background 0.2s;
  animation: icon-breathe 3s ease-in-out infinite;
}

.pain-card:nth-child(2) .pain-icon { animation-delay: 0.4s; }
.pain-card:nth-child(3) .pain-icon { animation-delay: 0.8s; }
.pain-card:nth-child(4) .pain-icon { animation-delay: 1.2s; }
.pain-card:nth-child(5) .pain-icon { animation-delay: 1.6s; }
.pain-card:nth-child(6) .pain-icon { animation-delay: 2s; }

@keyframes icon-breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.06); }
}

.pain-card:hover .pain-icon {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: var(--white);
}

.pain-icon svg {
  width: 26px;
  height: 26px;
}

.pain-organ {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.8;
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.pain-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.solution-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.solution-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.solution-card__top {
  padding: 1.5rem 1.75rem 1.25rem;
}

.solution-card__top--1 {
  background: linear-gradient(135deg, #0d4f47 0%, var(--teal) 100%);
}
.solution-card__top--2 {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.solution-card__top--3 {
  background: linear-gradient(135deg, #0a3a5c 0%, #1a6a8a 100%);
}

.solution-icon-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.solution-organ-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: background 0.2s;
}

.solution-card:hover .solution-organ-icon {
  background: rgba(255,255,255,0.25);
}

.solution-organ-icon svg {
  width: 28px;
  height: 28px;
}

.solution-organ-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.solution-card__body {
  padding: 1.5rem 1.75rem;
}

.solution-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.solution-card__body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin-inline: auto;
  position: relative;
}

.steps-list::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--teal-light));
  opacity: 0.3;
}

.step {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--off-white);
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.step-body p {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 900px;
  margin-inline: auto;
}

.diff-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}

.diff-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.diff-item p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}

/* ============================================================
   PHASES
   ============================================================ */
.phases-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.phase-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--teal);
  padding: 0 0.5rem;
  margin-top: 3.5rem;
  opacity: 0.5;
}

.phase-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}

.phase-block:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.phase-block__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  color: var(--white);
}

.phase-block__header--1 {
  background: linear-gradient(135deg, var(--teal) 0%, #1a7a6e 100%);
}

.phase-block__header--2 {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
}

.phase-block__header--3 {
  background: linear-gradient(135deg, #1a5276 0%, #0d2137 100%);
  position: relative;
  overflow: hidden;
}

.phase-block__header--3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(42,157,143,0.2));
  pointer-events: none;
}

.phase-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
}

.phase-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.15rem;
}

.phase-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.phase-block__body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phase-subtitle {
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.phase-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.phase-list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.4;
}

.phase-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.8rem;
}

.phase-metric {
  margin-top: 0.25rem;
  padding: 0.65rem 1rem;
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  border-radius: 0 6px 6px 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .phases-track {
    grid-template-columns: 1fr;
  }
  .phase-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
    padding: 0.25rem 0;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-benefits li {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}

/* Contact channels */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.contact-channel:hover {
  border-color: var(--teal);
  box-shadow: 0 2px 12px rgba(42,157,143,0.12);
}

.channel-icon { font-size: 1.4rem; flex-shrink: 0; }

.contact-channel strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-channel span {
  font-size: 0.92rem;
  color: var(--teal);
  font-weight: 500;
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,157,143,0.15);
}

.form-group textarea { resize: vertical; }

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* Form states */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--teal);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding-block: 2.5rem;
  border-top: 3px solid var(--teal);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }

.footer-brand p {
  font-size: 0.82rem;
  margin-top: 0.4rem;
  color: rgba(255,255,255,0.5);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--teal-light); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

/* ============================================================
   BRAND WATERMARK & IDENTITY
   ============================================================ */

/* The SVG icon—used only as decorative background in dark sections */
.brand-orbit {
  width: 100%;
  height: 100%;
  animation: crista-orbit 28s linear infinite;
  will-change: transform;
}

.brand-orbit path[stroke="#3fc4b4"] {
  animation: brand-wave 2.4s ease-in-out infinite;
}

.brand-orbit path[stroke="#3fc4b4"]:nth-of-type(2) { animation-delay: 0s; }
.brand-orbit path[stroke="#3fc4b4"]:nth-of-type(3) { animation-delay: 0.15s; }
.brand-orbit path[stroke="#3fc4b4"]:nth-of-type(4) { animation-delay: 0.3s; }
.brand-orbit path[stroke="#3fc4b4"]:nth-of-type(5) { animation-delay: 0.45s; }

@keyframes brand-wave {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1; }
}

/* Hero watermark — large, faded, centered on the right */
.hero-watermark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(320px, 50vw, 600px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.16;
}

/* Security section watermark — reversed, left side */
.section-watermark {
  position: absolute;
  left: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 40vw, 480px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
}
.section-watermark .brand-orbit {
  animation-duration: 36s;
  animation-direction: reverse;
}

/* Footer watermark — centered, very faint */
.footer-watermark {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 28vw, 340px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
}
.footer-watermark .brand-orbit {
  animation-duration: 44s;
}

/* Hero content must stay above the watermark */
.hero-inner    { position: relative; z-index: 1; }
.section--dark { position: relative; overflow: hidden; }
.section--dark > .container { position: relative; z-index: 1; }
.footer        { position: relative; overflow: hidden; }
.footer > .container { position: relative; z-index: 1; }

@keyframes crista-orbit {
  to { transform: rotate(360deg); }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --section-pad: 3.5rem; }

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

  .hero-visual { order: -1; }

  .hero-stats { gap: 1.25rem; }

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

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow);
  }

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

  .menu-button { display: flex; }

  .button--nav { display: none; }

  .header-actions {
    display: none;
  }

  .nav a.nav-link--team {
    color: var(--teal);
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    font-size: 1rem;
  }

  .header-inner { position: relative; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .pain-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .mock-card,
  .pain-icon,
  .brand-orbit,
  .brand-orbit path[stroke="#3fc4b4"] { animation: none; }
}

/* ============================================================
   JORNADAS
   ============================================================ */

.journey-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.journey-btn {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: center;
  font-family: var(--font-body);
}

.journey-btn:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
}

.journey-btn.is-active {
  border-color: var(--teal);
  background: var(--teal-pale);
  box-shadow: 0 2px 16px rgba(42,157,143,0.18);
}

.journey-btn__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-light);
  transition: background 0.2s, color 0.2s;
}

.journey-btn__icon svg {
  width: 24px;
  height: 24px;
}

.journey-btn.is-active .journey-btn__icon {
  background: var(--teal);
  color: var(--white);
}

.journey-btn__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.journey-btn__role {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--off-white);
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.journey-btn.is-active .journey-btn__role {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* Stage + panels */
.journey-stage {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.journey-panel {
  display: none;
}

.journey-panel.is-active {
  display: block;
  animation: fadein 0.25s ease;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Steps grid */
.journey-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

.journey-step {
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.journey-step__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.journey-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.journey-step__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.journey-step p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.journey-step p em {
  color: var(--navy);
  font-style: normal;
  font-weight: 600;
}

.journey-step-arrow {
  color: var(--teal-light);
  font-size: 1.25rem;
  font-weight: 700;
  align-self: center;
  padding: 0 0.25rem;
}

/* Feature tags */
.journey-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.journey-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--teal);
  background: var(--teal-pale);
  border: 1px solid rgba(42,157,143,0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
}

/* Responsive */
@media (max-width: 900px) {
  .journey-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .journey-step-arrow {
    display: none;
  }

  .journey-btn {
    min-width: calc(50% - 0.5rem);
    flex: none;
  }

  .journey-stage {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 500px) {
  .journey-btn {
    min-width: calc(50% - 0.25rem);
    padding: 1rem 0.75rem;
  }
}

/* ============================================================
   LEGAL PAGES (privacidade)
   ============================================================ */
.legal-page {
  position: relative;
  overflow: hidden;
  padding-block: 3.5rem 4.5rem;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 45%, #0a1f2e 100%);
  min-height: calc(100vh - 72px);
}

.legal-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(42,157,143,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(63,196,180,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.legal-watermark--hero {
  position: absolute;
  right: -6%;
  top: 8%;
  width: clamp(280px, 42vw, 520px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
}

.legal-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.legal-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--white);
}

.legal-hero .eyebrow {
  color: var(--teal-light);
  margin-bottom: 0.75rem;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.legal-hero .highlight {
  color: var(--teal-light);
  text-shadow: 0 0 48px rgba(63,196,180,0.35);
}

.legal-updated {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.legal-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  max-width: 620px;
  margin-inline: auto;
}

.legal-card {
  background: rgba(14, 35, 58, 0.72);
  border: 1px solid rgba(63, 196, 180, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28);
}

.legal-card section {
  margin-bottom: 2rem;
}

.legal-card section:last-of-type {
  margin-bottom: 0;
}

.legal-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-light);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(63, 196, 180, 0.15);
}

.legal-card p,
.legal-card li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.legal-card strong {
  color: var(--white);
}

.legal-card ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.legal-card a {
  color: var(--teal-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.legal-back {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(63, 196, 180, 0.2);
}

@media (max-width: 820px) {
  .legal-watermark--hero {
    right: -25%;
    top: 2%;
    opacity: 0.1;
  }

  .legal-hero {
    text-align: left;
  }

  .legal-intro {
    margin-inline: 0;
  }
}
