/*!
 * Rapidido landing page stylesheet
 * Design system + section styles. Class prefix: lp-
 * Paired with: templates/index.html + static/js/lp/landing.js
 * Mobile-first, respects prefers-reduced-motion.
 */

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  /* Colors */
  --lp-bg: #ffffff;
  --lp-bg-alt: #f6faf7;
  --lp-bg-dark: #0e352d;
  --lp-bg-darker: #081f1a;
  --lp-primary: #0e352d;
  --lp-primary-600: #0a5445;
  --lp-accent: #A4E25A;
  --lp-accent-600: #7BAA44;
  --lp-cream: #FBF9ED;
  --lp-primary-800: #0B2822;
  --lp-green-light: #B6E87B;
  --lp-green-lighter: #C8EE9C;
  --lp-gray-dark: #3F3E3B;
  --lp-gray-mid: #7E7D77;
  --lp-gray-light: #BCBBB2;
  --lp-text: #0f1f1a;
  --lp-text-muted: #566b65;
  --lp-text-inverse: #ffffff;
  --lp-text-inverse-muted: rgba(255, 255, 255, 0.72);
  --lp-border: #e3ebe7;
  --lp-border-strong: #c9d8d3;
  --lp-danger: #d93a3a;
  --lp-success: #1f9d6a;
  --lp-star: #f5b61a;

  /* Shadows */
  --lp-shadow-sm: 0 1px 2px rgba(14, 53, 45, 0.06), 0 2px 8px rgba(14, 53, 45, 0.04);
  --lp-shadow-md: 0 8px 24px rgba(14, 53, 45, 0.08);
  --lp-shadow-lg: 0 24px 60px rgba(14, 53, 45, 0.12);

  /* Radii */
  --lp-radius-sm: 8px;
  --lp-radius-md: 14px;
  --lp-radius-lg: 22px;
  --lp-radius-pill: 999px;

  /* Layout */
  --lp-container-max: 1200px;
  --lp-header-height: 72px;

  /* Typography */
  --lp-font-heading: 'Sora', system-ui, sans-serif;
  --lp-font-body: 'Open Sans', system-ui, sans-serif;

  /* Spacing ladder */
  --lp-space-1: 4px;
  --lp-space-2: 8px;
  --lp-space-3: 12px;
  --lp-space-4: 16px;
  --lp-space-5: 24px;
  --lp-space-6: 32px;
  --lp-space-7: 48px;
  --lp-space-8: 64px;
  --lp-space-9: 96px;
  --lp-space-10: 128px;
}

/* =========================================================
   RESET & GLOBAL
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--lp-header-height);
  -webkit-text-size-adjust: 100%;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}

.lp-body {
  font-family: var(--lp-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lp-text);
  background: var(--lp-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

/* Focus */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--lp-accent);
  outline-offset: 2px;
  border-radius: var(--lp-radius-sm);
}

/* Skip link */
.lp-skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--lp-bg-dark);
  color: var(--lp-text-inverse);
  border-radius: var(--lp-radius-sm);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--lp-shadow-md);
  transition: top 180ms ease;
}
.lp-skip:focus,
.lp-skip:focus-visible {
  top: 16px;
}

/* Container */
.lp-container {
  width: 100%;
  max-width: var(--lp-container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--lp-radius-pill);
  font-family: var(--lp-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease;
  white-space: nowrap;
}
.lp-btn .material-symbols-rounded {
  font-size: 20px;
  line-height: 1;
}

.lp-btn--primary {
  background: var(--lp-primary);
  color: #ffffff;
  border-color: var(--lp-primary);
}
.lp-btn--primary:hover,
.lp-btn--primary:focus-visible {
  background: var(--lp-primary-600);
  border-color: var(--lp-primary-600);
  transform: translateY(-1px);
  box-shadow: var(--lp-shadow-md);
}

.lp-btn--secondary {
  background: var(--lp-accent);
  color: var(--lp-primary);
  border-color: var(--lp-accent);
}
.lp-btn--secondary:hover,
.lp-btn--secondary:focus-visible {
  background: var(--lp-accent-600);
  border-color: var(--lp-accent-600);
  transform: translateY(-1px);
  box-shadow: var(--lp-shadow-md);
}

.lp-btn--ghost {
  background: transparent;
  color: var(--lp-primary);
  border-color: var(--lp-border-strong);
}
.lp-btn--ghost:hover,
.lp-btn--ghost:focus-visible {
  background: var(--lp-bg-alt);
}

.lp-btn--lg {
  padding: 18px 32px;
  font-size: 1rem;
}

.lp-btn--block {
  width: 100%;
}

/* Uppercase, bold CTA ("GARANTIR O CONTROLE DO MEU NEGÓCIO") */
.lp-btn--caps {
  font-weight: 700;
  text-transform: uppercase;
  padding-inline: 24px;
  white-space: normal;
  text-align: center;
}

/* Fixed-width CTA used below the resources grid and the steps list */
.lp-btn--wide {
  min-width: min(500px, 100%);
}

/* Ghost override on dark surfaces */
.lp-section--hero .lp-btn--ghost,
.lp-footer .lp-btn--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}
.lp-section--hero .lp-btn--ghost:hover,
.lp-footer .lp-btn--ghost:hover,
.lp-section--hero .lp-btn--ghost:focus-visible,
.lp-footer .lp-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Entrar button on dark header */
.lp-header .lp-btn--ghost {
  color: var(--lp-cream, #FBF9ED);
  border-color: rgba(255,255,255,0.3);
  background: transparent;
}
.lp-header .lp-btn--ghost:hover,
.lp-header .lp-btn--ghost:focus-visible {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* =========================================================
   HEADER / NAV
   =========================================================
   Convention: JS toggles `lp-nav--open` on `.lp-nav` to open
   the mobile menu. JS also toggles `lp-lang--open` on
   `.lp-lang` to open the language dropdown.
   */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--lp-primary);
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
.lp-header--scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--lp-header-height);
  position: relative;
}

.lp-nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.lp-nav__logo img {
  height: 36px;
  width: auto;
  /* Logo asset is white; no filter needed on dark header */
  filter: none;
}

