/* ===================================================================
   NOS ÉVÈNEMENTS — page-specific styles
   Relies on colors_and_type.css + home-styles.css (header / footer /
   atoms : .eyebrow, .gold-rule, .btn, .closing, .dia)
   =================================================================== */

.ev-main { display: block; }

/* ============================================================
   HERO — full-bleed event cover, navy scrim, title overlaid
   ============================================================ */
.ev-hero {
  position: relative;
  min-height: clamp(520px, 84vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--fg-navy);
}
.ev-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.ev-hero-bg::part(frame) { background: var(--fg-navy-700); }
.ev-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(1,21,54,0.40) 0%, rgba(1,21,54,0.30) 38%, rgba(1,21,54,0.55) 78%, rgba(1,21,54,0.85) 100%),
    linear-gradient(180deg, rgba(1,21,54,0.55) 0%, rgba(1,21,54,0.18) 30%, rgba(1,21,54,0.30) 66%, rgba(1,21,54,0.82) 100%);
}
.ev-hero-scrim::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><path d='M 0 0 L 36 36 M 36 0 L 0 36' stroke='%23FFE1B6' stroke-opacity='0.05' stroke-width='1'/></svg>");
}
.ev-hero-head {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 28px;
  max-width: 1000px;
}
.ev-hero-head .eyebrow {
  color: var(--fg-champagne);
  margin-bottom: 26px;
}
.ev-hero-head h1 {
  font-family: var(--fg-font-display);
  font-weight: 400;
  font-size: clamp(40px, 6.6vw, 96px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin: 0;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(1,21,54,0.5);
}
.ev-hero-head h1 em {
  font-style: italic;
  color: var(--fg-champagne);
}
.ev-hero-head .baseline {
  font-family: var(--fg-font-body);
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.82);
  margin: 30px 0 0;
}
/* champagne corner ticks */
.ev-hero > .corner {
  position: absolute; z-index: 2;
  width: 46px; height: 46px;
  border: 0; pointer-events: none;
  top: calc(var(--header-h, 80px) + 26px); right: 36px;
  border-top: 1px solid rgba(255,225,182,0.5);
  border-right: 1px solid rgba(255,225,182,0.5);
}
.ev-hero > .corner.bl {
  top: auto; right: auto;
  bottom: 32px; left: 36px;
  border: 0;
  border-bottom: 1px solid rgba(255,225,182,0.5);
  border-left: 1px solid rgba(255,225,182,0.5);
}

/* ============================================================
   INTRO — thanks + editorial copy
   ============================================================ */
.ev-intro {
  background: var(--fg-ivory);
  padding: clamp(72px, 9vw, 128px) 28px;
}
.ev-intro-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.ev-thanks .eyebrow { color: var(--fg-navy-500); margin-bottom: 26px; }
.ev-thanks h2 {
  font-family: var(--fg-font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--fg-navy);
  margin: 0 0 32px;
}
.ev-thanks-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
}
.ev-thanks-list li {
  font-family: var(--fg-font-display);
  font-size: clamp(18px, 1.7vw, 22px);
  letter-spacing: 0.04em;
  color: var(--fg-navy);
  padding: 18px 0;
  border-top: 1px solid var(--fg-line);
  display: flex; align-items: center; gap: 16px;
}
.ev-thanks-list li:last-child { border-bottom: 1px solid var(--fg-line); }
.ev-thanks-list .dia {
  width: 6px; height: 6px; flex: 0 0 auto;
  background: var(--fg-champagne-600); transform: rotate(45deg);
}

