/* Guides d'Arthénice (arthenice.fr/guides/), pages statiques publiées par Hermès.
   Couleurs et polices de la charte du site (arthenice/tailwind.config.ts, src/app/polices). */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/guides/assets/polices/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/guides/assets/polices/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/guides/assets/polices/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/guides/assets/polices/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --nuit: #192C40;
  --nuit-clair: #2A435A;
  --ivoire: #FAF9F6;
  --ardoise: #526477;
  --pierre: #DDDCD7;
  --trait: #858F9A;
  --or: #C7A66C;
  --bronze: #7A5E36;
  --sable: #EFE6D6;
  --brume: #E7EDF2;
  --titre: "Cormorant Garamond", Georgia, serif;
  --texte: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivoire);
  color: var(--nuit);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--nuit); text-decoration-color: var(--or); text-underline-offset: 3px; }
a:hover { color: var(--nuit-clair); }

/* En-tête et pied de page : les mêmes que l'accueil du site */
.entete {
  max-width: 72rem; margin: 0 auto; padding: 1.25rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.marque { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--nuit); }
.marque img { width: 36px; height: 36px; }
.marque span { font-family: var(--titre); font-size: 1.65rem; font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.entete nav { display: flex; align-items: center; gap: 1.1rem; font-size: .875rem; white-space: nowrap; }
.entete nav a { text-decoration: none; color: var(--ardoise); }
.entete nav a:hover { color: var(--nuit); }
.entete nav .trait { display: none; width: 3rem; height: 1px; background: var(--or); }
.entete nav .commencer { color: var(--nuit); font-weight: 600; }
.filet { max-width: 72rem; margin: 0 auto; border-top: 1px solid var(--pierre); }

.pied { margin-top: 5rem; border-top: 1px solid var(--pierre); padding: 2.5rem 1.25rem; text-align: center; }
.pied .devise { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin: 0; }
/* Devise « Rencontre · En personne · Pour durer » : espacement serre sur telephone, comme le site (une ligne) */
.pied nav { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; font-size: .75rem; }
.pied nav a { color: var(--ardoise); text-decoration: none; }
.pied nav a:hover { color: var(--nuit); }
.pied .ligne { margin-top: 1rem; font-size: .75rem; color: var(--ardoise); }

/* Fil d'Ariane */
.ariane { max-width: 42rem; margin: 2rem auto 0; padding: 0 1.25rem; font-size: .8125rem; color: var(--trait); }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.ariane li + li::before { content: "›"; margin-right: .5rem; color: var(--pierre); }
.ariane a { color: var(--ardoise); text-decoration: none; }
.ariane a:hover { color: var(--nuit); }

/* Article */
.article { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }
.surtitre { margin: 2rem 0 0; font-size: .6875rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); }
.surtitre a { color: inherit; text-decoration: none; }
h1 {
  font-family: var(--titre); font-weight: 500; letter-spacing: -.015em;
  font-size: clamp(2.25rem, 6vw, 3.25rem); line-height: 1.08; margin: .9rem 0 0;
}
.meta { margin-top: 1rem; font-size: .8125rem; color: var(--trait); }
.chapo { margin-top: 1.75rem; font-size: 1.1875rem; line-height: 1.65; color: var(--ardoise); }
.chapo p { margin: 0 0 .75rem; }
.corps { margin-top: 2rem; }
.corps h2 {
  font-family: var(--titre); font-weight: 500; font-size: clamp(1.65rem, 4vw, 2.05rem);
  line-height: 1.15; letter-spacing: -.01em; margin: 3rem 0 .75rem;
}
.corps h3 { font-size: 1.125rem; font-weight: 600; margin: 2rem 0 .5rem; }
.corps p { margin: 0 0 1.1rem; }
.corps ul, .corps ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.corps li { margin-bottom: .45rem; }
.corps li::marker { color: var(--or); }
.corps blockquote {
  margin: 1.75rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 2px solid var(--or);
  font-family: var(--titre); font-style: italic; font-size: 1.375rem; line-height: 1.45; color: var(--nuit);
}
.corps table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9375rem; display: block; overflow-x: auto; }
.corps th, .corps td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--pierre); vertical-align: top; }
.corps th { font-weight: 600; background: var(--brume); }
.corps figure { margin: 2rem 0; }
.corps figcaption { font-size: .8125rem; color: var(--trait); margin-top: .5rem; }

/* Ce qu'il faut retenir */
.retenir { margin: 3rem 0 0; padding: 1.5rem 1.5rem 1rem; background: #fff; border: 1px solid var(--pierre); border-left: 3px solid var(--or); border-radius: 1rem; }
.retenir h2 { font-family: var(--titre); font-weight: 500; font-size: 1.6rem; margin: 0 0 .75rem; }
.retenir ul { margin: 0; padding-left: 1.2rem; }
.retenir li { margin-bottom: .5rem; }
.retenir li::marker { color: var(--or); }

/* Questions fréquentes */
.faq { margin-top: 3rem; }
.faq h2 { font-family: var(--titre); font-weight: 500; font-size: clamp(1.65rem, 4vw, 2.05rem); margin: 0 0 1rem; }
.faq details { border-top: 1px solid var(--pierre); padding: .9rem 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--pierre); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--bronze); font-weight: 400; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .6rem 0 0; color: var(--ardoise); }

