/* ============================================================
   Refletsdici — Landing
   Minimaliste / luxe discret — béton & blanc cassé + bleu eau
   ============================================================ */

:root {
  --paper:   #F6F4EF;
  --paper-2: #EEEAE1;
  --paper-3: #E6E1D6;
  --ink:     #24221D;
  --ink-2:   #423E36;
  --ink-soft:#736E63;
  --stone:   #A39B8C;
  --line:    rgba(36, 34, 29, 0.12);
  --line-2:  rgba(36, 34, 29, 0.06);
  --water:   oklch(0.66 0.062 222);
  --water-deep: oklch(0.52 0.058 226);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 88px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--water); color: #fff; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--stone);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--stone);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.04;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.display {
  font-size: clamp(44px, 7.4vw, 116px);
  font-weight: 300;
}
.display em { font-style: italic; font-weight: 400; }

.h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 300; }
.h2 em { font-style: italic; }

.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.62;
  color: var(--ink-2);
  font-weight: 300;
  max-width: 40ch;
}

.muted { color: var(--ink-soft); }

/* ---------- layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
section { position: relative; }
.section-pad { padding-block: clamp(90px, 13vw, 190px); }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  border-radius: 0;
  transition: background .45s ease, color .45s ease, border-color .45s ease, transform .45s ease;
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-1px); }
.btn .arr { transition: transform .45s ease; }
.btn:hover .arr { transform: translateX(5px); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

.btn.light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.btn.light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }

.link-underline {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--stone);
  transition: border-color .4s ease, gap .4s ease;
}
.link-underline:hover { border-color: var(--ink); gap: 16px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .5s ease, padding .5s ease, box-shadow .5s ease, color .5s ease;
  color: var(--paper);
  mix-blend-mode: normal;
}
.nav.scrolled {
  background: rgba(246, 244, 239, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  color: var(--ink);
  padding-block: 15px;
  box-shadow: 0 1px 0 var(--line-2);
}
.brand {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}
.brand b { font-weight: 500; }
.brand i { font-style: italic; font-weight: 400; }
.brand .dot { color: var(--water); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  opacity: 0.9;
  transition: opacity .3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .4s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 11px 20px;
  transition: background .4s ease, color .4s ease;
}
.nav.scrolled .nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav:not(.scrolled) .nav-cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: inherit;
}
.burger span {
  width: 26px; height: 1.5px;
  background: currentColor;
  transition: transform .4s ease, opacity .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  gap: 8px;
  transform: translateY(-100%);
  transition: transform .6s cubic-bezier(.7,0,.2,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(34px, 9vw, 56px);
  font-weight: 300;
  padding-block: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mobile-menu a em { font-style: italic; color: var(--water); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(14,16,16,0.80) 0%, rgba(14,16,16,0.34) 46%, rgba(14,16,16,0.22) 100%),
    linear-gradient(to right, rgba(14,16,16,0.46) 0%, rgba(14,16,16,0.06) 52%, rgba(14,16,16,0) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 9vh, 110px);
}
.hero .eyebrow { color: rgba(246,244,239,0.85); }
.hero .eyebrow::before { background: rgba(246,244,239,0.6); }
.hero h1 { color: var(--paper); margin-top: 26px; max-width: 16ch; }
.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-row .lead { color: rgba(246,244,239,0.9); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: 26px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue .bar {
  width: 1px; height: 38px;
  background: rgba(246,244,239,0.6);
  position: relative;
  overflow: hidden;
}
.scroll-cue .bar::after {
  content: "";
  position: absolute; top: -38px; left: 0;
  width: 100%; height: 38px;
  background: var(--paper);
  animation: cue 2.4s cubic-bezier(.7,0,.3,1) infinite;
}
@keyframes cue { 0%{transform:translateY(0)} 60%,100%{transform:translateY(76px)} }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { text-align: center; }
.manifesto .statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.22;
  max-width: 19ch;
  margin: 28px auto 0;
  text-wrap: balance;
}
.manifesto .statement em { font-style: italic; }
.manifesto .statement .water { color: var(--water-deep); font-style: italic; }
.manifesto .sub {
  max-width: 52ch;
  margin: 36px auto 0;
  color: var(--ink-soft);
}

/* ============================================================
   REALISATIONS
   ============================================================ */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.sec-head .h2 { max-width: 16ch; margin-top: 22px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2.2vw, 30px);
}
.proj { position: relative; overflow: hidden; background: var(--paper-3); }
.proj .ph {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.proj:hover .ph { transform: scale(1.045); }
.proj .meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px;
  color: var(--paper);
  background: linear-gradient(to top, rgba(16,18,18,0.66), rgba(16,18,18,0));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.proj:hover .meta { opacity: 1; transform: translateY(0); }
.proj .meta h3 { color: var(--paper); font-size: 26px; }
.proj .meta .loc { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.82; }
.proj .tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  white-space: nowrap;
  align-self: flex-end;
}

.proj.tall  { grid-column: span 5; aspect-ratio: 4 / 5; }
.proj.wide  { grid-column: span 7; aspect-ratio: 7 / 5; }
.proj.half  { grid-column: span 6; aspect-ratio: 3 / 2; }
.proj.full  { grid-column: span 12; aspect-ratio: 21 / 9; }

