/* ============================================================
   FERNANDES RENOV' — design "carte de visite, en grand"
   Papier plâtre · blocs noirs arrondis · bleu ciel des coches
   ============================================================ */

:root {
  --paper: #f2f1eb;
  --paper-2: #eae8e0;
  --card: #fbfaf6;
  --ink: #101113;
  --ink-2: #45484d;
  --ink-3: #74777d;
  --cyan: #7fdce8;
  --cyan-deep: #0e7c8c;
  --cyan-ghost: rgba(127, 220, 232, 0.16);
  --line: rgba(16, 17, 19, 0.13);
  --line-strong: rgba(16, 17, 19, 0.22);
  --white-line: rgba(255, 255, 255, 0.14);
  --r-lg: 32px;
  --r-md: 20px;
  --r-sm: 14px;
  --font-display: "Bricolage Grotesque", "Georgia", serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
  --shadow-card: 0 24px 60px -24px rgba(16, 17, 19, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* grain très léger, comme un papier */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

::selection {
  background: var(--cyan);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--cyan-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

/* ---------- Petits éléments partagés ---------- */

.kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan-deep);
  margin-bottom: 1rem;
}

.kicker-cyan {
  color: var(--cyan);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.section-lead {
  margin-top: 1.1rem;
  color: var(--ink-2);
  font-size: 1.125rem;
  max-width: 54ch;
}

/* Coches façon carte de visite */
.check-list li {
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.3em;
  height: 1.3em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='6' fill='%237fdce8'/%3E%3Cpath d='M5.2 10.6l3.2 3.2 6.4-7.4' stroke='%23101113' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.check-list-light {
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid:hover {
  background: var(--cyan);
  color: var(--ink);
}

.btn-line {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

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

.btn-cyan {
  background: var(--cyan);
  color: var(--ink);
}

.btn-cyan:hover {
  background: #a3e7f0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(242, 241, 235, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--cyan);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-apo {
  color: var(--cyan-deep);
}

.nav {
  display: flex;
  gap: 1.9rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.header-tel {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9875rem;
  white-space: nowrap;
}

.header-tel:hover {
  color: var(--cyan-deep);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--ink);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.85rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--line);
}

.mobile-menu .mobile-tel {
  margin-top: 0.9rem;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  border-bottom: none;
  padding: 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem);
}

.hero-tool {
  position: absolute;
  color: var(--ink);
  opacity: 0.07;
  pointer-events: none;
}

.hero-tool-roller {
  width: clamp(120px, 14vw, 190px);
  top: 8%;
  right: 4%;
  transform: rotate(14deg);
}

.hero-tool-trowel {
  width: clamp(100px, 11vw, 160px);
  bottom: 4%;
  left: 2%;
  transform: rotate(-10deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.7rem, 6.2vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  display: flex;
  flex-direction: column;
}

.hero-title .accent {
  color: var(--ink);
  width: fit-content;
  /* trait de surligneur droit, façon marqueur, sous la ligne de base */
  background: linear-gradient(var(--cyan), var(--cyan)) left 90% / 100% 0.3em no-repeat;
  padding-inline: 0.03em;
}

.hero-sub {
  margin-top: 1.6rem;
  font-size: 1.155rem;
  color: var(--ink-2);
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

/* La carte (reprise de la carte de visite) */
.hero-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card);
  transform: rotate(1.6deg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.hero-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 32px 70px -24px rgba(16, 17, 19, 0.45);
}

.hero-card-head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 1.3rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--white-line);
}

.hero-card-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.hero-card-brand .brand-apo {
  color: var(--cyan);
}

.hero-card-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.hero-card .check-list li {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9875rem;
  margin-bottom: 0.8rem;
}

.hero-card-foot {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1.2rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--white-line);
}

.hero-card-foot a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cyan);
  width: fit-content;
}

.hero-card-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-card-foot span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: 1rem;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: scroll-x 45s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(242, 241, 235, 0.85);
}

.marquee-track i {
  font-style: normal;
  color: var(--cyan);
  font-size: 0.85rem;
}

@keyframes scroll-x {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Travaux (index éditorial) ---------- */

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2.5rem, 6vw, 5.5rem);
  border-top: 1.5px solid var(--ink);
}

.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
}

.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  padding-top: 0.3rem;
  transition: color 0.3s var(--ease-out);
}

.service:hover .service-num {
  color: var(--cyan-deep);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.service-icon {
  color: var(--ink);
  flex-shrink: 0;
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.service h3 {
  font-size: 1.2rem;
}

.service p {
  font-size: 0.9675rem;
  color: var(--ink-2);
  line-height: 1.62;
  max-width: 42ch;
}

/* ---------- Artisan ---------- */

.artisan-panel {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.25rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-card);
}

.artisan-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.artisan-monogram {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 8vw, 6.2rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cyan);
  margin-bottom: 1.4rem;
}

