/* Lusitanie — feuille de style commune
   Moderne, sobre, lisible : une seule famille sans empattement (Inter). */

:root {
  --papier: #ffffff;
  --encre: #141414;
  --texte: #262626;
  --gris: #6e6a64;
  --filet: #e4e1db;
  --fond-doux: #f6f4f0;
  --rouge: #b3261e;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --large: 1180px;
  --texte-largeur: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: #f1d8d5; }

.wrap { max-width: var(--large); margin: 0 auto; padding: 0 20px; }

/* ── En-tête ─────────────────────────────────────────── */
.barre {
  border-bottom: 1px solid var(--filet);
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--gris);
}
.barre .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 1rem; }
.barre nav { display: flex; gap: 1.25rem; }
.barre a { text-decoration: none; }
.barre a:hover { color: var(--encre); }

.entete { text-align: center; padding: 28px 0 0; }
.logo {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--encre);
  text-decoration: none;
  display: inline-block;
  padding-left: 0.08em; /* compense l'espacement final */
}
.devise {
  margin: 10px 0 22px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gris);
}
.rubriques {
  border-top: 1px solid var(--encre);
  border-bottom: 1px solid var(--filet);
}
.rubriques ul {
  list-style: none; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: center; gap: 2rem;
  overflow-x: auto; scrollbar-width: none;
  max-width: var(--large);
}
.rubriques ul::-webkit-scrollbar { display: none; }
.rubriques a {
  display: block; padding: 12px 0;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none; color: var(--encre); white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.rubriques a:hover, .rubriques a[aria-current="page"] { border-bottom-color: var(--rouge); }

/* ── Éléments communs ────────────────────────────────── */
.surtitre {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rouge);
  text-decoration: none;
}
.meta {
  font-family: var(--sans); font-size: 0.78rem; color: var(--gris);
}
.meta span + span::before { content: "·"; margin: 0 0.5em; }

.titre-section {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre);
  margin: 56px 0 24px;
}
.titre-section::after { content: ""; flex: 1; height: 1px; background: var(--encre); }

/* ── Accueil ─────────────────────────────────────────── */
.une {
  display: grid; grid-template-columns: 1.45fr 1fr; gap: 36px;
  align-items: center; padding: 36px 0 40px;
  border-bottom: 1px solid var(--filet);
  text-decoration: none; color: inherit;
}
.une-image { aspect-ratio: 3 / 2; overflow: hidden; background: var(--fond-doux); }
.une-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.une:hover .une-image img { transform: scale(1.02); }
.une h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.12; font-weight: 600;
  color: var(--encre); margin: 12px 0 14px; letter-spacing: -0.01em;
}
.une p { margin: 0 0 16px; color: var(--texte); font-size: 1.15rem; }

.grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.carte { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.carte-image { aspect-ratio: 3 / 2; overflow: hidden; background: var(--fond-doux); margin-bottom: 14px; }
.carte-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte:hover .carte-image img { transform: scale(1.03); }
.carte h3 {
  font-size: 1.32rem; line-height: 1.22; font-weight: 600; color: var(--encre);
  margin: 6px 0 8px;
}
.carte:hover h3, .une:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.carte p { margin: 0 0 10px; font-size: 1rem; line-height: 1.5; color: var(--texte); }
.carte .meta { margin-top: auto; }

.liste-compacte { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.liste-compacte a {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start;
  padding: 18px 0; border-top: 1px solid var(--filet); text-decoration: none;
}
.liste-compacte img { aspect-ratio: 1; object-fit: cover; width: 120px; }
.liste-compacte h3 { font-size: 1.12rem; line-height: 1.25; margin: 4px 0 0; color: var(--encre); font-weight: 600; }
.liste-compacte a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.intro-rubrique { padding: 40px 0 8px; text-align: center; }
.intro-rubrique h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0; color: var(--encre); font-weight: 600; }

/* ── Article ─────────────────────────────────────────── */
.article-entete { max-width: 820px; margin: 0 auto; padding: 48px 20px 28px; text-align: center; }
.article-entete h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.08; font-weight: 600;
  color: var(--encre); margin: 16px 0 18px; letter-spacing: -0.015em;
}
.article-entete h1 em { font-style: italic; font-weight: 500; }
.chapo { font-size: 1.3rem; line-height: 1.5; color: var(--texte); margin: 0 auto 22px; max-width: 700px; }
.article-entete .meta { border-top: 1px solid var(--filet); padding-top: 14px; display: inline-block; }

.article-visuel { max-width: 1080px; margin: 8px auto 0; padding: 0 20px; }
.article-visuel img { width: 100%; max-height: 640px; object-fit: cover; }
.article-visuel figcaption { font-family: var(--sans); font-size: 0.75rem; color: var(--gris); padding-top: 8px; }

.exergue {
  max-width: var(--texte-largeur); margin: 44px auto 0; padding: 0 20px; text-align: center;
}
.exergue p { font-size: 1.45rem; line-height: 1.4; font-style: italic; color: var(--encre); margin: 0; }
.exergue cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 0.78rem; color: var(--gris); }

