/* =============================================
   BOTÕES
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 740;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: #fff;
}

.btn-dark {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.btn-purple {
  border: 0;
  background: linear-gradient(135deg, var(--violet), var(--violet-2) 54%, var(--violet-deep));
  color: #fff;
}

.btn-purple:hover {
  background: linear-gradient(135deg, #4a00b0, #5a28cc 54%, #221848);
  color: #fff;
}

.btn-ghost-light {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: calc(100vh - 58px);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  background: #05040a;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.82) 55%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: 100%;
  max-width: 760px;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-title-accent {
  color: var(--violet);
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 620px;
  margin-top: 14px;
  color: rgba(255,255,255,0.76);
  font-size: 19px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  margin-top: 18px;
}

.hero-art {
  width: 100%;
  min-height: 500px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* =============================================
   STATS
   ============================================= */
.stats-band {
  position: relative;
}

.stats-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.stats-headline {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}

.stats-headline .title-bold {
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stats-grid .stat:nth-child(1) { grid-column: 1 / 2; }
.stats-grid .stat:nth-child(2) { grid-column: 2 / 3; }
.stats-grid .stat:nth-child(3) { grid-column: 1 / 2; }
.stats-grid .stat:nth-child(4) { grid-column: 2 / 3; }

.stat {
  min-height: 240px;
  padding: 36px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--line);
}

.stat--light {
  background: #fff;
}

.stat--lavender {
  background: #eeecf8;
  border-color: transparent;
}

.stat--dark {
  background: #111016;
  border-color: transparent;
  flex-direction: row;
  padding: 0;
  overflow: hidden;
  min-height: 280px;
}

.stat-bg-video {
  width: 35%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.stat-dark-content {
  display: flex;
  flex-direction: column;
  padding: 36px;
  flex: 1;
}

.stat--dark .stat-dot {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.stat-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
  margin-bottom: 20px;
}

.stat strong {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--ink);
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
  font-weight: 900;
}

.stat strong .plus {
  color: var(--violet);
  font-size: 1em;
  line-height: 0.9;
}

.stat .stat-location {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
}

.stat.stat--dark .label {
  color: rgba(255, 255, 255, 0.75);
}

.stat-subtitle {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.stat .label {
  display: block;
  margin-top: auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.stat-tech-kicker {
  margin-bottom: 20px;
}

.stat-tech-logos {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 12px;
}

.stat-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  text-align: center;
}

.stat-tech-item img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.stat-tech-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.stat-tech-sep {
  width: 1px;
  height: 56px;
  background: var(--line);
  flex-shrink: 0;
}

/* =============================================
   CLIENTES / LOGOS
   ============================================= */
.logos .section-head h2 {
  font-weight: 400;
}

.logos .section-head h2 .title-bold {
  font-weight: 600;
}

.logos {
  background: #fff;
}

.logos-marquee {
  overflow: hidden;
  display: flex;
  gap: 16px;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.logos-marquee + .logos-marquee {
  margin-top: 16px;
}

.logos-track {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  animation: marquee-scroll 40s linear infinite;
}

.logos-track--reverse {
  animation-name: marquee-scroll-reverse;
}

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

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 16px)); }
}

@keyframes marquee-scroll-reverse {
  from { transform: translateX(calc(-100% - 16px)); }
  to   { transform: translateX(0); }
}

.logo-slot {
  flex-shrink: 0;
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 20px 24px;
}

.logo-slot img {
  max-width: 120px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* =============================================
   SERVIÇOS
   ============================================= */
.what {
  background: #faf9ff;
}

.what-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 0;
  align-items: stretch;
}

.what-copy {
  align-self: center;
  padding-right: 52px;
}

.what-copy h2 {
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.02;
}

.what-copy h2 .title-bold {
  font-weight: 600;
}

.what-copy .lead {
  margin-top: 24px;
}

.service-list {
  align-self: start;
  border-left: 1px solid rgba(17,16,22,0.14);
  border-top: 1px solid rgba(17,16,22,0.14);
}

.service-row {
  border-bottom: 1px solid rgba(17,16,22,0.14);
  transition: background 220ms ease;
}

.service-row.is-open {
  background: #e8e3f8;
}

.service-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.service-num {
  min-width: 44px;
  color: var(--violet);
  font-size: 15px;
  font-weight: 500;
  flex-shrink: 0;
}

.service-name {
  flex: 1;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}

.service-arrow {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 280ms ease, color 220ms ease;
}

.service-row.is-open .service-arrow {
  transform: rotate(180deg);
  color: var(--violet);
}

.service-body {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  transition: grid-template-rows 280ms ease;
}

.service-row.is-open .service-body {
  grid-template-rows: minmax(0, 1fr);
}

.service-body-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 28px 0 88px;
  transition: padding-bottom 280ms ease;
}

.service-row.is-open .service-body-inner {
  padding-bottom: 28px;
}

.service-tag {
  display: block;
  margin-bottom: 10px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-body-inner p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 540px;
  margin: 0;
}

/* =============================================
   CASES
   ============================================= */
.cases {
  background: #fff;
}

