/* home-page.css — Styles non-critiques de la page d'accueil (sections sous la ligne de flottaison).
   Chargé de manière asynchrone (preload + swap) pour ne pas bloquer le rendu initial.
   Eléonore Peigné | rdv-osteopathe-nantes.fr */

    /* Sections */
    .section {
      padding: 4rem 2rem;
      max-width: 1200px;
      margin: 0 auto;
	  scroll-margin-top: 80px; /* Hauteur de votre navigation */
    }

    .section h2,
    .infos-section-inner h2,
    .faq-container h2,
    .presentation-container h2 {
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      color: #2c5aa0;
      margin-bottom: 2rem;
      text-align: center;
      position: relative;
    }

    .section h2::after,
    .infos-section-inner h2::after,
    .faq-container h2::after,
    .presentation-container h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background: #28a745;
      border-radius: 2px;
    }

    /* Motifs de consultation */
    .motifs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }

    .motif-card {
      background: #fff;
      border-radius: 15px;
      padding: 2rem;
      box-shadow: 0 5px 25px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      border: 1px solid #f0f4f8;
    }

    .motif-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 35px rgba(0,0,0,0.15);
    }

    .motif-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
      display: block;
    }

    .motif-card h3 {
      color: #2c5aa0;
      font-size: 1.3rem;
      margin-bottom: 1rem;
    }

    .motif-card p {
      color: #333333;
      line-height: 1.6;
    }

    /* Infos pratiques */
    .infos-section {
      background: #f8f9fa;
      padding: 4rem 2rem;
      scroll-margin-top: 80px;
    }

    .infos-section-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .infos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .info-block {
      background: white;
      padding: 2rem;
      border-radius: 15px;
      box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    }

    .info-block h3 {
      color: #2c5aa0;
      font-size: 1.2rem;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .info-block .icon {
      font-size: 1.5rem;
    }

    .horaires-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1rem;
    }

    .horaires-table td {
      padding: 0.5rem 0;
      border-bottom: 1px solid #eee;
    }

    .horaires-table td:first-child {
      font-weight: 500;
      color: #2c5aa0;
    }

    .paiement-list {
      list-style: none;
      margin-top: 1rem;
    }

    .paiement-list li {
      padding: 0.3rem 0;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .contact-info {
      margin-top: 1rem;
    }

    .contact-info p {
      margin: 0.5rem 0;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .contact-info a {
      color: #2c5aa0;
      text-decoration: none;
      font-weight: 500;
    }

    .contact-info a:hover {
      text-decoration: underline;
    }

    /* Footer */
    footer {
      background: #2c5aa0;
      color: white;
      text-align: center;
      padding: 2rem;
      margin-top: 4rem;
    }

    footer a {
      color: #d6e8ff;
	  text-decoration: underline; /* Toujours visible */
		border-bottom: 1px solid transparent;
		transition: all 0.3s ease;
    }

    footer a:hover {
      text-decoration: underline;
    }



	/* Styles pour le carousel d'avis Google */

.avis-section {
  background: #fff;
  padding: 4rem 2rem;
  border-bottom: 1px solid #e8eaed;
}

.avis-carousel-container {
  max-width: 600px;
  margin: 0 auto;
}

.avis-carousel {
  position: relative;
  overflow: hidden;
}

.avis-card {
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 20px;
  display: none;
  box-shadow: 0 1px 6px rgba(32,33,36,.28);
  transition: all 0.3s ease;
}

.avis-card.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

.avis-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4285f4;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  flex-shrink: 0;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 500;
  color: #202124;
  font-size: 14px;
  line-height: 20px;
}

.avis-date {
  color: #5f6368;
  font-size: 12px;
  line-height: 16px;
}

.avis-stars {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.star {
  color: #fbbc04;
  font-size: 16px;
  line-height: 1;
}

.star.filled {
  color: #fbbc04;
}

.avis-content {
  margin-top: 8px;
}

.avis-text {
  color: #202124;
  font-size: 14px;
  line-height: 20px;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.nav-btn {
  background: #fff;
  border: 1px solid #dadce0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6368;
}

.nav-btn:hover {
  background: #f8f9fa;
  border-color: #dadce0;
  box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
}

.nav-btn:active {
  background: #f1f3f4;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

/* Grille multi-cartes sur desktop : toutes les cartes visibles, carrousel désactivé */
@media (min-width: 1046px) {
  .avis-carousel-container {
    max-width: 1100px;
  }

  .avis-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    overflow: visible;
  }

  .avis-card {
    display: flex !important;
    flex-direction: column;
    animation: none !important;
  }

  .carousel-nav {
    display: none;
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dadce0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.active {
  background: #4285f4;
}

.dot:hover {
  background: #5f6368;
}

.avis-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e8eaed;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-text {
  color: #5f6368;
  font-size: 14px;
}

.google-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #1a73e8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.google-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
  text-decoration: none;
}


/* Styles pour la section présentation */
.presentation-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 2rem;
  scroll-margin-top: 80px;
}

.presentation-container {
  max-width: 1000px;
  margin: 0 auto;
}

.presentation-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: stretch;
  margin-top: 2rem;
}

.presentation-image {
  display: flex;
  justify-content: center;
}

.presentation-header {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.presentation-header h3 {
  color: #2c5aa0;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.presentation-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 0;
}

.qualifications {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.qualification-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.qualification-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.qualification-icon-img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: cover;
}

.qualification-item h4 {
  color: #2c5aa0;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.qualification-item p {
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.presentation-photo {
  width: 100%;
  max-width: 380px;
  height: 100%;
  min-height: 380px;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
  transition: all 0.3s ease;
}

.presentation-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(44, 90, 160, 0.2);
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(8px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Styles pour la section FAQ */
.faq-section {
  background: #fff;
  padding: 4rem 2rem;
  scroll-margin-top: 80px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-intro {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c5aa0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question:focus {
  outline: 2px solid #2c5aa0;
  outline-offset: -2px;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: #28a745;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #fff;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 1.5rem 2rem;
}

.faq-answer-content {
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
}

.faq-answer-content p {
  margin-bottom: 1rem;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content strong {
  color: #2c5aa0;
  font-weight: 600;
}

.faq-answer-content a {
  color: #1a6e2d;
  text-decoration: none;
  font-weight: 500;
}

.faq-answer-content a:hover {
  text-decoration: underline;
}

/* Animation d'entrée retirée : elle se déclenchait automatiquement au chargement
   (sans interaction utilisateur), ce qui est intégralement comptabilisé dans le CLS. */


    /* Responsive */
    @media (max-width: 1045px) {

  .faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.2rem 1.5rem;
  }
  
  .faq-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
      .section {
        padding: 3rem 1rem;
      }

      .infos-section,
      .faq-section,
      .presentation-section {
        padding: 3rem 1rem;
      }
	  
	  .avis-section {
    padding: 3rem 1rem;
  }
  
  .avis-carousel-container {
    max-width: 100%;
  }
  
  .avis-card {
    padding: 16px;
    margin: 0 8px;
  }
  
  .avis-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .user-info {
    width: 100%;
  }
  
  .avis-stars {
    align-self: flex-start;
  }
  
  .avis-footer {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .carousel-nav {
    gap: 12px;
  }
  
  .presentation-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .presentation-header {
    max-width: 100%;
    text-align: center;
  }

  .qualification-item {
    text-align: left;
  }
  
  .presentation-photo {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
    object-position: center 35%;
  }
  
    }
	
@media (max-width: 480px) {


 /* NOUVEAU : Menu pleine largeur sur très petit écran */
  nav {
    width: 100%;
    right: -100%;
  }

.logo {
    height: 30px;
  }

.faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 1rem 1rem 1rem;
  }
  
  .faq-answer-content {
    font-size: 0.9rem;
  }
  
  .avis-header {
    gap: 8px;
  }
  
  .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .carousel-dots {
    gap: 6px;
  }
  
  .dot {
    width: 6px;
    height: 6px;
  }
  
  .qualifications {
    gap: 1rem;
  }
  
  .qualification-item {
    padding: 1rem;
  }
  
  .presentation-photo {
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: center 35%;
  }

}

  /* OPTION 1 : Bouton style principal (recommandé) */
.motifs-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #2c5aa0;
  color: white !important;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(44, 90, 160, 0.3);
  margin-top: 1rem;
}

.motifs-cta-button:hover {
  background: #1a4480;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(44, 90, 160, 0.4);
  color: white !important;
}
.avis-authenticity-notice {
  text-align: center;
  margin: 1.5rem auto 3rem auto;
  max-width: 500px;
}

.avis-authenticity-notice p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  font-style: italic;
}

@media (max-width: 768px) {
  .avis-authenticity-notice {
    margin: 1rem auto 2rem auto;
  }
  
  .avis-authenticity-notice p {
    font-size: 0.85rem;
  }
}
  .map-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .map-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
  }

  .map-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
  }

  


  .map-placeholder {
    position: relative;
    width: 100%;
    height: 450px;
    cursor: pointer;
  }

  .map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

.load-map-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #2c5aa0;
  color: white;
  text-decoration: none; /* Pas de soulignement */
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
}

.load-map-button:hover {
  background-color: #234a80;
  transform: translate(-50%, -50%) scale(1.05);
  text-decoration: none; /* Toujours pas de soulignement au survol */
}

  #map-iframe-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
  }

  .map-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
  }

  .info-item {
    text-align: center;
    color: #555;
  }

  .info-item a {
    color: #4285f4;
    text-decoration: none;
  }

  .info-item a:hover {
    text-decoration: underline;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .map-section {
      padding: 40px 15px;
    }

    .map-section h2 {
      font-size: 1.5rem;
    }

    .map-placeholder {
      height: 350px;
    }

    #map-iframe-container iframe {
      height: 350px;
    }

    .load-map-button {
      font-size: 14px;
      padding: 12px 24px;
    }

    .map-info {
      flex-direction: column;
      text-align: center;
    }
  }
  
  /* Carte Google Maps pleine largeur */
