/* =========================
   Cosy Javanais — stylesheet
   ========================= */

:root {
  --green: #4A5D3F;
  --green-deep: #3A4A32;
  --cream: #EDE4D3;
  --ivory: #F7F3EA;
  --terracotta: #C97B5A;
  --terracotta-deep: #B86A49;
  --ink: #2B2B2B;
  --ink-soft: #5a5a58;
  --line: rgba(43, 43, 43, 0.12);
  --shadow-sm: 0 2px 8px rgba(43, 43, 43, 0.06);
  --shadow-md: 0 10px 30px rgba(43, 43, 43, 0.08);
  --shadow-lg: 0 20px 60px rgba(43, 43, 43, 0.14);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --header-h: 72px;
  --max-w: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .4em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.eyebrow--center { display: block; text-align: center; }

.section__title { margin-bottom: 1rem; }
.section__title--center { text-align: center; }

.section__lede {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 3rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.section__footnote {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-style: italic;
}

/* Buttons ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all .35s var(--ease);
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--green);
  color: var(--ivory);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 243, 234, 0.5);
}
.btn--ghost:hover {
  background: rgba(247, 243, 234, 0.1);
  border-color: var(--ivory);
}

/* Header -------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.header.scrolled {
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header__logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--ivory);
  transition: color .35s var(--ease);
}
.header.scrolled .header__logo { color: var(--ink); }
.header__logo-main {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.header__logo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: .7;
  margin-top: 4px;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header__nav a {
  text-decoration: none;
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 400;
  position: relative;
  transition: color .3s var(--ease);
}
.header.scrolled .header__nav a { color: var(--ink); }
.header__nav a:not(.header__cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.header__nav a:not(.header__cta):hover::after { width: 100%; }
.header__cta {
  background: var(--terracotta);
  color: var(--ivory) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.header__cta:hover {
  background: var(--terracotta-deep);
  transform: translateY(-1px);
}

.header__burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
  margin: 0 auto;
}
.header.scrolled .header__burger span { background: var(--ink); }

/* Hero ---------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  color: var(--ivory);
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}
.hero__image {
  position: absolute;
  inset: 0;
  background-image: url('images/exterieur-piscine.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(58, 74, 50, 0.35) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(43, 43, 43, 0.45) 0%,
      rgba(43, 43, 43, 0.25) 40%,
      rgba(43, 43, 43, 0.7) 100%
    );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  animation: heroFade 1.3s var(--ease) .3s both;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  margin: 0 0 1.6rem;
  opacity: 0.95;
  font-weight: 500;
  position: relative;
  padding-left: 3rem;
}
.hero__eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.hero__title {
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.05;
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.hero__subtitle {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  margin: 1.8rem 0 2.6rem;
  opacity: 0.92;
  line-height: 1.55;
}
.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .hero__eyebrow { padding-left: 2rem; font-size: 0.72rem; letter-spacing: 0.22em; }
  .hero__eyebrow::before { width: 1.4rem; }
  .hero__ctas .btn { width: 100%; }
  .hero { padding-bottom: 7rem; }
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 46px;
  border: 1.5px solid rgba(247, 243, 234, 0.6);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 2px;
  height: 8px;
  background: var(--ivory);
  border-radius: 2px;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(14px); opacity: 0; }
}

/* Institut ------------------------------------------------ */
.section--institut {
  background: var(--ivory);
}
.grid { display: grid; gap: 3.5rem; align-items: center; }
.grid--2 { grid-template-columns: 1fr; }

.institut__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin: 0 auto;
}
.institut__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.institut__photo:hover img { transform: scale(1.03); }

.institut__text p { max-width: 52ch; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.8rem;
  padding: 0.85rem 1.25rem;
  background: var(--cream);
  border-radius: 999px;
  color: var(--green);
  border: 1px solid var(--line);
}
.badge strong { display: block; font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.badge span  { font-size: 0.78rem; color: var(--ink-soft); }

/* Prestations --------------------------------------------- */
.section--prestations { background: var(--cream); }
.prestations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.prestation {
  position: relative;
  background: var(--ivory);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  text-align: center;
}
.prestation:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.prestation--highlight {
  background: linear-gradient(160deg, #56705F 0%, var(--green-deep) 100%);
  color: #ffffff;
  border-color: transparent;
}

.prestation__icon {
  color: var(--green);
  margin-bottom: 1rem;
  display: inline-flex;
}
.prestation__icon svg { width: 42px; height: 42px; }

.prestation h3 { color: var(--green); margin-bottom: .6rem; }
.prestation p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin: 0 0 1.5rem;
}

.prestation--highlight h3 { color: #ffffff; }
.prestation--highlight p { color: rgba(255, 255, 255, 0.92); }
.prestation--highlight .prestation__icon { color: #ffffff; }
.prestation__price {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--terracotta);
}
.prestation--highlight .prestation__price {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.prestation__tag {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--ivory);
  color: var(--green-deep);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* Cocon / Gallery ----------------------------------------- */
.section--cocon { background: var(--ivory); }
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(43, 43, 43, 0);
  transition: background .35s var(--ease);
}
.gallery__item:hover::after { background: rgba(43, 43, 43, 0.12); }

/* Témoignages / Carousel ---------------------------------- */
.section--avis { background: var(--green); color: var(--ivory); }
.section--avis .eyebrow { color: var(--cream); }
.section--avis .section__title { color: var(--ivory); }

.carousel {
  position: relative;
  max-width: 900px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.carousel__viewport {
  overflow: hidden;
  grid-column: 2;
  grid-row: 1;
}
.carousel__track {
  display: flex;
  transition: transform .6s var(--ease);
  will-change: transform;
}
.testimonial {
  flex: 0 0 100%;
  padding: 0.5rem 0.5rem;
  text-align: center;
  box-sizing: border-box;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stars {
  color: #EFC371;
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
}
.testimonial p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 1.3rem;
  color: var(--ivory);
  font-weight: 400;
}
.testimonial footer { opacity: 0.75; font-size: 0.9rem; }
.testimonial cite { font-style: normal; letter-spacing: 0.05em; }

.carousel__arrow {
  grid-row: 1;
  align-self: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(247, 243, 234, 0.35);
  background: rgba(247, 243, 234, 0.06);
  color: var(--ivory);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  padding: 0;
  flex-shrink: 0;
}
.carousel__arrow svg { display: block; }
.carousel__arrow:hover { background: rgba(247, 243, 234, 0.18); border-color: var(--ivory); transform: scale(1.05); }
.carousel__arrow--prev { grid-column: 1; }
.carousel__arrow--next { grid-column: 3; }

.carousel__dots {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.8rem;
}
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(247, 243, 234, 0.3);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.carousel__dot.is-active {
  background: var(--ivory);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 640px) {
  .carousel {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 1.2rem 0.75rem;
    padding: 0 0.5rem;
  }
  .carousel__viewport { grid-column: 1 / -1; grid-row: 1; }
  .carousel__arrow--prev { grid-column: 1; grid-row: 2; }
  .carousel__dots { grid-column: 2; grid-row: 2; margin-top: 0; align-items: center; }
  .carousel__arrow--next { grid-column: 3; grid-row: 2; }
  .carousel__arrow { width: 40px; height: 40px; }
  .testimonial { min-height: 300px; padding: 0 0.25rem; }
}

/* Contact ------------------------------------------------- */
.section--contact { background: var(--cream); }
.contact__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
.contact-card {
  background: var(--ivory);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.75rem 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid var(--line);
  display: block;
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.contact-card__icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}
.contact-card h3 {
  color: var(--green);
  margin-bottom: .5rem;
  font-size: 1.3rem;
}
.contact-card__value {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--terracotta);
  font-style: italic;
  margin-bottom: .3rem;
}
.contact-card__hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.contact-card--whatsapp .contact-card__icon { color: #25D366; }
.contact-card--facebook .contact-card__icon { color: #0866FF; font-weight: 700; }

.contact__footer {
  text-align: center;
  margin-top: 3rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Footer -------------------------------------------------- */
.footer {
  background: var(--green-deep);
  color: var(--cream);
  padding: 3rem 0 2rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
.footer__brand {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
}
.footer__tag {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.footer__links { display: flex; gap: 2rem; }
.footer__links a {
  text-decoration: none;
  color: var(--cream);
  font-size: 0.9rem;
  transition: color .3s var(--ease);
}
.footer__links a:hover { color: var(--terracotta); }
.footer__copy {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.55;
}

/* WhatsApp floating button -------------------------------- */
.whatsapp-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 90;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: fabPulse 2.5s ease-in-out infinite;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.6);
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%      { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* Lightbox ------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
  z-index: 200;
  padding: 1rem;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.lightbox__close,
.lightbox__arrow {
  position: absolute;
  background: rgba(247, 243, 234, 0.12);
  color: var(--ivory);
  border: 1px solid rgba(247, 243, 234, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease);
}
.lightbox__close:hover,
.lightbox__arrow:hover { background: rgba(247, 243, 234, 0.25); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__arrow--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__arrow--next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Reveal on scroll --------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================
   Breakpoints
   ========================= */

@media (max-width: 767px) {
  .header__burger {
    display: flex;
    z-index: 102;
    position: relative;
  }
  .header__burger span {
    background: var(--ivory);
    box-shadow: 0 0 4px rgba(43, 43, 43, 0.3);
  }
  .header.scrolled .header__burger span { background: var(--ink); box-shadow: none; }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 360px);
    background: var(--ivory);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: calc(var(--header-h) + 1.5rem) 2rem 2.5rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    box-shadow: -20px 0 60px rgba(43, 43, 43, 0.25);
    z-index: 101;
    overflow-y: auto;
  }
  .header__nav.is-open { transform: none; }

  .header__nav a {
    color: var(--ink) !important;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }
  .header__nav a:not(.header__cta)::after { display: none; }

  .header__nav .header__cta {
    font-family: var(--sans);
    font-size: 1rem;
    background: var(--terracotta);
    color: var(--ivory) !important;
    text-align: center;
    margin-top: 1.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    border-bottom: 0;
  }

  /* dark overlay when menu open */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(43, 43, 43, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s var(--ease);
    z-index: 100;
  }
  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* burger → X */
  .header__burger.is-open span { background: var(--ink) !important; box-shadow: none; }
  .header__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header__burger.is-open span:nth-child(2) { opacity: 0; }
  .header__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* hide long number on mobile header logo to save space */
  .header__logo-sub { display: none; }
}

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
  .prestations { grid-template-columns: repeat(2, 1fr); }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery__item { aspect-ratio: auto; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }
  .contact__cards { grid-template-columns: repeat(3, 1fr); }

  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .prestations { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
  .gallery { grid-auto-rows: 260px; }
}

/* Reduced motion ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
