/* Pages du référencement d'Arritos Cosmetics (accueil, catalogue des ingrédients, pages de l'app) : s'ajoute à /cosmetics/legal/legal.css, dont
   elle reprend les couleurs et les polices. Reprise de la feuille de Nutri (21/11), 04/12/2026, Netty. */

.ac-main { max-width: 900px; }
.ac-hero { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: center; gap: 34px; padding-bottom: 44px; margin-bottom: 20px; }
.ac-hero h1 { max-width: none; font-size: clamp(36px, 4.6vw, 54px); line-height: 1.08; }
.ac-hero .lg-lead { max-width: 46ch; }
/* le hublot ivoire : à droite du titre, dans sa colonne (il ne passe plus sous le texte, le titre de l'accueil est long) */
.ac-hero-art { width: 270px; justify-self: end; pointer-events: none; filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.65)); animation: lg-flotte 11s ease-in-out infinite; }
.ac-devise { position: relative; margin: 26px 0 0; font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: 0.02em; color: var(--or-clair); }
.ac-bientot { position: relative; display: inline-block; margin: 22px 0 0; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--ligne); background: rgba(217, 168, 90, 0.08); font-size: 14px; letter-spacing: 0.02em; color: var(--mi); }
.ac-stores { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }

/* les trois modes */
.ac-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 8px; }
.ac-carte { position: relative; padding: 22px 22px 8px; border-radius: 20px; border: 1px solid var(--ligne); background: linear-gradient(160deg, rgba(217, 168, 90, 0.07), rgba(21, 16, 11, 0.6)); }
.ac-carte h3 { margin: 6px 0 10px; }
.ac-carte p { font-size: 15.5px; line-height: 1.7; }
.ac-num { margin: 0 !important; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(217, 168, 90, 0.5); font-family: var(--serif); font-weight: 600; font-size: 18px !important; line-height: 1 !important; color: var(--or-clair) !important; }

/* la suite de la FAQ, l'écosystème */
.ac-suite { margin-top: 22px !important; }
.ac-eco { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px !important; }
.ac-eco a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ligne); background: rgba(241, 230, 208, 0.04); color: var(--encre) !important; text-decoration: none !important; font-size: 14.5px; transition: background 0.25s, border-color 0.25s; }
.ac-eco a:hover { background: rgba(217, 168, 90, 0.14); border-color: rgba(217, 168, 90, 0.5); }

/* le choix de la langue : des liens (une adresse par langue), dans l'habit du bouton FR / EN des pages légales */
.ac-langues a { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; padding: 6px 10px; border-radius: 999px; opacity: 0.6; color: var(--encre); text-decoration: none; transition: all 0.3s; }
.ac-langues a:hover { opacity: 0.9; }
.ac-langues a[aria-current='page'] { opacity: 1; background: var(--encre); color: var(--fond); }

@media (max-width: 860px) {
  .ac-hero { grid-template-columns: 1fr; }
  .ac-hero-art { grid-row: 1; justify-self: start; width: 150px; margin-bottom: -6px; }
  .ac-cartes { grid-template-columns: 1fr; }
  .page-accueil .lg-links a[href^='#'] { display: none; }   /* sur téléphone : FAQ et Contact seulement, les ancres se lisent en défilant */
}
@media (prefers-reduced-motion: reduce) { .ac-hero-art { animation: none; } }

/* titres des colonnes du pied de page : des h2 (pas de saut de niveau), dans l'habit des h4 des pages légales */
.footer-col .ac-pied-t { margin: 4px 0 6px; font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); }

/* russe : Cormorant Garamond n'a pas de cyrillique dans nos fichiers ; plutôt qu'un mélange de deux polices dans la même phrase, tout le texte à
   empattements passe en Georgia (présente partout), en graisse normale */
html[lang='ru'] { --serif: Georgia, 'Times New Roman', 'PT Serif', serif; }
html[lang='ru'] .lg-hero h1, html[lang='ru'] .lg-article h2, html[lang='ru'] .lg-article h3, html[lang='ru'] .ac-devise { font-weight: 400; }
html[lang='ru'] .ac-hero h1 { font-size: clamp(32px, 4vw, 46px); }
html[lang='ru'] .lg-lead { font-size: clamp(18px, 2vw, 20px); }

