/* ==========================================================================
   Maracujá Fermiano — Landing page de polpa de maracujá (B2B)
   Mobile first. Cores e fontes conforme o briefing (Copy/).
   ========================================================================== */

:root {
  /* Marca */
  --yellow: #F5D153;
  --yellow-strong: #EFC232;
  --yellow-soft: #FDF5D3;
  --ink: #2C2B1F;
  --green: #486618;
  --green-soft: #EEF3E2;
  --cream: #FFFDF5;
  --white: #FFFFFF;

  /* Apoio */
  --ink-soft: #4A493B;
  --muted: #6A6957;
  --line: #ECEADD;
  --field-border: #DAD8CB;
  --danger: #B42318;
  --overlay: 28, 27, 18;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(44, 43, 31, .06), 0 4px 12px rgba(44, 43, 31, .05);
  --shadow: 0 18px 40px -18px rgba(44, 43, 31, .28);
  --shadow-lg: 0 30px 70px -24px rgba(28, 27, 18, .45);

  --header-h: 68px;
  --container: 1200px;
  --gutter: 20px;
  --section-y: clamp(72px, 10vw, 120px);
}

@media (min-width: 768px) {
  :root { --header-h: 84px; --gutter: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: var(--header-h); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Tipografia ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -.005em;
  text-wrap: balance;
}

.lead {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .lead { font-size: 1.1875rem; }
}

.hl { color: var(--yellow); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  font: 700 1rem/1.25 var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn .icon { width: 20px; height: 20px; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(196, 150, 10, .7);
}
.btn--primary:hover {
  background: var(--yellow-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(196, 150, 10, .8);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--field-border);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* ---------- Fotos ---------- */
.card__media,
.product__main,
.product__inset,
.gallery__item { background: var(--green-soft); }

.card__media img,
.product__main img,
.product__inset img,
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Decoração ---------- */
.blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.blob--yellow {
  top: -120px;
  right: -140px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(245, 209, 83, .38) 0%, rgba(245, 209, 83, 0) 70%);
}
.blob--green {
  bottom: -160px;
  left: -160px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(72, 102, 24, .12) 0%, rgba(72, 102, 24, 0) 70%);
}

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(44, 43, 31, .35);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.header__logo { display: block; flex-shrink: 0; }
.header__logo img { width: auto; height: 56px; }

@media (min-width: 768px) {
  .header__logo img { height: 72px; }
  .header .btn--sm { min-height: 48px; padding: 12px 24px; font-size: .9375rem; }
}

/* ---------- Seções ---------- */
.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--section-y);
}

.section-head {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ---------- 2. Hero ---------- */
/* Celular e tablet: a foto fica só atrás do texto e o formulário sobrepõe a borda, em fundo branco.
   Desktop: a foto cobre o hero inteiro (texto à esquerda, formulário à direita). */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 8px;
  color: var(--white);
}

.hero__copy {
  position: relative;
  isolation: isolate;
  margin-inline: calc(var(--gutter) * -1);
  padding: 44px var(--gutter) 108px;
}
.hero__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(var(--overlay), .80) 0%, rgba(var(--overlay), .66) 55%, rgba(var(--overlay), .84) 100%);
}

.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--green); }
.hero__media picture,
.hero__media img { display: block; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; }

.hero__inner { display: grid; align-items: center; }
.hero__form { margin-top: -68px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.625rem, 6.4vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.hero__text {
  max-width: 34em;
  margin-top: 20px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, .88);
}

.seals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}
.seals li { display: flex; align-items: center; gap: 10px; }
.seals__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
}
.seals__icon .icon { width: 16px; height: 16px; stroke-width: 3; }

@media (min-width: 768px) {
  .hero__text { font-size: 1.1875rem; }
}

@media (min-width: 992px) {
  .hero { padding-block: 72px 88px; }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(var(--overlay), .90) 0%, rgba(var(--overlay), .74) 48%, rgba(var(--overlay), .38) 100%);
  }
  .hero__copy { position: static; isolation: auto; margin: 0; padding: 0; }
  .hero__copy::before { content: none; }
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 56px;
  }
  .hero__form { margin-top: 0; }
}

/* ---------- Formulário ---------- */
.form-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 480px) {
  .form-card { padding: 32px; }
}

.form-card__title {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.05;
}

.form-grid { display: grid; gap: 14px; }

