:root {
  /* Cores */
  --red-btn: #db3d35;
  --red-surface: #d53e36;
  --teal-cta: #37b4c8;
  --teal-heading: #61c1d0;
  --card-border: #b8f3fd;
  --text-dark: #313131;
  --text-placeholder: #929292;
  --input-bg: #f8f8f8;
  --section-bg: #f5f5f5;
  --white: #ffffff;


  --font-heading: 'Poppins', -apple-system, sans-serif;
  --font-body: 'Poppins', -apple-system, sans-serif;
  --font-button: 'Inter', -apple-system, sans-serif;
  --font-input: 'Inter', -apple-system, sans-serif; 

  --container: 1280px;
  --container-wide: 1600px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, select, textarea { font-family: var(--font-input); }

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

@media (max-width: 1280px) {
  .container { padding: 0 40px; }
}

/* Botões genéricos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-button);
  font-weight: 700;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
}
.btn--red {
  background: var(--red-btn);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 20px;
}
.btn--teal {
  background: var(--teal-cta);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 10px;
  font-size: 22px;
}
.btn__icon { width: 25px; height: 25px; }

/* =========================================================
   HEADER
   ========================================================= */
.topo {
  padding: 20px 0;
}
.topo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 160px;
}
.topo__logo img { height: 74px; width: auto; }
.topo__btn { display: inline-flex; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 80px 160px;
  overflow: hidden;
  display: flex;
  min-height: 597px;
  align-items: flex-start;
}
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__bg img {
  position: absolute;
  left: 0;
  top: -8.24%;
  width: 100%;
  height: 142.38%;
  max-width: none;
  object-fit: cover;
}
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  color: var(--white);
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.1;
  width: 660px;
  margin: 0;
}
.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  max-width: 700px;
  margin: 0;
}
.hero__mobile-image { display: none; }

/* =========================================================
   POR QUE ESCOLHER
   ========================================================= */
.why {
  padding: 40px 0;
}
.why__title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-heading);
  font-size: 62px;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 80px;
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
  justify-content: center;
}
.why__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 50px;
}
.why__item--full {
  grid-column: 1 / 3;
  max-width: 620px;
  margin: 0 auto;
}
.why__icon-wrap {
  position: relative;
  width: 140px;
  height: 150px;
  flex-shrink: 0;
}
.why__ellipse {
  position: absolute;
  left: 0;
  top: 10px;
  width: 140px;
  height: 140px;
}
.why__icon { position: absolute; }
.why__icon--brazil     { left: 15px; top: 10px;  width: 110px; height: 140px; }
.why__icon--integrated { left: 37px; top: 10px;  width: 89px;  height: 140px; }
.why__icon--flexible   { left: 10px; top: 6px;   width: 120px; height: 109px; }
.why__icon--affordable { left: 10px; top: 40px;  width: 120px; height: 60px; }
.why__icon--hybrid     { left: 25px; top: 25px;  width: 90px;  height: 110px; }
.why__item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--red-btn);
  font-size: 32px;
  margin: 0;
}
.why__item-text {
  font-family: var(--font-body);
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0;
}

/* =========================================================
   PRESENÇA NACIONAL (stats)
   ========================================================= */
.stats {
  background: var(--section-bg);
  padding: 80px 0;
}
.stats__intro {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}
.stats__title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--red-surface);
  font-size: 62px;
  line-height: 1.2;
  margin: 0;
}
.stats__subtitle {
  font-family: var(--font-body);
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}
.stats__grid {
  display: flex;
  gap: 40px;
  justify-content: center;
}
.stats__card {
  background: var(--red-surface);
  border-radius: 20px;
  width: 290px;
  min-height: 293px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}
.stats__icon { width: 54px; height: 54px; margin-bottom: 70px; }
.stats__number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 15px;
}
.stats__label {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}

/* =========================================================
   BENEFÍCIOS
   ========================================================= */
.benefits {
  padding: 40px 0;
}
.benefits__title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-heading);
  font-size: 62px;
  text-align: center;
  margin: 0 0 60px;
}
.benefits__grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}
.benefits__card {
  background: var(--white);
  border: 4px solid var(--card-border);
  border-radius: 20px;
  width: 620px;
  overflow: hidden;
}
.benefits__image { width: 100%; aspect-ratio: 620 / 240; overflow: hidden; }
.benefits__image img { width: 100%; height: auto; object-fit: cover; }
.benefits__body { padding: 40px; display: flex; flex-direction: column; gap: 40px; }
.benefits__card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--red-btn);
  font-size: 40px;
  margin: 0;
}
.benefits__list { display: flex; flex-direction: column; gap: 20px; }
.benefits__list li { display: flex; align-items: flex-start; gap: 10px; }
.benefits__list img { width: 30px; height: 30px; flex-shrink: 0; }
.benefits__list span {
  font-family: var(--font-body);
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-dark);
}

/* =========================================================
   COMO SE TORNAR PARCEIRO
   ========================================================= */
