/* Origines & Avenir — feuille de style */
:root {
  --brand-green: #007a3f;
  --brand-blue: #00357a;
  --brand-mid: #005a5c;
  --brand-gradient: linear-gradient(100deg, #007a3f 0%, #005a5c 52%, #00357a 100%);
  --brand-soft: #f4f4f4;
  --background: #fdfdfd;
  --foreground: #2e2e2e;
  --primary: #303030;
  --primary-foreground: #fafafa;
  --muted: #f2f2f2;
  --muted-foreground: #6b6b6b;
  --border: #e2e2e2;
  --card: #fdfdfd;
  --hero-foreground: #282828;
  --hero-muted: #4a4a4a;
  --hero-shade: #f6f6f6;
  --shadow-float: 0 8px 28px rgba(30, 30, 30, 0.12);
  --font-sans: "Manrope", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, blockquote { margin: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
::selection { background: #ececec; }

.page-container { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }

/* En-tête */
.site-header { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: block; height: 80px; width: auto; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.nav-link { font-size: 12px; color: var(--muted-foreground); padding-block: 12px; position: relative; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--foreground); }
.nav-link.active::after { content: ""; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px; background: var(--brand-gradient); }
.mobile-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--foreground); }
.mobile-nav { padding: 16px 24px 24px; border-top: 1px solid var(--border); display: none; gap: 12px; }
.mobile-nav.open { display: grid; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 500; cursor: pointer; border: 0; }
.btn svg { width: 15px; height: 15px; }
.editorial-button { height: 44px; padding-inline: 21px; border-radius: 3px; font-size: 11px; }
.hero-button { height: 48px; padding-inline: 23px; font-size: 12px; border-radius: 3px; }
.light-action { background: var(--brand-gradient); color: var(--primary-foreground); }
.light-action:hover { background: linear-gradient(100deg, #00683f 0%, #002f6e 100%); }
.transparent-action { background: transparent; color: var(--foreground); border: 1px solid var(--border); }
.transparent-action:hover { background: rgba(0, 122, 63, 0.08); border-color: var(--foreground); }

/* Hero */
.hero { min-height: 585px; height: 585px; margin-inline: 22px; position: relative; overflow: hidden; color: var(--hero-foreground); background: var(--hero-shade); }
.hero-inner { position: relative; height: 100%; padding-block: 62px 32px; display: flex; flex-direction: column; justify-content: space-between; }
.eyebrow { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 10px; color: var(--foreground); }
.eyebrow-rule { width: 26px; height: 1px; background: currentColor; flex-shrink: 0; }
.eyebrow-text { text-wrap: balance; }
.hero-title { margin-top: 28px; }
.hero-monogram { display: block; width: 322px; max-width: 100%; height: auto; }
.hero-subtitle { font: 400 25px/1.35 var(--font-serif); max-width: 490px; margin-top: 22px; text-wrap: balance; }
.br-m { display: none; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }
.host-credit { font-size: 10px; color: var(--hero-muted); display: flex; align-items: center; gap: 10px; }
.host-credit strong { color: var(--hero-foreground); font-weight: 500; }
.host-credit svg { height: 15px; width: 15px; }
.hero-scroll { display: flex; align-items: center; gap: 14px; font-size: 10px; color: var(--hero-muted); }
.circle-link { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(40, 40, 40, 0.4); border-radius: 50%; }
.circle-link svg { width: 14px; height: 14px; }

/* Bandeau plateformes */
.platform-strip { min-height: 103px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--border); }
.platform-strip > p { font-size: 10px; color: var(--muted-foreground); }
.platform-list { display: flex; gap: 38px; align-items: center; }
.platform-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--foreground); transition: opacity .2s; }
.platform-link:hover { opacity: .65; }
.listen-banner .platform-link { color: var(--primary-foreground); }
.platform-icon { width: 23px; height: 23px; }

/* Sections */
.episodes-section { padding-block: 66px 72px; }
.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 33px; }
.section-top h2 { font: 400 45px/1.1 var(--font-serif); margin-top: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; padding-bottom: 5px; border-bottom: 1px solid var(--border); width: fit-content; }
.text-link:hover { border-color: var(--primary); }
.text-link svg { width: 15px; height: 15px; }