.lp-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  gap: 8px;
}

.lp-nav__item {
  display: block;
}

.lp-nav__link {
  display: inline-block;
  color: var(--lp-cream, #FBF9ED);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--lp-radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 160ms ease, color 160ms ease;
}
.lp-nav__link:hover,
.lp-nav__link:focus-visible {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.lp-nav__link--active {
  color: var(--lp-accent);
}

.lp-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lp-nav__login,
.lp-nav__trial {
  display: none;
}
@media (min-width: 480px) {
  .lp-nav__login,
  .lp-nav__trial {
    display: inline-flex;
  }
}

.lp-nav__toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--lp-cream);
  border-radius: var(--lp-radius-sm);
  cursor: pointer;
  transition: background-color 160ms ease;
}
.lp-nav__toggle:hover {
  background: rgba(255,255,255,0.08);
}
.lp-nav__toggle .material-symbols-rounded {
  font-size: 26px;
}

/* Mobile open state */
.lp-nav--open .lp-nav__list {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--lp-header-height);
  left: 0;
  right: 0;
  background: var(--lp-primary);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--lp-shadow-md);
  gap: 4px;
  z-index: 99;
}
.lp-nav--open .lp-nav__item {
  width: 100%;
}
.lp-nav--open .lp-nav__link {
  display: block;
  width: 100%;
  padding: 14px 12px;
}
/* Mobile-only nav items (login & trial in hamburger menu) */
.lp-nav__item--mobile-only {
  display: none;
}
.lp-nav--open .lp-nav__item--mobile-only {
  display: block;
}
.lp-nav__mobile-cta {
  margin-top: 12px;
  padding: 14px 24px;
}
@media (min-width: 1024px) {
  .lp-nav__item--mobile-only {
    display: none !important;
  }
}

/* =========================================================
   LANGUAGE SWITCHER
   ========================================================= */
.lp-lang {
  position: relative;
}

.lp-lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--lp-border-strong);
  border-radius: var(--lp-radius-pill);
  background: #ffffff;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lp-text);
  transition: background-color 160ms ease, border-color 160ms ease;
}
.lp-lang__trigger:hover {
  background: var(--lp-bg-alt);
}
/* Language switcher on dark header */
.lp-header .lp-lang__trigger {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: var(--lp-cream);
}
.lp-header .lp-lang__trigger:hover {
  background: rgba(255,255,255,0.15);
}
.lp-header .lp-lang__code {
  color: var(--lp-cream);
}
.lp-header .lp-lang__trigger .material-symbols-rounded {
  color: var(--lp-cream);
}
.lp-lang__trigger .material-symbols-rounded {
  font-size: 18px;
  transition: transform 200ms ease;
}
.lp-lang--open .lp-lang__trigger .material-symbols-rounded {
  transform: rotate(180deg);
}

.lp-lang__flag {
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.lp-lang__flag svg {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  vertical-align: middle;
}

.lp-lang__code {
  letter-spacing: 0.02em;
}

.lp-lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #ffffff;
  border-radius: var(--lp-radius-md);
  box-shadow: var(--lp-shadow-lg);
  padding: 6px;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 120;
}
.lp-lang--open .lp-lang__menu {
  display: block;
}

.lp-lang__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--lp-radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--lp-text);
  transition: background-color 140ms ease;
}
.lp-lang__option:hover {
  background: var(--lp-bg-alt);
}
.lp-lang__option[aria-selected="true"] {
  background: var(--lp-bg-alt);
  font-weight: 600;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.lp-section {
  padding-block: 80px;
  position: relative;
}
@media (min-width: 1024px) {
  .lp-section {
    padding-block: 120px;
  }
}

.lp-section--hero {
  background: linear-gradient(135deg, var(--lp-bg-darker), var(--lp-primary));
  color: var(--lp-text-inverse);
  padding-block: 120px 90px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .lp-section--hero {
    padding-block: 78px 116px;
  }
}
.lp-section--hero::before {
  content: "";
  position: absolute;
  right: -15%;
  bottom: -30%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle at center, rgba(203, 248, 156, 0.18), rgba(203, 248, 156, 0) 60%);
  pointer-events: none;
  z-index: 0;
}
.lp-section--hero > .lp-container {
  position: relative;
  z-index: 1;
}

/* Blurred brand shape behind the hero (desktop only — it would sit under the copy on narrow screens) */
.lp-hero__shape {
  display: none;
  position: absolute;
  top: 70px;
  left: calc(50% - 198px);
  pointer-events: none;
  z-index: 0;
}
.lp-hero__shape img {
  max-width: none;
}
@media (min-width: 1024px) {
  .lp-hero__shape {
    display: block;
  }
}

.lp-section--trust {
  background: #ffffff;
  padding-block: 32px 68px;
}

.lp-section--metrics {
  background: var(--lp-bg-alt);
}
@media (min-width: 1024px) {
  .lp-section--metrics {
    padding-block: 70px;
  }
}

.lp-section--how {
  background: var(--lp-bg-alt);
}
@media (min-width: 1024px) {
  .lp-section--how {
    padding-top: 80px;
  }
  .lp-section--how .lp-section__head {
    margin-bottom: 80px;
  }
}

/* Testimonials flow straight into the pricing section, which carries the spacing between them */
.lp-section--testimonials {
  background: #ffffff;
  padding-bottom: 0;
}
@media (min-width: 1024px) {
  .lp-section--testimonials {
    padding-top: 82px;
  }
  .lp-section--testimonials .lp-section__head {
    margin-bottom: 85px;
  }
}

.lp-section--pricing {
  background: linear-gradient(180deg, #ffffff, var(--lp-bg-alt));
}

.lp-section--faq {
  background: #ffffff;
}
@media (min-width: 1024px) {
  .lp-section--faq .lp-section__head {
    margin-bottom: 85px;
  }
}

.lp-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.lp-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--lp-radius-pill);
  background: var(--lp-accent);
  color: var(--lp-primary);
}

