/* ==========================================================================
   NEOWORKING - Styles responsives
   Version: 3.0 - Optimisé pour tous les appareils
   ========================================================================== */

/* Styles existants conservés */
@media (max-width: 1024px) {
}

/* Affichage du burger uniquement sur mobile/tablette */
/* @media (max-width: 1023px) {
  .header__burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2000;
  }

  .header__nav {
    display: none;
  }

  .header .btn--primary {
    display: none;
  }

  .hero__title {
    font-size: 2.2rem;
    max-width: 38rem;
  }

  .hero__service {
    font-size: 2rem;
  }
} */

/* Styles du burger */
.header__burger-line {
  width: 100%;
  height: 4px;
  background-color: var(--color-yellow);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Menu mobile full screen (caché par défaut) */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-dark);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
  z-index: 1500;
  pointer-events: none;
}

/* État ouvert du menu mobile */
.mobile-nav.mobile-nav--open {
  transform: translateY(0);
  pointer-events: auto;
}

/* Bouton de fermeture du menu mobile */
.mobile-nav__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--color-white);
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 1600;
}

.mobile-nav__close:hover,
.mobile-nav__close:focus {
  transform: rotate(90deg);
}

/* Liens du menu mobile */
.mobile-nav__list {
  list-style: none;
  text-align: center;
  margin: 3rem 0;
  padding: 0;
}