.ac-sources { font-size: 14.5px !important; color: var(--bas) !important; }

.footer-avis a { color: var(--mi); text-decoration: underline; text-decoration-color: rgba(217, 168, 90, 0.4); text-underline-offset: 3px; }
.footer-avis a:hover { color: var(--encre); }

/* ───────── le catalogue des ingrédients ───────── */
.ad-fil { position: relative; margin: 0 0 26px; font-size: 13.5px; color: var(--bas); }
.ad-fil a { color: var(--mi); text-decoration: none; }
.ad-fil a:hover { color: var(--encre); }
.ad-hero h1 { max-width: 22ch; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.1; overflow-wrap: anywhere; }
.ad-lead { max-width: 62ch; font-style: normal; font-family: var(--sans); font-size: 17px; line-height: 1.7; }
.ad-ligne { position: relative; margin: 18px 0 0; }
.ad-niveau { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--encre); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.ad-niveau::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.ad-dl { margin: 0 0 8px; border: 1px solid var(--ligne); border-radius: 16px; overflow: hidden; }
.ad-dl > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 13px 20px; border-top: 1px solid var(--ligne); }
.ad-dl > div:first-child { border-top: 0; }
.ad-dl dt { font-size: 14px; font-weight: 600; color: var(--bas); letter-spacing: 0.02em; }
.ad-dl dd { margin: 0; font-size: 16px; line-height: 1.65; color: var(--mi); overflow-wrap: anywhere; }
.ad-regles dt { display: flex; align-items: center; gap: 10px; }
.ad-regles dt small { font-weight: 500; color: var(--bas); }
.ad-sources li { overflow-wrap: anywhere; }
.ad-cta { margin: 40px 0 8px; }
.ad-filtre { margin: 34px 0 0 !important; }
.ad-filtre input { width: 100%; padding: 13px 18px; border-radius: 14px; border: 1px solid var(--ligne); background: rgba(241, 230, 208, 0.05); color: var(--encre); font: inherit; font-size: 16px; }
.ad-filtre input::placeholder { color: var(--bas); }
.ad-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; padding: 0 !important; margin: 0 0 6px !important; }
.ad-liste li { margin: 0 !important; border-top: 1px solid var(--ligne); }
.ad-liste li::before { display: none; }
.ad-liste a { display: grid; grid-template-columns: 62px minmax(0, 1fr) 12px; align-items: center; gap: 10px; padding: 9px 2px; color: var(--mi) !important; text-decoration: none !important; font-size: 15px; line-height: 1.4; }
.ad-liste a:hover span { color: var(--encre); }
.ad-liste b { color: var(--or-clair); font-weight: 600; }
.ad-liste i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
@media (max-width: 720px) {
  .ad-dl > div { grid-template-columns: 1fr; gap: 3px; }
  .ad-liste { grid-template-columns: 1fr; }
}


/* les noms INCI sont longs : la liste du catalogue passe en ligne souple (nom INCI, nom dans la langue, pastille du niveau) */
.ad-liste a { grid-template-columns: minmax(0, 1fr) 12px; }
.ad-liste a b { display: block; font-size: 14.5px; letter-spacing: 0.01em; overflow-wrap: anywhere; }
.ad-liste a span { display: block; font-size: 13.5px; color: var(--bas); }
.ad-liste a span:empty { display: none; }
.ad-liste a { grid-template-areas: 'nom pastille'; }
.ad-liste a > b, .ad-liste a > span { grid-column: 1; }
.ad-liste a > i { grid-column: 2; grid-row: 1 / span 2; }
.ad-groupe h3 { display: flex; align-items: baseline; gap: 10px; margin-top: 30px; }
.ad-groupe h3 small, .lg-article h2 small { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--bas); }
.ad-partie { margin-top: 18px; }
.ad-inci { margin-left: 10px; font-size: 14px; letter-spacing: 0.04em; color: var(--bas); }
.ad-animaux > div { scroll-margin-top: 120px; }
.ad-animaux > div:target { background: rgba(217, 168, 90, 0.1); }
.ad-animaux dt b { color: var(--or-clair); }
.ad-animaux dt span { font-weight: 500; color: var(--mi); }
.ad-animaux dd small { display: inline-block; margin-top: 6px; color: var(--bas); }
.ad-animaux dd a, .ad-dl dd a { color: var(--mi); text-decoration: underline; text-decoration-color: rgba(217, 168, 90, 0.45); text-underline-offset: 3px; }

