﻿/* Wit Dog LP — pension éducative · orange + brun site */
:root {
  --brown: #3d1b11;
  --brown-deep: #2e1d14;
  /* Brand orange (décoratif / fonds sombres). Texte & boutons : variantes AA. */
  --orange: #ff5733;
  --orange-deep: #e04828;
  --orange-text: #b83312; /* ≥4.5:1 sur paper / white */
  --orange-btn: #c93d18; /* ≥4.5:1 blanc sur bouton */
  --orange-btn-hover: #a82f10;
  --paper: #f7f2ec;
  --paper-2: #efe6dc;
  --ink: #1a120e;
  --muted: #5a4a42; /* ≥4.5:1 (AAA sur paper) */
  --white: #ffffff;
  --line: rgba(61, 27, 17, 0.12);
  --line-inv: rgba(255, 255, 255, 0.14);
  --display: "Poppins", sans-serif;
  --body: "Poppins", sans-serif;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --max: 80rem;
  --header-h: 4rem;
  --radius: 0.35rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --float-clearance: 4.5rem;
  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 1.75rem;
  --space-7: 2.25rem;
  --section-y: clamp(3.25rem, 6.5vw, 5rem);
  --stack-gap: var(--space-4);
  --block-gap: var(--space-5);
  --list-gap: var(--space-2);
  --card-pad: var(--space-4);
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff5733'%3E%3Cellipse cx='12' cy='16.8' rx='4.4' ry='3.6'/%3E%3Ccircle cx='5.2' cy='10.2' r='2.15'/%3E%3Ccircle cx='9' cy='6.6' r='2.2'/%3E%3Ccircle cx='15' cy='6.6' r='2.2'/%3E%3Ccircle cx='18.8' cy='10.2' r='2.15'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (min-width: 900px) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--orange-text);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}

h1 {
  font-size: clamp(1.85rem, 5vw, 3.1rem);
  font-weight: 800;
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  max-width: 20ch;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-1);
}

p {
  margin: 0 0 var(--space-3);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: var(--gutter);
}

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--orange-text);
}

.eyebrow--light {
  color: #ffb39f;
}

.lede {
  max-width: 38ch;
  font-size: 1.05rem;
  color: var(--muted);
}

.lede--inv {
  color: rgba(255, 255, 255, 0.78);
}

.note {
  font-size: 0.98rem;
  color: var(--muted);
  border-left: 3px solid var(--orange-text);
  padding-left: var(--space-3);
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.15rem;
  padding: 0.75rem 1.3rem;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--orange-btn);
  color: #fff;
}

.btn--primary:hover {
  background: var(--orange-btn-hover);
  color: #fff;
}

.btn--call {
  background: var(--brown);
  color: #fff;
}

.btn--call:hover {
  background: var(--brown-deep);
  color: #fff;
}

.btn--xl {
  min-height: 3.4rem;
  padding-inline: 1.45rem;
  font-size: 1.05rem;
}

.mid-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
}

/* Stack de contenu : marges égales (eyebrow → titre → texte → liste → CTA) */
.content-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--stack-gap);
}

.content-stack > .eyebrow,
.content-stack > .media-kicker,
.content-stack > h2,
.content-stack > h3,
.content-stack > .lede,
.content-stack > p,
.content-stack > .note,
.content-stack > .check-list,
.content-stack > .btn,
.content-stack > .mid-cta {
  margin-top: 0;
  margin-bottom: 0;
}

.content-stack > .eyebrow,
.content-stack > .media-kicker {
  margin-bottom: calc(var(--stack-gap) * -0.4);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: var(--brown);
  color: #fff;
  box-shadow: 0 8px 24px rgba(26, 18, 14, 0.22);
}

.brand {
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand__mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--orange);
  text-transform: uppercase;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  max-width: 100%;
  padding: 0.4rem 0.85rem;
  background: var(--orange-btn);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--orange-btn-hover);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
  transform: scale(1.04);
  animation: hero- ken 18s ease-in-out infinite alternate;
}

@keyframes hero-ken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(46, 29, 20, 0.35) 0%, rgba(46, 29, 20, 0.2) 35%, rgba(46, 29, 20, 0.88) 100%),
    linear-gradient(90deg, rgba(46, 29, 20, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--stack-gap);
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + var(--space-7)) 0 var(--section-y);
  animation: fade-up 0.9s var(--ease) both;
}

.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--orange);
}

.hero-kicker {
  margin: calc(var(--stack-gap) * -0.55) 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  margin: 0;
  color: #fff;
  max-width: 15ch;
}

