/* Andorinha Sistemas — identidade própria + padrões Animalia DS / TOTVS */

:root {
  /* Paleta primária */
  --azul-escuro: #002233;
  --azul: #00dbff;
  --branco: #ffffff;

  /* Escala derivada */
  --azul-escuro-90: #001a28;
  --azul-escuro-80: #003348;
  --azul-escuro-70: #0a4a63;
  --azul-muted: rgba(0, 219, 255, 0.14);
  --azul-line: rgba(0, 219, 255, 0.35);
  --ink: #002233;
  --ink-soft: rgba(0, 34, 51, 0.72);
  --ink-faint: rgba(0, 34, 51, 0.48);
  --surface: #f4f8fa;
  --surface-2: #e8f1f5;

  /* Tokens Animalia-inspired */
  --font-family: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;
  --shadow-focus: 0 0 0 3px rgba(0, 219, 255, 0.45);
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  color: var(--ink);
  background: var(--branco);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--azul);
  color: var(--azul-escuro);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(0, 34, 51, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 219, 255, 0.12);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--branco);
}

.brand__mark {
  width: 44px;
  height: auto;
  flex-shrink: 0;
}

.brand__name {
  font-size: 0.95rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand__name span {
  display: block;
  font-size: 0.68rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.18em;
  color: var(--azul);
  opacity: 0.95;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: var(--font-weight-semibold);
  transition: color 0.2s var(--ease);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--azul);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--branco);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* ——— Buttons (Animalia-like) ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  font-weight: var(--font-weight-bold);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.btn--primary {
  background: var(--azul);
  color: var(--azul-escuro);
}

.btn--primary:hover {
  background: #4ee5ff;
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--branco);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--secondary:hover {
  border-color: var(--azul);
  color: var(--azul);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--azul-escuro);
  border-color: rgba(0, 34, 51, 0.25);
}

.btn--ghost-dark:hover {
  border-color: var(--azul-escuro);
  background: var(--surface);
}

.btn--block {
  width: 100%;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--azul-escuro);
  color: var(--branco);
}

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

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 35%, rgba(0, 219, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 18% 80%, rgba(0, 219, 255, 0.1), transparent 55%),
    linear-gradient(160deg, #002233 0%, #003348 48%, #001a28 100%);
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 219, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 219, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
  opacity: 0.55;
}

.hero__orbit {
  position: absolute;
  right: -8%;
  top: 8%;
  width: min(62vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 219, 255, 0.18);
  border-radius: 50%;
  animation: drift 18s linear infinite;
}

.hero__orbit::before,
.hero__orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 219, 255, 0.12);
}

.hero__orbit::before {
  inset: 12%;
}

.hero__orbit::after {
  inset: 26%;
  border-color: rgba(0, 219, 255, 0.28);
}

.hero__bird {
  position: absolute;
  right: 6%;
  top: 18%;
  width: min(44vw, 440px);
  height: auto;
  opacity: 0.55;
  animation: floaty 7s var(--ease) infinite alternate;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 10vh, 7rem) 0 clamp(3rem, 8vh, 5.5rem);
}

.hero__brand {
  margin: 0 0 1.25rem;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.035em;
  line-height: 0.92;
  max-width: 12ch;
}

.hero__brand em {
  font-style: normal;
  color: var(--azul);
}