.map-wrapper {
  margin-top: 2rem;
  grid-column: 1 / -1; /* Au cas où elle reste dans la grid */
  width: 100%;
}

.map-wrapper .map-placeholder {
  position: relative;
  width: 100%;
  height: 450px;
  cursor: pointer;
  border-radius: 15px;
  overflow: hidden;
}

.map-wrapper .map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-wrapper .load-map-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #2c5aa0; /* Même couleur que vos titres */
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
  transition: all 0.3s ease;
}

.map-wrapper .load-map-button:hover {
  background-color: #234a80;
  transform: translate(-50%, -50%) scale(1.05);
}

.map-wrapper #map-iframe-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
  border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .map-wrapper .map-placeholder,
  .map-wrapper #map-iframe-container iframe {
    height: 350px;
  }
}
/* ── Section motifs ── */
.motifs-section {
  background: #f8f9fa;
  padding: 4rem 2rem;
}

.motifs-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.motifs-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.motifs-section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: #2c5aa0;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.motifs-section-header p {
  color: #666;
  font-size: 1rem;
}

/* Grille 3 colonnes */
.motifs-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 2rem;
}

/* Carte standard */
.motif-card-v2 {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8edf4;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.motif-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(44, 90, 160, 0.10);
  border-color: #c0d0ea;
}

