﻿/* ============================================================
   NOKTALIA — Déco d'intérieur
   Palette : bordeaux #861733 · ambre #f7b662
   ============================================================ */

:root {
  --burgundy: #861733;
  --burgundy-dark: #6c1029;
  --amber: #f7b662;
  --amber-soft: #fbd9a6;
  --cream: #fbf7f2;
  --cream-2: #f3ebe1;
  --ink: #2b2326;
  --muted: #6f6168;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -22px rgba(70, 12, 28, .35);
  --shadow-soft: 0 10px 30px -18px rgba(70, 12, 28, .35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1180px;
  --serif: "Caveat", "Segoe Script", cursive;
  --sans: "Montserrat", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Typography helpers ---------- */
.section__kicker {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: .98;
  color: var(--burgundy);
  letter-spacing: .5px;
}

.section__head { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.section__intro { color: var(--muted); margin-top: 1.2rem; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .95rem 2rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn--amber { background: var(--amber); color: var(--burgundy-dark); }
.btn--amber:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(247,182,98,.7); }
.btn--burgundy { background: var(--burgundy); color: var(--white); }
.btn--burgundy:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.btn--block { width: 100%; }
.btn--upper { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; padding: .65rem 1.4rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.6rem; font-weight: 500; color: var(--burgundy);
  letter-spacing: .02em;
}
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  pointer-events: none; /* zone transparente sous la vague non bloquante */
  background-image: url('../img/header-band.webp');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  height: 168px;
  transition: height .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.header__inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 112px; /* contenu au-dessus de la vague du bandeau */
}
.header__logo img {
  height: 150px;
  width: auto;
  transition: height .4s var(--ease), margin-top .4s var(--ease);
  margin-top: 37px;
}

.header.scrolled {
  background-image: none;
  background-color: var(--burgundy);
  height: 64px;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.6);
}
.header.scrolled .header__inner { height: 64px; }
.header.scrolled .header__logo img { height: 44px; margin-top: 0; }

.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav__link {
  position: relative; color: var(--white); font-size: .92rem; font-weight: 400;
  letter-spacing: .04em; opacity: .92;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--amber); transition: width .35s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
  background: var(--amber); color: var(--burgundy-dark); opacity: 1;
  padding: .55rem 1.3rem; border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(247,182,98,.7); }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 22px; position: relative; }
.burger span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--white); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.burger span:nth-child(1){ top: 0; }
.burger span:nth-child(2){ top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3){ bottom: 0; }
.burger.open span:nth-child(1){ top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(108,16,41,.18) 0%, rgba(108,16,41,0) 30%, rgba(108,16,41,.08) 100%);
}

/* ============================================================
   INTRO / BULLE
   ============================================================ */
.intro { background: var(--cream); padding: 0 0; text-align: center; }

/* La bulle ambre : bande pleine largeur qui fait la transition photo -> crème
   et porte la tagline + le texte de présentation */
.intro__bulle {
  position: relative;
  width: 100%;
  min-height: clamp(480px, 46vw, 620px);
  margin: -16% 0 0;
  background: url('../img/bulle.webp') center center / 110% 100% no-repeat;
  display: grid; place-items: center;
}
.intro__inner {
  width: 80vw;
  max-width: 80vw;
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
}
.intro__bulle--narrow .intro__inner { width: 60vw; max-width: 60vw; }

@media (max-width: 900px) {
  .intro__bulle {
    margin-top: -32px;
    background-image: none;
    background-color: var(--amber);
    clip-path: polygon(
      0% 14px, 10% 21px, 20% 25px, 30% 25px, 40% 21px, 50% 14px, 60% 7px, 70% 3px, 80% 3px, 90% 7px, 100% 14px,
      100% calc(100% - 26px), 90% calc(100% - 24px), 80% calc(100% - 18px), 70% calc(100% - 10px), 60% calc(100% - 4px), 50% calc(100% - 2px), 40% calc(100% - 4px), 30% calc(100% - 10px), 20% calc(100% - 18px), 10% calc(100% - 24px), 0% calc(100% - 26px)
    );
  }
}
.intro__tagline {
  font-family: var(--serif); font-weight: 500;
  color: var(--burgundy);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.02;
  margin-bottom: 1.6rem;
}
.intro__inner p:not(.intro__tagline) {
  /*color: var(--burgundy-dark);*/
  margin-bottom: 1rem;
  font-size: 1.02rem;
  font-weight: 400;
}

