@font-face{font-family:"Manrope";font-style:normal;font-weight:200 800;font-display:swap;src:url("/assets/polices/manrope-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+1E00-1E9F,U+2020;}
@font-face{font-family:"Manrope";font-style:normal;font-weight:200 800;font-display:swap;src:url("/assets/polices/manrope-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122;}
/* MARJAN. — California Editorial, version sobre.
   Quatre couleurs, une police, angles droits, filets fins. Le luxe tient à la retenue :
   peu d'effets, de grandes marges, des photographies qui respirent. */
:root {
  --paper: #F9F8F5;
  --ink: #171717;
  --petrol: #28454F;
  --mineral: #C9C9C5;
  /* Mélanges des couleurs de base : texte secondaire et contour des champs (contraste AA). */
  --ink-doux: color-mix(in srgb, var(--ink) 74%, var(--paper));
  --contour: color-mix(in srgb, var(--ink) 55%, var(--paper));
  --filet: color-mix(in srgb, var(--mineral) 70%, var(--paper));
  --police: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --marge: clamp(1.5rem, 6vw, 7rem);
  --gouttiere: clamp(1rem, 2.4vw, 2.25rem);
  --espace: clamp(5rem, 12vw, 11rem);
  --sortie: cubic-bezier(0.16, 1, 0.3, 1); /* départ vif, arrivée longue et douce */
  --duree: 280ms;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5rem; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--mineral) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.75 var(--police); overflow-wrap: break-word; caret-color: var(--petrol); font-optical-sizing: auto; }
::selection { background: var(--petrol); color: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2rem, 3.7vw, 3.5rem); line-height: 1.12; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.35rem); line-height: 1.18; letter-spacing: -0.018em; }
h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.005em; font-weight: 500; }
p { max-width: 62ch; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 4px; }
.guide :focus-visible, .pied :focus-visible, .visionneuse :focus-visible, .editeur :focus-visible { outline-color: var(--paper); }
[hidden] { display: none !important; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement { position: absolute; left: var(--marge); top: -5rem; z-index: 30; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; }
.evitement:focus { top: 0.5rem; }

/* Bandeau visible seulement dans l'aperçu */
.bandeau-apercu { position: fixed; inset: auto 0 0 0; z-index: 60; max-width: none; background: var(--mineral); font-size: 0.75rem; line-height: 1.45; padding: 0.45rem var(--marge); }
.a-completer { border: 1px dashed var(--contour); font-size: 0.875rem; padding: 0.35rem 0.75rem; margin-bottom: 2rem; }

/* En-tête */
.entete { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.75rem var(--marge); background: var(--paper); }
.logo { display: block; flex: none; padding-block: 4px; }
.logo .logo-large { display: none; width: 160px; height: auto; }
.logo .logo-compact { width: 112px; height: auto; }
.menu { display: flex; align-items: center; gap: 2.75rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.menu ul { display: flex; flex-wrap: wrap; gap: 0 2rem; }
.menu a { display: inline-block; padding: 0.5rem 0; text-decoration: none; background: linear-gradient(currentColor, currentColor) left calc(100% - 0.35rem) / 0 1px no-repeat; transition: background-size var(--duree) var(--sortie); }
.menu a:hover, .menu a:focus-visible { background-size: 100% 1px; }
.langues { position: relative; text-transform: none; letter-spacing: 0; }
.langues summary { list-style: none; cursor: pointer; font-weight: 600; letter-spacing: 0.06em; padding: 0.5rem 0; min-width: 2.25rem; display: flex; align-items: center; gap: 0.5rem; }
.langues summary::-webkit-details-marker { display: none; }
.langues summary::after { content: ""; width: 0.4rem; height: 0.4rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.langues[open] summary::after { transform: translateY(1px) rotate(225deg); }
.langues ul { position: absolute; right: 0; top: 100%; z-index: 25; min-width: 11rem; display: block; background: var(--paper); border: 1px solid var(--filet); padding: 0.35rem 1.1rem; font-size: 0.875rem; }
.langues li a { display: block; padding: 0.55rem 0; background: none; }
.langues a[aria-current] { font-weight: 600; }
.bouton-menu { font: 500 0.75rem var(--police); letter-spacing: 0.06em; text-transform: uppercase; color: inherit; background: none; border: 0; padding: 0.75rem 0 0.75rem 1rem; min-height: 2.75rem; cursor: pointer; }
.bouton-menu .fermer, .bouton-menu[aria-expanded="true"] .ouvrir { display: none; }
.bouton-menu[aria-expanded="true"] .fermer { display: inline; }
/* Sans JavaScript, le menu reste simplement affiché sous le logo. */
@media (max-width: 79.99em) {
  .entete { flex-wrap: wrap; padding-block: 0.9rem; row-gap: 0; border-bottom: 1px solid var(--filet); }
  .menu { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 0.5rem; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu li { border-top: 1px solid var(--filet); }
  .menu li a { display: block; padding: 0.9rem 0; font-size: 0.9375rem; background: none; }
  .langues { border-top: 1px solid var(--filet); }
  .langues summary { min-height: 3rem; font-size: 0.9375rem; }
  .langues ul { position: static; border: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .js .menu { display: none; }
  .js .menu.ouvert { display: flex; max-height: calc(100dvh - 5rem); overflow-y: auto; }
}
@media (min-width: 80em) {
  .bouton-menu { display: none; }
  .logo .logo-large { display: block; }
  .logo .logo-compact { display: none; }
}


/* En-tête de l'accueil : transparent sur la photo, plein papier dès qu'on défile */
.entete-hero { position: absolute; inset: 0 0 auto 0; background: transparent; color: #fff; border-bottom: 0; transition: background-color var(--duree) var(--sortie), color var(--duree) var(--sortie); }
.js .entete-hero { position: fixed; }
.entete-hero .logo img { transition: filter var(--duree) var(--sortie); }
.entete-hero:not(.solide) .logo img { filter: brightness(0) invert(1); }
.entete-hero.solide { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--filet); padding-block: 1rem; }
.entete-hero .langues ul { color: var(--ink); }
@media (min-width: 80em) { .entete-hero .menu ul + .langues { padding-left: 0; } }

/* Grille 12 colonnes */
.grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem var(--gouttiere); padding-inline: var(--marge); }
@media (min-width: 48em) { .grille { grid-template-columns: repeat(12, minmax(0, 1fr)); } .grille > * { grid-column: 1 / -1; } }
.section { padding-block: var(--espace); }
main:focus { outline: none; }

/* Accueil : photographie plein écran, titre centré (structure inspirée de villazoia.eu) */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: grid; place-items: center; padding: 7rem var(--marge) 5rem; color: #fff; text-align: center; }
.hero picture { position: absolute; inset: 0; z-index: -2; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--ink) 46%, transparent); }
.hero-texte { max-width: 54rem; display: flex; flex-direction: column; align-items: center; }
.hero .lieu { color: #fff; margin-bottom: 1.5rem; letter-spacing: 0.22em; }
.hero h1 { font-size: clamp(2.25rem, 5.4vw, 5rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.03em; }
.hero-texte > p:not(.lieu) { margin-block: 1.75rem 2.5rem; color: color-mix(in srgb, #fff 90%, transparent); max-width: 38ch; font-size: 1.0625rem; }
.bouton-contour { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.9rem 2.25rem; color: #fff; border: 1px solid #fff; font: 600 0.75rem var(--police); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; transition: background-color var(--duree) var(--sortie), color var(--duree) var(--sortie); }
.bouton-contour:hover, .bouton-contour:focus-visible { background: #fff; color: var(--ink); }
.lieu { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--petrol); margin-bottom: 1.5rem; }

.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.9rem 2rem; background: var(--petrol); color: var(--paper); border: 1px solid var(--petrol); border-radius: 0; font: 600 0.75rem var(--police); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color var(--duree) var(--sortie), border-color var(--duree) var(--sortie); }
.bouton:hover { background: var(--ink); border-color: var(--ink); }
.bouton:active { transform: translateY(1px); }
.bouton:disabled { cursor: progress; opacity: 0.7; }
@media (max-width: 47.99em) { .bouton { display: flex; width: 100%; } }
.lien { display: inline-block; padding: 0.4rem 0; background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; color: inherit; font: 600 0.75rem var(--police); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: color var(--duree) var(--sortie); }
.lien:hover { color: var(--petrol); }

/* Les chiffres : bande sombre pleine largeur */
.faits { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 2.5rem 1.5rem; padding: clamp(3rem, 6vw, 5rem) var(--marge); text-align: center; }
.faits div { display: flex; flex-direction: column-reverse; align-items: center; gap: 0.65rem; }
.faits dd { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.faits dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mineral); }
.maison { padding-top: var(--espace); }

/* La maison */
.maison { row-gap: 2rem; }
.maison-texte p { margin-bottom: 1.25rem; color: var(--ink-doux); }
@media (min-width: 48em) { .maison > h2 { grid-column: 1 / 6; } .maison > .maison-texte { grid-column: 7 / 12; } }

/* Équipements : une liste réglée */
.equipements { padding-top: 0; }
.equipements ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); column-gap: var(--gouttiere); align-self: start; }
.equipements li { padding: 1rem 0; border-bottom: 1px solid var(--filet); color: var(--ink-doux); }
.equipements ul { border-top: 1px solid var(--filet); }
@media (min-width: 48em) { .equipements > h2 { grid-column: 1 / 5; } .equipements > ul { grid-column: 6 / 13; } }

/* Galerie : onglets par pièce, puis grille régulière (deux photos plus larges dans la sélection) */
.galerie { padding-inline: var(--marge); padding-top: 0; }
.galerie { padding-top: var(--espace); }
.galerie-tete { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.etiquette { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-doux); margin-bottom: 1.25rem; }
.galerie-tete h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.galerie-tete .maison-texte { margin-top: 1.75rem; }
.galerie-tete .maison-texte p { margin-inline: auto; max-width: 52ch; margin-bottom: 0.75rem; color: var(--ink-doux); }
.galerie .filtres { justify-content: center; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.galerie .filtres button { border: 1px solid var(--filet); padding: 0.55rem 1rem; min-height: 2.5rem; letter-spacing: 0.06em; transition: background-color var(--duree) var(--sortie), color var(--duree) var(--sortie), border-color var(--duree) var(--sortie); }
.galerie .filtres button:hover { border-color: var(--ink); }
.galerie .filtres button[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--paper); font-weight: 600; }
.rangs { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gouttiere); }
.rangs a { display: block; height: 100%; overflow: hidden; background: var(--filet); cursor: zoom-in; }
.rangs picture { height: 100%; }
.rangs img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 900ms var(--sortie), opacity 600ms var(--sortie); }
.rangs a:hover img { transform: scale(1.03); }
@media (min-width: 40em) { .rangs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .rangs { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(15rem, 25vw, 24rem); }
  .rangs img { aspect-ratio: auto; }
  .rangs:not(.filtre) figure:nth-child(1), .rangs:not(.filtre) figure:nth-child(10) { grid-column: span 2; }
  /* Une pièce choisie : une, deux ou trois colonnes selon le nombre de photos, hauteurs libres. */
  .rangs.filtre { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); grid-auto-rows: auto; }
  .rangs.filtre img { aspect-ratio: 3 / 2; }
}
@media (min-width: 40em) { .rangs.filtre { grid-template-columns: repeat(min(var(--cols, 2), 2), minmax(0, 1fr)); } }
@media (min-width: 64em) { .rangs.filtre { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.rangs.filtre[style*="--cols: 1"] { max-width: 60rem; }

/* Guide : section bleu pétrole, cartes à filet fin */
.guide { background: var(--petrol); color: var(--paper); padding-block: var(--espace); row-gap: 3.5rem; }
.guide-tete { text-align: center; display: flex; flex-direction: column; align-items: center; }
.guide-tete p { margin-block: 1.25rem 2rem; max-width: 46ch; }
.guide .lien:hover { color: var(--mineral); }
.lieux { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: var(--gouttiere); align-content: start; }
.lieux li { border: 1px solid color-mix(in srgb, var(--paper) 28%, var(--petrol)); padding: 1.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.lieux .ou { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mineral); }
.lieux li p:last-child { margin-top: auto; padding-top: 0.75rem; }

.filtres { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.75rem; }
.filtres button { font: 500 0.75rem var(--police); letter-spacing: 0.08em; text-transform: uppercase; background: none; color: inherit; border: 0; border-bottom: 1px solid transparent; border-radius: 0; padding: 0.7rem 0; min-height: 2.75rem; min-width: 1.75rem; cursor: pointer; transition: border-color var(--duree) var(--sortie); }
.filtres button:hover { border-bottom-color: color-mix(in srgb, currentColor 45%, transparent); }
.filtres button[aria-pressed="true"] { font-weight: 600; border-bottom-color: currentColor; }

/* Emplacement */
.secteur > div p { margin-top: 1.25rem; color: var(--ink-doux); max-width: 40ch; }
.secteur dl { border-top: 1px solid var(--filet); }
.secteur dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--filet); }
.secteur dt { font-weight: 500; }
.secteur dd { color: var(--ink-doux); }
@media (min-width: 48em) { .secteur > div { grid-column: 1 / 6; } .secteur > dl { grid-column: 7 / 13; } }