.corps { max-width: var(--texte-largeur); margin: 0 auto; padding: 36px 20px 24px; }
.corps p { margin: 0 0 1.25em; }
.corps h2 {
  font-size: 1.6rem; line-height: 1.25; font-weight: 600; color: var(--encre);
  margin: 2.2em 0 0.7em;
}
.corps h3 { font-size: 1.25rem; margin: 1.8em 0 0.6em; color: var(--encre); }
.corps a { color: var(--rouge); text-underline-offset: 3px; }
.corps strong { color: var(--encre); }
.corps hr { border: 0; height: 1px; width: 60px; background: var(--encre); margin: 2.6em auto; }
.corps ul, .corps ol { padding-left: 1.2em; margin: 0 0 1.25em; }

.citation {
  margin: 2em 0; padding: 0 0 0 22px; border-left: 3px solid var(--rouge);
}
.citation p { font-size: 1.35rem; line-height: 1.42; font-style: italic; color: var(--encre); margin: 0; }
.citation cite { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 0.78rem; color: var(--gris); }

.encadre {
  background: var(--fond-doux); padding: 22px 24px 8px; margin: 2em 0;
  font-size: 1rem; line-height: 1.55; border-top: 2px solid var(--encre);
}
.encadre p { margin: 0 0 0.9em; }
.encadre-label, .corps .encadre-label {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--rouge); margin-bottom: 12px;
}

.corps figure { margin: 2.2em 0; }
.corps figure.large { margin-left: -60px; margin-right: -60px; }
.corps figcaption { font-family: var(--sans); font-size: 0.78rem; color: var(--gris); padding-top: 8px; }
.video-ratio { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.partie { text-align: center; margin: 3em 0 1em; padding-top: 2em; border-top: 1px solid var(--filet); }
.partie span { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rouge); }
.corps .partie h2 { margin: 0.3em 0 0; font-size: 1.9rem; }

.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin: 2em 0; padding: 22px 0; border-top: 1px solid var(--encre); border-bottom: 1px solid var(--filet); text-align: center; }
.chiffre { font-size: 2.2rem; font-weight: 600; color: var(--encre); line-height: 1.1; }
.chiffre-label { font-family: var(--sans); font-size: 0.78rem; color: var(--gris); margin-top: 4px; }

.timeline { margin: 2em 0; border-left: 1px solid var(--filet); padding-left: 22px; }
.timeline-item { margin-bottom: 18px; }
.timeline-year { font-family: var(--sans); font-weight: 600; font-size: 0.85rem; color: var(--rouge); }
.timeline-content strong { display: block; }

.conclusion { margin: 2.2em 0; padding: 22px 0; border-top: 1px solid var(--encre); border-bottom: 1px solid var(--encre); font-size: 1.22rem; font-style: italic; color: var(--encre); }
.conclusion p { margin: 0; }
.dedicace { text-align: right; font-style: italic; color: var(--gris); }
.instagram-media { margin: 2em auto !important; }

.signature { max-width: var(--texte-largeur); margin: 0 auto; padding: 0 20px; font-family: var(--sans); font-size: 0.8rem; color: var(--gris); }
.signature a { color: var(--encre); }

.encart-produit {
  max-width: var(--texte-largeur); margin: 36px auto 0; padding: 0 20px;
}
.encart-produit > div {
  border: 1px solid var(--filet); padding: 24px; display: grid; gap: 20px; grid-template-columns: 1fr auto; align-items: center;
}
.encart-produit h3 { margin: 6px 0 6px; font-size: 1.25rem; color: var(--encre); }
.encart-produit p { margin: 0; font-size: 1rem; line-height: 1.5; }
.bouton {
  display: inline-block; font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
  background: var(--encre); color: #fff; padding: 11px 18px; text-decoration: none; white-space: nowrap;
}
.bouton:hover { background: var(--rouge); }

/* ── Page simple ─────────────────────────────────────── */
.page { max-width: var(--texte-largeur); margin: 0 auto; padding: 48px 20px 40px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--encre); margin: 0 0 16px; font-weight: 600; }
.page h2 { font-size: 1.35rem; color: var(--encre); margin: 1.8em 0 0.5em; }
.page a { color: var(--rouge); }