/* Page Contact : bulle avec peu de texte, agrandi pour rester harmonieux dans l'espace disponible */
.intro--contact .intro__tagline { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.intro--contact .intro__inner p:not(.intro__tagline) { font-size: 1.3rem; line-height: 1.6; }

/* ============================================================
   PRESTATIONS
   ============================================================ */
.prestations { padding: 1.4rem 0 3rem; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.prestations--last { padding-top: 3rem; padding-bottom: 10rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); gap: 4.5rem; max-width: 880px; margin-inline: auto; }
.card {
  position: relative;
  text-align: center;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-8px); }
/* Lien plein-format invisible : toute la card est cliquable, sans changer le balisage sémantique */
.card__link { position: absolute; inset: 0; z-index: 2; }

/* Image en arche (haut arrondi) comme la maquette */
.card__media {
  aspect-ratio: 3 / 5;
  background-size: cover; background-position: center;
  border-radius: 50% 50% 6px 6px / 34% 34% 6px 6px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow .4s var(--ease);
}
.card:hover .card__media { box-shadow: var(--shadow); }

/* Bandeau titre bordeaux */
.card__label {
  position: relative;
  background: var(--burgundy); color: var(--white);
  font-family: var(--sans); font-weight: 500;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .7rem .6rem;
  box-shadow: var(--shadow-soft);
}
.card__desc { color: var(--muted); font-size: .9rem; margin-top: 1rem; padding: 0 .4rem; }

/* ============================================================
   PAGE PRESTATION — début de page (détail à venir page par page)
   Réutilise tel quel le système de la page d'accueil : .hero (photo) + .intro/.intro__bulle
   (bloc ambre). Seul ajout : le titre en surimpression sur la photo.
   ============================================================ */
.prestation-banner__title {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 6%; pointer-events: none;
}
.prestation-banner__title h1 {
  font-family: var(--sans); font-weight: 400; text-transform: uppercase;
  letter-spacing: .3em; color: var(--burgundy);
  font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1.15;
}
.prestation-banner__rule { display: block; width: 440px; height: 4px; margin-top: 1.4rem; background: var(--burgundy); }

/* Bloc "Visite conseil" — 1re section de détail, juste sous le bloc ambre */
.prestation-visit { padding: 1rem 0 5rem; background: var(--cream); }
.prestation-visit__head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.prestation-visit__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: stretch; }

.prestation-visit__media { position: relative; }
.prestation-visit__media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50% 50% 6px 6px / 14rem 14rem 6px 6px; box-shadow: var(--shadow);
}
.prestation-visit__label {
  position: absolute; left: .9rem; bottom: 2rem;
  transform: rotate(-90deg); transform-origin: left bottom;
  font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 600;
  color: var(--burgundy); white-space: nowrap;
}

.prestation-visit__subtitle {
  font-family: var(--serif); font-weight: 500; color: #e08e3a;
  font-size: clamp(1.7rem, 2.9vw, 2.2rem); margin-bottom: 1.2rem;
}

.prestation-steps { list-style: none; }
.prestation-steps li {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: 1rem;
  padding: 1.1rem 0; border-top: 1px solid var(--cream-2);
}
.prestation-steps li:first-child { border-top: none; padding-top: 0; }
.prestation-steps__num { font-family: var(--sans); font-weight: 700; font-size: 1.5rem; color: var(--burgundy); line-height: 1; }
.prestation-steps h3 {
  font-size: .88rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700;
  color: var(--burgundy); margin-bottom: .35rem;
}
.prestation-steps p { color: var(--muted); font-size: 1.02rem; }
.prestation-visit .btn { display: flex; width: fit-content; margin: 1.8rem auto 0; }

@media (max-width: 900px) {
  .prestation-visit__grid { grid-template-columns: 1fr; gap: 2rem; }
  .prestation-visit__media img { aspect-ratio: 16 / 10; border-radius: var(--radius); }
  .prestation-visit__label { display: none; }
}

/* ============================================================
   Blocs "Projet" — capsule titre pleine largeur + arche photo à droite (ou gauche),
   texte centré dans la zone disponible, une bande par type d'espace
   ============================================================ */
.project-band { padding: 4rem 0; }