/* Épisodes */
.episode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.episode-cover { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--muted); border-radius: 4px; }
.episode-cover iframe { width: 100%; height: 100%; border: 0; display: block; }
.episode-meta { display: flex; align-items: center; justify-content: space-between; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-foreground); margin-block: 21px 12px; }
.episode-title { font: 500 28px/1.12 var(--font-serif); max-width: 450px; }
.episode-title a:hover { color: var(--muted-foreground); }
.episode-description { font-size: 12px; line-height: 1.9; color: var(--muted-foreground); margin-top: 14px; }
.episode-card > .text-link { margin-top: 19px; }

/* Concept */
.concept-band { background: var(--brand-soft); padding-block: 76px; }
.concept-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.concept-preview h2 { font: 400 51px/1.05 var(--font-serif); margin-top: 18px; }
.concept-preview h2 em { font-style: italic; }
.concept-preview p { font-size: 13px; line-height: 2; color: var(--muted-foreground); }
.concept-preview p + p { margin-top: 10px; }
.concept-preview .text-link { margin-top: 22px; }

/* Bandeau écoute */
.listen-banner { background: var(--brand-gradient); color: var(--primary-foreground); padding-block: 65px; text-align: center; }
.listen-banner h2 { font: 400 45px/1.1 var(--font-serif); }
.listen-banner p { color: rgba(250, 250, 250, 0.8); font-size: 12px; margin-top: 15px; }
.listen-banner .platform-list { margin-top: 30px; justify-content: center; }

/* Pied de page */
.site-footer { padding-block: 42px 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 35px; align-items: center; }
.footer-links { display: flex; gap: 26px; font-size: 11px; color: var(--muted-foreground); }
.footer-links a:hover { color: var(--foreground); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); margin-top: 32px; padding-top: 20px; font-size: 9px; color: var(--muted-foreground); }

