@media (max-width: 480px) {
    .top-bar {
        font-size: 12px;   
        padding: 4px 0;    
    }
    .top-bar-content {
        gap: 6px;          
    }
    .top-bar-text {
        display: none;
    }
}

@media (max-width: 350px) {
    .top-bar {
        font-size: 11px;
    }
    .top-bar-content {
        gap: 4px;
    }
}



@media (max-width: 600px) {
    .category-grid {
        display: grid;
        grid-template-columns: repeat(2, 150px); 
        justify-content: center; 
        gap: 10px;
    }
    .category-item {
        width: 125px;  
        height: 125px; 
        margin-top: 0; 
    }
}

@media (max-width: 1024px) {
    .presentation-content {
        flex-direction: column; 
        justify-content: center;
        align-items: center;
        gap: 30px;
    }
    .presentation-card {
        max-width: 100%;
        min-width: auto;
        order: 1; 
    }
    .presentation-image {
        width: 100%;
        max-width: 400px;
        margin-bottom: 0;
        order: 2; 
    }
}

@media (max-width: 600px) {
    .presentation-section {
        padding: 40px 20px;
    }
    .presentation-content {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }
    .presentation-image {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    .presentation-card {
        max-width: 100%;
    }
}


@media (max-width: 768px) {
    .hero .overlay {
        margin-right: 20px;
        margin-left: 20px;
        text-align: center;
        max-width: calc(100% - 40px); 
    }
}

@media (max-width: 1024px) {
    .center-content h2 {
        font-size: 2rem;
    }

    .center-content p {
        font-size: 1.1rem;
    }

    .social-links {
        gap: 20px;
    }

    .social-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .center-content h2 {
        font-size: 1.8rem;
    }

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

    .social-links {
        gap: 15px;
    }

    .social-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .center-content h2 {
        font-size: 1.5rem;
    }

    .center-content p {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .center-content h2 {
        font-size: 1.3rem;
    }

    .center-content p {
        font-size: 0.9rem; 
    }

    .social-links {
        gap: 8px; 
    }


    .social-links a {
        font-size: 0.7rem;
    }
}
 
@media (max-width: 900px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 30px;
    }
}

@media (max-width: 600px) {
    .services {
        grid-template-columns: repeat(1, 1fr); 
        padding: 0 20px;
    }
}

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

@media (max-width: 1024px) {

    .offers-cards-wrapper {
        justify-content: center;
    }

    .offer-card {
        flex: 1 1 calc(50% - 2rem);
    }

    .cards-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 768px) {

    .offers-cards-wrapper {
        flex-direction: column;
        align-items: center; 
        gap: 1rem;
    }

    .offer-card {
        flex: 1 1 100%; 
        margin-bottom: 1rem;
    }

    .cards-wrapper {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: auto; 
    }

    .offer-content h3 {
        font-size: 1rem;
    }

    .offer-content .price {
        font-size: 1rem;
    }

    .offer-content .description {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .photo-gallery {
        flex-direction: column;
        gap: 15px;
    }

    .photo-gallery img {
        max-width: 100%;
    }

    .shooting-exterieur h2 {
        font-size: 2rem; 
    }

    .shooting-exterieur p {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {
    .shooting-exterieur p small {
      font-size: 1rem; /* taille plus petite sur mobile */
    }
  }

  @media screen and (min-width: 2560px) {
    /* Augmente les max-widths pour qu’ils utilisent mieux l’espace */
    .main-header,
    .presentation-section,
    .photo-mosaic,
    .mariage,
    .evenement,
    .photo-iris-section,
    .contact-container,
    .cgv,
    .mentions-legales,
    .info-card {
      max-width: 1800px;
      margin-left: auto;
      margin-right: auto;
    }
  
    /* Texte plus grand pour une meilleure lisibilité */
    body,
    .service-card p,
    .faq-question,
    .faq-answer p,
    .photo-iris-section p,
    .mariage-texte,
    .offer-content {
      font-size: 1.4rem;
    }
  
    h1, h2 {
      font-size: 4rem;
    }
  
    h3 {
      font-size: 2.5rem;
    }
  
    /* Grilles plus larges */
    .category-grid {
      gap: 20px;
    }
  
    .services {
      grid-template-columns: repeat(3, 1fr); /* plus de colonnes */
      gap: 40px;
      padding: 0 80px;
    }
  
    .photo-gallery {
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      grid-auto-rows: 400px;
    }
  
    .offers-cards-wrapper {
      gap: 3rem;
    }
  
    .offer-card {
      flex: 1 1 calc(25% - 3rem);
    }
  
    .photo-iris-section .cards-wrapper {
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
  
    .access-container {
      max-width: 1600px;
      gap: 60px;
    }
  
    .access-card {
      max-width: 400px;
      font-size: 1.1rem;
    }
  
    .presentation-image img,
    .mariage-image img,
    .evenement-image img {
      max-width: 100%;
      max-height: 700px;
    }

    .category-item {
        position: relative;
        width: clamp(180px, 16vw, 280px);
        height: clamp(180px, 16vw, 280px);
        overflow: hidden;
        border-radius: 14px;
        cursor: pointer;
        transition: transform 0.3s ease;
        margin-top: 12px;
    }
       
  }
  
@media screen and (min-width: 2560px) {
    .photo-iris-section {
        padding: 80px 40px;
        max-width: 1600px;
    }

    .photo-iris-section h2 {
        font-size: 4rem;
    }

    .photo-iris-section p {
        font-size: 1.5rem;
    }

    .photo-iris-section p small {
        font-size: 1.3rem;
    }

    .photo-iris-section .cards-wrapper {
        grid-template-columns: repeat(2, 1fr); /* 👉 2 colonnes */
        gap: 2rem;
        max-width: 1400px;
    }

    .photo-iris-section .cards-wrapper .card img {
        max-height: 400px;
    }

    .photo-iris-section .card-info .description {
        font-size: 1.4rem;
    }

    .photo-iris-section .card-info .price {
        font-size: 1.8rem;
    }

    .photo-iris-section .cta-button {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 10px;
    }
}


/* === RESPONSIVE AJUSTEMENTS POUR .offer-content .description em ET .price === */

/* Mobile : ≤ 767px */
@media screen and (max-width: 767px) {
    .offer-content .description em {
        font-size: 0.6rem;
    }

    .offer-content .price {
        font-size: 1.6rem; /* augmenté par rapport à 1.4rem initial */
    }
}

/* Tablette : 768px à 1023px */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .offer-content .description em {
        font-size: 0.8rem;
    }

    .offer-content .price {
        font-size: 1.8rem;
    }
}

/* Desktop standard : 1024px à 1919px */
@media screen and (min-width: 1024px) and (max-width: 1919px) {
    .offer-content .description em {
        font-size: 1.1rem;
    }
}

/* Grand écran : ≥ 1920px */
@media screen and (min-width: 1920px) {
    .offer-content .description em {
        font-size: 1rem;
    }
        .offer-content .price {
        font-size: 1.8rem;
    }
}

/* Très grand écran : ≥ 2560px */
@media screen and (min-width: 2560px) {
    .offer-content .description em {
        font-size: 1rem;
    }
        .offer-content .price {
        font-size: 1.8rem;
    }
}