.lp-section__title {
  font-family: var(--lp-font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem);
  color: var(--lp-text);
  line-height: 1.15;
  margin: 0;
}

.lp-section__subtitle {
  color: var(--lp-text-muted);
  margin: 0;
  max-width: 640px;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
  line-height: 1.6;
}

/* Hero section head overrides */
.lp-section--hero .lp-section__title {
  color: #ffffff;
}
.lp-section--hero .lp-section__subtitle {
  color: var(--lp-text-inverse-muted);
}
.lp-section--hero .lp-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* =========================================================
   HERO
   ========================================================= */
.lp-hero__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .lp-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    /* Copy block bottom-aligns with the phone mockup, as in the layout */
    align-items: end;
  }
}

.lp-hero__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.lp-hero__title {
  font-family: var(--lp-font-heading);
  font-weight: 800;
  font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
  color: #ffffff;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
  max-width: 608px;
  margin-bottom: 13px;
}
.lp-hero__title strong {
  color: var(--lp-accent);
  font-weight: 800;
}

.lp-hero__subtitle {
  color: var(--lp-text-inverse-muted);
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.2rem);
  margin: 0;
  line-height: 1.6;
  max-width: 566px;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.lp-hero__actions .lp-btn--caps {
  padding-inline: 31px;
}

.lp-hero__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-text-inverse-muted);
  font-size: 0.9rem;
  margin: 12px 0 0;
}
.lp-hero__trust::before {
  content: "check_circle";
  font-family: 'Material Symbols Rounded';
  color: var(--lp-accent);
  font-size: 20px;
  font-variation-settings: 'FILL' 1;
}

/* Single-column hero (below the 2-column breakpoint): copy centred */
@media (max-width: 1023px) {
  .lp-hero__content {
    align-items: center;
    text-align: center;
  }
  .lp-hero__actions {
    justify-content: center;
  }
  /* Inline icon, so it stays next to the first word when the line wraps */
  .lp-hero__trust {
    display: block;
  }
  .lp-hero__trust::before {
    display: inline-block;
    margin-right: 6px;
    vertical-align: -5px;
    line-height: 1;
  }
}

.lp-hero__visual {
  position: relative;
  margin-top: 16px;
}
@media (min-width: 1024px) {
  .lp-hero__visual {
    margin-top: 0;
    width: 100%;
    max-width: 492px;
    justify-self: end;
  }
}

.lp-hero__image {
  width: 100%;
  border-radius: var(--lp-radius-lg);
}

.lp-hero__badge {
  position: absolute;
  background: #ffffff;
  color: var(--lp-text);
  padding: 12px 16px;
  border-radius: var(--lp-radius-md);
  box-shadow: 0 8px 12px rgba(14, 53, 45, 0.08);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: lp-float 6s ease-in-out infinite alternate;
  z-index: 2;
}
.lp-hero__badge .material-symbols-rounded {
  font-size: 20px;
  color: var(--lp-primary);
  background: var(--lp-accent);
  border-radius: 50%;
  padding: 4px;
}

.lp-hero__badge--1 {
  top: -12px;
  left: 16px;
  animation-delay: 0s;
}
.lp-hero__badge--2 {
  top: 40%;
  right: 16px;
  animation-delay: 1.5s;
}
.lp-hero__badge--3 {
  bottom: -12px;
  left: 24px;
  animation-delay: 3s;
}

@media (min-width: 1024px) {
  .lp-hero__badge--1 {
    top: 6.5%;
    left: -5.5%;
  }
  .lp-hero__badge--2 {
    top: 44%;
    right: -5.6%;
    left: auto;
  }
  .lp-hero__badge--3 {
    bottom: -6.6%;
    left: 8.7%;
  }
}

@keyframes lp-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.lp-trust__title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lp-text-muted);
  margin: 0 0 32px;
}

/* ============================================================
   Trust bar — infinite marquee carousel (single-track)
   Full-bleed strip (wider than the container), fading out from
   the centre towards both edges.
   ============================================================ */
.lp-trust__logos {
  overflow: hidden;
  mask-image: radial-gradient(650px 280px at 50% 50%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(650px 280px at 50% 50%, #000 0%, transparent 100%);
  width: 100%;
  max-width: 1744px;
  margin: 0 auto;
}

.lp-trust__track {
  display: flex;
  gap: 32px;
  /* Trailing space equal to the gap, so -25% is exactly one set (logos + gaps) */
  padding-right: 32px;
  align-items: center;
  width: max-content;
  animation: lp-marquee 30s linear infinite;
}

.lp-trust__track:hover {
  animation-play-state: paused;
}

/* The track holds 4 identical sets of logos; shifting by one set loops seamlessly */
@keyframes lp-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%);
  }
}

.lp-trust__logo {
  height: clamp(64px, 6vw, 99px);
  width: auto;
  max-width: 148px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 300ms ease, opacity 300ms ease;
  flex-shrink: 0;
}

.lp-trust__logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .lp-trust__track {
    animation: none;
  }
}

/* =========================================================
   METRICS
   ========================================================= */
.lp-metrics__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .lp-metrics__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-metric {
  text-align: center;
  padding: 32px;
  background: #ffffff;
  border-radius: var(--lp-radius-lg);
  border: 1px solid var(--lp-border);
  box-shadow: var(--lp-shadow-sm);
}

.lp-metric__value {
  display: block;
  font-family: var(--lp-font-heading);
  font-size: clamp(2.5rem, 3vw + 1rem, 3.5rem);
  font-weight: 700;
  color: var(--lp-primary);
  line-height: 1;
}

.lp-metric__label {
  display: block;
  color: var(--lp-text-muted);
  font-size: 1rem;
  margin-top: 8px;
}

/* ============================================================
   Resources section — balanced 4x2 grid
   ============================================================ */
.lp-section--features {
  background: #00201a;
  position: relative;
  overflow: hidden;
}

.lp-section--features .lp-container {
  position: relative;
  z-index: 1;
}

.lp-resources__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.lp-resources__bg img {
  width: 500px;
  height: auto;
}

.lp-section--features .lp-section__head {
  margin-bottom: 48px;
}