.steps { padding: 80px 0; }
.steps__title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--red-surface);
  font-size: 62px;
  line-height: 1.1;
  margin: 0 0 60px;
}
.steps__grid {
  display: flex;
  gap: 40px;
}
.steps__card {
  background: var(--red-surface);
  border-radius: 20px;
  width: 400px;
  min-height: 293px;
  padding: 30px;
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.steps__number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  margin: 0 0 27px;
  line-height: 1.1;
}
.steps__step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 30px;
}
.steps__step-text {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
}

/* =========================================================
   FORMULÁRIO
   ========================================================= */
.form-section { padding: 80px 0; }
.form-section__intro { display: flex; flex-direction: column; gap: 30px; margin-bottom: 47px; }
.form-section__title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-heading);
  font-size: 62px;
  line-height: 1.1;
  margin: 0;
}
.form-section__subtitle {
  font-family: var(--font-body);
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
}

.partner-form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.field-row { display: flex; gap: 40px; }
.field-row .field { width: 50%; }
.field label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  color: var(--text-dark);
}
.required { color: var(--red-surface); }

.field input,
.field textarea,
.native-select {
  background: var(--input-bg);
  border: none;
  border-radius: 8px;
  padding: 20px 24px;
  font-family: var(--font-input);
  font-size: 16px;
  letter-spacing: -0.32px;
  color: var(--text-dark);
  width: 100%;
  height: 54px;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-placeholder); }
.field textarea { height: 160px; resize: vertical; font-family: var(--font-input); }

.select-wrap { position: relative; }
.native-select {
  appearance: none;
  -webkit-appearance: none;
  color: var(--text-placeholder);
  padding-right: 50px;
}
.native-select:valid { color: var(--text-dark); }
.select-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* ==================== CONSENT (LGPD) ==================== */
.consent {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

/* Input nativo, invisível, mas clicável (fica sobre a caixinha) */
.consent input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;        /* captura cliques diretos na caixinha */
}

/* Caixa visível desenhada em CSS */
.consent__box {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
    background: #ffffff;
    border: 2px solid #c9c9c9;
    border-radius: 6px;
    box-sizing: border-box;
    pointer-events: none;   /* cliques passam para o input acima */
    transition: background-color .15s ease, border-color .15s ease;
}

/* Ignora a <img> antiga do SVG */
.consent__box img { display: none; }

/* Desenha o "V" (aparece somente quando marcado) */
.consent__box::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 47%;
    width: 6px;
    height: 12px;
    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform .15s ease;
}

/* Estado MARCADO */
.consent input:checked ~ .consent__box {
    background: var(--red-btn);
    border-color: var(--red-btn);
}
.consent input:checked ~ .consent__box::after {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

/* Foco por teclado */
.consent input:focus-visible ~ .consent__box {
    outline: 2px solid #c0392b;
    outline-offset: 2px;
}

/* Texto */
.consent__text {
    font-family: var(--font-body);
    font-size: 22px;
    line-height: 1.2;
    color: var(--text-dark);
}

.btn--submit {
  align-self: flex-start;
  padding: 24px 40px;
  border-radius: 14px;
  font-size: 22px;
}
.btn--submit:disabled { opacity: 0.5; cursor: not-allowed; }
.form-feedback { font-family: var(--font-body); font-size: 16px; color: var(--teal-cta); min-height: 20px; }
  .form-feedback { margin-top: .75rem; font-size: .95rem; }
.form-feedback.is-error   { color: #c0392b; }
.form-feedback.is-success { color: #1e8449; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 80px 0; }
.faq__title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-heading);
  font-size: 62px;
  line-height: 1.1;
  margin: 0 0 40px;
}
.faq__accordion { display: flex; flex-direction: column; gap: 24px; }
.faq__item:first-child { margin-bottom: 16px; }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 30px 19px 40px;
  border-radius: 14px;
  border: 1px solid var(--teal-heading);
  background: transparent;
  color: var(--teal-heading);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  text-align: left;
  min-height: 74px;
  transition: background 0.2s ease;
}
.faq__question--active,
.faq__item.is-open .faq__question {
  background: var(--teal-heading);
  color: var(--white);
  border-color: var(--teal-heading);
}
.faq__icon { width: 36px; height: 36px; flex-shrink: 0; }
.faq__icon--minus { display: none; }
.faq__icon--plus { display: block; }
.faq__item.is-open .faq__icon--minus { display: block; }
.faq__item.is-open .faq__icon--plus { display: none; }

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq__item.is-open .faq__answer { max-height: 600px; }
.faq__answer p {
  font-family: var(--font-body);
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-dark);
  padding-top: 40px;
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer__top { background: var(--red-surface); padding: 40px 0; }
.footer__top-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; flex-direction: column; gap: 40px; max-width: 800px; }
.footer__logo { height: auto; width: 250px; }
.footer__legal {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 24px;
  color: var(--white);
  margin: 0;
}
.footer__social { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer__social-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  margin: 0;
}
.footer__social-icons {
  display: flex;
  align-items: center;
  gap: 30px;
}
.footer__social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}
.footer__social-icons a:hover,
.footer__social-icons a:focus-visible { opacity: 0.75; }
.footer__social-icons img { height: 24px; width: auto; }
.footer__badges { display: flex; gap: 20px; }
.footer__badges img { height: 86px; width: auto; border-radius: 8px; }

