/* ==========================================================================
   NEOWORKING - Styles pour la page Bureaux (version complète)
   Version: 2.0
   ========================================================================== */

/* --------------------------------------------------- */
/* ANIMATIONS DE BASE */
/* --------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ces délais seront appliqués via data-delay=1, data-delay=2, etc. */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* --------------------------------------------------- */
/* Section HERO */
/* --------------------------------------------------- */
.desk-hero {
  position: relative;
  background-color: var(--color-dark);
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  color: var(--color-white);
  overflow: hidden;
}

.desk-hero__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
}

.desk-hero__content {
  flex: 1;
  max-width: 600px;
}

.desk-hero__title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.desk-hero__highlight {
  position: relative;
  display: inline;
}

.desk-hero__highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: currentColor;
  opacity: 0.1;
  z-index: -1;
}

.desk-hero__highlight--yellow {
  color: var(--color-yellow);
}

.desk-hero__highlight--orange {
  color: var(--color-orange);
}

.desk-hero__highlight--pink {
  color: var(--color-pink);
}

.desk-hero__subtitle {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.desk-hero__actions {
  display: flex;
  gap: 1.5rem;
}

.desk-hero__image {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.desk-hero__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-large);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}

.desk-hero__img:hover {
  transform: rotate(0) scale(1.02);
}

/* --------------------------------------------------- */
/* Section INTRODUCTION */
/* --------------------------------------------------- */
.desk-intro {
  background: linear-gradient(to bottom, var(--color-dark) 0%, var(--color-dark-65) 100%);
  padding: 5rem 0;
  color: var(--color-white);
}

.desk-intro__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.desk-intro__content {
  flex: 2;
  max-width: 700px;
}

.desk-intro__title-wrapper {
  margin-bottom: 2rem;
  position: relative;
}

.desk-intro__title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.desk-intro__title-decoration {
  margin-top: -1rem;
  display: flex;
  max-width: 200px;
}

.desk-intro__title-decoration img {
  width: 100%;
  height: auto;
}

.desk-intro__text {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.desk-intro__highlight {
  position: relative;
  display: inline;
}

.desk-intro__highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: currentColor;
  opacity: 0.1;
  z-index: -1;
}

.desk-intro__highlight--yellow {
  color: var(--color-yellow);
}

.desk-intro__highlight--orange {
  color: var(--color-orange);
}

.desk-intro__highlight--pink {
  color: var(--color-pink);
}

.desk-intro__stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  max-width: 350px;
}

