/* =====================================================================
   solyshealth.com — les guides
   Une colonne de lecture, sur les couleurs du site (site.css). Tout est
   rangé sous body.g : l'accueil ne charge pas cette feuille, et rien ici ne
   peut le toucher. Pas de <section> dans les guides : sous 760 px, site.css
   donne à chaque section la hauteur d'un écran, faite pour l'accueil.
   ===================================================================== */

.g { background: var(--papier); }
.g .nav { background: rgba(255, 255, 255, .96); }

.g-page { width: min(100% - 40px, 760px); margin: 0 auto; padding: 34px 0 30px; }

/* --- le haut de page --------------------------------------------------- */
.g-ariane { font-size: 13.5px; color: var(--encre-3); display: flex; flex-wrap: wrap; gap: 6px; }
.g-ariane a { color: var(--encre-2); text-decoration: underline; text-decoration-color: var(--bord-fort); text-underline-offset: 3px; }
.g-ariane a:hover { color: var(--encre); }
.g-rubrique {
  display: inline-block; margin: 26px 0 0; padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--accent-clair); color: var(--accent-texte); font-size: 13px; font-weight: 600;
  letter-spacing: .02em;
}

.g h1 {
  margin: 14px 0 0; font-size: clamp(32px, 5vw, 46px); line-height: 1.1; letter-spacing: -.025em;
  font-weight: 650; text-wrap: balance;
}
.g h1 em, .g h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.g-chapeau { margin: 20px 0 0; font-size: 20px; line-height: 1.55; color: var(--encre-2); text-wrap: pretty; }

/* --- la lecture ---------------------------------------------------------- */
.g-article { font-size: 17.5px; line-height: 1.72; }
.g-article h2 {
  margin: 56px 0 0; font-size: clamp(24px, 3.2vw, 30px); line-height: 1.2; letter-spacing: -.02em;
  font-weight: 650; text-wrap: balance;
}
.g-article h3 { margin: 34px 0 0; font-size: 19px; line-height: 1.35; font-weight: 650; }
.g-article p, .g-article ul, .g-article ol { margin: 16px 0 0; }
.g-article ul, .g-article ol { padding-left: 22px; }
.g-article li { margin: 6px 0; }
.g-article li::marker { color: var(--encre-3); }
.g-article a { text-decoration: underline; text-decoration-color: var(--accent-fonce); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.g-article a:hover { text-decoration-color: var(--encre); }
.g-article strong { font-weight: 650; }
.g-article abbr { text-decoration: none; }

/* L'essentiel en trois lignes, sous le titre : ce que la page dit, avant de le dérouler. */
.g-essentiel {
  margin: 30px 0 0; padding: 22px 26px; border-radius: var(--r-md);
  background: var(--papier-2); border: 1px solid var(--bord);
}
.g-essentiel b { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-3); }
.g-essentiel ul { margin: 10px 0 0; }

/* Le premier appel, sous « L'essentiel » : discret, sur une ligne. */
.g-appel-mini {
  margin: 14px 0 0; padding: 14px 18px; border-radius: var(--r-md);
  background: var(--accent-clair); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.g-appel-mini p { margin: 0; font-size: 15.5px; line-height: 1.45; }
.g-appel-mini .btn { flex: none; text-decoration: none; }
@media (max-width: 760px) {
  .g-appel-mini { flex-direction: column; align-items: stretch; }
  .g-appel-mini .btn { justify-content: center; }
}

/* Une note telle qu'elle sort de Solys : les encadrés du logiciel, en petit. */
.g-note { margin: 26px 0 0; display: grid; gap: 12px; }
.g-encadre {
  border: 1px solid var(--bord-fort); border-radius: var(--r-md); background: var(--papier);
  padding: 16px 18px; box-shadow: 0 8px 22px rgba(28, 27, 25, .05); font-size: 15.5px; line-height: 1.55;
}
.g-encadre-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.g-encadre-tete b { font-size: 14px; font-weight: 650; }
.g-encadre-tete span { font-size: 12.5px; color: var(--encre-3); white-space: nowrap; }
.g-encadre p { margin: 2px 0 0; }
.g-etiq { font-weight: 650; }
.g-legende { margin: 10px 0 0; font-size: 14px; color: var(--encre-3); }

/* La dictée, telle qu'elle est dite : en italique, comme une voix. */
.g-dit {
  margin: 24px 0 0; padding: 18px 22px; border-left: 3px solid var(--accent);
  background: var(--accent-clair); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--serif); font-style: italic; font-size: 18.5px; line-height: 1.55;
}

