@import url("./header.css");

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

:root {
  --deep: #f0f4f8;
  --deep-mid: #e2e8f0;
  --blue: #00b7ff;
  --blue-light: #e0f9ff;
  --error: #ff4d4f;
  --cyan: #00e5ff;
  --teal: #00e8bb;
  --bg: #ffffff;
  --card: #ffffff;
  --border: #e2e8f0;
  --fg: #0f172a;
  --fg-muted: #475569;
  --radius: 0.75rem;
  --font-heading: "Manrope", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --gradient-primary: linear-gradient(135deg, var(--blue), var(--teal));
  --gradient-secondary: linear-gradient(135deg, var(--blue), #00e5ff);
  --gradient-hero: radial-gradient(
    circle at top left,
    #f0f9ff 0%,
    #e0f2fe 50%,
    #ffffff 100%
  );

  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 12px 30px rgba(15, 23, 42, 0.08);
  --glow-blue: 0 0 40px rgba(0, 183, 255, 0.25);
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

/* ── Utilities ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header-actions {
  display: flex;
  gap: 0.7rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════ DOBRA 4 – CONCEITO OCC (INTEGRADO) ═══════ */
.occ-split-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .occ-split-layout {
    flex-direction: row;
  }
}

.occ-split-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.occ-visual-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  animation: float-integrated 8s ease-in-out infinite;
}

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

.occ-css-motor {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.motor-glow {
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(
    circle,
    rgba(0, 183, 255, 0.2) 0%,
    transparent 70%
  );
  filter: blur(40px);
  animation: pulse-motor 4s ease-in-out infinite alternate;
}

@keyframes pulse-motor {
  from {
    transform: scale(0.8);
    opacity: 0.5;
  }
  to {
    transform: scale(1.2);
    opacity: 1;
  }
}

.motor-core {
  position: relative;
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(0, 183, 255, 0.4);
  z-index: 5;
}

.motor-rings {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 180px;
  height: 180px;
  animation: rotate-ring 15s linear infinite;
}
.ring-2 {
  width: 260px;
  height: 260px;
  animation: rotate-ring 25s linear reverse infinite;
}
.ring-3 {
  width: 340px;
  height: 340px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.05);
}

@keyframes rotate-ring {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.v-node {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.v-node-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #00141c;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  z-index: 20;
  pointer-events: none;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Orbiting Animation Logic */
.orbit-path {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
}

.path-1 {
  animation: orbit-loop 20s linear infinite;
}
.path-2 {
  animation: orbit-loop 35s linear infinite;
}
.path-3 {
  animation: orbit-loop 50s linear infinite;
}

.path-1 .v-node {
  top: -110px;
  animation: counter-rotate 20s linear infinite;
}
.path-2 .v-node {
  top: 150px;
  animation: counter-rotate 35s linear infinite;
}
.path-3 .v-node {
  left: -190px;
  animation: counter-rotate 50s linear infinite;
}

@keyframes orbit-loop {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes counter-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.occ-split-content {
  flex: 1.4;
}

.occ-comparison-list {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comp-list-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.comp-list-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--blue);
  transform: translateX(10px);
}

.comp-list-item .dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--blue);
}

.comp-list-item strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
}

.comp-list-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .occ-split-layout {
    gap: 4rem;
    text-align: center;
  }

  .occ-comparison-list {
    align-items: center;
  }

  .comp-list-item {
    width: 100%;
    max-width: 400px;
    text-align: left;
  }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5.2rem; /* Compensação da altura do Header */
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  top: -25%;
  left: -25%;
  background: radial-gradient(circle, rgba(0, 183, 255, 0.12), transparent 70%);
  animation: pulse-orb 8s ease-in-out infinite;
}

.hero-orb--2 {
  width: 700px;
  height: 700px;
  bottom: -25%;
  right: -25%;
  background: radial-gradient(circle, rgba(0, 232, 187, 0.1), transparent 70%);
  animation: pulse-orb 10s ease-in-out infinite reverse;
}

