/* ===== Fonts ===== */
/* Montserrat hébergée sur le site (licence SIL OFL, voir assets/fonts/OFL.txt).
   Police variable : un seul fichier couvre les graisses 400 à 900.
   Aucun appel à Google Fonts, donc aucune IP de visiteur transmise à Google. */
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-italic-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-italic-latin-ext.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== Design tokens ===== */
:root {
  --cream: #f9f0eb;
  --cream-2: #f3e5df;
  --rose: #eda69d;
  --rose-soft: #eec6bd;
  --burgundy: #984755;
  --burgundy-d: #422027;
  --ink: #2a1e20;
  --white: #fafafa;
  --error: #b3261e;

  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Grille (identique au layout guide Figma) :
     ordinateur 1440px → 5 colonnes, marges 60px, gouttières 24px
     tablette ≤1024px → marges 40px, gouttières 20px
     mobile   ≤760px  → marges 20px, gouttières 16px */
  --wrap: 1440px;
  --cols: 5;
  --margin: 60px;
  --gutter: 24px;

  --header-h: 77px;
  --radius: 16px;
  --ease: cubic-bezier(0.3, 0.8, 0.3, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
address {
  font-style: normal;
}
[id] {
  scroll-margin-top: var(--header-h);
}

/* ===== Layout grid ===== */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--margin);
}
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--burgundy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ===== Typography ===== */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.eyebrow.center {
  text-align: center;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  font-family: var(--font-body);
  font-weight: 900;
  color: var(--burgundy-d);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.08;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-top: 10px;
}
.section-title.center {
  text-align: center;
}

.section-intro {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  margin-top: 22px;
}
.section-intro strong {
  color: var(--burgundy);
}

.section-lead {
  font-family: var(--font-body);
  color: var(--ink);
  opacity: 0.75;
  max-width: 560px;
  margin: 14px auto 0;
}
.section-lead.center {
  text-align: center;
}

h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(92, 46, 55, 0.28);
  border-color: rgba(142, 76, 86, 0.22);
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}
.btn-primary {
  background: var(--burgundy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--burgundy-d);
  color: var(--white);
}
.btn-outline {
  border-color: var(--burgundy);
  color: var(--burgundy);
}
.btn-outline:hover {
  background: var(--burgundy);
  color: var(--white);
}
.btn-light {
  background: var(--white);
  color: var(--burgundy-d);
}
.btn-light:hover {
  background: var(--rose-soft);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}
.btn-block {
  width: 100%;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
/* Blur lives on a pseudo-layer, not the header itself: backdrop-filter on the
   header would turn it into the containing block for position:fixed children
   (like .main-nav on mobile), breaking their viewport-relative positioning. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(152, 71, 85, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.brand-logo {
  height: 34px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 34px;
}
.main-nav a {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding: 96px 0;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  top: -16%;
  left: 0;
  width: 100%;
  height: 132%;
  object-fit: cover;
  will-change: transform;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 30, 32, 0.4) 0%,
    rgba(42, 30, 32, 0.12) 35%,
    rgba(251, 246, 242, 0.15) 80%,
    var(--ink) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}
.hero-inner .hero-kicker,
.hero-inner .hero-slogan,
.hero-inner .hero-lead {
  color: var(--white);
}
.hero-kicker {
  display: block;
}
/* Slogan en Montserrat Black, comme les autres titres */
.hero-slogan {
  display: block;
  margin-top: 18px;
  font-weight: 900;
  font-size: clamp(2.6rem, 7.6vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-lead {
  max-width: 720px;
  margin: 26px auto 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  opacity: 0.9;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 38px;
}

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--burgundy);
  color: var(--white);
}
.trust-inner {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.trust-inner li {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

/* ===== Sections ===== */
.section {
  padding: 108px 0;
}
.section--alt {
  background: var(--cream-2);
}

/* ===== 1. Qui sommes-nous ? ===== */
.about-text {
  grid-column: 1 / span 3;
}
.about-text > p + p {
  margin-top: 16px;
  opacity: 0.8;
}
/* La photo occupe toute la hauteur du bloc texte : son haut et son bas
   s'alignent sur le surtitre et sur les dernières cartes. */
.about-media {
  grid-column: 4 / span 2;
  position: relative;
  display: flex;
  flex-direction: column;
}
.about-media .media-block {
  flex: 1;
  aspect-ratio: auto;
  min-height: 420px;
}
.media-block {
  position: relative;
  background: var(--burgundy);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.media-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: calc(100% - 48px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--burgundy);
  color: var(--white);
}
.media-badge strong {
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  white-space: nowrap;
}
.media-badge span {
  font-size: 13px;
  line-height: 1.35;
}

.values-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
}
.values-list li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid rgba(142, 76, 86, 0.1);
}
.values-list h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.values-list p {
  font-size: 14.5px;
  opacity: 0.78;
  line-height: 1.6;
}

/* ===== 2. Nos services ===== */
.services-head {
  grid-column: 1 / span 2;
  align-self: start;
}
.services-head .btn {
  margin-top: 32px;
}
.services-list {
  grid-column: 3 / span 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
}
.service-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  border: 1px solid rgba(142, 76, 86, 0.1);
  transition:
    transform 0.8s var(--ease),
    box-shadow 0.8s var(--ease),
    border-color 0.8s var(--ease);
}
.service-item.reveal:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -20px rgba(92, 46, 55, 0.28);
  border-color: rgba(142, 76, 86, 0.22);
}
/* Icônes dessinées par l'équipe (sources dans assets/icons/) : le rond et
   le pictogramme prennent les couleurs de la charte via les classes. */
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
}
.service-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.service-icon .si-bg {
  fill: var(--burgundy);
}
.service-icon .si-fg {
  fill: var(--cream);
}
.service-item h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.service-item p {
  font-size: 14.5px;
  opacity: 0.78;
  line-height: 1.6;
}

