@font-face {
  font-family: "Aeonik";
  src: url("assets/fonts/Aeonik-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik";
  src: url("assets/fonts/Aeonik-Medium.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik";
  src: url("assets/fonts/Aeonik-Bold.otf") format("opentype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --blue-950: #052b42;
  --blue-900: #013f68;
  --blue-650: #0b78a7;
  --blue-500: #37b6e5;
  --green-800: #507429;
  --green-500: #a7d15f;
  --lime: #d8ff2b;
  --paper: #f7fbfc;
  --mist: #ebebeb;
  --ink: #102b3a;
  --muted: #60717b;
  --white: #ffffff;
  --line: rgba(1, 63, 104, 0.14);
  --shadow: 0 22px 60px rgba(1, 28, 44, 0.16);
  --shadow-strong: 0 28px 70px rgba(1, 28, 44, 0.26);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: "Aeonik", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  color: var(--blue-950);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.55rem, 6.6vw, 5.65rem);
  max-width: 790px;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.1rem);
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
}

p {
  color: var(--muted);
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--blue-900);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(247, 251, 252, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 188px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--blue-950);
  font-weight: 800;
}

.site-nav a:not(.button) {
  font-size: 0.95rem;
  opacity: 0.92;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: var(--blue-900);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-large {
  min-height: 56px;
  padding: 16px 22px;
  font-size: 1.02rem;
}

.button-whatsapp {
  background: var(--green-500);
  color: var(--blue-950);
  box-shadow: 0 16px 34px rgba(80, 116, 41, 0.28);
}

.button-whatsapp::before,
.floating-whatsapp::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  clip-path: path("M13.4 10.7c-.2-.1-1.3-.6-1.5-.7-.2-.1-.4-.1-.5.1-.2.2-.6.7-.7.8-.1.1-.3.2-.5.1-.2-.1-.9-.3-1.7-1.1-.6-.6-1.1-1.3-1.2-1.5-.1-.2 0-.3.1-.5.1-.1.2-.3.4-.4.1-.1.2-.2.3-.4.1-.1.1-.3 0-.4 0-.1-.5-1.2-.7-1.6-.2-.4-.4-.3-.5-.3h-.5c-.2 0-.4.1-.6.3-.2.2-.8.8-.8 1.9 0 1.1.8 2.2.9 2.3.1.2 1.6 2.6 4 3.5.6.2 1 .4 1.3.4.6.2 1.1.1 1.5.1.5-.1 1.3-.5 1.5-1 .2-.5.2-.9.1-1 0-.1-.2-.2-.4-.3ZM9.3 1.4C5.1 1.4 1.7 4.7 1.7 8.8c0 1.4.4 2.7 1.1 3.8l-.8 2.8 2.9-.8c1.1.6 2.4.9 3.7.9 4.2 0 7.6-3.3 7.6-7.4 0-4.1-3.4-7.4-7.6-7.4Zm0 12.8c-1.2 0-2.3-.3-3.3-1l-.2-.1-1.7.4.5-1.6-.1-.2c-.7-1-1-2.1-1-3.3 0-3.4 2.8-6.1 6.2-6.1s6.2 2.7 6.2 6.1c-.1 3.1-2.9 5.8-6.6 5.8Z");
}

.button-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-950);
  border: 1px solid rgba(1, 63, 104, 0.14);
  backdrop-filter: blur(12px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 76px);
  isolation: isolate;
  background:
    radial-gradient(circle at 15% 20%, rgba(55, 182, 229, 0.3), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(167, 209, 95, 0.34), transparent 30%),
    linear-gradient(135deg, #f8fdff 0%, #eef8fb 48%, #e8f4e8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/img/textura-clara.webp");
  background-size: cover;
  opacity: 0.85;
}

.trail-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
  padding: 72px 0 80px;
}

.hero-copy {
  display: grid;
  gap: 26px;
}

.eyebrow {
  color: var(--green-800);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 720px;
  color: #284552;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 650px;
}

.hero-proof span,
.impact-list span,
.team-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(1, 63, 104, 0.12);
  color: var(--blue-950);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(1, 63, 104, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.hero-card-main {
  right: 8%;
  top: 4%;
  width: min(64%, 410px);
  transform: rotate(-2deg);
}

.hero-card-one {
  left: 2%;
  bottom: 8%;
  width: min(52%, 330px);
  transform: rotate(4deg);
}

.hero-card-two {
  right: 0;
  bottom: 0;
  width: min(48%, 300px);
  transform: rotate(-4deg);
}

.hero-glass {
  position: absolute;
  left: 9%;
  right: 7%;
  top: 43%;
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(1, 63, 104, 0.84);
  color: var(--white);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-glass strong {
  color: var(--green-500);
  font-size: 1.15rem;
}

.hero-glass span {
  color: rgba(255, 255, 255, 0.86);
}

.conversion-bar {
  background: var(--blue-950);
  color: var(--white);
}

.conversion-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
}

.conversion-grid strong {
  color: var(--green-500);
}

.conversion-grid span {
  color: rgba(255, 255, 255, 0.82);
}

.conversion-grid a {
  color: var(--lime);
  font-weight: 800;
}

.section {
  padding: 92px 0;
}

.split,
.concept-shell,
.team-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.section-copy,
.section-heading,
.concept-copy {
  display: grid;
  gap: 18px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 40px;
}

.section-copy p,
.section-heading p,
.concept-copy p {
  font-size: 1.05rem;
}

.media-frame,
.media-collage {
  position: relative;
}

.media-frame img,
.media-collage img,
.audience-card img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.media-frame img {
  max-height: 640px;
}

.concept {
  background:
    linear-gradient(90deg, rgba(1, 63, 104, 0.94), rgba(1, 63, 104, 0.86)),
    url("assets/img/textura-azul.webp") center / cover;
}

.concept h2,
.concept p,
.concept .eyebrow {
  color: var(--white);
}

.concept-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.impact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.impact-list span {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(1, 63, 104, 0.08);
}

.magnetic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(55, 182, 229, 0.24), transparent 36%);
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.magnetic-card:hover::before,
.magnetic-card:focus-within::before {
  opacity: 1;
}

