.form-lp-header {
  position: sticky;
  top: 0;
  z-index: 150;
  box-shadow: 0 4px 18px rgba(30, 37, 34, 0.06);
}

.form-lp-header__note {
  display: none;
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: 700;
}

.header-action {
  display: inline-flex;
  min-height: 3rem;
  max-width: 13rem;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.header-action::after {
  display: none;
}

.form-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 22%, rgba(212, 163, 115, 0.18), transparent 32rem),
    linear-gradient(145deg, #ffffff 0%, var(--color-alabaster) 62%, #f1eee5 100%);
  padding-block: clamp(2rem, 6vw, 5.5rem);
}

.form-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: min(32vw, 28rem);
  height: 0.45rem;
  background: var(--color-gold);
  content: "";
}

.form-hero__grid {
  position: relative;
  display: grid;
  grid-template-areas: "copy" "media" "action";
  gap: 1.15rem;
}

.form-hero__copy {
  grid-area: copy;
}

.form-hero__copy .eyebrow {
  margin-bottom: 0.8rem;
}

.form-hero h1 {
  max-width: 14ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2.15rem, 9.4vw, 4.6rem);
  line-height: 1.06;
}

.hero-quantity {
  margin: 0;
  color: var(--color-olive-dark);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.form-hero__media {
  position: relative;
  display: grid;
  min-height: 14.5rem;
  grid-area: media;
  place-items: center;
}

.hero-product-halo {
  position: absolute;
  width: min(78vw, 25rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(74, 107, 83, 0.16), rgba(212, 163, 115, 0.2));
  box-shadow: inset 0 0 0 1px rgba(74, 107, 83, 0.1);
}

.form-hero__media img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 15rem;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(30, 37, 34, 0.17));
}

.form-hero__action {
  max-width: 42rem;
  grid-area: action;
}

.hero-benefit {
  margin-bottom: 1rem;
  color: #34413b;
  font-size: 1.05rem;
  line-height: 1.6;
}

.btn-joie--large {
  min-height: 3.75rem;
  width: 100%;
  font-size: 1rem;
}

.hero-microcopy,
.form-microcopy {
  margin: 0.7rem 0 0;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.section-heading--compact {
  max-width: 54rem;
}

.benefit-grid {
  display: grid;
  gap: 1rem;
}

.info-card {
  min-height: 14rem;
  border: 1px solid rgba(74, 107, 83, 0.16);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}

.info-card > span {
  display: inline-grid;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--color-olive-soft);
  color: var(--color-olive-dark);
  font-weight: 850;
  place-items: center;
}

.info-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
}

.info-card p {
  margin: 0;
  color: #425048;
}

.composition-section {
  background: var(--color-white);
}

.composition-panel {
  display: grid;
  gap: 2rem;
  border: 1px solid rgba(74, 107, 83, 0.15);
  border-radius: var(--radius-lg);
  background: var(--color-alabaster);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.composition-copy p {
  color: var(--color-muted);
  font-weight: 700;
}

.composition-copy .btn-joie {
  width: 100%;
}

.nutrient-list {
  display: grid;
  gap: 0.8rem;
}

.nutrient-list div {
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: var(--color-olive);
  color: var(--color-white);
  padding: 1.25rem;
}

.nutrient-list strong {
  color: var(--color-white);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  line-height: 1;
}

.nutrient-list span {
  font-weight: 750;
}

.testimonials-section {
  background: linear-gradient(180deg, #f5f2ea 0%, var(--color-alabaster) 100%);
}

.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

.testimonial-card {
  border: 1px solid rgba(74, 107, 83, 0.16);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  padding: 1rem;
}

.testimonial-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
}

.testimonial-video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0.9rem;
  background: var(--color-dark);
}

.testimonial-play {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  background: var(--color-dark);
  color: var(--color-white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  place-items: center;
}

.testimonial-play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.66;
  object-fit: cover;
  transition: opacity var(--transition), transform var(--transition);
}

.testimonial-play::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(30, 37, 34, 0.82));
  content: "";
}

.testimonial-play > span {
  position: relative;
  z-index: 2;
  align-self: end;
  margin-bottom: 1rem;
}

.testimonial-play .play-icon {
  display: grid;
  width: 4.25rem;
  height: 4.25rem;
  align-self: center;
  margin: 0;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: var(--color-olive-dark);
  font-size: 1.35rem;
  place-items: center;
  padding-left: 0.2rem;
}

