/* ===== Inglês da Virada — estilos ===== */
/* ===== Fontes (auto-hospedadas, licença OFL em /fonts) ===== */
@font-face { font-family: "Libre Baskerville"; src: url("../fonts/libre-baskerville-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("../fonts/libre-baskerville-italic-var.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  --creme: #fbf4ef;
  --azul: #306582;
  --azul-escuro: #10303f;   /* texto sobre a faixa turquesa (contraste ≥ 4,5:1) */
  --turquesa: #40a9b4;
  --terracota: #d35400;
  --vermelho: #B83232;
  --vermelho-hover: #9e2a2a;
  --verde: #2f7d4f;
  --branco: #ffffff;
  --linha: rgba(48, 101, 130, 0.22);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--azul);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
strong, b { font-weight: 600; }
h1, h2, h3, p { margin: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--azul); color: var(--branco); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }

.t-terracota { color: var(--terracota); }
.t-nowrap { white-space: nowrap; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 36px; border: 0; border-radius: 999px;
  font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.btn--cta { background: var(--vermelho); color: var(--branco); }
.btn--cta:hover { background: var(--vermelho-hover); }
.btn--cta:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
.btn--cta[disabled] { opacity: .75; cursor: progress; }
.btn--block { width: 100%; }

/* ===== Primeira seção ===== */
.hero { padding: 18px 0 48px; }
.hero__grid { display: flex; flex-direction: column; gap: 15px; }

.countdown {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding-bottom: 12px; border-bottom: 1px solid var(--linha);
}
.countdown__label { font-size: 13px; font-weight: 500; letter-spacing: .02em; }
.countdown__clock { display: flex; gap: 14px; }
.countdown__unit { display: flex; align-items: baseline; gap: 3px; }
.countdown__num { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.countdown__txt { font-size: 12px; }
.countdown__done { font-size: 15px; font-weight: 600; text-align: center; }

.logo {
  font-family: var(--serif); font-weight: 700; color: var(--azul);
  font-size: 45px; line-height: 1.0; letter-spacing: -0.01em; margin-top: 2px;
}
.logo__mark, .logo__line { display: block; }
.logo__tag {
  display: block; font-family: var(--sans); font-size: 17px; font-weight: 400; line-height: 1.2;
  letter-spacing: .01em; color: var(--terracota); margin: 0 0 6px 2px;
}
.logo__tag b { font-weight: 600; }
.logo__key { height: .95em; width: auto; vertical-align: baseline; margin-right: .03em; display: inline-block; }
.logo__da { font-style: italic; font-weight: 400; color: var(--terracota); }

.promise { font-family: var(--serif); font-size: 22px; line-height: 1.42; }
.promise strong { font-weight: 700; }

.hero__photo { display: flex; justify-content: center; margin-top: 6px; }
.photo-round { position: relative; width: 196px; aspect-ratio: 1; }
.photo-round__arc { position: absolute; inset: -9%; width: 118%; height: 118%; }
.photo-round__circle {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: #dfe9e8; /* creme com toque turquesa */
}
.photo-round__circle img { width: 100%; height: 100%; object-fit: cover; }

.band {
  align-self: center; display: flex; flex-direction: column; align-items: center;
  background: var(--turquesa); color: var(--azul-escuro);
  border-radius: 16px; padding: 12px 26px; text-align: center;
  font-size: 17px; font-weight: 600; line-height: 1.45;
}

/* ===== Formulário (Brevo) — estilos isolados em .signup ===== */
.signup.sib-form {
  margin: 4px 0 0; padding: 0; background: transparent; text-align: left;
  font-family: var(--sans); color: var(--azul); scroll-margin-top: 24px;
}
.signup #sib-form-container { margin: 0; padding: 0; max-width: none; }
.signup #sib-container {
  max-width: none; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; text-align: left;
}
.signup #sib-form { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; margin: 0; padding: 0; }
.signup .sib-form-block { padding: 0; margin: 0; }
.signup .form__entry { margin: 0; }
.signup .form__label-row { display: flex; flex-direction: column; gap: 6px; }
.signup .entry__label {
  display: block; margin: 0; padding: 0;
  font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--azul); text-align: left;
}
.signup .entry__label::after { content: none !important; } /* sem asterisco da Brevo */
.signup .entry__field { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; display: block; }
.signup #sib-form .input,
.signup #sib-form input.input,
.signup #sib-form select.input {
  width: 100%; min-height: 52px; height: auto; margin: 0; padding: 12px 16px;
  font-family: var(--sans); font-size: 17px; line-height: 1.4; color: var(--azul);
  background: var(--branco); border: 1.5px solid rgba(48, 101, 130, 0.45); border-radius: 12px; box-shadow: none;
  -webkit-appearance: none; appearance: none; text-align: left;
}
.signup #sib-form select.input {
  padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23306582' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.signup #sib-container input::placeholder { font-family: var(--sans); color: #6f8796; opacity: 1; }
