/* ══════════════════════════════════════════
   style_accueil.css
   Claris — page d'accueil / expositions (art.claris.fr/index.php)
   art.claris.fr/communs/style_accueil.css
   Chargé APRÈS style_2026v2.css — ne modifie jamais ce dernier
══════════════════════════════════════════ */

/* ── Nav transparente (plus de bandeau visible en tête de page) ── */
#main-nav,
#main-nav.scrolled {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

/* ── Logo positionné en absolu, sous la têtière transparente (desktop) ── */
.hero-brand {
  position: absolute;
  top: 195px;
  left: 3rem;
  margin: 0;
  z-index: 5;
}
.hero-logo-img { width: 320px; height: auto; display: block; }
/* ── Fenêtre étroite : hero empilé en 1 colonne (#hero passe en grid-template-columns:1fr
   à 1048px dans style_2026v2.css) — le logo repasse en flux normal, au-dessus des dates ── */
@media (max-width: 1048px) {
  #hero, #hero.hero-static {
    align-items: start;
    grid-auto-rows: min-content;
  }
  .hero-img-wrap, .hero-text-wrap {
    height: auto !important;
    min-height: 0 !important;
    align-self: start !important;
  }
  .hero-text-wrap { justify-content: flex-start !important; }
  .hero-brand {
    position: static;
    margin: 2.5rem 0 1.5rem;
  }
  .hero-logo-img { width: 200px; height: auto; }
}

/* ── Toggle langue aligné à droite, sur la ligne du stat "Expositions" ── */
.hero-lang-toggle {
  display: flex;
  border: 1px solid var(--rule);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-lang-toggle a {
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  border: none;
  padding: 0.4rem 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.hero-lang-toggle a.active,
.hero-lang-toggle a:hover { background: var(--dark); color: #fff; }

/* ── Titre "2004 — 2026" réduit (la règle partagée utilise !important) ── */
#hero .hero-title.one-word {
  font-size: clamp(0.9rem, 3vw, 2.5rem) !important;
}

/* ── Compense la nav fixe (position:fixed) qui recouvre sinon le hero ── */
#hero { padding-top: 56px; }
@media (max-width: 900px) { #hero { padding-top: 56px; } }

/* ── Légende en overlay sur l'image du hero ── */
.hero-img-wrap { position: relative; }
.hero-img-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1rem 1.4rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ── Nav minimaliste : logo et toggle langue déplacés dans le hero (plus visibles sur fond blanc) ── */
#main-nav .nav-logo,
#main-nav .lang-toggle { display: none; }

/* ── Mention de traduction automatique (page EN uniquement) ── */
.translation-note {
  text-align: center;
  padding: 0.8rem 1.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--mid);
  text-transform: uppercase;
  border-top: 1px solid var(--rule);
}

/* ── Stat "23 expositions" + toggle langue aligné à droite, sur la même ligne ── */
.hero-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}
.hero-stat-figures { display: flex; align-items: baseline; gap: 0.7rem; }
.hero-stat .hero-stat-number {
  font-weight: 200;
  font-size: 2.4rem;
  color: var(--dark);
}
.hero-stat .hero-stat-label {
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
}

/* ── Panneau "Approche" (texte d'intro, pleine largeur, fond pastel aléatoire) ── */
.approach-panel {
  background: var(--claris-pastel, #f0ece4);
  padding: 4rem 4rem;
  transition: background 0.5s;
}
.approach-text {
  max-width: 1000px;
  margin: 0 auto;
  columns: 2;
  column-gap: 3rem;
  column-rule: 1px solid rgba(0,0,0,0.12);
  column-fill: balance;
}
.approach-text p { font-size: 0.92rem; line-height: 1.9; font-weight: 300; color: var(--text); text-align: justify; }
.approach-text p + p { margin-top: 1.1rem; }
.approach-text p::first-letter {
  font-size: 4em;
  font-weight: 200;
  line-height: 0.75;
  float: left;
  margin-right: 8px;
  margin-top: 0.03em;
  margin-bottom: -0.12em;
  color: var(--accent);
}

/* ── Timeline des expositions ── */
.expo-timeline {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2.5rem 5rem;
}
.expo-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.2rem 1.6rem;
  align-items: start;
  padding: 1.1rem 0;
  border-top: 1px solid var(--rule);
  transition: background 0.2s;
}
.expo-row:last-child { border-bottom: 1px solid var(--rule); }
.expo-row:hover { background: rgba(192,57,43,0.03); }

.expo-date {
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--soft);
  padding-top: 0.2rem;
  white-space: normal;
  line-height: 1.5;
}
.expo-date--upcoming { color: var(--accent); font-weight: 400; }

.expo-title {
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  border: none;
  transition: color 0.2s;
}
.expo-title:hover { color: var(--accent); }

.expo-venue {
  font-size: 0.76rem;
  color: var(--soft);
  margin-top: 0.3rem;
  line-height: 1.7;
}

/* ── Visites d'expositions (vidéos) ── */
.videos-section { max-width: 1100px; margin: 0 auto; padding: 4rem 2.5rem 5rem; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.video-card { display: flex; flex-direction: column; }
.video-card .video-wrap { margin-bottom: 0; }
.video-caption {
  font-size: 0.78rem;
  color: var(--soft);
  margin-top: 0.7rem;
  line-height: 1.6;
}
.video-caption strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

/* ── Flipbook ── */
.flipbook-section { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem 5rem; }
.flipbook-section iframe {
  width: 100%;
  height: 640px;
  border: 0;
  display: block;
}

/* ── Contact (fond pastel aléatoire, texte sombre) ── */
.contact-section { background: var(--claris-pastel, #f0ece4); padding: 4rem; transition: background 0.5s; }
.contact-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.contact-card { flex: 1; min-width: 240px; }
.contact-role {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.6rem;
}
.contact-name {
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.contact-name a { color: var(--dark); border: none; }
.contact-detail { font-size: 0.82rem; color: var(--soft); line-height: 2; }
.contact-detail a { color: var(--dark); border-color: rgba(0,0,0,0.25); }
.contact-detail a:hover { color: var(--accent); border-color: var(--accent); }
.whatsapp-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.8rem;
  text-decoration: none;
  border: none;
  color: var(--soft);
  font-size: 0.78rem;
}
.whatsapp-inline:hover { color: var(--dark); }
.whatsapp-inline img { width: 18px; height: 18px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .approach-panel { padding: 3rem 1.5rem; }
  .expo-timeline { padding: 3rem 1.2rem 3.5rem; }
  .expo-row { grid-template-columns: 1fr; gap: 0.3rem 0; }
  .expo-date { padding-top: 0; }
  .videos-section { padding: 3rem 1.2rem 3.5rem; }
  .video-grid { grid-template-columns: 1fr; }
  .flipbook-section { padding: 0 1.2rem 3.5rem; }
  .flipbook-section iframe { height: 380px; }
  .contact-section { padding: 3rem 1.5rem; }
  .contact-cards { flex-direction: column; gap: 1.8rem; }
}
