/* ===== A.G.I.R - Page expérience ===== */
:root { --exp-indigo:#1e2a5a; --exp-nuit:#0d1330; --exp-or:#c9922a; --exp-or-clair:#e0b45c; }

/* Bandeau */
.exp-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  background: var(--exp-nuit) center/cover no-repeat; margin-top: -74px; padding: 0 0 4rem;
}
.exp-hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,19,48,0.72) 0%, rgba(13,19,48,0.55) 45%, rgba(13,19,48,0.94) 100%); }
.exp-hero-inner { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.exp-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--exp-or-clair); border: 1px solid rgba(224,180,92,0.4); border-radius: 100px; padding: 7px 16px; margin-bottom: 1.6rem; }
.exp-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--exp-or-clair); animation: expPulse 2s infinite; }
@keyframes expPulse { 0%,100%{opacity:1} 50%{opacity:0.25} }
.exp-h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 9vw, 6.5rem); line-height: 0.95; color: #fff; letter-spacing: -0.01em; }
.exp-baseline { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.8rem); color: var(--exp-or-clair); margin-top: 0.6rem; }

/* Accroche */
.exp-accroche { max-width: 760px; margin: 0 auto; padding: 5rem 1.5rem 3rem; text-align: center; }
.exp-accroche p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.8vw, 1.9rem); line-height: 1.45; color: var(--texte); }
.exp-accroche p:last-child { color: var(--exp-or); font-style: italic; margin-top: 0.5rem; }

/* Fiche technique */
.exp-fiche-label { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris); }
.exp-fiche-val { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--texte); }