.artisan-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.artisan-role {
  margin-top: 0.7rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

.artisan-lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.artisan-text {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 52ch;
}

.artisan-copy .check-list {
  margin-top: 1.8rem;
}

/* ---------- Méthode ---------- */

.methode {
  padding-top: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.step {
  border-top: 2px solid var(--ink);
  padding-top: 1.5rem;
}

.step-n {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}

.step h3 {
  font-size: 1.28rem;
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--ink-2);
  font-size: 0.9875rem;
}

/* ---------- Zone ---------- */

.zone {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.zone-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.zone-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.zone-note {
  margin-top: 1.2rem;
  color: var(--ink-2);
}

.zone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.zone-chips li {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  font-weight: 500;
  font-size: 0.9375rem;
  background: var(--paper);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.zone-chips li:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.zone-chips .chip-main {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cyan);
  font-weight: 600;
}

.zone-chips .chip-more {
  border-style: dashed;
  color: var(--ink-3);
  background: transparent;
}

/* ---------- Contact ---------- */

.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.25rem, 5vw, 4rem);
  box-shadow: var(--shadow-card);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.25rem, 5vw, 4.5rem);
}

.contact-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 1rem;
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 44ch;
}

.contact-tel {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--cyan);
  margin-top: 1.8rem;
  width: fit-content;
}

.contact-tel:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

.contact-mail {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  width: fit-content;
}

.contact-mail:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-points {
  margin-top: 2rem;
}

/* Formulaire */
.quote-form .field {
  margin-bottom: 1.1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.45rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  background: #1b1d20;
  border: 1.5px solid var(--white-line);
  border-radius: var(--r-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.quote-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%237fdce8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
}

.quote-form textarea {
  resize: vertical;
  min-height: 110px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: #202327;
}

.quote-form input.error,
.quote-form textarea.error {
  border-color: #e2694f;
}

.hint {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.4rem;
}

.quote-form .btn {
  width: 100%;
  margin-top: 0.4rem;
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.8438rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.form-note.ok {
  color: var(--cyan);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.6rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer-brand-block {
  max-width: 34ch;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
}

.footer-meta {
  margin-top: 0.7rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.footer-contact {
  margin-top: 0.7rem;
  font-size: 0.9375rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.footer-contact a {
  font-weight: 600;
  color: var(--ink);
}

.footer-contact a:hover {
  color: var(--cyan-deep);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  max-width: 340px;
}

.footer-nav a,
.footer-linkbtn {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-linkbtn:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8438rem;
  color: var(--ink-3);
}

.footer-credit a {
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1.5px solid var(--cyan);
  padding-bottom: 1px;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: var(--ink);
}

/* ---------- Bandeau cookies ---------- */

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  transform: translateX(-50%) translateY(140%);
  z-index: 200;
  width: min(720px, calc(100% - 2rem));
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -18px rgba(16, 17, 19, 0.55);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-text a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-cookie {
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
}

.cookie-banner .btn-line {
  border-color: var(--white-line);
  color: #fff;
}

.cookie-banner .btn-line:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ---------- Pages légales ---------- */

.legal-header {
  border-bottom: 1px solid var(--line);
}

.legal-header .header-inner {
  justify-content: space-between;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.legal-back:hover {
  color: var(--ink);
}

.legal-main {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.legal-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.legal-wrap .kicker {
  margin-bottom: 0.8rem;
}

.legal-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.legal-updated {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.legal-wrap h2 {
  font-size: 1.4rem;
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.legal-wrap h3 {
  font-size: 1.1rem;
  margin-top: 1.6rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 0.8rem;
}

.legal-wrap ul {
  list-style: none;
  padding: 0;
}

.legal-wrap ul li {
  position: relative;
  padding-left: 1.4rem;
}

.legal-wrap ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--cyan-deep);
}

.legal-wrap a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1.5px solid var(--cyan);
}

.legal-wrap a:hover {
  color: var(--cyan-deep);
}

.legal-wrap strong {
  color: var(--ink);
}

.legal-todo {
  color: var(--cyan-deep);
  font-style: italic;
}

/* ---------- Animations ---------- */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.load-up {
  opacity: 0;
  animation: fade-up 0.85s var(--ease-out) forwards;
}

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.26s; }
.d4 { animation-delay: 0.36s; }
.d5 { animation-delay: 0.46s; }

/* la carte hero garde sa rotation pendant l'animation */
.hero-card.load-up {
  animation-name: fade-up-card;
}

@keyframes fade-up-card {
  from {
    opacity: 0;
    transform: rotate(1.6deg) translateY(26px);
  }
  to {
    opacity: 1;
    transform: rotate(1.6deg) translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* stagger de l'index services (2 colonnes → par paires) */
.services-list .service:nth-child(3),
.services-list .service:nth-child(4) { transition-delay: 0.08s; }
.services-list .service:nth-child(5),
.services-list .service:nth-child(6) { transition-delay: 0.16s; }

.steps .step:nth-child(2) { transition-delay: 0.1s; }
.steps .step:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .load-up,
  .hero-card.load-up {
    animation: none;
    opacity: 1;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .services-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 480px;
    transform: rotate(0deg);
  }

  .hero-card.load-up {
    animation-name: fade-up;
  }

  .artisan-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .zone-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav,
  .header-actions {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header-inner {
    height: 68px;
  }

  html {
    scroll-padding-top: 80px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-tool-roller {
    top: 2%;
    right: -4%;
  }

  .hero-tool-trowel {
    display: none;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    text-align: left;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}
