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

:root {
  --color-bg: #fff;
  --color-dark: #1a1a1a;
  --color-black: #111111;
  --color-accent: #FFC409;
  --color-muted: #d4d4d4;
  --color-text: #4a4a4a;
  --max-width: 1200px;
  --radius-card: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-dark);
  line-height: 1.5;
  background: var(--color-bg);
}

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

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

::selection {
  background: var(--color-accent);
  color: #000;
}

::-moz-selection {
  background: var(--color-accent);
  color: #000;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.btn__arrow {
  font-size: 18px;
  line-height: 1;
}

.btn--yellow {
  background: var(--color-accent);
  color: #000;
}

.btn--yellow:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.btn--dark {
  background: #000;
  color: var(--color-accent);
}

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

.btn--block {
  display: flex;
  width: 100%;
}

/* ===== Badges e títulos de seção ===== */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
}

.badge--dark {
  background: #000;
  color: #fff;
}

.badge--light {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.section-head {
  margin-bottom: 48px;
}

.section-head--center {
  text-align: center;
}

.section-title {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-title--light {
  color: #fff;
}

.section-title--dark {
  color: var(--color-dark);
}

.section-head--center .section-title {
  margin-top: 18px;
}

.section-intro {
  font-size: 16px;
  color: var(--color-text);
  max-width: 720px;
  margin: 16px auto 0;
}

.section-intro--light {
  color: #cfcfcf;
}

.section-cta {
  text-align: center;
  margin-top: 44px;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-accent);
  color: #000;
  margin-bottom: 20px;
}

.icon-badge svg {
  width: 28px;
  height: 28px;
}

/* Linha de dois badges (ex.: Instagram + TikTok) */
.icon-badge-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.icon-badge-row .icon-badge {
  margin-bottom: 0;
}

/* ===== Header ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.site-header__logo-img {
  height: 38px;
  width: auto;
}

.site-header__social {
  display: flex;
  gap: 12px;
}



.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-pill svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 480px) {
  .site-header__logo-img {
    height: 30px;
  }

  .site-header__social {
    gap: 5px;
  }

  .social-pill {
    gap: 6px;
    font-size: 10px;
    padding: 10px 15px;
  }

  .social-pill svg {
    width: 14px;
    height: 14px;
  }
}

.social-pill:hover {
  background: #1a1a1a;
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  background: #fff;
  padding: 24px 24px 56px;
}

.hero__card {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-black);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* Imagem de fundo do banner (já vem com a área escura embutida para o texto) */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
  padding: 64px 56px;
}

.hero__title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title .hl {
  color: var(--color-accent);
}

.hero__text {
  font-size: 17px;
  color: #cfcfcf;
  max-width: 440px;
  margin-bottom: 36px;
}

/* ===== Conheça o projeto ===== */
.conheca {
  background: var(--color-black);
  color: #fff;
  padding: 88px 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bordered-card {
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  background: transparent;
}

.bordered-card__title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.bordered-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: #bdbdbd;
}

/* ===== Requisitos ===== */
.requisitos {
  background: #fff;
  padding: 88px 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.dark-card {
  background: var(--color-black);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.dark-card .icon-badge {
  margin-bottom: auto;
}

.dark-card__title {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-top: 24px;
}

/* ===== Como vai funcionar (passos) ===== */
.passos {
  background: var(--color-accent);
  padding: 88px 24px;
}

.passos .badge--dark {
  background: #000;
  color: #fff;
}

.passos .section-title--dark {
  color: #1a1a1a;
}

.step-card {
  background: var(--color-black);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}

.step-card__num {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 20px;
}

.step-card__title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.step-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: #bdbdbd;
}

.passos__note {
  text-align: center;
  font-size: 14px;
  font-style: italic;
  color: #6b5a00;
  margin-top: 28px;
}

.passos .btn--dark {
  background: #000;
  color: var(--color-accent);
}

/* ===== Formulário ===== */
.form-section {
  background: #f1f0ec;
  padding: 88px 24px;
}

.form-section__inner {
  max-width: 760px;
  margin: 0 auto;
}

.form-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.req {
  color: #e23744;
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background-color: #fff;
  width: 100%;
  color: #1a1a1a;
  transition: border-color 0.2s;
}

.form-group input::placeholder {
  color: #9a9a9a;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231a1a1a' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group select:invalid {
  color: #9a9a9a;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: #C0002D;
  box-shadow: 0 0 0 1px rgba(192, 0, 45, 0.35);
}

.field-error {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #C0002D;
  font-weight: 500;
}

.field-error:empty {
  display: none;
}

/* ----- Autocomplete do campo Unidade ----- */
.search-field {
  position: relative;
}

.search-input-wrap {
  position: relative;
  display: flex;
}

.search-field .input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: #999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-field .input-icon svg {
  width: 100%;
  height: 100%;
}

