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

/* FONTES */

@font-face {
  font-family: "Bernina Sans";
  src: url("assets/fonts/fonnts.com-Bernina_Sans.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bernina Sans";
  src: url("assets/fonts/fonnts.com-Bernina_Sans_Bold.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bernina Sans Compressed";
  src: url("assets/fonts/fonnts.com-Bernina_Sans_Condensed_Exbold.otf")
    format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow-soft: #fff8b6;
  --yellow: #ffef63;
  --blue: #1752bf;
  --green: #009846;
  --green-dark: #00783a;
  --text-dark: #1f2b35;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Bernina Sans", Arial, sans-serif;
  background: var(--yellow-soft);
  overflow-x: hidden;
}

.lp {
  width: 100%;
  min-height: 100svh;
  background: var(--yellow-soft);
}

.container {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
}

/* FOTO PRINCIPAL */

.top-photo {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8.2;
  max-height: 620px;
  min-height: 320px;
  overflow: hidden;
  background: var(--yellow-soft);
}

.main-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}

/* FAIXA SEU CORAÇÃO */

.slogan-strip {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: min(72%, 720px);
  height: auto;
  display: block;
  transform: translateX(-50%);
  z-index: 2;
}

/* BLOCO PRINCIPAL */

.join-section {
  position: relative;
  overflow: hidden;
  background-color: var(--yellow-soft);
  background-image: url("assets/fundo-amarelo-claro.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  padding: clamp(54px, 7vw, 84px) 0 34px;
}

.join-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.join-title {
  max-width: 760px;
  margin: 0 auto 34px;
  font-family: "Bernina Sans", Arial, sans-serif;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.14;
  font-weight: 700;
  color: var(--blue);
}

/* SELECT */

.city-access-box {
  width: min(100%, 520px);
  margin: 0 auto;
  text-align: center;
}

.city-access-box label[for="citySelect"] {
  display: none;
}

.city-access-box select {
  width: 100%;
  height: 74px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #8e8e8e;
  font-family: "Bernina Sans Compressed", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 34px);
  text-transform: uppercase;
  text-align: center;
  text-align-last: center;
  padding: 0 48px 0 24px;
  outline: none;
  appearance: auto;
  box-shadow: none;
}

.city-access-box select:focus {
  outline: 3px solid rgba(23, 82, 191, 0.22);
}

/* LGPD / CONSENTIMENTOS */

.consents-area {
  width: 100%;
  margin: 22px auto 0;
  display: grid;
  gap: 12px;
}

.consent {
  width: 100%;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 82, 191, 0.16);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}

.consent span {
  font-family: "Bernina Sans", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(31, 43, 53, 0.86);
}

.consent-second {
  margin-top: 0;
}

.whatsapp-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
}

.consent-error {
  border-color: rgba(220, 38, 38, 0.75) !important;
  background: rgba(255, 236, 236, 0.94) !important;
}

.consent-error span {
  color: #7f1d1d;
}

/* BOTÃO */

.btn-wpp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(100%, 460px);
  min-height: 76px;
  margin-top: 24px;
  background: var(--green);
  color: #fff;
  font-family: "Bernina Sans Compressed", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  padding: 14px 34px;
  border-radius: 999px;
  box-shadow: none;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
}

.btn-wpp:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
}

.btn-wpp:active {
  transform: translateY(1px);
}

.btn-disabled {
  background: #91d9a6 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  cursor: not-allowed;
}

.wpp-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #36e36e, #009846 65%),
    #009846;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.18),
    0 0 0 5px rgba(255, 255, 255, 0.2);
}

.wpp-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: #fff;
}

.city-help {
  min-height: 18px;
  margin: 18px 0 0 !important;
  font-family: "Bernina Sans", Arial, sans-serif;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-align: center;
  color: rgba(31, 43, 53, 0.72) !important;
}

/* RODAPÉ VISUAL */

.campaign-footer {
  width: min(100%, 760px);
  margin: clamp(58px, 7vw, 92px) auto 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
  text-align: left;
}

.footer-text {
  color: var(--blue);
}

.footer-text p,
.footer-text strong {
  display: block;
  font-family: "Bernina Sans", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.02;
}

.footer-text p {
  font-weight: 400;
}

.footer-text strong {
  font-weight: 700;
}

.footer-logo {
  width: min(100%, 370px);
  max-width: 370px;
  height: auto;
  display: block;
}

.cnpj {
  margin: 0 auto;
  text-align: center;
  font-family: "Bernina Sans", Arial, sans-serif;
  font-size: clamp(15px, 1.8vw, 22px);
  line-height: 1.4;
  font-weight: 400;
  color: rgba(31, 43, 53, 0.92);
}

