/* Why Choose Intersport Section */
.why-choose {
    padding: 1rem 0;
    background: white;
}

.section-subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: #e30f1b;
    margin-bottom: 1rem;
    font-style: italic;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.reason-item {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 2rem;
    align-items: center;
}

.reason-image {
    text-align: center;
}

.reason-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.reason-text h3 {
    font-size: 1.5rem;
    color: rgb(17, 30, 100);
    margin-bottom: 1rem;
    font-weight: 500;
}

.reason-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.discover-link {
    display: inline-flex;
    align-items: center;
    color: rgb(17, 30, 100);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}

.discover-link:hover {
    color: #e30f1b;
    transform: translateX(5px);
}

.discover-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left 0.3s;
}

.discover-link:hover::after {
    margin-left: 0.8rem;
}

/* Offer Banner */
.offer-banner {
    background: rgb(17, 30, 100);
    color: white;
    text-align: center;
    padding: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.offer-banner i {
    margin-right: 0.5rem;
}

/* Features Section */
.features {
    padding: 20px 0px 100px 0px;
    background: #f8f9fa;
    border-radius: 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e3c72;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    row-gap: 6rem;
    align-items: stretch;
}

.feature-card {
    background: white;
    padding: 2rem 2rem 2rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 90%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-header-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0rem;
    color: #1e3c72;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.feature-link {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #246dcd;
  background-color: #ffffff;
  border: 1px solid #246dcd;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.feature-link:hover {
  background-color: #f5f5f5;
  color: #246dcd;
  transform: translateY(-2px);
  border: 1px solid #164196;
}

.feature-icon {
    width: 3rem;
    height: auto;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e3c72;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Services Section */
.service {
    padding: 4rem 0;
    background: #ffffff;
}

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

.service-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #246dcd;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.service-item h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.service-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    object-fit: contain;
    vertical-align: text-top;
}

/* Brands Section */
.brands {
    padding: 4rem 0;
    background: #ffffff;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.brand-item {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.brand-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: filter 0.3s;
}

.brand-item:hover .brand-logo {
    filter: grayscale(0);
}

/* Image Banner Section */
.image-banner {
    padding: 2rem 0;
    background: white;
}

.banner-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Customer Reviews Section */
.reviews {
    padding: 4rem 0;
    background: #f8f9fa;
    border-radius: 40px;
}

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

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.review-stars i {
  color: #ffc107;
  font-size: 1.2rem;
}

.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-author {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.author-name {
  font-weight: 600;
  color: #1e3c72;
  margin-top: auto;
}

.reviews-cta {
    text-align: center;
}
.reviews-cta-grid {
  grid-column: 1 / -1; /* Étend sur toute la largeur de la grille */
  text-align: center;
  margin-top: 4rem;
}

.reviews-button {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #246dcd;
  background-color: #ffffff;
  border: 1px solid #246dcd;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.reviews-button:hover {
  background-color: #f5f5f5;
  color: #246dcd;
  transform: translateY(-2px);
}

/* Responsive - Mobile adjustments */
@media screen and (max-width: 767px) {
  .features-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .feature-card {
    width: 90%;
    max-width: 400px;
  }

  .reasons-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .reason-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .reason-image {
    margin-bottom: 1rem;
    width: 100%;
  }

  .reason-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  }

  .reason-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e3c72;
  }

  .reason-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
  }


  .features {
    padding: 20px 0px 40px 0px;
    background: #f8f9fa;
    border-radius: 40px;
}
}

/* Responsive – Logos marques en colonne sur mobile */
@media screen and (max-width: 767px) {
  .brands-grid {
    grid-template-columns: 1fr; /* une seule colonne */
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
  }

  .brand-item {
    justify-content: center;
  }

  .brand-logo {
    max-width: 200px;
  }
}

/*** Sélecteur de langue 2025 ***/

.language-selector {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: absolute;
    top: 0 !important;
    right: 0 !important;
    z-index: 999 !important;
}

@media screen and (max-width: 767px) {
    .language-selector {
        top: -50px !important;
        right: 0 !important;
    }
}

.language-selector li {
    display: inline-flex !important;
}

.language-btn {
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    background: transparent !important;
    border: none !important;
    color: rgb(17, 30, 100) !important;
    cursor: pointer !important;
    padding: 0.3rem 0.5rem !important;
    border-radius: 4px !important;
    transition: background 0.3s ease !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
}

.language-btn:hover {
    background: rgba(17, 30, 100, 0.1) !important;
}

.language-btn.active {
    background: rgba(17, 30, 100, 0.15) !important;
}

.language-selector li:not(:last-child) {
    margin-right: 0.2rem !important;
}

.flag {
    width: 20px !important;
    height: 19px !important;
    border-radius: 2px !important;
    object-fit: cover !important;
    display: block !important;
    margin-right: 0.1rem !important;
}

/*** Bloc Horaires ***/

/* Bloc Horaires */
.horaires-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.horaires .service-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.horaires .service-item h3 {
  font-size: 1.4rem;
  color: #1e3c72;
  margin-bottom: 1rem;
  text-align: center;
}

.horaires-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.horaires-list li {
  font-size: 1rem;
  color: #555;
  padding: 0.4rem 0;
}

.horaires-list li strong {
  color: #111e64;
}

.horaires .service-item h3 i {
  color: #246dcd;
  margin-right: 0.5rem;
}

/* Mobile: une colonne */
@media screen and (max-width: 767px) {
  .horaires-grid {
    grid-template-columns: 1fr;
  }
}

/* Bloc Coordonnées */
.contact .service-item {
  text-align: center;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.contact .service-item h3 {
  font-size: 1.3rem;
  color: #1e3c72;
  margin-bottom: 0.8rem;
}

.contact .service-item h3 i {
  color: #246dcd;
  margin-right: 0.5rem;
}

.contact .service-item p a {
  color: #111e64;
  font-weight: 600;
  text-decoration: none;
}

.contact .service-item p a:hover {
  text-decoration: underline;
}

/* Par défaut : image cachée sur desktop */
.img-mobile-only {
  display: none;
}

/* Logo Sur mobile uniquement (max 767px par ex.) */
@media screen and (max-width: 767px) {
  .img-mobile-only {
    display: block;
    max-width: 100%;   /* pour qu’elle ne dépasse pas */
    height: auto;
    margin: 1rem auto;
  }
}