.project-band__card { position: relative; padding-bottom: 1.5rem; }
.project-band__card:has(.project-band__inner--full) { padding-bottom: 0; }

.project-band__header {
  position: relative; z-index: 1;
  width: 100%; border-radius: 999px;
  padding: .7rem 3rem .6rem;
  text-align: center; color: var(--white);
}
.project-band--amber .project-band__header { background: var(--amber); }
.project-band--burgundy .project-band__header { background: var(--burgundy); }

.project-band__header-inner { width: calc(100% - 34% - 5rem); text-align: center; margin-right: auto; }
.project-band__header--reverse .project-band__header-inner { margin-right: 0; margin-left: auto; }

.project-band__kicker {
  display: block; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  font-weight: 600; opacity: .85; margin-bottom: 0;
}
.project-band__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.1; margin: 0; }

.project-band__grid { padding: 0 3rem; }

.project-band__media {
  position: absolute; z-index: 2; top: -3rem; bottom: 0; width: 34%;
}
.project-band__grid:not(.project-band__grid--reverse) .project-band__media { right: 3rem; }
.project-band__grid--reverse .project-band__media { left: 3rem; }

.project-band__media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50% 50% 6px 6px / 11rem 11rem 6px 6px; box-shadow: var(--shadow);
}
.project-band__label {
  position: absolute; left: .9rem; bottom: 1.6rem;
  transform: rotate(-90deg); transform-origin: left bottom;
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600;
  color: var(--white); white-space: nowrap;
}

.project-band__content { padding-top: 1.8rem; color: var(--ink); text-align: center; }
.project-band__content--details { padding-top: 0; }
.project-band__grid:not(.project-band__grid--reverse) .project-band__content { width: calc(100% - 34% - 5rem); margin-right: auto; }
.project-band__grid--reverse .project-band__content { width: calc(100% - 34% - 5rem); margin-left: auto; }

