/* ========================================
   CSS COMPLET OPTIMISÉ - ThéMatcha.fr
   ======================================== */

/* Variables optimisées */
:root {
  --primary-color: #2c5f2d;
  --primary-dark: #1a3d1b;
  --secondary-color: #7fb069;
  --secondary-dark: #588b65;
  --color-light-green: #52b788;
  --accent-color: #a8d48a;
  
  --color-background: white;
  --color-surface: #ffffff;
  --bg-light: #f8fff8;
  --bg-medium: #e8f5e8;
  --color-white: #ffffff;
  
  --color-text-primary: #4c4f69;
  --color-text-secondary: #6c6f85;
  --color-text-medium: #666;
  --color-text-dark: #333;
  
  --color-border: #bcc0cc;
  --color-border-subtle: #ccd0da;
  
  --shadow-soft: 0 2px 8px rgba(76, 79, 105, 0.06);
  --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 25px rgba(45, 106, 79, 0.15);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --border-radius-card: 12px;
  
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  
  --font-body: 'Inter', sans-serif;
  --font-title: 'Georgia', serif;
}

/* Base et reset */
body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  line-height: 1.6;
  margin: 0;
  background: linear-gradient(135deg, #f8f6f0 0%, #f0ede5 50%, #e8e3d8 100%);
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(139, 123, 79, 0.02) 50%, transparent 100%),
    linear-gradient(0deg, transparent 0%, rgba(101, 67, 33, 0.02) 50%, transparent 100%);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

html {
  scroll-behavior: smooth;
}

img {
  loading: lazy;
  decoding: async;
  display: block;
}

/* Typographie */
h1, h2, h3, .section-title, .editorial-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 15px;
  color: var(--color-text-primary);
}


article h1,
aside h1,
nav h1,
section h1 {
  /* On donne ici à ces titres H1 une taille de sous-titre, 
     similaire à vos H2 pour une belle hiérarchie visuelle. */
  font-size: 28px; /* Correspond à la taille de vos .content-section h2 */
}



.section-title strong, 
h1 strong, 
h2 strong, 
h3 strong {
  font-weight: 700;
  margin-left: 15px;
  color: var(--primary-color);
}

/* --- Option 3 : Style Bambou (sans police externe) --- */
.faq-title {
  font-family: Georgia, serif; /* Police standard qui convient bien ici */
  font-size: 2.5rem;
  font-weight: 500;
  color: #3d3d3d;
  padding-left: 25px;
  margin: 40px 0;
  position: relative;
  border-left: 8px solid #6b8e23; /* Vert olive pour le bambou */
  line-height: 1.2;
}

/* Les "noeuds" du bambou */
.faq-title-bamboo::before {
  content: '';
  position: absolute;
  left: -8px; /* Aligné avec la bordure */
  top: 35%;
  width: 16px; /* Dépasse légèrement de chaque côté */
  height: 4px;
  background: #556b2f; /* Un vert plus foncé pour le noeud */
  border-radius: 2px;
}

.content-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-color);
  border-radius: 5px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  padding-left: 30px;
}

.content-section h2::after {
  content: '';
  margin-left: 30px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.content-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 35px 0 15px;
  border-radius: 5px;
  padding-left: 15px;
}

.content-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

/* Header et navigation */
.matcha-header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 2px rgba(0,0,0,0.3);
}

.matcha-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(170deg, #FAF9F6 0%, #F0EBE3 40%, #ADC4AD 85%, #88AB8E 100%);
}


/* Hero section */
.hero-container, .hero-overlay, .hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  background: #f4e6d0;
  flex-wrap: wrap;
  padding: 25px;
  position: relative;
  color: black;
  padding-bottom: 30px;
  padding-top: 30px;
  box-shadow: var(--shadow-soft);
}

.hero-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to bottom, 
    #d4a574 0%, #d4a574 15%, 
    #e6c294 15%, #e6c294 30%,
    #d4a574 30%, #d4a574 45%,
    #e6c294 45%, #e6c294 60%,
    #d4a574 60%, #d4a574 75%,
    #e6c294 75%, #e6c294 90%,
    #d4a574 90%, #d4a574 100%
  );
  box-shadow: 0 2px 15px rgba(212, 165, 116, 0.2);
  border-bottom: 2px solid #c49464;
}