@keyframes pulse-orb {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* ── Orbit Illustration ── */
.hero-visual {
  position: relative;
  height: 500px;
  display: grid;
  place-items: center;
}

.hero-main-element {
  position: relative;
  z-index: 5;
  width: 280px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-core {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.orbiting-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0.94;
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
    translate(var(--start-x, 0px), var(--start-y, 0px))
    rotate(var(--start-r, 0deg));
  transition:
    transform var(--settle-duration, 1.5s) cubic-bezier(0.2, 0.82, 0.22, 1)
      var(--settle-delay, 0s),
    opacity 0.7s ease var(--settle-delay, 0s);
  opacity: 0.78;
}

.node-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  animation: hero-node-chaos 2.8s ease-in-out infinite;
}

.node-icon {
  width: 1rem;
  height: 1rem;
  stroke: var(--blue);
  stroke-width: 2;
  fill: none;
}

.hero-visual.is-organized .orbit-item {
  transform: translate(-50%, -50%)
    translate(var(--final-x, 0px), var(--final-y, 0px)) rotate(0deg);
  opacity: 1;
}

.hero-visual.is-organized .node-box {
  animation: hero-node-breathe 4.3s ease-in-out infinite;
  border-color: rgba(0, 119, 182, 0.2);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

@keyframes hero-node-chaos {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-8px) rotate(1.6deg);
  }
}

@keyframes hero-node-breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.orbit-rings {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  transform: scale(0.88);
  transition:
    opacity 1.3s ease,
    transform 1.5s cubic-bezier(0.19, 0.82, 0.22, 1);
}

.orbit-rings circle {
  stroke: rgba(15, 23, 42, 0.05);
}

.hero-link-lines {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  transform: scale(0.86);
  transition:
    opacity 1.2s ease,
    transform 1.4s cubic-bezier(0.19, 0.82, 0.22, 1);
}

.hero-link line {
  stroke: rgba(15, 23, 42, 0.1);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  animation: hero-link-dash 15s linear infinite;
}

@keyframes hero-link-dash {
  to {
    stroke-dashoffset: 170;
  }
}

.link-dot {
  fill: var(--blue);
}

.link-core-dot {
  fill: var(--blue);
  opacity: 0.8;
  animation: hero-link-core 2.6s ease-in-out infinite;
}

@keyframes hero-link-core {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 1;
  }
}

.hero-visual.is-organized .hero-link-lines,
.hero-visual.is-organized .orbit-rings {
  opacity: 0.34;
  transform: scale(1);
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── Sections ── */
.section {
  padding: 8rem 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* ── Platform Image ── */
.platform-img {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}

.platform-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: 1.5rem;
  filter: blur(60px);
  opacity: 0.12;
  transform: scale(1.05);
  z-index: 0;
}

.platform-frame {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  z-index: 1;
}

.platform-main-image {
  width: 100%;
  height: auto;
  display: block;
}

.bg-muted {
  background: #f3f7fb;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .how-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .how-card:nth-child(1),
  .how-card:nth-child(2),
  .how-card:nth-child(3) {
    grid-column: span 2;
  }
  .how-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .how-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.how-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.how-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.how-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue);
  background: rgba(0, 183, 255, 0.1);
  width: fit-content;
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  letter-spacing: 0.1em;
}

.how-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #00141c;
}

.how-card p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.occ-tiered-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-top: 4.5rem;
}

.tiered-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 800px;
}

.tiered-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tiered-card.small:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.06);
}

.tiered-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #00141c;
}

.tiered-card span {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
}

.tiered-arrow {
  color: var(--blue);
  width: 2.5rem;
  height: 2.5rem;
  animation: tiered-bounce 2s infinite ease-in-out;
  opacity: 0.6;
}

.tiered-card.large {
  width: 100%;
  max-width: 680px;
  background: var(--gradient-primary);
  border: none;
  padding: 3.5rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 183, 255, 0.25);
  position: relative;
  transition: transform 0.4s ease;
}

.tiered-card.large:hover {
  transform: scale(1.02);
}

.featured-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #00141c;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 20px rgba(0, 20, 28, 0.2);
}

.featured-content strong {
  font-size: 3rem;
  color: #00141c;
}

.featured-content span {
  font-size: 1.25rem;
  color: #00141c;
  font-weight: 700;
}

@keyframes tiered-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.9;
  }
}