.testimonial-play:hover img {
  opacity: 0.78;
  transform: scale(1.025);
}

.testimonial-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.permanent-form-section {
  background: var(--color-olive);
}

.permanent-form-grid {
  display: grid;
  gap: 2rem;
}

.permanent-form-copy,
.permanent-form-copy h2 {
  color: var(--color-white);
}

.permanent-form-copy .eyebrow {
  color: var(--color-gold-soft);
}

.permanent-form-copy p {
  max-width: 34rem;
  color: #eef3ef;
}

.form-assurances {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.form-assurances li {
  position: relative;
  color: var(--color-white);
  font-weight: 700;
  padding-left: 1.8rem;
}

.form-assurances li::before {
  position: absolute;
  left: 0;
  color: var(--color-gold-soft);
  content: "✓";
}

.lead-card {
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0 22px 54px rgba(30, 37, 34, 0.2);
  padding: clamp(1.25rem, 4vw, 2rem);
}

[data-lead-form] {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label,
.consent-field > div > label {
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 3.55rem;
  border: 2px solid #b7c0ba;
  border-radius: 0.7rem;
  background: var(--color-white);
  color: var(--color-dark);
  font: inherit;
  font-size: 1.0625rem;
  padding: 0.75rem 0.9rem;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--color-olive);
  outline: 3px solid rgba(74, 107, 83, 0.17);
}

.form-field input[aria-invalid="true"],
.consent-field input[aria-invalid="true"] {
  border-color: #a62c2c;
}

.field-help {
  margin: 0;
  color: #53615a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.field-error {
  min-height: 0;
  color: #9d2020;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.field-error:not(:empty) {
  min-height: 1.2rem;
}

.consent-field {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.consent-field > input {
  width: 1.45rem;
  height: 1.45rem;
  margin: 0.1rem 0 0;
  accent-color: var(--color-olive);
}

.consent-field .field-help {
  margin-top: 0.3rem;
}

.form-submit {
  width: 100%;
  min-height: 3.75rem;
}

.form-submit.is-loading::after {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: form-spin 0.7s linear infinite;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  display: none;
  border-radius: 0.65rem;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 0.85rem 1rem;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.is-error {
  background: #fff0f0;
  color: #8a1f1f;
}

.form-status.is-success {
  background: #e9f3eb;
  color: #24472e;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.usage-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.usage-callout {
  display: grid;
  min-height: 17rem;
  border-radius: var(--radius-lg);
  background: var(--color-gold-soft);
  color: var(--color-dark);
  padding: 2rem;
  place-content: center;
  text-align: center;
}

.usage-callout span {
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.usage-callout strong {
  margin-top: 0.8rem;
  font-size: clamp(2.25rem, 10vw, 4rem);
  line-height: 1.05;
}

.health-note {
  border-left: 4px solid var(--color-gold);
  color: #3f4d45;
  font-size: 1rem;
  padding-left: 1rem;
}

.steps-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-grid li {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-alabaster);
  padding: 1.5rem;
}

.steps-grid li > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--color-olive);
  color: var(--color-white);
  font-weight: 850;
  place-items: center;
}

.steps-grid h3 {
  font-size: 1.35rem;
}

.steps-grid p {
  margin: 0;
  color: var(--color-muted);
}

.steps-closing {
  margin: 2rem 0 0;
  color: var(--color-olive-dark);
  text-align: center;
  text-transform: uppercase;
}

.steps-conversion {
  margin-top: 1.25rem;
  text-align: center;
}

.steps-conversion .btn-joie {
  width: 100%;
}

.products-section {
  background: var(--color-alabaster);
}

.compact-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid rgba(74, 107, 83, 0.16);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 5vw, 3.25rem);
}

.compact-panel .btn-joie {
  width: 100%;
}

.brand-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.brand-grid img {
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
}

.brand-video {
  width: 100%;
  box-shadow: var(--shadow-card);
}

.brand-video .testimonial-play img {
  max-width: none;
  margin: 0;
  border-radius: 0;
}

.faq-list {
  display: grid;
  max-width: 56rem;
  gap: 0.75rem;
  margin-inline: auto;
}

.faq-list details {
  border: 1px solid var(--color-border);
  border-radius: 0.9rem;
  background: var(--color-white);
}

