/*
 * Pages métier (SEO lot 3, 01/12/2026) : devenir revendeur, questions fréquentes, marque blanche,
 * fabrication, conformité, et le texte de l'accueil. Texte long, donc une colonne de lecture
 * étroite, dans la typographie du site (aromex-variables.css).
 */

.aromex-content-page {
  font-family: var(--aromex-font-family-primary);
  color: var(--aromex-black);
  line-height: 1.65;
  padding: 140px 1.25rem 4rem; /* en-tête fixe, comme les autres pages du module */
}

.aromex-content-page .aromex-content-article,
.aromex-content-page .aromex-breadcrumb,
.aromex-content-page .aromex-preview-banner {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.aromex-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 auto 1.5rem;
  padding: 0;
  font-size: 0.85rem;
  color: var(--aromex-grey-dark);
}

.aromex-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: var(--aromex-grey-dark);
}

.aromex-breadcrumb a {
  color: var(--aromex-grey-dark);
  text-decoration: underline;
}

.aromex-content-article h1,
.aromex-home-text h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.aromex-content-article h2,
.aromex-home-text h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.25rem 0 0.75rem;
}

.aromex-content-article h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.25rem 0 0.35rem;
}

.aromex-content-article p,
.aromex-content-article li,
.aromex-home-text p {
  font-size: 1rem;
  margin: 0 0 0.9rem;
}

.aromex-content-article a,
.aromex-home-text a {
  color: var(--aromex-black);
  text-decoration: underline;
}

.aromex-lead {
  font-size: 1.1rem !important;
}

.aromex-cta {
  margin: 1.5rem 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.aromex-content-article a.aromex-btn,
.aromex-home-text a.aromex-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--aromex-black);
  color: var(--aromex-white);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--aromex-black);
  border-radius: 4px;
}

.aromex-content-article a.aromex-btn:hover,
.aromex-home-text a.aromex-btn:hover {
  background: var(--aromex-white);
  color: var(--aromex-black);
}

.aromex-content-article a.aromex-btn--secondary {
  background: var(--aromex-white);
  color: var(--aromex-black);
}

.aromex-faq-item h3 {
  margin-top: 1rem;
}

/* Aperçu des pages non publiées */
.aromex-preview-banner {
  background: #fff4d6;
  border: 1px solid #e0b84c;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

mark.aromex-todo {
  background: #fff1a8;
  padding: 0 0.2rem;
}

/* Texte de l'accueil (remplace les blocs « Nos services », « Pourquoi choisir », « En chiffre ») */
.aromex-home-text {
  /* border-box : aromex-home.css impose width:100% !important aux enfants de .aromex-home ;
     sans cela le padding s'ajoute et le texte sort de l'écran à droite sur mobile (audit 01/12/2026). */
  box-sizing: border-box;
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  font-family: var(--aromex-font-family-primary);
  color: var(--aromex-black);
  line-height: 1.65;
}

.aromex-home-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1rem 0 0;
}

.aromex-home-services > div {
  border-top: 2px solid var(--aromex-black);
  padding-top: 0.75rem;
}

.aromex-home-services h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

@media (min-width: 768px) {
  .aromex-home-services {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .aromex-content-page {
    padding-top: 120px;
  }
  .aromex-content-article h1,
  .aromex-home-text h1 {
    font-size: 1.6rem;
  }
}

/* Rubrique Guides (01/12/2026). */
.aromex-guide-updated {
  color: #666;
  font-size: 0.9em;
  margin-top: -0.5em;
}
.aromex-guides-list {
  list-style: none;
  padding: 0;
}
.aromex-guides-item {
  border-bottom: 1px solid #e5e5e5;
  padding: 1em 0;
}
.aromex-guides-item h2 {
  font-size: 1.2em;
  margin: 0 0 0.4em;
}
.aromex-guide-sources {
  font-size: 0.9em;
}

/* Glossaire (01/12/2026) */
.aromex-glossary-index p { line-height: 1.9; }
.aromex-glossary dt { font-weight: 700; margin-top: 1.25rem; scroll-margin-top: 6rem; }
.aromex-glossary dd { margin: 0.25rem 0 0; }

/* Qui sommes-nous (01/12/2026) : photos, affichées seulement quand elles sont renseignées. */
.aromex-about-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.aromex-about-photo { margin: 0; }
.aromex-about-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
.aromex-about-identity { list-style: none; padding: 0; }

/* Maillage interne (01/12/2026) : bloc « À lire aussi » en bas des guides. */
.aromex-content-article .aromex-related {
  margin-top: 40px;
  padding: 20px 24px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
}
.aromex-content-article .aromex-related h2 {
  margin-top: 0;
  font-size: 1.15rem;
}
.aromex-content-article .aromex-related ul {
  margin: 0;
  padding-left: 18px;
}
.aromex-content-article .aromex-related li {
  margin: 6px 0;
}
@media (max-width: 576px) {
  .aromex-content-article .aromex-related { padding: 16px; }
}