@media (max-width: 768px) {
  .tiered-top {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .tiered-card.large {
    padding: 3rem 1.5rem;
  }
  .featured-content strong {
    font-size: 2.25rem;
  }
  .featured-content span {
    font-size: 1.125rem;
  }
}

.bg-card {
  background: var(--bg);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
  }
  .bento-item:nth-child(1) {
    grid-column: span 4;
    grid-row: span 1;
  }
  .bento-item:nth-child(2) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-item:nth-child(3) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-item:nth-child(5) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-item:nth-child(6) {
    grid-column: span 6;
    grid-row: span 1;
  }
}

.bento-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: var(--blue);
}

.bento-item .benefit-icon {
  width: 3rem;
  height: 3rem;
  background: #f8fafc;
  border-radius: 1.1rem;
  display: grid;
  place-items: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.bento-item .benefit-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.bento-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00141c;
  margin-bottom: 0.5rem;
}

.bento-item p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Bento Variations */
.bento-dark {
  background: #00141c;
  border: none;
}

.bento-dark h3 {
  color: #fff;
}
.bento-dark p {
  color: rgba(255, 255, 255, 0.7);
}

.bento-dark .benefit-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.bento-blue {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #bae6fd;
}

.bento-teal {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  border-color: #99f6e4;
}

.bento-wide {
  flex-direction: row !important;
  align-items: center;
  background: #fff;
}

@media (max-width: 768px) {
  .bento-wide {
    flex-direction: column !important;
    align-items: flex-start;
  }
}

.bento-wide .benefit-icon {
  width: 4rem;
  height: 4rem;
}

.bento-wide-content {
  flex: 1;
}

@media (prefers-reduced-motion: reduce) {
  .orbit-item {
    transition: none;
  }

  .node-box {
    animation: none !important;
  }

  .hero-link-lines .hero-link line,
  .hero-link-lines .link-core-dot {
    animation: none !important;
  }
}

/* ═══════ DOBRA 6 – RECURSOS ═══════ */
.resources-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .resources-showcase {
    grid-template-columns: 300px 1fr;
    align-items: flex-start;
  }
}

.resources-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.resource-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.group-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  opacity: 0.8;
}

.resource-btn {
  background: none;
  border: none;
  text-align: left;
  padding: 0.85rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.resource-btn:hover {
  background: rgba(0, 183, 255, 0.05);
  color: var(--blue);
}

.resource-btn.active {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
}

.resource-btn.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 3.5px;
  background: var(--gradient-primary);
  border-radius: 0 4px 4px 0;
}

.resource-main {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.04);
}

.resource-info {
  padding: 3.5rem;
  border-bottom: 1px solid var(--border);
  min-height: 220px;
}

.resource-info h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #00141c;
  margin-bottom: 1.25rem;
  transition: all 0.4s ease;
}

.resource-info p {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 45rem;
  transition: all 0.4s ease;
}

#resource-content {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
}

#resource-content.switching {
  opacity: 0;
  transform: translateY(10px);
}

.resource-mockup {
  padding: 3rem;
  background: #f8fafc;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-window {
  width: 100%;
  max-width: 850px;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: perspective(1000px) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mockup-window:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-5px);
}

