/* =========================================================
   VARIÁVEIS
========================================================= */

:root {
  --bg: #07111f;
  --bg-dark: #030a13;
  --bg-soft: #0a1930;

  --text: #f7f9fc;
  --muted: #aebbd0;
  --line: rgba(255, 255, 255, 0.12);

  --blue: #3f7cff;
  --orange: #ff7900;
  --green: #70c83f;
  --aqua: #34d5c7;

  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  overflow-x: hidden;

  background: var(--bg);
  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;

  padding: 10px 16px;
  border-radius: 8px;

  background: #ffffff;
  color: #000000;

  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;

  background: rgba(3, 10, 19, 0.78);
  border-bottom: 1px solid transparent;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(3, 10, 19, 0.96);
  border-color: var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  min-height: 78px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 170px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;

  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.main-nav > a:not(.btn) {
  position: relative;
  color: #dce5f2;

  transition: color 0.2s ease;
}

.main-nav > a:not(.btn)::after {
  content: "";

  position: absolute;
  right: 100%;
  bottom: -27px;
  left: 0;

  height: 2px;

  background: var(--blue);

  transition: right 0.25s ease;
}

.main-nav > a:not(.btn):hover {
  color: #ffffff;
}

.main-nav > a:not(.btn):hover::after,
.main-nav > a.active:not(.btn)::after {
  right: 0;
}

.menu-toggle {
  display: none;

  padding: 8px;
  border: 0;

  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 27px;
  height: 2px;
  margin: 5px 0;

  background: #ffffff;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


/* =========================================================
   BOTÕES
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 50px;
  padding: 0 24px;

  border: 0;
  border-radius: 10px;

  background: linear-gradient(
    135deg,
    var(--orange),
    #ff9b31
  );

  color: #ffffff;

  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.025em;

  cursor: pointer;

  box-shadow: 0 14px 34px rgba(255, 121, 0, 0.24);

  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-small {
  min-height: 42px;
  padding-inline: 20px;
}

.btn-ghost {
  background: rgba(5, 17, 31, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.22);

  box-shadow: none;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  min-height: 720px;
  padding-top: 78px;

  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(3, 10, 19, 0.92) 0%,
      rgba(3, 10, 19, 0.74) 25%,
      rgba(3, 10, 19, 0.32) 47%,
      rgba(3, 10, 19, 0.04) 72%
    ),
    url("../img/topo.png");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.hero::after {
  content: "";

  position: absolute;
  z-index: 1;

  right: 0;
  bottom: 0;
  left: 0;

  height: 120px;

  background: linear-gradient(
    to bottom,
    transparent,
    rgba(7, 17, 31, 0.7) 62%,
    var(--bg)
  );

  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size: 64px 64px;

  mask-image: linear-gradient(
    to bottom,
    #000000,
    transparent 90%
  );

  -webkit-mask-image: linear-gradient(
    to bottom,
    #000000,
    transparent 90%
  );

  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;

  min-height: 640px;
  padding-block: 70px;
}

.hero-copy {
  position: relative;
  z-index: 2;

  width: min(100%, 540px);
}

.hero-copy::before {
  content: "";

  position: absolute;
  z-index: -1;

  top: -70px;
  right: -120px;
  bottom: -70px;
  left: -160px;

  background: radial-gradient(
    ellipse at left center,
    rgba(3, 10, 19, 0.64),
    rgba(3, 10, 19, 0.28) 52%,
    transparent 76%
  );

  pointer-events: none;
}

.hero-mobile-image {
  display: none;
}

.eyebrow {
  margin: 0 0 14px;

  color: var(--orange);

  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero h1,
.section-heading h2,
.cta h2 {
  margin: 0;

  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 540px;

  font-size: clamp(2.7rem, 4.1vw, 4.8rem);

  text-shadow: 0 7px 30px rgba(0, 0, 0, 0.42);
}

.hero h1 span,
.section-heading h2 span {
  color: var(--orange);
}

.hero-text {
  max-width: 490px;
  margin: 24px 0;

  color: #e6edf6;

  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.65;

  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.65);
}

.hero-text-block {
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 28px;
}


/* =========================================================
   ÓRBITAS DECORATIVAS
========================================================= */

.sport-orbits {
  position: absolute;
  inset: 0;
  z-index: 0;

  overflow: hidden;
  pointer-events: none;
}

.sport-orbits .orbit {
  position: absolute;

  border-radius: 50%;

  opacity: 0.42;
  filter: blur(1px);
}

.orbit-one {
  top: 18%;
  left: -90px;

  width: 190px;
  height: 190px;

  background: rgba(255, 121, 0, 0.1);
}

.orbit-two {
  top: 36%;
  right: -110px;

  width: 280px;
  height: 280px;

  background: rgba(63, 124, 255, 0.1);
}

.orbit-three {
  bottom: 4%;
  left: 44%;

  width: 145px;
  height: 145px;

  background: rgba(112, 200, 63, 0.08);
}


/* =========================================================
   SEÇÕES GERAIS
========================================================= */

.section {
  padding: 110px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 80px;
}

.section-heading h2,
.cta h2 {
  font-size: clamp(2.2rem, 4.3vw, 4rem);
}

.section-heading > p:last-child {
  max-width: 720px;
  margin-bottom: 0;

  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.centered {
  max-width: 820px;
  margin: 0 auto 52px;

  text-align: center;
}


/* =========================================================
   SOBRE
========================================================= */

.about {
  background: #f4f7fb;
  color: #0a1526;
}

.about .eyebrow {
  color: #315fd0;
}

.about-copy {
  color: #3c4a5f;
  font-size: 1.05rem;
}

.about-copy p {
  margin-top: 0;
  margin-bottom: 18px;
}

.about-copy .lead {
  color: #0a1526;

  font-size: clamp(1.2rem, 2vw, 1.42rem);
  font-weight: 700;
}


/* =========================================================
   PILARES
========================================================= */

.pillars {
  background: #ffffff;
  color: #091426;
}

.pillars .section-heading > p:last-child {
  color: #56637a;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;

  overflow: hidden;

  border: 1px solid #dfe5ee;
  border-radius: var(--radius);

  background: #dfe5ee;
}

.pillar-card {
  min-width: 0;
  min-height: 280px;
  padding: 38px 28px;

  background: #ffffff;
}

.pillar-card h3 {
  margin: 24px 0 10px;

  font-size: 1.2rem;
  text-transform: uppercase;
}

.pillar-card p {
  margin: 0;

  color: #56637a;
  font-size: 0.96rem;
}

.pillar-icon {
  display: grid;
  place-items: center;

  width: 58px;
  height: 58px;

  border: 2px solid var(--blue);
  border-radius: 17px;

  color: var(--blue);

  font-size: 1.5rem;
  font-weight: 950;
}

.pillar-icon.orange {
  color: var(--orange);
  border-color: var(--orange);
}

.pillar-icon.green {
  color: var(--green);
  border-color: var(--green);
}

.pillar-icon.aqua {
  color: #159b94;
  border-color: #159b94;
}


/* =========================================================
   SOLUÇÕES
========================================================= */

.solutions {
  background: linear-gradient(
    180deg,
    #020d16,
    #051522
  );
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;

  width: 100%;
  margin-top: 38px;
}

.solution-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 280px;
  padding: 28px 24px;

  overflow: hidden;

  border: 1px solid #24496d;
  border-radius: 14px;

  background: linear-gradient(
    150deg,
    rgba(13, 36, 59, 0.95),
    rgba(4, 16, 28, 0.98)
  );

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.solution-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at 35% 0,
    currentColor,
    transparent 48%
  );

  opacity: 0.08;
  pointer-events: none;
}

.solution-card > * {
  position: relative;
  z-index: 1;
}

.solution-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.53);
}