.project-band__text { margin-bottom: 1.3rem; font-size: 1.05rem; }
.project-band__subtitle { font-family: var(--serif); font-weight: 500; color: #e08e3a; font-size: clamp(1.7rem, 2.9vw, 2.2rem); margin-bottom: 1.2rem; }
.project-band__list { list-style: none; display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.project-band__list li { font-size: 1.02rem; }
.project-band__list li::before {
  content: "\25C6"; display: inline-block; color: var(--burgundy);
  font-size: .6rem; margin-right: .4rem; vertical-align: middle;
}

.project-band .btn { margin-top: .2rem; }

/* Variante sans image (Aménagement global, Agence Immobilière) */
.project-band__inner--full { padding-top: 1.8rem; max-width: 860px; margin: 0 auto; text-align: center; color: var(--ink); }
.project-band__inner--full .project-band__text { max-width: 1040px; margin-left: -90px; margin-right: -90px; }

/* Grille 3 colonnes "fonctionnalités" (Agence Immobilière) */
.project-band__features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin: 2rem 0; text-align: left;
}
.project-band__feature { padding: 0 1.8rem; text-align: center; }
.project-band__feature:first-child { padding-left: 0; }
.project-band__feature:last-child { padding-right: 0; }
.project-band__feature + .project-band__feature { border-left: 3px solid var(--amber); }
.project-band__feature h4 {
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  color: var(--burgundy); margin-bottom: .5rem;
}
.project-band__feature p { font-size: .92rem; color: var(--muted); }

@media (max-width: 700px) {
  .project-band__features { grid-template-columns: 1fr; gap: 1.4rem; }
  .project-band__feature { padding: 0; border-left: none; }
}

/* ============================================================
   PAGE SERVICES — blocs "Covering" / "Montage de meuble"
   ============================================================ */
.service-block { padding: 3rem 0; }
.service-block .section__head { max-width: 760px; }

.service-block__banner {
  background: var(--amber); color: var(--white);
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  text-align: center; border-radius: 999px; padding: .1rem 2rem;
  max-width: 1180px; margin: 0 auto 2rem;
}

.service-block__steps { max-width: 1180px; margin: 0 auto 2.5rem; padding: 0 5rem; }
.service-block__steps .prestation-steps__num { font-family: var(--serif); font-weight: 600; font-size: 2rem; }
.service-block__steps li { border-top-width: 2px; border-top-color: #861733; }

.service-block__media { position: relative; max-width: 1180px; margin: 0 auto; }
.service-block__media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.service-block__tag {
  position: absolute; top: 1rem; transform: translateX(-50%);
  background: var(--cream); color: var(--ink); font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .4rem 1.1rem;
  border-radius: 999px; box-shadow: var(--shadow-soft);
}
.service-block__tag--before { left: 25%; }
.service-block__tag--after { left: 75%; }

.service-block__cta {
  display: flex; width: fit-content; margin: -1.7rem auto 2rem;
  position: relative; z-index: 2;
}

.service-divider { border: 0; border-top: 1px solid var(--cream-2); max-width: 900px; margin: 0 auto; }

@media (max-width: 540px) {
  .service-block__tag--before { left: 28%; }
  .service-block__tag--after { left: 72%; }
}

/* ============================================================
   PAGE À LA CARTE — liste de prestations + "Comment ça se passe"
   ============================================================ */
.carte-list { padding: 3rem 0 1rem; }

.carte-item {
  display: flex; align-items: center; gap: 1.6rem;
  background: var(--cream-2); border-radius: 999px;
  padding: 1.2rem; margin-bottom: 3rem;
}
.carte-item__icon {
  flex: 0 0 auto; width: 130px; height: 130px; border-radius: 50%;
  background: var(--amber); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.carte-item__icon img { width: 58%; height: 58%; object-fit: contain; }
.carte-item__icon svg { width: 50%; height: 50%; color: var(--burgundy-dark); }
.carte-item__text { flex: 1 1 auto; min-width: 0; }
.carte-item__title { font-family: var(--serif); font-weight: 500; color: var(--burgundy); font-size: 2.2rem; margin-bottom: .35rem; }
.carte-item__desc { font-size: 1.05rem; color: var(--ink); line-height: 1.5; }
.carte-item__media {
  flex: 0 0 auto; width: 260px; height: 130px; border-radius: 999px; overflow: hidden;
}
.carte-item__media img { width: 100%; height: 100%; object-fit: cover; }

.carte-outro { padding: 4rem 0; text-align: center; background: var(--cream-2); }
.carte-outro__title {
  font-family: var(--serif); font-weight: 500; color: var(--burgundy);
  font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: 1.2rem;
}
.carte-outro__text { color: var(--ink); font-size: 1.08rem; max-width: 520px; margin: 0 auto 1.8rem; }

@media (max-width: 760px) {
  .carte-item { flex-wrap: wrap; border-radius: var(--radius); text-align: center; }
  .carte-item__icon { margin: 0 auto; }
  .carte-item__media { width: 100%; height: 180px; border-radius: var(--radius); order: 3; }
}

@media (max-width: 900px) {
  .project-band__media { position: relative; top: 0; left: 0 !important; right: 0 !important; width: 100%; margin: 0 0 1.4rem; }
  .project-band__media img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .project-band__grid:not(.project-band__grid--reverse) .project-band__content,
  .project-band__grid--reverse .project-band__content { width: 100%; margin: 0; }
  .project-band__label { display: none; }
  .project-band__header-inner { width: 100%; margin: 0; }
}

/* Section "Découvrir les autres prestations" en bas de chaque page de détail — 3 cards
   (celle en cours exclue), même padding-bottom que .realisations pour laisser la place à la
   vague du footer qui chevauche par-dessus. */
.prestations-related { padding: 3rem 0 10.5rem; }

/* ============================================================
   PAGE CONTACT
   ============================================================ */
.contact-details { padding: 4.5rem 0; background: var(--cream); text-align: center; }
.contact-details__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-bottom: 3rem;
}
.contact-details__card { background: var(--cream-2); border-radius: var(--radius-lg); padding: 2rem 1.2rem; }
.contact-details__label {
  display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--burgundy); margin-bottom: .7rem; font-weight: 500;
}
.contact-details__value { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); transition: color .3s; }
.contact-details__value:hover { color: var(--burgundy); }
.contact-details__social { display: flex; justify-content: center; gap: .9rem; }
.contact-details__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--burgundy); color: var(--amber);
  transition: transform .3s var(--ease), background .3s;
}
.contact-details__social a:hover { background: var(--burgundy-dark); transform: translateY(-3px); }

@media (max-width: 900px) { .contact-details__grid { grid-template-columns: 1fr; } }

/* ---------- Formulaire de contact ---------- */
.contact-form { padding: 0 0 11rem; background: var(--cream); }
.contact-form__head { max-width: 560px; margin: 0 auto 2.6rem; text-align: center; }