.search-field input {
  padding-right: 42px;
}

.search-field input:focus+.input-icon {
  color: var(--color-accent);
}

.unidade-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 260px;
  overflow-y: auto;
}

.unidade-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.unidade-option:hover,
.unidade-option.active {
  background: #FFF6D6;
}

.unidade-option-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.unidade-option-local {
  font-size: 13px;
  color: #777;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 1px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-group+.field-error {
  margin-top: 6px;
  margin-bottom: 6px;
}

.checkbox-group.has-error {
  border-color: #C0002D;
}

.checkbox-group.has-error label {
  font-weight: 700;
}

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

.form-note {
  font-size: 13px;
  line-height: 1.6;
  color: #8a8a8a;
  margin-top: 18px;
  text-align: center;
}

.form-note a {
  color: #1a1a1a;
  font-weight: 700;
  text-decoration: underline;
}

/* ===== Modal de sucesso ===== */
/* Exibição via display:none -> flex. É proposital NÃO usar opacity para
   ocultar: o gatilho de Visibilidade de Elemento do GTM usa IntersectionObserver,
   que IGNORA opacity. Com display:none o elemento sai do fluxo (ratio 0) e ao
   abrir entra (ratio 1) — essa transição 0->1 é o que faz o GTM disparar.
   Um modal opacity:0 fixed inset:0 já conta como 100% visível desde o load e
   o gatilho nunca dispara. */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.6);
}

.success-modal.open {
  display: flex;
}

.success-modal__box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 48px 40px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.success-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #1a1a1a;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.success-modal__close:hover {
  background: #f2f2f2;
}

.success-modal__close svg {
  width: 20px;
  height: 20px;
}

.success-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.success-modal__icon svg {
  width: 56px;
  height: 56px;
}

.success-modal__title {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.success-modal__text {
  font-size: 15px;
  line-height: 1.6;
  color: #4a4a4a;
}

.success-modal__signoff {
  font-size: 15px;
  line-height: 1.6;
  color: #4a4a4a;
  margin-top: 20px;
}

.success-modal__emojis {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}

.success-modal__emojis img {
  width: 20px;
  height: 20px;
  display: inline-block;
}

/* ===== Perguntas frequentes ===== */
.faq-section {
  background: #fff;
  color: #1a1a1a;
  padding: 88px 24px;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.faq-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-icon svg {
  width: 18px;
  height: 18px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-content {
  max-height: 600px;
}

.faq-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  padding: 0 24px 22px;
}

/* ===== Footer (padrão site Smart Fit) ===== */
.footer {
  background: #000;
  color: #fff;
  padding: 48px 24px 40px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo {
  text-align: center;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo img {
  height: 34px;
  width: auto;
  display: inline-block;
}

.footer-social-block {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-label {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  color: #000;
}

.footer-social a:hover {
  background: var(--color-accent);
}

/* Colunas de links */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-col__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

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

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: #cfcfcf;
  line-height: 1.5;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #cfcfcf;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ===== Responsivo ===== */
@media (max-width: 992px) {
  .section-title {
    font-size: 36px;
  }

  .hero__title {
    font-size: 38px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 16px 16px 40px;
  }

  .hero__card {
    min-height: 560px;
    align-items: flex-end;
    border-radius: 20px;
  }

  .hero__bg img {
    object-position: center top;
  }

  .hero__content {
    max-width: 100%;
    padding: 32px 28px 40px;
  }

  .hero__title {
    font-size: 30px;
  }

  .conheca,
  .requisitos,
  .passos,
  .form-section,
  .faq-section {
    padding: 56px 20px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dark-card {
    min-height: 0;
  }

  .site-header__inner {
    padding: 14px 18px;
  }

  .social-pill {
    padding: 8px 14px;
    font-size: 12px;
  }

  .form-card {
    padding: 28px 20px;
  }

  .btn {
    width: 100%;
    max-width: 360px;
  }

  .section-cta .btn {
    width: auto;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 26px;
  }

  .section-title {
    font-size: 26px;
  }

  .site-header__social .social-pill span {
    display: inline;
  }
}