/* Murero & Company — site vitrine */

:root {
  --ink: #12201D;
  --ink-deep: #0B1513;
  --ink-2: #2E4440;
  --ink-3: #3E5A53;
  --ground: #ECEFEC;
  --ground-2: #DFE5E2;
  --line: #B9C6C1;
  --on-dark: #E4EAE7;
  --on-dark-2: #C6D3CF;
  --on-dark-3: #9FB8B0;
  --line-dark: #4C6862;
  --light: #F1F4F2;
  --warm: #E8B98A;
  --serif: 'Bodoni Moda', Didot, 'Bodoni 72', serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: #1E3B35; }
a:hover { color: var(--ink-deep); }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-weight: 400; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 112px; padding-bottom: 112px; }

.band--dark { background: var(--ink); color: var(--on-dark); }
.band--pale { background: var(--ground-2); }

.eyebrow { margin: 0 0 16px; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow--warm { color: var(--warm); margin-bottom: 24px; }
.eyebrow--muted { color: var(--on-dark-3); }
.eyebrow--tight { letter-spacing: 0.12em; margin-bottom: 10px; }

.h2 { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 60px); line-height: 1.1; }
.h2--wide { max-width: 820px; margin-bottom: 56px; }

/* Buttons */
.btn {
  display: inline-block; padding: 15px 28px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-family: inherit; font-size: inherit;
  line-height: 1.4; cursor: pointer; transition: background-color .2s, color .2s;
}
.btn--light { background: var(--light); color: var(--ink-deep); border: 1px solid var(--light); font-weight: 600; }
.btn--light:hover { background: #fff; color: var(--ink-deep); }
.btn--ghost-light { border: 1px solid var(--light); color: var(--light); }
.btn--ghost-light:hover { background: rgba(241,244,242,.12); color: var(--light); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink-deep); color: var(--light); min-height: 780px; display: flex; flex-direction: column; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,21,19,.92) 0%, rgba(11,21,19,.7) 38%, rgba(11,21,19,0) 68%); }

.site-header { position: relative; padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--serif); font-size: 30px; letter-spacing: .18em; text-decoration: none; color: var(--light); }
.logo:hover { color: #fff; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; letter-spacing: .04em; }
.nav a { text-decoration: none; padding: 10px 0; color: var(--light); }
.nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.nav .nav__cta { padding: 10px 18px; border: 1px solid var(--light); border-radius: 999px; }
.nav .nav__cta:hover { text-decoration: none; background: rgba(241,244,242,.12); }

.hero__body { position: relative; flex: 1 1 auto; padding-top: 72px; padding-bottom: 104px; display: flex; align-items: flex-end; }
.hero__text { max-width: 640px; }
.hero h1 { font-family: var(--serif); font-size: clamp(48px, 7vw, 100px); line-height: 1.02; letter-spacing: -.01em; }
.hero__lead { margin: 32px 0 0; max-width: 520px; font-size: 19px; color: #D4DDD9; }
.actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Savoir-faire */
#savoir-faire .section { padding-top: 104px; padding-bottom: 104px; }
.trades { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.trade { border-top: 1px solid var(--line-dark); padding-top: 32px; }
.trade__num { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; color: var(--on-dark-3); }
.trade h3 { margin-bottom: 16px; font-family: var(--serif); font-size: 36px; }
.trade p:last-child { margin: 0; max-width: 500px; color: var(--on-dark-2); }

/* Méthode */
.split-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; margin-bottom: 56px; }
.split-head .h2 { flex: 1 1 420px; }
.split-head > p { flex: 1 1 380px; margin: 0; color: var(--ink-2); }
.split-head--between { justify-content: space-between; margin-bottom: 48px; gap: 16px 64px; }
.split-head--between .h2 { flex: 0 1 auto; }
.realisations__note { flex: 0 1 420px !important; text-align: right; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--line); }
.steps li { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.steps__num { margin: 0 0 12px; font-family: var(--serif); font-size: 28px; }
.steps h3 { margin-bottom: 8px; font-size: 17px; font-weight: 600; }
.steps li p:last-child { margin: 0; font-size: 15px; color: var(--ink-3); }

/* Réalisations */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: #C9D4CF; }
.gallery figcaption { margin-top: 14px; }
.gallery figcaption strong { display: block; font-weight: 600; }
.gallery figcaption span { font-size: 15px; color: var(--ink-3); }

/* La maison */
.maison { display: flex; flex-wrap: wrap; gap: 56px; }
.maison__text { flex: 1 1 440px; min-width: 0; }
.maison__text .h2 { margin-bottom: 28px; }
.maison__text p { color: var(--ink-2); margin: 0 0 18px; }
.maison__text p:last-child { margin: 0; }
.figures { flex: 1 1 440px; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; align-content: start; }
.figures div { border-top: 1px solid var(--ink); padding-top: 18px; }
.figures dt { font-size: 15px; color: var(--ink-3); }
.figures dd { margin: 6px 0 0; font-family: var(--serif); font-size: 52px; line-height: 1; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__info { flex: 1 1 400px; min-width: 0; }
.contact__info .h2 { margin-bottom: 24px; }
.contact__lead { margin: 0 0 32px; color: var(--on-dark-2); }
.contact__line { margin: 0 0 8px; }
.contact__line a { color: var(--on-dark); }
.contact__line a:hover { color: #fff; }
.contact__siege { margin-top: 37px; margin-bottom: 4px; }

.contact__form { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--on-dark-2); }
.field input, .field textarea {
  background: transparent; border: 1px solid var(--line-dark); border-radius: 4px;
  color: var(--on-dark); font: inherit;
}
.field input { min-height: 48px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--on-dark-3); }
.field [aria-invalid="true"] { border-color: var(--warm); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn--submit { min-height: 52px; padding: 0 32px; }
.btn--submit[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; font-size: 15px; color: var(--on-dark-2); }

/* Footer */
.site-footer { background: var(--ink-deep); color: var(--on-dark-3); font-size: 14px; }
.site-footer__inner { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.logo--small { font-size: 17px; color: var(--on-dark); }
.site-footer a { color: var(--on-dark-3); }
.site-footer a:hover { color: var(--on-dark); }

/* Page simple (mentions légales) */
.page { padding-top: 64px; padding-bottom: 96px; max-width: 820px; }
.page h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin-bottom: 40px; }
.page h2 { font-family: var(--serif); font-size: 26px; margin: 40px 0 12px; }
.page p { margin: 0 0 12px; color: var(--ink-2); }
.page-header { background: var(--ink-deep); }
.page-header .site-header { padding-top: 24px; padding-bottom: 24px; }

/* Tablette et téléphone */
@media (max-width: 800px) {
  :root { --gutter: 20px; }
  .section, #savoir-faire .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { min-height: 640px; }
  .hero__body { padding-top: 40px; padding-bottom: 64px; }
  .hero__scrim { background: linear-gradient(0deg, rgba(11,21,19,.94) 0%, rgba(11,21,19,.75) 55%, rgba(11,21,19,.45) 100%); }
  .br-wide { display: none; }
  .logo { font-size: 24px; }
  .nav { gap: 4px 18px; }
  .realisations__note { text-align: left; }
  .figures dd { font-size: 40px; }
}
@media (max-width: 520px) {
  .contact__form { grid-template-columns: 1fr; }
  .figures { gap: 28px 20px; }
  .split-head .h2, .split-head > p, .maison__text, .figures, .contact__info, .contact__form { flex-basis: 100%; }
  .trades { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}
