:root {
  --ink: #101620;
  --muted: #5c6673;
  --paper: #f4f7fb;
  --white: #ffffff;
  --blue: #008fd8;
  --blue-strong: #006db8;
  --blue-deep: #071c35;
  --blue-soft: #e7f5ff;
  --cta: #ff4a1f;
  --cta-dark: #df3310;
  --line: rgba(16, 22, 32, 0.12);
  --shadow: 0 28px 90px rgba(7, 28, 53, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 16px clamp(20px, 5vw, 82px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(7, 28, 53, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-actions,
.hero-actions,
.hero-proof,
.contact-links,
.footer-main,
.footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.realjud-icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
}

.realjud-icon img {
  position: absolute;
  top: -63%;
  left: -40%;
  width: 180%;
  max-width: none;
}

.brand-icon {
  width: 58px;
  height: 36px;
}

.brand-text strong,
.brand-text small {
  display: block;
  line-height: 1;
}

.brand-text strong {
  color: #1bb7ff;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-top: 5px;
  opacity: 0.72;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a {
  opacity: 0.78;
}

.nav a:hover {
  color: var(--cta);
  opacity: 1;
}

.header-actions {
  gap: 12px;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 8px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-header.is-scrolled .language-switcher,
.site-header.is-open .language-switcher {
  border-color: rgba(16, 22, 32, 0.12);
  background: rgba(7, 28, 53, 0.05);
}

.language-icon {
  font-size: 0.94rem;
  line-height: 1;
}

.language-switcher select {
  min-height: 32px;
  border: 0;
  border-radius: 5px;
  padding: 0 22px 0 4px;
  color: currentColor;
  background: transparent;
  font: inherit;
  outline: none;
  cursor: pointer;
}

.language-switcher select:focus {
  box-shadow: 0 0 0 3px rgba(27, 183, 255, 0.22);
}

.language-switcher option {
  color: var(--ink);
  background: var(--white);
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  color: var(--white);
  background: var(--cta);
  box-shadow: 0 16px 36px rgba(255, 74, 31, 0.28);
  font-size: 0.9rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 690px;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(135deg, #06172b 0%, #092c4f 48%, #006db8 100%),
    var(--blue-deep);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(0, 143, 216, 0.18), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 28px);
  opacity: 0.72;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), #1bb7ff 38%, var(--cta));
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 690px) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
  width: min(1440px, 100%);
  min-height: 690px;
  margin: 0 auto;
  padding: 112px clamp(20px, 5vw, 82px) 64px;
}

.hero-content {
  align-self: center;
}

.eyebrow,
.section-label,
.card-kicker {
  color: #1bb7ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 14px 0 20px;
  font-size: clamp(2.7rem, 4.35vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.62;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--cta), var(--cta-dark));
  box-shadow: 0 20px 46px rgba(255, 74, 31, 0.3);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-proof span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-card {
  align-self: center;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 28, 53, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card strong {
  display: block;
  margin-top: 14px;
  font-size: 1.42rem;
  line-height: 1.14;
}

.hero-card p {
  margin: 14px 0 22px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.58;
}

.hero-card a {
  display: inline-flex;
  color: var(--white);
  font-weight: 900;
}

.impact-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1280px, calc(100% - 40px));
  margin: -42px auto 0;
  border: 1px solid rgba(16, 22, 32, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 70px rgba(7, 28, 53, 0.16);
  overflow: hidden;
}

.impact-strip div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 18px 22px;
}

.impact-strip div + div {
  border-left: 1px solid var(--line);
}

.impact-strip strong {
  color: var(--blue);
  font-size: 0.92rem;
}

.impact-strip span {
  font-weight: 850;
  line-height: 1.35;
}

.section {
  padding: clamp(76px, 9vw, 128px) clamp(20px, 5vw, 76px);
}

.intro-grid,
.showcase,
.method,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.showcase h2,
.method h2,
.contact h2 {
  margin: 10px 0 0;
  font-size: clamp(2.1rem, 4.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-copy,
.section-heading p,
.showcase p,
.method p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.services,
.method {
  background: var(--white);
}

.section-heading {
  max-width: 980px;
}

.section-heading p {
  max-width: 650px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.service-card {
  padding: 30px;
  border: 1px solid rgba(0, 143, 216, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(231, 245, 255, 0.72), rgba(255, 255, 255, 0.92)),
    var(--white);
  box-shadow: 0 16px 48px rgba(7, 28, 53, 0.07);
}

.service-number {
  color: var(--blue);
  font-weight: 900;
}

.service-card h3 {
  min-height: 72px;
  margin: 18px 0 14px;
  font-size: 1.5rem;
  line-height: 1.12;
}

.service-card p,
.service-card li,
.values-grid p,
.team-role,
.team-description {
  color: var(--muted);
  line-height: 1.6;
}

.service-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 22px;
  font-weight: 800;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cta);
}

.showcase {
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 143, 216, 0.28), rgba(255, 74, 31, 0.04)),
    var(--blue-deep);
}

.showcase .section-label {
  color: #75d5ff;
}

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

.showcase .btn {
  margin-top: 12px;
}

.showcase-gallery {
  display: grid;
  gap: 18px;
}

.showcase-gallery img,
.method-visual img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.method {
  align-items: center;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.steps div {
  padding: 18px;
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: var(--blue-soft);
}

.steps strong {
  font-size: 1.05rem;
}

.steps p {
  margin: 8px 0 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.values-grid article {
  min-height: 222px;
  padding: 24px;
  border: 1px solid rgba(0, 143, 216, 0.16);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(7, 28, 53, 0.06);
}

.values-grid article:nth-child(even) {
  border-top-color: var(--cta);
}

.values-grid span {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cta));
}

.values-grid h3 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 960px);
  margin: 42px auto 0;
}

