/* Web Fonts */
@font-face {
  font-family: 'Fredoka One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('/fonts/FredokaOne-Regular.woff2') format('woff2'),
    url('/fonts/FredokaOne-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url('/fonts/Raleway-Regular.woff2') format('woff2'),
    url('/fonts/Raleway-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src:
    url('/fonts/Raleway-LightItalic.woff2') format('woff2'),
    url('/fonts/Raleway-LightItalic.woff') format('woff');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url('/fonts/Raleway-Bold.woff2') format('woff2'),
    url('/fonts/Raleway-Bold.woff') format('woff');
}

/* Design Tokens & Custom Properties */
:root {
  --color-bg-hero: #f4f4f4;
  --color-text-hero-title: #000000;
  --color-accent-purple: #6f64ff;
  --color-text-hero-desc: #242424;
  --color-pill-bg: #e8e8e8;
  --color-pill-border: #d2d2d2;
  --color-brands-bg: #d8d8d8;
  --color-brands-border: #494949;
  --color-cta-gradient: linear-gradient(143deg, #049b1b 0%, #10c02a 100%);
  --color-cta-halo: rgba(4, 155, 27, 0.7);
  --color-arrow-circle: #ff61bb;
  --color-arrow-hover: #f02d98;
  --color-arrow-chevron: #f4f4f4;
  --color-focus-ring: #20d5ec;
  --color-footer-bg: #000000;
  --color-text-white: #ffffff;
  --color-dark-surface: #111827;

  --font-headline: 'Fredoka One', cursive, system-ui, sans-serif;
  --font-body: 'Raleway', sans-serif;
  --font-footer: Arial, Helvetica, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--color-text-hero-desc);
  background-color: var(--color-bg-hero);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

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

/* Pulsing Halo Animation for CTA */
@keyframes pulse-halo {
  0% {
    box-shadow: 0 0 0 0 rgba(4, 155, 27, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(4, 155, 27, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(4, 155, 27, 0);
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


  .hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--color-bg-hero, #f4f4f4);
    background-image: var(--hero-desktop-bg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hero-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
  }

  .hero-copy {
    width: 58%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    box-sizing: border-box;
    z-index: 2;
  }

  .hero-title {
    margin: 0;
    font-family: var(--font-headline);
    font-size: 56px;
    line-height: 56px;
    font-weight: 400;
    color: var(--color-text-hero-title, #000000);
    text-align: left;
  }

  .title-highlight {
    color: var(--color-accent-purple, #6f64ff);
  }

  .hero-description {
    margin: 0;
    width: 80%;
    font-family: var(--font-body);
    font-size: 22px;
    line-height: 33px;
    font-weight: 400;
    color: var(--color-text-hero-desc, #242424);
    text-align: left;
  }

  .hero-cta-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .hero-art-mobile {
    display: none;
  }

  /* Tablet: 768px - 1024px */
  @media (min-width: 768px) and (max-width: 1024px) {
    .hero-section {
      min-height: 100vh;
      padding: 30px;
      background-image: url('/images/BG-URUBO-DA-PROMO-TAB-01.webp');
      background-size: cover;
      background-position: top center;
    }

    .hero-container {
      max-width: calc(100% - 60px);
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .hero-copy {
      width: 100%;
      align-items: center;
      text-align: center;
    }

    .hero-title {
      font-size: 56px;
      line-height: 56px;
      text-align: center;
    }

    .hero-description {
      width: 80%;
      font-size: 22px;
      line-height: 33px;
      text-align: center;
    }

    .hero-cta-wrapper {
      justify-content: center;
    }

    .hero-art-mobile {
      display: block;
      width: 594px;
      max-width: 100%;
      margin: 0 auto;
    }

    .hero-art-mobile img {
      width: 594px;
      height: 708px;
      max-width: 100%;
      height: auto;
      margin: 0 auto;
    }
  }

  /* Mobile: <= 767px */
  @media (max-width: 767px) {
    .hero-section {
      min-height: 700px;
      padding: 30px 20px;
      background-image: url('/images/BG-URUBO-DA-PROMO-TAB-01.webp');
      background-size: cover;
      background-position: top center;
    }

    .hero-container {
      max-width: calc(100% - 40px);
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .hero-copy {
      width: 100%;
      align-items: center;
      text-align: center;
    }

    .hero-title {
      font-size: 26px;
      line-height: 30px;
      text-align: center;
    }

    .hero-description {
      width: 100%;
      font-size: 16px;
      line-height: 24px;
      text-align: center;
    }

    .hero-cta-wrapper {
      justify-content: center;
    }

    .hero-art-mobile {
      display: block;
      width: 100%;
      max-width: 350px;
      margin: 0 auto;
    }

    .hero-art-mobile img {
      width: 100%;
      height: auto;
      margin: 0 auto;
    }
  }

  /* Mobile Title Specific Bracket Scales (from visual contract) */
  @media (max-width: 361px) {
    .hero-title {
      font-size: 26px;
      line-height: 30px;
    }
  }

  @media (min-width: 362px) and (max-width: 389px) {
    .hero-title {
      font-size: 27px;
      line-height: 30px;
    }
  }

  @media (min-width: 390px) and (max-width: 420px) {
    .hero-title {
      font-size: 28px;
      line-height: 30px;
    }
  }

  @media (min-width: 421px) and (max-width: 440px) {
    .hero-title {
      font-size: 32px;
      line-height: 30px;
    }
  }

  @media (min-width: 441px) and (max-width: 767px) {
    .hero-title {
      font-size: 26px;
      line-height: 30px;
    }
  }


  .community-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: var(--color-pill-bg, #e8e8e8);
    border: 1px solid var(--color-pill-border, #d2d2d2);
    border-radius: 30px;
    padding: 9px 20px;
    width: 470px;
    height: 48px;
    box-sizing: border-box;
    margin: 0;
  }

  .badge-icon {
    width: 90px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .badge-text {
    font-family: var(--font-body, 'Raleway', sans-serif);
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-hero-title, #000000);
    white-space: nowrap;
  }

  @media (max-width: 1024px) {
    .community-badge {
      margin-inline: auto;
    }
  }

  @media (min-width: 421px) and (max-width: 767px) {
    .community-badge {
      width: 90%;
      max-width: 380px;
    }
  }

  @media (max-width: 767px) {
    .community-badge {
      padding: 9px 12px;
      gap: 6px;
      width: 100%;
      max-width: 350px;
      height: 44px;
    }

    .badge-icon {
      width: 54px;
      height: auto;
    }

    .badge-text {
      font-size: 10px;
      line-height: 15px;
      white-space: normal;
      text-align: left;
    }
  }

  @media (max-width: 360px) {
    .community-badge {
      max-width: 320px;
      height: 50px;
    }
  }


  .whatsapp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 490px;
    max-width: 100%;
    min-height: 62px;
    padding: 16px 40px;
    border-radius: 90px;
    background: var(
      --color-cta-gradient,
      linear-gradient(143deg, #049b1b 0%, #10c02a 100%)
    );
    color: var(--color-text-white, #ffffff);
    font-family: var(--font-body, 'Raleway', sans-serif);
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    animation: pulse-halo 2s infinite;
    transition: transform 0.2s ease;
    transform: translateY(0);
    scale: 1;
  }

  .whatsapp-cta:hover {
    transform: translateY(-3px);
  }

  .cta-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }

  .cta-text {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  @media (max-width: 767px) {
    .whatsapp-cta {
      width: 293px;
      min-height: 54px;
      padding: 16px 20px;
      font-size: 14px;
      gap: 8px;
    }

    .whatsapp-icon {
      width: 18px;
      height: 18px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .whatsapp-cta {
      animation: none !important;
      transition: none !important;
      transform: none !important;
    }
    .whatsapp-cta:hover {
      transform: none !important;
    }
  }


  .brand-strip-section {
    width: 100%;
    background-color: var(--color-brands-bg, #d8d8d8);
    border-top: 2px dashed var(--color-brands-border, #494949);
    padding: 20px 0;
    min-height: 87px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .brand-strip-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .brand-marquee-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: marquee-scroll 20s linear infinite;
  }

  .brand-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
  }

  .brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 44px;
  }

  .brand-item img {
    max-height: 44px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
    filter: none;
  }

  /* Hover and Focus Pause */
  .brand-strip-container:hover .brand-marquee-track,
  .brand-strip-container:focus-within .brand-marquee-track,
  .brand-strip-container[data-paused='true'] .brand-marquee-track {
    animation-play-state: paused;
  }

  /* Short list handling */
  .brand-strip-container.is-short-list {
    justify-content: center;
  }

  .brand-strip-container.is-short-list .brand-marquee-track {
    animation: none !important;
    transform: none !important;
    width: 100%;
    justify-content: center;
  }

  .brand-strip-container.is-short-list .clone-group {
    display: none !important;
  }

  .brand-strip-container.is-short-list .brand-pause-button {
    display: none !important;
  }

  /* Marquee Keyframes */
  @keyframes marquee-scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  /* Pause / Resume Accessibility Button */
  .brand-pause-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.2s ease;
  }

  .brand-pause-button:hover,
  .brand-pause-button:focus-visible {
    opacity: 1;
    outline: 2px solid var(--color-focus-ring);
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  @media (prefers-reduced-motion: reduce) {
    .brand-marquee-track {
      animation: none !important;
      animation-play-state: paused !important;
      transform: none !important;
    }
    .brand-pause-button {
      display: none !important;
    }
    .brand-strip-container {
      overflow-x: auto;
      justify-content: center;
    }
    .clone-group {
      display: none !important;
    }
  }


  .social-proof-section {
    width: 100%;
    background-color: var(--color-accent-purple, #6f64ff);
    background-image: url('/images/SETA-PARA-BAIXO-SEC-02.svg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 180px auto;
    padding: 120px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }

  .proof-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
  }

  .proof-title {
    margin: 0;
    font-family: var(--font-headline);
    font-size: 56px;
    line-height: 56px;
    font-weight: 400;
    color: var(--color-text-white, #ffffff);
    text-align: center;
    width: 100%;
  }

  .proof-description {
    margin: -10px 0 0 0;
    width: 41%;
    font-family: var(--font-body);
    font-size: 22px;
    line-height: 33px;
    font-weight: 400;
    color: var(--color-text-white, #ffffff);
    text-align: center;
  }

  /* Carousel Section (95% width, 30px lateral arrow reservation) */
  .carousel-wrapper {
    position: relative;
    width: 95%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .carousel-viewport {
    width: calc(100% - 60px);
    overflow: hidden;
    position: relative;
  }

  .carousel-track {
    display: flex;
    flex-direction: row;
    gap: 10px;
    will-change: transform;
    width: 100%;
  }

  .carousel-slide {
    flex-shrink: 0;
    width: calc((100% - 20px) / 3);
    display: flex;
    justify-content: center;
  }

  .carousel-slide img {
    width: 345px;
    height: 387px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
  }

  /* Arrows: 44px min touch target, 32px visual SVG */
  .carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    background: transparent;
    border: none;
    padding: 0;
  }

  .carousel-nav-btn:hover svg circle {
    fill: var(--color-arrow-hover, #f02d98);
  }

  .prev-btn {
    left: -7px;
  }

  .next-btn {
    right: -7px;
  }

  /* Pause / Resume button */
  .carousel-pause-btn {
    position: absolute;
    bottom: -35px;
    right: 20px;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
  }

  .carousel-pause-btn:hover,
  .carousel-pause-btn:focus-visible {
    opacity: 1;
    outline: 2px solid var(--color-focus-ring);
  }

  /* Short list handling */
  .carousel-wrapper.is-short-list .carousel-nav-btn,
  .carousel-wrapper.is-short-list .carousel-pause-btn {
    display: none !important;
  }

  .carousel-wrapper.is-short-list .carousel-viewport {
    width: 100%;
  }

  .carousel-wrapper.is-short-list .carousel-track {
    justify-content: center;
    width: 100%;
    transform: none !important;
  }

  .proof-cta-wrapper {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* Tablet: 768px - 1024px */
  @media (min-width: 768px) and (max-width: 1024px) {
    .social-proof-section {
      padding: 80px 30px;
    }

    .proof-title {
      font-size: 48px;
      line-height: 48px;
    }

    .proof-description {
      width: 100%;
      font-size: 22px;
      line-height: 33px;
    }

    .carousel-slide {
      width: calc((100% - 10px) / 2);
    }
  }

  /* Mobile: <= 767px */
  @media (max-width: 767px) {
    .social-proof-section {
      padding: 80px 20px;
    }

    .proof-title {
      font-size: 26px;
      line-height: 32px;
      width: 58%;
    }

    .proof-description {
      width: 86%;
      font-size: 16px;
      line-height: 24px;
    }

    .carousel-wrapper {
      width: 100%;
    }

    .carousel-slide {
      width: 100%;
    }

    .carousel-slide img {
      width: 100%;
      max-width: 345px;
      height: auto;
      margin: 0 auto;
    }
  }

  /* Mobile title bracket scales */
  @media (max-width: 361px) {
    .proof-title {
      font-size: 26px;
      line-height: 32px;
    }
  }

  @media (min-width: 362px) and (max-width: 389px) {
    .proof-title {
      font-size: 27px;
      line-height: 32px;
    }
  }

  @media (min-width: 390px) and (max-width: 420px) {
    .proof-title {
      font-size: 28px;
      line-height: 32px;
    }
  }

  @media (min-width: 421px) and (max-width: 440px) {
    .proof-title {
      font-size: 32px;
      line-height: 32px;
    }
  }

  @media (min-width: 441px) and (max-width: 767px) {
    .proof-title {
      font-size: 26px;
      line-height: 32px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .carousel-track {
      transition: none !important;
    }
    .carousel-pause-btn {
      display: none !important;
    }
  }


  .site-footer {
    width: 100%;
    background-color: var(--color-footer-bg, #000000);
    padding: 40px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }

  .footer-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    box-sizing: border-box;
  }

  .footer-rights {
    margin: 0;
    font-family: var(--font-footer, Arial, Helvetica, sans-serif);
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 5px;
    color: var(--color-text-white, #ffffff);
    text-transform: uppercase;
  }

  .footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .footer-link {
    font-family: var(--font-footer, Arial, Helvetica, sans-serif);
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .footer-link:hover,
  .footer-link:focus-visible {
    color: #ffffff;
  }

  @media (max-width: 1024px) {
    .site-footer {
      padding: 40px 30px;
    }
  }

  @media (max-width: 767px) {
    .site-footer {
      padding: 50px 30px;
    }

    .footer-rights {
      font-size: 10px;
      line-height: 15px;
      letter-spacing: 3.5px;
    }

    .footer-link {
      font-size: 10px;
      line-height: 14px;
      letter-spacing: 1.5px;
    }
  }


  .consent-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 480px;
    width: calc(100% - 40px);
    background: #ffffff;
    border: 1px solid var(--color-pill-border, #d2d2d2);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    padding: 16px;
    box-sizing: border-box;
    font-family: var(--font-body, 'Raleway', sans-serif);
  }

  .consent-banner[hidden] {
    display: none;
  }

  .consent-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .consent-text {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-text-hero-desc, #242424);
  }

  .consent-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-end;
  }

  .consent-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .consent-accept {
    background-color: var(--color-accent-purple, #6f64ff);
    color: #ffffff;
    border: 1px solid var(--color-accent-purple, #6f64ff);
  }

  .consent-accept:hover,
  .consent-accept:focus-visible {
    background-color: color-mix(
      in srgb,
      var(--color-accent-purple, #6f64ff) 80%,
      black
    );
  }

  .consent-reject {
    background-color: #f4f4f4;
    color: #242424;
    border: 1px solid #d2d2d2;
  }

  .consent-reject:hover,
  .consent-reject:focus-visible {
    background-color: #e5e5e5;
  }

  @media (max-width: 440px) {
    .consent-banner {
      left: 10px;
      right: 10px;
      bottom: 10px;
      width: calc(100% - 20px);
      padding: 14px;
    }

    .consent-actions {
      flex-direction: column;
    }

    .consent-btn {
      width: 100%;
      text-align: center;
    }
  }

/* Shared by Astro builds, CMS previews and published snapshots. */
html[data-template='editorial'],
html[data-template='centered'] {
  --font-headline: 'Raleway', sans-serif;
  --color-bg-hero: #faf9f6;
  --color-brands-bg: #eeede8;
}

html[data-template='editorial'] .hero-section,
html[data-template='centered'] .hero-section {
  background-image: none;
  min-height: auto;
  padding: 80px 24px;
}

html[data-template='editorial'] .hero-container,
html[data-template='centered'] .hero-container {
  max-width: 1200px;
  gap: 48px;
}

html[data-template='editorial'] .hero-copy,
html[data-template='centered'] .hero-copy {
  min-width: 0;
  gap: 24px;
}

html[data-template='editorial'] .hero-title,
html[data-template='centered'] .hero-title {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.15;
  font-weight: 700;
  overflow-wrap: anywhere;
}

html[data-template='editorial'] .hero-description,
html[data-template='centered'] .hero-description {
  width: 100%;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.6;
}

html[data-template='editorial'] .hero-art-mobile,
html[data-template='centered'] .hero-art-mobile {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #eeede8;
  margin: 0;
}

html[data-template='editorial'] .hero-art-mobile {
  width: 45%;
}

html[data-template='editorial'] .hero-copy {
  width: 55%;
}

html[data-template='editorial'] .hero-art-mobile img,
html[data-template='centered'] .hero-art-mobile img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

html[data-template='centered'] .hero-container {
  flex-direction: column;
}

html[data-template='centered'] .hero-copy {
  width: 100%;
  max-width: 800px;
  align-items: center;
}

html[data-template='centered'] .hero-title,
html[data-template='centered'] .hero-description {
  text-align: center;
}

html[data-template='centered'] .hero-cta-wrapper {
  justify-content: center;
}

html[data-template='centered'] .hero-art-mobile {
  width: 100%;
  max-width: 760px;
}

@media (max-width: 1024px) {
  html[data-template='editorial'] .hero-section,
  html[data-template='centered'] .hero-section {
    padding: 48px 20px;
  }

  html[data-template='editorial'] .hero-container,
  html[data-template='centered'] .hero-container {
    max-width: 100%;
    gap: 32px;
    flex-direction: column;
  }

  html[data-template='editorial'] .hero-copy,
  html[data-template='editorial'] .hero-art-mobile {
    width: 100%;
    max-width: 640px;
  }
}

/* Reference-inspired layouts retain the page's own content and accent color. */
html:is(
  [data-template='neon'],
  [data-template='essential'],
  [data-template='community']
) {
  --font-headline: 'Raleway', sans-serif;
  --color-bg-hero: #ffffff;
  --color-text-hero-title: #111827;
  --color-text-hero-desc: #526071;
  --color-brands-bg: #f5f7fa;
  --color-brands-border: #dce3ec;
  --color-footer-bg: #f5f7fa;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .hero-section {
  min-height: auto;
  padding: 72px 24px 56px;
  background-image: none;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .hero-container {
  max-width: 1000px;
  flex-direction: column;
  gap: 40px;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .hero-copy {
  width: 100%;
  max-width: 880px;
  align-items: center;
  gap: 24px;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .hero-title {
  font-size: clamp(30px, 4.5vw, 60px);
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .hero-description {
  width: 100%;
  max-width: 660px;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  text-align: center;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .hero-cta-wrapper {
  justify-content: center;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .whatsapp-cta {
  width: auto;
  max-width: 100%;
  border-radius: 12px;
  padding: 18px 28px;
  font-size: 16px;
  animation: none;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .hero-art-mobile {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .hero-art-mobile
  img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .social-proof-section {
  background: #f5f7fa;
  padding: 64px 16px;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .proof-title {
  color: var(--color-text-hero-title);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
  font-weight: 700;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .proof-description {
  width: 100%;
  max-width: 640px;
  color: var(--color-text-hero-desc);
  font-size: 17px;
  line-height: 1.7;
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .footer-rights,
html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .footer-link {
  color: var(--color-text-hero-desc);
}

html[data-template='neon'] {
  --color-bg-hero: #070b14;
  --color-text-hero-title: #f4f7fb;
  --color-text-hero-desc: #b3c2d6;
  --color-pill-bg: #152032;
  --color-pill-border: #334155;
  --color-brands-bg: #111a29;
  --color-brands-border: #334155;
  --color-footer-bg: #070b14;
}

html[data-template='neon'] .hero-section {
  background-image: radial-gradient(ellipse at top, #132c47, transparent 70%);
}

html[data-template='neon'] .hero-title {
  color: #57c6f6;
}

html[data-template='neon'] .hero-art-mobile {
  padding: 16px;
  border: 1px solid #334155;
  border-radius: 24px;
  background: #111a29;
  box-shadow: 0 16px 80px #38bdf815;
}

html[data-template='neon'] .social-proof-section {
  background: #0b1220;
}

html[data-template='neon'] .carousel-slide {
  border: 1px solid #334155;
  border-radius: 18px;
  overflow: hidden;
}

html[data-template='essential'] {
  --color-bg-hero: #f5f5f5;
}

html[data-template='essential'] .hero-container {
  max-width: 720px;
  gap: 28px;
}

html[data-template='essential'] .hero-title {
  font-size: clamp(30px, 4vw, 48px);
}

html[data-template='essential'] .hero-art-mobile {
  max-width: 160px;
}

html[data-template='essential'] .whatsapp-cta {
  background: var(--color-accent-purple);
}

html[data-template='essential'] .social-proof-section {
  background: #ffffff;
}

html[data-template='essential'] .proof-container {
  max-width: 800px;
}

html[data-template='community'] .hero-art-mobile {
  max-width: 360px;
  padding: 10px;
  border: 5px solid #18231d;
  border-radius: 36px;
  background: #ffffff;
  box-shadow: 0 24px 60px #18231d18;
  overflow: hidden;
}

html[data-template='community'] .hero-art-mobile img {
  border-radius: 22px;
}

.template-faq {
  width: min(820px, calc(100% - 40px));
  margin: 64px auto;
  color: var(--color-text-hero-desc);
  overflow-wrap: anywhere;
}

.template-faq h2 {
  color: var(--color-text-hero-title);
  font-size: clamp(26px, 3vw, 38px);
  text-align: center;
  margin: 0 0 32px;
}

.faq-item {
  border-bottom: 1px solid #dce3ec;
  padding: 22px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-text-hero-title);
  line-height: 1.6;
}

.faq-item p {
  margin: 16px 0 0;
  line-height: 1.8;
  white-space: pre-line;
}

html[data-template='essential'] .faq-item {
  border: 1px solid #dce3ec;
  border-radius: 12px;
  padding: 20px;
  margin-top: 12px;
  background: #ffffff;
}

html[data-template='neon'] .faq-item {
  border-color: #334155;
}

@media (max-width: 767px) {
  html:is(
      [data-template='neon'],
      [data-template='essential'],
      [data-template='community']
    )
    .hero-section {
    padding: 40px 20px;
  }

  html:is(
      [data-template='neon'],
      [data-template='essential'],
      [data-template='community']
    )
    .hero-container {
    max-width: 100%;
    padding: 0;
    gap: 32px;
  }
}

html:is(
    [data-template='neon'],
    [data-template='essential'],
    [data-template='community']
  )
  .carousel-slide
  img {
  width: 100%;
  height: auto;
  aspect-ratio: 345 / 387;
  object-fit: contain;
}

/* A light surface keeps uploaded partner logos legible in the dark layout. */
html[data-template='neon'] .brand-strip-section {
  background-color: #eef2f7;
}
