/* AG-AURORA-TITRES-01 (05/11/2026) — titres de section de l'accueil au style des 2 images de référence du propriétaire, EN LIGNE
   pour tous les visiteurs (accueil seulement), validé par le propriétaire le 05/11 (« tu peux envoyer en ligne directement ») :
   sur-titre = petite barre vert clair + libellé en majuscules espacées ; titre en MAJUSCULES grasses inclinées, même police (Manrope) ;
   un mot clé dans une pastille verte arrondie et penchée (texte blanc, ombre douce) ; barre vert clair sous le titre.
   Toutes les règles dépendent de html.au-titres, posée par le script du bloc SEULEMENT si la feuille de l'accueil Aurora (#ag-aurora)
   est chargée : sans elle, rien ne s'applique. La pastille (span.au-pastille) est posée par ce script. Non touchés : grand titre du
   haut, titres des diapos et des bandeaux, carte « Créez votre box » (.promo-*). La FAQ garde son violet. */

html.au-titres body#index {
  --aut-barre: #80E397;                               /* barres : vert clair des références */
  --aut-pastille: #278451;                            /* pastille : vert des références */
  --aut-ombre: 0 .12em .32em rgba(17, 61, 37, .26);
  --aut-etiq: #4D5751;                                /* libellé du sur-titre, fond clair */
}
html.au-titres body#index #categories,
html.au-titres body#index #brand,
html.au-titres body#index .final-cta-inner { --aut-etiq: #C7D6D1; }  /* fonds sombres (#bestsellers et #guides ont .ag-sea mais un fond clair) */
html.au-titres body#index .faq-home-card {                            /* la carte FAQ garde son violet */
  --aut-barre: #C4B5FD;
  --aut-pastille: #6D28D9;
  --aut-ombre: 0 .12em .32em rgba(76, 29, 149, .24);
  --aut-etiq: #4C4A6B;
}

/* 1. sur-titre : la pastille claire devient barre + libellé (l'icône laisse sa place à la barre) */
html.au-titres body#index .section-tag .tag,
html.au-titres body#index .final-cta-inner .tag {
  display: inline-flex; align-items: center; gap: .9em; height: auto; padding: 0;
  border: 0 !important; border-radius: 0; background: none !important; box-shadow: none;
  color: var(--aut-etiq) !important;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; line-height: 1.25; letter-spacing: .16em; text-transform: uppercase;
}
html.au-titres body#index .section-tag .tag::before,
html.au-titres body#index .final-cta-inner .tag::before {
  content: ""; flex: none; width: 2.25em; height: .6em; border-radius: 99px; background: var(--aut-barre);
}
html.au-titres body#index .section-tag .tag svg { display: none !important; }  /* !important : l'icône de « Nos engagements » a un style en ligne */

/* 2. titre : majuscules grasses inclinées, barre dessous */
html.au-titres body#index h2.section-title,
html.au-titres body#index h2.final-cta-title {
  position: relative; padding-bottom: .62em;
  font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: 0; line-height: 1.18; text-wrap: balance;
}
html.au-titres body#index h2.section-title::after,
html.au-titres body#index h2.final-cta-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 2.5em; height: max(5px, .2em); border-radius: 99px;
  background: var(--aut-barre);
}
html.au-titres body#index h2.final-cta-title::after { left: 50%; transform: translateX(-50%); }
html.au-titres body#index #faq-title .au-t-texte { min-width: 0; }

/* 3. mot clé : pastille penchée derrière le mot, sans changer la hauteur des lignes */
html.au-titres body#index .au-pastille {
  position: relative; z-index: 0; display: inline-block; padding: 0 .3em; margin: 0 .04em; color: #fff; white-space: nowrap;
}
html.au-titres body#index .au-pastille::before {
  content: ""; position: absolute; z-index: -1; inset: .04em 0 0; border-radius: .17em;
  background: var(--aut-pastille); box-shadow: var(--aut-ombre); transform: skewX(-12deg);
}

/* téléphone : les retours à la ligne voulus pour l'ordinateur coupent mal en majuscules ; le titre se répartit seul */
@media (max-width: 767px) {
  html.au-titres body#index h2.section-title br,
  html.au-titres body#index h2.final-cta-title br { display: none; }
}
@media (min-width: 1024px) {
  html.au-titres body#index .section-tag .tag,
  html.au-titres body#index .final-cta-inner .tag { font-size: 13px; }
}
