/* ==========================================================
   SITE LA TERRE EN TÊTE : accueil, Visites et animations, Experiences in Provence
   Chargée APRÈS conference-detail.css (qui reste celle des pages conférences).
   Les pages conférences ne chargent pas ce fichier : rien ici ne peut les modifier.

   Sur <body> :
     page-site   accueil (bleu nuit, les trois univers)
     theme-anim  univers Visites et animations (vert)
     theme-exp   univers Experiences in Provence (violet)
     t-vg, t-geo, t-astro, t-bio, t-ech   thème d'une page Visites (repère discret)

   Règles de design (refonte du 04/12/2026) :
     1. Couleur de l'univers = structure (menu, bandeau, titres, boutons, pied).
        Couleur du thème = repère discret (liseré, sur-titre), jamais un aplat.
     2. Une forme par fonction : pilule pleine = action ; barre d'onglets = se déplacer
        dans la page ; losange + texte = repère ; lien souligné = lien dans le texte.
     3. Un bloc d'offre = titre, accroche, texte, photo. Pas de carte dans un bandeau.
     4. Texte : 17 px, gris foncé, 70 caractères par ligne au plus.
     5. Photos en 4:3. Texte long : il contourne la photo. Texte court : côte à côte.
   ========================================================== */

/* ---------- 1. Couleurs ---------- */
:root {
  --vert: #2F9151; --vert-clair: #6FD596; --vert-nuit: #0B2E1B;
  --violet: #7A2BD0; --violet-clair: #C9A2FF; --violet-nuit: #22103F;
  --texte: #1c2230; --texte-doux: #3d4455; --trait: #E3E6EE;
  --largeur: 1120px; --mesure: 68ch;
}
/* --u : couleur de l'univers (boutons, traits) ; --u-nuit : fonds sombres ; --u-texte : titres et liens */
.page-site  { --u: #0ECAE3; --u-nuit: #0A1A3F; --u-fin: #312F98; --u-texte: #0A1A3F; --accent: #0ECAE3; --accent-fonce: #312F98; --fond: #FFFFFF; --fond-alt: #F3F4F9; }
.theme-anim { --u: #6FD596; --u-nuit: #0B2E1B; --u-fin: #1E6B3E; --u-texte: #145230; --accent: #6FD596; --accent-fonce: #2F9151; --fond: #FFFFFF; --fond-alt: #F1F7F3; }
.theme-exp  { --u: #C9A2FF; --u-nuit: #22103F; --u-fin: #5A1FA0; --u-texte: #4A1786; --accent: #C9A2FF; --accent-fonce: #7A2BD0; --fond: #FFFFFF; --fond-alt: #F6F1FC; }
/* Couleur propre à chaque thème (repère seulement) */
.t-vg    { --t: #D9692F; }
.t-geo   { --t: #D49A12; }
.t-astro { --t: #5B64E0; }
.t-bio   { --t: #2FA35E; }
.t-ech   { --t: #D0406A; }
.t-exp   { --t: #9B5BEA; }
/* Nuances de la couleur du thème : foncée (fond de bouton, texte), très foncée (survol), pâle (fond au survol) */
.t-vg, .t-geo, .t-astro, .t-bio, .t-ech, .t-exp {
  --t-fonce: color-mix(in srgb, var(--t) 70%, #000);
  --t-nuit: color-mix(in srgb, var(--t) 48%, #000);
  --t-pale: color-mix(in srgb, var(--t) 13%, #fff);
}

/* ---------- 2. Base ---------- */
body.page-site, body.theme-anim, body.theme-exp { font-size: 106.25%; background: var(--fond); color: var(--texte); }
.page-site main a, .theme-anim main a, .theme-exp main a, .fil-ariane a { color: var(--u-texte); text-underline-offset: 3px; }

/* ---------- 3. Menu ---------- */
.menu-site, .menu-site .menu-liens { background: var(--u-nuit); }
.menu-site .menu-logo img { border-radius: 50%; background: #fff; }
.menu-site .menu-liens a, .menu-site .menu-liens button { font-size: 1em; }
.menu-site .menu-devis a { color: var(--u-nuit); }
.menu-site .menu-devis a:hover { background: var(--u); }
.sous-menu-conf a.theme-anim, .sous-menu-conf a.theme-exp, .sous-menu-conf a.theme-conf { border-left-color: transparent; }
.sous-menu-conf a[aria-current="page"] { border-left-color: var(--u-fin); }
.menu-site .sous-menu-conf a { color: var(--u-nuit); }

/* ---------- 4. Bandeau ---------- */
.page-site .hero, .theme-anim .hero, .theme-exp .hero {
  background: linear-gradient(150deg, var(--u-nuit) 0%, var(--u-fin) 100%);
  padding-top: 40px; padding-bottom: 48px; gap: 48px;
}
.page-site .hero::after, .theme-anim .hero::after, .theme-exp .hero::after {
  background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--u) 22%, transparent), transparent 55%);
}
.hero h1 { font-size: 2.6em; letter-spacing: -0.01em; }
.hero h1 .sous-titre { font-size: 0.44em; line-height: 1.4; }
.hero-sur { font-size: 0.95em; letter-spacing: 0.02em; }
/* Sur une page thème, le sur-titre porte la couleur du thème */
body[class*=" t-"] .hero-sur::before, body[class^="t-"] .hero-sur::before {
  content: ""; display: inline-block; width: 28px; height: 4px; border-radius: 2px; background: var(--t); vertical-align: middle; margin-right: 10px;
}
.hero-intro { font-size: 1.1em; }
.hero-logo { width: 30px; height: 30px; border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.reperes li::before { background: var(--u); }
.hero-image img { aspect-ratio: 4 / 3; object-fit: cover; max-height: none; border-radius: 16px; }
/* Boutons : pilule pleine = action principale ; contour = action secondaire */
.page-site .bouton-principal, .theme-anim .bouton-principal, .theme-exp .bouton-principal { background: #fff; color: var(--u-nuit); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.page-site .bouton-principal:hover, .theme-anim .bouton-principal:hover, .theme-exp .bouton-principal:hover { background: var(--u); }
.fil-ariane { background: var(--fond); }
.page-site .bouton-secondaire, .theme-anim .bouton-secondaire, .theme-exp .bouton-secondaire { color: #fff; }

/* ---------- 5. Sections et titres ---------- */
.page-site .section, .theme-anim .section, .theme-exp .section { padding: 56px max(5%, calc((100% - var(--largeur)) / 2)); }
.page-site .section-alt, .theme-anim .section-alt, .theme-exp .section-alt { background: var(--fond-alt); }
.page-site .section > h2, .theme-anim .section > h2, .theme-exp .section > h2 { font-size: 1.9em; color: var(--u-nuit); }
.page-site .section > h2::after, .theme-anim .section > h2::after, .theme-exp .section > h2::after {
  width: 48px; height: 4px; background: var(--u-fin);
}
.section-chapo { color: var(--texte-doux); font-size: 1.08em; }
.texte-courant { max-width: var(--mesure); font-size: 1.05em; line-height: 1.7; }
.texte-courant h2 { margin: 0 0 16px; font-size: 1.75em; color: var(--u-nuit); line-height: 1.2; }
.texte-courant h2::after { content: ""; display: block; width: 48px; height: 4px; margin-top: 12px; border-radius: 2px; background: var(--u-fin); }
.texte-courant h3 { color: var(--u-nuit); font-size: 1.3em; margin: 28px 0 10px; }
.choix-note { text-align: center; max-width: 900px; margin: 22px auto 0; color: var(--texte-doux); }
.choix-note a { font-weight: 700; }
.maj { margin: 0; padding: 14px 0; background: var(--fond); }

/* ---------- 6. Accueil : les trois univers ---------- */
.univers-section { background: var(--fond-alt); }
.univers-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--largeur); margin: 0 auto; }
.univers { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; color: #fff; box-shadow: 0 12px 30px rgba(10,26,63,0.18); }
.u-conf { --uu: #0ECAE3; background: linear-gradient(165deg, #0A1A3F 0%, #312F98 100%); }
.u-anim { --uu: #6FD596; background: linear-gradient(165deg, #0B2E1B 0%, #1E6B3E 100%); }
.u-exp  { --uu: #C9A2FF; background: linear-gradient(165deg, #22103F 0%, #5A1FA0 100%); }
.univers-photo { display: block; border-bottom: 4px solid var(--uu); }
.univers-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.univers-corps { display: flex; flex-direction: column; flex: 1; padding: 0 24px 24px; }
.univers-tete { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: -36px; }
.univers-tete > div { padding-top: 0; }
.univers-tete img { width: 72px; height: 72px; flex: none; border-radius: 50%; background: #fff; border: 3px solid var(--uu); box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.univers-pour { margin: 0 0 8px; font-size: 0.8em; font-weight: 700; color: var(--uu); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.45; }
.univers h3 { margin: 0; font-size: 1.45em; line-height: 1.2; }
.univers h3 a { color: #fff; text-decoration: none; }
.univers h3 a:hover { text-decoration: underline; }
.univers-corps > p { margin: 18px 0 16px; line-height: 1.55; color: rgba(255,255,255,0.92); }
.univers-liens { list-style: none; margin: 0 0 22px; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,0.2); }
.univers-liens li { margin: 0 0 6px; }
.univers-liens a { color: #fff !important; font-weight: 600; text-decoration-color: color-mix(in srgb, var(--uu) 70%, transparent); }
.univers-liens a::before { content: "› "; color: var(--uu); font-weight: 800; }
.univers-bouton { margin-top: auto; align-self: flex-start; padding: 11px 22px; border-radius: 999px; background: #fff; color: #0A1A3F !important; font-weight: 800; text-decoration: none; }
.univers-bouton:hover { background: var(--uu); }
.univers :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Vidéo de présentation */
.presentation { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; max-width: var(--largeur); margin: 0 auto; }
.presentation p { line-height: 1.7; font-size: 1.05em; margin: 0 0 12px; }
.video-teaser.paysage { max-width: none; aspect-ratio: 16 / 9; }

/* « Vous êtes… » : un bloc par public, avec ses offres dans un ou plusieurs univers */
.publics-liste { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: var(--largeur); margin: 0 auto; padding: 0; border-top: 1px solid var(--trait); border-left: 1px solid var(--trait); }
.publics-liste > li { padding: 22px 24px 24px; border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.publics-liste h3 { margin: 0 0 6px; font-size: 1.15em; color: var(--u-nuit); }
.publics-liste > li > p { margin: 0 0 12px; line-height: 1.5; color: var(--texte-doux); }
.publics-liste ul { list-style: none; margin: 0; padding: 0; }
.publics-liste ul li { margin: 0 0 6px; line-height: 1.45; }
.publics-liste ul a { font-weight: 700; }
.publics-liste ul li::before { content: "› "; color: var(--u-fin); font-weight: 800; }

/* Atouts : texte seul, sans cadre (losange = repère) */
.page-site .atouts, .theme-anim .atouts, .theme-exp .atouts { gap: 30px 36px; max-width: var(--largeur); }
.page-site .atout, .theme-anim .atout, .theme-exp .atout { background: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; }
.page-site .atout h3, .theme-anim .atout h3, .theme-exp .atout h3 { font-size: 1.15em; color: var(--u-nuit); display: flex; gap: 10px; align-items: baseline; }
.page-site .atout h3::before, .theme-anim .atout h3::before, .theme-exp .atout h3::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--u-fin); transform: rotate(45deg) translateY(-2px); }
.atout p { color: var(--texte-doux); }
.atouts.cinq { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Partenaires : logos ; les autres références en texte simple */
.logos-partenaires { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; max-width: var(--largeur); margin: 0 auto; padding: 0; }
.logos-partenaires a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--texte-doux); font-size: 0.9em; font-weight: 600; text-align: center; width: 150px; }
.logos-partenaires img { width: 100%; height: 80px; object-fit: contain; filter: grayscale(0.15); }
.logos-partenaires a:hover img { filter: none; }
.partenaires { max-width: 860px; margin: 26px auto 0; padding: 0; list-style: none; text-align: center; line-height: 1.9; color: var(--texte-doux); }
.partenaires li { display: inline; font-weight: 600; }
.partenaires li + li::before { content: "  ·  "; white-space: pre; color: var(--u-fin); }

/* ---------- 7. Cartes de navigation (thèmes, autres thèmes) ---------- */
.theme-anim .cartes-conf, .theme-exp .cartes-conf, .page-site .cartes-conf { gap: 20px; max-width: var(--largeur); }
.theme-anim .carte-conf, .theme-exp .carte-conf, .page-site .carte-conf { background: #fff; color: var(--texte); border-top: 0; border-radius: 14px; box-shadow: 0 4px 16px rgba(10,26,63,0.10); }
.theme-anim .carte-conf img, .theme-exp .carte-conf img, .page-site .carte-conf img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 4px solid var(--t, var(--u-fin)); }
.theme-anim .carte-titre, .theme-exp .carte-titre, .page-site .carte-titre { color: var(--u-nuit); font-size: 1.15em; padding: 14px 18px 2px; }
.theme-anim .carte-sous, .theme-exp .carte-sous, .page-site .carte-sous { color: var(--texte-doux); font-style: normal; font-size: 0.95em; padding: 0 18px 18px; }

/* ---------- 8. Sommaires : fiches thèmes ---------- */
.fiches-themes { display: grid; gap: 22px; max-width: var(--largeur); margin: 0 auto; }
.fiche-theme { display: grid; grid-template-columns: 2fr 3fr; align-items: stretch; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 18px rgba(10,26,63,0.09); }
.fiche-photo { display: block; position: relative; min-height: 230px; }
.fiche-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fiche-corps { padding: 26px 30px 26px; display: flex; flex-direction: column; border-left: 4px solid var(--t, var(--u-fin)); }
.fiche-sur { margin: 0 0 4px; font-size: 0.8em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: color-mix(in srgb, var(--t, var(--u-fin)) 80%, #000); }
.fiche-theme h3 { margin: 0 0 8px; font-size: 1.5em; line-height: 1.2; }
.fiche-theme h3 a { color: var(--u-nuit); text-decoration: none; }
.fiche-theme h3 a:hover { text-decoration: underline; }
.fiche-corps > p { margin: 0 0 12px; line-height: 1.6; color: var(--texte-doux); }
.fiche-corps .offre-meta { margin-bottom: 14px; }
.fiche-bouton { margin-top: auto; align-self: flex-start; padding: 10px 22px; border-radius: 999px; background: var(--u-nuit); color: #fff !important; font-weight: 700; text-decoration: none; }
.fiche-bouton:hover { background: var(--u-fin); }
.fiche-publics { font-size: 0.95em; color: var(--texte-doux); }
.fiche-publics strong { color: var(--u-nuit); }
.lien-doc { font-weight: 700; color: var(--u-texte); }

/* Grille thèmes × publics : cases cliquables, sans mur de soulignés */
.grille-publics { max-width: var(--largeur); margin: 0 auto; overflow-x: auto; }
.grille-publics table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(10,26,63,0.08); }
.grille-publics th, .grille-publics td { padding: 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--trait); }
.grille-publics thead th { background: var(--u-nuit); color: #fff; padding: 14px 16px; font-size: 0.95em; }
.grille-publics tbody th { padding: 16px; width: 15%; box-shadow: inset 4px 0 0 var(--t, var(--u-fin)); }
.grille-publics tbody th a { color: var(--u-nuit); text-decoration: none; font-weight: 800; }
.grille-publics td a { display: block; height: 100%; padding: 16px; color: var(--texte); text-decoration: none; font-weight: 600; line-height: 1.4; }
.grille-publics td a:hover, .grille-publics td a:focus-visible { background: var(--fond-alt); color: var(--u-texte); text-decoration: underline; }
.grille-publics tbody tr:last-child > * { border-bottom: 0; }
.grille-publics tbody tr[class^="t-"] th, .grille-publics tbody tr[class*=" t-"] th { box-shadow: inset 4px 0 0 var(--t); }

/* ---------- 9. Pages d'offre : bandeau intro, sélecteur de public ---------- */
.section-public { scroll-margin-top: 70px; }
/* Sélecteur de public : barre d'onglets (se déplacer dans la page), pas des boutons */
.publics-nav { max-width: var(--largeur); margin: 34px auto 0; text-align: center; }
.publics-nav p { margin: 0 0 10px; font-weight: 700; color: var(--texte-doux); font-size: 0.95em; }
.publics-nav ul { list-style: none; display: inline-flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; border: 1px solid var(--trait); border-radius: 10px; overflow: hidden; background: #fff; }
.publics-nav li + li { border-left: 1px solid var(--trait); }
.publics-nav a { display: block; padding: 12px 20px; color: var(--u-nuit); font-weight: 700; text-decoration: none; border: 0; border-radius: 0; background: none; }
.publics-nav a:hover, .publics-nav a:focus-visible { background: var(--fond-alt); box-shadow: inset 0 -3px 0 var(--t, var(--u-fin)); }

/* Titre de section d'offre : sur-titre (public) + titre */
.section-sur { text-align: center; margin: 0 0 8px; font-size: 0.8em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: color-mix(in srgb, var(--t, var(--u-fin)) 80%, #000); }

/* ---------- 10. Bloc d'offre : titre, accroche, texte, photo ---------- */
/* Le bandeau de la section est le bloc : pas de carte, pas d'ombre */
.page-site .offre, .theme-anim .offre, .theme-exp .offre {
  display: flow-root; max-width: 960px; margin: 0 auto; padding: 0;
  background: none; border-radius: 0; box-shadow: none; overflow: visible; scroll-margin-top: 90px;
}
.offre + .offre { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--trait); }
.offre-texte { padding: 0; color: var(--texte); font-size: 1.02em; line-height: 1.7; }
.offre-texte p { margin: 0 0 12px; }
/* L'accroche (h3) : une phrase d'appel, pas un second titre */
.offre-texte h3 { margin: 0 0 14px; font-size: 1.3em; line-height: 1.3; color: var(--u-nuit); font-weight: 700; }
.offre-texte::before { content: ""; display: flow-root; width: 36px; height: 4px; border-radius: 2px; background: var(--t, var(--u-fin)); margin-bottom: 14px; }
.offre-question { font-style: italic; color: var(--u-texte); font-weight: 600; margin-bottom: 6px !important; }
.offre-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 14px; padding: 0; }
.offre-meta li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--u-nuit); font-size: 0.95em; }
.offre-meta li::before { content: ""; width: 8px; height: 8px; background: var(--t, var(--u-fin)); transform: rotate(45deg); flex: none; }
.offre-prix { margin-top: 16px !important; padding-top: 12px; border-top: 1px solid var(--trait); font-weight: 700; color: var(--u-nuit); }
.offre-publics { margin: 0 0 12px; padding: 10px 14px; background: var(--fond-alt); border-radius: 10px; font-size: 0.95em; }
.offre-lien { margin-top: 14px !important; }
.offre-lien a { font-weight: 700; }
.liste-simple { margin: 0 0 12px; padding-left: 1.2em; line-height: 1.7; }
.liste-simple li { margin-bottom: 4px; }
.offre-texte ul { display: flow-root; }
.offre-texte .note { font-size: 0.92em; font-style: italic; color: var(--texte-doux); }

/* Photos : 4:3, coins arrondis, jamais de vide dessous */
.offre-photos { margin: 0; }
.offre-photos img, .offre-photo2 img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.offre-photos:empty { display: none; }

/* Texte moyen ou long : le texte contourne la photo (gauche, puis droite une fois sur deux) */
.offre.flottant .offre-photos { float: left; width: 44%; margin: 4px 36px 16px 0; }
.offre.flottant.droite .offre-photos { float: right; margin: 4px 0 16px 36px; }
.offre.flottant .offre-texte > p, .offre.flottant .offre-texte > h3, .offre.flottant .offre-texte > ul { max-width: none; }
.offre-photo2 { float: right; width: 38%; margin: 6px 0 14px 32px; }
.offre.flottant.droite .offre-photo2 { float: left; margin: 6px 32px 14px 0; }
/* Texte court : côte à côte, la photo prend la hauteur du texte */
.page-site .offre.court, .theme-anim .offre.court, .theme-exp .offre.court { display: grid; grid-template-columns: 2fr 3fr; gap: 36px; align-items: stretch; }
.offre.court.droite .offre-photos { order: 2; }
.offre.court.droite { grid-template-columns: 3fr 2fr; }
.offre.court .offre-photos { position: relative; min-height: 220px; }
.offre.court .offre-photos img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.offre.court .offre-texte { align-self: center; }
/* Sans photo */
.offre.sans-photo .offre-photos { display: none; }
.offre.sans-photo .offre-texte { max-width: var(--mesure); margin: 0 auto; }

/* Encadré « Aussi sur demande » : les publics pour qui l'offre tient en une phrase */
.aussi { max-width: 900px; margin: 0 auto; padding: 0; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 4px 16px rgba(10,26,63,0.08); }
.aussi li { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 20px 26px; border-bottom: 1px solid var(--trait); scroll-margin-top: 90px; }
.aussi li:last-child { border-bottom: 0; }
.aussi h3 { margin: 0; font-size: 1.05em; color: var(--u-nuit); line-height: 1.35; }
.aussi .aussi-public { display: block; font-size: 0.78em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: color-mix(in srgb, var(--t, var(--u-fin)) 80%, #000); margin-bottom: 4px; }
.aussi p { margin: 0; line-height: 1.6; color: var(--texte); }
.aussi p + p { margin-top: 8px; }

/* Ancien encadré d'une phrase (gardé si une page en contient encore) */
.offre-court { max-width: var(--mesure); margin: 0 auto; text-align: center; font-size: 1.05em; line-height: 1.6; color: var(--texte); }

/* ---------- 11. Experiences : tarifs, galerie ---------- */
.tarifs { max-width: 900px; margin: 0 auto 24px; overflow-x: auto; }
.tarifs table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.07); }
.tarifs th, .tarifs td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--trait); }
.tarifs thead th { background: var(--u-nuit); color: #fff; }
.tarifs tbody th a { color: var(--u-nuit); }
.tarifs tbody tr:last-child th, .tarifs tbody tr:last-child td { border-bottom: 0; }
.galerie-exp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: var(--largeur); margin: 26px auto 10px; }
.galerie-exp figure { margin: 0; }
.galerie-exp img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 12px; }
.galerie-exp figcaption { padding: 8px 2px; font-weight: 700; color: var(--u-nuit); }

/* ---------- 12. À propos ---------- */
.photo-texte { margin: 0 auto 26px; max-width: var(--mesure); }
.photo-texte img { width: 100%; height: auto; display: block; border-radius: 14px; }
.photo-approche { margin: 0; }
.photo-approche img { width: 100%; height: auto; display: block; border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.references .atout h4 { margin: 16px 0 6px; color: var(--u-nuit); }
.references .atout .liste-simple { color: var(--texte-doux); }
.medias { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: var(--largeur); margin: 0 auto; }
.media { display: flex; flex-direction: column; text-decoration: none; color: var(--u-nuit); font-weight: 700; }
.media img { width: 100%; height: 220px; object-fit: cover; object-position: top; display: block; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,0.10); }
.media span { padding: 10px 2px; }
.duo-court img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- 13. FAQ, appel final, pied de page ---------- */
.page-site .faq details, .theme-anim .faq details, .theme-exp .faq details { box-shadow: none; border: 1px solid var(--trait); }
.faq summary { font-size: 1.05em; }
.faq summary::after { color: var(--u-fin); }
.faq details p { color: var(--texte); }
.page-site .cta, .theme-anim .cta, .theme-exp .cta { background: linear-gradient(135deg, var(--u-nuit), var(--u-fin)); padding: 52px 5%; }
.page-site .pied, .theme-anim .pied, .theme-exp .pied { background: var(--u-nuit); }

/* ---------- 14. Tablette ---------- */
@media (max-width: 1000px) {
  .univers-grille { grid-template-columns: 1fr; max-width: 640px; }
  .publics-liste { grid-template-columns: 1fr 1fr; }
  .atouts.cinq { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .presentation { grid-template-columns: 1fr; }
  .medias { grid-template-columns: 1fr 1fr; }
  .offre.flottant .offre-photos, .offre.flottant.droite .offre-photos { width: 46%; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 2.2em; }
  .grille-publics tbody th { width: auto; }
}

/* ---------- 15. Téléphone ---------- */
@media (max-width: 700px) {
  .page-site .section, .theme-anim .section, .theme-exp .section { padding: 40px 18px; }
  .hero h1 { font-size: 1.85em; }
  .page-site .section > h2, .theme-anim .section > h2, .theme-exp .section > h2 { font-size: 1.55em; }
  .texte-courant h2 { font-size: 1.5em; }
  /* Photo au-dessus, pleine largeur, puis le texte */
  .offre.flottant .offre-photos, .offre.flottant.droite .offre-photos,
  .offre-photo2, .offre.flottant.droite .offre-photo2 { float: none; width: 100%; margin: 0 0 18px; }
  .page-site .offre.court, .theme-anim .offre.court, .theme-exp .offre.court,
  .offre.court.droite { grid-template-columns: 1fr; gap: 18px; }
  .offre.court .offre-photos, .offre.court.droite .offre-photos { order: 0; min-height: 0; }
  .offre.court .offre-photos img { position: static; height: auto; aspect-ratio: 4 / 3; }
  .offre + .offre { margin-top: 32px; padding-top: 32px; }
  .fiche-theme { grid-template-columns: 1fr; }
  .fiche-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .fiche-corps { padding: 18px 20px 22px; border-left: 0; border-top: 4px solid var(--t, var(--u-fin)); }
  .publics-liste { grid-template-columns: 1fr; }
  .publics-nav ul { display: flex; flex-direction: column; width: 100%; }
  .publics-nav li + li { border-left: 0; border-top: 1px solid var(--trait); }
  .aussi li { grid-template-columns: 1fr; gap: 6px; padding: 18px 18px; }
  .logos-partenaires { gap: 18px 24px; }
  .logos-partenaires a { width: 130px; }
  .medias, .galerie-exp { grid-template-columns: 1fr; }
  /* Grille thèmes × publics : une carte par thème */
  .grille-publics table, .grille-publics thead, .grille-publics tbody, .grille-publics tr, .grille-publics th, .grille-publics td { display: block; }
  .grille-publics thead { display: none; }
  .grille-publics tbody th { background: var(--fond-alt); }
  .grille-publics td::before { content: attr(data-public); display: block; padding: 12px 16px 0; font-size: 0.78em; font-weight: 700; color: var(--texte-doux); text-transform: uppercase; letter-spacing: 0.04em; }
  .grille-publics td a { padding-top: 4px; }
  .grille-publics td { border-bottom: 1px solid var(--trait); }
}

/* Logo blanc (Office de tourisme d'Istres) : posé sur un fond sombre pour rester lisible */
.logos-partenaires img[src*="istres"] { background: #0A1A3F; border-radius: 10px; padding: 10px 12px; filter: none; }

/* ---------- 16. Couleur du thème sur les pages et cartes des thèmes (05/12/2026) ----------
   L'univers garde la structure (menu, bandeau, pied) ; le thème colore boutons, survols, traits et tableau. */
/* Fiches de sommaire (Visites et animations, Scolaires, Experiences) */
.fiche-theme .fiche-bouton { background: var(--t-fonce, var(--u-nuit)); }
.fiche-theme .fiche-bouton:hover, .fiche-theme .fiche-bouton:focus-visible { background: var(--t-nuit, var(--u-fin)); }
.fiche-theme h3 a:hover { color: var(--t-fonce, var(--u-nuit)); }
.fiche-theme:hover .fiche-photo img { filter: saturate(1.1); }
/* Tableau par public : chaque ligne aux couleurs de son thème */
.grille-publics tbody tr[class*="t-"] th a { color: var(--t-fonce); }
.grille-publics tbody tr[class*="t-"]:hover th { background: var(--t-pale); }
.grille-publics tbody tr[class*="t-"] td a:hover, .grille-publics tbody tr[class*="t-"] td a:focus-visible { background: var(--t-pale); color: var(--t-fonce); text-decoration-color: var(--t); }
/* Pages thèmes */
body[class*=" t-"] .hero .bouton-principal:hover, body[class*=" t-"] .cta .bouton-principal:hover { background: var(--t-fonce); color: #fff; }
body[class*=" t-"] .reperes li::before { background: var(--t); }
body[class*=" t-"] .section > h2::after, body[class*=" t-"] .texte-courant h2::after { background: var(--t); }
body[class*=" t-"] .publics-nav a:hover, body[class*=" t-"] .publics-nav a:focus-visible { background: var(--t-pale); color: var(--t-fonce); box-shadow: inset 0 -3px 0 var(--t); }
body[class*=" t-"] main a:not([class]):hover, body[class*=" t-"] .lien-doc:hover { color: var(--t-fonce); }
body[class*=" t-"] .faq summary::after { color: var(--t-fonce); }
body[class*=" t-"] .faq summary:hover { color: var(--t-fonce); }
body[class*=" t-"] .sous-menu-conf a[aria-current="page"] { border-left-color: var(--t); }
/* Cartes « Nos autres thèmes » : chaque carte à la couleur de son thème */
.cartes-conf .carte-conf[class*=" t-"] { border-top: 0; }
.cartes-conf .carte-conf[class*=" t-"]:hover { box-shadow: 0 0 0 3px var(--t), 0 8px 22px rgba(10,26,63,0.14); }
.cartes-conf .carte-conf[class*=" t-"]:hover .carte-titre { color: var(--t-fonce); }
