/* ==========================================================================
   Morgane Lajoux — Wedding Planner
   Charte : bordeaux, terracotta, vert olive, marron, crème, beige, bleu ciel
   Typo   : Noto Serif Display (titres), Pinyon Script (accents), Hanken Grotesk (texte)
   ========================================================================== */

:root {
  --bordeaux: #54100A;
  --terracotta: #963417;
  --olive: #646B38;
  --marron: #321912;
  --creme: #FFFDD5;
  --beige: #FFFCED;
  --ciel: #BDD3E7;

  --serif: "Noto Serif Display", "Times New Roman", serif;
  --script: "Pinyon Script", cursive;
  --sans: "Hanken Grotesk", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--marron);
  font: 300 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--terracotta); color: var(--creme); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 1rem; z-index: 100; background: var(--creme); padding: .5rem 1rem; }
.skip:focus { left: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

/* Grain papier, comme les supports imprimés de la charte */
.texture { position: relative; isolation: isolate; }
.texture::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .22; mix-blend-mode: multiply;
}

/* ---------- Typographie ---------- */
.script { font-family: var(--script); font-weight: 400; font-style: normal; letter-spacing: 0; }
em.script { font-size: 1.12em; line-height: .8; }

.eyebrow {
  font: 400 .8rem/1 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex; align-items: center; gap: .9rem;
  margin-bottom: 1.6rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--creme); }

.h2 {
  font: 400 clamp(2.3rem, 4.6vw, 4rem)/1.05 var(--serif);
  font-stretch: 78%;
  color: var(--bordeaux);
  margin-bottom: 1.6rem;
  text-wrap: balance;
}
.h2 em.script { color: var(--terracotta); }

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05rem 2rem; border-radius: 999px; border: 1px solid transparent;
  font: 400 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--creme { background: var(--creme); color: var(--bordeaux); }
.btn--creme:hover { background: var(--beige); }
.btn--bordeaux { background: var(--bordeaux); color: var(--creme); }
.btn--bordeaux:hover { background: var(--terracotta); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font: 400 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--bordeaux);
  padding-block: .4rem; border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.link-arrow--light { color: var(--creme); }