/* ============================================================
   SAVOIR-FAIRE (béton)
   ============================================================ */
.savoir { background: var(--ink); color: var(--paper); }
.savoir .eyebrow { color: rgba(246,244,239,0.7); }
.savoir .eyebrow::before { background: rgba(246,244,239,0.4); }
.savoir h2 { color: var(--paper); }
.savoir .h2 em { color: var(--water); }
.savoir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(50px, 7vw, 90px);
}
.craft {
  border-top: 1px solid rgba(246,244,239,0.18);
  padding-top: 26px;
}
.craft .no {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--water);
  letter-spacing: 0.1em;
}
.craft h3 {
  color: var(--paper);
  font-size: clamp(24px, 2.6vw, 31px);
  margin: 18px 0 14px;
  font-weight: 400;
}
.craft p { color: rgba(246,244,239,0.66); font-size: 16px; line-height: 1.62; }

/* ============================================================
   ETAPES
   ============================================================ */
.etapes .h2 { max-width: 18ch; }
.steps { margin-top: clamp(40px, 5vw, 70px); }
.step {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: clamp(20px, 4vw, 60px);
  align-items: baseline;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  transition: padding-left .5s ease;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { padding-left: 14px; }
.step .num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 300;
  color: var(--stone);
  line-height: 1;
}
.step:hover .num { color: var(--water-deep); }
.step h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 400; }
.step p { color: var(--ink-soft); max-width: 50ch; margin-top: 10px; font-size: 16px; }
.step .when {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); white-space: nowrap;
}

/* ============================================================
   ENGAGEMENTS
   ============================================================ */
.engagements { background: var(--paper-2); }
.eng-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 70px);
}
.eng {
  text-align: left;
}
.eng .big {
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.eng .big sup { font-size: 0.4em; vertical-align: super; color: var(--water-deep); }
.eng .label {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 28ch;
}
.eng .rule { width: 40px; height: 1px; background: var(--stone); margin-bottom: 20px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--ink); color: var(--paper); }
.contact .eyebrow { color: rgba(246,244,239,0.7); }
.contact .eyebrow::before { background: rgba(246,244,239,0.4); }
.contact h2 { color: var(--paper); max-width: 14ch; }
.contact .h2 em { color: var(--water); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 100px);
  margin-top: clamp(46px, 6vw, 80px);
}
.contact-aside p { color: rgba(246,244,239,0.66); max-width: 36ch; }
.contact-aside .detail {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(246,244,239,0.16);
}
.contact-aside .detail .k {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(246,244,239,0.5);
}
.contact-aside .detail .v {
  font-family: var(--serif);
  font-size: 23px;
  margin-top: 6px;
}
.contact-aside .detail .zone-note {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(246,244,239,0.5);
  max-width: 34ch;
}

.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; display: flex; flex-direction: column; }
.field label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(246,244,239,0.55);
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(246,244,239,0.26);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  padding: 10px 0;
  border-radius: 0;
  transition: border-color .4s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F6F4EF' stroke-width='1.2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.field select option { color: #24221D; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--water);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(246,244,239,0.3); }
.field.error input, .field.error select, .field.error textarea { border-color: #e08a72; }
.field .err {
  font-size: 11.5px;
  color: #e6a18d;
  margin-top: 7px;
  letter-spacing: 0.04em;
}
.form .btn { justify-self: start; margin-top: 6px; }

.form-success {
  border: 1px solid rgba(246,244,239,0.24);
  padding: 44px;
  text-align: center;
}
.form-success .ok {
  width: 52px; height: 52px;
  border: 1px solid var(--water);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 22px;
  color: var(--water);
}
.form-success h3 { color: var(--paper); font-size: 30px; }
.form-success p { color: rgba(246,244,239,0.66); margin-top: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--paper); padding-block: clamp(56px, 7vw, 90px) 40px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer .brand { color: var(--ink); font-size: 34px; }
.footer-claim { max-width: 30ch; color: var(--ink-soft); margin-top: 18px; }
.footer-cols { display: flex; gap: clamp(40px, 6vw, 90px); flex-wrap: wrap; }
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 400; margin: 0 0 18px;
}
.footer-col a, .footer-col p { display: block; font-size: 15px; margin-bottom: 11px; color: var(--ink-2); }
.footer-col a:hover { color: var(--water-deep); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 28px;
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-cue .bar::after { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav .nav-cta.desktop { display: none; }
  .burger { display: flex; }
  .savoir-grid { grid-template-columns: 1fr; gap: 0; }
  .craft { padding-block: 30px; }
  .craft:not(:last-child) { border-bottom: none; }
  .eng-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .step .when { grid-column: 2; }
  .proj.tall, .proj.wide, .proj.half { grid-column: span 12; aspect-ratio: 3/2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   FORMULAIRE — anti-spam, erreurs, état d'envoi
   ============================================================ */

/* Honeypot : masqué aux humains et aux lecteurs d'écran, visible des bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Message d'erreur global du formulaire */
.form-error {
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(176, 68, 54, 0.10);
  border: 1px solid rgba(176, 68, 54, 0.30);
  color: #b04436;
  font-size: 14px;
  line-height: 1.5;
}

/* Bouton pendant l'envoi */
.btn.loading { opacity: 0.6; pointer-events: none; }
