/* ==========================================================================
   Sensible Indocile — pages : bandeau sur l'image d'accueil, Presse, Contact,
   Livres audio, fiche fondatrice, visionneuse, bouton Soutenir.
   Chargé après style.css et company.css.
   ========================================================================== */

/* ----- Boutons ----- */
.btn--small { padding: 0.4rem 1.1rem; font-size: 1.02rem; }
.btn--play { display: inline-flex; align-items: center; gap: 0.5rem; }
.btn--play .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.link-file { font-weight: 700; }

/* ----- Accueil : le bandeau est dans l'image ----- */
.site-header--home {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}
.site-header--home.is-visible { transform: none; }
.hero { min-height: min(90svh, 900px); }
.hero__nav ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.8rem;
  margin: 1.8rem 0 2rem; padding: 0; list-style: none;
}
.hero__nav a {
  padding: 0.3rem 0; border-bottom: 1px solid transparent; color: #fff;
  font: 600 1.1rem var(--serif); letter-spacing: 0.16em; text-decoration: none; text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(7, 6, 43, 0.7);
  transition: border-color var(--ease);
}
.hero__nav a:hover, .hero__nav a:focus-visible { border-bottom-color: #fff; }
.hero__lead { display: none; }
.hero__soon {
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 1.6rem 0 0; padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px;
  background: rgba(7, 6, 43, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__soon[hidden] { display: none; }
.hero__soon a { color: #fff; text-decoration: none; }
.hero__soon a:hover { text-decoration: underline; }
.hero__soon .icon { flex: none; width: 20px; height: 20px; }

/* ----- Menu plein écran (mobile) ----- */
@media (max-width: 1000px) {
  .site-header__tools { position: relative; z-index: 60; }
  .site-nav.is-open {
    position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
    padding: 5rem var(--gutter) 2rem; background: var(--ivory);
  }
  .site-nav.is-open ul { align-items: center; text-align: center; }
  .site-nav.is-open a { padding-block: 0.6rem; font-size: 2rem; }
  .hero__nav ul { gap: 0.2rem 1.2rem; }
  .hero__nav a { font-size: 1rem; letter-spacing: 0.1em; }
}
.menu-open .support-fab { display: none; }

/* ----- Pastille « Soutenir » ----- */
.support-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 45; display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.65rem 1.2rem; border-radius: 999px; background: var(--magenta); color: #fff;
  font: 700 1.1rem var(--serif); letter-spacing: 0.06em; text-decoration: none;
  box-shadow: 0 6px 22px rgba(7, 6, 43, 0.45); transition: transform var(--ease), background var(--ease);
}
.support-fab .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.support-fab:hover { transform: translateY(-2px); background: #4a1a96; color: #fff; }

/* ----- Photos agrandissables ----- */
.photo__btn { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; }
.photo__btn img { width: 100%; }
dialog.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(7, 6, 43, 0.96); color: #fff;
}
dialog.lightbox[open] { display: flex; align-items: center; justify-content: center; }
dialog.lightbox::backdrop { background: rgba(7, 6, 43, 0.9); }
.lightbox__fig { margin: 0; max-width: 92vw; text-align: center; }
.lightbox__fig img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; margin-inline: auto; }
.lightbox__fig figcaption { margin-top: 0.8rem; font-size: 1rem; opacity: 0.85; }
.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%; background: rgba(7, 6, 43, 0.7); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav[hidden] { display: none; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--magenta); border-color: var(--magenta); }
.lightbox__fig img { animation: lbin 0.25s ease both; }
@keyframes lbin { from { opacity: 0; transform: scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .lightbox__fig img { animation: none; } .site-header--home { transition: none; } }

/* ----- À propos : fiche fondatrice ----- */
.founder {
  display: grid; grid-template-columns: minmax(12rem, 18rem) 1fr; gap: clamp(1.2rem, 4vw, 3rem); align-items: center;
  margin-top: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.2rem, 3vw, 2rem); border-radius: 4px;
  background: linear-gradient(135deg, rgba(38, 22, 225, 0.1), rgba(82, 1, 161, 0.16)); border: 1px solid var(--line);
}
.founder__photo { margin: 0; }
.founder__photo img { width: 100%; height: auto; border-radius: 4px; }
.founder h2 { margin: 0.2rem 0 0.2rem; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.04em; text-transform: none; }
.founder__role { margin: 0 0 1rem; color: var(--accent); font-weight: 700; letter-spacing: 0.04em; }
.founder__links { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.founder__links .btn { color: #fff; }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } .founder__photo { max-width: 14rem; } }
.team { grid-template-columns: repeat(auto-fit, minmax(13rem, 18rem)); }

/* ----- Presse ----- */
.press-list, .dl-list { display: grid; gap: var(--gap); margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.press-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--sand); }
.press-card__img { margin: 0; }
.press-card__body { display: flex; flex-direction: column; flex: 1; gap: 0.3rem; padding: 1.2rem 1.4rem 1.4rem; }
.press-card__outlet { margin: 0; color: var(--accent); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.95rem; }
.press-card h3 { font-size: 1.5rem; }
.press-card__meta { margin: 0 0 0.6rem; color: var(--taupe); }
.press-card .btn { color: #fff; }
.dl-card { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: 4px; background: var(--sand); }
.dl-card > .icon { flex: none; width: 38px; height: 38px; color: var(--accent); }
.dl-card > div { flex: 1; }
.dl-card h3 { font-size: 1.35rem; }
.dl-card__meta { margin: 0; color: var(--taupe); }
.dl-card .btn { color: #fff; }

/* ----- Contact ----- */
.contact { text-align: center; padding-block: clamp(2.5rem, 8vw, 6rem); }
.contact .page-head { text-align: center; }
.contact__lead { margin: 1rem auto 1.2rem; font: 600 clamp(1.8rem, 4.6vw, 3rem)/1.2 var(--serif); }
.contact__mail { font-size: clamp(1.3rem, 3vw, 1.7rem); }
.contact__mail a { word-break: break-all; }
.contact .btn { color: #fff; }
.copy-status { margin-left: 0.6rem; font-weight: 700; color: var(--accent); }
.contact__insta { margin-top: 2rem; color: var(--taupe); }

/* ----- Livres audio ----- */
.audio-intro { max-width: 56rem; }
.audio-intro__tag { margin: 0 0 0.8rem; font: 500 clamp(1.7rem, 3.6vw, 2.6rem)/1.2 var(--serif); color: var(--accent); }
.audio-group[hidden] { display: none; }
.audio-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem); }
.audio-card { display: flex; flex-direction: column; transition: transform 0.25s ease; }
.audio-card:hover { transform: translateY(-4px); }
.audio-card__cover { overflow: hidden; border-radius: 4px; box-shadow: 0 12px 30px rgba(7, 6, 43, 0.35); background: var(--sand); }
.audio-card__cover img { width: 100%; height: auto; transition: transform 0.5s ease; }
.audio-card:hover .audio-card__cover img { transform: scale(1.05); }
.audio-card__badge {
  display: inline-block; align-self: flex-start; margin: 0.9rem 0 0.3rem; padding: 0.1rem 0.75rem;
  border: 1px solid var(--accent); border-radius: 999px; color: var(--accent);
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.audio-card__badge.is-out { border-color: var(--line); color: var(--taupe); }
.audio-card h4 { margin-bottom: 0.4rem; font-size: 1.5rem; }
.audio-card__listen { margin: 0.8rem 0 0; }
.audio-card .btn--play { color: #fff; }
.notify { margin-top: 0.8rem; }
.notify label { display: block; margin-bottom: 0.3rem; font-weight: 700; }
.notify__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.notify input {
  flex: 1 1 11rem; min-width: 0; padding: 0.45rem 0.7rem; border: 1px solid var(--line); border-radius: 3px;
  background: var(--ivory); color: var(--brown); font: inherit;
}
.notify .btn { color: #fff; cursor: pointer; }
.notify__status { min-height: 1.4em; margin: 0.4rem 0 0; font-size: 1rem; font-weight: 700; }
.voice { padding: clamp(1.2rem, 3vw, 2rem); border-radius: 4px; background: linear-gradient(135deg, rgba(38, 22, 225, 0.14), rgba(82, 1, 161, 0.18)); border: 1px solid var(--line); }
.voice h2 { margin-bottom: 0.8rem; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: 0.04em; }
.voice .links { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* Voile plus dense : le teaser contient des plans très clairs (texte et liens restent lisibles) */
.hero__veil {
  background: linear-gradient(180deg, rgba(7, 6, 43, 0.66) 0%, rgba(38, 22, 225, 0.4) 55%, rgba(7, 6, 43, 0.78) 100%);
}
.hero__title, .hero__sub, .hero__soon { text-shadow: 0 2px 18px rgba(7, 6, 43, 0.8); }

.hero__content { max-width: 74rem; }
.hero__nav ul { gap: 0.4rem 1.5rem; }

.callout .btn, html[data-theme="dark"] .callout .btn { background: #fff; border-color: #fff; color: var(--night); }
.callout .btn:hover, html[data-theme="dark"] .callout .btn:hover { background: var(--night); color: #fff; }

/* En-tête sur une seule ligne dès 1200 px */
.site-nav a { font-size: 1rem; letter-spacing: 0.08em; }
.site-nav ul { gap: 0.25rem 1.4rem; }
@media (min-width: 1200px) {
  .site-header__bar { flex-wrap: nowrap; }
  .site-header .brand__name { font-size: 1.45rem; }
}
/* Presse : cartes de hauteur naturelle, coupure recadrée */
.press-list { align-items: start; }
.press-card__img img { max-height: 24rem; width: 100%; object-fit: cover; object-position: top; }
.links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }

/* Accueil : colonne de grille bornée (pas de débordement) et voile renforcé sur les plans très clairs */
.hero { grid-template-columns: minmax(0, 1fr); }
.hero__veil {
  background: linear-gradient(180deg, rgba(7, 6, 43, 0.76) 0%, rgba(30, 18, 150, 0.62) 55%, rgba(7, 6, 43, 0.86) 100%);
}
/* En-tête : une ligne à partir de 1200 px */
@media (min-width: 1200px) {
  .site-nav a { font-size: 0.92rem; letter-spacing: 0.06em; }
  .site-nav ul { flex-wrap: nowrap; gap: 0.25rem 1.05rem; }
  .site-header .brand__name { font-size: 1.3rem; white-space: nowrap; }
}

/* Ordre des couches : vidéo < voile < texte (la vidéo ne doit pas passer au-dessus du voile) */
.hero .loop-video { z-index: 0; }
.hero__veil { z-index: 1; }
.hero__content { z-index: 2; }

/* « Me prévenir de la sortie » : bouton qui déplie le champ e-mail */
.notify__form { margin-top: 0.7rem; }
.notify__form[hidden] { display: none; }
html[data-theme] .notify__open[aria-expanded="true"] { background: transparent; color: var(--accent); border-color: var(--accent); }