.lp-section--features .lp-section__title {
  color: #fff;
}

.lp-section--features .lp-section__subtitle {
  color: rgba(255,255,255,0.65);
}

.lp-section--features .lp-eyebrow {
  background: rgba(164,226,90,0.12);
  color: var(--lp-accent);
}

.lp-resources__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .lp-resources__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .lp-resources__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.lp-resource {
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(6, 49, 40, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(164, 226, 90, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.lp-resource:hover {
  transform: translateY(-4px);
  border-color: rgba(164, 226, 90, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.lp-resource__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(164, 226, 90, 0.12);
  color: var(--lp-accent);
  border-radius: 12px;
}

.lp-resource__icon .material-symbols-rounded {
  font-size: 24px;
  font-variation-settings: 'FILL' 1;
}

.lp-resource__title {
  font-family: var(--lp-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #d2ff9c;
  margin: 0;
  line-height: 1.3;
}

.lp-resource__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.6;
}

.lp-resources__cta {
  text-align: center;
  margin-top: 48px;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.lp-how__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .lp-how__grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
  .lp-how__visual {
    margin-top: 16px;
  }
}

.lp-how__visual img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: block;
}

.lp-how__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lp-how__cta {
  margin-top: 32px;
}

.lp-how__steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: lp-step;
}

.lp-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}

.lp-step__number {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lp-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--lp-font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.lp-step__title {
  font-family: var(--lp-font-heading);
  font-size: clamp(1.1rem, 0.4vw + 1rem, 1.25rem);
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--lp-text);
  grid-column: 2;
}

.lp-step__desc {
  color: var(--lp-text-muted);
  margin: 0;
  line-height: 1.6;
  grid-column: 2;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.lp-testimonials__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .lp-testimonials__grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 40px;
  }
}

/* Print e áudio seguem o mesmo molde: nome + estrelas e negócio no topo, depois o conteúdo */
.lp-testimonial.lp-testimonial--print,
.lp-testimonial.lp-testimonial--audio {
  padding: 24px;
  gap: 12px;
}
.lp-testimonial--print .lp-testimonial__author,
.lp-testimonial--audio .lp-testimonial__author {
  margin-top: 0;
}
.lp-testimonial__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 10px;
  row-gap: 2px;
}
.lp-testimonial__headline .lp-testimonial__star {
  font-size: 18px;
}
.lp-testimonial__audios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-audio {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 12px 0 6px;
  background: #e2e2e2;
  border-radius: var(--lp-radius-sm);
}
.lp-audio__play {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--lp-primary);
  cursor: pointer;
}
.lp-audio__play .material-symbols-rounded {
  font-size: 32px;
  font-variation-settings: 'FILL' 1;
}
.lp-audio__play:focus-visible {
  outline: 2px solid var(--lp-primary-600);
  outline-offset: 2px;
}
.lp-audio__wave {
  flex: 1;
  min-width: 0;
  /* A largura vem do player, nunca das barras: elas não podem empurrar o layout */
  contain: inline-size;
  display: flex;
  align-items: center;
  height: 28px;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.lp-audio__wave:focus-visible {
  outline: 2px solid var(--lp-primary-600);
  outline-offset: 4px;
  border-radius: 4px;
}
/* Trilha das barras: ocupa o player inteiro, sobra de pixels vai para os espaços */
.lp-audio__track {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  height: 100%;
}
.lp-audio__bar {
  flex: 0 0 4px;
  border-radius: 2px;
  background: #9a9a9a;
  transition: background-color 120ms linear;
  pointer-events: none;
}
.lp-audio__bar--played {
  background: var(--lp-primary);
}
.lp-audio__thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--lp-primary);
  box-shadow: 0 0 0 2px #e2e2e2;
  pointer-events: none;
  transition: transform 120ms ease-out, opacity 120ms ease-out;
}
.lp-audio--dragging .lp-audio__thumb {
  transform: scale(1.3);
}
/* Antes do primeiro play e tocando, a bolinha fica escondida (a onda preenchida já mostra
   a posição); ela aparece ao arrastar e, depois de iniciado, ao pausar */
.lp-audio:not(.lp-audio--started):not(.lp-audio--dragging) .lp-audio__thumb,
.lp-audio--playing:not(.lp-audio--dragging) .lp-audio__thumb {
  opacity: 0;
  transform: scale(0.4);
}
.lp-audio--dragging .lp-audio__bar {
  transition: none;
}

.lp-testimonial {
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  box-shadow: var(--lp-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Photo / video on top of the card, bleeding to its edges */
.lp-testimonial__media {
  margin: -32px -32px 8px;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--lp-radius-lg) - 1px) calc(var(--lp-radius-lg) - 1px) 0 0;
  overflow: hidden;
  background: var(--lp-bg-alt);
}
.lp-testimonial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Print do WhatsApp: como no stash, sangra até as bordas do card, só que no rodapé
   (autor em cima); mantém a proporção da imagem em vez de recortar em 16:10 */
.lp-testimonial--print .lp-testimonial__media {
  margin: auto -24px -24px;
  aspect-ratio: auto;
  border-radius: 0 0 calc(var(--lp-radius-lg) - 1px) calc(var(--lp-radius-lg) - 1px);
  background: #0b141a;
}
.lp-testimonial--print .lp-testimonial__media img {
  height: auto;
}

/* Photo and video thumbnails are buttons that open the media viewer */
.lp-testimonial__photo,
.lp-testimonial__video {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.lp-testimonial__video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 53, 45, 0) 40%, rgba(14, 53, 45, 0.45) 100%);
  pointer-events: none;
}
.lp-testimonial__photo:focus-visible,
.lp-testimonial__video:focus-visible {
  outline-offset: -3px;
}
.lp-testimonial__photo img {
  transition: transform 300ms ease;
}
.lp-testimonial__photo:hover img,
.lp-testimonial__photo:focus-visible img {
  transform: scale(1.03);
}

