:root {
  --navy-950: #051733;
  --navy-900: #071d3c;
  --navy-800: #0a274e;
  --navy-700: #14375f;
  --green-600: #4a9a5a;
  --green-500: #55aa66;
  --green-100: #eaf6ee;
  --mint-50: #f3faf6;
  --mint-100: #e5f4ec;
  --grey-700: #4b586c;
  --grey-600: #5f6b7a;
  --grey-300: #dce4ec;
  --white: #ffffff;
  --shadow-soft: 0 20px 45px rgba(5, 23, 51, 0.10);
  --shadow-card: 0 16px 35px rgba(5, 23, 51, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy-950);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 228, 236, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100% - 48px, var(--container));
  min-height: 112px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-logo {
  width: 86px;
  height: auto;
  flex: 0 0 auto;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--navy-800);
}

.brand-slogan {
  margin-top: 2px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--green-600);
}

.brand-subtitle {
  margin-top: 10px;
  max-width: 260px;
  color: var(--grey-600);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 7px;
  border: 1px solid var(--grey-300);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(5, 23, 51, 0.08);
}

.language-button {
  min-width: 112px;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--grey-700);
  font-size: 1.08rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.language-button:hover {
  transform: translateY(-1px);
}

.language-button.is-active {
  background: var(--navy-950);
  color: var(--white);
  box-shadow: 0 12px 22px rgba(5, 23, 51, 0.18);
}

.section-soft {
  background:
    radial-gradient(circle at 82% 18%, rgba(74, 154, 90, 0.16), transparent 34%),
    linear-gradient(135deg, var(--mint-100) 0%, #f8fcfa 100%);
}

.hero {
  padding: 92px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.6fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-800);
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.eyebrow-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-600);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 26px;
  margin-top: 36px;
  font-size: clamp(3rem, 7vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  color: var(--navy-950);
}

.hero-lead {
  max-width: 780px;
  margin-bottom: 34px;
  color: var(--grey-700);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  line-height: 1.68;
  font-weight: 500;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--navy-950);
  box-shadow: 0 18px 35px rgba(5, 23, 51, 0.22);
}

.button-secondary {
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--grey-300);
}

.hero-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.88);
}

.hero-card-top {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.card-kicker,
.section-kicker {
  color: var(--green-600);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card strong {
  font-size: 1.8rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--grey-700);
  font-weight: 700;
  line-height: 1.4;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-600);
  font-size: 0.78rem;
  font-weight: 900;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading h2,
.split h2,
.contact-card h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

.section-heading p,
.split-copy p,
.contact-card p {
  color: var(--grey-700);
  font-size: 1.18rem;
  line-height: 1.7;
}

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

.service-card {
  min-height: 300px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--grey-300);
  box-shadow: 0 12px 30px rgba(5, 23, 51, 0.06);
}

.service-number {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-600);
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.service-card p {
  color: var(--grey-700);
  line-height: 1.65;
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(85, 170, 102, 0.26), transparent 28%),
    var(--navy-950);
}

.section-dark .section-kicker {
  color: var(--green-500);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.74);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 52px;
  align-items: start;
}

.split-copy {
  display: grid;
  gap: 16px;
}

.contact-section {
  background: var(--mint-50);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 42px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--grey-300);
  box-shadow: var(--shadow-card);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy-800);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--grey-300);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--navy-950);
  background: #fbfdff;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(74, 154, 90, 0.12);
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-950);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
}

/* Mobile: PT/EN separado, logótipo por cima e slogan na horizontal abaixo */
@media (max-width: 760px) {
  .container,
  .header-inner {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    padding: 18px 0 24px;
  }

  .language-switcher {
    order: 1;
    align-self: flex-end;
    margin-bottom: 4px;
  }

  .language-button {
    min-width: 86px;
    min-height: 52px;
    border-radius: 16px;
    font-size: 1rem;
  }

  .brand {
    order: 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: 100%;
  }

  .brand-logo {
    width: 78px;
    background: transparent !important;
  }

  .brand-copy {
    width: 100%;
    align-items: flex-start;
  }

  .brand-name,
  .brand-slogan {
    display: block;
    max-width: 100%;
    white-space: nowrap;
  }

  .brand-name {
    font-size: 1.02rem;
  }

  .brand-slogan {
    font-size: 1.02rem;
  }

  .brand-subtitle {
    margin-top: 8px;
    max-width: 280px;
    font-size: 0.98rem;
  }

  .hero {
    padding: 58px 0 66px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .eyebrow {
    max-width: 100%;
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  h1 {
    margin-top: 30px;
    font-size: clamp(2.8rem, 13vw, 4.3rem);
    letter-spacing: -0.075em;
  }

  .hero-lead {
    font-size: 1.15rem;
    line-height: 1.72;
  }

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

  .button {
    min-height: 60px;
  }

  .hero-card {
    padding: 26px;
    border-radius: 26px;
  }

  .section {
    padding: 66px 0;
  }

  .cards-grid,
  .split,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .contact-card {
    gap: 18px;
  }

  .contact-card {
    padding: 28px;
    border-radius: 26px;
  }

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

@media (max-width: 390px) {
  .language-button {
    min-width: 74px;
  }

  .brand-name,
  .brand-slogan {
    font-size: 0.96rem;
  }

  .brand-subtitle {
    font-size: 0.94rem;
  }

  h1 {
    font-size: 2.62rem;
  }
}
