html {
  font-size: 100%;
}

body {
  margin: 0;
  padding: 0;
  font: 400 1em/1.6 Georgia, "Times New Roman", serif;
  color: #444;
  background: #f5f3eb url("bg_Parole.png") repeat;
}

/* Header */
.page-header {
  text-align: center;
  margin: 1.5rem 0 1rem;
  margin-bottom: 90px;
}

.page-title {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -1px;
  color: #444;
}

/* Utilitaires */
.text-center {
  text-align: center;
}

/* Liens */
a:hover {
  color: red;
}

/* Titres */
h1 {
  font-family: times, "Times New Roman", times-roman, georgia, serif;
  color: #444;
  margin: 0;
  padding-top: 10px;
  font-size: 50px;
  line-height: 44px;
  letter-spacing: -2px;
  font-weight: bold;
}

h2 {
  font-family: "Times New Roman", Georgia, serif;
  color: #444;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 2.2rem 0 0.8rem;
  padding: 0;
}

/* Effet texte */
.ombre {
  text-shadow: 1px 1px 1px black;
  color: #000000;
}

/* Images */
img {
  max-width: 95%;
  height: auto;
}

.size-shadow {
  max-width: 100%;
  height: auto;
  box-shadow: 2px 2px 10px gray;
  -moz-box-shadow: 2px 2px 10px gray;
  -webkit-box-shadow: 8px 8px 10px gray;
}

/* Paragraphes */
p {
  color: #555;
  font-size: 22px;
  padding: 0 !important;
  font-family: "georgia", sans-serif;
  border: 0;
}

/* Listes */
ul li,
ol li {
  color: #555;
  font-size: 22px;
  font-family: "georgia", sans-serif;
}

/* Layout */
.container {
  max-width: 95%;
  margin: 0 auto;
  overflow: auto;
}

.container::after {
  content: "";
  display: block;
  clear: both;
}

.sidebar-left {
  width: 2%;
  float: left;
}

.sidebar-right {
  width: 2%;
  float: right;
}

.content {
  overflow: hidden;
  padding: 0 1.5rem 3rem;
}

#main {
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  padding-bottom: 180px; /* réserve pour le footer */
}

/* Footer */
footer {
  background: #4B4529;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #e7e5e4;
}

footer a {
  text-decoration: none;
  color: #e7e5e4;
  font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
  font-size: 30px;
}

footer a:hover {
  color: #ffffff;
}

/* Bouton retour */
.back-link-wrapper {
  text-align: center;
  margin: 1.5rem 0 0;
}

.back-link {
  display: inline-block;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  border: 1px solid #e7e5e4;
  background: #373421;
  color: #e7e5e4;
  font-family: "Avant Garde", "Century Gothic", system-ui, sans-serif;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.back-link:hover {
  background: #4A422D;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.back-link:active {
  transform: translateY(1px);
  box-shadow: none;
}

:root{
  /* Palette “vintage globe” (sobre) */
  --ink: #2c2a22;
  --text: #444;
  --muted: #736A4F;
  --accent: #7D723C;
  --accent-2: #9E855C;

  --paper: #fbf8ef;
  --paper-2: #f4efe2;
  --line: rgba(115,106,79,.35);
  --shadow: rgba(0,0,0,.10);
}

/* Petite amélioration typographique (pas trop) */
.content{
  max-width: 1100px;
  margin: 0 auto;
}

.page-subtitle{
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-style: italic;
  font-size: 1.55rem;
}

/* Grille 2 colonnes sur PC, 1 colonne sur mobile */
.study-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (min-width: 980px){
  .study-grid{
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Cartes “étude” : papier léger, pas chargé */
.study-card{
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 26px var(--shadow);
  padding: 1.15rem 1.15rem 1.1rem;
  position: relative;
}

/* Petit liseré discret en haut (accents “vieux globe”) */
.study-card::before{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  top: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(125,114,60,.65), transparent);
  opacity: .8;
}

/* H2 un peu plus “étude”, sans surcharger */
.study-card h2{
  margin-top: 0.55rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

/* Mini titres internes */
.study-subtitle{
  margin: 1rem 0 0.35rem;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Ligne méta (code strong, etc.) */
.study-meta{
  margin: 0 0 0.8rem;
  color: var(--text);
  font-size: 1.05rem;
}

/* Listes plus compactes et propres */
.study-list{
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.25rem;
}

.study-list li{
  margin: 0.25rem 0;
}

/* Liens : style “étude” */
a{
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover{
  color: #b03030; /* tu avais rouge au hover : on garde l’idée */
}

/* Séparateur interne du bloc 2 (sous-sobre) */
.study-divider{
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 1rem 0;
  opacity: .9;
}

/* Fieldset “traduction” (style note) */
.study-fieldset{
  margin: 1rem 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(158,133,92,.08);
  padding: 0.85rem 0.9rem 0.9rem;
  font-size: clamp(18px, 1.1vw + 14px, 21px);
}

.study-fieldset legend{
  padding: 0 0.6rem;
  color: var(--ink);
  font-weight: 700;
}

/* Paragraphes : un peu moins gros, plus confortable */
p{
  font-size: clamp(18px, 1.1vw + 14px, 21px);
}

/* Mobile : on simplifie les "faux sidebars" */
@media (max-width: 900px){
  .sidebar-left, .sidebar-right{ display:none; }
  .content{ padding: 0 1rem 3rem; }
}

/* Grille : 1 colonne mobile */
.study-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* PC : 2 colonnes, et le bloc wide prend les 2 */
@media (min-width: 980px){
  .study-grid{
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .study-card--wide{
    grid-column: 1 / -1; /* prend toute la ligne = “double largeur” */
  }
}

/* Titre uniquement pour lecteurs d'écran */
.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
