/* ==========================================================================
   MTS Consultoria — Design tokens
   ========================================================================== */

:root {
  /* Navy — base institucional, quase-preto para máximo contraste editorial */
  --navy-950: #080d15;
  --navy-900: #0d1420;
  --navy-800: #131c2c;
  --navy-700: #1b2740;

  /* Azul — cor da marca (extraída da logo) */
  --blue-600: #3872ad;
  --blue-500: #4f8ed6;
  --blue-400: #7db0e6;
  --blue-tint: rgba(79, 142, 214, 0.12);

  /* Paper — neutros quentes para seções claras */
  --paper: #f7f4ee;
  --paper-2: #efe9dd;
  --white: #ffffff;

  /* Texto */
  --ink: #14181f;
  --ink-muted: #5a6272;
  --on-dark: #eef1f6;
  --on-dark-muted: rgba(238, 241, 246, 0.68);

  /* Tipografia */
  --font-display: "Manrope", "Inter", sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  /* Espaçamento (escala 4/8) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

svg {
  stroke: currentColor;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 300;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-3);
  }
}

section {
  position: relative;
}

.on-dark {
  color: var(--on-dark);
}

.on-dark-muted {
  color: var(--on-dark-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
  flex-shrink: 0;
}

.eyebrow--light {
  color: var(--blue-400);
}

.eyebrow--center {
  justify-content: center;
  width: 100%;
}

.section {
  padding: var(--space-7) 0;
}

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

.section--navy {
  background: var(--navy-950);
  padding: var(--space-7) 0;
  overflow: hidden;
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-6);
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--ink);
  margin: var(--space-2) 0 var(--space-2);
}

.section-head p {
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 56ch;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center p {
  margin-left: auto;
  margin-right: auto;
}

/* Scoped overrides for section-heads on dark backgrounds — must beat
   .section-head h2 / .section-head p on specificity, not just source order */
.section--navy .section-head h2,
.cta-final .section-head h2 {
  color: var(--on-dark);
}

.section--navy .section-head p,
.cta-final .section-head p {
  color: var(--on-dark-muted);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
  white-space: nowrap;
  touch-action: manipulation;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--blue-500);
  color: var(--navy-950);
  box-shadow: 0 10px 26px -10px rgba(79, 142, 214, 0.6);
}

.btn-primary:hover {
  background: var(--blue-400);
  box-shadow: 0 12px 30px -8px rgba(79, 142, 214, 0.7);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.btn-paper {
  background: var(--paper);
  color: var(--navy-950);
  padding: 0.7rem 1.4rem;
}

.btn-paper:hover {
  background: var(--white);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-2) 0;
  transition: background-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out), padding 240ms var(--ease-out);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.site-header.is-scrolled {
  background: rgba(8, 13, 21, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.5);
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.main-nav ul {
  display: flex;
  gap: var(--space-4);
}

.main-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  padding: 4px 2px;
  transition: color 160ms var(--ease-out);
}

.main-nav a:not(.btn):hover {
  color: var(--white);
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--blue-400);
  transition: width 200ms var(--ease-out);
}

.main-nav a:not(.btn):hover::after {
  width: 100%;
}

.nav-close {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: var(--space-4);
    gap: var(--space-5);
    transform: translateX(100%);
    transition: transform 320ms var(--ease-out);
    box-shadow: -20px 0 50px -20px rgba(0, 0, 0, 0.5);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
    margin-top: var(--space-5);
  }

  .main-nav a:not(.btn) {
    font-size: 1.1rem;
    display: block;
  }

  .main-nav .btn {
    width: 100%;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    align-self: flex-end;
  }

  .nav-close svg {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--navy-950);
  padding: calc(var(--space-8) + 2rem) 0 var(--space-8);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 10, 17, 0.72) 0%, rgba(7, 12, 20, 0.6) 38%, rgba(8, 13, 21, 0.88) 100%),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(7, 12, 20, 0.25), rgba(6, 10, 17, 0.7) 100%);
}

/* Elegant texture for other dark sections (metodologia, cta-final) */
.section-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(79, 142, 214, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 45% at 100% 100%, rgba(79, 142, 214, 0.1), transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 56vh;
}

.hero__copy {
  max-width: 760px;
}

.hero__copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--on-dark);
  margin: var(--space-3) 0 var(--space-3);
}

.hero__copy h1 em {
  font-style: normal;
  color: var(--blue-400);
}

.hero__lede {
  color: var(--on-dark-muted);
  font-size: 1.15rem;
  max-width: 56ch;
  margin: 0 auto var(--space-4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero__chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(13, 20, 32, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: left;
}

.hero__chip-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__chip-icon svg {
  width: 24px;
  height: 24px;
}

.hero__chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: var(--on-dark);
  font-weight: 700;
  line-height: 1.3;
}

.hero__chip span {
  display: block;
  font-size: 0.8rem;
  color: var(--on-dark-muted);
  margin-top: 3px;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .hero__chips {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--paper-2);
  padding: var(--space-3) 0;
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.trust-strip > .container > span:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-7);
  align-items: start;
}

.about__copy .lead {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin: var(--space-3) 0 var(--space-4);
}

.about__copy .accent {
  color: var(--blue-600);
}

.about__copy p + p {
  margin-top: var(--space-3);
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.pillar {
  display: flex;
  gap: 14px;
  padding: var(--space-3);
  background: var(--paper);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius-md);
}