.signup #sib-form .input:focus-visible { outline: 3px solid var(--turquesa); outline-offset: 1px; border-color: var(--azul); }
.signup #sib-form .input[aria-invalid="true"] { border-color: var(--vermelho); }
.signup .sib-sms-input-wrapper { display: block; position: relative; }
.signup .sib-sms-input { display: flex; gap: 8px; align-items: stretch; }
.signup .sib-sms-input .entry__field--code { flex: 0 0 116px; width: 116px; }
.signup .sib-sms-tooltip { display: none !important; }
.signup .entry__error {
  display: block; margin: 6px 0 0; padding: 0; border: 0; background: none;
  font-family: var(--sans); font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--vermelho); text-align: left;
}
.signup .entry__error:empty { display: none; }
.signup .input--hidden { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.signup .sib-form-block__button {
  margin-top: 6px; width: 100%; min-height: 58px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--vermelho); color: var(--branco); box-shadow: none; text-align: center;
  font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.2; gap: 10px;
  display: inline-flex; align-items: center; justify-content: center;
}
.signup .sib-form-block__button:hover { background: var(--vermelho-hover); }
.signup .sib-form-block__button[aria-disabled="true"] { opacity: .8; cursor: progress; }
.signup .progress-indicator__icon { width: 18px; height: 18px; fill: var(--branco); margin: 0; animation: signup-spin 1s linear infinite; }
.signup .sib-hide-loader-icon { display: none !important; }
@keyframes signup-spin { to { transform: rotate(360deg); } }
.signup .sib-form-message-panel {
  max-width: none; width: 100%; margin: 0 0 14px; padding: 12px 14px; box-sizing: border-box;
  font-family: var(--sans); font-size: 15px; line-height: 1.5; text-align: left;
  background: var(--branco); border: 1.5px solid; border-radius: 12px;
}
.signup .sib-form-message-panel--active { display: block; }
.signup #error-message { color: var(--vermelho); border-color: var(--vermelho); }
.signup #success-message { color: #1f5e3a; border-color: var(--verde); }
.signup .sib-form-message-panel__text { display: flex; gap: 10px; align-items: flex-start; justify-content: flex-start; margin: 0; padding: 0; }
.signup .sib-notification__icon { flex: 0 0 20px; width: 20px; height: 20px; fill: currentColor; margin: 1px 0 0; }
.signup__status {
  margin-top: 12px; font-size: 15px; font-weight: 500; color: var(--vermelho);
  background: var(--branco); border: 1.5px solid var(--vermelho); border-radius: 12px; padding: 12px 14px;
}
.signup__privacy { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--azul); }

.gift { font-size: 16px; line-height: 1.55; text-align: center; padding: 0 6px; }
.gift strong { font-weight: 600; }

/* ===== Seções ===== */
.section { padding: 56px 0; }
.section__title {
  font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1.25; margin-bottom: 28px;
}

