/* Emma au Micro
   Bleu nuit et or du flyer. Jost pour tout le texte,
   Cormorant italique pour la devise et les témoignages. */

/* ---------- Polices ---------- */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Variables ---------- */

:root {
  --night: #06123d;
  --night-deep: #040c2b;
  --ink: #0a1640;
  --body: #3b4567;
  --slate: #5c6685;
  --stage: #1d43b5;
  --gold: #e9c26e;
  --gold-soft: #f3d899;
  --gold-line: #c79a3c;
  --paper: #ffffff;
  --mist: #f5f6fa;
  --line: #e1e5ef;
  --on-night: rgba(255, 255, 255, 0.8);
  --on-night-soft: rgba(255, 255, 255, 0.6);
  --line-night: rgba(255, 255, 255, 0.16);

  --sans: "Jost", "Century Gothic", "Avenir Next", Avenir, system-ui, sans-serif;
  --voice: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --text-s: 0.9375rem;
  --text-m: 1.125rem;
  --text-l: 1.3125rem;
  --title-s: 1.5rem;
  --title-m: clamp(1.75rem, 1.3rem + 1.7vw, 2.5rem);
  --title-l: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);

  --gutter: clamp(20px, 4vw, 40px);
  --space-section: clamp(64px, 8vw, 120px);
  --wrap: 1180px;
  --radius: 2px;
  --header: 80px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 var(--text-m) / 1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 400;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--stage);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.band :focus-visible,
.contact__copy :focus-visible,
.site-footer :focus-visible,
.player :focus-visible {
  outline-color: var(--gold);
}

::selection {
  background: var(--gold);
  color: var(--night);
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 50;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--night);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* Petites capitales espacées : menu et boutons, comme le logo. */
.caps,
.btn,
.site-nav__link,
.nav-toggle,
.play,
.player__tab,
.player__close {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Liens et boutons ---------- */

.link {
  color: var(--stage);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.link:hover {
  text-decoration-thickness: 2px;
}

.link--light {
  color: #fff;
  text-decoration-color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--small {
  min-height: 44px;
  padding: 0 22px;
}

.btn--gold {
  background: var(--gold);
  color: var(--night);
}

.btn--gold:hover {
  background: var(--gold-soft);
}

.btn--line {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn--line:hover {
  border-color: #fff;
  background: #fff;
  color: var(--night);
}

.btn--night {
  background: var(--ink);
  color: #fff;
}

.btn--night:hover {
  background: var(--stage);
}

.btn--outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: #fff;
}

/* Bouton de lecture */

.play {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-decoration: none;
}

.play__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  transition: background-color 0.15s ease;
}

.play__icon svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
  fill: var(--night);
}

.play:hover .play__icon {
  background: var(--gold-soft);
}

.play--dark {
  color: var(--ink);
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--night);
}

.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: var(--header);
}

.site-header__logo {
  display: block;
  flex: none;
}

.site-header__logo img {
  width: auto;
  height: 18px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(24px, 2.6vw, 40px);
}

.site-nav__link {
  padding: 8px 0;
  color: #fff;
  text-decoration: none;
  text-decoration-color: var(--gold);
  text-underline-offset: 8px;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  text-decoration-line: underline;
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

/* ---------- Accueil ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  min-height: min(760px, calc(100vh - var(--header)));
  background: var(--night);
  color: var(--on-night);
}

.hero__media {
  position: relative;
  min-height: 520px;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% 30%;
}

.hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) clamp(48px, 6vw, 96px) clamp(32px, 5vw, 80px);
}

.hero__rule {
  width: 56px;
  height: 1px;
  margin-bottom: 32px;
  background: var(--gold);
}

.hero__title {
  color: #fff;
  font-size: clamp(2.25rem, 1.2rem + 3vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.hero__lead {
  max-width: 24em;
  margin-top: 24px;
  font-size: var(--text-l);
  line-height: 1.5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 36px;
  margin-top: 44px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__panel > * {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero__panel > :nth-child(3) {
    animation-delay: 0.08s;
  }

  .hero__panel > :nth-child(4) {
    animation-delay: 0.16s;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
  }
}

/* Vidéos sur l'accueil */

.reel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 40px clamp(32px, 8vw, 120px);
}

.reel__items {
  margin-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--ink);
}

.reel__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--text-l);
  text-decoration: none;
}

.reel__item span:last-child {
  color: var(--slate);
  font-size: var(--text-s);
}

.reel__item:hover span:first-child {
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-underline-offset: 6px;
}

.clip {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--night);
}

.clip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.clip__play {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  transition: background-color 0.15s ease;
}