.faq-list summary {
  min-height: 4rem;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.4;
  padding: 1.15rem 3rem 1.15rem 1rem;
}

.faq-list details > div {
  color: var(--color-muted);
  padding: 0 1rem 1.15rem;
}

.final-cta {
  background: linear-gradient(145deg, #e7eee8, var(--color-alabaster));
  text-align: center;
}

.final-cta .site-container {
  max-width: 54rem;
}

.final-cta h2 {
  margin-bottom: 1rem;
}

.final-cta > .site-container > p {
  color: var(--color-muted);
}

.final-cta__microcopy {
  margin-top: 0.9rem;
  font-size: 1rem;
  font-weight: 700;
}

.floating-conversion-actions {
  position: fixed;
  z-index: 900;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  gap: 0.7rem;
  justify-items: end;
}

.back-to-top,
.floating-whatsapp {
  display: grid;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(30, 37, 34, 0.25);
  cursor: pointer;
  place-items: center;
}

.back-to-top {
  width: 2.9rem;
  height: 2.9rem;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 1.6rem;
}

.back-to-top[hidden] {
  display: none;
}

.floating-whatsapp {
  width: 3.75rem;
  height: 3.75rem;
  background: #178b48;
  color: var(--color-white);
  animation: whatsapp-pulse 2.8s ease-in-out infinite;
}

body.modal-open .floating-conversion-actions,
body.has-cookie-banner .floating-conversion-actions {
  display: none;
}

body.modal-open,
body.lead-modal-pending {
  overflow: hidden;
}

.modal-shell {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: grid;
  overflow: hidden;
  padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  place-items: center;
}

.modal-shell[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 21, 0.78);
  backdrop-filter: blur(3px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 44rem);
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 1.25rem;
  background: var(--color-white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  padding: 1.3rem;
}

.modal-panel > .eyebrow {
  margin-right: 2.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
}

.modal-panel > h2 {
  margin: 0 2.5rem 0.55rem 0;
  font-size: clamp(1.75rem, 7vw, 2.45rem);
  line-height: 1.08;
}

.modal-panel > p {
  margin-bottom: 1.1rem;
  color: #435049;
  font-size: 1rem;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: #edf1ed;
  color: var(--color-dark);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  place-items: center;
}

.modal-form-grid {
  display: grid;
  gap: 1rem;
}

.modal-panel [data-lead-form] {
  gap: 0.8rem;
}

.modal-panel .form-field input {
  min-height: 3.35rem;
}

.modal-panel .consent-field > div > label {
  font-size: 0.92rem;
}

.modal-panel .field-help,
.modal-panel .field-error {
  font-size: 0.82rem;
}

.modal-panel .form-submit {
  min-height: 3.65rem;
  font-size: 0.95rem;
}

/* WhatsApp lead capture: a conversation, not a generic form modal. */
.whatsapp-capture-modal {
  padding: 0;
  place-items: stretch;
}

.whatsapp-capture-modal .modal-backdrop {
  background: rgba(18, 24, 21, 0.72);
}

.whatsapp-chat {
  display: flex;
  width: 100%;
  height: 100dvh;
  max-height: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  background: #efeae2;
  padding: 0;
}

.whatsapp-chat__header {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 5.25rem;
  grid-template-columns: 2.85rem minmax(0, 1fr) 2.75rem;
  gap: 0.75rem;
  align-items: center;
  background: #075e54;
  color: #fff;
  padding: max(0.75rem, env(safe-area-inset-top)) 0.7rem 0.75rem 0.9rem;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
}

.whatsapp-chat__avatar {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: #f4efe4;
  color: #385d47;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 800;
  place-items: center;
}

.whatsapp-chat__identity h2 {
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.25;
}

.whatsapp-chat__identity p {
  display: flex;
  gap: 0.38rem;
  align-items: center;
  margin: 0.1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
}

.whatsapp-chat__identity p > span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.18);
}

.whatsapp-chat__close {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  place-items: center;
}

.whatsapp-chat__close:hover,
.whatsapp-chat__close:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.whatsapp-chat__body {
  position: relative;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 1rem 1rem, rgba(84, 101, 111, 0.07) 0 2px, transparent 2.5px) 0 0 / 2.5rem 2.5rem,
    radial-gradient(circle at 2.2rem 2.1rem, rgba(84, 101, 111, 0.05) 0 1.5px, transparent 2px) 0 0 / 3rem 3rem,
    #efeae2;
  padding: 0.8rem max(0.75rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
}