.hero__headline {
  margin: 0 0 0.85rem;
  max-width: 22ch;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero__lead {
  margin: 0 0 2rem;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@keyframes drift {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes floaty {
  from {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  to {
    transform: translate3d(-12px, 18px, 0) rotate(3deg);
  }
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ——— Sections ——— */
.section {
  padding: var(--space-9) 0;
}

.section--surface {
  background: var(--surface);
}

.section--dark {
  background: var(--azul-escuro);
  color: var(--branco);
}

.section__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--azul-escuro-70);
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section--dark .section__eyebrow {
  color: var(--azul);
}

.section__title {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section__text {
  margin: 0;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section--dark .section__text {
  color: rgba(255, 255, 255, 0.76);
}

.section__head {
  margin-bottom: 3rem;
}

/* ——— About split ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.about-panel {
  position: relative;
  min-height: 360px;
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(0, 219, 255, 0.12), transparent 45%),
    linear-gradient(180deg, #003348, #002233);
  border: 1px solid rgba(0, 219, 255, 0.2);
  border-radius: var(--radius-lg);
  color: var(--branco);
  overflow: hidden;
}

.about-panel__label {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azul);
  font-weight: var(--font-weight-bold);
}

.about-panel__value {
  position: relative;
  z-index: 1;
  margin: 1.5rem 0 0;
  max-width: 9ch;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.about-panel__note {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  max-width: 24ch;
  color: rgba(255, 255, 255, 0.72);
}

.about-panel__shape {
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 72%;
  height: auto;
  opacity: 0.45;
  pointer-events: none;
}

/* ——— Solutions list (no cards) ——— */
.solution-list {
  display: grid;
  border-top: 1px solid rgba(0, 34, 51, 0.12);
}

.solution {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.65rem 0;
  border-bottom: 1px solid rgba(0, 34, 51, 0.12);
  transition: background 0.25s var(--ease), padding 0.25s var(--ease);
}

.solution:hover {
  background: linear-gradient(90deg, rgba(0, 219, 255, 0.08), transparent 60%);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.solution__index {
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  color: var(--azul-escuro-70);
  letter-spacing: 0.08em;
}

.solution__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
}

.solution__text {
  margin: 0;
  max-width: 58ch;
  color: var(--ink-soft);
}

.solution__tag {
  font-size: 0.78rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul-escuro-70);
  white-space: nowrap;
}

/* ——— Signals ——— */
.signal-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0, 34, 51, 0.12);
  margin-bottom: 2.5rem;
}

.signal {
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid rgba(0, 34, 51, 0.12);
}

.signal:nth-child(odd) {
  padding-right: 1.75rem;
  border-right: 1px solid rgba(0, 34, 51, 0.12);
}

.signal:nth-child(even) {
  padding-left: 1.75rem;
}

.signal__title {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
}

.signal__text {
  margin: 0;
  color: var(--ink-soft);
  max-width: 36ch;
}

.diag-band {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid rgba(0, 34, 51, 0.12);
}

.diag-band__label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azul-escuro-70);
}

.diag-band__text {
  margin: 0 0 1rem;
  max-width: 52ch;
  color: var(--ink-soft);
}

.diag-band__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.diag-band__list li {
  position: relative;
  padding-left: 1rem;
  font-weight: var(--font-weight-semibold);
  font-size: 0.95rem;
}

.diag-band__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--azul);
  border-radius: 1px;
}

/* ——— Modules ——— */
.modules {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 34, 51, 0.1);
}

.modules__label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azul-escuro-70);
}

.modules__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.modules__list li {
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(0, 34, 51, 0.16);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: var(--font-weight-semibold);
  color: var(--azul-escuro);
  background: var(--branco);
}

/* ——— Urgent banner ——— */
.urgent {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding: 1.75rem;
  background: linear-gradient(120deg, rgba(0, 219, 255, 0.16), rgba(0, 34, 51, 0.04));
  border-left: 3px solid var(--azul);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.urgent__tag {
  margin: 0;
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azul-escuro-70);
}

.urgent__title {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.urgent__text {
  margin: 0 0 0.5rem;
  max-width: 58ch;
  color: var(--ink-soft);
}

.urgent .btn {
  justify-self: start;
}

/* ——— Approach ——— */
.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.approach__item {
  padding: 2rem 1.5rem 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.approach__item:last-child {
  border-right: none;
  padding-right: 0;
}

.approach__item:nth-child(2) {
  padding-left: 1.5rem;
}

.approach__item:nth-child(3) {
  padding-left: 1.5rem;
}

.approach__num {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--azul);
  font-size: 0.85rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
}

.approach__title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
}

.approach__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 28ch;
}

.quote {
  margin: 3rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.quote p {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--azul);
}

/* ——— Software House ——— */
.house {
  position: relative;
  overflow: hidden;
  padding: var(--space-9) 0;
  background: #00111a;
  color: var(--branco);
}

.house__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 12% 20%, rgba(0, 219, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 45% 40% at 88% 75%, rgba(0, 80, 110, 0.35), transparent 55%);
}

.house__eyebrow {
  color: var(--azul);
}

.house__title {
  color: var(--branco);
  max-width: 16ch;
}

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

.house-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.house-item {
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(0, 219, 255, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(0, 34, 51, 0.45);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.house-item:hover {
  border-color: rgba(0, 219, 255, 0.55);
  background: rgba(0, 52, 72, 0.55);
}

.house-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
}

.house-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  max-width: 36ch;
  font-size: 0.95rem;
}

/* ——— Quiz (conceito Mind) ——— */
.quiz-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 6.5rem) 0;
  background: #000d14;
  color: var(--branco);
  text-align: center;
}

.quiz-section__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 50% at 50% 0%, rgba(0, 219, 255, 0.1), transparent 65%),
    radial-gradient(ellipse 35% 40% at 20% 100%, rgba(0, 60, 90, 0.4), transparent 60%);
}

.quiz-wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.quiz-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azul);
}