/* MOBILE */

@media (max-width: 640px) {
  .container {
    width: min(100% - 34px, 430px);
  }

 .top-photo {
    aspect-ratio: auto;
    height: clamp(300px, 46svh, 430px);
    min-height: unset;
    max-height: none;
  }

  .main-photo {
    object-fit: cover;
    object-position: center top;
  }

  .slogan-strip {
    bottom: 18px;
    width: min(90%, 390px);

  .join-section {
    padding: 48px 0 24px;
    min-height: auto;
  }

  .join-title {
    max-width: 390px;
    margin-bottom: 28px;
    font-size: clamp(24px, 6.8vw, 31px);
    line-height: 1.15;
  }

  .city-access-box {
    width: min(100%, 360px);
  }

  .city-access-box select {
    height: 62px;
    font-size: clamp(20px, 6vw, 26px);
    padding: 0 42px 0 18px;
  }

  .consents-area {
    margin-top: 18px;
    gap: 10px;
  }

  .consent {
    grid-template-columns: 20px 1fr;
    gap: 9px;
    padding: 12px;
    border-radius: 12px;
  }

  .consent input {
    width: 17px;
    height: 17px;
  }

  .consent span {
    font-size: 10px;
    line-height: 1.32;
  }

  .btn-wpp {
    width: min(100%, 340px);
    min-height: 64px;
    margin-top: 22px;
    gap: 12px;
    font-size: clamp(24px, 7vw, 30px);
    padding: 12px 24px;
  }

  .wpp-icon {
    width: 48px;
    height: 48px;
  }

  .wpp-icon svg {
    width: 26px;
    height: 26px;
  }

  .city-help {
    margin-top: 14px !important;
    font-size: 12px !important;
  }

  .campaign-footer {
    width: min(100%, 360px);
    margin: 54px auto 26px;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-text p,
  .footer-text strong {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.05;
  }

  .footer-logo {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .cnpj {
    font-size: 13px;
  }
}

/* CELULARES MENORES */

@media (max-width: 390px) {
  .container {
    width: min(100% - 28px, 380px);
  }

  .top-photo {
    height: 300px;
  }

  .slogan-strip {
    width: 92%;
    bottom: 14px;
  }

  .join-section {
    padding-top: 42px;
  }

  .join-title {
    font-size: 23px;
  }

  .city-access-box {
    width: min(100%, 330px);
  }

  .city-access-box select {
    height: 58px;
    font-size: 21px;
  }

  .consent span {
    font-size: 9.4px;
  }

  .btn-wpp {
    width: min(100%, 318px);
    min-height: 60px;
    font-size: 25px;
  }

  .wpp-icon {
    width: 44px;
    height: 44px;
  }

  .wpp-icon svg {
    width: 24px;
    height: 24px;
  }

  .campaign-footer {
    width: min(100%, 330px);
    margin-top: 46px;
  }

  .footer-logo {
    width: min(100%, 280px);
  }
}

/* DESKTOP GRANDE */

@media (min-width: 1024px) {
   .top-photo {
    height: min(58vw, 820px);
  }

  .join-section {
    padding-top: 72px;
    padding-bottom: 40px;
  }
}

/* =======================================================
   AJUSTE RODAPÉ MOBILE — TEXTO ACIMA DA LOGO
======================================================= */

@media (max-width: 640px) {
  .campaign-footer {
    width: min(100%, 360px) !important;
    margin: 46px auto 26px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    text-align: center !important;
  }

  .footer-text {
    width: 100% !important;
    max-width: 320px !important;
    text-align: center !important;
    color: var(--blue);
  }

  .footer-text p,
  .footer-text strong {
    display: block !important;
    width: 100% !important;
    font-size: clamp(20px, 6.4vw, 26px) !important;
    line-height: 1.02 !important;
    text-align: center !important;
  }

  .footer-text strong {
    margin-top: 2px;
  }

  .footer-logo {
    width: min(100%, 300px) !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .cnpj {
    margin-top: 22px !important;
    font-size: 12px !important;
    text-align: center !important;
  }
}

@media (max-width: 390px) {
  .campaign-footer {
    width: min(100%, 330px) !important;
    margin-top: 42px !important;
    gap: 16px !important;
  }

  .footer-text {
    max-width: 300px !important;
  }

  .footer-text p,
  .footer-text strong {
    font-size: 22px !important;
    line-height: 1.03 !important;
  }

  .footer-logo {
    width: min(100%, 275px) !important;
  }
}