.lp-testimonial__expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(8, 31, 26, 0.7);
  color: #ffffff;
  transition: background-color 160ms ease, transform 160ms ease;
}
.lp-testimonial__expand .material-symbols-rounded {
  font-size: 22px;
}
.lp-testimonial__photo:hover .lp-testimonial__expand,
.lp-testimonial__photo:focus-visible .lp-testimonial__expand {
  background: var(--lp-accent);
  color: var(--lp-primary);
  transform: scale(1.06);
}

.lp-testimonial__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lp-accent);
  color: var(--lp-primary);
  box-shadow: 0 8px 24px rgba(14, 53, 45, 0.25);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background-color 180ms ease;
}
.lp-testimonial__play .material-symbols-rounded {
  font-size: 36px;
  font-variation-settings: 'FILL' 1;
}
.lp-testimonial__video:hover .lp-testimonial__play,
.lp-testimonial__video:focus-visible .lp-testimonial__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--lp-green-light);
}

.lp-testimonial__duration {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: var(--lp-radius-pill);
  background: rgba(8, 31, 26, 0.7);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lp-testimonial__duration:empty {
  display: none;
}

/* Media viewer dialog (photo full screen / video player) */
.lp-media-modal {
  max-width: calc(100vw - 32px);
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--lp-radius-lg);
  background: transparent;
  overflow: visible;
}
.lp-media-modal::backdrop {
  background: rgba(8, 31, 26, 0.88);
}
.lp-media-modal--video {
  width: min(960px, calc(100vw - 32px));
  background: #000000;
}
.lp-media-modal__image,
.lp-media-modal__player {
  display: block;
  max-height: calc(100vh - 120px);
  border-radius: var(--lp-radius-lg);
}
.lp-media-modal__image {
  /* Prints pequenos (ex.: WhatsApp) são ampliados para ficarem legíveis */
  width: min(1000px, calc(100vw - 32px));
  height: auto;
  object-fit: contain;
}
.lp-media-modal__player {
  width: 100%;
  background: #000000;
}
.lp-media-modal__image[hidden],
.lp-media-modal__player[hidden] {
  display: none;
}
.lp-media-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.lp-media-modal__close:hover,
.lp-media-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.26);
}

.lp-testimonial__rating {
  display: flex;
  gap: 2px;
}

.lp-testimonial__star {
  color: var(--lp-star);
  font-variation-settings: 'FILL' 1;
  font-size: 20px;
}

.lp-testimonial__quote {
  font-size: 1rem;
  color: var(--lp-text);
  line-height: 1.7;
  margin: 0;
  font-style: normal;
  position: relative;
}
.lp-testimonial__quote::before {
  content: "\201C";
  font-family: var(--lp-font-heading);
  font-size: 2.2rem;
  line-height: 0.7;
  color: var(--lp-accent-600);
  margin-right: 4px;
  vertical-align: -0.25em;
}

.lp-testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.lp-testimonial__name {
  font-weight: 600;
  color: var(--lp-text);
  margin: 0;
}

.lp-testimonial__role {
  font-size: 0.85rem;
  color: var(--lp-text-muted);
  margin: 0;
}

/* =========================================================
   PRICING
   ========================================================= */
.lp-pricing__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 768px) {
  .lp-pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .lp-pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Planos em galeria horizontal: o card central fica em destaque (começa no mais popular) */
.lp-pricing__gallery {
  --lp-fade-l: 0px;
  --lp-fade-r: 0px;
  position: relative;
  padding-inline: 64px;
}
.lp-pricing__gallery.has-prev { --lp-fade-l: 56px; }
.lp-pricing__gallery.has-next { --lp-fade-r: 56px; }
.lp-pricing__grid {
  --lp-plan-w: min(350px, 80vw);
  display: flex;
  flex-wrap: nowrap;
  justify-content: safe center;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 40px 4px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--lp-fade-l), #000 calc(100% - var(--lp-fade-r)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--lp-fade-l), #000 calc(100% - var(--lp-fade-r)), transparent 100%);
}
.lp-pricing__grid::-webkit-scrollbar {
  display: none;
}
.lp-pricing__grid > .lp-plan {
  flex: 0 0 var(--lp-plan-w);
  scroll-snap-align: center;
  padding: 36px 30px 32px;
  cursor: pointer;
  transition: transform 350ms cubic-bezier(.2, .8, .2, 1), opacity 350ms ease, box-shadow 350ms ease, border-color 350ms ease;
}
.lp-pricing__grid > .lp-plan.is-active {
  cursor: auto;
  border-color: var(--lp-primary);
  box-shadow: var(--lp-shadow-lg);
}
.lp-pricing__grid > .lp-plan:hover {
  transform: translateY(-4px);
}
.lp-pricing__grid > .lp-plan--featured {
  padding-block: 36px 32px;
}
.lp-pricing__grid .lp-plan__features {
  margin-bottom: 8px;
}
.lp-pricing__grid .lp-plan__cta {
  margin-top: auto;
}
.lp-pricing__nav {
  position: absolute;
  top: calc(50% - 4px);
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--lp-border);
  border-radius: 50%;
  background: #ffffff;
  color: var(--lp-primary);
  box-shadow: var(--lp-shadow-md);
  cursor: pointer;
  transition: opacity 200ms ease, background 200ms ease, color 200ms ease, transform 200ms ease;
}
.lp-pricing__nav:hover:not(:disabled) {
  background: var(--lp-primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
.lp-pricing__nav:focus-visible {
  outline: 3px solid var(--lp-accent);
  outline-offset: 2px;
}
.lp-pricing__nav:disabled {
  opacity: 0.3;
  cursor: default;
}
.lp-pricing__nav--prev { left: 4px; }
.lp-pricing__nav--next { right: 4px; }

.lp-pricing__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: -8px;
}
.lp-pricing__dots[hidden] { display: none; }
.lp-pricing__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--lp-border);
  cursor: pointer;
  transition: width 300ms ease, background 300ms ease;
}
.lp-pricing__dot.is-active {
  width: 28px;
  background: var(--lp-primary);
}
.lp-pricing__dot:focus-visible {
  outline: 2px solid var(--lp-accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .lp-pricing__gallery { padding-inline: 0; margin-inline: -24px; }
  .lp-pricing__nav { display: none; }
  /* No celular só um card cabe por vez: os vizinhos recuam para o ativo se destacar */
  .lp-pricing__grid > .lp-plan:not(.is-active) { transform: scale(0.94); opacity: 0.6; }
  .lp-pricing__grid > .lp-plan:not(.is-active):hover { transform: scale(0.96); opacity: 0.85; }
  .lp-pricing__grid {
    --lp-plan-w: min(320px, 72vw);
    gap: 16px;
    padding-inline: 24px;
    scroll-padding-inline: 24px;
  }
  .lp-pricing__gallery.has-prev { --lp-fade-l: 10px; }
  .lp-pricing__gallery.has-next { --lp-fade-r: 10px; }
}
@media (max-width: 480px) {
  .lp-pricing__grid > .lp-plan { padding: 30px 24px 26px; }
  .lp-pricing__grid .lp-plan__value { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-pricing__grid > .lp-plan,
  .lp-pricing__dot { transition: none; }
}

.lp-plan {
  position: relative;
  padding: 40px 32px;
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.lp-plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-md);
  border-color: var(--lp-accent);
}

.lp-plan--featured {
  border-color: var(--lp-primary);
  border-width: 2px;
  box-shadow: var(--lp-shadow-lg);
}
@media (min-width: 1024px) {
  .lp-plan--featured {
    padding-block: 56px;
  }
}

/* Featured plan forces primary CTA styling */
.lp-plan--featured .lp-plan__cta {
  background: var(--lp-primary);
  color: #ffffff;
  border-color: var(--lp-primary);
}
.lp-plan--featured .lp-plan__cta:hover,
.lp-plan--featured .lp-plan__cta:focus-visible {
  background: var(--lp-primary-600);
  border-color: var(--lp-primary-600);
}

.lp-plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lp-primary);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: var(--lp-radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.lp-plan__name {
  font-family: var(--lp-font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--lp-primary);
  margin: 0;
}

.lp-plan__desc {
  color: var(--lp-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.lp-plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 8px 0;
}

.lp-plan__currency {
  font-size: 1rem;
  color: var(--lp-text-muted);
  font-weight: 600;
}

.lp-plan__value {
  font-family: var(--lp-font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--lp-text);
  line-height: 1;
}

.lp-plan__period {
  font-size: 0.95rem;
  color: var(--lp-text-muted);
}

.lp-plan__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--lp-text);
}

