/* ============================================================
   SOCIAL AI — Design System & Styles
   Stack: Vanilla CSS | Fonts: Syne + Outfit (Google Fonts)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Colors */
  --purple: #8A2BE2;
  --pink: #FF1493;
  --gradient: linear-gradient(135deg, var(--purple), var(--pink));
  --gradient-reverse: linear-gradient(135deg, var(--pink), var(--purple));
  --gradient-horizontal: linear-gradient(90deg, var(--purple), var(--pink));

  /* Neutrals */
  --bg-white: #FFFFFF;
  --bg-ice: #F5F5F5;
  --bg-light: #FAFAFA;
  --text-dark: #1A1A2E;
  --text-body: #444466;
  --text-muted: #8888AA;
  --border-light: rgba(138, 43, 226, 0.12);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Spacing (8pt grid) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-5xl: 120px;

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(138, 43, 226, 0.08);
  --shadow-md: 0 8px 32px rgba(138, 43, 226, 0.10);
  --shadow-lg: 0 16px 48px rgba(138, 43, 226, 0.14);
  --shadow-glow: 0 0 24px rgba(255, 20, 147, 0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: #F0E6FA;
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(138, 43, 226, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(255, 20, 147, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255, 192, 203, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(230, 230, 250, 0.20) 0%, transparent 45%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated aurora shimmer overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(138, 43, 226, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(255, 20, 147, 0.06) 0%, transparent 50%);
  animation: aurora-shift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora-shift {
  0% {
    opacity: 0.6;
    transform: scale(1) translate(0, 0);
  }

  50% {
    opacity: 1;
    transform: scale(1.05) translate(-2%, 3%);
  }

  100% {
    opacity: 0.7;
    transform: scale(1.02) translate(3%, -2%);
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.15;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  font-size: 1.05rem;
  max-width: 60ch;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: var(--space-5xl) 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background var(--duration-fast);
}

.btn:hover::after {
  background: rgba(255, 255, 255, 0.12);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-outline:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: background var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    padding var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.08);
  padding: var(--space-sm) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.navbar__logo img {
  height: 99px;
  width: auto;
  margin-left: var(--space-lg);
  mix-blend-mode: multiply;
}

.navbar__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.navbar__cta {
  display: flex;
  align-items: center;
}

.navbar__links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-dark);
  transition: color var(--duration-fast);
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width var(--duration-normal) var(--ease-out);
}

.navbar__links a:hover {
  color: var(--purple);
}

.navbar__links a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out),
    opacity var(--duration-fast);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: transparent;
  padding-top: 100px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: hero-glow-1 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 20, 147, 0.10) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  animation: hero-glow-2 10s ease-in-out infinite alternate;
}

@keyframes hero-glow-1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-30px, 20px) scale(1.1);
    opacity: 1;
  }
}

@keyframes hero-glow-2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }

  100% {
    transform: translate(20px, -15px) scale(1.05);
    opacity: 1;
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  min-height: calc(100vh - 100px);
  max-width: 1440px;
  padding-left: 5%;
  padding-right: 5%;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding-bottom: var(--space-xl);
  padding-right: var(--space-2xl);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(138, 43, 226, 0.08);
  color: var(--purple);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  margin-bottom: var(--space-lg);
  line-height: 1.05;
}

.hero__title .gradient-text {
  font-style: italic;
  display: inline;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  max-width: 460px;
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  justify-content: flex-start;
}

.hero__stats {
  display: inline-flex;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-xl);
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  -webkit-text-fill-color: var(--text-dark);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero Visual — Avatar anchored bottom-right, massive */
.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  z-index: 1;
  pointer-events: none;
}

.hero__avatar-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero__avatar-bg {
  display: none;
}

@keyframes morph {

  0%,
  100% {
    border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  }

  25% {
    border-radius: 55% 45% 40% 60% / 45% 55% 50% 50%;
  }

  50% {
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 45%;
  }

  75% {
    border-radius: 60% 40% 45% 55% / 40% 60% 45% 55%;
  }
}

.hero__avatar {
  height: 104%;
  width: auto;
  max-width: none;
  border-radius: 0;
  position: absolute;
  bottom: 0;
  right: -20px;
  z-index: 2;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: auto;
}

/* Floating Badges (Glassmorphism — spread around model) */
.floating-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(138, 43, 226, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  white-space: nowrap;
}

.floating-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Position badges freely around the model */
.floating-badge--brain {
  top: 8%;
  right: -5%;
  animation: float-1 4s ease-in-out infinite;
}

.floating-badge--trend {
  top: 28%;
  left: 10%;
  right: auto;
  animation: float-2 5s ease-in-out infinite;
}

.floating-badge--heart {
  bottom: 18%;
  right: -8%;
  animation: float-3 4.5s ease-in-out infinite;
}

