/* ============================================================
   RESET
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Georgia", "Times New Roman", serif;
  background: #0a0a0a;
  color: #e8e8e8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  z-index: 100;
  transition: background 0.4s ease, padding 0.3s ease;
}

.site-header--scrolled {
  padding: 18px 40px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header__logo {
  max-height: 28px;
  width: auto;
}

img[src=""],
img:not([src]) {
  visibility: hidden;
}

.site-header__nav {
  display: flex;
  gap: 32px;
}

.site-header__nav a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  position: relative;
  transition: color 0.3s;
}

.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0;
  height: 1.5px;
  background: #c41e2a;
  transition: width 0.3s ease;
}

.site-header__nav a:hover {
  color: #fff;
}

.site-header__nav a:hover::after {
  width: 100%;
}

.site-header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}

.site-header__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: transform 0.3s, top 0.3s;
}

.site-header__toggle span:first-child { top: 4px; }
.site-header__toggle span:last-child { top: 16px; }

/* ============================================================
   PARALLAX STACK — chaque section glisse sur la précédente
   ============================================================ */

.panel {
  position: sticky;
  top: 0;
  z-index: 1;
}

.panel--hero      { z-index: 1; }
.panel--about     { z-index: 2; }
.panel--livre     { z-index: 3; }
.panel--nouvelles { z-index: 10; }
.panel--contact   { z-index: 11; }

.panel--footer {
  position: relative;
  top: auto;
  z-index: 50;
  transform: none;
}

/* Ombre en haut de chaque panel qui glisse (sauf hero) */
.panel:not(.panel--hero)::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
  z-index: 10;
  pointer-events: none;
}

.panel--footer::before { display: none; }

/* GSAP pin override — pinned panels need proper stacking */
.pin-spacer {
  z-index: inherit !important;
}

/* ============================================================
   HERO
   ============================================================ */

.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  isolation: isolate;
}

.hero-video__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  pointer-events: none;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    rgba(10, 10, 10, 0.15) 100%
  );
  z-index: -2;
}

.hero-video__content {
  padding: 0 40px 100px;
  max-width: 700px;
  z-index: 2;
}

.hero-video__content h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-video__content p {
  margin-top: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__cta {
  display: inline-block;
  margin-top: 36px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1.5px solid #c41e2a;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.hero__cta:hover {
  color: #c41e2a;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,0.75);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

/* ============================================================
   À PROPOS
   ============================================================ */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #0a0a0a;
}

.about__photo {
  position: relative;
  overflow: hidden;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
  transition: filter 0.6s;
}

.about__photo:hover img {
  filter: grayscale(0%);
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}

.about__label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c41e2a;
  margin-bottom: 24px;
}

.about__heading {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.02em;
}

.about__body {
  margin-top: 32px;
}

.about__body p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.about__body p + p {
  margin-top: 16px;
}

/* ============================================================
   LIVRES — slides plein écran
   ============================================================ */

.livre-slide {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #0a0a0a;
  overflow: hidden;
}

.livre-slide:nth-child(even) {
  background: #0e0e0e;
}

.livre-slide__visual {
  position: relative;
  overflow: hidden;
}

.livre-slide__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.livre-slide:hover .livre-slide__visual img {
  transform: scale(1.05);
}

.livre-slide__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 64px;
}

.livre-slide__tag {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c41e2a;
  margin-bottom: 20px;
}

.livre-slide__title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.livre-slide__accroche {
  margin-top: 16px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.4);
}

.livre-slide__desc {
  margin-top: 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 440px;
}