.card-icon {
  color: currentColor;

  font-size: 2.8rem;
  line-height: 1;
}

.solution-card h3 {
  margin: 24px 0 10px;

  font-size: 1rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.solution-card p {
  flex: 1;

  margin: 0 0 22px;

  color: #c0ccd8;

  font-size: 0.85rem;
  line-height: 1.65;
}

.card-link {
  align-self: flex-start;

  color: currentColor;

  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;

  transition: transform 0.2s ease;
}

a.card-link:hover {
  transform: translateX(4px);
}

.blue-card {
  color: var(--blue);
}

.green-card {
  color: var(--green);
  border-color: #436827;
}

.orange-card {
  color: var(--orange);
  border-color: #7a431d;
}

.inclusion-card {
  color: var(--aqua);

  border-color: #1e7b82;

  background: linear-gradient(
    145deg,
    rgba(8, 84, 91, 0.58),
    rgba(5, 18, 29, 0.98)
  );
}


/* =========================================================
   MODALIDADES
========================================================= */

.modalities {
  background: #eef3f9;
  color: #07111f;
}

.modalities .eyebrow {
  color: #315fd0;
}

.modalities .section-heading > p:last-child {
  color: #5f6e82;
}

.modality-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.modality {
  position: relative;

  min-width: 0;
  min-height: 290px;
  padding: 32px;

  overflow: hidden;

  border: 1px solid #dce4ef;
  border-radius: var(--radius);

  background: #ffffff;
}

.modality span {
  color: #e5ebf4;

  font-size: 3.8rem;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.modality h3 {
  margin: 18px 0 8px;

  font-size: 1.45rem;
}

.modality p {
  margin: 0;

  color: #5f6e82;
}

.modality::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 4px;

  background: linear-gradient(
    90deg,
    var(--blue),
    var(--orange),
    var(--green)
  );
}


/* =========================================================
   CTA E CONTATO
========================================================= */

.cta {
  padding: 110px 0;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 121, 0, 0.18),
      transparent 35%
    ),
    #09172b;
}

.cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 80px;
}

.cta p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;

  padding: 30px;

  border: 1px solid var(--line);
  border-radius: var(--radius);

  background: rgba(255, 255, 255, 0.045);
}

.contact-form label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-form label:nth-of-type(4),
.contact-form label:nth-of-type(5),
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;

  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;

  border: 1px solid var(--line);
  border-radius: 9px;

  outline: none;

  background: #07111f;
  color: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(63, 124, 255, 0.15);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-note {
  margin: 0;

  color: var(--muted);
  font-size: 0.8rem;
}



/* =========================================================
   RODAPÉ
========================================================= */

.site-footer {
  padding: 65px 0 22px;

  border-top: 1px solid var(--line);

  background: var(--bg-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 65px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;

  color: var(--muted);
}

.footer-grid strong {
  color: #ffffff;
  text-transform: uppercase;
}

.footer-grid img {
  width: 170px;
}

.footer-grid p {
  max-width: 330px;
  margin: 8px 0 0;
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  font-size: 0.88rem;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  margin-top: 45px;
  padding-top: 22px;

  border-top: 1px solid var(--line);

  color: #7f8ba0;
  font-size: 0.8rem;
}



/* =========================================================
   BOTÃO FLUTUANTE DO WHATSAPP
========================================================= */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;

  display: grid;
  place-items: center;

  width: 60px;
  height: 60px;

  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;

  background: #25d366;
  color: #ffffff;

  box-shadow:
    0 16px 35px rgba(0, 0, 0, 0.32),
    0 8px 24px rgba(37, 211, 102, 0.28);

  transition:
    transform 0.25s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float::before {
  content: "";

  position: absolute;
  inset: -7px;
  z-index: -1;

  border: 2px solid rgba(37, 211, 102, 0.35);
  border-radius: 50%;

  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  filter: brightness(1.06);

  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.38),
    0 10px 30px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);

  width: max-content;
  max-width: 190px;
  padding: 8px 12px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;

  background: #07111f;
  color: #ffffff;

  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;

  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus-visible .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes whatsapp-pulse {
  0% {
    opacity: 0.75;
    transform: scale(0.88);
  }

  70% {
    opacity: 0;
    transform: scale(1.25);
  }

  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

/* =========================================================
   ANIMAÇÕES
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: 78px;
    right: 20px;
    left: 20px;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 14px;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: #081526;

    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a {
    padding: 13px 10px;
  }

  .main-nav > a:not(.btn)::after {
    display: none;
  }

  .main-nav .btn {
    margin-top: 8px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 700px;

    background-image:
      linear-gradient(
        90deg,
        rgba(3, 10, 19, 0.94) 0%,
        rgba(3, 10, 19, 0.78) 42%,
        rgba(3, 10, 19, 0.18) 75%
      ),
      url("../img/topo.png");

    background-size: cover;
    background-position: 62% center;
  }

  .hero-content {
    min-height: 620px;
    padding-block: 80px 60px;
  }

  .hero-copy {
    width: min(100%, 510px);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
  }

  .split,
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .pillar-grid,
  .modality-list,
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 38px;
  }
  
  .cta-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 42px;
  }
}


/* =========================================================
   CELULARES
========================================================= */

@media (max-width: 640px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  /* =====================================================
     CABEÇALHO MOBILE
  ===================================================== */

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    width: 142px;
  }

  .main-nav {
    top: 72px;
    right: 14px;
    left: 14px;
  }

  /* =====================================================
     HERO MOBILE
  ===================================================== */

  .hero {
    min-height: auto;
    padding-top: 72px;
    overflow: hidden;

    background-color: #030a13;
    background-image: url("../img/topo_mobile.png");
    background-repeat: no-repeat;

    /* Imagem menor e centralizada entre o texto e os botões */
    background-size: 130% auto;
    background-position: center 400px;
  }

  .hero::after {
    display: none;
  }

  .hero-grid {
    opacity: 0.45;
  }

  .hero-content {
    display: block;

    min-height: 690px;
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .hero-copy {
    display: grid;
    grid-template-rows: auto 235px auto;
    width: 100%;
    max-width: none;
  }

  .hero-text-block {
    grid-row: 1;
    position: relative;
    z-index: 2;
  }

  .hero-copy::before {
    display: none;
  }

  .eyebrow {
    margin-bottom: 12px;

    font-size: 0.68rem;
    line-height: 1.4;
    letter-spacing: 0.13em;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    margin: 0;

    font-size: clamp(2.15rem, 10.5vw, 3.2rem);
    line-height: 1.03;
    letter-spacing: -0.042em;

    overflow: visible;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero h1 span {
    display: block;
    margin-top: 4px;
  }

  .hero-text {
    max-width: 100%;
    margin: 18px 0 0;

    color: #dce5f2;

    font-size: 1rem;
    line-height: 1.55;

    text-shadow: none;
  }





  .hero-actions {
    grid-row: 3;

    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;

    margin-top: -18px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 52px;
  }

  .sport-orbits {
    display: none;
  }

  /* =====================================================
     SEÇÕES MOBILE
  ===================================================== */

  .section {
    padding: 76px 0;
  }

  .section-heading.centered {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .cta h2 {
    font-size: clamp(2rem, 9.5vw, 2.85rem);
    line-height: 1.03;
  }

  .split {
    gap: 28px;
  }

  /* =====================================================
     SOBRE MOBILE
  ===================================================== */

  .about-copy {
    font-size: 0.98rem;
  }

  .about-copy .lead {
    font-size: 1.18rem;
  }

  /* =====================================================
     PILARES MOBILE
  ===================================================== */

  .pillar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;

    overflow: visible;

    border: 0;
    border-radius: 0;

    background: transparent;
  }

  .pillar-card {
    position: relative;

    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "icon text";
    column-gap: 18px;
    align-items: start;

    min-height: auto;
    padding: 24px 22px;

    overflow: hidden;

    border: 1px solid #dfe5ee;
    border-radius: 16px;

    background: linear-gradient(
      145deg,
      #ffffff,
      #f7f9fc
    );

    box-shadow: 0 14px 35px rgba(9, 20, 38, 0.07);
  }

  .pillar-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background: radial-gradient(
      circle at 0 0,
      rgba(63, 124, 255, 0.08),
      transparent 42%
    );

    pointer-events: none;
  }

  .pillar-card:nth-child(2)::before {
    background: radial-gradient(
      circle at 0 0,
      rgba(255, 121, 0, 0.08),
      transparent 42%
    );
  }

  .pillar-card:nth-child(3)::before {
    background: radial-gradient(
      circle at 0 0,
      rgba(112, 200, 63, 0.09),
      transparent 42%
    );
  }

  .pillar-card:nth-child(4)::before {
    background: radial-gradient(
      circle at 0 0,
      rgba(52, 213, 199, 0.09),
      transparent 42%
    );
  }

  .pillar-card::after {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    width: 4px;

    background: var(--blue);
  }

  .pillar-card:nth-child(2)::after {
    background: var(--orange);
  }

  .pillar-card:nth-child(3)::after {
    background: var(--green);
  }

  .pillar-card:nth-child(4)::after {
    background: var(--aqua);
  }

  .pillar-card > * {
    position: relative;
    z-index: 1;
  }

  .pillar-icon {
    grid-area: icon;

    width: 54px;
    height: 54px;

    border-radius: 15px;
  }

  .pillar-card h3 {
    grid-area: title;

    margin: 2px 0 7px;

    font-size: 1.05rem;
    line-height: 1.25;
  }

  .pillar-card p {
    grid-area: text;

    margin: 0;

    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* =====================================================
     SOLUÇÕES MOBILE
  ===================================================== */

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 14px;

    margin-top: 30px;
  }

  .solution-card {
    min-height: auto;
    padding: 24px 20px;

    border-radius: 16px;
  }

  .solution-card h3 {
    margin-top: 18px;
  }

  .solution-card p {
    margin-bottom: 18px;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  /* =====================================================
     MODALIDADES MOBILE
  ===================================================== */

  .modality-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .modality {
    min-height: auto;
    padding: 26px 22px;
  }

  .modality span {
    font-size: 3.2rem;
  }

  .modality h3 {
    margin-top: 10px;
  }

  /* =========================================================
   CTA E CONTATO
========================================================= */

.cta {
  padding: 110px 0;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 121, 0, 0.18),
      transparent 35%
    ),
    #09172b;
}

.cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;

  /* Centraliza os dois lados verticalmente */
  align-items: center;
}

