/*
 * Styles propres au site vitrine AETHERYS (landing et mentions légales).
 * S'appuie sur charte.css (variables --ae-*, thèmes, composants) sans la modifier.
 * Repris des maquettes validées le 6/11/2026 : 05_Marketing/site-web/maquettes/landing/.
 */

/* Fond du haut de page porté par body : l'en-tête et l'accroche partagent la même lueur (thème clair) */
body { background: var(--ae-fond-haut); background-size: 100% 56rem; background-repeat: no-repeat; background-color: var(--ae-fond-page); }
.ae-haut { background: none; }
.ae-section { background: var(--ae-fond-page); }
.ae-section.ae-haut { background: none; }
.ae-section--alterne { background: var(--ae-fond-alterne); }

/* Lien d'évitement, visible seulement au clavier */
.lien-evitement { position: absolute; left: var(--ae-esp-4); top: -4rem; z-index: 10; padding: var(--ae-esp-2) var(--ae-esp-4); border-radius: var(--ae-rayon); background: var(--ae-bouton-fond); color: var(--ae-bouton-texte); font-weight: 700; text-decoration: none; }
.lien-evitement:focus { top: var(--ae-esp-3); }

/* Bascule du thème : soleil en sombre (passer au clair), lune en clair (passer au sombre) */
.ae-bascule-theme[hidden] { display: none; }
.ae-bascule-theme .icone-lune { display: none; }
[data-theme="clair"] .ae-bascule-theme .icone-soleil { display: none; }
[data-theme="clair"] .ae-bascule-theme .icone-lune { display: block; }

/* Téléphone : menu et bouton « Retour à l'accueil » masqués (le logo ramène à l'accueil), logo et bascule sur une ligne */
@media (max-width: 40rem) {
  .ae-entete nav, .ae-entete__droite > .ae-bouton { display: none; }
  .ae-entete__barre { flex-wrap: nowrap; }
}
/* Très petit écran (320 px) : la bascule ne garde que son icône ; le libellé reste lu par les lecteurs d'écran */
@media (max-width: 24rem) {
  .ae-bascule-theme { padding-inline: var(--ae-esp-3); }
  .ae-bascule-theme .libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Accroche */
.accroche { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--ae-esp-6); align-items: center; }
@media (min-width: 60rem) { .accroche { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.accroche__motif { display: none; color: var(--ae-lien); }
@media (min-width: 60rem) { .accroche__motif { display: block; } }
.reperes { display: flex; flex-wrap: wrap; gap: var(--ae-esp-2) var(--ae-esp-5); margin: var(--ae-esp-5) 0 0; padding: 0; list-style: none; font-size: var(--ae-taille-petit); color: var(--ae-texte-2); }
.reperes li { display: flex; align-items: center; gap: var(--ae-esp-2); }
.reperes li::before { content: ""; flex: none; width: .45rem; height: .45rem; border-radius: 50%; background: var(--ae-accent); }

/* Solutions */
.solutions { margin-top: var(--ae-esp-6); }
.lien-bientot { color: var(--ae-texte-2); font-weight: 600; font-size: var(--ae-taille-petit); }
.lien-bientot::after { content: none; }
.encart-final { display: flex; flex-direction: column; justify-content: center; }
.encart-final a { font-weight: 700; }

/* Pour votre métier */
.metiers { display: grid; gap: var(--ae-esp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); margin-top: var(--ae-esp-6); }
.metier { padding: var(--ae-esp-5); background: var(--ae-fond-carte); border: 1px solid var(--ae-filet-carte); border-radius: var(--ae-rayon-grand); }
.metier h3 { font-size: 1.125rem; margin: 0 0 var(--ae-esp-1); }
.metier p { font-size: var(--ae-taille-petit); color: var(--ae-texte-2); margin: 0 0 var(--ae-esp-3); }
.metier ul { margin: 0; padding: 0; list-style: none; font-size: .9375rem; line-height: 1.45; }
.metier li { position: relative; padding-left: 1.1rem; margin-top: var(--ae-esp-2); }
.metier li::before { content: ""; position: absolute; left: 0; top: .55em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--ae-accent); }

/* Méthode */
.etapes { display: grid; gap: var(--ae-esp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin: var(--ae-esp-6) 0 0; padding: 0; list-style: none; }
.etapes li { padding-top: var(--ae-esp-4); border-top: 2px solid var(--ae-filet); }
.etapes__numero { font-family: var(--ae-police-titres); font-weight: 650; font-size: .875rem; letter-spacing: .1em; color: var(--ae-accent); }
.etapes h3 { font-size: 1.125rem; margin: var(--ae-esp-2) 0; }
.etapes p { color: var(--ae-texte-2); font-size: .9375rem; margin: 0; }

/* Contact */
.contact { margin-top: var(--ae-esp-6); max-width: 34rem; }
.contact__choix { padding: var(--ae-esp-6); background: var(--ae-fond-carte); border: 1px solid var(--ae-filet-carte); border-radius: var(--ae-rayon-grand); }
.contact__choix h3 { margin-bottom: var(--ae-esp-2); }
.contact__choix p { color: var(--ae-texte-2); }
.contact__choix .ae-bouton { overflow-wrap: anywhere; }

/* Mentions légales */
.mentions h1 { font-size: var(--ae-taille-h2); }
.mentions h2 { font-size: 1.25rem; margin-top: var(--ae-esp-7); }
.mentions p, .mentions li { color: var(--ae-texte); }