@keyframes float-1 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-16px) rotate(2deg);
  }

  66% {
    transform: translateY(6px) rotate(-1deg);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-20px) translateX(5px) rotate(-2deg);
  }

  66% {
    transform: translateY(8px) translateX(-3px) rotate(1deg);
  }
}

@keyframes float-3 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-12px) rotate(2.5deg);
  }

  66% {
    transform: translateY(6px) rotate(-1.5deg);
  }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-horizontal);
  opacity: 0.3;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.service-card h3 {
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   GESTÃO 360 SECTION
   ============================================================ */
.gestao360 {
  background: #F9F9F9;
  position: relative;
  overflow: hidden;
}

.gestao360::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-horizontal);
  opacity: 0.2;
}

.gestao360__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.gestao360__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-md);
}

.gestao360__title {
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.gestao360__text {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  max-width: 50ch;
}

/* Checklist */
.gestao360__checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.gestao360__checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.gestao360__check-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.gestao360__check-icon svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.gestao360__checklist li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.gestao360__checklist li span {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA */
.gestao360__cta {
  font-size: 0.95rem;
}

/* Visual / Image (Right Side — Transparent) */
.gestao360__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gestao360__image {
  width: 100%;
  max-width: 720px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-xl);
}

/* Floating animation */
@keyframes gestao-float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }
}

/* ============================================================
   SOCIAL PROOF SECTION
   ============================================================ */
.social-proof {
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.feed-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  align-items: flex-start;
}

.feed-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: transparent;
  width: calc(25% - var(--space-lg));
  height: 420px;
  transition: transform var(--duration-normal) var(--ease-out);
}

.feed-item:nth-child(1) {
  transform: translateY(20px);
}

.feed-item:nth-child(2) {
  transform: translateY(-15px);
}

.feed-item:nth-child(3) {
  transform: translateY(35px);
}

.feed-item:nth-child(4) {
  transform: translateY(-10px);
}

.feed-item:nth-child(5) {
  transform: translateY(25px);
}

.feed-item:nth-child(6) {
  transform: translateY(-20px);
}

.feed-item:nth-child(7) {
  transform: translateY(10px);
}

.feed-item:hover,
.feed-item.active {
  transform: translateY(0) scale(1.04);
  z-index: 2;
}

.feed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--duration-slow) var(--ease-out);
  filter: drop-shadow(0 8px 24px rgba(138, 43, 226, 0.15));
}

.feed-item:hover img,
.feed-item.active img {
  transform: scale(1.05);
}

/* Portrait items no longer needed */
.feed-item--portrait {
  grid-row: span 1;
}

.feed-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(138, 43, 226, 0.85) 0%,
      rgba(255, 20, 147, 0.6) 50%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.feed-item:hover .feed-item__overlay,
.feed-item.active .feed-item__overlay {
  opacity: 1;
}

.feed-item__stats {
  display: flex;
  gap: var(--space-lg);
}

.feed-stat {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.feed-stat svg {
  width: 18px;
  height: 18px;
}

.feed-stat__count {
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__content h2 {
  margin-bottom: var(--space-lg);
}

.about__content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about__holding {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(138, 43, 226, 0.06);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--purple);
}

/* Collage Visual */
.about__collage {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collage-element {
  position: absolute;
  border-radius: var(--radius-md);
  transition: transform var(--duration-normal) var(--ease-out);
}

.collage-element:hover {
  transform: scale(1.08) rotate(-2deg);
}

.collage-img {
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.collage-blob-1 {
  width: 260px;
  height: 300px;
  border-radius: var(--radius-lg);
  top: 0;
  left: 5%;
}

.collage-blob-2 {
  width: 220px;
  height: 260px;
  border-radius: var(--radius-lg);
  bottom: 0;
  right: 10%;
}

.collage-emoji {
  font-size: 2.5rem;
  animation: float-1 3.5s ease-in-out infinite;
}

.collage-emoji--1 {
  top: 5%;
  right: 20%;
  animation-delay: 0s;
}

.collage-emoji--2 {
  top: 45%;
  left: 5%;
  animation-delay: 0.8s;
}

.collage-emoji--3 {
  bottom: 15%;
  left: 35%;
  animation-delay: 1.6s;
}

.collage-emoji--4 {
  top: 20%;
  left: 40%;
  animation-delay: 0.4s;
}

.collage-emoji--5 {
  bottom: 30%;
  right: 10%;
  animation-delay: 1.2s;
}

.collage-sticker {
  background: var(--bg-white);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.collage-sticker--1 {
  top: 30%;
  right: 0;
  animation: float-2 4s ease-in-out infinite;
}

.collage-sticker--2 {
  bottom: 5%;
  left: 15%;
  animation: float-3 3.8s ease-in-out infinite;
}

.collage-wave {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  opacity: 0.5;
}

.collage-wave svg {
  width: 100%;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: rgba(255, 255, 255, 0.35);
  position: relative;
}

.contact .container {
  max-width: 640px;
}

.contact .section-header {
  margin-bottom: var(--space-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-input,
.form-select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 24px;
  border: 2px solid rgba(138, 43, 226, 0.12);
  border-radius: var(--radius-pill);
  background: var(--bg-ice);
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
  width: 100%;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.08);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238888AA' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 48px;
  cursor: pointer;
}

.contact .btn-primary {
  align-self: flex-start;
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gradient);
  color: #fff;
  padding: var(--space-xl) 0 var(--space-md);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.footer__logo--large img {
  height: 72px;
  filter: brightness(0) invert(1);
  margin-bottom: 0;
}

.footer__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg) var(--space-2xl);
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--duration-fast), transform var(--duration-fast) var(--ease-out);
}

.footer__contact-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer__contact-link svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.footer__holding {
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-lg);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copy {
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__legal a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--duration-fast), text-decoration var(--duration-fast);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 1);
  text-decoration: underline;
}