/* ===== 3. Nos réalisations (carrousel) ===== */
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.carousel-controls {
  display: flex;
  gap: 10px;
}
.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--burgundy);
  background: transparent;
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.carousel-btn:hover {
  background: var(--burgundy);
  color: var(--white);
}
.carousel-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel-btn .icon-play {
  display: none;
}
.carousel-btn.is-paused .icon-pause {
  display: none;
}
.carousel-btn.is-paused .icon-play {
  display: block;
}
.carousel-btn.is-paused .icon-play path {
  fill: currentColor;
}

.carousel {
  margin-top: 48px;
}
.carousel-track {
  --per-view: 3;
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
/* Pendant l'animation ressort ou le glisser à la souris, le JS pilote la
   position : l'aimantation native reprendrait la main et ferait sauter les slides. */
.carousel-track.is-moving {
  scroll-snap-type: none;
}
@media (hover: hover) and (pointer: fine) {
  .carousel-track {
    cursor: grab;
  }
  .carousel-track.is-dragging {
    cursor: grabbing;
    user-select: none;
  }
}
.slide {
  flex: 0 0
    calc((100% - (var(--per-view) - 1) * var(--gutter)) / var(--per-view));
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  /* Teinte affichée le temps que la photo charge */
  background: var(--cream-2);
}
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

/* Invitation à laisser un avis Google, sous le carrousel */
.review-cta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  text-align: center;
}
.review-cta p {
  font-weight: 600;
}
.review-cta .btn {
  gap: 10px;
}
.review-star {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: var(--rose-soft);
  cursor: pointer;
  transition:
    width 0.4s var(--ease),
    background 0.4s var(--ease);
}
.carousel-dots button.is-active {
  width: 28px;
  background: var(--burgundy);
}

/* ===== 4. Votre projet ===== */
.process-grid {
  margin-top: 60px;
}
.process-step {
  padding-top: 10px;
}
.process-num {
  display: block;
  font-family: var(--font-body);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 2.8rem;
  color: var(--burgundy);
  line-height: 1;
  margin-bottom: 14px;
}
.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 14px;
  opacity: 0.75;
}