.lp-plan__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.lp-plan__feature .material-symbols-rounded {
  color: var(--lp-success);
  font-size: 20px;
  font-variation-settings: 'FILL' 1;
  flex-shrink: 0;
}

.lp-plan__feature--bold {
  font-weight: 600;
}

.lp-plan__cta {
  margin-top: auto;
}

.lp-pricing__disclaimer {
  text-align: center;
  color: var(--lp-text-muted);
  font-size: 0.9rem;
  margin: 40px auto 0;
  max-width: 640px;
}

/* =========================================================
   FAQ
   ========================================================= */
.lp-faq__list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-faq__item {
  background: #ffffff;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-md);
  padding: 0;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.lp-faq__item:hover {
  border-color: var(--lp-border-strong);
}
.lp-faq__item[open] {
  border-color: var(--lp-primary);
  box-shadow: var(--lp-shadow-sm);
}

.lp-faq__question {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--lp-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.lp-faq__question::-webkit-details-marker {
  display: none;
}
.lp-faq__question .material-symbols-rounded {
  font-size: 24px;
  color: var(--lp-primary);
  transition: transform 220ms ease;
  flex-shrink: 0;
}
.lp-faq__item[open] .lp-faq__question .material-symbols-rounded {
  transform: rotate(180deg);
}

.lp-faq__answer {
  padding: 0 24px 20px;
  color: var(--lp-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   CONTACT (modal)
   ========================================================= */
html.lp-modal-open {
  overflow: hidden;
}

.lp-contact-modal {
  width: min(680px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--lp-radius-lg);
  background: #ffffff;
  color: var(--lp-text);
  box-shadow: var(--lp-shadow-lg);
  /* The panel scrolls; the dialog (position: fixed in the top layer) anchors the close button. */
  overflow: hidden;
}
.lp-contact-modal[open] {
  animation: lp-modal-in 220ms ease-out;
}
/* Focus goes to the first field; no ring around the whole box */
.lp-contact-modal:focus,
.lp-contact-modal:focus-visible {
  outline: none;
}
.lp-contact-modal::backdrop {
  background: rgba(8, 31, 26, 0.72);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
@keyframes lp-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lp-contact-modal__panel {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 48px 48px 40px;
}

.lp-contact-modal__head {
  margin-bottom: 32px;
}
.lp-contact-modal__head .lp-section__title {
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2.1rem);
}

.lp-contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--lp-bg-alt);
  color: var(--lp-primary);
  cursor: pointer;
  transition: background-color 160ms ease;
}
.lp-contact-modal__close:hover,
.lp-contact-modal__close:focus-visible {
  background: var(--lp-border);
}

/* Success screen (replaces the form after a send). display rules below would otherwise beat [hidden]. */
.lp-contact-modal .lp-contact__form[hidden],
.lp-contact-modal__head[hidden],
.lp-contact-modal__done[hidden] {
  display: none;
}
.lp-contact-modal__done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 0 8px;
  text-align: center;
}
.lp-contact-modal__done-icon {
  font-size: 56px;
  color: var(--lp-success);
  font-variation-settings: 'FILL' 1;
}
.lp-contact-modal__done-title {
  margin: 0;
  font-family: var(--lp-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lp-text);
}
.lp-contact-modal__done-text {
  margin: 0;
  max-width: 460px;
  color: var(--lp-text-muted);
  line-height: 1.6;
}
.lp-contact-modal__done-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.lp-contact-modal__done-actions .lp-btn[hidden] {
  display: none;
}

/* WhatsApp-branded button */
.lp-btn--whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}
.lp-btn--whatsapp:hover,
.lp-btn--whatsapp:focus-visible {
  background: #1ebe5a;
  border-color: #1ebe5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* Desktop / tablet: wider box, fields in two columns and a tighter rhythm, so the whole form fits
   on a 1366x768 (and 1280x720) screen without scrolling inside the modal. */
@media (min-width: 768px) {
  .lp-contact-modal {
    width: min(880px, calc(100vw - 32px));
  }
  .lp-contact-modal__panel {
    padding: 28px 40px 24px;
  }
  .lp-contact-modal__head {
    max-width: none;
    margin-bottom: 16px;
    gap: 8px;
  }
  .lp-contact-modal__head .lp-eyebrow {
    padding: 4px 12px;
    font-size: 0.75rem;
  }
  .lp-contact-modal__head .lp-section__title {
    font-size: 1.6rem;
  }
  .lp-contact-modal__head .lp-section__subtitle {
    font-size: 0.95rem;
    max-width: none;
  }

  .lp-contact-modal .lp-contact__form {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 12px;
  }
  .lp-contact-modal .lp-field--full,
  .lp-contact-modal .lp-contact__form > button[type="submit"],
  .lp-contact-modal .lp-contact__consent,
  .lp-contact-modal .lp-contact__feedback {
    grid-column: 1 / -1;
  }
  .lp-contact-modal .lp-field {
    gap: 4px;
  }
  .lp-contact-modal .lp-field__input,
  .lp-contact-modal .lp-field__textarea {
    padding: 12px 14px;
  }
  .lp-contact-modal .lp-field__textarea {
    height: 84px;
    min-height: 84px;
  }
  /* Error lines only take space when there is an error */
  .lp-contact-modal .lp-field__error {
    min-height: 0;
    line-height: 1.25;
  }
  .lp-contact-modal .lp-field__error:empty {
    display: none;
  }
  .lp-contact-modal .lp-contact__form > button[type="submit"] {
    padding-block: 15px;
  }
  .lp-contact-modal .lp-contact__feedback {
    margin-top: 0;
  }
}

/* Phones: full screen */
@media (max-width: 639px) {
  .lp-contact-modal {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .lp-contact-modal__panel {
    max-height: 100dvh;
    padding: 64px 20px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-contact-modal[open] {
    animation: none;
  }
}

.lp-contact__form {
  display: grid;
  gap: 16px;
}

.lp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-field__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--lp-text);
}

.lp-field__input,
.lp-field__textarea {
  padding: 14px 16px;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-md);
  background: #ffffff;
  font: inherit;
  font-size: 1rem;
  color: var(--lp-text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}
.lp-field__input:focus,
.lp-field__textarea:focus {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 4px rgba(14, 53, 45, 0.08);
  outline: none;
}
/* Locked subject (form opened from a plan button) */
.lp-field__input[readonly] {
  background: var(--lp-bg-alt);
  color: var(--lp-text-muted);
  cursor: default;
}
.lp-field__input[readonly]:focus {
  border-color: var(--lp-border);
  box-shadow: none;
}
.lp-field__input[aria-invalid="true"],
.lp-field__textarea[aria-invalid="true"],
.lp-field--invalid .lp-field__input,
.lp-field--invalid .lp-field__textarea {
  border-color: var(--lp-danger);
}
.lp-field__input[aria-invalid="true"]:focus,
.lp-field__textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(217, 58, 58, 0.12);
}