.desk-stat-item {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-large);
  background-color: rgba(30, 30, 30, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.desk-stat-item:nth-child(1) {
  border: 2px solid var(--color-yellow);
}

.desk-stat-item:nth-child(2) {
  border: 2px solid var(--color-orange);
}

.desk-stat-item:nth-child(3) {
  border: 2px solid var(--color-pink);
}

.desk-stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.desk-stat-number {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.desk-stat-item:nth-child(1) .desk-stat-number {
  color: var(--color-yellow);
}

.desk-stat-item:nth-child(2) .desk-stat-number {
  color: var(--color-orange);
}

.desk-stat-item:nth-child(3) .desk-stat-number {
  color: var(--color-pink);
}

.desk-stat-label {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  opacity: 0.9;
}

/* --------------------------------------------------- */
/* Section TYPES DE BUREAUX */
/* --------------------------------------------------- */
.desk-types {
  background: linear-gradient(to bottom, var(--color-dark-65) 0%, var(--color-dark-45) 100%);
  padding: 5rem 0;
  color: var(--color-white);
}

.desk-types__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.desk-types__header {
  text-align: center;
  margin-bottom: 4rem;
}

.desk-types__title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.desk-types__subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.desk-types__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.desk-type-card {
  background-color: var(--color-dark-30);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.desk-type-card--yellow {
  border: 2px solid var(--color-yellow);
}

.desk-type-card--pink {
  border: 2px solid var(--color-pink);
}

.desk-type-card--orange {
  border: 2px solid var(--color-orange);
}

.desk-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.desk-type-card__image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.desk-type-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.desk-type-card:hover .desk-type-card__image img {
  transform: scale(1.05);
}

.desk-type-card__content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.desk-type-card__title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.desk-type-card--yellow .desk-type-card__title {
  color: var(--color-yellow);
}

.desk-type-card--pink .desk-type-card__title {
  color: var(--color-pink);
}

.desk-type-card--orange .desk-type-card__title {
  color: var(--color-orange);
}

.desk-type-card__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.desk-type-card__features {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.desk-type-card__features li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  position: relative;
}

.desk-type-card__features li::before {
  content: '•';
  position: absolute;
  left: -1.2rem;
  font-size: 1.2rem;
}

.desk-type-card--yellow .desk-type-card__features li::before {
  color: var(--color-yellow);
}

.desk-type-card--pink .desk-type-card__features li::before {
  color: var(--color-pink);
}

.desk-type-card--orange .desk-type-card__features li::before {
  color: var(--color-orange);
}

.desk-type-card__price {
  margin: 1.5rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.desk-type-card__price-amount {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 2.5rem;
}

.desk-type-card--yellow .desk-type-card__price-amount {
  color: var(--color-yellow);
}

.desk-type-card--pink .desk-type-card__price-amount {
  color: var(--color-pink);
}

.desk-type-card--orange .desk-type-card__price-amount {
  color: var(--color-orange);
}

.desk-type-card__price-period {
  font-size: 0.9rem;
  opacity: 0.7;
}

.desk-type-card__btn {
  /* margin-top: auto; */
  width: 100%;
}

/* --------------------------------------------------- */
/* Section ABOUT ILIADE */
/* --------------------------------------------------- */
.desk-about {
  background: linear-gradient(to bottom, var(--color-dark-45) 0%, var(--color-dark-30) 100%);
  padding: 4rem 0;
  color: var(--color-white);
  position: relative;
}

.desk-about__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.desk-about__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.desk-about__title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.desk-about__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--color-blue);
}

.desk-about__text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.desk-about__cta {
  margin-top: 2.5rem;
}

/* --------------------------------------------------- */
/* Section ÉQUIPEMENTS */
/* --------------------------------------------------- */
.desk-features {
  background: linear-gradient(to bottom, var(--color-dark-30) 0%, var(--color-dark-15) 100%);
  padding: 5rem 0;
  color: var(--color-white);
  position: relative;
}

.desk-features__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.desk-features__header {
  margin-bottom: 4rem;
  position: relative;
  text-align: center;
}

.desk-features__title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.desk-features__title-decoration {
  display: flex;
  justify-content: center;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.desk-features__title-decoration img {
  width: 200px;
  height: auto;
  transform: rotate(2deg);
}

.desk-features__subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.desk-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.desk-feature {
  background-color: rgba(30, 30, 30, 0.2);
  border-radius: var(--radius-large);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
  height: 100%;
}

.desk-feature:nth-child(4n + 1) {
  border-color: var(--color-yellow);
}

.desk-feature:nth-child(4n + 2) {
  border-color: var(--color-orange);
}

.desk-feature:nth-child(4n + 3) {
  border-color: var(--color-pink);
}

.desk-feature:nth-child(4n + 4) {
  border-color: var(--color-blue);
}

.desk-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.desk-feature__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-dark);
}

.desk-feature__icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
}

.desk-feature:nth-child(4n + 1) .desk-feature__icon svg {
  stroke: var(--color-yellow);
}

.desk-feature:nth-child(4n + 2) .desk-feature__icon svg {
  stroke: var(--color-orange);
}

.desk-feature:nth-child(4n + 3) .desk-feature__icon svg {
  stroke: var(--color-pink);
}

.desk-feature:nth-child(4n + 4) .desk-feature__icon svg {
  stroke: var(--color-blue);
}

.desk-feature__title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.desk-feature:nth-child(4n + 1) .desk-feature__title {
  color: var(--color-yellow);
}

.desk-feature:nth-child(4n + 2) .desk-feature__title {
  color: var(--color-orange);
}

.desk-feature:nth-child(4n + 3) .desk-feature__title {
  color: var(--color-pink);
}

.desk-feature:nth-child(4n + 4) .desk-feature__title {
  color: var(--color-white);
}