/* Sections éditoriales */
.exp-section { padding: 4.5rem 1.5rem; }
.exp-section-alt { background: var(--creme); }
.exp-section-inner { max-width: 800px; margin: 0 auto; }
.exp-label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--exp-or); margin-bottom: 0.9rem; }
.exp-h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.1; color: var(--texte); margin-bottom: 1.6rem; }
.exp-h2 em { font-style: italic; color: var(--exp-or); }
.exp-texte p { font-size: 1.03rem; line-height: 1.85; color: #4a4a52; font-weight: 300; margin-bottom: 1.2rem; }
.exp-texte strong { font-weight: 600; color: var(--texte); }
.exp-texte em { font-style: italic; }
.exp-punch { font-family: var(--font-display) !important; font-size: 1.35rem !important; line-height: 1.5 !important; color: var(--texte) !important; border-left: 3px solid var(--exp-or); padding-left: 1.4rem; margin-top: 2rem !important; font-weight: 400 !important; }

/* Direction artistique */
.exp-da { padding: 5rem 1.5rem; background: var(--exp-nuit); }
.exp-da .exp-h2 { color: #fff; }
.exp-da .exp-h2 em { color: var(--exp-or-clair); }
.exp-da .exp-label { color: var(--exp-or-clair); }
.exp-da .exp-texte p { color: rgba(255,255,255,0.75); }
.exp-da .exp-texte strong { color: #fff; }
.exp-palettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }
.exp-palette { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 1.3rem; }
.exp-swatches { display: flex; gap: 6px; margin-bottom: 0.9rem; }
.exp-swatches span { width: 30px; height: 30px; border-radius: 6px; }
.exp-palette > strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: #fff; margin-bottom: 0.35rem; }
.exp-palette p { font-size: 0.82rem; line-height: 1.55; color: rgba(255,255,255,0.62); font-weight: 300; }

/* Narration */
.exp-narration { padding: 5rem 1.5rem; }
.exp-narr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
.exp-narr-card { background: #fff; border: 1px solid var(--trait, #e7e1d6); border-top: 3px solid var(--exp-or); border-radius: 14px; padding: 1.6rem 1.4rem; }
.exp-narr-card > strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--texte); margin-bottom: 0.6rem; }
.exp-narr-card p { font-size: 0.9rem; line-height: 1.7; color: #5a5a63; font-weight: 300; }

/* Chapitres */
.exp-chapitres { padding: 5rem 1.5rem; background: var(--creme); }
.exp-chap-lead { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--gris); margin-bottom: 2.4rem; }
.exp-chap-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.exp-chap-list li { display: flex; align-items: flex-start; gap: 0.9rem; background: #fff; border: 1px solid var(--trait, #e7e1d6); border-radius: 12px; padding: 1.1rem 1.3rem; }
.exp-chap-num { font-family: var(--font-display); font-style: italic; font-weight: 700; color: var(--exp-or); font-size: 1rem; min-width: 14px; }
.exp-chap-titre { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--texte); }
.exp-chap-sous { font-size: 0.85rem; color: var(--gris); font-style: italic; }

/* CTA */
.exp-cta { text-align: center; padding: 5.5rem 1.5rem; background: var(--exp-indigo); }
.exp-cta h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem, 3.5vw, 2.5rem); color: #fff; margin-bottom: 0.8rem; }
.exp-cta p { color: rgba(255,255,255,0.72); font-weight: 300; margin-bottom: 2rem; }
.exp-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.exp-btn-primary, .exp-btn-ghost { display: inline-block; padding: 15px 32px; border-radius: 100px; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em; transition: all 0.25s; }
.exp-btn-primary { background: var(--exp-or); color: #fff; }
.exp-btn-primary:hover { background: var(--exp-or-clair); transform: translateY(-2px); }
.exp-btn-ghost { border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.exp-btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Responsive */
@media (max-width: 900px){
  .exp-fiche { grid-template-columns: repeat(2, 1fr); }
  .exp-palettes, .exp-narr-grid { grid-template-columns: 1fr; }
  .exp-chap-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  .exp-hero { min-height: 56vh; padding-bottom: 2.5rem; }
  .exp-fiche { grid-template-columns: 1fr; }
  .exp-section, .exp-da, .exp-narration, .exp-chapitres { padding: 3.5rem 1.3rem; }
  .exp-chap-sous { margin-left: 0; width: 100%; }
  .exp-chap-list li { flex-wrap: wrap; }
}

/* ===== v2 : éléments graphiques ===== */

/* Ornement */
.exp-orn { display: flex; justify-content: center; margin-bottom: 2rem; }
.exp-orn svg { width: 120px; height: 20px; }

/* Fiche technique avec icônes */
.exp-fiche-wrap { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem 3rem; }
.exp-fiche { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; background: #fff; border: 1px solid var(--trait, #e7e1d6); border-radius: 18px; padding: 2rem 1.5rem; box-shadow: 0 22px 50px -34px rgba(80,54,24,0.3); }
.exp-fiche-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.45rem; padding: 0 0.4rem; position: relative; min-width: 0; }
.exp-fiche-item + .exp-fiche-item::before { content: ''; position: absolute; left: -0.5rem; top: 12%; bottom: 12%; width: 1px; background: var(--trait, #e7e1d6); }
.exp-fiche-ico { width: 42px; height: 42px; color: var(--exp-or); }
.exp-fiche-ico svg { width: 100%; height: 100%; }
.exp-fiche-label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.exp-fiche-val { font-family: var(--font-display); font-size: 0.98rem; font-weight: 700; color: var(--texte); line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }

/* Figures + emplacements d'images */
.exp-figure { margin: 0; }
.exp-figure img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 16px; }
.exp-figure figcaption { font-size: 0.78rem; color: var(--gris); margin-top: 0.7rem; font-style: italic; text-align: center; }
.exp-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
  aspect-ratio: 16/9; border: 2px dashed #cfc7b8; border-radius: 16px; background: #faf7f1; padding: 1.5rem; text-align: center;
}
.exp-ph-num { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--exp-or); }
.exp-ph-txt { font-size: 0.85rem; color: #6b6b74; }
.exp-ph-file { font-size: 0.68rem; color: #a9a397; font-family: monospace; }
.exp-figure-portrait .exp-placeholder { aspect-ratio: 4/5; }

/* Image pleine largeur */
.exp-wide { max-width: 1240px; margin: 0 auto; padding: 1rem 1.5rem 2rem; }
.exp-figure-wide img { aspect-ratio: 21/9; border-radius: 20px; }
.exp-figure-wide .exp-placeholder { aspect-ratio: 21/9; }

/* Section scindée texte / image */
.exp-split { max-width: 1150px; margin: 0 auto; padding: 4rem 1.5rem; display: grid; grid-template-columns: 0.85fr 1fr; gap: 3.5rem; align-items: center; }
.exp-figure-portrait img { aspect-ratio: 4/5; border-radius: 20px; }

/* Triptyque DA */
.exp-triptyque { max-width: 1520px; margin: 3.2rem auto 3.5rem; padding: 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.exp-triptyque .exp-figure img { aspect-ratio: 3/2; width: 100%; height: auto; object-fit: cover; image-rendering: auto; }
.exp-triptyque .exp-placeholder { aspect-ratio: 3/2; border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); }
.exp-triptyque .exp-ph-txt { color: rgba(255,255,255,0.62); }
.exp-triptyque .exp-ph-file { color: rgba(255,255,255,0.35); }
.exp-triptyque .exp-figure figcaption { color: rgba(255,255,255,0.5); }
.exp-sub-label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--exp-or-clair); margin-bottom: 1.2rem; }

/* Icônes narration */
.exp-narr-ico { width: 40px; height: 40px; color: var(--exp-or); margin-bottom: 0.9rem; }
.exp-narr-ico svg { width: 100%; height: 100%; }

/* Chapitres : corps */
.exp-chap-body { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.exp-chap-num { line-height: 1.6; }

@media (max-width: 1000px){
  .exp-fiche { grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1rem; }
  .exp-fiche-item + .exp-fiche-item::before { display: none; }
  .exp-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .exp-triptyque { grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .exp-fiche { grid-template-columns: repeat(2, 1fr); padding: 1.6rem 1rem; }
  .exp-figure-wide img, .exp-figure-wide .exp-placeholder { aspect-ratio: 4/3; }
}

/* ===== v3 : accroche, séparateurs, publics ===== */

/* Accroche : la 1re ligne tient sur une seule ligne */
.exp-accroche { max-width: 900px; }
.exp-accroche p { font-size: clamp(1.05rem, 2.1vw, 1.62rem); }
@media (min-width: 900px){
  html[lang="fr"] .exp-accroche p { white-space: nowrap; }
}

/* Séparateur ornemental */
.exp-sep { display: flex; justify-content: center; padding: 1.6rem 1.5rem; color: var(--exp-or); }
.exp-sep svg { width: 300px; max-width: 80%; height: 40px; }
.exp-sep-dark { color: var(--exp-or-clair); }

/* Section "Pour qui" */
.exp-publics { padding: 4.5rem 1.5rem; background: var(--creme); }
.exp-niveaux { max-width: 1150px; margin: 3rem auto 2.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.exp-niveau { background: #fff; border: 1px solid var(--trait, #e7e1d6); border-radius: 16px; padding: 1.8rem 1.5rem; position: relative; overflow: hidden; }
.exp-niveau::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.exp-niveau:nth-child(1)::before { background: var(--vert); }
.exp-niveau:nth-child(2)::before { background: var(--jaune); }
.exp-niveau:nth-child(3)::before { background: var(--bleu); }
.exp-niveau-age { display: inline-block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); background: #f4f0e7; border-radius: 100px; padding: 4px 11px; margin-bottom: 0.9rem; }
.exp-niveau > strong { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; color: var(--texte); margin-bottom: 0.6rem; }
.exp-niveau p { font-size: 0.88rem; line-height: 1.7; color: #5a5a63; font-weight: 300; }

/* Bandeau de réassurance */
.exp-rassurance { max-width: 780px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--vert); border-left: 4px solid var(--vert); border-radius: 12px; padding: 1.1rem 1.4rem; }
.exp-rassurance svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--vert); }
.exp-rassurance p { font-size: 0.9rem; line-height: 1.6; color: #3a3a42; }

@media (max-width: 1000px){
  .exp-niveaux { grid-template-columns: 1fr; }
}

/* Le gras dans les paragraphes reste du gras, pas un titre */
.exp-narr-card p strong,
.exp-niveau p strong,
.exp-palette p strong {
  display: inline; font-family: var(--font-body); font-size: inherit;
  font-weight: 700; color: inherit; margin: 0;
}
/* Cartes de même hauteur */
.exp-narr-grid { align-items: stretch; }
.exp-narr-card { display: flex; flex-direction: column; }

/* ══════════════════════════════════════════
   PASSE RESPONSIVE - page expérience
══════════════════════════════════════════ */

/* Bandeau : hauteur stable malgré la barre d'adresse mobile */
.exp-hero { min-height: 62vh; min-height: 62svh; }

@media (max-width: 900px){
  .exp-h1 { font-size: clamp(2.6rem, 13vw, 4.5rem); }
  .exp-baseline { font-size: 1.1rem; }
  .exp-accroche { padding: 3.5rem 1.3rem 2rem; }
  .exp-punch { font-size: 1.15rem !important; padding-left: 1rem; }
  .exp-sep svg { width: 220px; }
  .exp-wide, .exp-triptyque { padding-left: 1.3rem; padding-right: 1.3rem; }
}

@media (max-width: 600px){
  .exp-hero { min-height: 58svh; padding-bottom: 2rem; }
  .exp-badge { font-size: 0.6rem; letter-spacing: 0.14em; padding: 6px 12px; }
  .exp-fiche-wrap { padding: 0.5rem 1.3rem 2rem; }
  .exp-fiche-ico { width: 34px; height: 34px; }
  .exp-fiche-val { font-size: 0.88rem; }
  .exp-h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .exp-texte p { font-size: 0.96rem; line-height: 1.75; }
  .exp-niveau, .exp-narr-card, .exp-palette { padding: 1.4rem 1.2rem; }
  .exp-rassurance { flex-direction: column; align-items: flex-start; gap: 0.7rem; padding: 1rem 1.2rem; }
  .exp-chap-list li { padding: 0.9rem 1.1rem; }
  .exp-chap-titre { font-size: 1.02rem; }
  .exp-cta { padding: 4rem 1.3rem; }
  .exp-cta-btns { flex-direction: column; }
  .exp-cta-btns a { width: 100%; display: block; }
  .exp-ph-num { font-size: 1.2rem; }
  .exp-ph-file { display: none; }
}

@media (max-width: 400px){
  .exp-fiche { grid-template-columns: 1fr; }
  .exp-sep svg { width: 170px; }
}

/* Anglais : textes plus longs, on laisse respirer */
html[lang="en"] .exp-fiche { grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1rem; }
html[lang="en"] .exp-fiche-item + .exp-fiche-item::before { display: none; }
html[lang="en"] .exp-accroche p { white-space: normal; }

/* Triptyque DA : deux colonnes sur écran moyen, plus grandes images */
@media (max-width: 1250px){
  .exp-triptyque { max-width: 1000px; grid-template-columns: repeat(2, 1fr); }
  .exp-triptyque .exp-figure:last-child { grid-column: 1 / -1; max-width: 640px; margin: 0 auto; width: 100%; }
}