.team-card {
  overflow: hidden;
  border: 1px solid rgba(0, 143, 216, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(231, 245, 255, 0.5), rgba(255, 255, 255, 0.98)),
    var(--white);
  box-shadow: 0 16px 48px rgba(7, 28, 53, 0.07);
}

.team-photo-placeholder,
.team-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 240px;
}

.team-photo-placeholder {
  color: var(--blue-strong);
  background:
    linear-gradient(135deg, rgba(0, 143, 216, 0.16), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(135deg, rgba(0, 143, 216, 0.09) 0 1px, transparent 1px 24px),
    var(--blue-soft);
  font-weight: 900;
  text-transform: uppercase;
}

.team-photo {
  position: relative;
  overflow: hidden;
  min-height: 268px;
  background:
    linear-gradient(180deg, rgba(231, 245, 255, 0.95), rgba(255, 255, 255, 0.98)),
    var(--blue-soft);
}

.team-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
}

.team-photo-helio img {
  object-position: 43% bottom;
}

.team-photo-flavia img {
  object-position: 58% bottom;
}

.team-photo-leonardo img {
  object-position: center top;
}

.team-photo-placeholder span {
  padding: 10px 14px;
  border: 1px solid rgba(0, 109, 184, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.team-card h3,
.team-role,
.team-description {
  padding-inline: 26px;
}

.team-card h3 {
  margin: 24px 0 7px;
  font-size: 1.5rem;
}

.team-role {
  min-height: 52px;
  margin: 0 0 12px;
  font-weight: 800;
}

.team-description {
  margin: 0 0 26px;
  font-size: 0.96rem;
}

.contact {
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 143, 216, 0.38), transparent 34%),
    linear-gradient(135deg, #06172b, #0b2c4c 58%, #071c35);
}

.contact .section-label {
  color: #75d5ff;
}

.contact p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-links {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.form-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.form-message.success {
  color: #d8ffe9;
  background: rgba(21, 128, 61, 0.22);
  border: 1px solid rgba(74, 222, 128, 0.36);
}

.form-message.error {
  color: #ffe2dc;
  background: rgba(185, 28, 28, 0.24);
  border: 1px solid rgba(248, 113, 113, 0.36);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 14px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #75d5ff;
  box-shadow: 0 0 0 4px rgba(0, 143, 216, 0.18);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 35;
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.24));
  transition: transform 160ms ease, filter 160ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.28));
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer {
  display: grid;
  padding: 58px clamp(20px, 5vw, 76px) 28px;
  color: rgba(255, 255, 255, 0.7);
  background: #040b14;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(170px, 1fr));
  align-items: start;
  gap: clamp(28px, 4vw, 76px);
  padding-bottom: 38px;
}

.footer-brand {
  max-width: 430px;
}

.footer-icon {
  width: 72px;
  height: 44px;
  margin-bottom: 16px;
}

.footer strong,
.footer small {
  display: block;
}

.footer strong {
  color: #1bb7ff;
  font-size: 1.1rem;
  font-weight: 900;
}

.footer small {
  margin-top: 5px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer p {
  margin: 14px 0 0;
  line-height: 1.65;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 16px;
  line-height: 1.45;
}

.footer-column h2 {
  margin: 3px 0 8px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
}

.footer-column a,
.footer-column span {
  width: fit-content;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.footer-contact-link img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-lower {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer nav {
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 800;
}

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

@media (max-width: 1040px) {
  .nav {
    gap: 18px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 28px;
    padding-top: 104px;
    padding-bottom: 48px;
  }

  .hero-card {
    max-width: 520px;
    align-self: start;
  }

  .intro-grid,
  .showcase,
  .method,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand-icon {
    width: 50px;
    height: 31px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .header-cta {
    display: none;
  }

  .language-switcher {
    min-height: 40px;
    padding-inline: 10px;
  }

  .language-switcher select {
    width: 66px;
    padding-left: 4px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    color: var(--ink);
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 14px;
  }

  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .hero-shade {
    background:
      linear-gradient(160deg, rgba(0, 143, 216, 0.24), transparent 46%),
      repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 24px);
  }

  .hero-inner {
    padding: 102px 18px 38px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10.2vw, 3.45rem);
    line-height: 1.02;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.55;
  }

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

  .hero-proof span {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .hero-card {
    display: none;
  }

  .impact-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
    width: 100%;
    border-radius: 0;
  }

  .impact-strip div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .team-photo-placeholder,
  .team-photo {
    min-height: min(320px, 84vw);
  }

  .service-card h3 {
    min-height: auto;
  }

  .showcase-gallery {
    margin-inline: -8px;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-lower {
    display: grid;
  }

  .footer nav {
    display: grid;
    justify-content: start;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 560px) {
  .footer {
    padding-top: 44px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}
