/**
 * Treinador David - Responsive Styles
 * Media queries e adaptações mobile
 */

/* TABLET - 768px and below */
@media (max-width: 768px) {
  /* Typography adjustments */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  /* Hero section */
  .hero-td {
    padding: 60px 0;
  }

  .hero-td .subtitle {
    font-size: 1.2rem;
  }

  /* Cards */
  .card-td {
    padding: 20px;
    margin-bottom: 20px;
  }

  /* Stats grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  /* Pricing cards */
  .pricing-card {
    padding: 30px 20px;
    margin-bottom: 30px;
  }

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

  .pricing-price {
    font-size: 2.5rem;
  }

  /* Blog posts */
  .blog-post-image {
    height: 200px;
  }

  .blog-post-content {
    padding: 20px;
  }

  /* Testimonials */
  .testimonial-td {
    padding: 30px 20px;
  }

  /* Sections */
  .stats-td {
    padding: 60px 0;
  }

  /* WhatsApp and Back to Top */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
  }

  .back-to-top {
    bottom: 85px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  /* Footer */
  .site-footer-td {
    padding: 40px 0 20px;
    margin-top: 60px;
  }

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

  .footer-signature {
    font-size: 1.1rem;
  }

  /* Forms */
  .form-td input,
  .form-td textarea,
  .form-td select {
    padding: 12px;
    font-size: 0.95rem;
  }

  /* Buttons */
  .btn-td,
  .wp-block-button__link {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* MOBILE - 480px and below */
@media (max-width: 480px) {
  /* Base font size */
  body {
    font-size: 15px;
  }

  /* Typography */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.2rem; }
  h5 { font-size: 1.1rem; }

  /* Container */
  .container-td {
    padding: 0 10px;
  }

  /* Hero section */
  .hero-td {
    padding: 40px 0;
  }

  .hero-td h1 {
    font-size: 1.75rem;
  }

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

  .hero-td .usmc-badge {
    font-size: 0.9rem;
    padding: 8px 15px;
  }

  /* Stats grid */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-item {
    padding: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  /* Cards */
  .card-td {
    padding: 15px;
  }

  .card-td .icon {
    font-size: 2rem;
  }

  .card-td h3 {
    font-size: 1.2rem;
  }

  /* Pricing cards */
  .pricing-card {
    padding: 25px 15px;
  }

  .pricing-price {
    font-size: 2rem;
  }

  .pricing-card.featured::before {
    font-size: 0.8rem;
    padding: 6px 15px;
  }

  /* Blog posts */
  .blog-post-image {
    height: 180px;
  }

  .blog-post-content {
    padding: 15px;
  }

  .blog-post-meta {
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
  }

  .blog-post-title {
    font-size: 1.2rem;
  }

  /* Testimonials */
  .testimonial-td {
    padding: 20px 15px;
  }

  .testimonial-td::before {
    font-size: 3rem;
    top: 10px;
    left: 10px;
  }

  .testimonial-author {
    font-size: 1rem;
  }

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

  /* Post signature */
  .post-signature-td p {
    font-size: 1.1rem;
  }

  /* WhatsApp and Back to Top */
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .back-to-top {
    bottom: 75px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Footer */
  .site-footer-td {
    padding: 30px 0 15px;
    margin-top: 40px;
  }

  .footer-widgets {
    padding: 0 10px;
    gap: 25px;
  }

  .footer-widget h3 {
    font-size: 1.1rem;
  }

  .footer-signature {
    font-size: 1rem;
  }

  /* Forms */
  .form-td input,
  .form-td textarea,
  .form-td select {
    padding: 10px;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .form-td label {
    font-size: 0.9rem;
  }

  /* Buttons */
  .btn-td,
  .wp-block-button__link {
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  /* Section divider */
  .section-divider {
    margin: 40px 0;
  }

  /* Military accents */
  .military-stripe {
    width: 40px;
    height: 3px;
  }

  .rank-badge {
    font-size: 0.8rem;
    padding: 6px 15px;
  }

  /* Spacing utilities - adjusted for mobile */
  .mt-3 { margin-top: 2rem; }
  .mb-3 { margin-bottom: 2rem; }
  .pt-3 { padding-top: 2rem; }
  .pb-3 { padding-bottom: 2rem; }
}

/* LANDSCAPE MOBILE - specific fixes */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-td {
    padding: 40px 0;
  }

  .stats-td {
    padding: 40px 0;
  }

  .site-footer-td {
    margin-top: 40px;
  }
}

/* LARGE SCREENS - 1400px and above */
@media (min-width: 1400px) {
  .container-td {
    max-width: 1400px;
  }

  .header-content {
    max-width: 1400px;
  }

  .footer-widgets {
    max-width: 1400px;
  }

  .stats-grid {
    max-width: 1400px;
  }
}

/* PRINT STYLES */
@media print {
  .whatsapp-float,
  .back-to-top,
  .mobile-menu-toggle,
  .site-header-td {
    display: none !important;
  }

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

  a {
    color: #000;
    text-decoration: underline;
  }

  .card-td,
  .pricing-card,
  .testimonial-td {
    border: 1px solid #000;
    box-shadow: none;
  }
}
