/* ============================================================
   THEME PEINTURE-PRO — Indigo violet + Orange chaud
   peinturedevis.fr — Devis peinture sous 48h
   ============================================================ */
:root {
  --primary: #6366f1;
  --primary-dark: #4338ca;
  --primary-light: #eef2ff;
  --accent: #f97316;
  --accent-dark: #c2410c;
  --pink: #ec4899;
  --ink: #0f172a;
  --ink-mute: #64748b;
  --paper: #fafafa;
  --paper-alt: #ffffff;
  --border: #e2e8f0;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section[id], div[id] { scroll-margin-top: 100px; }
a { color: var(--primary); }

/* ===== Header ===== */
header { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 3px rgba(99,102,241,.08); }
header nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
header .logo { display: inline-flex; align-items: center; gap: 12px; font-family: 'Outfit', sans-serif; font-size: 1.45rem; font-weight: 900; color: var(--primary); text-decoration: none; letter-spacing: -.02em; }
header .logo .logo-mark { font-size: 1.6rem; }
.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-link { color: var(--ink-mute); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 8px; transition: all .15s; }
.nav-link:hover { background: var(--primary-light); color: var(--primary); }

/* ===== CTA ===== */
.btn-cta { display: inline-block; background: var(--primary); color: #fff !important; padding: 13px 26px; border-radius: 999px; text-decoration: none; font-weight: 700; transition: all .2s; border: 2px solid var(--primary); font-size: .95rem; box-shadow: 0 4px 14px rgba(99,102,241,.3); }
.btn-cta:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,.4); }
.btn-cta.btn-vibrant { background: linear-gradient(135deg, var(--accent) 0%, var(--pink) 100%); border-color: transparent; box-shadow: 0 6px 20px rgba(249,115,22,.4); }
.btn-cta.btn-vibrant:hover { background: linear-gradient(135deg, var(--accent-dark) 0%, #be185d 100%); box-shadow: 0 10px 30px rgba(249,115,22,.5); }
.btn-ghost { background: transparent !important; color: var(--primary) !important; border: 2px solid var(--primary) !important; box-shadow: none; }
.btn-ghost:hover { background: var(--primary) !important; color: #fff !important; }

/* ===== Hero ===== */
.hero { position: relative; background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%); color: #fff; padding: 100px 0 110px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.15), transparent 40%), radial-gradient(circle at 80% 70%, rgba(249,115,22,.25), transparent 50%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
.hero .container { position: relative; }
.hero h1 { font-family: 'Outfit', sans-serif; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin: 0 0 24px; font-weight: 900; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--accent) 0%, #fde047 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; max-width: 720px; margin: 0 0 32px; opacity: .95; }
.badge-pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 8px 18px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 20px; backdrop-filter: blur(8px); }
.badge-pill::before { content: '🎨'; }

.trust-bar { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.2); }
.trust-bar .tb-item { display: flex; align-items: center; gap: 12px; }
.trust-bar .tb-item .tb-num { font-family: 'Outfit', sans-serif; font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1; }
.trust-bar .tb-item .tb-label { font-size: .85rem; opacity: .9; line-height: 1.3; }

/* ===== Sections ===== */
section { padding: 80px 0; background: var(--paper-alt); }
section.alt { background: var(--paper); }
section h2 { font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 3vw, 2.8rem); margin: 0 0 14px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
section h2 em { font-style: normal; background: linear-gradient(135deg, var(--primary) 0%, var(--pink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
section h2.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .82rem; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.section-intro { max-width: 720px; color: var(--ink-mute); font-size: 1.05rem; margin-bottom: 48px; }

/* ===== Service cards ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: all .25s; text-decoration: none; color: inherit; display: block; position: relative; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(99,102,241,.18); border-color: var(--primary); }
.service-card .thumb { height: 200px; background-size: cover; background-position: center; position: relative; }
.service-card .thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,.6) 100%); }
.service-card .tag { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; z-index: 2; text-transform: uppercase; }
.service-card .tag.tag-primary { background: var(--primary); }
.service-card .tag.tag-pink { background: var(--pink); }
.service-card .body { padding: 22px; }
.service-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.3rem; margin: 0 0 10px; font-weight: 800; color: var(--ink); }
.service-card p { font-size: .94rem; color: var(--ink-mute); margin: 0 0 14px; line-height: 1.6; }
.service-card .arrow { color: var(--primary); font-weight: 700; font-size: .92rem; }

/* ===== Cards (aides 2026) ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card { background: #fff; padding: 28px; border-radius: 16px; box-shadow: 0 4px 16px rgba(15,23,42,.06); border: 1px solid var(--border); transition: all .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(99,102,241,.12); border-color: var(--primary); }
.card .num { display: inline-block; background: linear-gradient(135deg, var(--primary), var(--pink)); color: #fff; font-size: .7rem; font-weight: 800; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; letter-spacing: .06em; text-transform: uppercase; }
.card h3 { font-family: 'Outfit', sans-serif; margin: 0 0 10px; font-size: 1.2rem; font-weight: 800; }
.card p { margin: 0; color: var(--ink-mute); font-size: .95rem; }

/* ===== Devis section ===== */
#devis { background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%); }
#vac6f0118e8d { background: #fff; border: 2px solid var(--primary); border-radius: 18px; padding: 28px; min-height: 440px; box-shadow: 0 20px 50px rgba(99,102,241,.15); }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 32px 0; }
.gallery-grid figure { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; position: relative; box-shadow: 0 4px 16px rgba(15,23,42,.08); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-grid figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 16px 14px; background: linear-gradient(to top, rgba(15,23,42,.85), transparent); color: #fff; font-weight: 700; font-size: .92rem; font-family: 'Outfit', sans-serif; }

/* ===== Stats band ===== */
.stats-band { background: linear-gradient(135deg, var(--primary) 0%, var(--pink) 100%); color: #fff; padding: 60px 0; }
.stats-band .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; text-align: center; }
.stats-band .stat .num { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; }
.stats-band .stat .label { font-size: .9rem; opacity: .9; margin-top: 8px; letter-spacing: .04em; text-transform: uppercase; }

/* ===== Footer ===== */
footer { background: #0f172a; color: #94a3b8; padding: 60px 0 30px; }
footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer h3, footer strong { color: #fff; font-family: 'Outfit', sans-serif; }
footer a { color: #cbd5e1; text-decoration: none; font-size: .93rem; }
footer a:hover { color: var(--accent); }
footer .toiture-bridge { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .85rem; opacity: .75; margin-top: 36px; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  header nav { flex-direction: column; align-items: stretch; }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 70px 0 80px; }
  .trust-bar { gap: 20px; }
}

/* Hero context : ghost button must be visible on dark gradient (auto-patched 2026-05-11) */
.hero .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.7) !important; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.15) !important; border-color: #fff !important; color: #fff !important; }