/* ============================================================
   COOKIE CONSENT BANNER (SaaS Widget)
============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 360px;
  background-color: #1E293B;
  /* Dark Mode Color */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner__text {
  color: #F8FAFC;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-banner__btn {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--duration-fast);
  text-decoration: none;
  border: none;
}

.cookie-banner__btn--primary {
  background: var(--color-primary);
  color: #FFFFFF;
}

.cookie-banner__btn--primary:hover {
  background: #7312c5;
}

.cookie-banner__btn--outline {
  background: transparent;
  color: #F8FAFC;
  border: 1px solid rgba(248, 250, 252, 0.2);
}

.cookie-banner__btn--outline:hover {
  background: rgba(248, 250, 252, 0.1);
  border-color: rgba(248, 250, 252, 0.4);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 10px;
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
  }
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.reveal-delay-3 {
  transition-delay: 300ms;
}

.reveal-delay-4 {
  transition-delay: 400ms;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
    min-height: auto;
  }

  .hero__content {
    order: 1;
    text-align: center;
    padding-bottom: var(--space-xl);
  }

  .hero__visual {
    position: relative;
    order: 0;
    width: 100%;
    top: auto;
    bottom: auto;
    right: auto;
    justify-content: center;
    pointer-events: auto;
  }

  .hero__avatar-wrapper {
    max-width: 380px;
    height: auto;
    margin: 0 auto;
  }

  .hero__avatar {
    position: relative;
    height: auto;
    width: 100%;
    right: 0;
    bottom: 0;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .floating-badge--brain {
    right: -5%;
    top: 5%;
  }

  .floating-badge--trend {
    left: -5%;
    top: 40%;
  }

  .floating-badge--heart {
    right: -3%;
    bottom: 20%;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gestao360__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .gestao360__text {
    margin-left: auto;
    margin-right: auto;
  }

  .gestao360__checklist {
    align-items: center;
  }

  .gestao360__cta {
    margin: 0 auto;
  }

  .feed-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }

  .about .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__content p {
    margin-left: auto;
    margin-right: auto;
  }

  .about__collage {
    height: 320px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar__cta {
    display: none;
  }

  .navbar__logo img {
    height: 70px;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity var(--duration-normal) var(--ease-out),
                transform var(--duration-normal) var(--ease-out),
                visibility var(--duration-normal) var(--ease-out);
    display: flex;
  }

  .navbar__links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar__links a {
    font-size: 1.2rem;
  }

  .navbar__toggle {
    display: flex;
    z-index: 1001;
  }

  section {
    padding: var(--space-3xl) 0;
  }

  .navbar__logo img {
    height: 60px;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--space-xl);
  }

  .hero__stats {
    gap: var(--space-md);
    flex-wrap: wrap;
  }

  .hero__stat-number {
    font-size: 1.4rem;
  }

  .hero__avatar-wrapper {
    max-width: 300px;
  }

  .floating-badge {
    padding: 10px 16px;
    font-size: 0.78rem;
  }

  .floating-badge svg {
    width: 18px;
    height: 18px;
  }

  .floating-badge--brain {
    top: 2%;
    right: -2%;
  }

  .floating-badge--trend {
    top: 35%;
    left: -8%;
  }

  .floating-badge--heart {
    bottom: 15%;
    right: -2%;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .gestao360__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }

  .gestao360__text {
    margin-left: auto;
    margin-right: auto;
  }

  .gestao360__checklist {
    align-items: center;
  }

  .gestao360__image {
    max-width: 340px;
  }

  .feed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .feed-item {
    width: 100%;
    height: 100%;
  }

  .feed-item--portrait {
    grid-row: span 2;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .about__collage {
    height: 400px;
  }

  .contact .btn-primary {
    width: 100%;
  }
}

/* Small Mobile */
@media (max-width: 375px) {
  .container {
    padding: 0 var(--space-md);
  }

  .feed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@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;
  }
}