.contact-form__form { max-width: 720px; margin: 0 auto; }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 1.4rem; }
.contact-form__field { display: flex; flex-direction: column; gap: .5rem; }
.contact-form__field--full { grid-column: 1 / -1; }

.contact-form label {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--burgundy); font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%; border: 1.5px solid var(--cream-2); background: var(--white);
  border-radius: var(--radius); padding: .85rem 1.1rem;
  font-family: var(--sans); font-size: .96rem; color: var(--ink);
  transition: border-color .3s;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--amber);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-form__type { display: flex; justify-content: center; gap: 1rem; }
.contact-form__type input { position: absolute; opacity: 0; width: 0; height: 0; }
.contact-form__type span {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.6rem; border-radius: 999px; border: 1.5px solid var(--cream-2);
  background: var(--white); color: var(--ink); font-size: .92rem; cursor: pointer;
  transition: background .3s, border-color .3s, color .3s;
}
.contact-form__type input:checked + span {
  background: var(--burgundy); border-color: var(--burgundy); color: var(--white);
}

.contact-form__submit { display: flex; width: fit-content; margin: .6rem auto 0; }

@media (max-width: 620px) {
  .contact-form__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.realisations { padding: 3rem 0 12rem; background: var(--cream-2); }
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 290px; gap: 1.4rem;
}
.gallery__item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* Tuiles d'aperçu (dégradés de marque). Remplacez par background-image: url(...) */
.gallery__item[data-tone="1"]{ background-image: linear-gradient(150deg, #9a2240, #6c1029); }
.gallery__item[data-tone="2"]{ background-image: linear-gradient(150deg, #f7b662, #e08a3c); }
.gallery__item[data-tone="3"]{ background-image: linear-gradient(150deg, #b8506a, #861733); }
.gallery__item[data-tone="4"]{ background-image: linear-gradient(150deg, #6c1029, #b8506a); }

.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(40,8,18,.75));
  opacity: .85; transition: opacity .4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.4rem;
  color: var(--white); transform: translateY(8px); transition: transform .4s var(--ease);
}
.gallery__item:hover figcaption { transform: translateY(0); }
.gallery__item figcaption span {
  display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: .25rem;
}
.gallery__item figcaption strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.gallery__item:hover { transform: translateY(-4px); transition: transform .4s var(--ease); }
.gallery__link { position: absolute; inset: 0; z-index: 3; }

/* ============================================================
   PAGE RÉALISATIONS — étude de cas éditoriale
   ============================================================ */
.rea-story { padding: 5.5rem 0; }
.rea-story:nth-of-type(odd) { background: var(--cream); }
.rea-story:nth-of-type(even) { background: var(--cream-2); }

.rea-story__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas: "media heading" "media text" "media strip";
  column-gap: 4rem;
}
.rea-story--reverse .rea-story__inner {
  grid-template-areas: "heading media" "text media" "strip media";
}

.rea-story__media { grid-area: media; align-self: stretch; min-width: 0; }
.rea-story__heading { grid-area: heading; }
.rea-story__text-row { grid-area: text; }
.rea-story__strip { grid-area: strip; }

.rea-story__frame {
  position: relative; height: 100%; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); perspective: 1400px;
}
.rea-story__frame-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .7s var(--ease);
}
.rea-story__frame:hover .rea-story__frame-inner { transform: rotateY(180deg); }
.rea-story__face {
  position: absolute; inset: 0; backface-visibility: hidden;
  background-size: cover; background-position: center;
}
.rea-story__face--back { transform: rotateY(180deg); }
.rea-story__hint {
  position: absolute; right: 1.2rem; bottom: 1.2rem; z-index: 2;
  background: rgba(43,35,38,.55); color: var(--white);
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .5rem 1rem; border-radius: 999px; pointer-events: none;
  backdrop-filter: blur(2px);
}

.rea-story__inner { text-align: left; }
.rea-story__heading .section__kicker { margin-bottom: .6rem; }
.rea-story__heading .section__title { margin-bottom: 1.2rem; }

.rea-story__text-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.8rem; }
.rea-story__text { color: var(--muted); font-size: 1.05rem; flex: 1; }
.rea-story__palette { display: flex; flex-direction: column; gap: .7rem; flex-shrink: 0; }
.rea-story__swatch {
  width: 30px; height: 30px; border-radius: 50%;
  box-shadow: var(--shadow-soft), inset 0 0 0 2px rgba(255,255,255,.6);
}

.rea-story__strip { display: flex; gap: 1rem; }
.rea-story__thumb {
  flex: 1; aspect-ratio: 1 / 1; min-width: 0; border-radius: var(--radius);
  background-size: cover; background-position: center; box-shadow: var(--shadow-soft);
}

@media (max-width: 900px) {
  .rea-story { padding: 3.5rem 0; }
  .rea-story__inner, .rea-story--reverse .rea-story__inner {
    display: flex; flex-direction: column; gap: 2.2rem; text-align: center;
  }
  .rea-story__media { width: 100%; align-self: stretch; }
  .rea-story__frame { height: auto; aspect-ratio: 4 / 3; }
  .rea-story__text-row { flex-wrap: wrap; justify-content: center; }
  .rea-story__strip { justify-content: center; flex-wrap: wrap; }
}

/* ============================================================
   FOOTER
   ============================================================ */
/* #871733 = bordeaux exact de header-band.webp (1 unité de plus que --burgundy) : évite une
   ligne de démarcation là où la vague chevauche le fond */
.footer { position: relative; background: #871733; color: rgba(255,255,255,.85); padding: .2rem 0 1rem; }
.footer__wave {
  position: absolute; top: 0; left: 0; right: 0; height: 168px; /* mêmes proportions que le header */
  transform: translateY(-55%) scaleY(-1);
  background-image: url('../img/header-band.webp');
  background-repeat: no-repeat; background-position: center top; background-size: 100% 100%;
}
.footer__inner {
  position: relative; /* au-dessus de la partie pleine de la vague qui chevauche le haut du footer */
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1.8rem; padding-inline: 1.5rem;
  margin-top: -18px; /* remonte le contenu sur la zone pleine de la vague (attention au creux droit) */
  margin-bottom: 10px;
}
.footer__mark img { height: 74px; width: auto; }
.footer__social { display: flex; gap: .9rem; align-self: center; }
.footer__social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); color: var(--amber);
  transition: transform .3s var(--ease), color .3s;
}
.footer__social-link:hover { transform: translateY(-3px); color: var(--burgundy-dark); }
.footer__contact { text-align: center; line-height: 1.45; }
.footer__name { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--white); line-height: 1.1; }
.footer__role { font-size: .82rem; letter-spacing: .04em; opacity: .85; margin-bottom: .45rem; }
.footer__coords { font-weight: 500; font-size: .95rem; }
.footer__coords a:hover { color: var(--amber); }
.footer__legal { font-size: .8rem; opacity: .75; margin-top: .4rem; }
.footer__legal a:hover { color: var(--amber); }
.footer__copy { font-size: .75rem; opacity: .6; margin-top: .3rem; }