/* Questions fréquentes */
.questions details { border-bottom: 1px solid var(--filet); }
.questions details:first-child { border-top: 1px solid var(--filet); }
.questions summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-right: 1px solid var(--petrol); border-bottom: 1px solid var(--petrol); transform: rotate(45deg); transition: transform var(--duree) var(--sortie); }
.questions details[open] summary::after { transform: rotate(225deg); }
.questions details p { padding-bottom: 1.5rem; color: var(--ink-doux); }
@media (min-width: 48em) { .questions > h2 { grid-column: 1 / 5; } .questions > div { grid-column: 6 / 13; } }

/* Demande */
.contact-texte p { margin-top: 1.25rem; color: var(--ink-doux); max-width: 38ch; }
.direct { margin-top: 0.5rem; }
.direct a { display: inline-block; padding: 0.45rem 0; font-weight: 500; }
.formulaire { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem var(--gouttiere); align-content: start; }
.formulaire > * { grid-column: 1 / -1; }
.champ label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.4rem; }
.champ input, .champ textarea { width: 100%; min-width: 0; min-height: 3.25rem; padding: 0.75rem 0.85rem; font: 400 1rem var(--police); color: var(--ink); background: var(--paper); border: 1px solid var(--contour); border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color var(--duree) var(--sortie); }
.champ input:focus, .champ textarea:focus { border-color: var(--petrol); outline-offset: 2px; }
.champ input[type="date"] { display: block; }
.champ textarea { resize: vertical; line-height: 1.55; }
.champ [aria-invalid="true"] { border: 2px solid var(--ink); }
.erreur { margin-top: 0.4rem; font-size: 0.875rem; font-weight: 600; }
.erreur::before { content: "! "; }
@media (min-width: 40em) {
  .formulaire > .champ-arrivee, .formulaire > .champ-depart, .formulaire > .champ-voyageurs { grid-column: span 2; }
  .formulaire > .champ-nom, .formulaire > .champ-email { grid-column: span 3; }
  .formulaire > .bouton { justify-self: start; }
}
.mention { font-size: 0.875rem; color: var(--ink-doux); }
.piege { position: absolute; left: -9999px; }
.etat { border: 1px solid var(--ink); padding: 1rem 1.25rem; font-weight: 500; max-width: none; }
.etat.succes { border-color: var(--petrol); background: var(--petrol); color: var(--paper); }
@media (min-width: 64em) { .contact > .contact-texte { grid-column: 1 / 5; } .contact > .formulaire { grid-column: 6 / 13; } }