.clip__play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
  fill: var(--night);
}

.clip:hover .clip__play {
  background: var(--gold-soft);
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--space-section);
}

.section--mist {
  background: var(--mist);
}

.page-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.page-title {
  font-size: var(--title-l);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.page-lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: var(--text-l);
  line-height: 1.5;
}

.section__title {
  margin-bottom: clamp(24px, 3vw, 40px);
  font-size: var(--title-m);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ---------- Prestation ---------- */

.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 40px clamp(32px, 6vw, 88px);
}

.service__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.steps {
  border-top: 1px solid var(--ink);
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 12.5rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  color: var(--slate);
  font-size: var(--text-l);
}

.step__title {
  font-size: var(--title-s);
  line-height: 1.2;
}

.service__video {
  margin-top: 36px;
}

.extras {
  border-top: 1px solid var(--ink);
}

.extra {
  border-bottom: 1px solid var(--line);
}

.extra__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--ink);
  font-size: var(--text-l);
  list-style: none;
  cursor: pointer;
}

.extra__summary::-webkit-details-marker {
  display: none;
}

.extra__sign {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}

.extra__sign::before,
.extra__sign::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.extra__sign::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.extra[open] .extra__sign::after {
  transform: rotate(0deg);
}

.extra__body {
  max-width: 40em;
  padding-bottom: 28px;
}

.extra__body > * + * {
  margin-top: 12px;
}

.extra__quote {
  color: var(--ink);
  font-family: var(--voice);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
}

.extra__meta {
  color: var(--slate);
  font-size: var(--text-s);
}

/* ---------- Références ---------- */

.stage img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.stage figcaption {
  margin-top: 12px;
  color: var(--slate);
  font-size: var(--text-s);
}

.refs {
  width: 100%;
  margin-top: clamp(40px, 5vw, 64px);
  border-collapse: collapse;
  text-align: left;
}

.refs thead th {
  padding: 0 24px 12px 0;
  border-bottom: 1px solid var(--ink);
  color: var(--slate);
  font-size: var(--text-s);
  font-weight: 400;
}

.refs tbody th,
.refs tbody td {
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.refs tbody th {
  width: 32%;
  color: var(--ink);
  font-size: var(--text-l);
  font-weight: 400;
  line-height: 1.3;
}

.refs tbody th .link {
  color: inherit;
  text-decoration-color: var(--gold-line);
}

.refs tbody td:nth-child(2) {
  width: 28%;
  color: var(--ink);
}

.venues {
  margin-top: 28px;
}

.venues summary {
  display: inline-block;
  padding: 4px 0;
  color: var(--stage);
  cursor: pointer;
}

.venues[open] summary {
  margin-bottom: 20px;
}

.venues__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(24px, 4vw, 56px);
}

.venues__title {
  margin-bottom: 8px;
  font-size: var(--text-m);
  font-weight: 500;
}

.venues li {
  padding: 3px 0;
  font-size: 1.0625rem;
}

.partners {
  margin-top: 28px;
  color: var(--slate);
  font-size: 1.0625rem;
}

/* ---------- Témoignages ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(32px, 7vw, 104px);
}

.quote blockquote {
  color: var(--ink);
  font-family: var(--voice);
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.26;
}

.quote figcaption {
  margin-top: 16px;
  color: var(--slate);
  font-size: var(--text-s);
}

/* ---------- À propos ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 40px clamp(32px, 8vw, 120px);
}

.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about__copy p {
  max-width: 34em;
  margin-top: 18px;
}

.about__copy .page-title + p {
  margin-top: 28px;
}

.about__motto {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--voice);
  font-size: 1.875rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}

/* ---------- Bandeau de contact ---------- */

.band {
  padding-block: clamp(40px, 5vw, 64px);
  background: var(--night);
  color: var(--on-night);
}

.band__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}

.band__title {
  color: #fff;
  font-size: var(--title-s);
}

.band__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 40px;
}

.band__link {
  color: #fff;
  text-decoration: none;
  text-underline-offset: 6px;
  white-space: nowrap;
}

.band__link:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

/* ---------- Contact ---------- */

.contact {
  padding-block: var(--space-section);
  background: var(--night);
  color: var(--on-night);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: 48px clamp(32px, 8vw, 120px);
}

.contact__title {
  color: #fff;
  font-size: var(--title-l);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.contact__lead {
  margin-top: 20px;
  font-size: var(--text-l);
  line-height: 1.5;
}

.channels {
  margin-top: 40px;
  border-top: 1px solid var(--line-night);
  font-size: 1.0625rem;
}

.channels__item {
  display: grid;
  grid-template-columns: 10em minmax(0, 1fr);
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-night);
}