.g-encart {
  margin: 28px 0 0; padding: 18px 22px; border-radius: var(--r-md);
  border: 1px solid var(--bord-fort); font-size: 16px; line-height: 1.6;
}
.g-encart b:first-child { display: block; margin-bottom: 4px; }

.g-tableau { margin: 22px 0 0; overflow-x: auto; }
.g-tableau table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.g-tableau th, .g-tableau td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--bord); }
.g-tableau th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--encre-3); font-weight: 600; }
.g-tableau td:first-child { font-weight: 650; white-space: nowrap; }

/* --- la FAQ -------------------------------------------------------------- */
.g-article .faq { border-bottom: 1px solid var(--bord); }
.g-article .faq:first-of-type { margin-top: 18px; border-top: 1px solid var(--bord); }
.g-article .faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 17px; line-height: 1.45;
}
.g-article .faq summary::-webkit-details-marker { display: none; }
.g-article .faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 15px; font-size: 22px; font-weight: 400; color: var(--encre-3);
}
.g-article .faq[open] summary::after { content: "−"; }
.g-article .faq p { margin: 0 0 18px; color: var(--encre-2); }

.g-sources { margin-top: 48px; font-size: 14.5px; line-height: 1.6; color: var(--encre-2); }
.g-sources h2 { font-size: 17px; margin-top: 0; }
.g-sources ol { padding-left: 20px; }
.g-sources a { word-break: break-word; }

.g-signature { margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--bord); font-size: 14px; color: var(--encre-3); }
.g-signature a { color: var(--encre-2); }

/* --- l'appel, et la suite ------------------------------------------------ */
.g-appel {
  margin: 56px 0 0; padding: 34px 36px; border-radius: var(--r-lg);
  background: var(--accent-nuit); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
}
.g-appel h2 { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: -.015em; font-weight: 650; }
.g-appel p { margin: 8px 0 0; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.55; }
.g-appel .btn { flex: none; }

.g-autres { margin: 56px 0 0; }
.g-autres h2 { margin: 0; font-size: 20px; font-weight: 650; }
.g-autres ul, .g-cartes { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.g-autres a, .g-cartes a {
  display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--bord); border-radius: var(--r-md);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.g-autres a:hover, .g-cartes a:hover { border-color: var(--bord-fort); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(28, 27, 25, .06); }
.g-autres span, .g-cartes span { display: block; font-size: 12.5px; color: var(--accent-texte); font-weight: 600; letter-spacing: .02em; }
.g-autres b, .g-cartes b { display: block; margin-top: 4px; font-size: 16px; line-height: 1.35; font-weight: 600; }
.g-cartes p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--encre-2); }

.g-index h1 { margin-top: 20px; }
.g-groupe { margin: 44px 0 0; font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
.g-index .g-cartes { margin-top: 14px; }

.g footer { margin-top: 40px; }

/* --- téléphone ----------------------------------------------------------- */
@media (max-width: 760px) {
  .g-page { width: calc(100% - 32px); padding-top: 22px; }
  .g-chapeau { font-size: 18px; }
  .g-article { font-size: 17px; }
  .g-article h2 { margin-top: 44px; }
  .g-essentiel { padding: 18px 18px; }
  .g-appel { flex-direction: column; align-items: stretch; padding: 28px 22px; text-align: left; }
  .g-appel .btn { width: 100%; justify-content: center; }
  .g-autres ul, .g-cartes { grid-template-columns: 1fr; }
  .g-tableau td:first-child { white-space: normal; }
}