.pillar__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar__icon svg {
  width: 20px;
  height: 20px;
}

.pillar h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.pillar p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .about__pillars {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Leadership
   ========================================================================== */

.leadership {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-7);
  align-items: start;
  margin-top: var(--space-2);
}

.leadership__photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 110px;
}

.leadership__frame {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.leadership__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leadership__caption {
  margin-top: var(--space-3);
  font-size: 0.85rem;
  color: var(--on-dark-muted);
  letter-spacing: 0.02em;
  text-align: center;
}

.leadership__content > p {
  color: var(--on-dark-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: var(--space-3);
}

.leadership__content strong {
  color: var(--on-dark);
  font-weight: 700;
}

.leadership__traits {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.leadership__trait {
  display: flex;
  gap: 16px;
  padding: var(--space-3);
  background: var(--navy-900);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-md);
}

.leadership__trait-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.leadership__trait-icon svg {
  width: 22px;
  height: 22px;
}

.leadership__trait h3 {
  font-size: 1rem;
  color: var(--on-dark);
  margin-bottom: 4px;
}

.leadership__trait p {
  font-size: 0.9rem;
  color: var(--on-dark-muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .leadership {
    grid-template-columns: 1fr;
  }

  .leadership__photo {
    position: static;
    margin-bottom: var(--space-5);
  }
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(19, 28, 44, 0.2);
  border-color: transparent;
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.service-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy-950);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
}

.service-card__index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--paper-2);
}

.service-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-600);
  background: var(--blue-tint);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--space-2);
}

.service-card__tag--alt {
  color: var(--ink-muted);
  background: var(--paper);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.service-card > p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.service-card li svg {
  width: 16px;
  height: 16px;
  color: var(--blue-500);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ==========================================================================
   Methodology
   ========================================================================== */

.method {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.method__step {
  position: relative;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: var(--navy-900);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-lg);
}

.method__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--navy-950);
  background: var(--blue-400);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  margin-bottom: var(--space-3);
}

.method__step h3 {
  color: var(--on-dark);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.method__step p {
  color: var(--on-dark-muted);
  font-size: 0.92rem;
}

.method__tag {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-400);
  background: rgba(79, 142, 214, 0.14);
  padding: 5px 10px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .method {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .method {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Why grid
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.why-card {
  background: var(--white);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
}

.why-card svg {
  width: 30px;
  height: 30px;
  color: var(--blue-500);
  margin: 0 auto var(--space-3);
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

@media (max-width: 760px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CTA final
   ========================================================================== */

.cta-final {
  position: relative;
  background: var(--navy-950);
  padding: var(--space-7) 0;
  text-align: center;
  overflow: hidden;
}

.cta-final__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(79, 142, 214, 0.32), transparent 70%);
  pointer-events: none;
}

.cta-final .container {
  position: relative;
  max-width: 700px;
}

.cta-final h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: var(--space-2) 0 var(--space-3);
}

.cta-final p {
  margin-bottom: var(--space-4);
}

.cta-final__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-6);
}

.contact__info h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  margin: var(--space-2) 0 var(--space-3);
  color: var(--ink);
}

.contact__info > p {
  color: var(--ink-muted);
  margin-bottom: var(--space-4);
  max-width: 46ch;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact__item .ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--paper);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__item .ico svg {
  width: 20px;
  height: 20px;
}

.contact__item .label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.contact__item a,
.contact__item .value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.contact__item a:hover {
  color: var(--blue-600);
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--paper-2);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.field {
  margin-bottom: var(--space-3);
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.req {
  color: var(--blue-600);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--paper-2);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  min-height: 44px;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-tint);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: var(--space-2);
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: var(--space-4);
  }
}

/* ==========================================================================
   Legal (privacy policy)
   ========================================================================== */

.legal-hero {
  padding-top: calc(var(--space-8) + 3rem);
  padding-bottom: var(--space-6);
}

.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: var(--space-2) 0 var(--space-2);
}

.legal {
  max-width: 720px;
  margin: 0 auto;
}

.legal > p:first-child {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: var(--space-4);
}

.legal h2 {
  font-size: 1.25rem;
  color: var(--ink);
  margin: var(--space-5) 0 var(--space-2);
}

.legal p {
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: var(--space-3);
}

.legal ul {
  margin: 0 0 var(--space-3);
  padding-left: 1.3rem;
  list-style: disc;
}

.legal li {
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 6px;
}

.legal a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
}

.legal__back svg {
  width: 18px;
  height: 18px;
}

.legal__back:hover {
  color: var(--blue-600);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-950);
  padding: var(--space-6) 0 var(--space-4);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--navy-700);
}

.footer-brand img {
  height: 30px;
  margin-bottom: var(--space-2);
}

.footer-brand p {
  color: var(--on-dark-muted);
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.footer-col h4 {
  color: var(--on-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col span {
  color: var(--on-dark-muted);
  font-size: 0.92rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-4);
  font-size: 0.82rem;
  color: var(--on-dark-muted);
}

@media (max-width: 760px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

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

/* ==========================================================================
   WhatsApp float
   ========================================================================== */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(79, 142, 214, 0.7);
  z-index: 90;
  transition: transform 200ms var(--ease-out), background-color 200ms var(--ease-out);
}

.wa-float:hover {
  transform: scale(1.06);
  background: var(--blue-400);
}

.wa-float svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

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