.quiz-title {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.quiz-lead {
  margin: 0 auto 1.75rem;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.quiz-start .btn,
.quiz-done .btn {
  min-width: 220px;
}

.quiz {
  text-align: left;
}

.quiz__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.quiz__back {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}

.quiz__back:hover {
  border-color: var(--azul);
  color: var(--azul);
}

.quiz__progress {
  flex: 1;
  display: grid;
  gap: 0.45rem;
}

.quiz__progress span {
  font-size: 0.82rem;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.65);
}

.quiz__track {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.quiz__fill {
  height: 100%;
  width: 25%;
  background: var(--azul);
  border-radius: inherit;
  transition: width 0.35s var(--ease);
}

.quiz__question {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.02em;
  text-align: center;
}

.quiz__question em {
  font-style: normal;
  color: var(--azul);
}

.quiz__hint {
  margin: 0 0 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.quiz__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.quiz-option {
  display: grid;
  gap: 0.4rem;
  text-align: left;
  padding: 1.25rem 1.15rem;
  border: 1px solid rgba(0, 219, 255, 0.28);
  border-radius: var(--radius-lg);
  background: rgba(0, 34, 51, 0.55);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    background 0.2s var(--ease);
}

.quiz-option:hover,
.quiz-option:focus-visible {
  border-color: var(--azul);
  background: rgba(0, 60, 85, 0.65);
  transform: translateY(-2px);
  outline: none;
}

.quiz-option:nth-child(2) {
  border-color: rgba(120, 200, 255, 0.35);
}

.quiz-option:nth-child(3) {
  border-color: rgba(0, 180, 200, 0.4);
}

.quiz-option:nth-child(4) {
  border-color: rgba(0, 140, 180, 0.45);
}

.quiz-option strong {
  font-size: 1.02rem;
  font-weight: var(--font-weight-bold);
}

.quiz-option span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.4;
}

.quiz-done__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.quiz-section .btn--secondary {
  border-color: rgba(255, 255, 255, 0.28);
}

/* ——— Why ——— */
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0, 34, 51, 0.12);
}

.why {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-bottom: 1px solid rgba(0, 34, 51, 0.12);
}

.why:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid rgba(0, 34, 51, 0.12);
}

.why:nth-child(even) {
  padding-left: 2rem;
}

.why__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: var(--font-weight-bold);
}

.why__text {
  margin: 0;
  max-width: 40ch;
  color: var(--ink-soft);
}

/* ——— FAQ ——— */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq {
  display: grid;
  border-top: 1px solid rgba(0, 34, 51, 0.12);
}

.faq__item {
  border-bottom: 1px solid rgba(0, 34, 51, 0.12);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2rem 1.15rem 0;
  font-weight: var(--font-weight-bold);
  position: relative;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.1rem;
  color: var(--azul-escuro-70);
  font-size: 1.25rem;
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item p {
  margin: 0 0 1.25rem;
  max-width: 52ch;
  color: var(--ink-soft);
}

/* ——— Mid CTA ——— */
.cta-band {
  background: var(--azul-escuro);
  color: var(--branco);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.cta-band__inner {
  max-width: 40rem;
}

.cta-band__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cta-band__text {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 40ch;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--branco);
  border: 1px solid rgba(0, 34, 51, 0.1);
  border-radius: var(--radius-lg);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(0, 34, 51, 0.18);
  border-radius: var(--radius-md);
  background: var(--branco);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--azul);
  box-shadow: var(--shadow-focus);
}

.form-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.form-success {
  display: none;
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--azul-muted);
  color: var(--azul-escuro);
  font-weight: var(--font-weight-semibold);
}

.form-success.is-visible {
  display: block;
}

.contact-aside {
  padding-top: 0.5rem;
}

.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-list strong {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azul-escuro-70);
}

.contact-list span,
.contact-list a {
  font-size: 1.05rem;
  font-weight: var(--font-weight-semibold);
}

.contact-list a:hover {
  color: var(--azul-escuro-70);
}

.contact-whatsapp {
  margin-top: 1.75rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  background: #1ebe57;
}

.whatsapp-float:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

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

.footer-legal a:hover {
  text-decoration: underline;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--azul-escuro-90);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--branco);
}

.footer-brand img {
  width: 40px;
  height: auto;
  flex-shrink: 0;
}

.footer-brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-nav a:hover {
  color: var(--azul);
}

.footer-legal {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-legal strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: var(--font-weight-semibold);
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .faq-grid,
  .signal-list,
  .why-list,
  .house-grid,
  .quiz__options {
    grid-template-columns: 1fr;
  }

  .signal,
  .signal:nth-child(odd),
  .signal:nth-child(even),
  .why,
  .why:nth-child(odd),
  .why:nth-child(even) {
    padding: 1.35rem 0;
    border-right: none;
  }

  .diag-band {
    flex-direction: column;
    align-items: stretch;
  }

  .approach {
    grid-template-columns: 1fr;
  }

  .approach__item,
  .approach__item:nth-child(2),
  .approach__item:nth-child(3) {
    padding: 1.5rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .approach__item:last-child {
    border-bottom: none;
  }

  .solution {
    grid-template-columns: 3rem 1fr;
  }

  .solution__tag {
    grid-column: 2;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--azul-escuro);
    border-bottom: 1px solid rgba(0, 219, 255, 0.15);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav .btn {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding: 0.85rem 0.5rem;
  }

  .nav .btn {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .hero__bird {
    opacity: 0.35;
    right: -6%;
    top: 10%;
  }
}

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

  .hero__orbit,
  .hero__bird,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
