@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;500;600&family=Sora:wght@300;400;500;600&display=swap');

:root {
  --orange: #ff7d01;
  --black: #010101;
  --white: #ffffff;
  --muted: #5c524a;
  --line: #e7dfd6;
  --o-height: min(75vh, 700px);
  --o-x: -120px;
  --o-y: 0px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

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

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

.container {
  width: min(1080px, 90%);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  padding: 24px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-image {
  display: block;
  height: 34px;
  width: auto;
  max-width: 220px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.2s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  min-height: max(80vh, calc(var(--o-height) + 140px));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 90px 0;
}

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

.hero-bg img {
  position: absolute;
  left: 0;
  top: 50%;
  height: var(--o-height);
  width: auto;
  transform: translate(var(--o-x), calc(-50% + var(--o-y)));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: clamp(40px, 8vw, 140px);
}

.hero-copy h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.07;
  margin-bottom: 12px;
}

.hero-copy p {
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--muted);
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  transition: all 0.2s ease;
}

.btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* SECTIONS */

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.define-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.define-list {
  display: grid;
  gap: 16px;
}

.define-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.o-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: url("bg origo 3.svg") no-repeat center / contain;
  margin-top: 4px;
}

.define-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--orange);
  margin-bottom: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.o-letter {
  display: inline-block;
  width: 22px;
  height: 12px;
  background: url("bg origo 3.svg") no-repeat center / contain;
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.eyebrow-text {
  display: inline-block;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--orange);
  margin-bottom: 16px;
}

.text {
  max-width: 760px;
  font-size: 1.05rem;
  color: var(--muted);
}

/* DARK SECTION */

.section-dark {
  background: var(--black);
  color: var(--white);
  border-bottom: none;
}

.dark-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.dark-copy {
  color: rgba(255, 255, 255, 0.72);
}

.dark-copy p + p {
  margin-top: 14px;
}

.dark-points {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.dark-points div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.dark-points span {
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.16em;
}

/* FRENTES */

.section-fronts {
  background: #fbf8f4;
}

.section-fronts .define-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.section-fronts .define-item {
  padding: 22px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 125, 1, 0.14);
  background: linear-gradient(180deg, #fff 0%, #fff8f0 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

/* BRANDS */

.section-brands {
  background: #0b0b0b;
  color: var(--white);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.section-brands::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/brands-bg.jpg") no-repeat center;
  background-size: cover;
  opacity: 0.7;
  z-index: 0;
}

.section-brands::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.72);
  z-index: 0;
}

.section-brands .container {
  position: relative;
  z-index: 1;
}

.section-brands .text {
  color: rgba(255, 255, 255, 0.72);
}

.brands-grid {
  display: grid;
  gap: 32px;
}

.brands-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.brand-card {
  min-height: 188px;
  display: grid;
  grid-template-rows: minmax(84px, auto) auto;
  gap: 12px;
  padding: 18px 14px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff8f0 0%, #fff 100%);
  border: 1px solid rgba(255, 125, 1, 0.2);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.16);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 125, 1, 0.36);
}

.brand-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.brand-media {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

.brand-card img {
  width: auto;
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.brand-card p {
  color: rgba(1, 1, 1, 0.68);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

/* TAMANHOS LOGOS */

.brand-logo--origo { max-height: 86px; }
.brand-logo--nox { max-height: 88px; }
.brand-logo--nx { max-height: 54px; }
.brand-logo--mspmarketing { max-height: 70px; }
.brand-logo--mspgrowth { max-height: 70px; }

/* CARD LUÍS */

.brand-card--textual {
  background: linear-gradient(180deg, #fff 0%, #f6efe7 100%);
}

.brand-name {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 125, 1, 0.18);
  text-align: center;
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--black);
}

/* CONTACT */

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}

.contact-info {
  font-size: 0.95rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 2px solid var(--orange);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.contact-form label {
  display: grid;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .7rem;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 6px 12px;
  border: none;
  border-bottom: 2px solid rgba(1, 1, 1, 0.2);
  background: transparent;
  font: inherit;
  color: var(--black);
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--orange);
}

.form-status {
  min-height: 1.5em;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-status[data-state="loading"] {
  color: var(--orange);
}

.form-status[data-state="success"] {
  color: #1d7a36;
}

.form-status[data-state="error"] {
  color: #b8481f;
}

/* OCULTA FORM RD */

.rd-form-host,
#institucional-23bf0b8ed104751f90ea,
#institucional-23bf0b8ed104751f90ea form {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  z-index: -1 !important;
}

/* THANK YOU PAGE */

.thank-you-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f4 100%);
}

.thank-you-main {
  flex: 1;
}

.thank-you-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

.thank-you-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.96;
}

.thank-you-bg img {
  position: absolute;
  left: 0;
  top: 50%;
  height: min(78vh, 760px);
  width: auto;
  transform: translate(-15%, -50%);
}

.thank-you-card {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-left: auto;
  padding: 42px 38px;
  border: 1px solid rgba(255, 125, 1, 0.28);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(1, 1, 1, 0.12);
  backdrop-filter: blur(10px);
}

.thank-you-card h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.thank-you-card .text {
  max-width: 600px;
}

.thank-you-card .text + .text {
  margin-top: 14px;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.thank-you-link {
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(1, 1, 1, 0.16);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.thank-you-link:hover {
  color: var(--black);
  border-bottom-color: var(--orange);
}

/* FOOTER */

.footer {
  padding: 24px 0 40px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.footer p {
  margin: 0;
}

/* RESPONSIVO */

@media (max-width: 1200px) {
  :root {
    --o-height: min(70vh, 620px);
    --o-x: -90px;
  }

  .hero-content {
    margin-left: auto;
    margin-right: clamp(32px, 6vw, 120px);
  }
}

@media (max-width: 900px) {
  :root {
    --o-height: min(60vh, 520px);
    --o-x: -60px;
  }

  .hero-content {
    margin-left: auto;
    margin-right: clamp(24px, 6vw, 80px);
  }

  .brands-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-fronts .define-list {
    grid-template-columns: 1fr;
  }

  .thank-you-card {
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .logo-image {
    height: 30px;
    max-width: 180px;
  }

  .hero {
    padding: 70px 0;
  }

  .brands-logos {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: auto;
  }

  .brand-logo--mspmarketing,
  .brand-logo--mspgrowth {
    max-height: 80px;
  }

  .thank-you-hero {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .thank-you-bg img {
    height: min(56vh, 420px);
    transform: translate(-28%, -70%);
  }

  .thank-you-card {
    margin: 0 auto;
    padding: 32px 24px;
    border-radius: 22px;
  }

  .thank-you-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