.cases .section-head h2 {
  font-weight: 400;
}

.cases .section-head h2 .title-bold {
  font-weight: 700;
}

.cases-carousel-wrapper {
  position: relative;
}

.cases-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.cases-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-controls {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 20px;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.carousel-btn:hover {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.case-card {
  flex: 0 0 calc(100% / 3);
  min-height: 390px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: #c8c8cc;
  color: #fff;
  scroll-snap-align: start;
}

.case-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
  color: rgba(0,0,0,0.18);
}

.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}

.case-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  min-height: 390px;
}

.case-card .meta {
  position: absolute;
  top: 26px;
  left: 26px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card h3 {
  margin-bottom: 12px;
  font-size: 27px;
  line-height: 1.06;
}

.case-desc {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-desc.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.case-desc.measuring {
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}

.case-read-more {
  display: inline-block;
  margin-top: 8px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================================
   VENTURE LAB
   ============================================= */
.venture {
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(112,216,231,0.18), transparent 24rem),
    radial-gradient(circle at 24% 74%, rgba(95,0,220,0.38), transparent 28rem),
    #05040a;
  overflow: hidden;
}

.venture .section-kicker {
  color: var(--green);
}

.venture .lead {
  color: rgba(255,255,255,0.72);
}

/* Header: kicker + brand title */
.venture-header {
  padding-bottom: 28px;
}

.venture-brand-title {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
  margin: 10px 0 0;
}

.venture-dot {
  color: var(--violet);
}

.venture-header-desc {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.65;
  align-self: end;
}

.venture-divider {
  height: 1px;
  background: rgba(255,255,255,0.13);
  margin: 0 0 72px;
}

/* Main block: display title | lead + CTAs */
.venture-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.venture-display {
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
}

.vt-thin {
  display: block;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
}

.vt-bold {
  display: block;
  font-weight: 800;
  color: #fff;
}

.vt-accent {
  display: block;
  font-weight: 800;
  color: var(--violet);
}

.venture-side {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Timeline steps */
.venture-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  padding-top: 56px;
}

.venture-timeline::before {
  content: '';
  position: absolute;
  top: 84px;
  left: 10%;
  right: 10%;
  height: 0;
  border-top: 2px dashed rgba(255,255,255,0.22);
}

.vstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}

.vstep-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 24px;
}

.vstep strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: block;
}

.vstep p {
  font-size: 13px;
  color: rgba(255,255,255,0.56);
  line-height: 1.55;
}

/* =============================================
   SOBRE
   ============================================= */
.about {
  background: #fff;
}

.about .section-head {
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about .section-head h2 {
  font-weight: 400;
}

.about .section-head h2 .title-bold {
  font-weight: 600;
}

.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
}

.pillars {
  display: grid;
  gap: 0;
}

.pillar {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.pillar-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
  padding-top: 4px;
}

.pillar-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: default;
  text-align: left;
}

.pillar-toggle h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--ink);
}

.pillar-arrow {
  display: none;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 200ms ease;
}

.pillar-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.62;
  margin-top: 8px;
}

/* =============================================
   INSIGHTS
   ============================================= */
.insights {
  background: var(--paper);
}

.insights-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
}

.insight-card {
  min-height: 260px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(17,16,22,0.13);
  background: #fff;
  display: grid;
  align-content: space-between;
}

.insight-card:first-child {
  min-height: 420px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(112,216,231,0.24), transparent 12rem),
    linear-gradient(135deg, var(--violet), var(--violet-deep));
}

.insight-card span {
  color: var(--violet);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.insight-card:first-child span {
  color: var(--green);
}

.insight-card h3 {
  font-size: 30px;
  line-height: 1.06;
}

.insight-card p {
  color: var(--muted);
  line-height: 1.58;
}

.insight-card:first-child p {
  color: rgba(255,255,255,0.76);
}

/* =============================================
   COMO PENSAMOS
   ============================================= */
.comopensamos {
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(112,216,231,0.18), transparent 24rem),
    radial-gradient(circle at 24% 74%, rgba(95,0,220,0.38), transparent 28rem),
    #05040a;
  overflow: hidden;
}

.comopensamos .section-head {
  gap: 32px;
  align-items: center;
}

.comopensamos .section-head h2 {
  font-weight: 400;
}

.pensamos-accent {
  color: var(--violet);
  font-weight: 700;
}

.comopensamos .section-kicker {
  color: var(--green);
}

.comopensamos .lead {
  color: rgba(255,255,255,0.65);
}

.pensamos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.25);
}

.pensamos-card {
  background: transparent;
  padding: 36px 32px 44px;
  border-right: 1px solid rgba(255,255,255,0.25);
}

.pensamos-card:last-child {
  border-right: none;
}

.pensamos-card--offset {
  margin-top: 0;
}

.pensamos-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 28px;
}

.pensamos-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.pensamos-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.62;
}

/* =============================================
   QUEM FAZ
   ============================================= */
.quemfaz {
  background: #fff;
}

.quemfaz-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-areas:
    "copy  image"
    "cta   image";
  column-gap: 80px;
  row-gap: 32px;
  align-items: start;
}

