/* ============================================================
   STYLE SPÉCIFIQUE — PAGE AFFILIATION
   Ce fichier ne contient QUE les règles propres à cette page.
   Toutes les règles communes (reset, typographie de base, header,
   footer, TOC, onglets, boutons génériques, etc.) vivent désormais
   dans style-lcu.css, chargé AVANT ce fichier dans affiliation.html.
============================================================ */

/* ============================
   TYPOGRAPHY
============================ */

/* ── Tailles fluides des titres (clamp = min | fluide | max) ── */
h1 {
  color: var(--ink);
}

h2 {
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.4;
  margin-top: 1.4em;
}

h3 {
  font-size: clamp(17px, 2.2vw, 21px);
}

.su-tabs-pane h3 {
  margin-top: 32px;
}

a {
  font-weight: 550;
}

/* ============================
   IMAGES
============================ */

.affiliation-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.affiliation-logo {
  height: 80px;
  width: auto;
  display: block;
}

/* ============================
   LAYOUT UTILITIES
============================ */
.container {
  width: min(90%, 1140px);
}

/* ── Rangées de contenu ── */
.row-1col,
.row-2col {
  padding: 80px 0;
}

/* ============================
   ALTERNANCE CLAIRE / FONCÉE
============================ */
.section-light { background: var(--paper); }

/* ============================
   STICKY HEADER
============================ */

.header-cta {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 10px 22px;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* ============================
   HERO
============================ */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 0 96px;
  background-image: url("../img/hero-affiliation-1860x890-AP70.webp");
  background-size: cover;
  background-position: top;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 40px;
  backdrop-filter: blur(4px);
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  color: var(--paper);
  margin-bottom: 8px;
  max-width: 900px;
  margin-inline: auto;
}

.hero-subtitle {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  color: var(--gold-light);
  max-width: 850px;
  margin: 32px auto 64px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================
   BOUTONS
============================ */

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 14px;
  padding: 16px 32px;
  border-radius: 100px;
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ============================
   INTRO / NARRATIVE
============================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}

.book-mockup { position: relative; }

.book-cover {
  width: 100%;
  aspect-ratio: 0.7;
  background: linear-gradient(135deg, #0d0d14 0%, #111118 100%);
  border-radius: 4px 12px 12px 4px;
  box-shadow:
    -8px 12px 48px rgba(13,13,20,0.3),
    4px 0 0 rgba(201,168,76,0.4);
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-inline: auto;
}

.intro-text h2 {
  margin-bottom: 16px;
  color: var(--ink);
}

.intro-text p {
  color: rgba(13,13,20,0.68);
  margin-bottom: 14px;
}

/* ============================
   BLOCKQUOTE
============================ */
blockquote {
  border-left: 3px solid var(--marron);
  margin: 20px 0;
  padding: 5px 20px;
  background-color: #fafafa;
  font-style: italic;
}

blockquote.pullquote {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: var(--gold-moyen);
  border-left: 3px solid var(--gold-moyen);
  padding-left: 24px;
  margin: 32px 0;
  line-height: 1.4;
  font-weight: bold;
}

/* ============================
   SCROLL ANIMATIONS
============================ */
.fade-up {
  box-shadow: 0 3px 14px rgba(135,84,27,.25);
  padding: 32px;
  border-radius: 8px;
}

/* ============================
   COMPOSANTS ÉDITORIAUX
============================ */

/* Encadré d'information */
.cadreinfo {
  padding: 15px 20px;
}

/* Lettre / conteneur formulaire */
.lettre {
  width: 100%;
  background-color: var(--mist);
  margin: 40px auto 45px auto;
  border: 1px solid var(--mist-dark);
  border-radius: 5px;
  padding: 25px 25px 16px 25px;
}

/* Champs de formulaire */
.champ-form-page {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 15px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1em;
}

.bouton-form-page {
  display: inline-block;
  background-color: var(--gold);
  color: var(--btn-text);
  border: none;
  border-radius: 3px;
  padding: 12px 25px;
  font-size: 1em;
  cursor: pointer;
}

.bouton-form-page:hover {
  background-color: var(--gold-dark);
  color: var(--btn-texthover);
}

/* ============================
   ONGLETS SHORTCODES ULTIMATE
============================ */

/* Onglets empilés sur écran étroit, pour éviter le retour à la ligne désordonné */
@media (max-width: 691px) {
  .su-tabs-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    border-bottom: none;
    gap: 6px;
  }

  .su-tabs-nav span {
    margin-right: 0;
    padding: 8px 16px;
    border-radius: 4px;
    border-bottom: 1px solid var(--gold-dark);
    text-align: center;
  }
}

/* Colonnes Shortcodes Ultimate */

.retour-onglets {margin: 40px 0 20px 0; text-align: center; font-size: 90%}
.retour-onglets a {color:#000; opacity: 50%; text-decoration:none }

/* ============================
   FOOTER
============================ */
.site-footer {
  background: var(--navy-mid);
  font-size: 12px;
}
