/* Dovalis — feuille de style */
:root {
  --bg: #06110c;
  --bg-2: #0a1a13;
  --line: rgba(201, 162, 90, 0.28);
  --line-strong: rgba(201, 162, 90, 0.5);
  --gold: #c9a25a;
  --green: #3cc98e;
  --text: #eaf0ec;
  --soft: #c9d6ce;
  --muted: #a3b3aa;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* En-tête */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(6, 17, 12, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--text); letter-spacing: -0.01em; }
.logo span { color: var(--green); }
.logo:hover { text-decoration: none; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a.active { color: var(--green); }
.nav .btn { color: var(--bg); }

/* Boutons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--green);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--green);
  transition: transform .15s, background .2s, border-color .2s;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { text-decoration: none; background: #52d9a0; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.04); border-color: var(--green); }

.link-arrow { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--green); padding-bottom: 3px; }
.link-arrow:hover { color: var(--green); text-decoration: none; }

/* Accroche */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--bg) url("assets/fond.jpg") center / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,17,12,.92) 0%, rgba(6,17,12,.7) 45%, rgba(6,17,12,.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%);
}
.hero .wrap { padding-block: 120px 80px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold); font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  margin: 22px 0 24px;
  max-width: 14ch;
  letter-spacing: -0.015em;
}
.hero h1 em { font-style: normal; color: var(--green); }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: #cfdad3; max-width: 34em; margin: 0 0 38px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
section { padding-block: 110px; }
.section-head { max-width: 40em; margin-bottom: 60px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.2;
  margin: 16px 0 16px;
  font-weight: 700;
}
.section-head h2 em { font-style: normal; color: var(--green); }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

/* Services : sommaire éditorial */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.index-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.index-item::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--green); transition: width .6s ease;
}
.index-item:hover::after { width: 100%; }
.index-num { font-family: var(--serif); font-size: 18px; color: var(--gold); padding-top: 6px; }
.index-item h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  margin: 0;
  transition: color .3s;
}
.index-item:hover h3 { color: var(--green); }
.index-body p { color: var(--soft); margin: 0 0 16px; font-size: 18px; }
.index-body .tags { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.index-body .tags li { color: var(--muted); font-size: 15px; position: relative; padding-left: 16px; }
.index-body .tags li::before { content: "+"; position: absolute; left: 0; color: var(--green); }
.after-list { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 36px; }

/* Méthode : frise */
.method { background: var(--bg-2); border-block: 1px solid var(--line); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: var(--line-strong);
}
.timeline::after {
  content: ""; position: absolute; left: 0; top: 11px; height: 1px; width: 0;
  background: var(--green); box-shadow: 0 0 12px rgba(60,201,142,.6);
  transition: width 1.6s ease .2s;
}
.timeline.in::after { width: 100%; }
.timeline li { position: relative; padding: 52px 30px 0 0; }
.timeline li::before {
  content: ""; position: absolute; top: 4px; left: 0;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--gold);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.timeline.in li::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 5px rgba(60,201,142,.15); }