.feature-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.feature-card span {
  color: var(--blue-500);
  font-weight: 800;
}

.services {
  background:
    linear-gradient(180deg, rgba(247, 251, 252, 0.9), rgba(255, 255, 255, 0.96)),
    url("assets/img/pattern-amara.webp") center / 520px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.service-card a:not(.button),
.audience-card a {
  color: var(--blue-900);
  font-weight: 800;
}

.service-card-cta {
  background: var(--blue-950);
}

.service-card-cta h3,
.service-card-cta p {
  color: var(--white);
}

.experience {
  background: var(--white);
}

.media-collage {
  min-height: 580px;
}

.media-collage img:first-child {
  position: absolute;
  left: 0;
  top: 0;
  width: 56%;
  z-index: 2;
}

.media-collage img:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.steps div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(55, 182, 229, 0.09);
}

.steps span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--blue-950);
  font-weight: 800;
}

.audiences {
  background: var(--paper);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.audience-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.audience-card img {
  height: 390px;
  border-radius: 0;
  box-shadow: none;
}

.audience-card > div {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.team {
  background:
    linear-gradient(135deg, rgba(5, 43, 66, 0.96), rgba(1, 63, 104, 0.9)),
    url("assets/img/textura-azul.webp") center / cover;
}

.team h2,
.team p,
.team .eyebrow {
  color: var(--white);
}

.team p {
  color: rgba(255, 255, 255, 0.82);
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.team-tags span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  text-align: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(167, 209, 95, 0.34), transparent 34%),
    linear-gradient(135deg, var(--blue-950), var(--blue-900));
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/pattern-amara.webp") center / 540px;
  opacity: 0.08;
}

.final-shell {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 860px;
}

.final-shell img {
  width: 210px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.final-shell h2,
.final-shell p,
.final-shell .eyebrow {
  color: var(--white);
}

.final-shell p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
}

.site-footer {
  padding: 56px 0 100px;
  color: var(--white);
  background:
    linear-gradient(rgba(5, 43, 66, 0.9), rgba(5, 43, 66, 0.94)),
    url("assets/img/pattern-amara.webp") center / 520px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.55fr);
  gap: 44px;
  align-items: start;
}

.footer-grid.has-contact {
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.55fr) minmax(170px, 0.45fr);
}

.footer-brand,
.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-brand img {
  width: 178px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.footer-brand > strong,
.footer-links > strong,
.footer-contact > strong {
  color: var(--white);
  font-weight: 800;
}

.footer-brand p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-brand p strong {
  color: var(--white);
}

.footer-links a,
.footer-contact a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--lime);
  transform: translateX(4px);
}

.social-list {
  display: grid;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 13px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.social-icon {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-500);
}

.social-icon img {
  width: 18px;
  height: 18px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 20px;
  border-radius: 999px;
  background: var(--green-500);
  color: var(--blue-950);
  font-weight: 800;
  box-shadow: 0 20px 45px rgba(80, 116, 41, 0.34);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .split-reverse,
  .concept-shell,
  .team-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 570px;
  }

  .service-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid,
  .footer-grid.has-contact {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.54fr);
  }

  .cards.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand img {
    width: 162px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 76px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 13px;
  }

  .nav-whatsapp {
    margin-top: 6px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 32px;
    padding: 48px 0 58px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-card-main {
    right: 2%;
    width: 64%;
  }

  .hero-card-one {
    width: 54%;
  }

  .hero-card-two {
    width: 50%;
  }

  .hero-glass {
    left: 3%;
    right: 3%;
    top: 41%;
  }

  .conversion-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section {
    padding: 68px 0;
  }

  .service-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-grid.has-contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .media-collage {
    min-height: 420px;
  }

  .floating-whatsapp {
    left: 14px;
    right: 14px;
    bottom: 14px;
    border-radius: var(--radius);
  }
}

@media (max-width: 520px) {
  .hero-copy {
    gap: 20px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-proof span {
    justify-content: center;
    text-align: center;
    min-height: 48px;
    border-radius: var(--radius);
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-card-main {
    width: 72%;
  }

  .hero-card-one {
    width: 58%;
    left: 0;
  }

  .hero-card-two {
    width: 54%;
  }

  .hero-glass {
    top: 45%;
    padding: 16px;
  }

  .feature-card,
  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .audience-card img {
    height: 340px;
  }

  .media-collage {
    min-height: 340px;
  }

  .final-cta {
    padding: 72px 0;
  }

  .site-footer {
    padding: 44px 0 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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