/* Carte urgence */
.motif-card-v2.urgence {
  border: 1.5px solid #e07040;
  background: #fff9f7;
}

.motif-card-v2.urgence:hover {
  box-shadow: 0 8px 24px rgba(224, 112, 64, 0.15);
  border-color: #c85a28;
}

/* En-tête de carte */
.motif-card-v2-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.motif-card-v2-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.motif-card-v2-icon.blue   { background: #e8f0fb; }
.motif-card-v2-icon.purple { background: #f0ecfb; }
.motif-card-v2-icon.teal   { background: #e4f5f0; }
.motif-card-v2-icon.pink   { background: #fbeaf4; }
.motif-card-v2-icon.yellow { background: #fef9e8; }
.motif-card-v2-icon.green  { background: #e8f5ec; }
.motif-card-v2-icon.orange { background: #fff0e8; }
.motif-card-v2-icon.gray   { background: #f2f2f4; }

.motif-card-v2-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a3a6e;
  line-height: 1.3;
}

/* Tags */
.motif-card-v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.motif-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: #f0f4f8;
  color: #4a6fa5;
  border: 1px solid #d8e4f0;
  white-space: nowrap;
}

.motif-tag.urgence {
  background: #fff0e8;
  color: #b04010;
  border-color: #f0c4aa;
}

/* Badge urgence */
.urgence-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #a03010;
  background: #fdecea;
  border: 1px solid #f0b0a0;
  border-radius: 20px;
  padding: 2px 9px;
  width: fit-content;
}

/* Lien bas de carte */
.motif-card-v2-link {
  font-size: 0.8rem;
  color: #2c5aa0;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 4px;
  font-weight: 500;
}

.motif-card-v2.urgence .motif-card-v2-link {
  color: #b04010;
}

.motif-card-v2-link::after {
  content: "→";
  transition: transform 0.15s ease;
}

.motif-card-v2:hover .motif-card-v2-link::after {
  transform: translateX(3px);
}

/* CTA row */
.motifs-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive tablette */
@media (max-width: 900px) {
  .motifs-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive mobile */
@media (max-width: 540px) {
  .motifs-section {
    padding: 3rem 1rem;
  }
  .motifs-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Derniers articles */
.articles-section {
  background: #fff;
}

.articles-intro {
  color: #666;
  margin-top: -1.2rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.article-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #dde3ec;
  box-shadow: 0 1px 3px rgba(30, 41, 59, 0.06), 0 1px 2px rgba(30, 41, 59, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(44, 90, 160, 0.10);
}

.article-card a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 1.3rem 1.4rem;
  text-decoration: none;
  color: inherit;
}

.article-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.article-card-icon.blue   { background: #e8f0fb; }
.article-card-icon.pink   { background: #fbeaf4; }
.article-card-icon.purple { background: #f0ecfb; }

.article-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #185fa5;
  background: #e6f1fb;
  padding: 3px 10px;
  border-radius: 50px;
}

.article-card h3 {
  font-size: 1.05rem;
  color: #2c5aa0;
  line-height: 1.35;
}

.article-card p {
  font-size: 0.9rem;
  color: #5c6259;
  line-height: 1.5;
}

.article-card-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: #1a6e2d;
  margin-top: 4px;
}

.articles-see-all-row {
  text-align: center;
}

.articles-see-all {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c5aa0;
  text-decoration: none;
  border-bottom: 2px solid #2c5aa0;
  padding-bottom: 2px;
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}