@charset "UTF-8";
/* info-bordeaux.fr
   Lie-de-vin pour l'accent, Garonne pour les repères, fond pierre très clair.
   Titres en Bricolage Grotesque, texte en Instrument Sans. Peu de filets, des ombres douces. */

@font-face { font-family: "Bricolage IB"; src: url(polices/bricolage-grotesque-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage IB"; src: url(polices/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage IB"; src: url(polices/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Instrument IB"; src: url(polices/instrument-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument IB"; src: url(polices/instrument-sans-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument IB"; src: url(polices/instrument-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument IB"; src: url(polices/instrument-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument IB"; src: url(polices/instrument-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --lie: #7a1f3d;
  --lie-fonce: #4f1328;
  --lie-voile: #f7ebee;
  --garonne: #17606f;
  --garonne-voile: #e8f3f4;
  --ambre: #7a1f3d;
  --ambre-voile: #f4f5f7;
  --fond: #f4f5f7;
  --carte: #ffffff;
  --encre: #1f1a1d;
  --encre-douce: #555a63;
  --gris: #858b95;
  --ligne: #e6e8ec;
  --ombre: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px -6px rgba(16, 24, 40, .08);
  --ombre-forte: 0 1px 3px rgba(16, 24, 40, .05), 0 16px 40px -16px rgba(16, 24, 40, .18);
  --titre: "Bricolage IB", "Segoe UI", system-ui, sans-serif;
  --sans: "Instrument IB", "Segoe UI", system-ui, sans-serif;
  --largeur: 1200px;
  --texte-max: 44rem;
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body { margin: 0; background: #fff; color: var(--encre); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--lie); text-underline-offset: .2em; text-decoration-thickness: 1.5px; text-decoration-color: rgba(122, 31, 61, .35); }
a:hover { color: var(--lie-fonce); text-decoration-color: currentColor; }
h1, h2, h3 { font-family: var(--titre); color: var(--encre); line-height: 1.12; letter-spacing: -.02em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.25rem); margin: .25em 0 .4em; }
h2 { font-weight: 700; font-size: clamp(1.35rem, 2.3vw, 1.6rem); margin: 2.6rem 0 .7rem; }
h3 { font-weight: 700; font-size: 1.2rem; margin: 2rem 0 .5rem; color: var(--garonne); letter-spacing: -.01em; }
p { margin: 0 0 1.05em; }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 2px; border-radius: 4px; }

.saut { position: absolute; left: -999px; top: 0; background: var(--lie); color: #fff; padding: .6rem 1rem; z-index: 100; }
.saut:focus { left: 1rem; }

/* ---------- Barre du haut ---------- */
.nef { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(31, 26, 29, .06); position: sticky; top: 0; z-index: 50; }
.nef-int { max-width: var(--largeur); margin: 0 auto; padding: 0 1.25rem; display: flex; align-items: center; gap: 1.5rem; min-height: 4.2rem; }
.blason { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--encre); flex-shrink: 0; }
.blason:hover { color: var(--encre); }
.blason-lune { width: 2.1rem; height: 2.1rem; color: var(--lie); }
.blason-mot { font: 800 1.3rem/1 var(--titre); letter-spacing: -.02em; display: flex; flex-direction: column; }
.blason-petit { font: 600 .62rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--lie); }

.volet { margin-left: auto; }
.rayons { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.rayon { position: relative; }
.rayon-titre { font: 500 .95rem/1 var(--sans); color: var(--encre); background: none; border: 0; padding: .7rem .85rem; cursor: pointer; border-radius: 999px; transition: background .15s; }
.rayon-titre::after { content: ""; display: inline-block; width: .34em; height: .34em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-.2em); margin-left: .5em; opacity: .5; }
.rayon-titre:hover, .rayon-titre[aria-expanded="true"] { background: var(--lie-voile); color: var(--lie); }
.rayon-ici > .rayon-titre { color: var(--lie); font-weight: 600; }
.rayon-pages { list-style: none; margin: 0; padding: .45rem; position: absolute; top: calc(100% + .5rem); left: 0; min-width: 16.5rem; background: var(--carte); border-radius: 14px; box-shadow: var(--ombre-forte); display: none; }
.rayon:last-child .rayon-pages, .rayon:nth-last-child(2) .rayon-pages { left: auto; right: 0; }
.rayon-titre[aria-expanded="true"] + .rayon-pages { display: block; }
.rayon-pages a { display: block; padding: .55rem .8rem; border-radius: 9px; color: var(--encre); text-decoration: none; font-size: .95rem; line-height: 1.35; }
.rayon-pages a:hover { background: var(--fond); color: var(--lie); }
.rayon-pages a[aria-current] { color: var(--lie); font-weight: 600; background: var(--lie-voile); }
.rayon-pages:empty::before { content: "Pages en préparation"; display: block; padding: .55rem .8rem; color: var(--gris); font-size: .9rem; }

.volet-bouton { display: none; margin-left: auto; align-items: center; gap: .55rem; background: var(--encre); color: #fff; border: 0; border-radius: 999px; padding: .6rem 1.05rem; font: 600 .9rem var(--sans); cursor: pointer; }
.volet-trait, .volet-trait::before, .volet-trait::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
.volet-trait::before, .volet-trait::after { content: ""; position: absolute; left: 0; }
.volet-trait::before { top: -5px; } .volet-trait::after { top: 5px; }

@media (max-width: 960px) {
  .volet-bouton { display: inline-flex; }
  .volet { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--carte); max-height: calc(100vh - 4.4rem); overflow-y: auto; box-shadow: 0 24px 40px -12px rgba(31, 26, 29, .2); }
  .nef.volet-ouvert .volet { display: block; }
  .rayons { flex-direction: column; padding: .5rem 1.25rem 1.25rem; gap: 0; }
  .rayon { border-bottom: 1px solid var(--ligne); }
  .rayon-titre { width: 100%; text-align: left; padding: 1rem .25rem; font-size: 1.02rem; display: flex; justify-content: space-between; border-radius: 0; }
  .rayon-ici > .rayon-titre { background: none; color: var(--lie); }
  .rayon-pages { position: static; display: none; box-shadow: none; padding: 0 0 .7rem; min-width: 0; }
}

/* ---------- Ouverture : titre et chapeau, fiche « L'essentiel », puis la photo entière ---------- */
#contenu { display: block; }
.ouverture { max-width: var(--largeur); margin: 0 auto; padding: 2.4rem 1.25rem 2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.ouverture-seule { grid-template-columns: minmax(0, 1fr); }
.ouverture-seule .ouverture-texte { max-width: 48rem; }
.fil { font-size: .82rem; color: var(--gris); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.fil a { color: var(--gris); text-decoration: none; }
.fil [aria-current] { color: var(--encre); }
.fil a:hover { color: var(--lie); }
.ouverture h1 { margin-top: .5rem; }
.chapo { font-size: 1.04rem; line-height: 1.65; color: var(--encre-douce); }
.chapo p:last-child { margin-bottom: 0; }
.chapo strong { color: var(--encre); font-weight: 600; }
.releve { margin: 1.1rem 0 0; font-size: .82rem; color: var(--gris); display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.releve span { display: inline-flex; align-items: center; gap: .4rem; }
.releve svg { width: 1rem; height: 1rem; }

.cliche { margin: 0; }
.cliche img { display: block; width: 100%; height: auto; border-radius: 14px; }
.cliche figcaption, .vue figcaption { font-size: .82rem; line-height: 1.5; color: var(--gris); margin-top: .6rem; }
.credit { display: inline; font-size: .76rem; color: var(--gris); }

/* L'essentiel : une carte par information */
.fiche { max-width: var(--largeur); margin: 0 auto 1.4rem; padding: 0 1.25rem; }
.fiche-titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fiche dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .75rem; }
.fiche-ligne { min-width: 0; background: var(--fond); border-radius: 12px; padding: .9rem 1rem; display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; column-gap: .65rem; }
.fiche dt { display: contents; }
.fiche dt svg { grid-row: 1 / 2; width: 1.4rem; height: 1.4rem; color: var(--lie); margin-top: .05rem; }
.fiche dt span { font-weight: 700; font-size: .88rem; color: var(--encre); }
.fiche dd { grid-column: 2; margin: .15rem 0 0; font-size: .86rem; line-height: 1.45; color: var(--encre-douce); }
.fiche dd strong { color: var(--encre); font-weight: 700; }
@media (max-width: 900px) {
  .ouverture { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; padding-top: 1.4rem; }
  .fiche dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 520px) { .fiche dl { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Corps : texte à gauche, colonne latérale à droite ---------- */
.trame { max-width: var(--largeur); margin: 0 auto; padding: 1rem 1.25rem 4rem; display: grid; grid-template-columns: minmax(0, 1fr) 17.5rem; gap: 3rem; align-items: start; }
.texte { min-width: 0; font-size: 1rem; line-height: 1.7; }
.texte p { margin-bottom: 1em; }
.texte > h2:first-child { margin-top: .2rem; }
.texte strong { color: var(--encre); font-weight: 600; }
.texte ul, .texte ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.texte li { margin-bottom: .35em; }
.texte li::marker { color: var(--lie); }
.cote { position: sticky; top: 5.4rem; display: grid; gap: 1rem; }
.cote-titre { display: flex; align-items: center; gap: .5rem; font: 700 1.02rem var(--titre); color: var(--encre); margin: 0 0 .8rem; }
.cote-titre svg { width: 1.9rem; height: 1.9rem; padding: .38rem; border-radius: 50%; background: var(--lie-voile); color: var(--lie); }
.reperes, .voisines { border: 1px solid var(--ligne); border-radius: 14px; padding: 1.1rem 1.1rem .9rem; background: #fff; }
.reperes ol { list-style: none; margin: 0; padding: 0; position: relative; }
.reperes ol::before { content: ""; position: absolute; left: .32rem; top: .6rem; bottom: .6rem; width: 1px; background: var(--ligne); }
.reperes li { margin: 0; line-height: 1.35; }
.reperes a { position: relative; display: block; padding: .38rem 0 .38rem 1.3rem; font-size: .86rem; color: var(--encre-douce); text-decoration: none; }
.reperes a::before { content: ""; position: absolute; left: .12rem; top: .78rem; width: .42rem; height: .42rem; border-radius: 50%; background: #c9ccd3; }
.reperes a:hover { color: var(--lie); }
.reperes a.reperes-vu { color: var(--lie); font-weight: 600; }
.reperes a.reperes-vu::before { left: 0; top: .66rem; width: .66rem; height: .66rem; background: var(--lie); }
.voisines ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.voisines a { display: flex; align-items: center; gap: .75rem; padding: .45rem; border-radius: 10px; background: var(--fond); color: var(--encre); text-decoration: none; font-size: .88rem; font-weight: 600; line-height: 1.3; }
.voisines a::after { content: "›"; margin-left: auto; padding-right: .3rem; color: var(--gris); font-size: 1.1rem; }
.voisines a:hover { background: var(--lie-voile); color: var(--lie); }
.voisines img { width: 64px; height: 48px; object-fit: cover; border-radius: 7px; flex-shrink: 0; }
@media (max-width: 960px) {
  .trame { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .cote { position: static; }
  .reperes { display: none; }
}

/* Chiffres repères */
.chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .8rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.chiffres li { background: var(--lie-voile); border-radius: var(--r); padding: 1rem 1.1rem; margin: 0; line-height: 1.35; font-size: .9rem; color: var(--encre-douce); }
.chiffres li:nth-child(2n) { background: var(--garonne-voile); }
.chiffres b { display: block; font: 800 1.65rem/1.1 var(--titre); letter-spacing: -.02em; color: var(--lie); margin-bottom: .3rem; }
.chiffres li:nth-child(2n) b { color: var(--garonne); }

/* Tableaux */
.defile { overflow-x: auto; margin: 1.3rem 0 1.8rem; border-radius: var(--r); background: var(--carte); box-shadow: var(--ombre); }
.grille { width: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.45; }
.grille caption { text-align: left; font-size: .8rem; color: var(--gris); padding: .8rem 1.1rem 1rem; caption-side: bottom; }
.grille th, .grille td { padding: .62rem .95rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ligne); }
.grille thead th { background: var(--fond); color: var(--encre-douce); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; border-bottom: 0; }
.grille tbody tr:last-child th, .grille tbody tr:last-child td { border-bottom: 0; }
.grille tbody tr { transition: background .12s; }
.grille tbody tr:hover { background: #fafbfc; }
.grille tbody th { font-weight: 600; color: var(--encre); }
.grille .nombre { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Images dans le texte */
.vue { margin: 2.4rem 0; }
.vue img { display: block; width: 100%; border-radius: var(--r); box-shadow: var(--ombre); }

/* Encadré « bon à savoir » */
.parti, .conseil { background: var(--garonne-voile); border-radius: 14px; padding: 1.1rem 1.25rem; margin: 1.8rem 0; font-size: .97rem; }
.parti strong:first-child { display: block; font: 700 1.02rem var(--titre); color: var(--encre); margin-bottom: .25rem; }
.conseil-titre { display: flex; align-items: center; gap: .6rem; font: 700 1.02rem var(--titre); color: var(--encre); margin-bottom: .45rem; }
.conseil-titre svg { width: 2rem; height: 2rem; padding: .4rem; border-radius: 50%; background: #fff; color: var(--lie); }
.parti p:last-child, .conseil p:last-child { margin-bottom: 0; }

/* Fiches de lieux dans une liste */
.adresses { list-style: none; padding: 0 !important; display: grid; gap: .8rem; }
.adresse { background: var(--carte); border-radius: var(--r); box-shadow: var(--ombre); padding: 1rem 1.2rem; margin: 0 !important; }
.adresse-nom { font-weight: 700; color: var(--encre); display: block; }
.adresse-ou { font-size: .9rem; color: var(--encre-douce); display: block; margin-bottom: .3rem; }

/* Outils interactifs */
.outil { background: var(--garonne-voile); border-radius: 20px; padding: 1.4rem 1.4rem; margin: 1.6rem 0 2rem; }
.outil-titre { font: 700 1.15rem var(--titre); letter-spacing: -.01em; color: var(--garonne); margin: 0 0 .9rem; }
.outil label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: .35rem; color: var(--encre); }
.outil select, .outil input[type="number"], .outil input[type="text"], .outil input[type="date"], .outil input[type="time"] { font: inherit; font-size: 1rem; padding: .6rem .8rem; border: 1px solid rgba(23, 96, 111, .2); border-radius: 12px; background: #fff; max-width: 100%; transition: border-color .15s, box-shadow .15s; }
.outil select:focus, .outil input:focus { outline: none; border-color: var(--garonne); box-shadow: 0 0 0 4px rgba(23, 96, 111, .15); }
.outil-choix { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.outil-choix button { font: 600 .92rem var(--sans); border: 0; background: #fff; color: var(--garonne); border-radius: 999px; padding: .5rem 1.05rem; cursor: pointer; box-shadow: 0 1px 2px rgba(23, 96, 111, .12); transition: background .15s, color .15s; }
.outil-choix button:hover { background: #d5eaec; }
.outil-choix button[aria-pressed="true"] { background: var(--garonne); color: #fff; }
.outil-sortie { background: #fff; border-radius: 14px; padding: 1rem 1.15rem; margin-top: 1rem; box-shadow: 0 1px 2px rgba(23, 96, 111, .08); }
.outil-sortie p:last-child { margin-bottom: 0; }

/* Carte */
.plan { height: 430px; border-radius: var(--r); margin: 0 0 .7rem; z-index: 1; box-shadow: var(--ombre); }
.plan-legende { font-size: .84rem; color: var(--encre-douce); margin-bottom: 1.8rem; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.pastille { display: inline-block; width: .8em; height: .8em; border-radius: 50%; margin-right: .35em; vertical-align: -.05em; }
@media (max-width: 600px) { .plan { height: 340px; } }

/* FAQ */
.questions { margin-top: 2.6rem; }
.question { background: #fff; border: 1px solid var(--ligne); border-radius: 10px; margin-bottom: .5rem; }
.question summary { cursor: pointer; padding: .8rem 3rem .8rem 1rem; font-weight: 600; font-size: .95rem; list-style: none; position: relative; color: var(--encre); }
.question summary::-webkit-details-marker { display: none; }
.question summary::after { content: "+"; position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 1px solid #d9b8c3; color: var(--lie); font: 600 .95rem/1.15rem var(--sans); text-align: center; }
.question[open] summary::after { content: "−"; background: var(--lie); border-color: var(--lie); color: #fff; }
.reponse { padding: 0 1rem .2rem; color: var(--encre-douce); font-size: .93rem; }

/* Sources */
.origines { margin-top: 3rem; }
.origines h2 { font-size: 1rem; color: var(--gris); text-transform: uppercase; letter-spacing: .08em; }
.origines ul { list-style: none; padding: 0 !important; font-size: .85rem; color: var(--encre-douce); }
.origines li { padding-left: 1rem; position: relative; overflow-wrap: anywhere; }
.origines li::before { content: ""; position: absolute; left: 0; top: .7em; width: .35rem; height: .35rem; border-radius: 50%; background: var(--ambre); }
.adresse-web { font-family: ui-monospace, Consolas, monospace; font-size: .78rem; color: var(--gris); }
.coquille { margin-top: 2rem; font-size: .88rem; color: var(--encre-douce); background: var(--carte); border-radius: 12px; padding: .8rem 1rem; box-shadow: var(--ombre); }
.methode { font-size: .86rem; color: var(--gris); font-style: italic; }

/* ---------- Pied ---------- */
.socle { background: #1b1a1f; color: #c9c6cf; font-size: .92rem; margin-top: 2rem; }
.socle a { color: #fff; text-decoration: none; opacity: .9; }
.socle a:hover { opacity: 1; text-decoration: underline; color: #fff; }
.socle-int { max-width: var(--largeur); margin: 0 auto; padding: 3.5rem 1.25rem 1.8rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 2rem 2.2rem; }
.socle-propos { grid-column: span 2; max-width: 26rem; }
.socle-nom { font: 800 1.45rem var(--titre); letter-spacing: -.02em; color: #fff; margin-bottom: .6rem; }
.socle-titre { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: #e7a3b6; margin-bottom: .7rem; }
.socle ul { list-style: none; margin: 0; padding: 0; }
.socle li { margin-bottom: .45rem; line-height: 1.35; }
.socle-bas { max-width: var(--largeur); margin: 0 auto; padding: 1.1rem 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: #8f8b97; }
@media (max-width: 560px) { .socle-propos { grid-column: auto; } }

/* ---------- Accueil ---------- */
.une { position: relative; max-width: calc(var(--largeur) + 2rem); margin: 1.2rem auto 0; padding: 0 1rem; }
.une-fond { display: block; width: 100%; height: clamp(22rem, 46vw, 33rem); object-fit: cover; border-radius: 22px; }
.une::after { content: ""; position: absolute; inset: 0 1rem; border-radius: 22px; background: linear-gradient(90deg, rgba(18, 14, 20, .72) 0%, rgba(18, 14, 20, .38) 48%, rgba(18, 14, 20, 0) 75%); pointer-events: none; }
.une-texte { position: absolute; z-index: 1; left: 4.5rem; top: 50%; transform: translateY(-50%); max-width: 34rem; color: #fff; }
.une h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.02; margin: 0 0 .6rem; }
.une-intro { font-size: 1.08rem; line-height: 1.55; color: rgba(255, 255, 255, .9); margin: 0; }
.une-credit { position: absolute; z-index: 1; right: 2.2rem; bottom: .9rem; margin: 0; font-size: .7rem; color: rgba(255, 255, 255, .78); }
.raccourcis { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.raccourcis a { display: inline-block; padding: .6rem 1.05rem; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--encre); font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .15s, color .15s; }
.raccourcis a:hover { background: var(--lie); color: #fff; }
.raccourcis li:first-child a { background: var(--lie); color: #fff; }
@media (max-width: 760px) {
  .une-fond { height: auto; aspect-ratio: 4 / 5; }
  .une::after { background: linear-gradient(0deg, rgba(18, 14, 20, .8) 0%, rgba(18, 14, 20, .35) 60%, rgba(18, 14, 20, .1) 100%); }
  .une-texte { left: 2rem; right: 2rem; top: auto; bottom: 2.4rem; transform: none; }
}

.themes { max-width: var(--largeur); margin: 1.8rem auto 0; padding: 0 1.25rem; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; }
.themes a { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: .6rem .2rem; color: var(--encre); text-decoration: none; font-size: .88rem; font-weight: 600; text-align: center; border-radius: 12px; }
.themes svg { width: 3.4rem; height: 3.4rem; padding: .85rem; border-radius: 50%; background: var(--lie-voile); color: var(--lie); transition: background .15s, color .15s; }
.themes a:hover svg { background: var(--lie); color: #fff; }
@media (max-width: 760px) { .themes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.surtitre { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lie); margin: 0 0 .35rem; }
.etage { max-width: var(--largeur); margin: 0 auto; padding: 3.2rem 1.25rem .5rem; }
.etage-tete { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.etage-tete h2 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.05rem); }
.etage-lien { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9rem; text-decoration: none; }
.etage-lien svg, .bouton svg { width: 1.05rem; height: 1.05rem; }
.vitrines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.vitrines-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .vitrines, .vitrines-trois { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .vitrines, .vitrines-trois { grid-template-columns: minmax(0, 1fr); } }
.vitrine { background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--encre); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.vitrine:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); color: var(--encre); }
.vitrine img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.vitrine-texte { padding: .85rem 2.8rem .95rem .95rem; position: relative; }
.vitrine-texte::after { content: ""; position: absolute; right: .9rem; top: 50%; width: 1.6rem; height: 1.6rem; margin-top: -.8rem; border-radius: 50%; background: var(--lie-voile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a1f3d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 7 5 5-5 5'/%3E%3C/svg%3E") center / 1rem no-repeat; }
.vitrine-titre { font: 700 1rem/1.25 var(--titre); color: var(--encre); display: block; margin-bottom: .25rem; }
.vitrine-texte span:last-child { font-size: .84rem; color: var(--encre-douce); line-height: 1.4; display: block; }

.duo { max-width: var(--largeur); margin: 3.2rem auto 0; padding: 0 1.25rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.duo-texte { border-radius: 20px; padding: 2.2rem 2.2rem 1.8rem; }
.duo-lie .duo-texte { background: var(--lie-voile); }
.duo-garonne .duo-texte { background: var(--garonne-voile); }
.duo-texte h2 { margin: 0 0 .8rem; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.duo-texte > p { color: var(--encre-douce); }
.duo-photo { display: block; width: 100%; height: 100%; min-height: 20rem; object-fit: cover; border-radius: 20px; }
.bouton { display: inline-flex; align-items: center; gap: .45rem; margin-top: .4rem; padding: .7rem 1.2rem; border-radius: 10px; background: var(--lie); color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; }
.bouton:hover { background: var(--lie-fonce); color: #fff; }
.reperes-chiffres { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; font-size: .8rem; color: var(--encre-douce); line-height: 1.35; }
.reperes-chiffres b { display: block; font: 800 1.3rem/1.1 var(--titre); color: var(--encre); margin-bottom: .15rem; }
.liens-duo { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; }
.liens-duo a { display: flex; justify-content: space-between; align-items: center; padding: .65rem .9rem; border-radius: 10px; background: #fff; color: var(--encre); font-weight: 600; font-size: .92rem; text-decoration: none; }
.liens-duo a::after { content: "›"; color: var(--garonne); font-size: 1.2rem; }
.liens-duo a:hover { color: var(--garonne); }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } .duo-photo { min-height: 0; height: auto; aspect-ratio: 4 / 3; } .duo-garonne .duo-photo { order: 2; } }

.agenda { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.agenda li { margin: 0; }
.agenda li > span, .agenda a { display: flex; gap: .85rem; height: 100%; padding: 1rem; border: 1px solid var(--ligne); border-radius: 14px; background: #fff; color: var(--encre-douce); text-decoration: none; font-size: .85rem; line-height: 1.4; }
.agenda a:hover { border-color: var(--lie); }
.agenda-date { flex-shrink: 0; width: 3.3rem; height: 3.5rem; border-radius: 10px; background: var(--lie); color: #fff; text-align: center; font-size: .7rem; font-weight: 600; text-transform: uppercase; line-height: 1; padding-top: .5rem; }
.agenda-date b { display: block; font: 800 1.45rem/1.1 var(--titre); }
.agenda strong { display: block; font: 700 .98rem/1.25 var(--titre); color: var(--encre); margin-bottom: .25rem; }
.agenda em { display: table; margin-top: .5rem; font-style: normal; font-size: .75rem; color: var(--lie); background: var(--lie-voile); border-radius: 999px; padding: .15rem .55rem; }
.agenda-note { margin: 1rem 0 3.5rem; font-size: .88rem; color: var(--encre-douce); }
@media (max-width: 960px) { .agenda { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .agenda { grid-template-columns: minmax(0, 1fr); } }

/* Filet fin autour des cartes, à la place des ombres seules */
.vitrine, .defile, .adresse, .coquille, .rayon-pages { border: 1px solid var(--ligne); }
.raccourcis li:first-child a { border-color: var(--lie); }
.vitrine:hover, .boussole a:hover { border-color: #d5d8de; }

/* Étapes numérotées d'un itinéraire */
.texte ol.etapes { list-style: none; padding: 0; counter-reset: etape; margin: 1.6rem 0 2rem; }
.etapes li { counter-increment: etape; position: relative; padding: 0 0 1.1rem 2.9rem; margin: 0; }
.etapes li::before { content: counter(etape); position: absolute; left: 0; top: .1rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--lie); color: #fff; font: 700 .9rem/1.9rem var(--sans); text-align: center; }
.etapes li:not(:last-child)::after { content: ""; position: absolute; left: .93rem; top: 2.2rem; bottom: .2rem; width: 2px; background: var(--ligne); }
.etape-num { background: var(--lie); color: #fff; border: 2px solid #fff; border-radius: 50%; font: 700 .8rem/22px var(--sans); text-align: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }

/* Liste de résultats d'un outil */
.marches-liste { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: .45rem; }
.marches-liste li { margin: 0; padding: .55rem .75rem; background: var(--fond); border-radius: 10px; line-height: 1.45; font-size: .95rem; }
.marches-liste span { color: var(--encre-douce); }

/* Idées filtrées par envie */
.outil-compte { font-size: .85rem; color: var(--encre-douce); margin: 0 0 .6rem; }
.texte ul.idees { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .6rem; }
.idees li { margin: 0; background: #fff; border-radius: 12px; padding: .75rem .9rem; line-height: 1.4; }
.idees li[hidden] { display: none; }
.idees a { font-weight: 600; text-decoration: none; display: block; }
.idees a:hover { text-decoration: underline; }
.idees span { font-size: .88rem; color: var(--encre-douce); }

/* Horaires en pastilles */
.heures { display: flex; flex-wrap: wrap; gap: .35rem; margin: .3rem 0 1rem; }
.heure { display: inline-block; padding: .25rem .6rem; border-radius: 8px; background: var(--fond); font-size: .88rem; font-variant-numeric: tabular-nums; }

.outil-ligne { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; margin-bottom: .4rem; }

/* ---------- Niveau de détail de la maquette ---------- */
body { font-size: .95rem; }
h1 { font-size: clamp(2rem, 3.8vw, 2.75rem); }
h2 { font-size: clamp(1.25rem, 2vw, 1.45rem); margin: 2.2rem 0 .55rem; }
.chapo { font-size: .98rem; line-height: 1.6; color: var(--encre); }
.chapo strong { color: var(--lie); font-weight: 600; }
.ouverture { padding: 1.8rem 1.25rem 1.6rem; gap: 2.4rem; }
.cliche { position: relative; }
.cliche img { aspect-ratio: 2 / 1.08; object-fit: cover; border-radius: 12px; }
.cliche figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.4rem .8rem .5rem; border-radius: 0 0 12px 12px; background: linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); color: #fff; font-size: .7rem; text-align: right; }
.cliche .cliche-legende { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cliche .credit { color: rgba(255, 255, 255, .85); font-size: .7rem; }
.releve { font-size: .78rem; }
.fiche-ligne { padding: .8rem .9rem; border-radius: 10px; background: #f5f6f8; }
.fiche dt span { font-size: .82rem; }
.fiche dd { font-size: .8rem; }
.fiche dt svg { width: 1.25rem; height: 1.25rem; }
.texte { font-size: .93rem; line-height: 1.62; }
.texte p { margin-bottom: .85em; }
.defile { border-radius: 10px; box-shadow: none; }
.grille { font-size: .84rem; }
.grille thead th { font-size: .7rem; padding-top: .7rem; padding-bottom: .7rem; }

/* Galerie de photos dans le texte */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 1.2rem 0 .3rem; }
.galerie-carte { margin: 0; }
.galerie-carte img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.galerie-carte figcaption { margin-top: .55rem; font-size: .8rem; line-height: 1.4; color: var(--encre-douce); }
.galerie-carte strong { display: block; font-size: .88rem; color: var(--encre); margin-bottom: .15rem; }
.galerie-credits { font-size: .68rem; color: var(--gris); margin: .3rem 0 1.2rem; }
@media (max-width: 640px) { .galerie { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.vue img { border-radius: 10px; box-shadow: none; }
.vue figcaption { font-size: .75rem; }

/* Colonne de droite */
.reperes, .voisines, .bon-a-savoir { border-radius: 12px; }
.cote-titre { font-size: .98rem; }
.bon-a-savoir { background: #eef5f9; padding: 1.1rem 1.1rem .9rem; font-size: .86rem; line-height: 1.55; color: var(--encre); }
.bon-a-savoir .conseil-titre { display: flex; align-items: center; gap: .6rem; font: 700 .98rem var(--titre); margin: 0 0 .6rem; }
.bon-a-savoir .conseil-titre svg { width: 2.1rem; height: 2.1rem; padding: .45rem; border-radius: 50%; background: #fff; color: var(--lie); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.bon-a-savoir p:last-child { margin-bottom: 0; }
.voisines { background: #f3f6f9; border: 0; }
.voisines a { background: #fff; padding: .45rem .5rem; border: 1px solid #e8ecf0; }
.voisines a::after { content: none; }
.voisines a > span { display: flex; flex-direction: column; gap: .1rem; font-size: .84rem; }
.voisines small { font-weight: 400; font-size: .74rem; color: var(--gris); }
.voisines a > svg { width: 1rem; height: 1rem; margin-left: auto; flex-shrink: 0; color: var(--encre-douce); }
.voisines img { width: 58px; height: 44px; border-radius: 6px; }

/* FAQ plus compacte */
.question { border-radius: 8px; margin-bottom: .45rem; }
.question summary { padding: .65rem 2.8rem .65rem .9rem; font-size: .86rem; }
.question summary::after { width: 1.15rem; height: 1.15rem; font-size: .85rem; line-height: 1rem; }
.reponse { font-size: .84rem; padding: 0 .9rem .1rem; }

/* Pied de page */
.socle { font-size: .82rem; }
.socle-nom { font-size: 1.1rem; }
.socle-titre { font-size: .66rem; }
.socle li { margin-bottom: .3rem; }

/* Taille de lecture relevée (retour du 3 octobre : « écrit un peu petit ») */
body { font-size: 1rem; }
.texte { font-size: 1.02rem; line-height: 1.68; }
.chapo { font-size: 1.07rem; }
.fiche dt span { font-size: .9rem; }
.fiche dd { font-size: .88rem; }
.grille { font-size: .92rem; }
.grille thead th { font-size: .74rem; }
.question summary { font-size: .95rem; }
.reponse { font-size: .93rem; }
.galerie-carte figcaption { font-size: .86rem; }
.galerie-carte strong { font-size: .95rem; }
.reperes a { font-size: .9rem; }
.bon-a-savoir { font-size: .92rem; }
.voisines a > span { font-size: .9rem; }
.releve { font-size: .84rem; }
.socle { font-size: .88rem; }

/* Agenda d'un lieu, dans un outil */
.agenda-stade { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: .55rem; }
.agenda-stade li { display: flex; gap: .85rem; align-items: flex-start; margin: 0; padding: .7rem; border-radius: 10px; background: var(--fond); font-size: .92rem; line-height: 1.4; color: var(--encre-douce); }
.agenda-stade strong { display: block; color: var(--encre); font-size: 1rem; }
.agenda-stade em { display: inline-block; margin-top: .3rem; font-style: normal; font-size: .78rem; color: var(--lie); background: var(--lie-voile); border-radius: 999px; padding: .1rem .55rem; }

/* État ouvert ou fermé */
.etat-ouvert, .etat-ferme { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-weight: 600; font-size: .88rem; }
.etat-ouvert { background: #e6f4ea; color: #1e6b3a; }
.etat-ferme { background: #fbeaea; color: #8a2a2a; }

.numero { margin: 0 0 .3rem; font: 800 2rem/1.1 var(--titre); }
.numero a { color: var(--lie); text-decoration: none; }

/* ---------- Contours et fonds plus marqués, coins arrondis (retour du 3 octobre) ---------- */
:root { --ligne: #dfe4ea; --fond: #f2f4f7; --contour: 1px solid #dfe4ea; --ombre-carte: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px -10px rgba(16, 24, 40, .12); }
.cliche img { border-radius: 18px; }
.fiche-ligne { background: #f2f4f7; border: var(--contour); border-radius: 16px; padding: 1rem 1.05rem; }
.fiche dt svg { width: 1.9rem; height: 1.9rem; padding: .38rem; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .08); }
.essentiel { background: var(--lie-voile); border: 1px solid #eed9e0; border-radius: 18px; padding: 1.1rem 1.3rem; margin: 0 0 1.8rem; }
.essentiel-titre { display: inline-block; margin: 0 0 .5rem; padding: .2rem .7rem; border-radius: 999px; background: var(--lie); color: #fff; font: 700 .78rem var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.essentiel p:last-child { margin-bottom: 0; }
.defile { border: var(--contour); border-radius: 18px; box-shadow: var(--ombre-carte); background: #fff; }
.grille thead th { background: #eef1f5; color: var(--encre); border-bottom: var(--contour); }
.grille tbody tr:nth-child(even) { background: #f9fafb; }
.grille tbody tr:hover { background: #f3f5f8; }
.grille th, .grille td { border-bottom-color: #e8ecf0; }
.grille caption { background: #fafbfc; border-top: var(--contour); }
.outil { background: #eaf4f5; border: 1px solid #cfe4e7; border-radius: 22px; box-shadow: var(--ombre-carte); }
.outil-sortie { border: 1px solid #d6e8ea; border-radius: 16px; box-shadow: none; }
.outil select, .outil input[type="number"], .outil input[type="text"], .outil input[type="date"], .outil input[type="time"] { border: 1px solid #bcd5d9; border-radius: 12px; background: #fff; }
.outil-choix button { border: 1px solid #cfe4e7; border-radius: 999px; }
.parti, .conseil { border: 1px solid #d3e6ea; border-radius: 18px; }
.bon-a-savoir { border: 1px solid #d3e6ea; border-radius: 18px; }
.reperes, .voisines { border: var(--contour); border-radius: 18px; box-shadow: var(--ombre-carte); }
.voisines { background: #f2f4f7; }
.voisines a { border-radius: 12px; border-color: #e3e7ec; }
.question { border: var(--contour); border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.question[open] { border-color: #e2c9d2; box-shadow: var(--ombre-carte); }
.galerie-carte img, .vue img { border-radius: 16px; border: var(--contour); }
.plan { border: var(--contour); border-radius: 18px; }
.coquille { border-radius: 14px; background: #f2f4f7; border: var(--contour); }
.chiffres li { border: 1px solid rgba(0, 0, 0, .05); border-radius: 16px; }
.marches-liste li { border: 1px solid #e3e7ec; background: #f5f7f9; border-radius: 12px; }
.texte h2 { padding-top: .3rem; }
.texte h2::before { content: ""; display: block; width: 2.2rem; height: 4px; border-radius: 4px; background: var(--lie); margin-bottom: .6rem; }
.questions h2::before, .origines h2::before { content: none; }

/* Formulaire de contact */
.formulaire label { margin-top: .8rem; }
.formulaire input[type="text"], .formulaire input[type="email"], .formulaire textarea { width: 100%; font: inherit; font-size: 1rem; padding: .65rem .8rem; border: 1px solid #bcd5d9; border-radius: 12px; background: #fff; }
.formulaire textarea { resize: vertical; }
.formulaire .outil-ligne > div { flex: 1 1 16rem; }
.formulaire .bouton { margin-top: 1rem; border: 0; cursor: pointer; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message-ok, .message-erreur { padding: .9rem 1.1rem; border-radius: 14px; font-weight: 600; }
.message-ok { background: #e6f4ea; color: #1e6b3a; border: 1px solid #c3e3cd; }
.message-erreur { background: #fbeaea; color: #8a2a2a; border: 1px solid #f0c9c9; }
.credit-vignette { display: block; border-radius: 8px; height: auto; }

/* Logo image */
.blason-logo { display: block; height: 46px; width: auto; }
@media (max-width: 600px) { .blason-logo { height: 38px; } }