/* ── Pied de page ────────────────────────────────────── */
.pied { margin-top: 72px; border-top: 1px solid var(--encre); padding: 36px 0 48px; font-family: var(--sans); font-size: 0.82rem; color: var(--gris); }
.pied .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.pied .logo { font-size: 1.6rem; }
.pied p { margin: 8px 0 0; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.pied a { text-decoration: none; color: var(--encre); }
.pied a:hover { color: var(--rouge); }

/* ── Petits écrans ───────────────────────────────────── */
@media (max-width: 900px) {
  .grille { grid-template-columns: repeat(2, 1fr); }
  .une { grid-template-columns: 1fr; gap: 20px; }
  .corps figure.large { margin-left: 0; margin-right: 0; }
}
@media (max-width: 620px) {
  body { font-size: 1.07rem; }
  .barre .date { display: none; }
  .rubriques ul { justify-content: flex-start; gap: 1.4rem; }
  .grille, .liste-compacte { grid-template-columns: 1fr; }
  .liste-compacte a { grid-template-columns: 96px 1fr; }
  .liste-compacte img { width: 96px; }
  .article-entete { padding-top: 32px; text-align: left; }
  .chapo { font-size: 1.15rem; }
  .article-visuel { padding: 0; }
  .article-visuel figcaption { padding: 8px 20px 0; }
  .encart-produit > div { grid-template-columns: 1fr; }
  .pied .wrap { grid-template-columns: 1fr; }
  .pied nav { justify-content: flex-start; }
}

/* Page contact */
.page .deck { font-size: 1.2rem; color: var(--texte); }
.contact-bloc { margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--encre); border-bottom: 1px solid var(--filet); }
.contact-label { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rouge); margin-bottom: 6px; }
.contact-value { font-size: 1.3rem; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-links a { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; text-decoration: none; color: var(--encre); border: 1px solid var(--encre); padding: 9px 16px; }
.social-links a:hover { background: var(--encre); color: #fff; }

/* Visuels avec titre et affiches : affichés en entier, sans rognage */
.carte-image.entiere img, .une-image.entiere img, .liste-compacte img.entiere { object-fit: contain; background: var(--fond-doux); }
.article-visuel img { width: auto; max-width: 100%; max-height: 720px; margin: 0 auto; object-fit: contain; }

/* Le titre LUSITANIE passe au rouge au survol, comme les liens du pied de page */
.logo { transition: color .2s ease; }
.logo:hover, .logo:focus-visible { color: var(--rouge); }

/* ── Boutique (bas de page) ──────────────────────────── */
.boutique { margin-top: 72px; }
.boutique + .pied { margin-top: 48px; }
.boutique-tete { display: flex; align-items: center; gap: 18px; margin: 0 0 6px; }
.boutique-tete .titre-section { flex: 1; margin: 0; }
.boutique-tout { font-family: var(--sans); font-size: 0.8rem; font-weight: 500; color: var(--encre); text-decoration: none; white-space: nowrap; }
.boutique-tout:hover { color: var(--rouge); }
.boutique-intro { font-family: var(--sans); font-style: italic; color: var(--gris); margin: 0 0 20px; }
.boutique-bande {
  list-style: none; margin: 0; padding: 0 0 14px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 180px; gap: 24px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.boutique-bande li { scroll-snap-align: start; }
.boutique-bande a { display: flex; flex-direction: column; text-decoration: none; color: var(--encre); }
.boutique-bande img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: var(--filet); display: block; }
.boutique-bande .b-type { font-family: var(--sans); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rouge); margin-top: 10px; }
.boutique-bande .b-titre { font-family: var(--sans); font-size: 0.95rem; line-height: 1.25; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.boutique-bande .b-prix { font-family: var(--sans); font-size: 0.8rem; color: var(--gris); margin-top: 6px; }
.boutique-bande a:hover .b-titre { color: var(--rouge); }
@media (max-width: 620px) {
  .boutique-bande { grid-auto-columns: 132px; gap: 16px; }
  .boutique-tete { flex-wrap: wrap; }
}

/* ── Typographie moderne (octobre 2026) ──────────────── */
h1, h2, h3, .une h2, .carte h3, .liste-compacte h3,
.article-entete h1, .corps h2, .corps h3, .page h1, .intro-rubrique h1 {
  font-weight: 700; letter-spacing: -0.022em;
}
.article-entete { text-align: left; max-width: var(--texte-largeur); padding-top: 40px; }
.article-entete h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.12; }
.article-entete h1 em { font-style: normal; font-weight: 700; }
.chapo { font-size: 1.2rem; line-height: 1.55; color: var(--gris); margin-left: 0; font-weight: 400; }
.corps h2 { font-size: 1.45rem; }
.exergue p, .citation p { font-style: normal; font-weight: 500; letter-spacing: -0.01em; }
.conclusion { font-style: normal; font-size: 1.12rem; }
.une p, .carte p { color: var(--gris); }
.chiffre { font-weight: 700; letter-spacing: -0.02em; }
@media (max-width: 620px) {
  body { font-size: 1rem; line-height: 1.68; }
  .article-entete { padding-top: 28px; }
  .chapo { font-size: 1.08rem; }
  .exergue p, .citation p { font-size: 1.2rem; }
}

/* Bouton « Écouter l'article » (voix de synthèse) */
.ecouter { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.ecouter[hidden] { display: none; }
.ecouter button { font: 600 0.92rem var(--sans); color: var(--encre); background: var(--fond-doux); border: 1px solid var(--filet); border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.ecouter button:hover { border-color: var(--rouge); color: var(--rouge); }
.ecouter .ecouter-stop { padding: 8px 13px; }