.channels__label {
  color: var(--on-night-soft);
}

.request {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--body);
}

.field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.field--wide {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: var(--text-s);
  font-weight: 500;
}

.field input,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #aeb6cc;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1.0625rem;
}

.field input:hover,
.field select:hover {
  border-color: var(--ink);
}

.request__status {
  grid-column: 1 / -1;
  margin-top: -8px;
  padding: 12px 14px;
  border-left: 3px solid #aeb6cc;
  background: var(--mist);
  color: var(--ink);
  font-size: var(--text-s);
  line-height: 1.45;
}

.request__status[data-state="free"] {
  border-left-color: #1c7c54;
}

.request__status[data-state="option"] {
  border-left-color: var(--gold-line);
}

.request__status[data-state="reserved"],
.request__status[data-state="past"] {
  border-left-color: #b3261e;
}

.request__actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 12px;
  margin-top: 4px;
}

.request__actions .btn {
  flex: 1 1 200px;
  padding-inline: 14px;
}

.request__hint {
  grid-column: 1 / -1;
  color: var(--slate);
  font-size: var(--text-s);
  line-height: 1.45;
}

/* ---------- Pied de page ---------- */

.site-footer {
  padding-block: 56px 32px;
  background: var(--night-deep);
  color: var(--on-night);
  font-size: 1.0625rem;
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px 48px;
}

.site-footer__logo {
  width: auto;
  height: 22px;
}

.site-footer__motto {
  margin-top: 20px;
  color: var(--gold);
  font-family: var(--voice);
  font-size: 1.625rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.site-footer__links a {
  padding: 4px 0;
  color: #fff;
  text-decoration: none;
  text-underline-offset: 6px;
}

.site-footer__links a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.site-footer__legal {
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--line-night);
  color: var(--on-night-soft);
  font-size: var(--text-s);
}

/* ---------- Lecteur vidéo ---------- */

.player {
  --ratio: 0.8;
  width: fit-content;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--night-deep);
  color: #fff;
  overflow: hidden;
}

.player::backdrop {
  background: rgba(4, 12, 43, 0.88);
}

.player__video {
  width: min(92vw, 960px, calc((88vh - 110px) * var(--ratio)));
  aspect-ratio: var(--ratio);
  background: #000;
}

.player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  width: 0;
  min-width: 100%;
  padding: 8px 8px 8px 16px;
}

.player__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.player__tab,
.player__close {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--on-night-soft);
  font-size: 0.75rem;
  cursor: pointer;
}

.player__tab {
  padding: 0;
  border-bottom: 1px solid transparent;
}

.player__tab:hover,
.player__tab[aria-pressed="true"] {
  color: #fff;
}

.player__tab[aria-pressed="true"] {
  border-bottom-color: var(--gold);
}

.player__close {
  flex: none;
  padding: 0 12px;
  border: 1px solid var(--line-night);
  border-radius: var(--radius);
  color: #fff;
}

.player__close:hover {
  border-color: var(--gold);
}

/* ---------- Écrans moyens et petits ---------- */

/* Le menu passe en bouton un peu avant le reste de la mise en page :
   cinq entrées ne tiennent plus sur une ligne sous 1040px. */
@media (max-width: 1040px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .js .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 20px;
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .js .site-nav__link {
    padding: 16px 0;
    border-top: 1px solid var(--line-night);
  }

  .js .site-nav .btn {
    margin-top: 12px;
  }
}

@media (max-width: 900px) {
  :root {
    --header: 68px;
    --text-l: 1.1875rem;
  }

  .site-header__logo img {
    height: 14px;
  }

  .hero,
  .reel,
  .service,
  .about,
  .contact__grid,
  .quotes {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: 0;
  }

  .hero__media {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }

  .hero__panel {
    padding: 40px var(--gutter) 56px;
  }

  .reel__main,
  .service__photo,
  .about__photo {
    max-width: 440px;
  }

  .venues__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .step {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .step__text {
    grid-column: 2;
  }

  .stage img {
    aspect-ratio: 3 / 2;
  }

  .refs thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .refs tbody tr {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .refs tbody tr:first-child {
    border-top: 1px solid var(--ink);
  }

  .refs tbody th,
  .refs tbody td,
  .refs tbody td:nth-child(2) {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
  }

  .refs tbody td {
    margin-top: 2px;
  }

  .venues__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .channels__item {
    grid-template-columns: minmax(0, 1fr);
  }

  .request {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__logo {
    height: 18px;
  }
}