@media (max-width: 900px) {
  .footer__inner { justify-content: center; column-gap: 6rem; }
  .footer__contact { width: 100%; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.cards .card:nth-child(2){ transition-delay: .08s; }
.cards .card:nth-child(3){ transition-delay: .16s; }
.cards .card:nth-child(4){ transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Mode "vertical" du logo déclenché tôt */
@media (max-width: 1100px) {
  .header { height: 124px; }
  .header__inner { height: 86px; }
  .header__logo { margin-left: .5rem; }
  .header__logo img { height: 84px; margin-top: 6px; }
  .footer__wave { height: 124px; }
  .realisations { padding-bottom: 9.5rem; }
  .prestations-related { padding-bottom: 11.5rem; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: 1fr; max-width: 420px; gap: 2.5rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item[data-tone="3"] { grid-column: span 2; }

  .prestation-visit { padding-top: 5.5rem; }
  .service-block:first-of-type { padding-top: 7.5rem; }
  .carte-list { padding-top: 7.5rem; }

  .hero { aspect-ratio: 4 / 5; }
  .prestation-banner__title h1 { font-size: clamp(1rem, 5vw, 1.9rem); letter-spacing: .05em; }
  .prestation-banner__rule { width: 70%; max-width: 320px; }

  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--burgundy); flex-direction: column; justify-content: center;
    gap: 2rem; transform: translateX(100%); transition: transform .45s var(--ease);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.7); padding: 2rem;
  }
  .nav.open { transform: translateX(0); }