.timeline.in li:nth-child(1)::before { transition-delay: .2s; }
.timeline.in li:nth-child(2)::before { transition-delay: .7s; }
.timeline.in li:nth-child(3)::before { transition-delay: 1.2s; }
.timeline.in li:nth-child(4)::before { transition-delay: 1.7s; }
.timeline .when { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.timeline h3 { font-family: var(--serif); font-size: 22px; margin: 6px 0 10px; font-weight: 700; }
.timeline p { color: var(--muted); margin: 0; font-size: 16px; }

/* Engagements : manifeste */
.manifesto { margin: 0; padding: 0; list-style: none; counter-reset: m; }
.manifesto li {
  counter-increment: m;
  display: grid; grid-template-columns: 90px 1fr; gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.manifesto li:last-child { border-bottom: 1px solid var(--line); }
.manifesto li::before {
  content: counter(m, upper-roman) ".";
  font-family: var(--serif); font-size: 18px; color: var(--gold); padding-top: 4px;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  margin: 0;
  color: var(--soft);
}
.manifesto p strong { font-weight: 700; color: var(--text); }
.manifesto p em { font-style: normal; color: var(--green); }

/* Contact */
.contact {
  position: relative;
  background: var(--bg) url("assets/fond.jpg") center / cover no-repeat;
  isolation: isolate;
  text-align: center;
  border-top: 1px solid rgba(60,201,142,.35);
}
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(60,201,142,.16), transparent 70%),
    rgba(6,17,12,.86);
}
.contact .section-head { margin-inline: auto; }
.contact .eyebrow { color: var(--green); }
.contact .eyebrow::before { background: var(--green); }
.contact .mail {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 40px);
  color: var(--text);
  border-bottom: 2px solid var(--green);
  padding-bottom: 6px;
  margin-bottom: 30px;
  transition: color .2s;
}
.contact .mail:hover { color: var(--green); text-decoration: none; }
.contact .btn { box-shadow: 0 10px 30px -8px rgba(60,201,142,.55); }
.contact .meta { color: var(--muted); font-size: 15px; margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; }
.contact .meta::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(60,201,142,.18); flex: none; }

/* Pied de page */
.footer { border-top: 1px solid rgba(60,201,142,.25); padding-block: 34px; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--green); }

/* Page texte (mentions légales) */
.page { padding-block: 140px 90px; }
.page h1 { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); margin: 0 0 40px; }
.page h2 { font-family: var(--serif); font-size: 24px; margin: 44px 0 12px; }
.page p, .page li { color: #cfdad3; }
.page .todo { background: rgba(201,162,90,.15); color: var(--gold); padding: 1px 6px; border-radius: 4px; }

/* Page Tarifs : en-tête */
.page-hero {
  position: relative;
  padding-block: 170px 90px;
  background: var(--bg) url("assets/fond.jpg") center / cover no-repeat;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6,17,12,.94) 0%, rgba(6,17,12,.75) 60%, rgba(6,17,12,.55) 100%);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 66px);
  line-height: 1.08;
  margin: 20px 0 18px;
  max-width: 16ch;
}
.page-hero h1 em { font-style: normal; color: var(--green); }
.page-hero p { color: #cfdad3; font-size: 19px; max-width: 34em; margin: 0; }

/* Page Tarifs : la carte */
.composer { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; align-items: start; }
.menu-group { border: 0; margin: 0 0 56px; padding: 0; min-width: 0; }
.menu-group legend {
  font-family: var(--serif); font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; color: var(--text);
  padding: 0; margin-bottom: 18px; display: flex; align-items: center; gap: 14px;
}
.menu-group legend::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.menu-group .hint { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.menu-item { display: block; position: relative; cursor: pointer; padding: 22px 0 22px 44px; border-bottom: 1px solid var(--line); }
.menu-group .hint + .menu-item, .menu-group legend + .menu-item { border-top: 1px solid var(--line); }
.menu-item input { position: absolute; opacity: 0; pointer-events: none; }
.menu-item .mark {
  position: absolute; left: 0; top: 30px;
  width: 22px; height: 22px; border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.menu-item input[type="radio"] + .mark { border-radius: 50%; }
.menu-item input[type="checkbox"] + .mark { border-radius: 6px; }
.menu-item .mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); transform: scale(0); transition: transform .2s; }
.menu-item input[type="checkbox"] + .mark::after { width: 10px; height: 6px; border-radius: 0; background: none; border-left: 2px solid var(--bg); border-bottom: 2px solid var(--bg); transform: rotate(-45deg) scale(0); margin-top: -3px; }
.menu-item input:checked + .mark { background: var(--green); border-color: var(--green); }
.menu-item input:checked + .mark::after { transform: scale(1); }
.menu-item input[type="checkbox"]:checked + .mark::after { transform: rotate(-45deg) scale(1); }
.menu-item input:focus-visible + .mark { outline: 2px solid var(--green); outline-offset: 3px; }
.menu-line { display: flex; align-items: baseline; gap: 12px; }
.menu-line .name { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; transition: color .2s; }
.menu-line .dots { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-6px); min-width: 20px; }
.menu-line .amount { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; white-space: nowrap; }
.menu-item .desc { color: var(--muted); font-size: 15px; margin: 6px 0 0; max-width: 36em; }
.menu-item:hover .name, .menu-item input:checked ~ .menu-line .name { color: var(--green); }
.menu-item.static { cursor: default; padding-left: 0; }
.menu-item.static:hover .name { color: var(--text); }
.menu-item.static .amount { color: var(--green); font-style: italic; font-weight: 400; }