/* ===== 5. Contact ===== */
.contact {
  background: var(--burgundy-d);
  color: var(--white);
  padding: 110px 0;
}
.contact-text {
  grid-column: 1 / span 2;
  align-self: center;
}
.contact .eyebrow {
  color: var(--rose);
}
.contact-title {
  color: var(--white);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  margin-top: 14px;
  text-transform: uppercase;
}
.contact-lead {
  margin-top: 20px;
  opacity: 0.85;
}
.contact-direct {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-direct li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-icon {
  flex: none;
  display: grid;
  place-items: center;
  color: var(--rose-soft);
}
.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.contact-direct a,
.contact-direct address {
  font-weight: 600;
  font-size: 1.05rem;
}
.contact-direct a:hover {
  color: var(--rose);
}
/* Texte masqué à l'écran mais lu par les lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form {
  grid-column: 3 / span 3;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--burgundy-d);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(66, 32, 39, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
/* Pas de poignée de redimensionnement : elle ne peut pas être décalée et
   chevauche l'arrondi. Le champ s'agrandit seul pendant la saisie à la
   place (field-sizing), sinon il défile. */
.field textarea {
  resize: none;
  field-sizing: content;
  min-height: 130px;
  max-height: 360px;
}
/* Flèche du menu déroulant redessinée : la flèche native du navigateur
   est collée au bord et ne respecte pas le padding. */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23984755' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(237, 166, 157, 0.45);
}
.field.has-error input,
.field.has-error textarea {
  border-color: var(--error);
}
.field-error {
  font-size: 12.5px;
  color: var(--error);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-legal {
  font-size: 12.5px;
  line-height: 1.55;
  opacity: 0.7;
}
.form-legal a {
  text-decoration: underline;
}
.form-status:empty {
  display: none;
}
.form-status {
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--cream-2);
  color: var(--burgundy-d);
}
.form-status.is-error {
  background: #fbe9e7;
  color: var(--error);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--burgundy);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 64px;
  font-size: 13.5px;
}
.footer-inner {
  row-gap: 40px;
  padding-bottom: 48px;
}
.footer-brand {
  grid-column: 1 / span 2;
}
.footer-logo {
  height: 28px;
  opacity: 0.9;
  margin-bottom: 16px;
}
.footer-brand p {
  line-height: 1.6;
  max-width: 340px;
  opacity: 0.8;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-col a {
  opacity: 0.85;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--rose-soft);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: 12.5px;
}
.footer-bottom p {
  opacity: 0.6;
}

/* ===== Legal pages ===== */
.legal {
  padding: 80px 0 110px;
}
.legal-inner {
  max-width: 820px;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-top: 10px;
}
.legal .legal-updated {
  margin-top: 12px;
  font-size: 13.5px;
  opacity: 0.65;
}
.legal h2 {
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 48px 0 14px;
}
.legal h3 {
  font-size: 1rem;
  margin: 26px 0 8px;
}
.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.7;
}
.legal p + p {
  margin-top: 12px;
}
.legal ul {
  margin: 10px 0;
  padding-left: 20px;
  list-style: disc;
}
.legal li + li {
  margin-top: 6px;
}
.legal a {
  color: var(--burgundy);
  text-decoration: underline;
}
.legal mark {
  background: var(--rose-soft);
  color: var(--burgundy-d);
  padding: 0 4px;
  border-radius: 4px;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Responsive ===== */

/* Menu burger : sous 1200px, les 5 liens + le bouton devis ne tiennent plus sur une ligne */
@media (max-width: 1200px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--cream);
    z-index: 90;
    box-shadow: 0 12px 24px -8px rgba(42, 30, 32, 0.18);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px var(--margin) 32px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease);
  }
  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .main-nav a {
    width: 100%;
    padding: 16px 0;
    font-size: 13.5px;
    color: var(--burgundy-d);
    border-bottom: 1px solid rgba(142, 76, 86, 0.1);
  }
  .nav-toggle {
    display: flex;
  }
}

/* Tablette paysage */
@media (max-width: 1024px) {
  :root {
    --margin: 40px;
    --gutter: 20px;
  }
  .services-list {
    grid-template-columns: 1fr;
  }
  .carousel-track {
    --per-view: 2;
  }
  /* 5 étapes côte à côte deviennent trop étroites : on passe en liste */
  .process-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .process-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 20px;
  }
  .process-num {
    grid-row: span 2;
    font-size: 2.4rem;
  }
  .contact-form {
    padding: 32px;
  }
  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Tablette portrait : les blocs côte à côte passent l'un sous l'autre */
@media (max-width: 900px) {
  .about-text,
  .about-media,
  .services-head,
  .services-list,
  .contact-text,
  .contact-form {
    grid-column: 1 / -1;
  }
  .about-media {
    margin-top: 48px;
  }
  .media-block,
  .about-media .media-block {
    flex: none;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .services-head {
    margin-bottom: 48px;
  }
  .services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-form {
    margin-top: 48px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  :root {
    --margin: 20px;
    --gutter: 16px;
    --header-h: 68px;
  }
  .header-actions .btn-sm {
    display: none;
  }
  .hero {
    min-height: 70vh;
    padding: 64px 0;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .trust-inner {
    flex-direction: column;
    gap: 14px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .section {
    padding: 76px 0;
  }
  .values-list,
  .services-list,
  .form-row {
    grid-template-columns: 1fr;
  }
  .media-block,
  .about-media .media-block {
    aspect-ratio: 4 / 3;
  }
  .media-badge {
    left: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 12px 16px;
  }
  .media-badge strong {
    font-size: 1.6rem;
  }
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .carousel {
    margin-top: 32px;
  }
  .carousel-track {
    --per-view: 1.15;
  }
  .contact {
    padding: 76px 0;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
