/* ===== MOBILE RESPONSIVE - PORTFOLIO PAGE ===== */

/* Tablettes et écrans intermédiaires (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    padding: 2rem 1.5rem;
  }

  .hero--sm {
    padding: 1.5rem 0;
  }

  .hero--sm h1 {
    font-size: 2rem;
    line-height: 1.35;
  }

  .hero--sm p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .portfolio-intro {
    padding: 1.5rem 0;
  }

  .portfolio-intro h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .portfolio-models {
    padding: 1.5rem 0;
  }

  .model {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .model:nth-child(even) {
    direction: ltr;
  }

  .model__content h3 {
    font-size: 1.4rem;
  }

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

  .showcase__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .cta__buttons {
    flex-direction: row;
    gap: 1rem;
  }

  .cta__buttons .btn {
    flex: 1;
  }
}

/* Petits écrans et tablettes (max 767px) */
@media (max-width: 767px) {
  .container {
    padding: 1.5rem 1rem;
  }

  /* Hero Section */
  .hero--sm {
    padding: 1.2rem 0;
  }

  .hero--sm h1 {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .hero--sm p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
  }

  /* Portfolio Intro */
  .portfolio-intro {
    padding: 1.5rem 0;
    text-align: center;
  }

  .portfolio-intro h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .portfolio-intro p {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
  }

  /* Portfolio Models */
  .portfolio-models {
    padding: 1.5rem 0;
  }

  .model {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
  }

  .model:nth-child(even) {
    direction: ltr;
  }

  .model__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
  }

  .model__image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .model__content h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 0.4rem;
  }

  .model__tagline {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    color: var(--orange);
    font-weight: 600;
  }

  .model__content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-weight: 300;
  }

  .model__content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.8rem 0 0.4rem 0;
  }

  .model__features {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    list-style: disc;
  }

  .model__features li {
    font-size: 0.95rem;
    padding: 0.3rem 0;
    line-height: 1.6;
    font-weight: 300;
  }

  .model__features li::before {
    content: none;
  }

  .model__ideal {
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.8rem;
    background-color: #f0f7ff;
    border-left: 4px solid var(--primary);
    font-weight: 300;
  }

  /* Model Features Section */
  .model-features {
    padding: 1.5rem 0;
  }

  .model-features h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    text-align: center;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature__icon {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
  }

  .feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.3;
  }

  .feature p {
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
  }

  /* Showcase Section */
  .showcase {
    padding: 1.5rem 0;
  }

  .showcase h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    text-align: center;
  }

  .showcase>p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 300;
  }

  .showcase__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .showcase__item {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
  }

  .showcase__item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    line-height: 1.3;
  }

  .showcase__item li {
    font-size: 0.95rem;
    padding: 0.3rem 0;
    line-height: 1.6;
    font-weight: 300;
  }

  /* Decision Section */
  .decision {
    padding: 1.5rem 0;
  }

  .decision h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    text-align: center;
  }

  .decision__cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .decision__card {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-top: 3px solid var(--primary);
    transition: transform 0.2s ease;
  }

  .decision__card:active {
    transform: translateY(-2px);
  }

  .decision__card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.3;
  }

  .decision__card p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
  }

  /* Demo CTA Section */
  .demo-cta {
    padding: 1.5rem 0;
    text-align: center;
  }

  .demo-cta h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .demo-cta p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-weight: 300;
  }

  .cta__buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .cta__buttons .btn {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }

  section {
    padding: 1.5rem 0;
  }
}

/* Très petits écrans (max 480px) */
@media (max-width: 480px) {
  .container {
    padding: 1rem 0.75rem;
  }

  /* Hero Section */
  .hero--sm {
    padding: 0.8rem 0;
  }

  .hero--sm h1 {
    font-size: 2rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }

  .hero--sm p {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
  }

  /* Intro */
  .portfolio-intro {
    padding: 1rem 0;
  }

  .portfolio-intro h2 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }

  .portfolio-intro p {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
  }

  /* Models */
  .portfolio-models {
    padding: 1rem 0;
  }

  .model {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .model__image {
    border-radius: 6px;
  }

  .model__content h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0.3rem;
  }

  .model__tagline {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
  }

  .model__content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 300;
  }

  .model__content h4 {
    font-size: 0.9rem;
    margin: 0.6rem 0 0.3rem 0;
  }

  .model__features {
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    list-style: disc;
  }

  .model__features li {
    font-size: 0.85rem;
    padding: 0.2rem 0;
    line-height: 1.5;
    font-weight: 300;
  }

  .model__features li::before {
    content: none;
  }

  .model__ideal {
    padding: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.6rem;
    border-left-width: 3px;
    font-weight: 300;
  }

  /* Model Features */
  .model-features {
    padding: 1rem 0;
  }

  .model-features h2 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .features__grid {
    gap: 0.8rem;
  }

  .feature {
    padding: 0.8rem;
  }

  .feature__icon {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
  }

  .feature h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .feature p {
    font-size: 0.85rem;
    font-weight: 300;
  }

  /* Showcase */
  .showcase {
    padding: 1rem 0;
  }

  .showcase h2 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 0.3rem;
  }

  .showcase>p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 300;
  }


  .showcase__grid {
    gap: 0.8rem;
  }

  .showcase__item {
    padding: 0.8rem;
    border-left-width: 3px;
  }

  .showcase__item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .showcase__item li {
    font-size: 0.85rem;
    padding: 0.2rem 0;
    line-height: 1.5;
    font-weight: 300;
  }

  /* Decision */
  .decision {
    padding: 1rem 0;
  }

  .decision h2 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .decision__cards {
    gap: 0.8rem;
  }

  .decision__card {
    padding: 0.8rem;
    border-top-width: 3px;
  }

  .decision__card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .decision__card p {
    font-size: 0.85rem;
    font-weight: 300;
  }

  /* Demo CTA */
  .demo-cta {
    padding: 1rem 0;
  }

  .demo-cta h2 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }

  .demo-cta p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 300;
  }

  .cta__buttons {
    gap: 0.6rem;
  }

  .cta__buttons .btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
  }

  section {
    padding: 1rem 0;
  }
}