.estimate {
  position: sticky; top: 100px;
  padding: 34px 32px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(60,201,142,.18), transparent 70%),
    var(--bg-2);
  box-shadow: 0 30px 60px -30px rgba(60,201,142,.4);
}
.estimate .label { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--text); margin: 0 0 18px; }
.estimate ul { list-style: none; margin: 0 0 18px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.estimate li { display: flex; justify-content: space-between; gap: 12px; color: var(--soft); font-size: 15px; padding: 5px 0; }
.estimate li span:last-child { color: var(--muted); white-space: nowrap; }
.estimate .sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--soft); font-size: 15px; }
.estimate .total { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.estimate .ht { display: block; color: var(--muted); font-size: 12px; margin: 4px 0 24px; text-align: right; }
.estimate .btn { width: 100%; text-align: center; font-size: 17px; padding: 16px 26px; }
.estimate .small { color: var(--muted); font-size: 13px; margin: 16px 0 0; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .timeline::after, .timeline li::before { transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .index-item { grid-template-columns: 60px 1fr; }
  .index-body { grid-column: 2; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before, .timeline::after { display: none; }
  .composer { grid-template-columns: 1fr; gap: 20px; }
  .estimate { position: sticky; bottom: 12px; top: auto; padding: 14px 18px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; }
  .estimate .label { font-size: 16px; margin: 0; grid-row: 1; white-space: nowrap; }
  .estimate ul, .estimate .small, .estimate .sum > span:first-child { display: none; }
  .estimate .sum { border: 0; padding: 0; grid-row: 2; }
  .estimate .total { font-size: 17px; }
  .estimate .ht { display: none; }
  .estimate .btn { grid-row: 1 / span 2; grid-column: 2; width: auto; font-size: 15px; padding: 12px 20px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav a:not(.btn):not(.active) { display: none; }
  .nav .btn { padding: 10px 18px; font-size: 14px; }
  section { padding-block: 80px; }
  .hero::before { background: linear-gradient(0deg, rgba(6,17,12,.95) 10%, rgba(6,17,12,.72) 100%); }
  .wrap { width: calc(100% - 32px); }
  .index-item { grid-template-columns: 1fr; gap: 14px; padding: 34px 0; }
  .index-body { grid-column: auto; }
  .index-num { padding-top: 0; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 0 0 0 36px; }
  .timeline li::before { top: 8px; }
  .manifesto li { grid-template-columns: 1fr; gap: 6px; padding: 26px 0; }
  .manifesto li::before { padding-top: 0; }
  .page-hero { padding-block: 130px 70px; }
  .menu-line { flex-wrap: wrap; }
  .menu-line .dots { display: none; }
  .menu-line .amount { width: 100%; color: var(--soft); font-size: 20px; }
  .estimate .btn { padding: 11px 18px; }
}

/* Page Réalisations */
.works { list-style: none; margin: 0; padding: 0; display: grid; gap: 110px; }
.work { display: grid; gap: 28px; }
.work-shot {
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 6px rgba(201,162,90,.06);

}
.work-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.work-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(201,162,90,.35); }
.work-shot img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
.work-title { display: flex; align-items: baseline; gap: 28px; }
.work-title .index-num { padding-top: 0; }
.work-title h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin: 0;
  font-weight: 700;
  transition: color .3s;
}
@media (max-width: 720px) {
  .works { gap: 70px; }
  .work-title { gap: 16px; }
}