.livre-slide__bottom {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.livre-slide__prix {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.livre-slide__link {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c41e2a;
  border-bottom: 1px solid rgba(196, 30, 42, 0.4);
  padding-bottom: 3px;
  transition: border-color 0.3s;
}

.livre-slide__link:hover {
  border-color: #c41e2a;
}

/* Alterner image gauche/droite */
.livre-slide:nth-child(even) .livre-slide__visual {
  order: 2;
}

.livre-slide:nth-child(even) .livre-slide__info {
  order: 1;
  text-align: right;
  align-items: flex-end;
}

/* ============================================================
   NOUVELLES
   ============================================================ */

.nouvelles {
  background: #0e0e0e;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px;
}

.nouvelles__inner {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.nouvelles__heading {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 64px;
}

.nouvelle-item {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.nouvelle-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nouvelle-item__title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.nouvelle-item__title-link {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.nouvelle-item__title-link:hover {
  color: #c41e2a;
  border-color: #c41e2a;
}

.nouvelle-item__arrow {
  font-size: 0.75em;
  opacity: 0.5;
}

.nouvelle-item__revue {
  display: block;
  margin-top: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.nouvelle-item__desc {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 600px;
}

/* ============================================================
   FORMULAIRE DE CONTACT
   ============================================================ */

.contact-form {
  margin-top: 40px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

.contact-form__row .contact-form__field {
  margin-top: 0;
}

.contact-form label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1rem;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #c41e2a;
}

/* ── Custom Select ── */

.custom-select {
  position: relative;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.35);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 12px 0;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s, color 0.3s;
  text-align: left;
}

.custom-select__trigger:hover,
.custom-select__trigger:focus {
  border-bottom-color: rgba(255,255,255,0.3);
}

.custom-select--open .custom-select__trigger {
  border-bottom-color: #c41e2a;
  color: rgba(255,255,255,0.5);
}

.custom-select--selected .custom-select__trigger {
  color: #fff;
}

.custom-select__arrow {
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s;
}

.custom-select--open .custom-select__arrow {
  transform: rotate(180deg);
  color: #c41e2a;
}

.custom-select__options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  list-style: none;
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 6px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 20;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  max-height: 240px;
  overflow-y: auto;
}

.custom-select--open .custom-select__options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select__options li {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.custom-select__options li:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.custom-select__options li[aria-selected="true"] {
  color: #c41e2a;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__submit {
  margin-top: 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #c41e2a;
  border: none;
  padding: 16px 40px;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s;
}

.contact-form__submit:hover {
  background: #e02030;
  box-shadow: 0 4px 24px rgba(196, 30, 42, 0.3);
}

.contact-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-form__status {
  margin-top: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.contact-form__status--ok {
  color: #4caf50;
}

.contact-form__status--err {
  color: #c41e2a;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  padding: 120px 40px;
  background: #0a0a0a;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__inner {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.contact__inner h2 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
}

.contact__inner p {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  background: #0a0a0a;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer nav a {
  color: rgba(255,255,255,0.25);
  transition: color 0.3s;
}

.site-footer nav a:hover {
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablette ── */
@media (max-width: 1024px) {
  .about__content {
    padding: 60px 40px;
  }

  .livre-slide__info {
    padding: 48px 40px;
  }

  .livre-slide__desc {
    max-width: 100%;
  }

  .contact__inner {
    max-width: 100%;
  }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  :root {
    --slide-pad-top: 64px;
    --slide-pad-side: 24px;
    --slide-pad-bottom: 80px;
    --livre-visual-min: 220px;
    --livre-visual-max: 420px;
    --livre-visual-ratio: 42;
  }

  /* Header mobile : logo centré, transparent sur hero, solide après */
  .site-header {
    padding: 16px 24px;
    justify-content: center;
    background: transparent;
  }

  .site-header--scrolled {
    padding: 14px 24px;
    background: #0a0a0a;
  }

  .site-header__toggle,
  .site-header__nav {
    display: none !important;
  }

  .hero-video__content {
    padding: 0 24px 80px;
  }

  .hero__scroll {
    right: 24px;
    bottom: 24px;
  }

  .about {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .about__photo {
    aspect-ratio: 4 / 3;
  }

  .about__content {
    padding: var(--slide-pad-top) var(--slide-pad-side) var(--slide-pad-bottom);
  }

  .about__body {
    margin-top: 32px;
  }

  .livre-slide {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .livre-slide__visual {
    height: clamp(
      var(--livre-visual-min),
      calc(var(--app-vh, 1vh) * var(--livre-visual-ratio)),
      var(--livre-visual-max)
    );
  }

  .livre-slide__info {
    padding: var(--slide-pad-top) var(--slide-pad-side) var(--slide-pad-bottom);
  }

  .livre-slide__bottom {
    margin-top: 40px;
  }

  .livre-slide:nth-child(even) .livre-slide__visual { order: 0; }
  .livre-slide:nth-child(even) .livre-slide__info {
    order: 0;
    text-align: left;
    align-items: flex-start;
  }

  .nouvelles,
  .contact {
    height: auto;
    min-height: auto;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 24px 96px;
  }

  .nouvelles__heading {
    margin-bottom: 56px;
  }

  .nouvelle-item {
    padding: 36px 0;
  }

  .contact-form {
    margin-top: 48px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form__row .contact-form__field {
    margin-top: 20px;
  }

  .contact-form__field {
    margin-top: 24px;
  }

  .contact-form__submit {
    margin-top: 40px;
  }

  .site-footer {
    padding: 36px 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* ── Mobile fullpage mode (JS adds .mfp-active) ── */
  html.mfp-active,
  html.mfp-active body {
    overflow: hidden;
    height: 100%;
  }

  html.mfp-active #main-content {
    position: relative;
    height: 100%;
    overflow: hidden;
  }

  html.mfp-active .panel {
    position: absolute;
    inset: 0;
    height: 100%;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-top: 56px; /* espace pour le header fixe */
  }

  html.mfp-active .panel.mfp-current {
    overflow-y: auto;
  }

  /* Hero : pas de padding, la vidéo prend tout l'écran */
  html.mfp-active .panel--hero {
    padding-top: 0;
  }

  html.mfp-active .panel--footer {
    position: absolute;
    top: 0;
    z-index: auto;
    transform: translateY(100%);
  }

  /* Remove panel overlay shadows in fullpage mode */
  html.mfp-active .panel::before {
    display: none;
  }

  /* Sections inside fullpage panels: natural height for internal scroll */
  html.mfp-active .hero-video {
    height: 100%;
    min-height: 100%;
  }

  html.mfp-active .nouvelles,
  html.mfp-active .contact {
    align-items: flex-start;
    justify-content: flex-start;
  }

  /* Dot navigation */
  .mfp-dots {
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mfp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
  }

  .mfp-dot.is-active {
    background: #c41e2a;
    transform: scale(1.3);
  }
}

/* ── Petit mobile ── */
@media (max-width: 480px) {
  :root {
    --slide-pad-top: 52px;
    --slide-pad-side: 20px;
    --slide-pad-bottom: 68px;
    --livre-visual-min: 180px;
    --livre-visual-max: 320px;
    --livre-visual-ratio: 36;
  }

  .hero-video__content {
    padding: 0 20px 64px;
  }

  .livre-slide__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nouvelles__heading {
    margin-bottom: 44px;
  }

  .nouvelle-item {
    padding: 32px 0;
  }

  .nouvelles,
  .contact { padding: 64px 20px 80px; }

  .site-footer {
    padding: 28px 20px;
  }
}

/* Touch devices in wider mobile landscape sizes (e.g. 812x375, 844x390, 915x412) */
@media (hover: none) and (pointer: coarse) and (min-width: 769px) and (max-width: 932px) {
  :root {
    --slide-pad-top: 40px;
    --slide-pad-side: 20px;
    --slide-pad-bottom: 56px;
    --livre-visual-min: 130px;
    --livre-visual-max: 240px;
    --livre-visual-ratio: 26;
  }

  .about,
  .livre-slide {
    height: auto;
    min-height: auto;
  }

  .about__content,
  .livre-slide__info {
    padding: var(--slide-pad-top) var(--slide-pad-side) var(--slide-pad-bottom);
  }

  .livre-slide__visual {
    height: clamp(
      var(--livre-visual-min),
      calc(var(--app-vh, 1vh) * var(--livre-visual-ratio)),
      var(--livre-visual-max)
    );
  }

  .nouvelles { padding: 72px 20px; min-height: auto; height: auto; }
  .contact { padding: 72px 20px; min-height: auto; height: auto; }
}

/* Small devices (e.g. iPhone SE 1/2/3, older Android 320-360w) */
@media (max-width: 360px) {
  :root {
    --slide-pad-top: 44px;
    --slide-pad-side: 16px;
    --slide-pad-bottom: 60px;
    --livre-visual-min: 160px;
    --livre-visual-max: 280px;
    --livre-visual-ratio: 34;
  }
}

/* Mid-size phones (e.g. 375x812, 390x844, 393x873) */
@media (min-width: 361px) and (max-width: 414px) {
  :root {
    --slide-pad-top: 56px;
    --slide-pad-side: 20px;
    --slide-pad-bottom: 72px;
    --livre-visual-min: 190px;
    --livre-visual-max: 340px;
    --livre-visual-ratio: 38;
  }
}

/* Large phones and plus/max devices (e.g. 428/430w, 412x915) */
@media (min-width: 415px) and (max-width: 768px) {
  :root {
    --slide-pad-top: 64px;
    --slide-pad-side: 24px;
    --slide-pad-bottom: 80px;
    --livre-visual-min: 220px;
    --livre-visual-max: 420px;
    --livre-visual-ratio: 42;
  }
}

/* Short screens */
@media (max-width: 768px) and (max-height: 740px) {
  :root {
    --slide-pad-top: 40px;
    --slide-pad-bottom: 56px;
    --livre-visual-ratio: 32;
  }
}

/* Very short screens */
@media (max-width: 768px) and (max-height: 640px) {
  :root {
    --slide-pad-top: 32px;
    --slide-pad-bottom: 48px;
    --livre-visual-min: 140px;
    --livre-visual-ratio: 28;
  }
}

/* Landscape phones */
@media (max-width: 932px) and (max-height: 500px) and (orientation: landscape) {
  :root {
    --slide-pad-top: 28px;
    --slide-pad-bottom: 40px;
    --livre-visual-min: 120px;
    --livre-visual-max: 220px;
    --livre-visual-ratio: 24;
  }

  .hero-video__content {
    padding-bottom: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