.viradas { background: var(--branco); }
.viradas .section__title { font-weight: 400; }
.viradas .section__title strong { font-weight: 700; }
.viradas__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.virada { display: flex; align-items: flex-start; gap: 16px; }
.virada p { font-size: 17px; padding-top: 2px; }
.virada__icon { position: relative; flex: 0 0 62px; width: 62px; height: 34px; color: var(--terracota); margin-top: -2px; }
.virada__icon svg { width: 62px; height: 34px; display: block; }
.virada__num {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 15px; line-height: 1; color: var(--terracota);
}

.compare__grid { display: grid; gap: 20px; }
.compare__card { background: var(--branco); border-radius: 20px; padding: 26px 22px; }
.compare__card--depois { border: 1.5px solid var(--turquesa); }
.compare__title { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 18px; }
.compare__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ico { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 1px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ico--x { stroke: var(--vermelho); }
.ico--check { stroke: var(--verde); }
.compare__cta { display: flex; justify-content: center; margin-top: 32px; }

.bio__grid { display: grid; gap: 28px; align-items: center; }
.bio__photo { position: relative; max-width: 300px; margin: 0 auto; width: 100%; }
.bio__bg {
  position: absolute; left: 4%; right: 4%; bottom: 4%; aspect-ratio: 1;
  border-radius: 50%; background: rgba(64, 169, 180, 0.16);
}
.bio__photo img {
  position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.bio__text p { font-size: 17px; line-height: 1.75; }

.footer { padding: 28px 0 36px; border-top: 1px solid var(--linha); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.footer__logo { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.footer__copy { font-size: 13px; }

/* ===== Telas maiores ===== */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .logo { font-size: 58px; }
  .logo__tag { font-size: 19px; }
  .promise { font-size: 27px; }
  .photo-round { width: 280px; }
  .signup, .gift { max-width: 520px; width: 100%; align-self: center; }
  .section__title { font-size: 34px; }
}

@media (min-width: 960px) {
  :root { --gutter: 48px; }
  .hero { padding: 40px 0 80px; }
  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    column-gap: 72px; row-gap: 22px; align-items: start;
  }
  .hero__grid > * { grid-column: 1; }
  .hero__photo { grid-column: 2; grid-row: 1 / span 7; align-self: start; position: sticky; top: 56px; margin-top: 48px; }
  .photo-round { width: min(100%, 440px); }
  .countdown { align-items: flex-start; flex-direction: row; flex-wrap: wrap; column-gap: 16px; align-items: baseline; padding-bottom: 16px; }
  .countdown__done { text-align: left; }
  .logo { font-size: 82px; margin-top: 10px; }
  .logo__tag { font-size: 22px; margin-bottom: 10px; }
  .promise { font-size: 33px; max-width: 600px; }
  .band { justify-self: start; flex-direction: row; gap: 0; padding: 12px 24px; }
  .band__line + .band__line::before { content: "|"; margin: 0 .5em; }
  .signup, .gift { justify-self: start; max-width: 500px; width: 100%; }
  .gift { text-align: left; padding: 0; }

  .section { padding: 88px 0; }
  .section__title { font-size: 38px; margin-bottom: 40px; }
  .viradas__list { gap: 28px; }
  .virada p { font-size: 19px; }
  .compare__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .compare__card { padding: 36px 34px; }
  .compare__list li { font-size: 17px; }
  .bio__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
  .bio__photo { max-width: 380px; }
  .bio__text p { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Página de confirmação ===== */
.thanks { min-height: 100vh; display: flex; align-items: center; padding: 48px 0; }
.thanks__card {
  max-width: 600px; margin: 0 auto; background: var(--branco); border-radius: 24px;
  padding: 40px 26px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.thanks .logo { font-size: 40px; }
.thanks__title { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.25; }
.thanks__text { font-size: 18px; line-height: 1.6; }
.thanks__note { font-size: 14px; }
@media (min-width: 600px) {
  .thanks__card { padding: 56px 56px; }
  .thanks__title { font-size: 34px; }
}