.lp-field__textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
}

.lp-field__error {
  color: var(--lp-danger);
  font-size: 0.8rem;
  min-height: 1.1em;
  display: block;
}

.lp-field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lp-contact__consent {
  margin: -8px 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--lp-text-muted);
  text-align: center;
}

.lp-contact__feedback {
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: var(--lp-radius-md);
  font-weight: 500;
  display: none;
}
.lp-contact__feedback--success,
.lp-contact__feedback--error {
  display: block;
}
.lp-contact__feedback--success {
  background: rgba(31, 157, 106, 0.1);
  color: var(--lp-success);
  border: 1px solid rgba(31, 157, 106, 0.3);
}
.lp-contact__feedback--error {
  background: rgba(217, 58, 58, 0.1);
  color: var(--lp-danger);
  border: 1px solid rgba(217, 58, 58, 0.3);
}

/* =========================================================
   FOOTER
   ========================================================= */
.lp-footer {
  background: var(--lp-bg-dark);
  color: #ffffff;
  padding-block: 64px 32px;
}

.lp-footer__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .lp-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .lp-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.lp-footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.lp-footer__tagline {
  color: var(--lp-text-inverse-muted);
  max-width: 290px;
  margin: 0;
  line-height: 1.6;
}

.lp-footer__col {
  display: flex;
  flex-direction: column;
}

.lp-footer__col-title {
  font-family: var(--lp-font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
  color: #ffffff;
  font-weight: 600;
}

.lp-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-footer__links a {
  color: var(--lp-text-inverse-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 160ms ease;
}
.lp-footer__links a:hover,
.lp-footer__links a:focus-visible {
  color: var(--lp-accent);
}

.lp-footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.lp-footer__legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--lp-text-inverse-muted);
  font-size: 0.85rem;
}
.lp-footer__legal a {
  color: var(--lp-text-inverse-muted);
  text-decoration: none;
}
.lp-footer__legal a:hover {
  color: var(--lp-accent);
}

.lp-footer__copyright {
  font-size: 0.85rem;
  color: var(--lp-text-inverse-muted);
  margin: 0;
}

/* =========================================================
   DESKTOP NAV OVERRIDE
   ========================================================= */