/* Pages intérieures */
.page-intro { padding-block: 64px 45px; border-top: 1px solid var(--border); }
.page-title { white-space: pre-line; font: 400 68px/1.05 var(--font-serif); margin-top: 19px; }
.page-lead { font-size: 14px; color: var(--muted-foreground); line-height: 1.9; max-width: 650px; margin-top: 23px; }
.inner-episodes { padding-block: 8px 80px; }
.concept-body { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; padding-block: 12px 76px; }
/* Cadres photo : hauteur fixée par le padding, fonctionne sur tous les navigateurs */
.photo-frame { position: relative; width: 100%; height: 0; overflow: hidden; border-radius: 3px; }
.photo-frame img { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.concept-photo { padding-bottom: 100%; }
.concept-photo img { object-position: 87% 50%; }
.body-copy h2 { font: 400 37px/1.15 var(--font-serif); margin-bottom: 22px; }
.body-copy p { font-size: 13px; color: var(--muted-foreground); line-height: 2; margin-bottom: 18px; }
.body-copy .text-link { margin-top: 9px; }
.mission { border-left: 2px solid; border-image: linear-gradient(180deg, var(--brand-green), var(--brand-blue)) 1; padding-left: 23px; margin-block: 32px; font: 500 28px/1.25 var(--font-serif); }

/* Pour qui */
.audience-section { padding-block: 66px 10px; }
.audience-section h2 { font: 400 42px/1.2 var(--font-serif); margin-top: 13px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.audience-card { border: 1px solid var(--border); border-radius: 4px; padding: 26px 22px; background: var(--card); transition: background .25s, border-color .25s; }
.audience-card:hover { background: var(--brand-soft); border-color: var(--muted-foreground); }
.audience-card svg { width: 22px; height: 22px; color: var(--foreground); }
.audience-card h3 { font: 500 24px/1.15 var(--font-serif); margin-top: 18px; }
.audience-card p { font-size: 12px; line-height: 1.8; color: var(--muted-foreground); margin-top: 10px; }

/* Écouter */
.platform-options { padding-block: 10px 70px; }
.platform-option { display: flex; align-items: center; justify-content: space-between; padding: 27px 0; border-bottom: 1px solid var(--border); }
.platform-option .platform-link { font-size: 23px; }
.platform-option .platform-icon { width: 32px; height: 32px; }
.platform-option > svg { width: 19px; height: 19px; transition: transform .2s; }
.platform-option:hover > svg { transform: translate(3px, -3px); }

/* Contact */
.contact-body { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; padding-block: 15px 80px; }
.contact-photo { padding-bottom: 89.3%; }
.contact-photo img { object-position: 52% 50%; }
.contact-note { border-top: 1px solid var(--border); padding-top: 28px; }
.contact-note h2 { font: 400 32px/1.2 var(--font-serif); margin-bottom: 18px; }
.contact-note p { color: var(--muted-foreground); font-size: 13px; line-height: 1.9; }
.contact-note .editorial-button { margin-top: 24px; }
.contact-email { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin-top: 22px; font-size: 13px; overflow-wrap: anywhere; }
.contact-email svg { flex-shrink: 0; width: 15px; height: 15px; }

/* Animation d'apparition */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: appear .8s ease both; }
  @keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

@media (min-width: 1500px) { .hero { height: 630px; } }

@media (max-width: 900px) {
  .page-container { width: calc(100% - 56px); }
  .desktop-nav { gap: 21px; }
  .platform-list { gap: 22px; }
  .platform-strip { gap: 20px; }
  .platform-link { font-size: 12px; }
  .concept-preview { gap: 40px; }
  .concept-body { gap: 35px; }
  .audience-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-container { width: calc(100% - 40px); }
  .site-header { height: 80px; gap: 12px; }
  .brand-logo { height: 60px; }
  .desktop-nav, .header-listen { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero { margin-inline: 10px; min-height: 585px; height: 585px; }
  .hero-inner { width: calc(100% - 44px); padding-top: 48px; padding-bottom: 25px; }
  .hero-monogram { width: 248px; }
  .hero-title { margin-top: 34px; }
  .hero-subtitle { font-size: 21px; max-width: 326px; margin-top: 25px; }
  .br-m { display: inline; }
  .br-d { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 11px; margin-top: 30px; }
  .hero-button { height: 43px; padding-inline: 19px; }
  .hero-scroll > span:first-child { display: none; }
  .hero-bottom { margin-top: 25px; }
  .host-credit { font-size: 9px; gap: 7px; }
  .platform-strip { flex-direction: column; justify-content: center; min-height: 123px; gap: 20px; padding-block: 20px; }
  .platform-list { flex-wrap: wrap; justify-content: center; column-gap: 24px; row-gap: 17px; }
  .platform-link { font-size: 11px; gap: 5px; }
  .platform-icon { width: 19px; height: 19px; }
  .episodes-section { padding-block: 43px 48px; }
  .section-top { align-items: flex-start; gap: 20px; }
  .section-top h2 { font-size: 36px; }
  .section-top > .text-link { max-width: 105px; font-size: 10px; margin-top: 32px; }
  .episode-grid { grid-template-columns: 1fr; gap: 38px; }
  .episode-title { font-size: 27px; }
  .episode-meta { font-size: 8px; }
  .concept-band { padding-block: 48px; }
  .concept-preview { grid-template-columns: 1fr; gap: 27px; }
  .concept-preview h2 { font-size: 42px; }
  .listen-banner { padding-block: 45px; }
  .listen-banner h2 { font-size: 37px; }
  .listen-banner .platform-list { max-width: 300px; margin-inline: auto; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 25px; }
  .footer-links { gap: 23px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .page-intro { padding-block: 42px 33px; }
  .page-title { font-size: 49px; }
  .page-lead { font-size: 13px; }
  .concept-body, .contact-body { grid-template-columns: 1fr; gap: 35px; padding-bottom: 45px; }
  .audience-grid { grid-template-columns: 1fr; gap: 30px; }
  .audience-section { padding-block: 42px; }
  .platform-options { padding-bottom: 45px; }
}
