/* Tablet */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }

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

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

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

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

  .hero-card {
    max-width: 100%;
  }

  .what-is-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .how-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .how-flow::before {
    display: none;
  }

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

  .modalities-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .modal-card.featured {
    transform: none;
  }

  .modal-card.featured:hover {
    transform: translateY(-4px);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 60px 0;
  }

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

  .section-header {
    margin-bottom: 40px;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
  }

  .hero-content {
    padding: 40px 0;
    gap: 32px;
  }

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

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

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero-bullets {
    gap: 8px;
  }

  .hero-bullets li {
    font-size: 0.85rem;
    width: calc(50% - 4px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .hero-stat {
    padding: 16px;
  }

  .hero-stat-value {
    font-size: 1.4rem;
  }

  .hero-card {
    padding: 24px;
  }

  /* Mobile */
  .header {
    height: 72px;
  }

  .header.scrolled {
    height: 62px;
  }

  .header-inner {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
  }

  .header-center {
    display: contents;
  }

  .header-right {
    display: none;
  }

  .header-cta-mobile {
    display: inline-flex !important;
  }

  /* Mobile Overlay */
  .header-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1098;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .header-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Offcanvas Navigation */
  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 80vw;
    background: var(--dark);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 96px 28px 32px;
    z-index: 1099;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    gap: 2px;
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
  }

  .header-nav.open {
    transform: translateX(0);
  }

  .header-link {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75) !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    width: 100%;
    display: block;
  }

  .header-link::after {
    display: none !important;
  }

  .header-link:hover {
    background: rgba(255,255,255,0.06) !important;
    color: #fff !important;
  }

  .header-nav .header-cta-mobile {
    margin-top: 16px;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    font-size: 0.95rem;
    border-radius: 12px;
  }

  .header-toggle {
    display: flex;
    z-index: 1101;
  }

  /* Index nav */
  .index-nav {
    top: 65px;
  }

  .index-nav ul {
    gap: 4px;
  }

  .index-nav a {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  /* How it works flow */
  .how-flow {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .how-step-icon {
    width: 64px;
    height: 64px;
  }

  .how-step-icon svg {
    width: 28px;
    height: 28px;
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  /* Audience */
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Compensation */
  .compensation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Comparison table */
  .comparison-table th,
  .comparison-table td {
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  /* Myths */
  .myth-item {
    padding: 16px;
  }

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

  .faq-answer-inner {
    padding: 0 20px 16px;
    font-size: 0.9rem;
  }

  /* CTA */
  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-features {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .float-whatsapp {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

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

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

  .back-top {
    width: 40px;
    height: 40px;
    bottom: 80px;
    right: 16px;
  }

  .back-top svg {
    width: 16px;
    height: 16px;
  }

  /* Legislation */
  .legislation-box {
    padding: 24px;
  }

  .law-simplified {
    grid-template-columns: 1fr;
  }

  .whatsapp-widget {
    flex-direction: column;
    text-align: center;
  }

  /* Section tag */
  .section-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.7rem;
  }

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

  .hero-bullets li {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .how-flow {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 24px auto 0;
  }

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

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

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

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

  .modal-card {
    padding: 24px 20px;
  }

  .cta-content h2 {
    font-size: 1.4rem;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }
}
