/* MORARU RENOVATION — feuille de style principale */
:root {
  --bg: #F4F2EE;
  --surface: #FFFFFF;
  --surface-2: #FBFAF8;
  --line: #E6E1D8;
  --line-2: #DAD4C9;
  --ink: #1E1D1B;
  --ink-2: #4A463F;
  --muted: #5F5A52;
  --accent: #C4510F;
  --accent-ink: #A9440B;
  --accent-soft: #FBE7DA;
  --dark: #1E1D1B;
  --dark-2: #2A2926;
  --dark-line: #45423C;
  --on-dark-muted: #C9C4BB;
  --on-dark-accent: #F3B58E;
  --ok: #1F6B45;
  --ok-soft: #E1F1E7;
  --warn: #8A5A00;
  --warn-soft: #FBF0D9;
  --err: #A8261B;
  --err-soft: #FBE3E0;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(30, 29, 27, .12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Archivo", "Manrope", "Inter", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.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; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-lg { min-height: 56px; padding: 15px 26px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* ---------- En-tête ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 20px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.brand-sub { font-size: 11px; letter-spacing: .22em; color: var(--muted); }
.main-nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; flex: 1; justify-content: center; }
.main-nav a[aria-current="page"] { color: var(--accent-ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-select { border: 1px solid var(--line-2); border-radius: 8px; padding: 0 8px; height: 44px; background: var(--surface); font-size: 14px; cursor: pointer; }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; display: grid; place-items: center; background: var(--surface); cursor: pointer; }
.menu-toggle { display: none; }
.header-phone { white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent-ink); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head h2, .h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 620px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #7E3409; background: var(--accent-soft); padding: 8px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; letter-spacing: -.02em; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 19px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--ink-2); list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .icon { color: var(--accent-ink); stroke-width: 2.4; width: 18px; height: 18px; }
.hero-media { position: relative; }
.hero-img { width: 100%; aspect-ratio: 5 / 5.2; border-radius: 24px; object-fit: cover; background: linear-gradient(150deg, #E9E3D8, #D6CCBD); }
.hero-photo { position: absolute; inset: 0; height: 100%; }
.hero-fallback { display: grid; place-items: center; color: rgba(255,255,255,.55); background: radial-gradient(120% 90% at 80% 10%, #F3C9A8 0, transparent 55%), linear-gradient(150deg, #E7DCCB, #C9B79F); }
.hero-fallback .icon { width: 96px; height: 96px; stroke-width: 1; }
.hero-badge { position: absolute; left: -18px; bottom: 28px; background: var(--surface); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: 300px; }
.badge-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.hero-badge b { display: block; font-size: 15px; }
.hero-badge span { font-size: 13px; color: var(--muted); }

/* ---------- Cartes prestations ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.card-ico .icon { width: 26px; height: 26px; stroke-width: 1.7; }
.card h3 { font-size: 21px; font-weight: 700; }
.card p { font-size: 15px; color: var(--muted); }

/* ---------- Avant / après ---------- */
.ba { position: relative; overflow: hidden; border-radius: 22px; background: #D9D1C4; user-select: none; touch-action: pan-y; aspect-ratio: 4 / 3; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--pos, 50%); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); display: grid; place-items: center; z-index: 2; pointer-events: none; color: var(--ink); }
.ba-range:focus-visible ~ .ba-knob { outline: 3px solid var(--accent); }
.ba-tag { position: absolute; top: 14px; z-index: 2; background: rgba(255,255,255,.92); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; pointer-events: none; }
.ba-tag.before { left: 14px; }
.ba-tag.after { right: 14px; background: var(--accent); color: #fff; }
.ba-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 20px; background: repeating-linear-gradient(135deg, #E4DED4 0 14px, #DDD6CA 14px 28px); }

.feature { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; }
.feature-info { background: var(--dark); color: #fff; border-radius: 22px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.feature-info .place { font-size: 13px; letter-spacing: .1em; color: var(--on-dark-accent); text-transform: uppercase; }
.feature-info h3 { font-size: 30px; font-weight: 800; margin: 10px 0 12px; }
.feature-info p { color: var(--on-dark-muted); }
.feature-info a { color: #fff; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.step-n { font-family: var(--font-head); font-weight: 800; font-size: 34px; color: var(--accent-ink); }
.steps h3 { font-size: 19px; }
.steps p { font-size: 15px; color: var(--muted); }

/* ---------- Avis ---------- */
.reviews-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.reviews-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.stars { color: #C8641B; letter-spacing: 3px; font-size: 18px; }
.review .who { font-size: 14px; color: var(--muted); }
.empty-note { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 28px; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Bloc contact sombre ---------- */
.cta-dark { background: var(--dark); color: #fff; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.cta-dark h2 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.cta-dark p { color: var(--on-dark-muted); }
.contact-lines { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.contact-lines a, .contact-lines span { display: flex; align-items: center; gap: 10px; color: #fff; }
.contact-lines .icon { color: var(--on-dark-accent); }

/* ---------- Formulaires ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field.full { grid-column: 1 / -1; }
.field .opt { font-weight: 400; color: var(--muted); }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 16px; font-weight: 400; color: var(--ink); }
textarea.input { min-height: 130px; resize: vertical; }
.input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(196, 81, 15, .25); }
.input[aria-invalid="true"] { border-color: var(--err); }
.hint { font-size: 13px; font-weight: 400; color: var(--muted); }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.consent a { text-decoration: underline; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-dark .field { color: var(--on-dark-muted); }
.form-dark .input { background: var(--dark-2); border-color: var(--dark-line); color: #fff; }
.form-dark .input:focus { border-color: var(--on-dark-accent); }
.form-dark .consent { color: var(--on-dark-muted); }
.form-dark .consent a { color: #fff; }
.alert { grid-column: 1 / -1; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }
.alert-err { background: var(--err-soft); color: var(--err); }
.zone-msg { font-size: 13px; font-weight: 500; min-height: 18px; }
.zone-msg.ok { color: var(--ok); }
.zone-msg.out { color: var(--warn); }
.form-dark .zone-msg.ok { color: #8FD6AE; }
.form-dark .zone-msg.out { color: #F5CD7A; }

.dropzone { grid-column: 1 / -1; border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: var(--surface-2); cursor: pointer; color: var(--ink-2); }
.dropzone.drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thumbs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; display: grid; place-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Pages intérieures ---------- */
.page-hero { padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.info-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list b { display: block; }
.info-list span { color: var(--muted); font-size: 15px; }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.project .ba { border-radius: 0; }
.project-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.project-body .meta { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); font-weight: 600; }
.project-body h3 { font-size: 21px; }
.project-body p { color: var(--muted); font-size: 15px; }
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 10px; }
.prose a { text-decoration: underline; }
.map-box { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map-box iframe { width: 100%; height: 420px; border: 0; display: block; }
.dept-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.dept-list li { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 15px; }
.dept-list span { color: var(--muted); font-weight: 400; }

/* Suivi */
.timeline { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 0; }
.timeline li { display: flex; gap: 14px; padding: 0 0 18px; position: relative; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); flex: none; display: grid; place-items: center; }
.timeline li.done { color: var(--ink); }
.timeline li.done .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.timeline li.current { color: var(--ink); font-weight: 700; }
.timeline li.current .dot { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.msg { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-top: 10px; }
.msg time { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* Note étoiles */
.rating { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating label { font-size: 34px; line-height: 1; color: var(--line-2); cursor: pointer; padding: 2px; }
.rating input:checked ~ label, .rating label:hover, .rating label:hover ~ label { color: #C8641B; }
.rating input:focus-visible + label { outline: 3px solid var(--accent); border-radius: 6px; }
mark { background: var(--warn-soft); color: var(--warn); padding: 0 4px; border-radius: 4px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { font-family: var(--font); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }

/* Barre mobile */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .site-header.open .main-nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 32px 20px; box-shadow: 0 16px 24px rgba(0,0,0,.06); }
  .site-header.open .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .header-row { justify-content: space-between; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 48px; }
  .hero-grid, .feature, .reviews-layout, .cta-dark, .split, .footer-grid { grid-template-columns: 1fr; }
  .hero-img { aspect-ratio: 4 / 3; }
  .hero-badge { left: 12px; bottom: 12px; }
  .cta-dark { padding: 32px 22px; border-radius: 22px; }
  .projects, .reviews-list { grid-template-columns: 1fr; }
  .header-phone .txt { display: none; }
  .header-phone { width: 44px; padding: 0; min-height: 44px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
  .mobile-bar .btn { padding: 10px 12px; font-size: 15px; }
  body { padding-bottom: 76px; }
  .site-header.open .main-nav { padding: 8px 20px 20px; }
}
@media (max-width: 600px) {
  .grid-3, .steps, .form, .dept-list { grid-template-columns: 1fr; }
  .header-actions .account { display: none; }
  .brand-sub { display: none; }
  .panel { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