.ill { display: block; color: currentColor; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--creme);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.header__inner {
  max-width: var(--container); margin-inline: auto; padding: 1.1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.header.is-scrolled { background: rgba(255, 252, 237, .94); color: var(--bordeaux); box-shadow: 0 1px 0 rgba(84, 16, 10, .1); backdrop-filter: blur(8px); }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand__mono { width: 56px; height: 36px; }
.brand__name { font: 400 1.35rem/1 var(--serif); font-stretch: 80%; letter-spacing: .01em; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font: 400 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; position: relative; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { border: 1px solid currentColor; border-radius: 999px; padding: .8rem 1.3rem; transition: background .3s, color .3s; }
.nav__cta:hover { background: var(--creme); color: var(--bordeaux); }
.header.is-scrolled .nav__cta:hover { background: var(--bordeaux); color: var(--creme); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--bordeaux); color: var(--creme);
  min-height: 100svh; display: flex; align-items: center;
  padding-block: 8rem 5rem; overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero__title {
  font: 400 clamp(2.8rem, 6.4vw, 5.9rem)/1 var(--serif);
  font-stretch: 72%;
  letter-spacing: -.005em;
  text-wrap: balance;
  margin-bottom: 2rem;
}
.hero__title .script { font-size: 1.25em; display: inline-block; transform: translateY(.06em); }
.hero__lead { max-width: 33rem; font-size: 1.12rem; opacity: .88; margin-bottom: 2.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.2rem; }

.hero__collage { position: relative; aspect-ratio: 5 / 5.6; max-width: 560px; justify-self: end; width: 100%; }
.paper { position: absolute; margin: 0; box-shadow: 0 30px 60px -25px rgba(20, 4, 2, .7); transition: transform .8s var(--ease); }
.paper img { width: 100%; height: 100%; object-fit: cover; }
.paper--roses { inset: 0 18% 22% 6%; transform: rotate(-2deg); }
.paper--chateau { width: 44%; aspect-ratio: 1; right: 0; top: 34%; transform: rotate(3deg); border: 10px solid var(--beige); }
.paper--olive {
  width: 36%; aspect-ratio: 3 / 4; left: 0; bottom: 0; transform: rotate(-4deg);
  background: var(--olive); color: var(--creme);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1rem;
}
.paper--olive .ill { width: 82%; height: auto; aspect-ratio: 200 / 115; }
.paper--olive span { font: 400 .95rem/1 var(--serif); font-stretch: 80%; margin-top: .4rem; }
.paper--note {
  width: 46%; right: 4%; top: -2%; transform: rotate(2.5deg);
  background: var(--creme); color: var(--bordeaux); padding: 1rem 1.2rem 1.3rem;
}
.paper__meta { display: flex; justify-content: space-between; gap: .6rem; white-space: nowrap; font: 400 clamp(.62rem, .9vw, .8rem)/1 var(--serif); font-stretch: 80%; margin-bottom: .9rem; }
.paper--note .script { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.05; }
.hero__collage:hover .paper--roses { transform: rotate(-1deg) translateY(-4px); }
.hero__collage:hover .paper--chateau { transform: rotate(5deg) translateX(6px); }
.hero__collage:hover .paper--olive { transform: rotate(-6deg) translateX(-6px); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  font: 400 .7rem/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; opacity: .6;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
.hero__scroll::after { content: ""; width: 1px; height: 36px; background: currentColor; animation: scrollLine 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Bandeau défilant ---------- */
.ribbon { background: var(--terracotta); color: var(--creme); overflow: hidden; padding-block: 1.1rem; }
.ribbon__track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.ribbon span { font: italic 400 1.35rem/1 var(--serif); font-stretch: 80%; white-space: nowrap; }
.ribbon i { font-style: normal; font-size: .8rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifeste ---------- */
.manifesto__inner { max-width: 980px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.manifesto__ill { width: 120px; height: 112px; color: var(--terracotta); margin-bottom: 2.5rem; }
.manifesto__quote {
  font: 400 clamp(1.6rem, 3.2vw, 2.6rem)/1.3 var(--serif); font-stretch: 85%;
  color: var(--bordeaux); text-wrap: balance;
}
.manifesto__quote .script { display: block; color: var(--terracotta); font-size: 1.5em; margin-top: 1.4rem; line-height: 1; }

/* ---------- À propos ---------- */
.about { background: var(--terracotta); color: var(--creme); overflow: hidden; }
.about__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.about .h2 { color: var(--creme); }
.about .h2 em.script { color: var(--creme); }
.about__text p:not(.eyebrow):not(.about__sign) { margin-bottom: 1.2rem; opacity: .92; max-width: 34rem; }

.about__stamps { position: relative; display: flex; justify-content: flex-start; align-items: center; min-height: 540px; }
.stamp-wrap { filter: drop-shadow(0 22px 30px rgba(50, 25, 18, .35)); position: relative; }
.stamp-wrap--photo { width: min(340px, 66%); transform: rotate(-3deg); z-index: 2; }
.stamp-wrap--mono { position: absolute; width: min(190px, 38%); right: 0; bottom: 2%; transform: rotate(5deg); z-index: 3; }

/* Bords dentelés façon timbre (masque CSS) */
.stamp {
  --r: 6px; --s: 17px;
  background: var(--creme); padding: 18px;
  -webkit-mask:
    radial-gradient(circle at 50% 0, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / var(--s) 100% round,
    radial-gradient(circle at 50% 100%, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / var(--s) 100% round,
    radial-gradient(circle at 0 50%, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / 100% var(--s) round,
    radial-gradient(circle at 100% 50%, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / 100% var(--s) round;
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle at 50% 0, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / var(--s) 100% round,
    radial-gradient(circle at 50% 100%, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / var(--s) 100% round,
    radial-gradient(circle at 0 50%, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / 100% var(--s) round,
    radial-gradient(circle at 100% 50%, #0000 var(--r), #000 calc(var(--r) + .5px)) 0 0 / 100% var(--s) round;
  mask-composite: intersect;
}
.stamp img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; outline: 1px solid rgba(84, 16, 10, .15); outline-offset: -1px; }
.stamp--mono { padding: 14px; }
.stamp--mono .script {
  display: grid; place-items: center; aspect-ratio: 3 / 4;
  background: var(--terracotta); color: var(--creme);
  font-size: clamp(3.4rem, 6vw, 4.6rem); letter-spacing: -.08em; padding-right: .1em;
}

.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 2.4rem 0 1.6rem; padding-top: 2rem; border-top: 1px solid rgba(255, 253, 213, .3); }
.about__facts strong { display: block; font: 400 1.5rem/1.1 var(--serif); font-stretch: 78%; margin-bottom: .35rem; }
.about__facts span { font-size: .88rem; opacity: .8; line-height: 1.4; display: block; }
.about__sign { font-size: 3.4rem; line-height: 1; margin-top: .5rem; }

/* ---------- Section head ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head__lead { font-size: 1.12rem; max-width: 36rem; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 2rem 5rem; }
.section-head--split .h2 { margin-bottom: 0; }

/* ---------- Prestations ---------- */
.services { background: var(--beige); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.service {
  padding: clamp(2rem, 3vw, 2.8rem); display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(50, 25, 18, .45); }
.service__num { font: 400 .8rem/1 var(--sans); letter-spacing: .2em; opacity: .7; }
.service__ill { width: 130px; height: 90px; margin: 1.6rem 0 1.8rem; }
.service h3 { font: 400 clamp(1.7rem, 2.4vw, 2.2rem)/1.05 var(--serif); font-stretch: 78%; margin-bottom: 1rem; }
.service > p { margin-bottom: 1.6rem; font-size: 1rem; }
.service ul { margin-bottom: 2.2rem; flex: 1; }
.service li { font-size: .95rem; padding: .7rem 0; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); }
.service li:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.service .link-arrow { align-self: flex-start; }
.service--bordeaux { background: var(--bordeaux); color: var(--creme); }
.service--beige { background: var(--creme); color: var(--bordeaux); outline: 1px solid rgba(84, 16, 10, .18); outline-offset: -1px; }
.service--beige .service__ill { color: var(--terracotta); }
.service--olive { background: var(--olive); color: var(--creme); }

/* ---------- Panorama ---------- */
.panorama { position: relative; height: clamp(380px, 62vh, 640px); overflow: hidden; }
.panorama img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.panorama__card {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--bordeaux); color: var(--creme);
  padding: clamp(1.8rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem); text-align: center; width: min(560px, 88%);
  box-shadow: 0 30px 60px -20px rgba(20, 4, 2, .6);
}
.panorama__card.reveal { transform: translate(-50%, calc(-50% + 30px)); }
.panorama__card.reveal.is-visible { transform: translate(-50%, -50%); }
.panorama__card .script { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; margin-bottom: 1.2rem; }
.panorama__card span { font: 400 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

/* ---------- Approche ---------- */
.process { background: var(--creme); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 2.4rem; height: 1px; background: rgba(84, 16, 10, .2); }
.step { position: relative; }
.step__num {
  display: inline-block; background: var(--creme); padding-right: 1rem; position: relative;
  font: 300 clamp(3.4rem, 5vw, 4.6rem)/1 var(--serif); font-stretch: 62.5%;
  color: var(--terracotta); margin-bottom: 1.4rem;
}
.step h3 { font: 400 1.65rem/1.1 var(--serif); font-stretch: 78%; color: var(--bordeaux); margin-bottom: .8rem; }
.step p { font-size: .98rem; }

/* ---------- La Loire ---------- */
.loire { background: var(--olive); color: var(--creme); overflow: hidden; }
.loire__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.loire .h2, .loire .h2 em.script { color: var(--creme); }
.loire__text > p:not(.eyebrow) { max-width: 34rem; opacity: .92; margin-bottom: 2rem; }
.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li { border: 1px solid rgba(255, 253, 213, .5); border-radius: 999px; padding: .5rem 1rem; font-size: .88rem; }
.tags li:last-child { border-style: dashed; opacity: .8; }

.loire__art { position: relative; min-height: 520px; }
.loire__photo { position: absolute; right: 0; top: 0; width: 62%; height: 72%; margin: 0; }
.loire__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; filter: saturate(.85); }
.loire__frame {
  position: absolute; left: 0; bottom: 0; width: 56%; z-index: 2;
  background: var(--beige); color: var(--olive); padding: 2rem 1.6rem 1.6rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  box-shadow: 0 30px 60px -25px rgba(20, 20, 4, .6); transform: rotate(-2deg);
}
.loire__frame::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(100, 107, 56, .4); pointer-events: none; }
.loire__frame .ill { width: 88%; height: auto; aspect-ratio: 200 / 115; }
.loire__frame .script { font-size: 2.2rem; line-height: 1; color: var(--bordeaux); }

/* ---------- Témoignages ---------- */
.words { background: var(--ciel); color: var(--olive); text-align: center; }
.words__inner { max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.words__mono { width: 130px; height: 84px; margin-bottom: 2.4rem; }
.words .eyebrow { color: var(--olive); }
.slider { display: grid; width: 100%; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide blockquote {
  font: italic 400 clamp(1.5rem, 3vw, 2.35rem)/1.35 var(--serif); font-stretch: 85%;
  color: var(--marron); text-wrap: balance; margin-bottom: 1.8rem;
}
.slide figcaption { font: 400 .85rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.slide figcaption span { opacity: .75; }
.slider__dots { grid-area: 2 / 1; display: flex; justify-content: center; gap: .7rem; margin-top: 2.6rem; }
.slider__dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--olive); background: transparent; padding: 0; cursor: pointer; transition: background .3s; }
.slider__dots button[aria-selected="true"] { background: var(--olive); }

/* ---------- Contact ---------- */
.contact { background: var(--beige); }
.contact__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.contact__intro > p:not(.eyebrow) { max-width: 30rem; margin-bottom: 2rem; }
.contact__ill { width: 130px; height: 102px; color: var(--terracotta); margin-bottom: 2.2rem; }
.contact__infos li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .9rem 0; border-top: 1px solid rgba(84, 16, 10, .15); font-size: .98rem; }
.contact__infos li:last-child { border-bottom: 1px solid rgba(84, 16, 10, .15); }
.contact__infos span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); padding-top: .2rem; }
.contact__infos a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact__infos a:hover { border-color: currentColor; }

.form { background: var(--creme); padding: clamp(1.8rem, 4vw, 3.2rem); display: grid; gap: 1.4rem; box-shadow: 0 30px 60px -40px rgba(50, 25, 18, .5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: grid; gap: .5rem; }
.field > span { font: 400 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bordeaux); }
.field input, .field select, .field textarea {
  width: 100%; font: 300 1rem/1.5 var(--sans); color: var(--marron);
  background: transparent; border: 0; border-bottom: 1px solid rgba(84, 16, 10, .35);
  padding: .55rem 0; border-radius: 0; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  cursor: pointer; padding-right: 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2354100A'/%3E%3C/svg%3E") no-repeat right .2rem center;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder, .field textarea::placeholder { color: rgba(50, 25, 18, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); border-bottom-width: 2px; padding-bottom: calc(.55rem - 1px); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--terracotta); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: .6rem; }
.form__status { font-size: .95rem; color: var(--olive); }
.form__status.is-error { color: var(--terracotta); }

/* ---------- Footer ---------- */
.footer { background: var(--bordeaux); color: var(--creme); padding-block: 5rem 2.2rem; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; }
.footer__mono { width: 150px; height: 98px; margin-bottom: 1.6rem; }
.footer__name { font: 400 clamp(2.6rem, 6vw, 4.6rem)/1 var(--serif); font-stretch: 72%; }
.footer__tag { font: italic 400 1.15rem/1 var(--serif); font-stretch: 85%; opacity: .8; margin: .8rem 0 2.6rem; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2rem; margin-bottom: 3.5rem; }
.footer__nav a { font: 400 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.footer__nav a:hover { opacity: 1; }
.footer__legal { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255, 253, 213, .2); font-size: .82rem; opacity: .7; }
.footer__legal a { text-decoration: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 1.4rem; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service--olive { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 3.5rem; }
  .steps::before { display: none; }
}

@media (max-width: 900px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2rem;
    background: var(--bordeaux); color: var(--creme);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a { font-size: 1rem; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .header.menu-open { color: var(--creme); background: transparent; box-shadow: none; }
  .header.is-scrolled .nav__cta:hover { background: var(--creme); color: var(--bordeaux); }

  .hero { padding-block: 7rem 5rem; }
  .hero__inner, .about__inner, .loire__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero__collage { justify-self: center; max-width: 480px; }
  .section-head--split { grid-template-columns: 1fr; }
  .about__stamps { min-height: 440px; }
  .loire__art { min-height: 440px; max-width: 560px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__name { font-size: 1.15rem; }
  .brand__mono { width: 46px; height: 30px; }
  .services__grid, .steps, .form__row { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: 1fr; gap: 1rem; }
  .about__stamps { min-height: 380px; }
  .loire__art { min-height: 380px; }
  .loire__frame { width: 70%; }
  .contact__infos li { grid-template-columns: 1fr; gap: .3rem; }
  .hero__scroll { display: none; }
  .paper__meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .panorama__card.reveal { transform: translate(-50%, -50%); }
}