.whatsapp-chat__date {
  width: max-content;
  margin: 0 auto 0.75rem;
  border-radius: 0.45rem;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  color: #667781;
  font-size: 0.75rem;
  padding: 0.32rem 0.75rem;
}

.whatsapp-chat__bubble {
  position: relative;
  width: min(90%, 22rem);
  margin-bottom: 0.55rem;
  border-radius: 0.15rem 0.8rem 0.8rem;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  color: #111b21;
  padding: 0.65rem 0.75rem 0.45rem;
}

.whatsapp-chat__bubble::before,
.whatsapp-chat__form-bubble::before {
  position: absolute;
  top: 0;
  left: -0.5rem;
  width: 0;
  height: 0;
  border-top: 0.7rem solid #fff;
  border-left: 0.55rem solid transparent;
  content: "";
}

.whatsapp-chat__bubble p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.whatsapp-chat__bubble > span {
  display: block;
  margin-top: 0.15rem;
  color: #667781;
  font-size: 0.68rem;
  text-align: right;
}

.whatsapp-chat__form {
  display: grid;
  gap: 0.55rem;
}

.whatsapp-chat__form-bubble {
  position: relative;
  width: min(100%, 23rem);
  border-radius: 0.15rem 0.8rem 0.8rem;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  padding: 0.85rem;
}

.whatsapp-chat__prompt {
  margin: 0 0 0.75rem;
  color: #111b21;
  font-size: 0.92rem;
  font-weight: 750;
}

.whatsapp-chat__form-bubble .form-field + .form-field {
  margin-top: 0.55rem;
}

.whatsapp-chat__form-bubble .form-field label,
.whatsapp-chat__form-bubble .consent-field > div > label {
  color: #37464e;
  font-size: 0.82rem;
}

.whatsapp-chat__form-bubble .form-field input {
  min-height: 3rem;
  border: 1px solid #c8d0d4;
  border-radius: 0.55rem;
  background: #f8faf9;
  font-size: 1rem;
  padding: 0.62rem 0.75rem;
}

.whatsapp-chat__form-bubble .form-field input:focus {
  border-color: #00a884;
  outline: 3px solid rgba(0, 168, 132, 0.14);
}

.whatsapp-chat__form-bubble .consent-field {
  grid-template-columns: 1.4rem 1fr;
  gap: 0.55rem;
  margin-top: 0.75rem;
  border-top: 1px solid #e5e9e7;
  padding-top: 0.75rem;
}

.whatsapp-chat__form-bubble .consent-field > input {
  width: 1.3rem;
  height: 1.3rem;
  accent-color: #00a884;
}

.whatsapp-chat__form-bubble .field-help,
.whatsapp-chat__form-bubble .field-error {
  font-size: 0.74rem;
}

.whatsapp-chat__send-row {
  display: flex;
  justify-content: flex-end;
}

.whatsapp-chat .whatsapp-chat__send-message {
  position: relative;
  display: inline-flex;
  width: auto;
  min-height: 3.35rem;
  max-width: 90%;
  flex-wrap: wrap;
  gap: 0.15rem 0.65rem;
  align-items: center;
  justify-content: flex-end;
  border: 0;
  border-radius: 0.8rem 0.15rem 0.8rem 0.8rem;
  background: #d9fdd3;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
  color: #111b21;
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.25;
  padding: 0.68rem 0.75rem 0.45rem 0.9rem;
  text-align: left;
}

.whatsapp-chat .whatsapp-chat__send-message::before {
  position: absolute;
  top: 0;
  right: -0.5rem;
  width: 0;
  height: 0;
  border-top: 0.7rem solid #d9fdd3;
  border-right: 0.55rem solid transparent;
  content: "";
}

