/* ===================================
   RESPONSIVE STYLES - CRESCER EAD
   =================================== */

/* ===================================
   BREAKPOINTS
   =================================== */
/* 
   xs: 0-479px (Mobile Portrait)
   sm: 480-767px (Mobile Landscape)
   md: 768-1023px (Tablet)
   lg: 1024-1199px (Desktop Small)
   xl: 1200px+ (Desktop Large)
*/

/* ===================================
   EXTRA LARGE SCREENS (1400px+)
   =================================== */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .popular-courses-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .mentors-container-enhanced {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1600px;
  }
}

/* ===================================
   LARGE SCREENS (1200px - 1399px)
   =================================== */
@media (min-width: 1200px) and (max-width: 1399px) {
  .container {
    max-width: 1200px;
  }

  .hero-title {
    font-size: 3.6rem;
  }

  .popular-courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mentors-container-enhanced {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===================================
   MEDIUM-LARGE SCREENS (1024px - 1199px)
   =================================== */
@media (min-width: 1024px) and (max-width: 1199px) {
  .container {
    max-width: 1024px;
    padding: 0 30px;
  }

  /* Header */
  .header-floating {
    padding: 0 25px;
  }

  .navbar ul li > a {
    padding: 10px 15px;
    font-size: 14px;
  }

  .btn-teste-vocacional {
    padding: 10px 18px;
    font-size: 13px;
  }

  /* Hero Section */
  .hero-title {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  /* Stats Section */
  .stats-content {
    gap: 20px;
  }

  .stat-card {
    padding: 25px 15px;
  }

  /* Courses Grid */
  .popular-courses-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  /* Mentors */
  .mentors-container-enhanced {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid-enhanced {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================
   TABLET SCREENS (768px - 1023px)
   =================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: 768px;
    padding: 0 25px;
  }

  /* Header */
  .header-floating {
    padding: 0 20px;
  }

  .navbar {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header-left .logo {
    height: 50px;
  }

  .btn-teste-vocacional {
    padding: 8px 15px;
    font-size: 12px;
  }

  /* Hero Section */
  .hero {
    padding: 80px 0 50px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .animated-courses {
    justify-content: center;
    margin-bottom: 25px;
  }

  .course-tag {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  /* Stats Section */
  .stats-section {
    padding: 50px 0;
  }

  .stats-content {
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
  }

  .stat-card {
    padding: 25px 20px;
  }

  .stat-card h3 {
    font-size: 1.8rem;
  }

  /* About Section */
  .about-section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .feature-card {
    padding: 30px 25px;
  }

  /* Vocational Section */
  .vocational-section {
    padding: 80px 0;
  }

  .vocational-description {
    font-size: 1rem;
  }

  /* Courses Section */
  .popular-courses-section {
    padding: 80px 0;
  }

  .popular-courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .course-card {
    max-width: none;
  }

  /* Testimonials */
  .testimonials-section {
    padding: 80px 0;
  }

  .testimonials-slider {
    max-width: 600px;
  }

  .testimonial-card {
    padding: 30px;
  }

  .testimonial-content {
    font-size: 1rem;
  }

  /* Referral Section */
  .referral-section {
    padding: 80px 0;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  /* Certificate Section */
  .certificate-section {
    padding: 80px 0;
  }

  .certificate-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .certificate-info .section-title {
    text-align: center;
  }

  .certificate-info .section-title::after {
    margin: 15px auto 0;
  }

  /* FAQ Section */
  .faq-section {
    padding: 80px 0;
  }

  .faq-accordion {
    max-width: 600px;
  }

  /* Closing Section */
  .closing-section {
    padding: 80px 0;
  }

  /* Community Page */
  .community-hero-enhanced {
    padding: 80px 0 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }

  .community-illustration {
    width: 300px;
    height: 300px;
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .intro-text h2 {
    font-size: 2.4rem;
  }

  .benefits-grid-enhanced {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .mentors-container-enhanced {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .testimonial-card-enhanced {
    padding: 35px;
  }

  /* Courses Page */
  .courses-hero {
    padding: 80px 0 60px;
  }

  .courses-hero h1 {
    font-size: 2.8rem;
  }

  .filter-group {
    flex-direction: column;
    gap: 15px;
  }

  .search-box {
    min-width: auto;
    max-width: none;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  /* Course Detail Page */
  .course-main-content {
    flex-direction: column;
    gap: 30px;
  }

  .course-content-right {
    position: static;
    top: auto;
    width: 100%;
  }

  .course-hero h1 {
    font-size: 2.4rem;
  }

  /* Checkout Page */
  .checkout-main {
    padding: 1.5rem 0;
  }

  .checkout-header h1 {
    font-size: 2rem;
  }

  .checkout-card {
    padding: 1.5rem;
  }

  /* Cart Sidebar */
  .cart-sidebar {
    max-width: 350px;
  }
}

/* ===================================
   MOBILE LANDSCAPE (480px - 767px)
   =================================== */
@media (min-width: 480px) and (max-width: 767px) {
  .container {
    max-width: 480px;
    padding: 0 20px;
  }

  /* Header */
  .header {
    padding: 12px 0;
  }

  .header-floating {
    padding: 0 15px;
  }

  .header-left .logo {
    height: 45px;
  }

  .btn-teste-vocacional {
    padding: 8px 12px;
    font-size: 11px;
  }

  .phone span {
    display: none;
  }

  /* Hero Section */
  .hero {
    padding: 60px 0 40px;
  }

  .hero-title {
    font-size: 2.4rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .animated-courses {
    gap: 8px;
    margin-bottom: 20px;
  }

  .course-tag {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  /* Stats Section */
  .stats-section {
    padding: 40px 0;
  }

  .stats-content {
    flex-direction: column;
    gap: 15px;
  }

  .stat-card {
    padding: 20px 15px;
  }

  .stat-card h3 {
    font-size: 1.6rem;
  }

  .stat-card p {
    font-size: 0.9rem;
  }

  /* Sections */
  .about-section,
  .vocational-section,
  .popular-courses-section,
  .testimonials-section,
  .referral-section,
  .certificate-section,
  .faq-section,
  .closing-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 25px 20px;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .feature-icon-img {
    font-size: 25px;
  }

  /* Courses Grid */
  .popular-courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .course-details {
    padding: 18px;
  }

  .course-buttons {
    padding: 0 18px 18px;
  }

  .course-details h3 {
    font-size: 1rem;
    min-height: auto;
  }

  /* Benefits Grid */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card {
    padding: 25px 20px;
  }

  .benefit-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  /* Testimonials */
  .testimonials-slider {
    max-width: 450px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .testimonial-content {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .author-avatar {
    width: 60px;
    height: 60px;
    margin-right: 15px;
  }

  .author-info h4 {
    font-size: 1.1rem;
  }

  .author-info p {
    font-size: 0.85rem;
  }

  /* Certificate */
  .certificate-benefits li {
    font-size: 1rem;
    padding: 12px 15px;
  }

  /* FAQ */
  .faq-question {
    padding: 15px 20px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 15px 0;
  }

  /* Community Page */
  .community-hero-enhanced {
    padding: 60px 0 40px;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .community-illustration {
    width: 250px;
    height: 250px;
  }

  .user-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  .intro-text h2 {
    font-size: 2rem;
  }

  .benefits-grid-enhanced {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card-enhanced {
    padding: 25px;
  }

  .mentors-container-enhanced {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mentor-card-enhanced {
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonial-card-enhanced {
    padding: 25px;
  }

  .testimonial-content-enhanced {
    font-size: 1.1rem;
  }

  .cta-content-enhanced h2 {
    font-size: 2.2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 280px;
  }

  /* Courses Page */
  .courses-hero h1 {
    font-size: 2.4rem;
  }

  .courses-hero p {
    font-size: 1rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  /* Course Detail */
  .course-hero h1 {
    font-size: 2rem;
  }

  .course-hero .course-short-description {
    font-size: 1rem;
  }

  /* Checkout */
  .checkout-header h1 {
    font-size: 1.8rem;
  }

  .order-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .item-image {
    width: 60px;
    height: 60px;
  }

  .btn-process-payment {
    min-width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }

  /* Cart */
  .cart-sidebar {
    max-width: 320px;
  }
}

/* ===================================
   MOBILE PORTRAIT (0px - 479px)
   =================================== */
@media (max-width: 479px) {
  .container {
    padding: 0 15px;
  }

  /* Header */
  .header {
    padding: 10px 0;
  }

  .header-floating {
    padding: 0 10px;
  }

  .header-left .logo {
    height: 40px;
  }

  .btn-teste-vocacional {
    padding: 6px 10px;
    font-size: 10px;
  }

  .header-right {
    gap: 10px;
  }

  .phone {
    font-size: 14px;
  }

  .phone span {
    display: none;
  }

  /* Body padding adjustment */
  body {
    padding-top: 70px;
  }

  /* Hero Section */
  .hero {
    padding: 40px 0 30px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  .animated-courses {
    gap: 6px;
    margin-bottom: 18px;
  }

  .course-tag {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .btn-hero-cta {
    padding: 12px 24px;
    font-size: 1rem;
  }

  /* Stats Section */
  .stats-section {
    padding: 30px 0;
  }

  .stats-content {
    flex-direction: column;
    gap: 12px;
  }

  .stat-card {
    padding: 18px 12px;
  }

  .stat-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .stat-card p {
    font-size: 0.85rem;
  }

  .stat-icon {
    font-size: 2rem;
    height: 50px;
    margin-bottom: 12px;
  }

  /* All Sections */
  .about-section,
  .vocational-section,
  .popular-courses-section,
  .testimonials-section,
  .referral-section,
  .certificate-section,
  .faq-section,
  .closing-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 30px 0;
  }

  .feature-card {
    padding: 20px 15px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
  }

  .feature-icon-img {
    font-size: 20px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
    min-height: auto;
    margin-bottom: 8px;
  }

  /* Vocational Section */
  .vocational-description {
    font-size: 0.95rem;
    margin: 15px auto 30px;
  }

  .btn-vocational {
    padding: 12px 24px;
    font-size: 1rem;
  }

  /* Courses */
  .popular-courses-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 30px 0;
  }

  .course-image {
    height: 160px;
  }

  .course-details {
    padding: 15px;
  }

  .course-buttons {
    padding: 0 15px 15px;
  }

  .course-details h3 {
    font-size: 0.95rem;
    min-height: auto;
    margin-bottom: 8px;
  }

  .course-description {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .course-meta {
    font-size: 0.8rem;
    gap: 6px;
    padding-top: 12px;
    margin-top: 12px;
  }

  .course-buttons .btn-info,
  .course-buttons .btn-add-to-cart {
    padding: 10px 8px;
    font-size: 0.85rem;
  }

  .course-price-badge,
  .course-free-badge,
  .course-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    top: 10px;
  }

  .course-price-badge,
  .course-free-badge {
    left: 10px;
  }

  .course-badge {
    right: 10px;
  }

  /* Testimonials */
  .testimonials-slider {
    max-width: 100%;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-content {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .author-avatar {
    width: 50px;
    height: 50px;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .author-info h4 {
    font-size: 1rem;
  }

  .author-info p {
    font-size: 0.8rem;
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 30px 0;
  }

  .benefit-card {
    padding: 20px 15px;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
  }

  .benefit-card h3 {
    font-size: 1.1rem;
  }

  /* Certificate */
  .certificate-container {
    flex-direction: column;
    gap: 30px;
  }

  .certificate-info .section-title {
    text-align: center;
    font-size: 1.8rem;
  }

  .certificate-info .section-title::after {
    margin: 12px auto 0;
  }

  .certificate-benefits {
    margin: 25px 0 0;
  }

  .certificate-benefits li {
    font-size: 0.95rem;
    padding: 12px 15px;
    margin-bottom: 15px;
  }

  /* FAQ */
  .faq-accordion {
    margin: 30px auto 0;
  }

  .faq-item {
    margin-bottom: 15px;
  }

  .faq-question {
    padding: 15px 18px;
  }

  .faq-question h3 {
    font-size: 0.95rem;
  }

  .faq-toggle {
    width: 25px;
    height: 25px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .faq-answer p {
    padding: 15px 0;
    font-size: 0.9rem;
  }

  /* Closing Section */
  .closing-section .section-subtitle {
    font-size: 1rem;
    margin: 15px auto 30px;
  }

  .btn-closing {
    padding: 12px 24px;
    font-size: 1rem;
  }

  /* Community Page */
  .community-hero-enhanced {
    padding: 50px 0 30px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .community-illustration {
    width: 200px;
    height: 200px;
  }

  .user-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .intro-text h2 {
    font-size: 1.8rem;
  }

  .intro-text p {
    font-size: 1rem;
  }

  .benefit-preview {
    padding: 20px;
    gap: 15px;
  }

  .benefit-preview i {
    font-size: 2rem;
  }

  .benefit-preview span {
    font-size: 1rem;
  }

  .benefits-grid-enhanced {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .benefit-card-enhanced {
    padding: 20px;
  }

  .benefit-icon-enhanced {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .benefit-content h3 {
    font-size: 1.3rem;
  }

  .benefit-content p {
    font-size: 0.9rem;
  }

  .section-header-enhanced h2 {
    font-size: 1.8rem;
  }

  .section-header-enhanced p {
    font-size: 1rem;
  }

  .mentors-container-enhanced {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mentor-card-enhanced {
    max-width: 100%;
  }

  .mentor-image-container {
    padding: 30px 30px 15px;
  }

  .mentor-avatar-enhanced {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .mentor-info {
    padding: 0 30px 25px;
  }

  .mentor-info h3 {
    font-size: 1.4rem;
  }

  .mentor-title {
    font-size: 0.9rem;
  }

  .mentor-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .mentor-contact {
    padding: 0 30px 30px;
  }

  .btn-mentor-contact {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .testimonial-card-enhanced {
    padding: 20px;
  }

  .testimonial-content-enhanced {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .author-avatar-enhanced {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .author-details h4 {
    font-size: 1.1rem;
  }

  .author-details p {
    font-size: 0.85rem;
  }

  .cta-content-enhanced h2 {
    font-size: 1.8rem;
  }

  .cta-content-enhanced p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    max-width: 250px;
    padding: 15px 25px;
    font-size: 1rem;
  }

  /* Courses Page */
  .courses-hero {
    padding: 50px 0 40px;
  }

  .courses-hero h1 {
    font-size: 2rem;
  }

  .courses-hero p {
    font-size: 0.95rem;
  }

  .filter-group {
    flex-direction: column;
    gap: 12px;
  }

  .filter-input,
  .filter-select {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .filter-input {
    padding-left: 40px;
  }

  .btn-clear-filters {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .courses-section {
    padding: 50px 0;
  }

  .courses-info {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .results-count {
    font-size: 1rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pagination-container {
    gap: 5px;
    margin-top: 30px;
  }

  .pagination-btn {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }

  .pagination-info {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
    font-size: 0.8rem;
  }

  /* Course Detail */
  .course-hero {
    padding: 50px 0;
  }

  .course-hero h1 {
    font-size: 1.8rem;
  }

  .course-hero .course-short-description {
    font-size: 0.95rem;
  }

  .course-main-content {
    margin: 30px auto;
    gap: 25px;
  }

  .course-content-left h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .course-full-description {
    font-size: 0.9rem;
  }

  .course-curriculum {
    margin-top: 30px;
  }

  .module-header {
    padding: 12px 15px;
  }

  .module-header h4 {
    font-size: 0.95rem;
  }

  .module-content p {
    padding: 15px;
    font-size: 0.9rem;
  }

  .course-sidebar-card {
    margin-top: 0;
  }

  .course-purchase-details {
    padding: 20px;
  }

  .course-price {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .btn-add-to-cart {
    padding: 12px;
    font-size: 1rem;
  }

  .course-meta-details li {
    padding: 8px 0;
    font-size: 0.85rem;
  }

  /* Checkout */
  .checkout-main {
    padding: 1rem 0;
  }

  .checkout-container {
    padding: 0 0.5rem;
  }

  .checkout-header {
    margin-bottom: 2rem;
  }

  .checkout-header h1 {
    font-size: 1.6rem;
  }

  .checkout-header p {
    font-size: 0.9rem;
  }

  .checkout-card {
    padding: 1.25rem;
  }

  .section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .order-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem;
  }

  .item-image {
    width: 50px;
    height: 50px;
  }

  .item-name {
    font-size: 0.9rem;
  }

  .item-category {
    font-size: 0.8rem;
  }

  .item-price {
    font-size: 1rem;
  }

  .order-total {
    padding: 1.25rem;
    margin-top: 0.75rem;
  }

  .total-row {
    font-size: 0.9rem;
  }

  .total-final {
    font-size: 1.1rem;
  }

  .payment-section {
    margin-top: 1.5rem;
  }

  .security-badge {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .security-text strong {
    font-size: 0.9rem;
  }

  .security-text p {
    font-size: 0.8rem;
  }

  .payment-options {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .payment-option {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .btn-process-payment {
    min-width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .payment-note {
    font-size: 0.8rem;
    max-width: 100%;
  }

  .guarantees {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0.75rem;
  }

  .guarantee-item {
    padding: 0.5rem;
    justify-content: center;
    text-align: center;
  }

  .guarantee-item i {
    font-size: 1.25rem;
  }

  .guarantee-text strong {
    font-size: 0.8rem;
  }

  .guarantee-text p {
    font-size: 0.75rem;
  }

  /* Cart Sidebar */
  .cart-sidebar {
    max-width: 100%;
    right: -100%;
  }

  .cart-header {
    padding: 15px 20px;
  }

  .cart-header h3 {
    font-size: 1.1rem;
  }

  .cart-items {
    padding: 15px;
  }

  .cart-item {
    gap: 12px;
    margin-bottom: 15px;
  }

  .cart-item-image {
    width: 60px;
    height: 60px;
  }

  .cart-item-name {
    font-size: 0.85rem;
  }

  .cart-item-price {
    font-size: 0.9rem;
  }

  .cart-item-remove {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }

  .cart-footer {
    padding: 15px 20px;
  }

  .cart-total {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .btn-checkout {
    padding: 12px 15px;
    font-size: 1rem;
  }

  /* Notifications */
  .notifications-container {
    top: 15px;
    right: 15px;
    max-width: 300px;
  }

  .notification {
    padding: 12px 15px;
    font-size: 13px;
  }

  .notification-icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  /* Modals */
  .modal-content {
    width: 95%;
    height: 90vh;
  }

  .referral-modal-content {
    width: 95%;
  }

  .referral-modal-header {
    padding: 20px 25px;
  }

  .referral-modal-header h2 {
    font-size: 1.5rem;
  }

  .referral-modal-body {
    padding: 25px;
  }

  .step-indicator {
    width: 90%;
  }

  .step-circle {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .form-group input {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .btn-step {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .thank-you-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .thank-you-screen h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .thank-you-screen p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* Community WhatsApp Section */
  .community-section {
    padding: 50px 0;
  }

  .community-badge {
    padding: 10px 20px;
    font-size: 12px;
    margin-bottom: 25px;
  }

  .community-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .benefit-item {
    padding: 20px;
    gap: 15px;
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .benefit-content h3 {
    font-size: 1.1rem;
  }

  .benefit-content p {
    font-size: 0.9rem;
  }

  .phone-frame {
    width: 220px;
    height: 400px;
    padding: 15px;
  }

  .whatsapp-header {
    padding: 12px;
  }

  .group-avatar {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .group-info h4 {
    font-size: 14px;
  }

  .group-info span {
    font-size: 11px;
  }

  .chat-messages {
    padding: 15px 12px;
    gap: 12px;
  }

  .message-content {
    padding: 10px 12px;
    font-size: 12px;
  }

  .community-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-item {
    padding: 20px 15px;
    min-width: 100px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .community-cta {
    padding: 30px 20px;
  }

  .cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .btn-community-cta {
    padding: 15px 30px;
    font-size: 1rem;
    gap: 12px;
  }

  .btn-community-cta i {
    font-size: 1.2rem;
  }
}

/* ===================================
   LANDSCAPE ORIENTATION FIXES
   =================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 30px 0 20px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .stats-section {
    padding: 30px 0;
  }

  .about-section,
  .vocational-section,
  .popular-courses-section,
  .testimonials-section,
  .referral-section,
  .certificate-section,
  .faq-section,
  .closing-section {
    padding: 40px 0;
  }

  .community-hero-enhanced {
    padding: 40px 0 30px;
  }

  .courses-hero {
    padding: 40px 0 30px;
  }
}

/* ===================================
   HIGH DPI DISPLAYS
   =================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .header-left .logo,
  .course-image img,
  .mentor-avatar-enhanced,
  .author-avatar,
  .author-avatar-enhanced {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
  .header,
  .cart-sidebar,
  .back-to-top,
  .notifications-container,
  .btn-teste-vocacional,
  .btn-hero-cta,
  .btn-about-cta,
  .btn-vocational,
  .btn-all-courses,
  .btn-referral-cta,
  .btn-closing,
  .btn-cta-primary,
  .btn-cta-secondary,
  .btn-mentor-contact,
  .btn-community-cta,
  .btn-add-to-cart,
  .btn-info,
  .btn-checkout,
  .btn-process-payment {
    display: none !important;
  }

  body {
    padding-top: 0;
    font-size: 12pt;
    line-height: 1.4;
  }

  .container {
    max-width: none;
    padding: 0;
  }

  .hero-title {
    font-size: 24pt;
  }

  .section-title {
    font-size: 18pt;
  }

  .course-card,
  .feature-card,
  .benefit-card,
  .testimonial-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ===================================
   ACCESSIBILITY IMPROVEMENTS
   =================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-contrast: high) {
  .course-card,
  .feature-card,
  .benefit-card,
  .testimonial-card,
  .mentor-card-enhanced,
  .benefit-card-enhanced {
    border: 2px solid #000;
  }

  .btn-hero-cta,
  .btn-about-cta,
  .btn-vocational,
  .btn-all-courses,
  .btn-referral-cta,
  .btn-closing,
  .btn-cta-primary,
  .btn-cta-secondary,
  .btn-mentor-contact,
  .btn-community-cta,
  .btn-add-to-cart,
  .btn-checkout,
  .btn-process-payment {
    border: 2px solid currentColor;
  }
}

/* ===================================
   FOCUS MANAGEMENT
   =================================== */
@media (max-width: 767px) {
  .navbar ul li > a:focus,
  .dropdown-menu li a:focus {
    outline: 2px solid #156e59;
    outline-offset: 2px;
  }
}

/* ===================================
   UTILITY CLASSES FOR RESPONSIVE
   =================================== */
.hide-mobile {
  display: block;
}

.show-mobile {
  display: none;
}

@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }

  .show-mobile {
    display: block !important;
  }

  .show-mobile-flex {
    display: flex !important;
  }

  .show-mobile-grid {
    display: grid !important;
  }
}

.hide-tablet {
  display: block;
}

.show-tablet {
  display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hide-tablet {
    display: none !important;
  }

  .show-tablet {
    display: block !important;
  }
}

.hide-desktop {
  display: block;
}

.show-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .hide-desktop {
    display: none !important;
  }

  .show-desktop {
    display: block !important;
  }
}

/* ===================================
   CONTAINER QUERIES (Future-proofing)
   =================================== */
@supports (container-type: inline-size) {
  .course-card,
  .feature-card,
  .benefit-card {
    container-type: inline-size;
  }

  @container (max-width: 300px) {
    .course-details {
      padding: 12px;
    }

    .course-details h3 {
      font-size: 0.9rem;
    }
  }
}