.hero-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to bottom, 
    #d4a574 0%, #d4a574 15%, 
    #e6c294 15%, #e6c294 30%,
    #d4a574 30%, #d4a574 45%,
    #e6c294 45%, #e6c294 60%,
    #d4a574 60%, #d4a574 75%,
    #e6c294 75%, #e6c294 90%,
    #d4a574 90%, #d4a574 100%
  );
  box-shadow: 0 2px 15px rgba(212, 165, 116, 0.2);
  border-bottom: 2px solid #c49464;
}

.hero-text {
  flex: 1 1 50%;
  padding: 40px;
  font-family: "Helvetica Neue", sans-serif;
  color: #2d5016;
  line-height: 1.6;
  font-size: 1.1em;
}

.hero-image {
  flex: 1 1 30%;
  min-width: 250px;
  text-align: right;
  
}

.hero-image img {
  max-width: 50%;
  height: auto;
  border-radius: 10px;
}

/* CARTES MATCHA - CONTAINER PRINCIPAL */
.matcha-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 60px auto;
  padding: 0 20px;
  max-width: 1800px;
  animation: cardsEntry 1.8s ease-out 0.8s both;
}

@keyframes cardsEntry {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Conteneur principal pour les contrôles du formulaire */
.form-controls-container {
  display: flex; /* La magie pour aligner les éléments ! */
  flex-wrap: wrap; /* Permet aux éléments de passer à la ligne si pas assez de place */
  align-items: center; /* Aligne verticalement les éléments au centre */
  gap: 10px; /* Espace constant entre chaque élément */
  margin: 20px 0; /* Marge en haut et en bas pour espacer du contenu */
}

/* Style commun pour l'input et le select */
.form-controls-container input[type="text"],
.form-controls-container select {
  padding: 10px 12px;
  font-size: 16px;
  font-family: var(--font-body, 'Inter', sans-serif); /* Utilise la police de votre site */
  border: 1px solid var(--color-border, #ccc);
  border-radius: var(--radius-md, 8px);
  background-color: var(--color-surface, #fff);
  color: var(--color-text-primary, #444);
  height: 42px; /* Hauteur fixe pour l'alignement */
  box-sizing: border-box; /* Assure que le padding ne modifie pas la taille totale */
  flex: 1; /* Permet au champ de recherche de prendre plus de place */
  min-width: 180px; /* Largeur minimale pour le champ de recherche */
  transition: border-color 0.2s ease;
}

/* Style au focus pour l'input et le select */
.form-controls-container input[type="text"]:focus,
.form-controls-container select:focus {
  outline: none;
  border-color: var(--primary-color, #2c5f2d); /* Met en évidence le champ actif */
  box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

/* Style spécifique pour la liste déroulante (select) */
.form-controls-container select {
  flex: 0 1 180px; /* Empêche le select de grandir mais lui donne une base de largeur */
  -webkit-appearance: none; /* Supprime le style par défaut du navigateur */
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px; /* Espace pour ne pas que le texte aille sur la flèche */
}

/* Style spécifique pour le bouton */
.form-controls-container button {
  height: 42px;
  padding: 0 15px;
  border: none;
  border-radius: var(--radius-md, 8px);
  background-color: var(--primary-color, #2c5f2d);
  color: var(--color-white, #fff);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

/* Style au survol du bouton */
.form-controls-container button:hover {
  background-color: var(--primary-dark, #1a3d1b);
}

/* --- Responsive pour les mobiles --- */
@media (max-width: 768px) {
  .form-controls-container {
    flex-direction: column; /* Empile les éléments verticalement */
    align-items: stretch; /* Les éléments prennent toute la largeur */
  }

  .form-controls-container select {
    flex-basis: auto; /* Réinitialise la base de largeur */
  }
}


/* CARTES PRODUITS MATCHA */
.product-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 450px;
  height: auto;
  min-height: 600px;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(44, 95, 45, 0.12);
}

.product-visual {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  transition: all 0.4s ease;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.product-visual-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

.product-info .cta-button {
  margin-top: auto;
}

.product-category {
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* Container image produit */
.product-image {
  width: 100%;
  height: 250px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.05);
}

/* Wrapper pour l'image */
.product-image-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  background: #f8fbf7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

/* Header produit avec image et info */
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  min-height: 40px;
}

.seo-highlight {
    background:none;
}
/* Tags produits */
.product-tag {
  background: var(--criterion-primary);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;
  display: inline-block;
}

.product-tag-bis {
  background: #ff69b4;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;
  display: inline-block;
}

.product-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.product-tagline {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-style: italic;
}

.product-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  width: 100%;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-text-medium);
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.product-price:hover {
  color: var(--primary-dark);
}

/* Badges produits */
.choice-badge {
  position: absolute;
  background: linear-gradient(135deg, #ffc6d0, #ff9eb5);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
  border: 2px solid white;
  box-shadow: 0 3px 6px rgba(255, 182, 193, 0.4);
  font-family: 'Baloo 2', cursive;
}

.choice-badge.premium {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.choice-badge.expert {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.rating-social {
  margin-top: 10px;
  position: absolute;
  background: white;
  color: pink;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  z-index: 5;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rating-social::before {
  content: "⭐⭐⭐⭐⭐";
  display: block;
  color: pink;
  font-size: 10px;
  margin-bottom: 2px;
}

/* Critères produits */
.criteria-section {
  background: var(--bg-light);
  border: 1px solid var(--bg-medium);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 20px;
  margin-top: auto;
}

.criteria-title {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.criteria-title::before {
  content: '✓';
  background: var(--primary-color);
  color: white;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-right: 8px;
}

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 12px;
}

.criteria-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555;
}

.criteria-value {
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Prix et psychologie */
.price-psychology {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-light), #ffffff);
  border: 2px solid var(--bg-medium);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 20px;
}

.price-main {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.price-context {
  text-align: right;
  font-size: 11px;
  color: #666;
}

.price-per-dose {
  font-weight: 600;
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  position: relative;
  transition: all 0.4s ease;
  background: #f4e6d0;
  background-position: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  text-align: center;
  justify-content: center;
  margin: 40px auto;
  padding: 15px;
  min-height: 50px;
  width: 50%;
  border-radius: var(--radius-lg);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(to bottom, 
    #d4a574 0%, #d4a574 15%, 
    #e6c294 15%, #e6c294 30%,
    #d4a574 30%, #d4a574 45%,
    #e6c294 45%, #e6c294 60%,
    #d4a574 60%, #d4a574 75%,
    #e6c294 75%, #e6c294 90%,
    #d4a574 90%, #d4a574 100%
  );
  box-shadow: 0 2px 15px rgba(212, 165, 116, 0.2);
  border-bottom: 2px solid #c49464;
}

.cta-section p {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 8px 12px;
  border-radius: 3px;
  color: #4E2A0F;
  font-weight: 600;
}

/* Boutons */
.main-cta {
  width: 100%;
  color: white;
  border: none;
  padding: 16px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  background-color: #76a168;
}

.main-cta:hover {
  box-shadow: 0 8px 25px rgba(44, 95, 45, 0.4);
}

.secondary-cta {
  width: 100%;
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  background: var(--primary-color);
  color: white;
}

/* Like button matcha */
.matcha-like-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: pink;
  max-width: 1600px;
}

.matcha-like-btn {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.matcha-like-btn:hover {
  transform: scale(1.1);
}



.bouton-affilie, .btn, .button, .cta-button {
  color: white;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  background: #76a168;
  padding: 10px;
  margin-top: 10px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.bouton-affilie:hover,
.btn:hover,
.button:hover,
.cta-button:hover {
  background: var(--secondary-color);
  color: black;
  transform: translateY(-2px);
}

/* Content sections */
.content-section, .comment-respond, .commentlist{
  margin: 0 auto 40px;
  background: rgba(255, 255, 255, 0.92);
  padding: 30px;
  max-width: 1600px;
  box-shadow: var(--shadow-soft);
  position: relative;
}


.content-section::before, .comment-respond::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, #d4a574, #e6c294, #d4a574);
  border-radius: 15px;
  z-index: -1;
  opacity: 0.3;
}

/* Grilles */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(350px, 400px));
  gap: 30px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: center;
}

.product-info > * {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* FAQ */
.faq-container {
  margin: 30px 0;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1rem;
  border: 1px solid #dfeee3;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8fbf7;
  padding: 10px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  border-radius: 10px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
  will-change: grid-template-rows;
  padding: 0 20px 0 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > * {
  overflow: hidden;
}

/* Tableaux */
.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  padding: 0;
  margin: 20px 0;
}

.comparison-wrapper {
  min-width: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-width: 800px;
}

/* Style de base pour le conteneur du tableau */
.table-container {
  overflow-x: auto; /* Ajoute un défilement horizontal si nécessaire sur les grands écrans */
  margin: 1em 0;
}

/* Style général de la table */
table {
  width: 100%;
  border-collapse: collapse; /* Fusionne les bordures des cellules */
  font-family: sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background-color: #ffffff;
}

/* Style pour les en-têtes (th) et les cellules (td) */
th, td {
  padding: 12px 15px; /* Espace intérieur pour le confort de lecture */
  text-align: left;
  border-bottom: 1px solid #dddddd; /* Ligne de séparation entre les rangées */
}

/* Style spécifique pour les en-têtes (th) */
th {
  background-color: #f8f8f8;
  font-weight: bold;
  color: #333333;
}

/* Style au survol d'une ligne (tr) pour une meilleure interaction */
tbody tr:hover {
  background-color: #f1f1f1;
}


/* Responsive mobile */
@media (max-width: 768px) {
  
 article h1,
  aside h1,
  nav h1,
  section h1 {
    font-size: 1.5rem; /* Correspond à la taille de vos H2 sur mobile */
  }
  
  .hero-container {
    width: 90%;
    margin: 30px auto;
    flex-direction: column;
    padding: 20px 15px;
    text-align: center;
  }

  .hero-text {
    padding: 20px 15px;
    font-size: 1rem;
  }

  .hero-image {
    order: -1;
    margin-top: 40px;
  }

  .hero-image img {
    max-width: 40%;
    margin: 0 auto;
  }

 /* On cache l'en-tête original du tableau */
  table thead {
    display: none;
  }

  /* On transforme le tableau en bloc pour empiler les éléments */
  table, tbody, tr, td {
    display: block;
    width: 100%;
  }

  /* On redéfinit la structure des lignes */
  tr {
    margin-bottom: 15px; /* Espace entre les "cartes" d'information */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
  }
  
td {
  /* Gardez vos autres styles comme border-bottom, position, padding-left, etc. */
  padding-left: 30%; /* ou 35%, 40% selon votre choix précédent */
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  display: block;
  position: relative;
  
  /* --- CORRECTION 1 : Aligner le texte à gauche --- */
  text-align: left; /* Au lieu de 'right' */

  /* --- CORRECTION 2 : Forcer le retour à la ligne pour le texte long --- */
  overflow-wrap: break-word;
  word-wrap: break-word; /* Alias pour la compatibilité avec les anciens navigateurs */
  
  /* Optionnel : pour une meilleure typographie, ajoute des césures (tirets) */
  hyphens: auto; 
}

  /* Ajout du label de l'en-tête avant chaque cellule */
  td:before {
    content: attr(data-label); /* Récupère le texte depuis l'attribut data-label */
    position: absolute;
 top: 12px; /* On aligne avec le nouveau padding-top */
  left: 15px;
  
  /* On ajuste la largeur pour qu'elle corresponde aux 40% ci-dessus */
  width: calc(30% - 25px); /* (40% - 15px de left - 10px de padding-right) */
  padding-right: 10px;
    font-weight: bold;
    text-align: left;
    white-space: nowrap;
  }
  
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 5px;
  }

  .product-card {
    width: 100%;
    margin: 0 0 20px 0;
    height: auto;
  }

  .product-info {
    padding: 15px;
  }

  .product-visual {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .product-description {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    max-height: 75px;
    -webkit-line-clamp: 3;
  }

  .content-section {
    padding: 20px 15px;
    margin: 20px 0;
  }

  .content-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  h1, .section-title {
    font-size: 1.8rem;
    margin-left: 10px;
    line-height: 1.2;
    text-align: center;
  }

  h2, .content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-left: 15px;
  }

  h3 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
    padding-left: 10px;
  }

  .main-cta,
  .cta-primary,
  .cta-secondary,
  .btn,
  .button {
    padding: 12px 20px;
    font-size: 14px;
    width: 100%;
    max-width: 280px;
    margin: 10px auto;
    display: block;
  }

  .cta-section {
    width: 100%;
    padding: 15px;
  }

  .criteria-grid {
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: 11px;
  }

  .faq-question {
    padding: 12px 15px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 15px;
    font-size: 13px;
  }

  body {
    overflow-x: hidden;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }

  .main-cta,
  .cta-primary,
  .cta-secondary {
    padding: 10px 15px;
    font-size: 13px;
  }

  .content-section {
    padding: 15px 10px;
  }

  .matcha-header {
    padding: 0.4rem 0.8rem;
  }

  .site-title {
    font-size: 1rem;
  }
}

/* Author info */
.author-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-image: url('https://thematcha.fr/wp-content/uploads/2025/08/lilie-matcha-dessin-2-e1755273305595.png');
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 25px rgba(255, 182, 193, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  color: transparent;
}

.author-avatar:hover {
  transform: scale(1.1) rotate(5deg);
}

.author-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: pink;
  margin-bottom: 3px;
  font-family: 'Baloo 2', cursive;
}

.author-info h3::before {
  content: "🌸 ";
}

.author-info p {
  background: linear-gradient(90deg, #ffb7c5, #ff80a9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
  position: relative;
}

/* Trust indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
}

.trust-icon {
  width: 20px;
  height: 20px;
  background: var(--bg-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--primary-color);
}

/* Summary list */
.matcha-summary-list {
  font-family: var(--font-body);
  list-style: none;
  padding: 0;
  margin: 2em 0;
}

.matcha-summary-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.matcha-summary-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.item-info {
  flex: 1;
  margin-right: var(--spacing-xl);
}

.item-header {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-md);
}

.item-name {
  margin: 0;
  font-size: 1.4em;
  color: var(--color-text-primary);
}

.item-category {
  background-color: var(--secondary-color);
  color: var(--color-white);
  font-size: 0.7em;
  font-weight: bold;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.cta-link {
  background-color: var(--secondary-color);
  color: var(--color-white);
  font-size: 0.7em;
  font-weight: bold;
  padding: var(--spacing-sm) var(--spacing-sm);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  text-decoration: none;
}

.item-highlight {
  font-style: italic;
  color: #555;
  margin: 5px 0 10px 0;
}

.item-details {
  display: flex;
  gap: 15px;
  font-size: 0.9em;
  color: var(--color-text-secondary);
}

/* Urgency indicator */
.urgency-indicator {
  background: linear-gradient(135deg, #ff8a65, #ff7043);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Benefits grid */
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.benefit-card {
  background: #f8fbf7;
  border: 1px solid #dfeee3;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  flex: 1 1 320px;
  max-width: 360px;
  transition: box-shadow 0.3s ease;
  box-sizing: border-box;
}

.benefit-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.benefit-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.benefit-icon {
  font-size: 1.5rem;
  color: #3a7d5d;
  margin-right: 0.5rem;
}

.benefit-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d5016;
  margin: 0;
}

/* Expert tips */
.expert-tip {
  background: linear-gradient(135deg, var(--bg-light), #ffffff);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 8px 8px 0;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(44, 95, 45, 0.05);
}

.expert-tip h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.expert-tip p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* Social proof */
.social-proof {
  text-align: center;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.social-proof p {
  color: #666;
  font-size: 14px;
  margin: 0;
}

/* Selection preview */
.selection-preview {
  background: #fff;
  padding: 60px 30px;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.02);
  border-radius: var(--radius-lg);
  margin: 30px 0;
}

.selection-intro {
  text-align: center;
  margin-bottom: 50px;
}

.selection-intro h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.selection-intro p {
  color: #666;
  font-size: 16px;
}

/* Post grid */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
  overflow: hidden;
}

.post-card:hover {
  transform: translateY(-3px);
}

.post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: block;
  background-color: #f2f2f2;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}

.post-meta {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0 1.2rem;
  margin-top: 1rem;
}

.post-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  margin: 0.5rem 0 0.8rem;
  padding: 0 1.2rem;
  line-height: 1.4;
}

.post-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  padding: 0 1.2rem 1.5rem;
}

.post-card a {
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

.post-card a:hover h2 {
  color: #6da025;
}

/* Footer */
.matcha-footer {
  background-color: #2d2527;
  color: #f3e9e3;
  padding: 3rem 2rem;
  font-family: var(--font-title);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #f8f0ea;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 0.75rem;
  border-radius: 6px;
  border: none;
  width: 300px;
}

.newsletter-form button {
  background: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left, .footer-right {
  flex: 1 1 300px;
}

.social-icons a {
  font-size: 1.8rem;
  margin-right: 1rem;
  color: #fff;
  text-decoration: none;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ddd;
  text-decoration: underline;
  font-size: 0.95rem;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 3rem;
  color: #aaa;
}

/* Utilitaires */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Liens */
a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Citations */
blockquote {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 25px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
  position: relative;
}

blockquote p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
  font-style: italic;
}

blockquote cite {
  color: var(--primary-color);
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
}