/* Centraliza especificamente o texto ao lado do formulário */
.cta-grid > div {
  align-self: center;
}

.cta p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

/* =========================================================
   FORMULÁRIO
========================================================= */

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;

  width: 100%;
  padding: 30px;

  border: 1px solid var(--line);
  border-radius: var(--radius);

  background: rgba(255, 255, 255, 0.045);
}

.contact-form label {
  min-width: 0;

  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Nome e telefone ficam lado a lado */
.contact-form > label:not(.form-full) {
  grid-column: span 1;
}

/* E-mail, assunto e mensagem ocupam toda a linha */
.contact-form > .form-full {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;

  width: 100% !important;
  max-width: none !important;

  margin-top: 7px;
  padding: 13px 14px;

  border: 1px solid var(--line);
  border-radius: 9px;

  outline: none;

  background: #07111f;
  color: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(63, 124, 255, 0.15);
}

.contact-form button.form-full,
.contact-form .form-note.form-full {
  grid-column: 1 / -1 !important;
  width: 100%;
}

.contact-form .form-full {
  grid-column: 1 / -1;
}
.honeypot {
  position: absolute;
  left: -9999px;
}

.form-note {
  margin: 0;

  color: var(--muted);
  font-size: 0.8rem;
}

  /* =====================================================
     RODAPÉ MOBILE
  ===================================================== */

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Esconde Navegação e Modalidades somente no mobile */
  .site-footer .footer-grid > div:nth-child(2),
  .site-footer .footer-grid > div:nth-child(3) {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  /* WhatsApp mobile */
  .whatsapp-float {
    position: fixed !important;
    right: 16px !important;
    bottom: 16px !important;
    left: auto !important;
    top: auto !important;
    z-index: 9999 !important;

    display: grid !important;
    place-items: center;

    width: 56px;
    height: 56px;
    margin: 0 !important;

    transform: none;
    isolation: isolate;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}


/* =========================================================
   TELAS MUITO PEQUENAS
========================================================= */

@media (max-width: 390px) {
  .hero {
    background-size: 132% auto;
    background-position: center 288px;
  }

  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero-content {
    min-height: 665px;
    padding-top: 38px;
    padding-bottom: 32px;
  }

  .hero-copy {
    grid-template-rows: auto 220px auto;
  }

  .hero h1 {
    font-size: 2.08rem;
    line-height: 1.04;
    letter-spacing: -0.04em;
  }

  .hero-text {
    font-size: 0.94rem;
  }


  .btn {
    padding-inline: 16px;
    font-size: 0.74rem;
  }

  .pillar-card {
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 14px;

    padding: 21px 17px;
  }

  .pillar-icon {
    width: 48px;
    height: 48px;

    border-radius: 13px;
  }

  .pillar-card h3 {
    font-size: 0.98rem;
  }

  .pillar-card p {
    font-size: 0.86rem;
  }
}


/* =========================================================
   MOVIMENTO REDUZIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .solution-card,
  .main-nav > a,
  .whatsapp-float {
    transition: none;
  }

  .whatsapp-float::before {
    animation: none;
  }
}

/* =========================================================
   AJUSTE FINAL HERO MOBILE — SOBRESCRITA DEFINITIVA
========================================================= */

@media (max-width: 640px) {
  body .hero {
    min-height: 580px !important;
    padding-top: 72px !important;

    background-color: #030a13 !important;
    background-image: url("../img/topo_mobile.png") !important;
    background-repeat: no-repeat !important;

    /* Zoom real de 150% */
    background-size: 150% auto !important;
    background-position: center 315px !important;
  }

  body .hero-content {
    display: block !important;

    min-height: 620px !important;
    padding-top: 36px !important;
    padding-bottom: 24px !important;
  }

  body .hero-copy {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
  }

  body .hero-text-block {
    position: relative !important;
    z-index: 3 !important;
  }

  body .hero-text {
    margin-bottom: 0 !important;
  }

  body .hero-actions {
    position: relative !important;
    z-index: 10 !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;

    /* Espaço da imagem e subida real dos botões */
    margin-top: 165px !important;

    transform: translateY(-60px) !important;
    translate: 0 -60px !important;
  }

  body .hero-actions .btn {
    position: relative !important;
    z-index: 11 !important;

    width: 100% !important;
    min-height: 52px !important;
  }
}

@media (max-width: 390px) {
  body .hero {
    min-height: 560px !important;

    background-size: 150% auto !important;
    background-position: center 302px !important;
  }

  body .hero-content {
    min-height: 600px !important;
    padding-top: 34px !important;
    padding-bottom: 22px !important;
  }

  body .hero-actions {
    margin-top: 150px !important;

    transform: translateY(-58px) !important;
    translate: 0 -58px !important;
  }
}