.hero .lede {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  max-width: 26rem;
}

.hero-rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin: 0;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: #fff;
}

.hero-rating__score {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.hero-rating__stars,
.reviews-panel__stars {
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20'%3E%3Cpath fill='black' d='M10 1.5l2.4 7.3H20l-6 4.4 2.3 7.1L10 16l-6.3 4.3 2.3-7.1-6-4.4h7.6zm24 0l2.4 7.3H44l-6 4.4 2.3 7.1L34 16l-6.3 4.3 2.3-7.1-6-4.4h7.6zm24 0l2.4 7.3H68l-6 4.4 2.3 7.1L58 16l-6.3 4.3 2.3-7.1-6-4.4h7.6zm24 0l2.4 7.3H92l-6 4.4 2.3 7.1L82 16l-6.3 4.3 2.3-7.1-6-4.4h7.6zm24 0l2.4 7.3H116l-6 4.4 2.3 7.1L106 16l-6.3 4.3 2.3-7.1-6-4.4h7.6z'/%3E%3C/svg%3E");
  display: inline-block;
  width: 5.5rem;
  height: 1rem;
  margin: 0;
  background: #ffc107;
  -webkit-mask: var(--stars) center / contain no-repeat;
  mask: var(--stars) center / contain no-repeat;
}

.hero-rating__meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-trust li {
  position: relative;
  padding-left: 1.35rem;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 0.95rem;
  height: 0.95rem;
  background: var(--paw) center / contain no-repeat;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Proof bar */
.proof-bar {
  background: var(--brown);
  color: #fff;
  padding: var(--space-5) 0;
}

.proof-bar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-3);
}

.proof-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange);
}

.proof-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Sections */
.section {
  padding: var(--section-y) 0;
}

/* Empilement vertical standard (pas sur les grilles split / contact / alakay) */
.section > .container:not(.split):not(.alakay):not(.contact-layout) {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--block-gap);
}

.section--tint {
  background: var(--paper-2);
}

.section--dark {
  background: var(--brown-deep);
  color: #fff;
}

.section--dark h2 {
  color: #fff;
}

.section--contact {
  background:
    radial-gradient(ellipse at top right, rgba(255, 87, 51, 0.12), transparent 50%),
    var(--paper);
  padding-bottom: calc(var(--section-y) + var(--float-clearance));
}

.section-head {
  margin: 0;
  max-width: 42rem;
}

.section-head h2 {
  margin-bottom: var(--space-2);
  max-width: 34ch;
}

.section-head .lede {
  margin: 0;
  max-width: 54ch;
}

/* Urgence : même rythme vertical que les autres sections */
.urgent-row > .section-head {
  max-width: 42rem;
}

.urgent-row > .btn {
  align-self: flex-start;
}

.split {
  display: grid;
  gap: var(--block-gap);
  align-items: center;
}

.split__media {
  margin: 0;
  border-radius: calc(var(--radius) + 0.1rem);
  overflow: hidden;
  background: var(--brown);
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: var(--list-gap);
  margin: 0;
  width: 100%;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28rem;
  width: 1.05rem;
  height: 1.05rem;
  background: var(--paw) center / contain no-repeat;
}

.check-list--inv li {
  color: rgba(255, 255, 255, 0.88);
}

.signes-list {
  display: grid;
  gap: var(--list-gap);
  margin: 0;
}

.signes-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-3) var(--card-pad);
  font-weight: 600;
}

.signes-cta-line {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42ch;
}

.inclu-grid {
  display: grid;
  gap: var(--list-gap);
  margin: 0;
}

.inclu-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
}

.inclu-card p {
  margin: 0;
  color: var(--muted);
}

.photo-band {
  margin: 0;
  border-radius: calc(var(--radius) + 0.1rem);
  overflow: hidden;
}

.photo-band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.alakay {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.alakay__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--stack-gap);
}

.alakay__copy > .eyebrow,
.alakay__copy > h2,
.alakay__copy > .lede,
.alakay__copy > .check-list,
.alakay__copy > .btn {
  margin-top: 0;
  margin-bottom: 0;
}

.alakay__copy > .eyebrow {
  margin-bottom: calc(var(--stack-gap) * -0.45);
}

.alakay__media {
  margin: 0;
  border-radius: calc(var(--radius) + 0.1rem);
  overflow: hidden;
}

.alakay__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.price-grid {
  display: grid;
  gap: 1rem;
}