/* Pied de page */
.pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 3rem; background: var(--ink); color: var(--paper); padding: clamp(4rem, 8vw, 7rem) var(--marge) 3rem; }
.logo-pied { width: 200px; height: auto; }
.pied-logo p { margin-top: 1.5rem; font-size: 0.875rem; color: var(--mineral); }
.pied ul { display: flex; flex-wrap: wrap; gap: 0 1.75rem; font-size: 0.875rem; }
.pied-liens { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.pied-liens ul + ul { color: var(--mineral); }
.pied ul a { display: inline-block; padding: 0.6rem 0; }

/* Pages légales */
.legale { padding: calc(var(--espace) * 0.6) var(--marge) var(--espace); max-width: calc(46rem + 2 * var(--marge)); }
.legale h1 { margin-bottom: 2rem; }
.legale h2 { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; margin: 2.25rem 0 0.6rem; }
.legale .retour { margin-top: 3rem; }

/* Journal « Silicon Beach Today » */
.ours { padding: 0 var(--marge); }
.ours-barre { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--filet); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.ours-barre a { display: inline-block; padding: 0.9rem 0; text-decoration: none; }
.ours-gauche { display: flex; align-items: center; flex-wrap: wrap; gap: 0 1.5rem; }
.ours-barre a.retour-site { margin: 0.45rem 0; padding: 0.55rem 0.9rem; background: var(--petrol); color: var(--paper); border: 1px solid var(--petrol); transition: background-color var(--duree) var(--sortie); }
.ours-barre a.retour-site:hover, .ours-barre a.retour-site:focus-visible { background: var(--ink); border-color: var(--ink); }
.ours-barre a.retour-site::before { content: "←"; margin-right: 0.6em; }
.ours-langues { display: flex; gap: 0.6rem; align-items: center; }
.ours-langues [aria-current] { border-bottom: 1px solid currentColor; }
.ours-nom { display: block; padding: clamp(2rem, 4vw, 3.5rem) 0; font-size: clamp(2rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.035em; text-decoration: none; text-wrap: balance; }
.ours-pied { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.35rem 2rem; border-block: 1px solid var(--ink); padding: 0.75rem 0; font-size: 0.8125rem; }
.journal figcaption { font-size: 0.8125rem; color: var(--ink-doux); padding-top: 0.75rem; }
.journal figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.manchette { padding-block: clamp(3.5rem, 7vw, 7rem); row-gap: 2rem; }
.manchette + .manchette { border-top: 1px solid var(--filet); }
.manchette h1, .manchette h2 { font-size: clamp(1.75rem, 2.8vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em; }
.manchette h1 a, .manchette h2 a { text-decoration: none; }
.manchette h1 a:hover, .manchette h2 a:hover { color: var(--petrol); }
.chapeau { margin-block: 1.25rem; color: var(--ink-doux); font-size: 1.125rem; line-height: 1.6; }
.manchette > figure { order: -1; }
@media (min-width: 64em) {
  .manchette > figure { order: 0; }
  .premiere > .manchette-texte { grid-column: 1 / 6; grid-row: 1; align-self: end; }
  .premiere > figure { grid-column: 7 / 13; grid-row: 1; }
  .seconde > figure { grid-column: 1 / 7; grid-row: 1; }
  .seconde > .manchette-texte { grid-column: 8 / 13; grid-row: 1; align-self: end; }
}
.article-tete { padding-block: clamp(3rem, 6vw, 6rem); row-gap: 1.5rem; }
.article-tete h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
.article-tete .lieu { margin: 0; }
.article-tete .chapeau { margin-top: 0; }
.signature, .verifie { font-size: 0.875rem; color: var(--ink-doux); }
@media (min-width: 64em) { .article-tete > h1 { grid-column: 1 / 9; } .article-tete > div { grid-column: 9 / 13; align-self: end; } }
.journal figure.article-une img { aspect-ratio: auto; height: min(68svh, 50rem); min-height: 15rem; }
.article-une figcaption { padding-inline: var(--marge); }
@media (max-width: 47.99em) { .journal figure.article-une img { height: auto; aspect-ratio: 4 / 3; min-height: 0; } }
.article-corps { padding-block: clamp(3.5rem, 7vw, 7rem); align-items: start; row-gap: 3rem; }
.bref h2, .sources h2, .rivage h2 { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; margin-bottom: 1rem; }
.bref dl div { border-top: 1px solid var(--filet); padding: 0.8rem 0; }
.bref dt { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--petrol); }
.texte > p, .texte > ol { max-width: 66ch; margin: 0 0 1.4rem; }
.texte > h2 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); margin: 3.25rem 0 1.25rem; max-width: 26ch; }
.texte > ol { padding-left: 1.25rem; }
.texte > ol li { margin-bottom: 0.6rem; }
.texte > figure { margin: 2.75rem 0; }
.texte blockquote { margin: 2.75rem 0; padding: 1.75rem 0; border-block: 1px solid var(--ink); }
.texte blockquote p { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.35; letter-spacing: -0.012em; }
.texte blockquote cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.875rem; color: var(--ink-doux); }
.sources { margin-top: 3rem; border-top: 1px solid var(--filet); padding-top: 1.5rem; font-size: 0.875rem; }
.sources li { padding: 0.35rem 0; }
@media (min-width: 64em) { .article-corps > .bref { grid-column: 1 / 4; position: sticky; top: 2rem; } .article-corps > .texte { grid-column: 5 / 11; } }
.rivage { padding: clamp(3.5rem, 7vw, 7rem) var(--marge); border-top: 1px solid var(--filet); }
.rivage > div { display: grid; gap: var(--gouttiere); }
.journal .rivage img { aspect-ratio: 4 / 5; }
@media (min-width: 48em) { .rivage > div { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.editeur { background: var(--petrol); color: var(--paper); padding-block: clamp(3.5rem, 7vw, 7rem); row-gap: 1.5rem; }
.editeur p + p { margin-top: 1.25rem; }
.editeur .lien:hover { color: var(--mineral); }
@media (min-width: 48em) { .editeur > h2 { grid-column: 1 / 6; } .editeur > div { grid-column: 7 / 12; } }
.pied-journal { align-items: center; }

/* Langues : japonais (police système pour les caractères, pas de resserrement) */
:lang(ja) { --police: "Manrope", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-family: var(--police); }
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3 { letter-spacing: 0; line-height: 1.4; word-break: auto-phrase; }
h2:lang(de) { hyphens: auto; }

/* Mouvement : un seul geste, doux et long. Texte et photos apparaissent en fondu. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .hero img { animation: fondu 1.5s var(--sortie) both; }
  .hero-texte, .ours-nom, .article-tete > * { animation: monter 1.2s var(--sortie) both; }
  .hero-texte { animation-delay: 250ms; }
  @keyframes fondu { from { opacity: 0; } }
  @keyframes monter { from { opacity: 0; translate: 0 0.9rem; } }
  .anime .monte { opacity: 0; translate: 0 0.9rem; transition: opacity 1.2s var(--sortie) var(--retard, 0ms), translate 1.2s var(--sortie) var(--retard, 0ms); }
  .anime .monte.vu { opacity: 1; translate: 0 0; }
  .visionneuse[open] { animation: fondu 350ms ease-out both; }
}

/* Visionneuse */
.visionneuse { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 4.5rem var(--marge) 5rem; border: 0; background: var(--ink); color: var(--paper); }
.visionneuse[open] { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.visionneuse figure { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; min-height: 0; }
.visionneuse img { flex: 0 1 auto; min-height: 0; max-width: 100%; max-height: calc(100% - 3rem); object-fit: contain; }
.visionneuse figcaption { font-size: 0.875rem; text-align: center; }
.visionneuse button { position: absolute; background: none; color: var(--paper); border: 1px solid color-mix(in srgb, var(--paper) 40%, var(--ink)); border-radius: 0; cursor: pointer; font-family: var(--police); min-width: 3rem; min-height: 3rem; transition: background-color var(--duree) var(--sortie); }
.visionneuse button:hover { background: color-mix(in srgb, var(--paper) 12%, var(--ink)); }
.visionneuse .v-fermer { top: 1rem; right: var(--marge); padding: 0 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.v-avant, .v-apres { bottom: 1rem; font-size: 1.5rem; }
.v-avant { left: var(--marge); }
.v-apres { right: var(--marge); }
body.verrou { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