@media (min-width: 1024px) {
  .lp-nav__list {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .lp-nav__toggle {
    display: none;
  }
  .lp-nav--open .lp-nav__list {
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .lp-nav--open .lp-nav__link {
    display: inline-block;
    width: auto;
    padding: 10px 14px;
  }
}

/* =========================================================
   PARTNER SECTION (Instituto Gourmet)
   ========================================================= */
.lp-section--partner {
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-primary-600, #0a5445));
  color: #fff;
}
.lp-partner__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  /* Image column sized to the photo, so the title fits on one line at full width */
  .lp-partner__grid {
    grid-template-columns: minmax(0, 1fr) 431px;
    column-gap: 36px;
  }
}
.lp-partner__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.lp-section--partner .lp-section__title {
  color: #fff;
}
.lp-partner__desc {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  max-width: 643px;
}
.lp-section--partner .lp-eyebrow {
  background: rgba(255,255,255,0.12);
  color: var(--lp-accent);
}
.lp-partner__visual img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: block;
  border-radius: var(--lp-radius-lg);
}
@media (min-width: 1024px) {
  .lp-partner__visual img {
    margin-left: 0;
  }
}
.lp-partner__actions {
  margin-top: 8px;
}

/* =========================================================
   FLOATING ACTIONS (WhatsApp FAB + back-to-top)
   ========================================================= */
.lp-whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 180ms ease, box-shadow 180ms ease;
  text-decoration: none;
}
.lp-whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .lp-whatsapp-fab { transition: none; }
}

.lp-back-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lp-primary);
  color: #ffffff;
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--lp-shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.lp-back-top .material-symbols-rounded {
  font-size: 26px;
  line-height: 1;
}
.lp-back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lp-back-top:hover,
.lp-back-top:focus-visible {
  background: var(--lp-primary-600);
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-lg);
}
.lp-back-top.is-visible:hover,
.lp-back-top.is-visible:focus-visible {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .lp-back-top {
    transition: opacity 120ms linear;
    transform: none;
  }
  .lp-back-top.is-visible {
    transform: none;
  }
  .lp-back-top:hover,
  .lp-back-top:focus-visible,
  .lp-back-top.is-visible:hover,
  .lp-back-top.is-visible:focus-visible {
    transform: none;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .lp-hero__image {
    transform: none;
  }
  .lp-hero__image:hover {
    transform: none;
  }
  .lp-hero__badge {
    animation: none;
  }
  .lp-plan--featured {
    transform: none;
  }
  @media (min-width: 1024px) {
    .lp-plan--featured {
      transform: none;
    }
  }
}

/* ============================================================
   Integrations section
   ============================================================ */
.lp-section--integrations {
  background: linear-gradient(180deg, var(--lp-bg-alt) 0%, #fff 100%);
}
@media (min-width: 1024px) {
  .lp-section--integrations {
    padding-top: 96px;
  }
  .lp-section--integrations .lp-section__head {
    margin-bottom: 59px;
  }
}

/* Centred wrap: 4 cards on the first row, the rest centred below */
.lp-integrations__grid {
  --lp-integrations-cols: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 762px;
  margin: 0 auto;
}

.lp-integrations__grid > .lp-integration {
  flex: 0 0 calc((100% - (var(--lp-integrations-cols) - 1) * 20px) / var(--lp-integrations-cols));
}

@media (min-width: 768px) {
  .lp-integrations__grid {
    --lp-integrations-cols: 3;
  }
}

@media (min-width: 1024px) {
  .lp-integrations__grid {
    --lp-integrations-cols: 4;
  }
}

.lp-integration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 8px 40px;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-lg);
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.lp-integration:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-md);
  border-color: var(--lp-accent);
}

.lp-integration__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--lp-radius-md);
  background: var(--lp-bg-alt);
  color: var(--lp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-integration__icon .material-symbols-rounded {
  font-size: 28px;
}

.lp-integration__icon svg {
  color: var(--lp-primary);
}

.lp-integration__logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-integration__logo img {
  max-width: 56px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lp-integration__name {
  font-family: var(--lp-font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--lp-text);
  margin: 0;
}

.lp-integration__desc {
  font-size: 0.82rem;
  color: var(--lp-text-muted);
  margin: 9px 0 0;
  line-height: 1.5;
}

/* ============================================================
   Pricing comparison table (collapsible)
   ============================================================ */
.lp-pricing__details {
  margin-top: 48px;
  text-align: center;
}

.lp-pricing__toggle {
  margin: 0 auto 32px;
  gap: 8px;
}

.lp-pricing__toggle .material-symbols-rounded {
  font-size: 20px;
  transition: transform 200ms ease;
}

.lp-pricing__toggle[aria-expanded="true"] .material-symbols-rounded {
  transform: rotate(180deg);
}

.lp-pricing__compare {
  text-align: left;
}

.lp-pricing__compare[hidden] {
  display: none;
}

.lp-compare__wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-md);
  margin-bottom: 32px;
}

.lp-compare__table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.lp-compare__table thead {
  background: var(--lp-primary);
  color: #fff;
}

.lp-compare__table th {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.lp-compare__feature-col {
  text-align: left;
  min-width: 200px;
}

.lp-compare__plan-col {
  text-align: center;
  min-width: 120px;
}

.lp-compare__plan-col--featured {
  background: rgba(164, 226, 90, 0.15);
}

.lp-compare__table tbody tr {
  border-bottom: 1px solid var(--lp-border);
}

.lp-compare__table tbody tr:last-child {
  border-bottom: none;
}

.lp-compare__table tbody tr:hover {
  background: var(--lp-bg-alt);
}

.lp-compare__table td {
  padding: 12px 16px;
  color: var(--lp-text);
}

.lp-compare__table td:first-child {
  font-weight: 500;
  color: var(--lp-primary);
}

.lp-compare__table td:not(:first-child) {
  text-align: center;
  font-weight: 400;
}

.lp-compare--featured {
  background: rgba(164, 226, 90, 0.06);
}

.lp-compare__check {
  color: var(--lp-success);
  font-size: 20px;
  font-variation-settings: 'FILL' 1;
}

/* Addons table title */
.lp-addons__title {
  font-family: var(--lp-font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--lp-primary);
  margin: 0 0 16px;
  text-align: center;
}

.lp-compare__table--addons td:not(:first-child) {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--lp-text-muted);
}

/* ============================================================
   Brand icon images inside resource cards
   ============================================================ */
.lp-resource__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ============================================================
   Decorative shapes
   ============================================================ */
.lp-partner__shape {
  position: absolute;
  bottom: -30px;
  left: -40px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.lp-partner__shape img {
  width: 250px;
  height: auto;
}