.footer__bottom {
  padding: 20px 0;
  text-align: center;
}
.footer__bottom p {
  font-family: var(--font-body);
  font-size: 14px;
  color: #595959;
  margin: 0 auto;
}
.footer__bottom a { text-decoration: underline; }

/* =========================================================
   BOTÃO FLUTUANTE (desktop apenas)
   ========================================================= */
.floating-cta {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--teal-cta);
  color: var(--white);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.floating-cta img { width: 41.5px; height: 41.5px; }
.floating-cta span {
  font-family: var(--font-button);
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  line-height: 1.2;
}

/* =========================================================
   ============  BREAKPOINT PRINCIPAL: 768px  ==============
   ========================================================= */
@media (max-width: 768px) {

  .container { padding: 0 40px; }

  /* Header */
  .topo__inner { padding: 0 20px; justify-content: center; }
  .topo__logo img { height: 57.108px; width: 200px; }
  .topo__btn { display: none; }

  /* Hero */
  .hero {
    flex-direction: column;
    padding: 40px;
    min-height: 0;
    align-items: stretch;
  }
  .hero__bg { display: none; }
  .hero { background: var(--red-surface); }
  .hero__content { gap: 20px; }
  .hero__title { font-size: 36px; width: 100%; }
  .hero__subtitle { font-size: 22px; max-width: 100%; }
  .btn--teal { font-size: 22px; padding: 16px 40px; }
  .hero__mobile-image {
    display: block;
    position: relative;
    width: calc(100% + 80px);
    margin: 40px -40px -40px;
    height: 291px;
    overflow: hidden;
  }
  .hero__mobile-image img {
    position: absolute;
    left: -68.61%;
    top: 0;
    width: 168.54%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }

  /* Por que escolher */
  .why { padding: 20px 0; }
  .why__title { font-size: 36px; margin-bottom: 40px; }
  .why__grid { grid-template-columns: 1fr; gap: 40px; }
  .why__item--full { grid-column: 1; max-width: 100%; }
  .why__item-title { font-size: 24px; }
  .why__item-text { font-size: 18px; }

  /* Stats */
  .stats { padding: 20px 0; }
  .stats__intro { margin-bottom: 40px; }
  .stats__title { font-size: 36px; }
  .stats__subtitle { font-size: 22px; }
  .stats__grid { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .stats__card { width: 160px; min-height: 160px; padding: 12px; border-radius: 20px; gap: 8px; }
  .stats__icon { width: 40px; height: 40px; margin-bottom: 0; }
  .stats__number { font-size: 24px; margin-bottom: 0; }
  .stats__label { font-size: 12px; }

  /* Benefícios */
  .benefits { padding: 20px 0; }
  .benefits__title { font-size: 36px; margin-bottom: 40px; }
  .benefits__grid { flex-direction: column; gap: 40px; align-items: stretch; }
  .benefits__card { width: 100%; }
  .benefits__body { padding: 20px; gap: 20px; }
  .benefits__card-title { font-size: 36px; }
  .benefits__list span { font-size: 16px; }

  /* Como se tornar parceiro */
  .steps { padding: 40px 0; }
  .steps__title { font-size: 36px; margin-bottom: 40px; }
  .steps__grid { flex-direction: column; gap: 20px; }
  .steps__card { width: 100%; min-height: 0; padding: 30px; gap: 12px; }
  .steps__number { font-size: 48px; margin-bottom: 0; }
  .steps__step-title { font-size: 24px; margin-bottom: 0; }
  .steps__step-text { font-size: 20px; }

  /* Formulário */
  .form-section { padding: 40px 0; }
  .form-section__intro { margin-bottom: 40px; gap: 30px; }
  .form-section__title { font-size: 36px; }
  .form-section__subtitle { font-size: 22px; }
  .field-row { flex-direction: column; gap: 24px; }
  .field-row .field { width: 100%; }
  .field label { font-size: 18px; }
  .consent__text { font-size: 12px; }
  .btn--submit { width: 100%; padding: 12px 40px; font-size: 16px; }

  /* FAQ */
  .faq { padding: 40px 0; }
  .faq__title { font-size: 36px; margin-bottom: 40px; }
  .faq__question { font-size: 22px; padding: 20px; }
  .faq__answer p { font-size: 18px; padding-top: 20px; }

  /* Rodapé */
  .footer__top { padding: 40px; }
  .footer__top-inner { flex-direction: column; gap: 40px; padding: 0; }
  .footer__brand { max-width: 100%; }
  .footer__bottom p { font-size: 14px; }

  /* Botão flutuante escondido no mobile (não existe no design mobile) */
  .floating-cta { display: none; }
}