@media (min-width: 520px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.field__label { font-size: .8125rem; font-weight: 600; }

.field__control {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  font: 400 1rem/1.3 var(--font-body);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field__control::placeholder { color: #9A9886; }
.field__control:hover { border-color: #C6C3B2; }
.field__control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(72, 102, 24, .15);
}

select.field__control {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232C2B1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  text-overflow: ellipsis;
  cursor: pointer;
}
select.field__control:invalid { color: #9A9886; }
select.field__control option { color: var(--ink); }

.field__help { font-size: .75rem; color: var(--muted); }

.field__error { font-size: .8125rem; font-weight: 500; color: var(--danger); }
.field__error:empty { display: none; }

.field.is-invalid .field__control { border-color: var(--danger); }
.field.is-invalid .field__control:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lead-form .btn--block { margin-top: 22px; }

.form-status { margin-top: 12px; font-size: .875rem; font-weight: 500; color: var(--danger); text-align: center; }
.form-status:empty { display: none; }

.form-note {
  margin-top: 12px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.form-consent {
  margin-top: 4px;
  font-size: .75rem;
  color: var(--muted);
  text-align: center;
}
.form-consent .link-btn { color: var(--green); font-weight: 600; }

.form-success { padding: 24px 4px; text-align: center; outline: none; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}
.form-success__icon .icon { width: 32px; height: 32px; stroke-width: 2.5; }
.form-success__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.875rem;
  line-height: 1.08;
}
.form-success__text { margin-top: 12px; color: var(--ink-soft); }

/* ---------- 3. Para quem fornecemos ---------- */
.cards { display: grid; gap: 20px; margin-top: 44px; }

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px 24px 28px; }
.card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.1;
}
.card__text { margin-top: 8px; color: var(--ink-soft); }

/* ---------- 4. Por que comprar ---------- */
.why { background: var(--yellow); }
.why::before,
.why::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.why::before {
  top: -180px;
  left: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 70%);
}
.why::after {
  right: -100px;
  bottom: -200px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(239, 194, 50, .9) 0%, rgba(239, 194, 50, 0) 70%);
}

.why__grid { display: grid; gap: 16px; margin-top: 44px; }

@media (min-width: 640px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1100px) {
  .why__grid { grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
}

.why__item {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.why__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green);
  box-shadow: 0 6px 16px -8px rgba(44, 43, 31, .25);
}
.why__icon .icon { width: 28px; height: 28px; stroke-width: 1.75; }
.why__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.625rem;
  line-height: 1.1;
}
.why__text { margin-top: 10px; color: var(--ink); }

/* ---------- 5. Nosso produto ---------- */
.product__grid { display: grid; gap: 56px; align-items: center; }

@media (min-width: 992px) {
  .product__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.product__media {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding-bottom: 36px;
}
.blob--product {
  top: -20px;
  right: -20px;
  width: 42%;
  aspect-ratio: 1;
  height: auto;
  background: var(--yellow);
}
.product__main {
  width: 88%;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.product__inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.product__info .btn { margin-top: 32px; }

.spec { margin-top: 28px; border-top: 1px solid var(--line); }
.spec__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
}
.spec dd { font-weight: 500; }

@media (min-width: 420px) {
  .spec__row { grid-template-columns: 136px 1fr; gap: 16px; align-items: baseline; }
}

.highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  font-weight: 600;
  line-height: 1.45;
}
.highlight .icon { color: var(--green); }

/* ---------- 6. Quem somos ---------- */
.about { background: var(--cream); }

/* Foto do galpão + números: empilhados no celular/tablet, lado a lado no desktop */
.about__grid { display: grid; gap: 16px; margin-top: 48px; }

