/* ============================================================
   RESPONSIVE.CSS — Media Queries para TODOS os Dispositivos
   Maikol Koch — Landing Page

   BREAKPOINTS (mobile-first na organizacao, desktop-first nas queries):
   ──────────────────────────────────────────────────
   2200px+   Ultra-wide (2560x1080, 3440x1440, ultrawide)
   1921px+   Wide desktop (monitores grandes)
   1440px    Desktop XL (MacBook Pro 16", iMac)
   1200px    Desktop padrao
   1024px    Tablet landscape / desktop pequeno
   768px     Tablet portrait (iPad)
   480px     Mobile grande (iPhone Plus/Max, Galaxy S)
   375px     Mobile medio (iPhone 12/13/14/15)
   320px     Mobile pequeno (iPhone SE, Galaxy S mini)
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   ULTRA-WIDE — 2200px+ (2560x1080, 3440x1440 ultrawide)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 2200px) {
  :root {
    --container-max: 1440px;
  }

  .hero .container {
    padding-left: 100px;
  }

  .hero-text {
    width: 580px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-sub-cta {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .cards-grid {
    gap: 36px;
  }

  .testimonials-grid {
    gap: 36px;
  }

  .bio .container {
    grid-template-columns: 460px 1fr;
    gap: 80px;
  }

  .bio-content h2 {
    font-size: 38px;
  }

  .bio-content p {
    font-size: 17px;
  }

  .metric-value {
    font-size: 34px;
  }

  .cta-final h2 {
    font-size: 2.2rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   WIDE DESKTOP — 1921px a 2199px (Full HD+)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 1921px) and (max-width: 2199px) {
  :root {
    --container-max: 1360px;
  }

  .hero .container {
    padding-left: 90px;
  }

  .hero-text {
    width: 560px;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .bio .container {
    grid-template-columns: 440px 1fr;
    gap: 70px;
  }
}

/* ══════════════════════════════════════════════════════════════
   DESKTOP XL — 1441px a 1920px (Full HD padrao)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 1441px) and (max-width: 1920px) {
  .hero .container {
    padding-left: 80px;
  }

  .hero-text {
    width: 540px;
  }
}

/* ══════════════════════════════════════════════════════════════
   DESKTOP — 1201px a 1440px (Laptops, MacBooks)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 1201px) and (max-width: 1440px) {
  .hero .container {
    padding-left: 5vw;
  }

  .hero-text {
    width: 44%;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(1.3rem, 1.6vw, 1.9rem);
  }

  .bio .container {
    grid-template-columns: 360px 1fr;
    gap: 48px;
  }
}

/* ══════════════════════════════════════════════════════════════
   TABLET LANDSCAPE / DESKTOP PEQUENO — 769px a 1200px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .hero {
    background-size: cover;
    background-position: 65% top;
  }

  .hero .container {
    padding-left: 5vw;
  }

  .hero-text {
    width: 50%;
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .hero .container {
    padding-left: 5vw;
  }

  .hero-text {
    width: 55%;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero::after {
    background: linear-gradient(
      to right,
      rgba(0,0,0,0.97) 0%,
      rgba(0,0,0,0.9)  35%,
      rgba(0,0,0,0.5)  60%,
      transparent 80%
    );
  }

  /* Bio: 1 coluna */
  .bio .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-photo {
    text-align: center;
  }

  .bio-photo img {
    max-width: 360px;
    margin: 0 auto;
  }

  /* Metricas: 2 colunas */
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Cards: 2 colunas */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials: 2 colunas */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════════════════════════
   TABLET PORTRAIT — 481px a 768px (iPad, tablets)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Tarja */
  .tarja {
    height: auto;
    min-height: var(--tarja-height);
    padding: 6px 0;
  }

  .mobile-break {
    display: block;
  }

  .tarja p {
    font-size: 11px;
    padding: 0 12px;
    letter-spacing: 0.03em;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Hero mobile: estilo Olimpo — foto + texto + investimento + CTA */
  .hero {
    height: auto;
    min-height: auto;
    background-image: none;
    background: var(--black-pure);
    padding: 0;
    border-bottom: 1px solid rgba(215, 196, 145, 0.12);
  }

  .hero::after {
    display: none;
  }

  .hero .container {
    padding: 0;
    max-width: 100%;
    height: auto;
    display: block;
    text-align: center;
  }

  /* Foto mobile */
  .hero-photo-mobile {
    display: block;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
  }

  .hero-photo-mobile img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
    padding: 8px 24px 28px;
    text-align: center;
    margin-top: -70px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, transparent 0%, var(--black-pure) 20px);
  }

  /* Ocultar elementos desktop no mobile */
  .hero .scarcity-bar,
  .hero .hero-label {
    display: none;
  }

  .hero h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--gold-primary);
    text-align: center;
    margin-bottom: 8px;
  }

  .hero h1 .hero-highlight {
    color: #fff;
  }

  .hero-sub {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    text-align: center;
    color: var(--gray-sub);
  }

  .hero-sub-cta {
    font-size: 0.85rem;
    text-align: center;
  }

  /* Investimento mobile — oculto */
  .hero-investimento {
    display: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 16px 0;
    padding: 14px 0;
    border-top: 1px solid rgba(215, 196, 145, 0.15);
    border-bottom: 1px solid rgba(215, 196, 145, 0.15);
  }

  .hero-investimento span {
    color: var(--gold-primary);
    font-size: 1.2rem;
  }

  .hero .cta-btn-wrap {
    margin-bottom: 12px;
  }

  .hero-trust {
    text-align: center;
  }

  /* Botoes */
  .cta-btn {
    padding: 14px 28px;
    font-size: 0.85rem;
  }

  .cta-btn-large {
    padding: 16px 36px;
    font-size: 0.9rem;
  }

  /* Secoes — menos padding vertical */
  .vantagens,
  .prova-social,
  .faq,
  .cta-final {
    padding: 48px 0;
  }

  .bio {
    padding: 48px 0;
  }

  /* Secoes */
  .section-title {
    font-size: 1.3rem;
    margin-bottom: 36px;
  }

  .cta-final h2 {
    font-size: 1.3rem;
  }

  .cta-final .sub {
    font-size: 0.95rem;
  }

  /* Grids: 1 coluna */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Metricas */
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .metric-value {
    font-size: 22px;
  }

  /* Bio */
  .bio-photo img {
    max-width: 280px;
    display: block;
    margin: 0 auto;
  }

  .bio-content {
    text-align: center;
  }

  .bio-content .separator {
    margin: 0 auto 32px !important;
  }

  .bio-content h2 {
    font-size: 26px;
  }

  .bio-content p {
    font-size: 15px;
    text-align: left;
  }

  /* Separadores — ocultar no mobile para melhor espaçamento */
  .separator {
    display: none;
  }

  /* Manter separador decorativo da bio */
  .bio-content .separator {
    display: flex;
    max-width: 280px;
    margin: 0 auto 24px;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.95rem;
    padding: 16px 0;
  }

  .faq-answer-inner {
    font-size: 14px;
  }

  /* Modal */
  .modal {
    padding: 32px 24px;
    margin: 16px;
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Ativa CTA sticky mobile */
  .sticky-cta-mobile {
    display: block;
  }

  .whatsapp-float {
    display: none;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  /* Footer */
  .footer {
    padding: 32px 0;
  }

  .footer-links {
    font-size: 11px;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE GRANDE — 376px a 480px (iPhone Plus, Galaxy S)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-photo-mobile {
    max-width: 100%;
    padding-top: 0;
  }

  .hero-text {
    padding: 10px 20px 36px;
  }

  .hero h1 {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: 1.15rem;
    margin-bottom: 32px;
  }

  .bio-content h2 {
    font-size: 24px;
  }

  .bio-content p {
    font-size: 14px;
  }

  .cta-final h2 {
    font-size: 1.15rem;
  }

  .cta-final .sub {
    font-size: 0.88rem;
  }

  .cta-btn {
    padding: 14px 24px;
    font-size: 0.82rem;
  }

  .cta-btn-large {
    padding: 16px 28px;
    font-size: 0.85rem;
  }

  .card {
    padding: 28px 20px;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .testimonial-card {
    padding: 28px 20px;
  }

  .vantagens-sub {
    font-size: 0.9rem;
  }

  .faq-question {
    font-size: 0.9rem;
  }

  .modal {
    padding: 28px 20px;
    margin: 12px;
  }

  .modal h3 {
    font-size: 1.2rem;
  }

  .footer-logo {
    font-size: 0.9rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE MEDIO — 321px a 375px (iPhone 12/13/14/15, Pixel)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 375px) {
  .hero-photo-mobile {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 1.1rem;
  }

  .hero-text {
    padding: 8px 16px 32px;
  }

  .section-title {
    font-size: 1.05rem;
  }

  .bio-content h2 {
    font-size: 22px;
  }

  .metric-value {
    font-size: 20px;
  }

  .metric-label {
    font-size: 10px;
  }

  .cta-btn {
    padding: 12px 20px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }

  .card h3 {
    font-size: 1.05rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .tarja p {
    font-size: 8px;
    letter-spacing: 0.02em;
    gap: 4px;
  }

  .pulse-dot {
    width: 7px;
    height: 7px;
  }

  .navbar-logo span {
    font-size: 1rem;
  }

  .container {
    padding: 0 16px;
  }

  .bio-photo img {
    max-width: 240px;
  }

  .testimonial-photo {
    width: 64px;
    height: 64px;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE PEQUENO — ate 320px (iPhone SE, Galaxy S mini)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 320px) {
  .hero-photo-mobile {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 1rem;
  }

  .hero-text {
    padding: 6px 12px 28px;
  }

  .section-title {
    font-size: 1rem;
  }

  .bio-content h2 {
    font-size: 20px;
  }

  .bio-content p {
    font-size: 13px;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .metric-value {
    font-size: 18px;
  }

  .cta-btn {
    padding: 12px 16px;
    font-size: 0.78rem;
  }

  .cta-btn-large {
    padding: 14px 24px;
  }

  .card {
    padding: 24px 16px;
  }

  .card h3 {
    font-size: 1rem;
  }

  .modal {
    padding: 24px 16px;
    margin: 8px;
  }

  .modal h3 {
    font-size: 1.1rem;
  }

  .form-group input,
  .form-group select {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .bio-photo img {
    max-width: 200px;
  }
}

/* ══════════════════════════════════════════════════════════════
   ALTURA CURTA — Landscape mobile e telas baixas
   ══════════════════════════════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
    max-height: none;
    height: auto;
  }

  .hero-text {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero h1 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .hero-sub {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .hero-sub-cta {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .tarja {
    height: 32px;
  }

  .tarja p {
    font-size: 10px;
  }

  .navbar {
    height: 48px;
    top: 32px;
  }

  .hero {
    margin-top: calc(32px + 48px);
  }
}

/* ══════════════════════════════════════════════════════════════
   PRINT — Estilos para impressao
   ══════════════════════════════════════════════════════════════ */
@media print {
  .tarja,
  .navbar,
  .whatsapp-float,
  .sticky-cta-mobile,
  .modal-overlay {
    display: none !important;
  }

  .hero {
    margin-top: 0;
    background: #fff;
    color: #000;
    height: auto;
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ══════════════════════════════════════════════════════════════
   ACESSIBILIDADE — Preferencias do usuario
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .card,
  .testimonial-card,
  .faq-item,
  .bio-photo,
  .bio-content,
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .cta-final h2,
  .cta-final .sub,
  .cta-final .cta-btn-large,
  .cta-final .cta-reinforce,
  .hero .scarcity-bar,
  .hero .hero-label,
  .hero h1,
  .hero .hero-sub,
  .hero .hero-sub-cta,
  .hero .cta-btn-wrap,
  .hero .hero-trust,
  .separator::before,
  .separator::after,
  .separator .separator-ornament {
    opacity: 1 !important;
    transform: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ══════════════════════════════════════════════════════════════
   HIGH DPI / RETINA — Telas com alta densidade de pixels
   ══════════════════════════════════════════════════════════════ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero {
    background-image: url('../fotos-expert/bg-hero5.webp');
  }
}