/* ───────── les pages de Cosmetics : Scan, DIY, Vegan, Aristote, Hey Arri, Historique, puis les Réglages ───────── */
.pg-hero { grid-template-columns: minmax(0, 1fr) 230px; align-items: start; gap: 40px; }
.pg-hero h1 { font-size: clamp(34px, 4.4vw, 50px); }
.pg-hero .ac-hero-art { width: 230px; margin-top: 6px; }
.pg-acces { position: relative; display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 26px 0 0; }
.pg-acces > div { padding: 9px 16px 10px; border-radius: 14px; border: 1px solid var(--ligne); background: rgba(241, 230, 208, 0.04); }
.pg-acces dt { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); }
.pg-acces dd { margin: 3px 0 0; font-size: 15px; line-height: 1.4; color: var(--encre); }

/* le tableau des commandes vocales */
.pg-table { width: 100%; margin: 8px 0 18px; border-collapse: collapse; }
.pg-table th { padding: 10px 12px; border-bottom: 1px solid rgba(217, 168, 90, 0.4); text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--or); }
.pg-table td { padding: 11px 12px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.lg-article .pg-dis { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--or-clair); white-space: nowrap; }
.lg-article .pg-fin { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--mi); }
.lg-article .pg-fin + .pg-fin { margin-top: -8px; font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--bas); }

/* le menu de toutes les pages (cartes de texte : pas encore de visuels propres à Cosmetics) */
.pg-menu { clear: both; margin-top: 72px; border-top: 1px solid var(--ligne); }
.pg-menu h2 { margin: 46px 0 4px; font-family: var(--serif); font-weight: 600; font-size: clamp(25px, 3vw, 31px); line-height: 1.2; color: var(--encre); scroll-margin-top: 120px; }
.pg-menu-g { margin: 26px 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--or); }
.pg-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pg-cartes li { margin: 0 !important; }
.pg-cartes li::before { display: none; }
.pg-cartes a { display: block; height: 100%; min-height: 80px; padding: 14px 18px; border-radius: 18px; border: 1px solid var(--ligne); background: rgba(241, 230, 208, 0.03); color: var(--encre) !important; text-decoration: none !important; transition: background 0.25s, border-color 0.25s; }
.pg-cartes a:hover, .pg-cartes a[aria-current='page'] { border-color: rgba(217, 168, 90, 0.55); background: rgba(217, 168, 90, 0.1); }
.pg-cartes b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.15; }
.pg-cartes small { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.4; color: var(--bas); }
.ac-carte h3 a { color: inherit !important; text-decoration-color: rgba(217, 168, 90, 0.45) !important; }

@media (max-width: 860px) {
  .pg-hero { grid-template-columns: 1fr; gap: 0; }
  .pg-hero .ac-hero-art { grid-row: 1; justify-self: start; width: 140px; margin: 0 0 6px; }
  .pg-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-fiche .lg-links a:not([aria-current]):not([href='#pages']) { display: none; }
}
@media (max-width: 520px) {
  .pg-cartes { grid-template-columns: 1fr; }
  .lg-article .pg-dis { white-space: normal; font-size: 19px; }
  .pg-table th, .pg-table td { padding: 9px 6px; }
}
html[lang='ru'] .pg-cartes b, html[lang='ru'] .pg-menu h2, html[lang='ru'] .lg-article .pg-dis { font-weight: 400; }
html[lang='ru'] .pg-hero h1 { font-size: clamp(30px, 3.7vw, 42px); }
html[lang='ru'] .pg-cartes b { font-size: 18px; }

/* la marque « Cosmetics » de l'en-tête reste en Cormorant sur les pages russes (ce sont des lettres latines) */
html[lang='ru'] .lg-brand-t b { font-family: 'Cormorant Garamond', Georgia, serif; }
.ad-hero.pg-hero h1 { max-width: none; }
.ad-hero.pg-hero .ad-lead { max-width: 46ch; }