.about__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--green-soft);
}
.about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .about__grid { gap: 24px; margin-top: 56px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (min-width: 992px) {
  .about__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .about__photo { aspect-ratio: auto; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
  .stats .stat { padding-block: 26px; }
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.25rem, 7vw, 4.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__mark {
  padding-inline: 6px;
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 88%, transparent 88%);
}
.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Destaque em texto (ex.: "Presente em" pequeno em cima, "todo o Brasil" grande) */
.stat__label--top { margin: 0 0 10px; }
.stat__value--text { font-size: clamp(2.5rem, 4.4vw, 3.5rem); }
.stat__value--text .stat__mark {
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.clients-strip { margin-top: 72px; text-align: center; }
.clients-strip__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.1;
}

/* Carrossel contínuo das logos em duas linhas (sentidos opostos), de ponta a ponta da tela.
   O main.js repete a lista de cada linha; a animação anda metade do trilho e recomeça sem emenda.
   Usa margin-right (e não gap) para a metade ser exata. Pausa ao passar o mouse. */
.logos {
  margin-top: 20px;
  margin-inline: calc(50% - 50vw);
  padding-block: 8px 16px; /* espaço para o card subir e a sombra no hover */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: logos-marquee 48s linear infinite;
}
.logos__track + .logos__track { margin-top: 14px; }
.logos__track--reverse { animation-direction: reverse; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item { flex-shrink: 0; margin-right: 12px; }

.logos__item img {
  width: 150px;
  height: auto;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.logos__item img:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .logos__track { animation-duration: 62s; }
  .logos__track + .logos__track { margin-top: 16px; }
  .logos__item { margin-right: 16px; }
  .logos__item img { width: 190px; }
}

@keyframes logos-marquee {
  to { transform: translateX(-50%); }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
  gap: 12px;
  margin-top: 64px;
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(150px, 16vw, 230px);
    gap: 16px;
    margin-top: 80px;
  }
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.04); }

/* ---------- 7. Perguntas frequentes ---------- */
.faq__list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 44px auto 0;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq__item:hover { border-color: #DCD9C8; }
.faq__item[open] {
  border-color: var(--yellow);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 20px 22px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
  border-radius: var(--radius);
}
.faq__q::-webkit-details-marker { display: none; }

.faq__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow-soft);
  transition: transform .3s ease, background-color .2s ease;
}
.faq__icon .icon { width: 18px; height: 18px; stroke-width: 2.5; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--yellow); }

.faq__a {
  padding: 0 22px 22px;
  color: var(--ink-soft);
}
.faq__item[open] .faq__a { animation: faq-in .35s ease; }

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 8. Chamada final ---------- */
.cta { background: var(--ink); color: var(--white); }
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -220px;
  left: -200px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 209, 83, .22) 0%, rgba(245, 209, 83, 0) 65%);
  pointer-events: none;
}
.cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -160px;
  bottom: -240px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 102, 24, .45) 0%, rgba(72, 102, 24, 0) 65%);
  pointer-events: none;
}

.cta__grid { display: grid; gap: 40px; align-items: center; }
.cta .lead { color: rgba(255, 255, 255, .82); max-width: 30em; }

@media (min-width: 992px) {
  .cta__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; }
  .cta .section-title { font-size: clamp(2.75rem, 4.6vw, 4rem); }
}

/* ---------- 10. Rodapé ---------- */
.footer {
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-size: .9375rem;
}
.footer a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--yellow); }

.footer__grid { display: grid; gap: 28px; }
.footer__logo { width: auto; height: 96px; }
.footer__company { color: var(--white); font-weight: 600; }
.footer__info p + p { margin-top: 6px; }

.footer__contacts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer__contacts li { display: flex; align-items: center; gap: 12px; }
.footer__contacts .icon { width: 20px; height: 20px; color: var(--yellow); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8125rem;
  color: rgba(255, 255, 255, .6);
}
.footer__bottom .link-btn { color: rgba(255, 255, 255, .85); }
.footer__bottom .link-btn:hover { color: var(--yellow); }

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; }
}

/* ---------- 11. Página da Política de Privacidade ---------- */
.legal { background: var(--cream); }
.legal__inner { max-width: 780px; margin-inline: auto; }

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.legal__back .icon { width: 18px; height: 18px; transform: rotate(180deg); }
.legal__back:hover { text-decoration: underline; }

.legal__card {
  margin-top: 32px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink-soft);
}
.legal__card p + p { margin-top: 18px; }
.legal__card strong { color: var(--ink); }
.legal__card a { color: var(--green); font-weight: 600; }
.legal__card .legal__date {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .legal__card { padding: 40px 48px; }
}

/* ---------- Aviso de cookies ---------- */
.cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  font-size: .875rem;
  line-height: 1.5;
  color: var(--ink-soft);
  animation: cookie-in .4s ease;
}
.cookie .link-btn { color: var(--green); font-weight: 600; }
.cookie__actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie__actions .btn { flex: 1; }

@media (min-width: 768px) {
  .cookie {
    left: 24px;
    right: auto;
    bottom: 24px;
    max-width: 640px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .cookie__actions .btn { flex: none; }
}

@keyframes cookie-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Animação de entrada ---------- */
/* O estado escondido só vale até o elemento aparecer; depois da entrada ("reveal-done"),
   o elemento volta às transições dele (ex.: o card que sobe ao passar o mouse). */
.js .reveal:not(.reveal-done) {
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(26px); }
.js .reveal--left:not(.is-visible) { transform: translateX(-48px); }
.js .reveal--right:not(.is-visible) { transform: translateX(48px); }
.js .reveal--zoom:not(.is-visible) { transform: scale(.92); }

/* ==========================================================================
   Efeitos
   ========================================================================== */

/* Barra de progresso da rolagem (largura controlada pelo main.js) */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-strong) 60%, var(--green));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* Cabeçalho: logo encolhe um pouco ao rolar (sem mudar a altura, para a página não "pular") */
.header__logo img { transform-origin: left center; transition: transform .35s ease; }
.header.is-scrolled .header__logo img { transform: scale(.86); }