.price-grid--single {
  max-width: 28rem;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 1.4rem 1.2rem;
}

.price-card--featured {
  border-color: color-mix(in srgb, var(--orange) 55%, transparent);
  box-shadow: 0 16px 36px rgba(255, 87, 51, 0.12);
}

.price-card__label {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--orange-text);
}

.price-card__amount {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0.2rem 0 0.35rem;
}

.price-card__amount span {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brown);
}

.price-card__hook {
  color: var(--muted);
  margin-bottom: 1rem;
}

.price-card .btn {
  margin-top: var(--stack-gap);
  width: 100%;
}

/* Media / TF1 */
.media-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-text);
}

.media-tv img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius) + 0.1rem);
}

/* Google reviews */
.reviews-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--card-pad);
  background: var(--brown);
  color: #fff;
  border-radius: calc(var(--radius) + 0.1rem);
}

.reviews-panel__score {
  display: grid;
  gap: 0.2rem;
}

.reviews-panel__value {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.reviews-panel__value span {
  margin-left: 0.15rem;
  font-size: 0.45em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.reviews-panel__stars {
  display: block;
  width: 6.5rem;
  height: 1.15rem;
}

.reviews-panel__meta {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.reviews-panel .btn--primary {
  flex-shrink: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.gallery__item {
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--brown);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.85rem;
}

.partners li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 10rem;
  min-height: 5rem;
  max-width: 14rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 1rem 1.25rem;
}

.partners li img {
  width: auto;
  max-width: 100%;
  max-height: 2.6rem;
  height: auto;
  object-fit: contain;
}

.partners__logo--invert {
  filter: brightness(0) saturate(100%);
}

.faq {
  display: grid;
  gap: 0.65rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.2rem 1rem;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 0;
  list-style: none;
  text-wrap: pretty;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary .nowrap {
  white-space: nowrap;
}

.faq__item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  gap: 1.75rem;
}

.reassure {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.reassure li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
}

.reassure li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 0.95rem;
  height: 0.95rem;
  background: var(--paw) center / contain no-repeat;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 1.25rem;
  min-height: 16rem;
}

.form-placeholder {
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.35rem;
  min-height: 14rem;
  color: var(--muted);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.form-placeholder p {
  margin: 0;
}

.form-placeholder a {
  color: var(--orange-text);
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--brown-deep);
  color: rgba(255, 255, 255, 0.92);
  padding: 1.25rem var(--gutter) calc(1.25rem + var(--float-clearance));
}

.footer-bar {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  font-size: 0.92rem;
}

.footer-bar a {
  color: #fff;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-credit img {
  height: 1.1rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Float call — compact icon-only, no glow */
.float-call {
  position: fixed;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  padding: 0;
  background: var(--orange-btn);
  color: #fff;
  font-size: 0;
  line-height: 0;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(26, 18, 14, 0.22);
}

.float-call:hover {
  color: #fff;
  background: var(--orange-btn-hover);
}

.float-call__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Lightbox */
.gal-lb {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(26, 18, 14, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.gal-lb.is-open {
  opacity: 1;
  visibility: visible;
}

.gal-lb__dialog {
  position: relative;
  width: min(100%, 52rem);
}

.gal-lb__figure {
  margin: 0;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.gal-lb__figure img {
  width: 100%;
  max-height: 78svh;
  object-fit: contain;
  margin: 0 auto;
}

.gal-lb__caption {
  color: #fff;
  margin-top: 0.75rem;
  text-align: center;
}

.gal-lb__close {
  position: absolute;
  top: -2.4rem;
  right: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Legal / merci */
.is-legal .site-header,
.page-simple .site-header {
  background: var(--brown);
}

.page-hero {
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 1.5rem;
  background: var(--brown);
  color: #fff;
}

.page-hero h1 {
  color: #fff;
}

.legal {
  max-width: 48rem;
}

.legal h2 {
  margin-top: 1.75rem;
  font-size: 1.25rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.merci-box {
  min-height: 70svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
}

.merci-box h1 {
  max-width: none;
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .js .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Desktop */
@media (min-width: 720px) {
  .proof-bar__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .inclu-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-grid:not(.price-grid--single) {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }

  .price-grid--single {
    max-width: 32rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
  }
}

@media (min-width: 900px) {
  .split,
  .alakay,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .split--reverse .split__media {
    order: 2;
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .float-call {
    display: none;
  }

  .site-footer,
  .section--contact {
    padding-bottom: var(--section-y);
  }

  :root {
    --float-clearance: 0px;
  }
}
