/*
Theme Name:   Frédéric Favre
Theme URI:    https://fredericfavre.ch
Description:  Thème enfant de Divi pour fredericfavre.ch. Réalisé par The Content Society.
Author:       The Content Society
Author URI:   https://thecontentsociety.com
Template:     Divi
Version:      1.0.0
Text Domain:  frederic-favre
*/

/* Les couleurs, polices et tailles sont gérées dans Divi (Design Variables et préréglages).
   Ce fichier ne contient que ce que Divi ne fait pas nativement. */

/* Titres: lignes équilibrées, pas de mot orphelin */
.ff-titre h1, .ff-titre h2, .ff-titre h3,
h1.ff-titre, h2.ff-titre, h3.ff-titre { text-wrap: balance; }
.ff-texte p { text-wrap: pretty; }

/* Lien sobre « Découvrir son parcours » */
.ff-lien a, a.ff-lien {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.ff-lien a:hover, a.ff-lien:hover { text-decoration-thickness: 2px; }

/* Focus clavier visible */
a:focus-visible, button:focus-visible, .et_pb_toggle_title:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Lien d'évitement pour la navigation au clavier */
.ff-skip {
  position: absolute; left: 16px; top: -100px; z-index: 100000;
  background: #14223A; color: #F6F6F4; padding: 12px 16px; text-decoration: none;
}
.ff-skip:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