/* Hero: entrada em sequência ao abrir a página + zoom lento da foto */
@keyframes subir {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.hero__title,
.hero__text,
.seals li,
.hero__form { animation: subir .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__title { animation-delay: .05s; }
.hero__text { animation-delay: .18s; }
.seals li:nth-child(1) { animation-delay: .3s; }
.seals li:nth-child(2) { animation-delay: .38s; }
.seals li:nth-child(3) { animation-delay: .46s; }
.hero__form { animation-delay: .25s; }

@keyframes zoom-lento {
  from { transform: scale(1.14); }
  to { transform: scale(1); }
}
.hero__media img { animation: zoom-lento 16s cubic-bezier(.2, .6, .3, 1) both; }
.hero__media { will-change: transform; }

/* Botões amarelos: brilho que atravessa ao passar o mouse */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .75s ease;
}
.btn--primary:hover::after { transform: translateX(120%); }

/* Botões dos formulários: o brilho passa sozinho de tempos em tempos */
@keyframes brilho {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.lead-form .btn--primary::after { animation: brilho 4.5s ease-in-out 1.5s infinite; }
.lead-form .btn--primary:hover::after { animation: none; }

/* Formulário final: anel amarelo pulsando quando alguém chega pelo botão */
@keyframes anel {
  0% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(245, 209, 83, .75); }
  100% { box-shadow: var(--shadow-lg), 0 0 0 22px rgba(245, 209, 83, 0); }
}
.form-card.is-highlighted { animation: anel 1.1s ease-out 2; }

/* "Por que comprar": card sobe e o ícone vira verde ao passar o mouse */
.why__item { transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease; }
.why__item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 36px -20px rgba(120, 90, 0, .45);
}
.why__icon { transition: background-color .3s ease, color .3s ease, transform .4s cubic-bezier(.2, 1.6, .4, 1); }
.why__item:hover .why__icon {
  background: var(--green);
  color: var(--white);
  transform: rotate(-8deg) scale(1.08);
}

/* Números: o marca-texto amarelo "se desenha" quando o card aparece */
.js .stat .stat__mark {
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size 1s cubic-bezier(.2, .7, .2, 1) .35s;
}
.js .stat.is-visible .stat__mark { background-size: 100% 100%; }

/* FAQ: a altura é animada pelo main.js; aqui só o recorte */
.faq__item { overflow: hidden; }

/* Sucesso do formulário: check se desenha e o selo "salta" */
@keyframes saltar {
  0% { transform: scale(.4); opacity: 0; }
  60% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes desenhar { to { stroke-dashoffset: 0; } }
.form-success:not([hidden]) .form-success__icon { animation: saltar .55s cubic-bezier(.2, .7, .3, 1) both; }
.form-success:not([hidden]) .form-success__icon .icon {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: desenhar .45s ease-out .3s forwards;
}

/* "Sementes" que estouram no envio (criadas pelo main.js) */
.semente {
  position: absolute;
  z-index: 5;
  width: 8px;
  height: 11px;
  border-radius: 50%;
  pointer-events: none;
}

/* Decoração flutuando devagar */
@keyframes flutuar {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, 28px) scale(1.06); }
}
.blob--yellow,
.blob--green,
.why::before,
.why::after,
.cta::before,
.cta::after { animation: flutuar 14s ease-in-out infinite alternate; }
.blob--green,
.why::after,
.cta::after { animation-duration: 18s; animation-direction: alternate-reverse; }

@keyframes respirar {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.blob--product { animation: respirar 6s ease-in-out infinite alternate; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .lead-form .btn--primary::after { animation: none; }
  .js .reveal:not(.is-visible) { opacity: 1; transform: none; }
  .logos { margin-inline: 0; -webkit-mask-image: none; mask-image: none; }
  .logos__track { flex-wrap: wrap; justify-content: center; gap: 12px; width: auto; animation: none; }
  .logos__item { margin-right: 0; }
  .logos__item[aria-hidden="true"] { display: none; }
}
