/* ============================================
   ÉVORA — Responsive (Mobile-First)
   BR Gym reference layout
   ============================================ */

/* === MOBILE ONLY (max 767px) === */
@media (max-width: 767px) {

  /* Header: compacto no mobile */
  .header {
    height: 60px;
  }
  .header__logo {
    width: 60px;
    height: 60px;
    padding: 0;
    align-self: stretch;
    margin: 0;
  }
  /* Mobile: esconde logo horizontal, mostra mark */
  .header__logo-img--desktop { display: none; }
  .header__logo-img--mobile  { display: block; height: 30px; filter: brightness(0) invert(1); }
  .header .btn--sm {
    font-size: 0.62rem;
    padding: 6px 10px;
    letter-spacing: 0.02em;
    border-radius: 4px;
    gap: 4px;
  }
  .header .btn--sm .icon--inline {
    width: 12px;
    height: 12px;
  }

  /* Hero mobile */
  .hero {
    padding-top: 60px;
  }
  .hero__bg {
    height: 80vw;
    max-height: 360px;
    overflow: hidden;
  }
  .hero__bg img {
    object-position: 78% 5%;
  }
  .hero__title {
    font-size: 2.5rem;
  }
  .hero__inner {
    padding-top: var(--space-md);
    padding-bottom: var(--space-2xl);
  }

  /* Badge menor no mobile */
  .badge {
    font-size: 0.65rem;
    padding: 5px 12px;
    white-space: nowrap;
  }

  /* Botões mobile proporcionais */
  .btn {
    font-size: 0.9rem;
    padding: 13px 24px;
    width: 100%;
  }
  .btn--sm {
    width: auto;
  }
  .btn--secondary {
    width: 100%;
  }

  /* Social proof: 1 linha com 3 itens lado a lado */
  .social-proof-bar {
    padding: var(--space-lg) 0;
  }
  .social-proof-bar__inner {
    flex-wrap: nowrap;
    gap: 0;
    justify-content: space-around;
    align-items: center;
  }
  .social-proof__item {
    flex: 1;
    text-align: center;
  }
  .social-proof__number {
    font-size: 1.35rem;
    line-height: 1;
  }
  .social-proof__label {
    font-size: 0.68rem;
    margin-top: 3px;
  }
  .social-proof__divider {
    width: 1px;
    height: 36px;
    flex-shrink: 0;
  }
  /* Esconder decoração no mobile */
  .social-proof-bar__deco {
    display: none;
  }
}

/* === TABLET — 768px+ === */
@media (min-width: 768px) {

  .section { padding: var(--section-py-desktop) 0; }
  .container { padding: 0 var(--container-px-lg); }
  .section__title { font-size: var(--fs-section-title-lg); }
  .btn { width: auto; }

  /* Header nav visible */
  .header__nav { display: flex; }
  .header__inner { align-items: stretch; }
  .header__left { align-items: stretch; }

  /* Hero: full-bleed no desktop */
  .hero {
    flex-direction: row;
    align-items: center;
    min-height: 100vh;
    padding-top: 72px;
  }
  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    min-height: 0;
  }
  .hero__bg img {
    object-position: center center;
  }
  .hero__bg::after {
    background:
      linear-gradient(to right,
        rgba(10,10,10,0.92) 0%,
        rgba(10,10,10,0.75) 45%,
        rgba(10,10,10,0.15) 75%,
        rgba(10,10,10,0.0) 100%
      ),
      linear-gradient(to top,
        rgba(10,10,10,0.7) 0%,
        transparent 40%
      );
  }
  .hero__inner {
    display: block;
    position: relative;
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }
  .hero__content { margin-bottom: 0; max-width: 560px; }
  .hero__title { font-size: 4.5rem; }
  .hero__badges { display: flex; flex-direction: column; }

  /* Features photo grid: 3 columns */
  .features__photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Benefits: 2 columns */
  .benefits__inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
  .benefits__text { flex: 1; }
  .benefits__image { flex: 1; max-width: none; margin: 0; }

  .benefits__checklist {
    flex-direction: row;
    align-items: flex-start;
  }
  .benefits__checklist-left { flex: 0 0 35%; }
  .benefits__checklist-right { flex: 1; }

  /* Expert: 2 columns */
  .expert__inner {
    flex-direction: row;
    align-items: center;
  }
  .expert__photo-wrap { flex: 0 0 40%; }
  .expert__photo { max-width: none; margin: 0; }
  .expert__text { flex: 1; }
  .expert__name { font-size: 3rem; }

  /* For Who: 2 columns */
  .for-who__grid { grid-template-columns: repeat(2, 1fr); }

  /* Pricing: 2 columns */
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card--featured { transform: scale(1.05); z-index: 1; }

  /* Testimonials: 3 columns */
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer columns: 3 */
  .footer__cols { grid-template-columns: repeat(3, 1fr); }

  /* Social proof */
  .social-proof__number { font-size: 2.25rem; }
  .social-proof-bar__inner { justify-content: flex-start; }

  /* Marquee */
  .marquee__item { font-size: var(--fs-subtitle-lg); padding: 0 var(--space-lg); }
}

/* === DESKTOP — 1024px+ === */
@media (min-width: 1024px) {

  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  .hero__inner { gap: var(--space-4xl); }

  .benefits__checklist-title { font-size: var(--fs-section-title-lg); }

  .pricing-card--featured { transform: scale(1.08); }

  .final-cta { padding: var(--space-5xl) 0; }
  .final-cta__title { font-size: var(--fs-hero-lg); }
}

/* === WIDE — 1280px+ === */
@media (min-width: 1280px) {

  .hero__title { font-size: 5.5rem; }
  .hero__inner { grid-template-columns: 1.2fr 0.8fr; }

  .expert__name { font-size: 3.5rem; }
}