.ev-copy { max-width: 620px; }
.ev-copy p {
  font-family: var(--fg-font-body);
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.78;
  color: var(--fg-ink-2);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.ev-copy p:last-child { margin-bottom: 0; }
.ev-copy p.lead {
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5;
  color: var(--fg-navy);
  font-family: var(--fg-font-display);
  letter-spacing: 0.01em;
  margin-bottom: 32px;
}
.ev-copy .gold-rule { width: 64px; margin: 0 0 32px; }

/* ============================================================
   INTERVENANTS — speaker grid
   ============================================================ */
.ev-speakers {
  background: var(--fg-navy);
  color: #fff;
  padding: clamp(80px, 10vw, 136px) 28px;
  position: relative;
  overflow: hidden;
}
.ev-speakers::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path d='M 0 0 L 40 40 M 40 0 L 0 40' stroke='%23FFE1B6' stroke-opacity='0.035' stroke-width='1'/></svg>");
}
.ev-section-head {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}
.ev-section-head .eyebrow { color: var(--fg-champagne); margin-bottom: 22px; }
.ev-section-head h2 {
  font-family: var(--fg-font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0;
  color: #fff;
}
.ev-section-head.on-light h2 { color: var(--fg-navy); }
.ev-section-head.on-light .eyebrow { color: var(--fg-navy-500); }
.ev-section-head .sub {
  font-family: var(--fg-font-body);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  max-width: 560px; margin: 22px auto 0;
}

.speakers-grid {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.4vw, 52px) clamp(24px, 3vw, 44px);
}
.speaker {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.speaker-photo {
  position: relative;
  width: clamp(120px, 12vw, 156px);
  height: clamp(120px, 12vw, 156px);
  margin-bottom: 26px;
}
.speaker-photo image-slot {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--fg-navy-700);
  color: rgba(255,255,255,0.45);
  filter: grayscale(1) contrast(1.02);
  transition: filter 500ms ease;
}
.speaker:hover .speaker-photo image-slot { filter: grayscale(0.55); }
/* mobile: let touch scroll through the speaker photos (slot touch-action:none froze scroll) */
@media (hover: none), (max-width: 768px) {
  .speaker-photo image-slot { pointer-events: none; }
}
/* champagne ring + brand diamond tick */
.speaker-photo::after {
  content: "";
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255,225,182,0.28);
  pointer-events: none;
  transition: inset 500ms cubic-bezier(.22,1,.36,1), border-color 400ms ease;
}
.speaker:hover .speaker-photo::after {
  inset: -6px;
  border-color: rgba(255,225,182,0.55);
}
.speaker-photo .tick {
  position: absolute; bottom: 4px; right: 4px;
  width: 11px; height: 11px;
  background: var(--fg-champagne);
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 0 0 4px var(--fg-navy);
}
.speaker h3 {
  font-family: var(--fg-font-display);
  font-weight: 400;
  font-size: clamp(21px, 2vw, 26px);
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 8px;
}
.speaker .role {
  font-family: var(--fg-font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-champagne);
  margin: 0 0 18px;
  max-width: 240px;
}
.speaker .speaker-rule {
  width: 36px; height: 1px; border: 0;
  background: rgba(255,225,182,0.4);
  margin: 0 0 18px;
}
.speaker p {
  font-family: var(--fg-font-body);
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.74);
  margin: 0;
  max-width: 320px;
  text-wrap: pretty;
}

/* ============================================================
   GALERIE — event photo grid
   ============================================================ */
.ev-gallery {
  background: var(--fg-ivory);
  padding: clamp(80px, 10vw, 136px) 28px;
}
.gallery-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(150px, 16vw, 230px);
  gap: clamp(12px, 1.4vw, 18px);
}
.gallery-grid image-slot {
  width: 100%; height: 100%;
  background: #e9e3d6;
  color: var(--fg-ink-3);
  border-radius: var(--fg-radius-sm);
}
/* editorial spans */
.g-a { grid-column: span 4; grid-row: span 2; }
.g-b { grid-column: span 2; grid-row: span 1; }
.g-c { grid-column: span 2; grid-row: span 1; }
.g-d { grid-column: span 2; grid-row: span 1; }
.g-e { grid-column: span 2; grid-row: span 1; }
.g-f { grid-column: span 2; grid-row: span 2; }
.g-note {
  max-width: 1180px;
  margin: 22px auto 0;
  font-family: var(--fg-font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg-ink-3);
  text-align: center;
}

/* ============================================================
   CLOSING — invite to future events (reuses .closing atoms)
   ============================================================ */
.ev-closing .baseline {
  font-family: var(--fg-font-body);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin: 0 auto 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .ev-intro-inner { grid-template-columns: 1fr; gap: 44px; }
  .speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .g-a { grid-column: span 4; grid-row: span 2; }
  .g-b, .g-c, .g-d, .g-e { grid-column: span 2; }
  .g-f { grid-column: span 4; grid-row: span 1; }
}
@media (max-width: 560px) {
  .speakers-grid { grid-template-columns: 1fr; gap: 44px; max-width: 360px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 40vw, 200px); }
  .g-a { grid-column: span 2; grid-row: span 1; }
  .g-f { grid-column: span 2; grid-row: span 2; }
  .ev-hero > .corner { display: none; }
}