.whatsapp-chat .whatsapp-chat__send-message:hover,
.whatsapp-chat .whatsapp-chat__send-message:focus-visible {
  background: #c8f7c1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.whatsapp-chat .whatsapp-chat__send-message:hover::before,
.whatsapp-chat .whatsapp-chat__send-message:focus-visible::before {
  border-top-color: #c8f7c1;
}

.whatsapp-chat__message-meta {
  align-self: flex-end;
  color: #667781;
  font-size: 0.65rem;
  font-weight: 500;
  white-space: nowrap;
}

.whatsapp-chat__message-meta > span {
  color: #53bdeb;
  font-size: 0.78rem;
  letter-spacing: -0.28rem;
  padding-right: 0.28rem;
}

.whatsapp-chat .form-microcopy {
  margin: 0;
  color: #536169;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: right;
}

.whatsapp-chat .form-status {
  border-radius: 0.75rem;
  font-size: 0.85rem;
  padding: 0.65rem 0.8rem;
}

/* ==========================================================
   Página de obrigado (/lp/magnesio-form/obrigado/) — pós-lead
   Mobile-first: 360–414px como referência principal.
   ========================================================== */
.thank-you-main {
  background: linear-gradient(180deg, var(--color-alabaster) 0%, #eef2ec 100%);
  padding-block: clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 7vw, 5rem);
}

.thank-you-stack {
  display: grid;
  max-width: 52rem;
  gap: clamp(1.5rem, 5vw, 2.5rem);
}

.thank-you-main p {
  font-size: 1.125rem;
}

.thank-you-main .eyebrow {
  font-size: 1rem;
}

.thank-you-main h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.6rem, 6.4vw, 2.4rem);
}

.thank-you-card {
  border: 1px solid rgba(74, 107, 83, 0.16);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 5.5vw, 3rem);
}

.thank-you-card h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 9vw, 3.5rem);
}

.thank-you-highlight {
  margin-bottom: 0;
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--color-gold-soft);
  padding: 1rem 1.1rem;
}

/* Vídeo */
.thank-you-video-section {
  text-align: center;
}

.thank-you-video-section > p {
  margin-bottom: 1.25rem;
  color: var(--color-muted);
}

.thank-you-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: var(--color-dark);
  box-shadow: var(--shadow-card);
}

.thank-you-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.thank-you-video__play {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  background: var(--color-dark);
  color: var(--color-white);
  cursor: pointer;
  font: inherit;
  padding: 0;
  place-items: center;
}

.thank-you-video__play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  object-fit: cover;
  transition: opacity var(--transition);
}

.thank-you-video__play::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 37, 34, 0.1) 30%, rgba(30, 37, 34, 0.85));
  content: "";
}

.thank-you-video__icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: var(--color-olive-dark);
  font-size: 1.5rem;
  place-items: center;
  padding-left: 0.25rem;
}

.thank-you-video__label {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0.9rem;
  left: 0;
  font-size: 1.125rem;
  font-weight: 800;
  text-align: center;
}

.thank-you-video__play:hover img {
  opacity: 0.85;
}

.thank-you-video__play:focus-visible {
  outline: 4px solid var(--color-gold);
  outline-offset: -4px;
}

/* Oferta Pix */
.thank-you-offer {
  border-radius: var(--radius-md);
  background: var(--color-olive-dark);
  box-shadow: var(--shadow-soft);
  color: var(--color-white);
  padding: clamp(1.75rem, 6vw, 3.25rem) clamp(1.25rem, 5.5vw, 3rem);
  text-align: center;
}

.thank-you-offer .eyebrow {
  color: var(--color-gold-soft);
}

.thank-you-offer h2 {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  color: var(--color-white);
}