.quemfaz-copy  { grid-area: copy; }
.quemfaz-image { grid-area: image; align-self: stretch; }
.quemfaz-cta   { grid-area: cta; align-self: start; }

.quemfaz-copy h2 {
  font-weight: 400;
  margin-top: 14px;
  margin-bottom: 24px;
}

.quemfaz-cta {
  padding: 0 48px;
  justify-self: start;
}

.quemfaz-copy h2 .title-bold {
  font-weight: 600;
}

.quemfaz-image {
  border-radius: 20px;
  overflow: hidden;
}

.quemfaz-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* =============================================
   CONTATO
   ============================================= */
.contact {
  color: #fff;
  background: #05040a;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 36px;
  align-items: start;
}

.contact .section-kicker {
  color: var(--green);
}

.contact h2 {
  font-weight: 300;
}

.contact-accent {
  font-weight: 700;
  color: var(--violet);
}

.contact .lead {
  color: rgba(255,255,255,0.72);
  margin-top: 24px;
}

.contact-card {
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.045);
}

.contact-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 24px;
}

.contact-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.contact-tab-btn.is-active {
  color: #fff;
  border-bottom-color: var(--violet);
  font-weight: 600;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

[data-mode-fields] {
  display: contents;
}

[data-mode-fields][hidden] {
  display: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font: inherit;
  outline: 0;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--violet-2);
  outline: 2px solid rgba(111,56,239,0.4);
  outline-offset: 2px;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: rgba(239,68,68,0.7);
  outline: 2px solid rgba(239,68,68,0.25);
  outline-offset: 2px;
}

.phone-group {
  display: flex;
  gap: 8px;
}

.phone-group .phone-code {
  flex: 0 0 auto;
  width: auto;
  min-width: 64px;
  padding: 0 6px;
}

.phone-group input {
  flex: 1;
  min-width: 0;
}

select option {
  background: #1a1825;
  color: #fff;
}

textarea {
  grid-column: 1 / -1;
  min-height: 138px;
  padding-top: 14px;
  resize: vertical;
}

.form-lgpd {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.form-lgpd input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--violet-2);
  cursor: pointer;
}

.h-captcha {
  grid-column: 1 / -1;
  max-width: 100%;
  overflow: hidden;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,0.62);
  font-size: 14px;
}

/* =============================================
   MODAL DE SUCESSO
   ============================================= */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  padding: 24px;
}

.success-modal[hidden] {
  display: none;
}

.success-modal-box {
  position: relative;
  max-width: 480px;
  width: 100%;
  padding: 48px 40px 40px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    radial-gradient(circle at 90% 10%, rgba(95,0,220,0.28), transparent 20rem),
    radial-gradient(circle at 10% 90%, rgba(112,216,231,0.12), transparent 18rem),
    #05040a;
  color: #fff;
  text-align: center;
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.success-modal-check {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  width: 72px;
  height: 72px;
}

.success-modal-check svg {
  width: 72px;
  height: 72px;
}

.success-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.4;
}

.success-modal-msg {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin: 0 0 16px;
}

.success-modal-closing {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  margin: 0 0 32px;
}

.success-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.success-modal-close:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.form-feedback {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  color: #4ade80;
}

.form-feedback.error {
  display: block;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.4);
  color: #f87171;
}

/* ── ACADEMY ────────────────────────────────── */
.academy {
  background: #faf9ff;
  color: var(--ink);
  overflow: hidden;
}

.academy .section-kicker {
  color: var(--violet);
}

.academy-header {
  padding-bottom: 28px;
}

.academy-brand-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  margin: 10px 0 0;
}

.academy-dot {
  color: var(--violet);
}

.academy-watermark {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.academy-watermark img {
  width: clamp(60px, 9vw, 120px);
  height: clamp(60px, 9vw, 120px);
  opacity: 0.07;
  user-select: none;
  pointer-events: none;
}

.academy-header-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 260px;
  text-align: right;
}

.academy-divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 64px;
}

.academy-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.academy-display {
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin: 0;
}

.academy-display strong {
  font-weight: 800;
}

.ac-normal {
  display: block;
  color: var(--ink);
}

.ac-accent {
  display: block;
  color: var(--violet);
}

.ac-violet {
  color: var(--violet);
}

.academy-side {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.academy-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.academy-img-wrap {
  background: #ede5ff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
}

.academy-img-wrap img {
  width: 100%;
  display: block;
  mix-blend-mode: multiply;
}

.academy-tabs-area {
  display: flex;
  flex-direction: column;
}

.academy-tab-btns {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 14px 0 24px;
}

.academy-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.academy-tab-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--violet);
  font-weight: 600;
}

.academy-tab-panel {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 0;
}

.academy-steps-kicker {
  margin-top: 32px;
  margin-bottom: 14px !important;
}

.academy-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
}

.academy-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}

.academy-step:nth-child(-n+3) {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.academy-step:nth-child(n+4) {
  padding-left: 24px;
}

.ac-step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: 0.05em;
  min-width: 20px;
}
