/* Responsive — Barbara Corrêa Marçal */

@media (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
    gap: 0 0.5rem;
  }

  .hero-figure {
    margin-left: -2rem;
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 4.5rem 0;
  }

  .navbar-premium .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }

  .navbar-premium .nav-link {
    color: var(--color-text) !important;
    padding: 0.75rem 1rem !important;
  }

  .navbar-premium .nav-link::after {
    display: none;
  }

  .hero-section {
    height: auto;
    min-height: 0;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 0;
    gap: 1.25rem;
  }

  .hero-copy {
    order: 1;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 0;
    align-self: auto;
  }

  .hero-figure {
    order: 2;
    position: relative;
    left: auto;
    right: auto;
    transform: none;
    width: auto;
    max-width: min(88vw, 340px);
    height: auto;
    margin: 0 auto;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
  }

  .hero-photo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(88vw, 340px);
    max-height: min(50vh, 460px);
    object-fit: contain;
    object-position: bottom center;
    margin: 0;
    vertical-align: bottom;
  }

  .whatsapp-float {
    padding: 0;
    width: 56px;
    min-width: 56px;
    border-radius: 50%;
  }

  .whatsapp-float-label {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

  .hero-section::after {
    background: linear-gradient(
      to bottom,
      rgba(60, 40, 20, 0.42) 0%,
      rgba(60, 40, 20, 0.12) 38%,
      transparent 62%
    );
  }

  .hero-headline,
  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-row--primary,
  .hero-cta-row--talentos {
    grid-template-columns: 1fr;
  }

  .hero-tags--links {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .inspiration-subsection-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Timeline vertical no mobile */
  .timeline-horizontal {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.25rem;
    padding-bottom: 0;
  }

  .timeline-horizontal::before {
    left: var(--timeline-marker);
    right: auto;
    top: var(--timeline-marker);
    bottom: var(--timeline-marker);
    width: 2px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, var(--color-accent), var(--color-rose));
  }

  .timeline-horizontal .timeline-item {
    flex: none;
    width: 100%;
    padding: 0 0 2rem 1.85rem;
    text-align: left;
    scroll-snap-align: none;
  }

  .timeline-horizontal .timeline-item:last-child {
    padding-bottom: 0;
  }

  .timeline-horizontal .timeline-item::before {
    left: var(--timeline-marker);
    top: 0.4rem;
    transform: translate(-50%, -50%);
  }

  .timeline-horizontal .timeline-text {
    max-width: none;
    margin: 0;
  }

  .about-accent {
    display: none;
  }

  .about-image-wrap {
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .cta-section {
    text-align: center;
  }

  .cta-section .btn-premium {
    margin-top: 1rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --nav-height: 88px;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .hero-figure {
    max-width: min(90vw, 300px);
  }

  .hero-photo {
    max-width: min(90vw, 300px);
    max-height: min(46vh, 400px);
  }

  .btn-premium {
    width: 100%;
  }

  .hero-cta .btn-premium {
    width: 100%;
  }

  .solution-card {
    padding: 1.5rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .audience-block {
    padding: 2rem 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .contact-info-card {
    margin-bottom: 2rem;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

}

/* Cards de clientes — mesmo tamanho em todas as telas */
@media (max-width: 575.98px) {
  .clients-section {
    --client-card-w: 132px;
    --client-card-h: 76px;
  }

  .client-name-slide {
    font-size: 0.75rem;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .clients-section {
    --client-card-w: 156px;
    --client-card-h: 84px;
  }
}

@media (min-width: 1200px) {
  .clients-section {
    --client-card-w: 180px;
    --client-card-h: 96px;
  }
}

@media (min-width: 992px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 40%);
    gap: 0 0.25rem;
  }

  .hero-figure {
    margin-left: clamp(-4rem, -6vw, -2rem);
  }
}

@media (min-width: 1200px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 38%);
  }

  .hero-copy {
    max-width: 560px;
  }
}

@media (min-width: 768px) {
  .btn-pda-label--full {
    display: none;
  }

  .btn-pda-label--short {
    display: inline;
  }
}

@media (max-width: 767.98px) {
  .brand-logo-menu {
    height: 80px;
    max-width: min(360px, 78vw);
  }

  .navbar-premium.scrolled .brand-logo-menu,
  .navbar-premium.menu-open .brand-logo-menu {
    height: 68px;
  }

  .brand-symbol {
    height: 36px;
  }

  .navbar-nav--scroll {
    max-height: 70vh;
    overflow-y: auto;
  }

  .hero-cta-row--primary,
  .hero-cta-row--talentos {
    grid-template-columns: 1fr;
  }

  .hero-cta-row--primary .btn-premium {
    font-size: 0.75rem;
    padding: 0.7rem 1rem;
  }

  .hero-cta .btn-premium {
    font-size: 0.8125rem;
  }

  .footer-signature {
    max-width: 180px;
  }

  .footer-logo-menu {
    height: 76px;
    max-width: min(200px, 72vw);
  }

  .talentos-actions .btn-premium {
    width: 100%;
  }

  .pda-steps {
    padding: 1.5rem;
  }

  .talentos-form-panel {
    padding: 1.5rem;
  }

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

  .page-actions .btn-premium {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .diferenciais-intro,
  .solucoes-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .diferenciais-intro-copy,
  .solucoes-intro-copy {
    text-align: center;
  }

  .diferenciais-title,
  .solucoes-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .diferenciais-subtitle p,
  .solucoes-subtitle {
    text-align: center;
  }

  .hero-figure {
    max-width: min(92vw, 280px);
  }

  .hero-photo {
    max-width: min(92vw, 280px);
    max-height: min(44vh, 360px);
  }

  .hero-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-cta-row--talentos {
    grid-template-columns: 1fr;
  }

  .hero-tags--links {
    max-width: 100%;
  }

  .about-highlights {
    justify-content: center;
  }

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

  .inspiration-visual {
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