/* Encadré de soutien (sujets sensibles) */
.soutien { margin: 3rem 0 0; padding: 1.25rem 1.5rem; background: var(--brume); border-radius: 1rem; font-size: .9375rem; }
.soutien strong { display: block; margin-bottom: .35rem; }
.soutien p { margin: 0 0 .5rem; }
.soutien p:last-child { margin-bottom: 0; }

/* Bloc final Arthénice */
.appel { margin: 3.5rem 0 0; padding: 2rem 1.75rem; background: var(--nuit); color: var(--ivoire); border-radius: 1.25rem; text-align: center; }
.appel img { width: 44px; height: 44px; }
.appel p { margin: 1rem auto 0; max-width: 30rem; color: #E8E6E0; }
.appel .titre-appel { font-family: var(--titre); font-size: 1.75rem; line-height: 1.2; color: var(--ivoire); margin-top: .75rem; }
.appel a.bouton {
  display: inline-block; margin-top: 1.5rem; padding: .85rem 2rem; border-radius: 999px;
  background: var(--ivoire); color: var(--nuit); font-weight: 600; text-decoration: none;
}
.appel a.bouton:hover { background: #fff; }
/* Badge officiel Google Play sous le bouton (22/10/2026), comme l'appel final de l'accueil : couleurs intactes */
.appel a.badge-store { display: block; width: fit-content; margin: 1.25rem auto 0; border-radius: 10px; transition: opacity .15s; }
.appel a.badge-store:hover { opacity: .85; }
.appel a.badge-store img { display: block; width: auto; height: 44px; }
/* Les deux badges cote a cote (05/11/2026) : App Store d'abord, meme hauteur, un quart de leur hauteur entre eux */
.appel .badges-store { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.appel .badges-store a.badge-store { margin: 0; }
/* 40 px, le minimum d'Apple : les deux tiennent cote a cote dans le bloc sur un telephone de 375 px */
.appel .badges-store a.badge-store img { height: 40px; }

/* Sources */
.sources { margin-top: 3rem; font-size: .8125rem; color: var(--ardoise); }
.sources h2 { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin: 0 0 .75rem; }
.sources ol { margin: 0; padding-left: 1.25rem; }
.sources li { margin-bottom: .4rem; }
.sources a { color: var(--ardoise); }

/* Familles (navigation) */
.familles { max-width: 42rem; margin: 3rem auto 0; padding: 0 1.25rem; }
.familles h2 { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin: 0 0 .75rem; }
.familles ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.familles a { display: inline-block; padding: .4rem .9rem; border: 1px solid var(--pierre); border-radius: 999px; font-size: .875rem; text-decoration: none; color: var(--nuit); background: #fff; }
.familles a:hover, .familles a[aria-current="page"] { border-color: var(--nuit); }

/* Pages de liste (tous les guides, une famille) */
.liste { max-width: 60rem; margin: 0 auto; padding: 0 1.25rem; }
.liste .intro { max-width: 42rem; margin-top: 1.25rem; font-size: 1.125rem; color: var(--ardoise); }
.cartes { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.carte a { display: block; height: 100%; padding: 1.5rem; background: #fff; border: 1px solid var(--pierre); border-radius: 1.25rem; text-decoration: none; color: var(--nuit); transition: border-color .15s; }
.carte a:hover { border-color: var(--nuit); }
.carte .carte-famille { font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.carte h2 { font-family: var(--titre); font-weight: 500; font-size: 1.6rem; line-height: 1.15; margin: .5rem 0 .5rem; }
.carte p { margin: 0; color: var(--ardoise); font-size: .9375rem; }
.carte .carte-date { display: block; margin-top: .9rem; font-size: .75rem; color: var(--trait); }
.carte.pilier a { border-color: var(--or); }

@media (min-width: 640px) {
  .entete { padding: 1.25rem 2rem; }
  .entete nav { gap: 1.25rem; }
  .entete nav .trait { display: block; }
  .cartes { grid-template-columns: repeat(2, 1fr); }
  .appel { padding: 2.5rem 2.5rem; }
  .pied .devise { letter-spacing: .3em; }
}
@media (max-width: 420px) {
  .entete nav .connexion { display: none; }
}

/* Sur les pages de liste, la navigation des familles suit la largeur des cartes */
.familles.large { max-width: 60rem; }

/* Encadré « Arthénice » au milieu d'un guide (familles rencontrer-en-vrai, mieux-se-connaitre, relation-qui-dure) */
.encadre-arthenice { display: flex; gap: 1rem; align-items: flex-start; margin: 2.25rem 0; padding: 1.25rem 1.4rem; background: var(--sable); border-radius: 1rem; }
.encadre-arthenice img { width: 40px; height: 40px; flex: none; margin-top: .15rem; }
.encadre-arthenice p { margin: 0 0 .6rem; font-size: .9875rem; }
.encadre-arthenice p:last-child { margin-bottom: 0; }
.encadre-arthenice a { font-weight: 600; }

/* Bandeau d'un guide sponsorisé (règle 5.12) : visible avant le chapô */
.partenariat { margin: 1.25rem 0 0; padding: .6rem .9rem; border: 1px solid var(--or); border-radius: .6rem; font-size: .8125rem; color: var(--bronze); background: #fff; }
