/* ================================================
   RESPONSIVE — Mobile-first breakpoints
   92% de buscas de advogado são mobile
   ================================================ */

/* === TABLET LANDSCAPE (max 1024px) === */

@media (max-width: 1024px) {

  .navbar__logo {
    width: 74px;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(244, 237, 230, 0.99) 0%, rgba(244, 237, 230, 0.97) 30%, rgba(244, 237, 230, 0.84) 46%, rgba(244, 237, 230, 0.42) 66%, rgba(244, 237, 230, 0) 100%),
      url('../assets/img/hero-vanessa-01.webp') 88% center / cover no-repeat;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.8fr);
  }

  .hero__headline {
    max-width: 11ch;
  }

  .sobre__inner {
    grid-template-columns: 300px 1fr;
    gap: var(--space-lg);
  }

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

  .atendimento__steps {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .depoimentos__grid .depoimento-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    justify-self: center;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}


/* === TABLET PORTRAIT (max 768px) === */

@media (max-width: 768px) {

  /* Navbar */
  .navbar__links {
    display: none;
  }

  .navbar__burger {
    display: flex;
  }

  .navbar__inner {
    height: 72px;
  }

  .navbar__logo {
    width: 64px;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 80px;
    padding-bottom: 0;
    display: flex;
    align-items: flex-end;
    background:
      linear-gradient(180deg,
        rgba(244, 237, 230, 0) 0%,
        rgba(244, 237, 230, 0.15) 25%,
        rgba(244, 237, 230, 0.6) 40%,
        rgba(244, 237, 230, 0.95) 55%,
        rgba(244, 237, 230, 1) 65%),
      url('../assets/img/hero-vanessa-01.webp') 74% 20% / cover no-repeat;
  }

  .hero__inner {
    min-height: auto;
    display: block;
    text-align: left;
    width: 100%;
    padding-bottom: var(--space-md);
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__content::after,
  .hero::before {
    display: none;
  }

  .hero__eyebrow {
    color: var(--vinho);
    text-shadow: 0 1px 6px rgba(244, 237, 230, 0.9);
  }

  .hero__headline {
    margin-bottom: var(--space-sm);
  }

  .hero__subtitle {
    max-width: 28ch;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.5rem;
    text-wrap: pretty;
  }

  .hero__actions {
    gap: var(--space-xs);
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Sobre */
  .sobre__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .keyhole-frame {
    max-width: 280px;
    margin: 0 auto;
  }

  .sobre__content {
    text-align: center;
    padding-top: 0;
  }

  .separator {
    margin-left: auto;
    margin-right: auto;
  }

  .sobre__text {
    text-align: left;
  }

  .sobre__tagline {
    text-align: center;
  }

  /* Áreas */
  .areas__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .area-card {
    padding: var(--space-sm);
  }

  /* Blog */
  .blog__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  /* Depoimentos */
  .depoimentos__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .depoimentos__grid .depoimento-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  /* CTA Mid */
  .cta-mid__content {
    text-align: left;
  }

  /* FAQ */
  .faq__question {
    font-size: 1rem;
    padding: var(--space-sm) 0;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }

  .footer__social-links {
    justify-content: center;
  }
}


/* === MOBILE (max 480px) === */

@media (max-width: 480px) {

  .navbar__logo {
    width: 58px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 80px;
    padding-bottom: 0;
    background-position: 70% 20%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    width: 100%;
  }

  .areas__grid {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .step__number {
    font-size: 1.75rem;
  }

  .navbar__mobile {
    width: 100%;
  }

  .cta-final__headline {
    font-size: var(--text-h1);
  }

  .blog-card__content {
    padding: var(--space-sm);
  }
}


/* === SMALL MOBILE (max 360px) === */

@media (max-width: 360px) {

  .navbar__logo {
    width: 52px;
  }

  .hero__headline {
    font-size: 2rem;
  }

  .btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
  }

  .area-card__icon {
    width: 32px;
    height: 32px;
  }
}
