:root {
  color-scheme: dark;
  --dark: #f4f2ef;
  --paper: #101011;
  --forest: #181819;
  --green: #f5d37b;
  --yellow: #ffdc64;
  --line: #393737;
  --muted: #c7c2ba;
  font-family: "Aptos", "Trebuchet MS", system-ui, sans-serif;
}
body {
  background: radial-gradient(ellipse at 78% 13%, #302b24 0, transparent 38rem), var(--paper);
}
h1, h2, h3 { letter-spacing: -.055em; }
h1 { font-size: clamp(2.8rem, 7.5vw, 6.2rem); }
header, footer { background: #090909; }
header { border-bottom-color: #2d2c2b; }
header .bar { min-height: 78px; }
header nav { gap: clamp(.2rem, 1.25vw, 1.2rem); }
header nav a {
  padding: .62rem .76rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
}
header nav a[aria-current="page"], header nav a:hover {
  border-color: #6b5939;
  background: #2a241b;
  color: var(--green);
}
header .brand-logo { filter: drop-shadow(0 2px 10px #ffd7672b); }
.button, .outline {
  border-radius: 999px;
  transition: background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.button { color: #1b160b; box-shadow: 0 0 26px #ffdc6425; }
.button:hover { box-shadow: 0 0 32px #ffdc645b; }
.outline { border-color: #897b65; background: #191719d9; }
:focus-visible { outline-color: var(--yellow); }

.tax-banner { background: #090909; border-bottom-color: var(--line); }
.tax-banner-inner { grid-template-columns: minmax(0, 1fr) minmax(0, .76fr); }
.tax-tagline { color: #f4f2ef; font-size: clamp(1rem, 2.3vw, 2.1rem); }
.tax-banner .identity {
  background: linear-gradient(90deg, #090909 0%, #11111172 25%, #11111138 100%), url('assets/gazon.webp') center / cover;
}
.tax-banner .identity img { max-width: min(100%, 240px); }

.hero {
  background: linear-gradient(90deg, #080808f5 12%, #131313e5 54%, #111111bb), url('assets/realisations/chantier-2.webp') center 57% / cover;
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: clamp(2.75rem, 6vw, 6.4rem); }
.hero-content { padding-block: clamp(3.3rem, 8vw, 7rem); }
.hero .tax-offer {
  border-color: #a2947a85;
  background: #181717ed;
  box-shadow: 0 16px 44px #04040455;
}
.band {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 77% 50%, #51433466, transparent 62%),
    linear-gradient(135deg, #151515, #252223);
}
.band h1 { color: #f6f3ef; }

.card, .service, .form, .work-photo, .reviews-summary, .service-tax-offer {
  background: #1c1b1d;
  border-color: var(--line);
  border-radius: 17px;
}
a.card:hover, .work-photo:hover { border-color: #c3a462; }
.featured, .principal {
  background: linear-gradient(125deg, #30291e, #1e1c1e);
  border-color: #66573e;
}
.cta { background: linear-gradient(120deg, #29231c, #201e20); border: 1px solid #605036; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  background: #121213;
  border-color: #5e5750;
  color: var(--dark);
}
.form input::placeholder, .form textarea::placeholder { color: #bdb5ac; }
.form h2, .review-form-layout .form { color: var(--dark); }
.service .service-tax-offer .tax-terms, .hero p.tax-terms { color: #e1dcd5; }
.work-photo span { background: #1c1b1d; color: #f4f2ef; }
.work-photo img { transition: transform .3s ease; }
.work-dialog, .work-controls button, .work-close { background: #171719; }
.review p.review-rating { color: var(--yellow); }
.review-filters button[aria-pressed="true"] { color: #191409; }
.review-form-section { border-top: 1px solid var(--line); }
.skip { background: #1c1b1d; color: white; }
@media (max-width: 750px) {
  header nav a { padding: .48rem .55rem; font-size: .88rem; }
  .hero-content { padding-block: 3rem 1.4rem; }
  .hero { background-position: 64% center; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .outline, .work-photo img { transition: none; }
}

@keyframes content-enter {
  from { opacity: 0; transform: translateY(38px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes logo-enter {
  from { opacity: 0; transform: translateX(30px) scale(.86); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes logo-sweep {
  from { transform: translateX(-110%) skewX(-22deg); }
  to { transform: translateX(460%) skewX(-22deg); }
}
@keyframes gallery-enter {
  from { opacity: .3; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .tax-banner .identity { position: relative; overflow: hidden; }
  .tax-banner .identity img { animation: logo-enter .9s cubic-bezier(.2,.75,.25,1) both; }
  .tax-banner .identity::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 31%;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #ffe7a06e, transparent);
    animation: logo-sweep 1.4s .32s ease-in-out 2 both;
  }
  .hero-content > *, main > .band .wrap > * {
    animation: content-enter .85s cubic-bezier(.19,.8,.3,1) both;
  }
  .hero-content > :nth-child(2), main > .band .wrap > :nth-child(2) { animation-delay: .14s; }
  .hero-content > :nth-child(3), main > .band .wrap > :nth-child(3) { animation-delay: .28s; }
  .hero-content > :nth-child(4) { animation-delay: .42s; }
  .hero .tax-offer { animation: logo-enter .85s .32s cubic-bezier(.2,.75,.25,1) both; }
  .motion-reveal { animation: content-enter .8s var(--reveal-delay, 0ms) cubic-bezier(.19,.8,.3,1) both; }
  .motion-reveal:focus-within { animation: none; }
  .work-dialog[open] .work-view { animation: gallery-enter .33s ease-out; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a.card, .work-photo {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  a.card:hover, .work-photo:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 25px #02020255;
  }
  header nav a { transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
}

/* Warm, light surfaces give the reading areas more contrast with the banner. */
main > .wrap.section {
  padding-inline: clamp(1rem, 4vw, 3rem);
  margin-block: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid #58544e;
  border-radius: 20px;
  background: #d8d3ca;
  color: #211f1c;
  --line: #b4aa9b;
  --muted: #504941;
  --green: #6d481c;
}
main > .wrap.section .card,
main > .wrap.section .service,
main > .wrap.section .work-photo,
main > .wrap.section .reviews-summary {
  background: #f8f4ed;
  color: #211f1c;
}
main > .wrap.section :is(.featured, .principal) { background: #eee2cc; }
main > .wrap.section .service-tax-offer { background: #fffaf0; }
main > .wrap.section .service .service-tax-offer .tax-terms { color: #504941; }
main > .wrap.section .work-photo span { background: #f8f4ed; color: #211f1c; }
main > .wrap.section .review p.review-rating { color: #704a16; }
main > .wrap.section .review-filters button[aria-pressed="true"] { color: #fffaf1; }
main > .wrap.section .form {
  background: #232122;
  border-color: #534d46;
  color: #f4f2ef;
  --muted: #c7c2ba;
}
main > .wrap.section :focus-visible { outline-color: #80521c; }
main > .wrap.section :is(.form, .cta) :focus-visible { outline-color: var(--yellow); }