.desk-feature__description {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* --------------------------------------------------- */
/* Section CTA */
/* --------------------------------------------------- */
.desk-cta {
  background-color: var(--color-blue);
  padding: 5rem 0;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.desk-cta__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  gap: 4rem;
  position: relative;
}

.desk-cta__content {
  flex: 1;
  max-width: 600px;
}

.desk-cta__title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.desk-cta__text {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.desk-cta__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.desk-cta__btn {
  font-size: 1rem;
  padding: 1rem 2rem;
}

.desk-cta__phone {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.desk-cta__phone:hover {
  transform: translateY(-3px);
}

.desk-cta__phone-icon {
  width: 36px;
  height: 36px;
}

.desk-cta__phone-icon img {
  width: 100%;
  height: 100%;
}

.desk-cta__phone-number {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--color-yellow);
}

.desk-cta__image {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.desk-cta__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-large);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------- */
/* Section MAP */
/* --------------------------------------------------- */
.desk-map {
  background: linear-gradient(to bottom, var(--color-dark-15) 0%, var(--color-transparent) 100%);
  padding: 5rem 0;
  color: var(--color-white);
}

.desk-map__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.desk-map__header {
  text-align: center;
  margin-bottom: 3rem;
}

.desk-map__title {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.desk-map__subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.desk-map__content {
  display: flex;
  gap: 3rem;
}

.desk-map__wrapper {
  flex: 2;
  height: 400px;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.desk-map__iframe {
  border: none;
  width: 100%;
  height: 100%;
}

.desk-map__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: rgba(30, 30, 30, 0.3);
  border-radius: var(--radius-large);
  justify-content: center;
}

.desk-map__address,
.desk-map__contact,
.desk-map__transport {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.desk-map__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background-color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.desk-map__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-white);
}

.desk-map__text {
  flex: 1;
}

.desk-map__label {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-yellow);
}

.desk-map__details {
  font-size: 1rem;
  line-height: 1.5;
}

.desk-map__details a {
  color: var(--color-white);
  transition: color 0.3s ease;
}

.desk-map__details a:hover {
  color: var(--color-yellow);
}

/* Classe pour le menu actif */
.header__nav-link--active {
  color: var(--color-blue);
}

.header__nav-link--active::after {
  width: 100%;
}

/* Effet parallaxe léger */
.parallax {
  transition: transform 0.1s ease-out;
}

/* --------------------------------------------------- */
/* MEDIA QUERIES */
/* --------------------------------------------------- */

/* TABLETTE (768px à 991px) */
@media (max-width: 991px) {
  .desk-hero__title {
    font-size: 3rem;
  }

  .desk-hero__container,
  .desk-intro__container,
  .desk-cta__container,
  .desk-map__content {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }

  .desk-hero__content,
  .desk-intro__content,
  .desk-intro__stats,
  .desk-cta__content,
  .desk-cta__image,
  .desk-map__wrapper,
  .desk-map__info {
    max-width: 100%;
  }

  .desk-hero__actions {
    justify-content: center;
  }

  .desk-intro__title {
    font-size: 2.7rem;
    text-align: center;
  }

  .desk-intro__title-decoration {
    justify-content: center;
    margin: 0 auto;
  }

  .desk-intro__text {
    text-align: center;
  }

  .desk-intro__stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .desk-stat-item {
    flex: 1;
    min-width: 220px;
  }

  .desk-types__title,
  .desk-features__title,
  .desk-cta__title,
  .desk-about__title,
  .desk-map__title {
    font-size: 2.7rem;
  }

  .desk-feature__title {
    font-size: 1.3rem;
  }

  .desk-features__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .desk-cta__actions {
    justify-content: center;
  }

  .desk-map__wrapper {
    height: 300px;
  }
}

/* MOBILE (360px à 767px) */
@media (max-width: 767px) {
  .desk-hero {
    padding-top: 6rem;
    min-height: auto;
  }

  .desk-hero__title {
    font-size: 2.5rem;
    text-align: center;
  }

  .desk-hero__subtitle {
    font-size: 1.2rem;
    text-align: center;
  }

  .desk-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .desk-hero__actions .btn {
    width: 100%;
  }

  .desk-intro__title,
  .desk-types__title,
  .desk-features__title,
  .desk-cta__title,
  .desk-about__title,
  .desk-map__title {
    font-size: 2.2rem;
  }

  .desk-intro__stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .desk-stat-item {
    min-width: 100%;
    padding: 1.5rem;
  }

  .desk-intro__text {
    font-size: 1.1rem;
  }

  .desk-types__grid {
    grid-template-columns: 1fr;
  }

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

  .desk-feature__icon {
    width: 50px;
    height: 50px;
  }

  .desk-feature__icon svg {
    width: 25px;
    height: 25px;
  }

  .desk-cta__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .desk-cta__btn {
    width: 100%;
  }

  .desk-map__wrapper {
    height: 250px;
  }

  .desk-map__info {
    padding: 1.5rem;
  }

  .desk-map__icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }

  .desk-map__icon svg {
    width: 15px;
    height: 15px;
  }

  .desk-map__label {
    font-size: 1.1rem;
  }

  .desk-about__text {
    font-size: 1.1rem;
  }
}

/* TRÈS PETIT MOBILE (moins de 360px) */
@media (max-width: 359px) {
  .desk-hero__title {
    font-size: 2rem;
  }

  .desk-hero__subtitle {
    font-size: 1rem;
  }

  .desk-hero__img {
    transform: none;
  }

  .desk-intro__title,
  .desk-types__title,
  .desk-features__title,
  .desk-cta__title,
  .desk-about__title,
  .desk-map__title {
    font-size: 1.8rem;
  }

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

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

  .desk-type-card__title {
    font-size: 1.5rem;
  }

  .desk-feature__title {
    font-size: 1.2rem;
  }

  .desk-cta__phone-number {
    font-size: 1.3rem;
  }

  .desk-map__wrapper {
    height: 200px;
  }
}