.thank-you-offer__value {
  color: var(--color-gold-soft);
  font-size: clamp(5rem, 28vw, 8.5rem);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.thank-you-offer__headline {
  font-size: clamp(1.5rem, 6.6vw, 2.25rem);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.2;
}

.thank-you-offer p {
  max-width: 36rem;
  margin-inline: auto;
  color: #eef2ec;
}

.thank-you-offer__cta {
  width: 100%;
  min-height: 3.75rem;
  margin-top: 1.5rem;
  color: var(--color-olive-dark);
  gap: 0.55rem;
  font-size: 1.0625rem;
  font-weight: 850;
  padding-inline: 0.9rem;
  white-space: nowrap;
}

.thank-you-offer__cta:hover,
.thank-you-offer__cta:focus-visible {
  color: var(--color-dark);
}

.thank-you-offer__cta::after {
  content: none;
}

.thank-you-offer__icon {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
}

.thank-you-offer .thank-you-offer__microcopy {
  margin-top: 1rem;
  font-size: 1.0625rem;
}

.thank-you-offer :focus-visible {
  outline-color: var(--color-gold-soft);
}

/* Prefere aguardar */
.thank-you-wait {
  text-align: center;
}

.thank-you-wait p {
  margin-bottom: 0.75rem;
}

.thank-you-wait .thank-you-wait__closing {
  margin-top: 1.25rem;
  margin-bottom: 0;
  color: var(--color-olive-dark);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Link secundário */
.thank-you-secondary {
  margin: 0;
  text-align: center;
}

.thank-you-secondary a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 1.0625rem;
  font-weight: 650;
}

@media (min-width: 768px) {
  .thank-you-offer__cta {
    width: auto;
    min-width: 24rem;
    min-height: 4rem;
    padding-inline: 2.25rem;
  }
}

@keyframes form-spin {
  to { transform: rotate(360deg); }
}

@keyframes whatsapp-pulse {
  0%, 70%, 100% { box-shadow: 0 8px 24px rgba(30, 37, 34, 0.25), 0 0 0 0 rgba(23, 139, 72, 0.3); }
  85% { box-shadow: 0 8px 24px rgba(30, 37, 34, 0.25), 0 0 0 12px rgba(23, 139, 72, 0); }
}

@media (min-width: 768px) {
  .form-lp-header__note {
    display: block;
  }

  .header-action {
    max-width: none;
    font-size: 0.96rem;
  }

  .form-hero__grid {
    grid-template-areas: "copy media" "action media";
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    align-items: center;
    gap: 1.5rem 3rem;
  }

  .form-hero__media {
    min-height: 36rem;
    grid-row: 1 / span 2;
  }

  .form-hero__media img {
    height: 34rem;
  }

  .btn-joie--large {
    width: auto;
    min-height: 4rem;
    font-size: 1.08rem;
  }

  .hero-microcopy {
    max-width: 31rem;
    text-align: left;
  }

  .benefit-grid,
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .composition-panel,
  .permanent-form-grid,
  .usage-grid,
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .composition-panel {
    align-items: center;
  }

  .composition-copy .btn-joie,
  .compact-panel .btn-joie,
  .steps-conversion .btn-joie {
    width: auto;
  }

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

  .testimonial-card--featured {
    grid-column: 1 / -1;
  }

  .testimonial-card--featured .testimonial-video {
    max-width: 52rem;
    margin-inline: auto;
  }

  .permanent-form-grid {
    align-items: start;
  }

  .compact-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .modal-panel {
    padding: 2rem;
  }

  .modal-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.whatsapp-chat-open .floating-conversion-actions {
    z-index: 2300;
    display: grid;
  }

  body.whatsapp-chat-open .back-to-top {
    display: none;
  }

  body.whatsapp-chat-open .floating-whatsapp {
    animation: none;
    box-shadow: 0 0 0 4px #fff, 0 8px 24px rgba(30, 37, 34, 0.28);
  }

  .whatsapp-capture-modal .modal-backdrop {
    background: rgba(18, 24, 21, 0.34);
    backdrop-filter: blur(1px);
  }

  .whatsapp-chat {
    position: absolute;
    right: max(1rem, env(safe-area-inset-right));
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4.75rem);
    width: min(25rem, calc(100vw - 2rem));
    height: min(48rem, calc(100dvh - 7rem));
    max-height: none;
    border: 1px solid rgba(17, 27, 33, 0.1);
    border-radius: 1rem;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: 1.6fr 1fr;
  }

  .testimonial-card--featured {
    grid-row: 1 / span 2;
    grid-column: auto;
  }

  .testimonial-card--featured .testimonial-video {
    max-width: none;
  }
}

@media (max-width: 374px) {
  .site-container {
    width: min(100% - 1.25rem, var(--container-max));
  }

  .form-lp-header .header-inner {
    gap: 0.5rem;
  }

  .header-action {
    max-width: 11.5rem;
    font-size: 0.78rem;
    padding-inline: 0.65rem;
  }

  .form-hero h1 {
    font-size: 2rem;
  }

  .form-hero__media img {
    height: 13.5rem;
  }

  .modal-panel {
    padding: 1.1rem;
  }

  .whatsapp-chat {
    padding: 0;
  }
}

@media (max-width: 767.98px) {
  .form-hero__copy,
  .form-hero__action {
    text-align: center;
  }

  .form-hero h1 {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floating-whatsapp,
  .form-submit.is-loading::after {
    animation: none;
  }

  .testimonial-play img,
  .thank-you-video__play img {
    transition: none;
  }

  .thank-you-offer__cta:hover {
    transform: none;
  }
}