.mobile-nav__link {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  padding: 1rem;
  transition: color 0.3s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus {
  color: var(--color-blue);
}

.mobile-nav__contact {
  margin-top: 1rem;
}

/* Styles à 991px - Nouvelle approche avec Grid et Flexbox */
@media (max-width: 991px) {
  /* Header et navigation */
  .header__container {
    padding: 0 1.5rem;
  }

  .header__logo-text {
    height: 2.5rem;
  }

  .header__logo-symbol {
    height: 2rem;
  }

  /* Section Hero */
  .hero {
    padding: 7rem 0 5rem;
  }

  .hero__container {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .hero__title {
    font-size: 2rem;
    text-align: center;
    max-width: 100%;
  }

  .hero__services {
    align-items: center;
  }

  .hero__service {
    font-size: 1.75rem;
  }

  .hero__images {
    width: 100%;
  }

  .hero__content {
    align-items: center;
    text-align: center;
  }

  /* Section Bureaux - NOUVELLE APPROCHE AVEC GRID */
  .desk__wrapper-content {
    flex-direction: column;
  }

  .desk__content {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  /* Nouvelle disposition des images avec ratios corrigés */
  .desk__images {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 15px;
    margin-top: 20px;
    max-width: 100%;
  }

  .desk__image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    top: auto;
    right: auto;
    border-radius: var(--radius-large);
    overflow: hidden;
  }

  /* Ajustement des ratios pour une meilleure visibilité */
  .desk__image-wrapper--1 {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 4/3;
  }

  .desk__image-wrapper--2 {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 3/4; /* Ratio plus vertical pour cette image */
  }

  .desk__image-wrapper--3 {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 4/3;
  }

  .desk__image-wrapper--4 {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 4/3;
  }

  .desk__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Section Réunions - NOUVELLE APPROCHE AVEC FLEXBOX */
  .meeting__title {
    font-size: 2.7rem;
  }

  .meeting__content {
    /* flex-direction: column; */
    gap: 4rem;
  }

  /* Remplacer le positionnement absolu par Flexbox */
  .meeting__images {
    position: relative;
    max-width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .meeting__image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    top: auto;
    left: auto;
  }

  .meeting__image-wrapper--1 {
    width: 100%;
    aspect-ratio: 16/10;
    z-index: 2;
  }

  .meeting__image-wrapper--2 {
    width: 60%;
    align-self: flex-end;
    margin-top: -50px;
    margin-right: 20px;
    aspect-ratio: 3/4;
    z-index: 3;
  }

  .meeting__vector {
    top: -50px;
    left: 20px;
    z-index: 1;
  }

  .meeting__price-badge {
    bottom: 30%;
    left: 50px;
  }

  .meeting__text-content {
    max-width: 100%;
  }

  /* Section Événements */
  .event__container {
    flex-direction: column;
  }

  .event__title-h2 {
    font-size: 2.7rem;
  }

  .event__title-decoration {
    justify-content: flex-start;
  }

  .event__title-decoration img {
    width: 45%;
  }

  .event__time-blocks {
    max-width: 100%;
    width: 100%;
  }

  .event__time-block {
    max-width: 100%;
    width: 100%;
  }

  .event__text {
    max-width: 100%;
    width: 100%;
  }

  .event__title-h2 {
    font-size: 2.7rem;
  }

  .event__capacity {
    width: 100%;
    margin: 2rem 0;
  }

  .event__images {
    width: 100%;
  }
}

/* Modifications pour tablettes */
@media (max-width: 768px) {
  /* Variables container */
  :root {
    --container-padding: 1.5rem;
  }

  /* Header */
  .header__logo-text {
    height: 2.2rem;
  }

  .header__burger {
    width: 1.8rem;
    height: 1.3rem;
  }

  /* Hero */
  .hero {
    padding: 6rem 0 4rem;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__service {
    font-size: 1.6rem;
  }

  .hero__images-row {
    height: 280px;
    gap: 10px;
  }

  .hero__image-wrapper {
    width: 90px;
    height: 230px;
  }

  /* Section Bureaux - Adaptation Grid */
  .desk__title-h2 {
    font-size: 2.5rem;
  }

  .desk__text {
    font-size: 1.2rem;
  }

  .desk__highlight {
    font-size: 1.6rem;
  }

  /* Adapter la grille pour les tablettes */
  .desk__images {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .desk__image-wrapper--1 {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .desk__image-wrapper--2 {
    grid-column: 3 / span 1;
    grid-row: 1;
  }

  .desk__image-wrapper--3 {
    grid-column: 2 / span 2;
    grid-row: 2;
  }

  .desk__image-wrapper--4 {
    grid-column: 1 / span 1;
    grid-row: 2;
  }

  .desk__actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .desk__btn {
    margin-left: 0;
    margin-top: 1rem;
  }

  /* Section Réunions - Adaptation Flexbox */
  .meeting__title {
    font-size: 2.5rem;
    text-align: center;
  }

  .meeting__image-wrapper--2 {
    width: 50%;
    margin-top: -30px;
  }

  .meeting__price-badge {
    bottom: auto;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
  }

  .meeting__price-link {
    font-size: 0.9rem;
  }

  .meeting__actions {
    flex-wrap: wrap;
    /* justify-content: center; */
  }

  .meeting__btn {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  /* Section Événements */
  .event__title-h2 {
    font-size: 2.5rem;
    text-align: center;
  }

  .event__title-decoration {
    justify-content: center;
  }

  .event__highlight {
    font-size: 1.6rem;
  }

  .event__text {
    font-size: 1.1rem;
  }

  .event__image-grid {
    flex-direction: column;
  }

  .event__image-wrapper--2,
  .event__image-wrapper--3,
  .event__image-wrapper--4 {
    width: 100%;
  }

  .event__decorations {
    display: none;
  }

  /* Section Tarifs */
  .price__title {
    font-size: 2.5rem;
  }

  .price__cards {
    gap: 3rem;
  }

  .price__card {
    min-width: 250px;
    transform: none !important;
  }

  .price__card:hover,
  .price__card:focus-within {
    transform: translateY(-10px) !important;
  }

  /* Section Témoignages */
  .testimonials__title {
    font-size: 2.2rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  /* Section Contact */
  .contact__title {
    font-size: 2.5rem;
    text-align: center;
  }

  .contact__title-decoration {
    margin: 0 auto;
  }

  .contact__content {
    flex-direction: column;
  }

  .contact__form-container {
    max-width: 100%;
  }

  .contact__info {
    align-items: center;
  }

  .contact__vector {
    display: none;
  }

  /* Section Team */
  .team__title {
    font-size: 2.5rem;
  }

  .team__tagline {
    font-size: 2rem;
  }

  /* Footer */
  .footer__content {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav,
  .footer__contact-info,
  .footer__social {
    width: 100%;
  }

  .footer__menu-list {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer__social {
    justify-content: center;
    margin-top: 1.5rem;
  }

  .footer__legal .footer__container {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }
}

/* Modifications pour smartphones */
@media (max-width: 576px) {
  /* Variables */
  :root {
    --container-padding: 1rem;
  }

  /* Header */
  .header {
    padding: 1rem 0;
  }

  .header__logo-text {
    height: 2rem;
  }

  .header__logo-symbol {
    height: 1.8rem;
  }

  /* Hero */
  .hero {
    padding: 5rem 0 3rem;
  }

  .hero__title {
    font-size: 1.6rem;
  }

  .hero__service {
    font-size: 1.4rem;
  }

  .hero__images-row {
    height: 220px;
    gap: 8px;
  }

  .hero__image-wrapper {
    width: 70px;
    height: 180px;
  }

  .hero__image-wrapper--2,
  .hero__image-wrapper--4 {
    margin-top: 25px;
  }

  /* Section Bureaux - Passage à Flexbox pour mobile */
  .desk__title-h2 {
    font-size: 2.2rem;
  }

  .desk__text {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .desk__highlight {
    font-size: 1.4rem;
  }

  /* Sur mobile, on passe en colonne simple */
  .desk__images {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .desk__image-wrapper {
    width: 100%;
  }

  .desk__image-wrapper--1 {
    aspect-ratio: 16/9;
  }

  .desk__image-wrapper--2 {
    aspect-ratio: 16/10;
  }

  .desk__image-wrapper--3 {
    aspect-ratio: 16/9;
  }

  .desk__image-wrapper--4 {
    aspect-ratio: 16/9;
  }

  /* Section Réunions - Adaptation Flexbox pour mobile */
  .meeting {
    padding: 3rem 0;
  }

  .meeting__title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .meeting__content {
    flex-direction: column;
  }

  .meeting__text {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .meeting__highlight {
    font-size: 1.4rem;
  }

  .meeting__image-wrapper--2 {
    width: 50%;
    margin-top: -25px;
    margin-right: 10px;
  }

  .meeting__vector {
    top: 20px;
  }
  .meeting__price-badge {
    width: 50px;
    height: 50px;
    top: 300px;
    left: 30px;
  }

  .meeting__price-link {
    font-size: 0.8rem;
  }

  /* Section Événements */
  .event__title-h2 {
    font-size: 2.2rem;
  }

  .event__highlight {
    font-size: 1.4rem;
  }

  .event__text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .event__capacity-svg {
    max-width: 200px;
  }

  /* Section Tarifs */
  .price {
    padding: 0;
  }

  .price__title {
    font-size: 2.2rem;
  }

  .price__intro {
    font-size: 1rem;
  }

  .price__card {
    max-width: 100%;
    width: 100%;
  }

  .price__card-content {
    padding: 2rem 1.5rem;
  }

  .price__card-title {
    font-size: 1.6rem;
  }

  .price__card-amount {
    font-size: 2.2rem;
  }

  .price__card-description {
    font-size: 1rem;
  }

  /* Section Témoignages */
  .testimonials {
    padding: 3rem 0;
  }

  .testimonials__title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .testimonial__text {
    font-size: 1.1rem;
  }

  /* Section Contact */
  .contact__title {
    font-size: 2.2rem;
  }

  .contact__form {
    gap: 1rem;
  }

  .contact__input,
  .contact__textarea {
    padding: 0.8rem 1.2rem;
  }

  .contact__textarea {
    min-height: 120px;
  }

  .contact__image {
    max-width: 100%;
  }

  .contact__phone-number {
    font-size: 1.5rem;
  }

  /* Section Team */
  .team {
    padding: 3rem 0 1rem;
  }

  .team__title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }

  .team__member {
    flex: 0 1 100%;
  }

  .team__tagline {
    font-size: 1.8rem;
  }

  .team__text {
    font-size: 1rem;
  }

  /* Footer */
  .footer__container {
    padding: 3rem 1.5rem;
  }

  .footer__menu-list {
    gap: 0.75rem;
  }

  .footer__menu-link {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}

/* Modifications pour très petits écrans */
@media (max-width: 375px) {
  /* Header */
  .header__logo-text {
    height: 1.8rem;
  }

  .header__logo-symbol {
    display: none;
  }

  /* Hero */
  .hero__title {
    font-size: 1.4rem;
  }

  .hero__service {
    font-size: 1.3rem;
  }

  .hero__images-row {
    height: 180px;
  }

  .hero__image-wrapper {
    width: 60px;
    height: 150px;
  }

  /* Section Bureaux - Ajustements pour petits écrans */
  .desk__title-h2 {
    font-size: 1.8rem;
  }

  .desk__text {
    font-size: 1rem;
  }

  .desk__highlight {
    font-size: 1.2rem;
  }

  .desk__images {
    gap: 10px;
  }

  /* Section Réunions - Ajustements pour petits écrans */
  .meeting__title {
    font-size: 1.8rem;
  }

  .meeting__highlight {
    font-size: 1.2rem;
  }

  .meeting__text {
    font-size: 1rem;
  }

  .meeting__image-wrapper--2 {
    width: 35%;
    margin-top: -20px;
    margin-right: 5px;
  }

  .meeting__vector {
    display: none;
  }

  /* Section Événements */
  .event__title-h2 {
    font-size: 1.8rem;
  }

  .event__highlight {
    font-size: 1.2rem;
  }

  .event__capacity-svg {
    max-width: 160px;
  }

  /* Section Tarifs */
  .price__title {
    font-size: 1.8rem;
  }

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

  .price__card-amount {
    font-size: 2rem;
  }

  /* Section Témoignages */
  .testimonials__title {
    font-size: 1.8rem;
  }

  .testimonial__text {
    font-size: 1rem;
  }

  /* Section Contact */
  .contact__title {
    font-size: 1.8rem;
  }

  .contact__phone-number {
    font-size: 1.3rem;
  }

  /* Section Team */
  .team__title {
    font-size: 1.8rem;
  }

  .team__tagline {
    font-size: 1.5rem;
  }

  /* Correction pour les téléphones très étroits */
  .mobile-nav__link {
    font-size: 1.3rem;
    padding: 0.8rem;
  }

  .mobile-nav__list {
    margin: 2rem 0;
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }
}
