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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f4f6;
  color: #111827;
}

p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  word-break: normal;
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  p {
    text-align: left;
  }
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section--soft {
  background: #e5f0ff;
}

.section__header {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section__title {
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.section__subtitle {
  margin: 0;
  color: #4b5563;
}

.grid {
  display: grid;
  gap: 1.8rem;
}

.grid--services {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid--two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.logo__img {
  height: 44px;
  width: auto;
}

.logo__img--small {
  height: 34px;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__title {
  font-size: 1rem;
  font-weight: 600;
}

.logo__subtitle {
  font-size: 0.8rem;
  color: #6b7280;
}

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

.nav__link {
  font-size: 0.9rem;
  color: #4b5563;
  text-decoration: none;
}

.nav__link:hover {
  color: #111827;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn--primary {
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn--primary:hover {
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.6);
}

.btn--outline {
  background: white;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.btn--outline:hover {
  background: #eff6ff;
}

/* NAV MOBILE */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: transparent;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 1.5rem;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

@media (max-width: 768px) {
  .header__cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 3.4rem;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  }
  .nav--open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
}

/* HERO */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.8rem;
  margin-bottom: 0.9rem;
}

.hero__title {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hero__title span {
  display: block;
  color: #1d4ed8;
}

.hero__subtitle {
  margin: 0 0 1.6rem;
  color: #4b5563;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.badge {
  padding: 0.7rem 1rem;
  border-radius: 0.9rem;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.badge__value {
  font-weight: 600;
  display: block;
}

.badge__label {
  font-size: 0.8rem;
  color: #6b7280;
}

.hero__image {
  border-radius: 1.4rem;
  border: 1px solid #d1d5db;
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.4);
  max-height: 320px;
  object-fit: cover;
}

/* CARDS */

.card {
  background: white;
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: #4b5563;
}

/* TEXT / IMAGE BLOCKS */

.text-block p + p {
  margin-top: 0.7rem;
}

.image-block img {
  border-radius: 1.2rem;
  border: 1px solid #d1d5db;
  box-shadow: 0 16px 36px rgba(148, 163, 184, 0.35);
}

/* CONTACT */

.contact-box {
  padding: 1.2rem 1.2rem;
  border-radius: 1rem;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  margin-top: 1rem;
}

.form {
  background: white;
  border-radius: 1.1rem;
  padding: 1.3rem 1.3rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.4);
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

.form__field label {
  font-size: 0.85rem;
  color: #4b5563;
}

.form__field input,
.form__field textarea {
  border-radius: 0.7rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
}

.form__submit {
  width: 100%;
  margin-top: 0.4rem;
}

.form__note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.4rem;
}

/* FOOTER */

.footer {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 1.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__title {
  margin: 0;
  font-weight: 600;
}

.footer__subtitle {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* COMO TRABALHAMOS - ETAPAS */
.steps-grid {
  margin-top: 1rem;
}

.step-card {
  position: relative;
  padding-top: 2.2rem;
}

.step-card__number {
  position: absolute;
  top: 0.9rem;
  left: 1.2rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: #2563eb;
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
}
