/* ============ PEINTURE — charte créative & colorée maîtrisée ============ */
:root {
  --red: #e8413f;
  --orange: #ff7a3c;
  --yellow: #ffd23f;
  --green: #2bb673;
  --blue: #2b6cff;
  --purple: #7b4fff;

  --ink: #1b1b2b;
  --ink-soft: #4a4a5e;
  --paper: #ffffff;
  --cream: #faf6f1;
  --line: #ece6df;

  --grad-hero: linear-gradient(135deg, #fff4ec 0%, #fdeef2 45%, #eef2ff 100%);
  --grad-cta: linear-gradient(135deg, var(--red), var(--orange));

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(27, 27, 43, 0.35);
  --shadow-lg: 0 30px 60px -28px rgba(27, 27, 43, 0.4);
  --maxw: 1140px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; color: var(--ink); }

.section-head { max-width: 640px; margin: 0 auto 2.6rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 0.6rem; }
.section-head p { color: var(--ink-soft); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 12px 24px -12px rgba(232, 65, 63, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(232, 65, 63, 0.75); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 0.92rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-tel {
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-cta .btn-tel { color: var(--ink); }
.nav-cta .btn-tel:hover, .btn-tel:hover { color: var(--red); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-mark { display: inline-flex; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav > a { font-weight: 500; color: var(--ink-soft); transition: color 0.15s; }
.main-nav > a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform 0.25s, opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; background: var(--grad-hero); overflow: hidden; }
.hero-paint { position: absolute; inset: 0; display: flex; opacity: 0.5; pointer-events: none; }
.hero-paint .swatch { flex: 1; }
.hero-paint .s1 { background: var(--red); }
.hero-paint .s2 { background: var(--orange); }
.hero-paint .s3 { background: var(--yellow); }
.hero-paint .s4 { background: var(--green); }
.hero-paint .s5 { background: var(--blue); }
.hero-paint { height: 6px; bottom: auto; inset: auto 0 auto 0; top: 0; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) 22px;
}
.hero-title {
  font-size: clamp(2.2rem, 5.4vw, 3.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  min-height: 0.5em; /* reste joli si  vide */
}
.hero-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.8rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.3rem; }
.hero-badges li { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.hero-badges svg { color: var(--green); }

.hero-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
  border: 1px solid var(--line);
}
.paint-can { aspect-ratio: 1; }
.palette-chips { display: flex; gap: 0.5rem; margin-top: 1rem; justify-content: center; }
.palette-chips span { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.18); }

/* ============ TRUST ============ */
.trust { background: var(--ink); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.8rem 22px; text-align: center; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--yellow); }
.trust-item span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); }

/* ============ SERVICES ============ */
.services { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-icon {
  display: inline-flex;
  width: 60px; height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--c, var(--red));
  background: color-mix(in srgb, var(--c, var(--red)) 14%, #fff);
  margin-bottom: 1rem;
}
.card-icon { --c: attr(data-c); }
.card h3 { font-size: 1.22rem; margin-bottom: 0.45rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ============ WHY ============ */
.why { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.why-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.why-text h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 1.4rem; }
.why-list { list-style: none; display: grid; gap: 1.1rem; }
.why-list li { display: flex; gap: 0.85rem; }
.why-list svg { flex: 0 0 auto; color: var(--green); margin-top: 2px; }
.why-list strong { display: block; font-size: 1.02rem; }
.why-list p { color: var(--ink-soft); font-size: 0.94rem; }

.why-aside {
  position: relative;
  background: var(--grad-hero);
  border-radius: var(--radius);
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.8rem;
  border: 1px solid var(--line);
}
.brush-stroke { position: absolute; border-radius: 40px; filter: blur(1px); opacity: 0.85; }
.brush-stroke.s-a { width: 70%; height: 26px; top: 16%; left: -8%; background: var(--red); transform: rotate(-6deg); }
.brush-stroke.s-b { width: 60%; height: 22px; top: 38%; right: -6%; background: var(--blue); transform: rotate(5deg); }
.brush-stroke.s-c { width: 55%; height: 20px; top: 58%; left: 6%; background: var(--green); transform: rotate(-3deg); }
.quote { position: relative; background: rgba(255, 255, 255, 0.92); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.quote p { font-family: var(--font-head); font-size: 1.1rem; }
.quote span { font-size: 0.85rem; color: var(--ink-soft); }

/* ============ ZONE ============ */
.zone { padding: clamp(3.5rem, 7vw, 5rem) 0; background: var(--ink); color: #fff; text-align: center; }
.zone-inner { max-width: 620px; margin: 0 auto; }
.zone-icon { display: flex; justify-content: center; margin-bottom: 1rem; }
.zone h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 0.8rem; }
.zone p { color: rgba(255, 255, 255, 0.85); margin-bottom: 0.5rem; }
.zone p strong { color: var(--yellow); }
.zone-sub { font-size: 0.92rem; margin-bottom: 1.5rem; }

/* ============ CONTACT ============ */
.contact { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.6rem; }
.contact-info h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: 0.7rem; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.contact-list { list-style: none; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-list svg { color: var(--red); flex: 0 0 auto; margin-top: 2px; }
.contact-list strong { display: block; font-size: 0.95rem; }
.contact-list span, .contact-list a { color: var(--ink-soft); font-size: 0.95rem; }

.contact-form { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232, 65, 63, 0.15);
  background: #fff;
}
.field textarea { resize: vertical; }
.form-success {
  margin-top: 0.9rem;
  background: color-mix(in srgb, var(--green) 14%, #fff);
  color: #14693f;
  border: 1.5px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-weight: 600;
}
.form-note { margin-top: 0.8rem; font-size: 0.85rem; color: var(--ink-soft); text-align: center; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.85); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 2.8rem 22px 1.8rem; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.9rem; margin-top: 0.5rem; max-width: 22rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-contact .btn-tel { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-credit { color: rgba(255, 255, 255, 0.55); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 360px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-inner, .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 22px 1.2rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav > a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { flex-direction: column; align-items: stretch; gap: 0.7rem; margin-top: 0.8rem; }
  .nav-cta .btn-primary { width: 100%; }
  .burger { display: flex; }
}

@media (max-width: 540px) {
  .cards, .field-row, .trust-grid, .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