.mockup-header {
  height: 48px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mockup-header .dots {
  display: flex;
  gap: 8px;
}

.mockup-header .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.url-bar {
  flex: 1;
  background: #fff;
  height: 28px;
  border-radius: 6px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: var(--fg-muted);
  font-family: monospace;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.mockup-img.switching {
  opacity: 0;
}

@media (max-width: 1024px) {
  .resources-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .resource-info {
    padding: 2.5rem;
  }
}

@media (max-width: 640px) {
  .resources-sidebar {
    grid-template-columns: 1fr;
  }

  .resource-info h3 {
    font-size: 1.5rem;
  }
}

/* ═══════ DOBRA 7 – PROVA VISUAL ═══════ */
.visual-proof-wrapper {
  margin-top: 4rem;
  padding: 1rem;
  background: #f1f5f9;
  border-radius: 3rem;
  position: relative;
}

.browser-mockup {
  background: #fff;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.15);
  border: 1px solid var(--border);
  position: relative;
}

.browser-top {
  height: 54px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.browser-controls {
  display: flex;
  gap: 8px;
}

.browser-controls span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-address {
  flex: 1;
  background: #fff;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: var(--fg-muted);
  font-family: monospace;
}

.browser-body {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #fff;
}

.navigation-sim {
  width: 100%;
}

.sim-img {
  width: 100%;
  height: auto;
  animation: sim-scroll 30s ease-in-out infinite alternate;
}

@keyframes sim-scroll {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(0);
  }
  80% {
    transform: translateY(-40%);
  }
  100% {
    transform: translateY(-40%);
  }
}

.sim-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sim-cursor {
  position: absolute;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white" stroke="black" stroke-width="2"><path d="M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z"/></svg>')
    no-repeat;
  top: 50%;
  left: 50%;
  z-index: 10;
  animation: cursor-move 15s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes cursor-move {
  0% {
    top: 70%;
    left: 10%;
  }
  25% {
    top: 30%;
    left: 40%;
  }
  50% {
    top: 60%;
    left: 80%;
  }
  75% {
    top: 20%;
    left: 60%;
  }
  100% {
    top: 70%;
    left: 10%;
  }
}

.sim-tooltip {
  position: absolute;
  top: 70%;
  left: 10%;
  transform: translate(20px, 20px);
  background: var(--blue);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 183, 255, 0.3);
  animation: tooltip-move 15s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes tooltip-move {
  0% {
    top: 70%;
    left: 10%;
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  25% {
    top: 30%;
    left: 40%;
    opacity: 0;
  }
  74% {
    opacity: 0;
  }
  75% {
    top: 20%;
    left: 60%;
    opacity: 1;
  }
  100% {
    top: 70%;
    left: 10%;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .browser-body {
    height: 400px;
  }
}

/* ═══════ DOBRA 8 – CTA FINAL ═══════ */
.cta-form-wrapper {
  max-width: 800px;
  margin: 4rem auto 0;
}

.glass-form {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.5rem;
  padding: 4rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
}

@media (min-width: 780px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-left: 0.5rem;
}

.form-group input,
.form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 183, 255, 0.15);
}

.form-group select option {
  background: #00141c;
  color: #fff;
}

.cta-success-msg {
  text-align: center;
  padding: 4rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2.5rem;
  animation: scale-up 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scale-up {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-icon {
  width: 4.5rem;
  height: 4.5rem;
  background: var(--gradient-primary);
  color: #00141c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 2rem;
}

.cta-success-msg h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-success-msg p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 30rem;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .glass-form {
    padding: 0;
    border-radius: 0;
    background: unset;
    backdrop-filter: unset;
    border: unset;
    box-shadow: unset;
  }
}

/* ═══════ FOOTER ═══════ */
.site-footer {
  background: #000c12;
  color: rgba(255, 255, 255, 0.5);
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2.5fr 1fr 1.5fr 1.2fr;
    gap: 3rem;
  }
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 20rem;
  margin-bottom: 2rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

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

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
  .site-footer {
    padding: 4rem 0 2rem;
  }

  .footer-grid {
    gap: 3rem;
  }
}

/* ── Internal content system ── */
.internal-page {
  padding-top: 5rem;
}

.content-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

.legal-doc {
  max-width: 860px;
}

.h1 {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  margin-bottom: 1rem;
}

.h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}

.h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.body {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

.small {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.legal-doc h2 {
  margin-top: 1.6rem;
}

.legal-doc p {
  color: var(--fg-muted);
  line-height: 1.75;
  margin: 0 0 1rem;
}

.legal-doc .h1 {
  margin-bottom: 1.2rem;
}

.legal-doc .h3 {
  margin-top: 1.4rem;
}

.legal-doc ul {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.legal-page .content-shell {
  padding-top: 2.2rem;
}

/* ── Internal pages ── */
.internal-hero {
  position: relative;
  padding: 9rem 0 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.internal-hero .section-header {
  margin-bottom: 0;
}

.internal-hero .section-header p {
  color: rgba(255, 255, 255, 0.72);
}

.internal-hero .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 999px;
}

.aceitar-termos {
  margin-top: 2rem;
}
.aceitar-termos label {
  font-size: 0.95rem;
  color: #fff;
  margin-left: 0.2rem;
}

.aceitar-termos a {
  color: var(--blue-light);
  text-decoration: underline;
}

.aceitar-termos a:hover {
  color: var(--blue);
}

.error-message {
  color: var(--error);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  line-height: 1.3;
}
.aceitar-termos .error-message {
  margin-top: -22px;
  margin-left: 17px;
}
