:root{
  --bg:#ffffff;
  --surface:#f3f8fc;
  --surface-2:#e9f2f9;
  --ink:#0b2236;
  --muted:#5a6b7b;
  --brand:#0e7cc4;
  --brand-dark:#0a5d96;
  --brand-soft:#d9edf9;
  --whatsapp:#25d366;
  --whatsapp-dark:#1da851;
  --gold:#f5a623;
  --line:#e2eaf1;
  --radius:16px;
  --shadow:0 10px 30px rgba(11,34,54,.08);
  --shadow-sm:0 4px 14px rgba(11,34,54,.07);
  --max:1140px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;color-scheme:only light}
body{color-scheme:only light}
body{
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased;
}
h1,h2,h3{line-height:1.15;letter-spacing:-.02em}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:600;
  padding:.85rem 1.4rem;border-radius:999px;border:1px solid transparent;cursor:pointer;
  font-size:1rem;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;white-space:nowrap}
.btn:hover{transform:translateY(-2px)}
.btn-sm{padding:.6rem 1.05rem;font-size:.92rem}
.btn-xs{padding:.4rem .9rem;font-size:.85rem}
.btn-block{width:100%}
.btn-primary{background:var(--brand);color:#fff;box-shadow:0 8px 20px rgba(14,124,196,.28)}
.btn-primary:hover{background:var(--brand-dark)}
.btn-whatsapp{background:linear-gradient(180deg,#2bd96e,#20bd5a);color:#fff;box-shadow:0 6px 18px rgba(30,168,81,.30)}
.btn-whatsapp:hover{background:linear-gradient(180deg,#28cd66,#1da851)}
.btn-whatsapp .ic{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.btn-whatsapp .ic svg{width:22px;height:22px}
.btn-light{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-light:hover{background:var(--surface)}

/* Topbar defilant */
.topbar{background:var(--brand-dark);color:#fff;font-size:.85rem;overflow:hidden;padding:.5rem 0}
.topbar a{color:#fff;font-weight:600}
.marquee{display:flex;overflow:hidden;width:100%}
.marquee-track{display:flex;width:max-content;animation:marquee 32s linear infinite}
.topbar:hover .marquee-track{animation-play-state:paused}
.marquee-group{display:flex;flex-shrink:0}
.marquee-item{display:inline-flex;align-items:center;padding:0 1.5rem;position:relative;white-space:nowrap}
.marquee-item::after{content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.45)}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.marquee-track{animation-duration:90s}}

/* Header */
.site-top{position:sticky;top:0;z-index:60}
.header{position:relative;z-index:50;display:flex;align-items:center;gap:1.5rem;
  padding:.7rem clamp(1rem,4vw,2rem);background:rgba(255,255,255,.92);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:.55rem;font-size:1.1rem}
.brand-text{letter-spacing:-.01em}
.brand-text strong{color:var(--brand)}
.brand-logo{width:38px;height:auto;display:block}
.vinnovia-link{color:#4db6f0;font-weight:700}
.vinnovia-link:hover{color:#7fccf5;text-decoration:underline}
.nav{display:flex;gap:1.4rem;margin-left:auto;font-size:.95rem;font-weight:500;color:var(--muted)}
.nav a:hover{color:var(--brand)}
.header .btn{margin-left:auto}

/* Hero */
.hero{padding:clamp(2.5rem,6vw,4.5rem) clamp(1rem,4vw,2rem) 0;max-width:var(--max);margin:0 auto}
.hero-inner{display:grid;column-gap:clamp(1.5rem,4vw,3.5rem);row-gap:.4rem;align-items:center;
  grid-template-columns:1.05fr .95fr;
  grid-template-areas:"eyebrow media" "title media" "lede media" "cta media" "phone media"}
.hero .eyebrow{grid-area:eyebrow;align-self:end}
.hero h1{grid-area:title}
.hero .lede{grid-area:lede}
.hero-cta{grid-area:cta}
.hero-phone{grid-area:phone;align-self:start}
.hero-media{grid-area:media;align-self:center}
.eyebrow{color:var(--brand);font-weight:600;font-size:.95rem;margin-bottom:1rem}
.hero h1{font-size:clamp(2rem,4.4vw,3.1rem);font-weight:800;margin-bottom:1.1rem}
.lede{font-size:clamp(1.05rem,1.6vw,1.2rem);color:var(--muted);margin-bottom:1.7rem;max-width:34ch}
.hero-cta{display:flex;gap:.8rem;flex-wrap:wrap}
.hero-phone{display:inline-block;margin-top:1.1rem;color:var(--muted);font-size:.98rem}
.hero-phone strong{color:var(--ink)}

.hero-media{position:relative}
.hero-photo{border-radius:24px;width:100%;height:480px;box-shadow:var(--shadow);overflow:hidden;object-fit:cover;object-position:50% 18%;display:block}
.placeholder-photo{background:linear-gradient(135deg,var(--surface-2),var(--brand-soft));
  display:flex;align-items:center;justify-content:center;text-align:center;color:var(--brand-dark);
  font-weight:600;border:2px dashed #9ec9e6}
.placeholder-photo small{font-weight:400;color:var(--muted)}
.hero-badge{position:absolute;bottom:-18px;left:-18px;background:#fff;border-radius:16px;
  box-shadow:var(--shadow);padding:.8rem 1.1rem;display:flex;flex-direction:column;align-items:flex-start}
.hero-badge>strong{font-size:1.6rem;line-height:1}
.hero-badge .stars{color:var(--gold);font-size:.9rem;letter-spacing:1px}
.hero-badge-sub{font-size:.8rem;color:var(--muted)}

.trustbar{list-style:none;display:flex;flex-wrap:wrap;gap:.7rem 2rem;justify-content:center;
  margin:clamp(2.5rem,5vw,3.5rem) 0 0;padding:1.2rem 1rem;border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);color:var(--muted);font-weight:600;font-size:.95rem}
.trustbar li{display:flex;align-items:center;gap:.5rem}
.trustbar li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brand)}

/* Sections */
.section{max-width:var(--max);margin:0 auto;padding:clamp(3rem,6vw,5rem) clamp(1rem,4vw,2rem)}
.section-alt{background:var(--surface);max-width:none}
.section-alt>*{max-width:var(--max);margin-left:auto;margin-right:auto}
.section-title{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;text-align:center;margin-bottom:2.2rem}
.section-title.left{text-align:left}
.section-note{text-align:center;color:var(--muted);max-width:62ch;margin:1.5rem auto 0}
.section-note a{color:var(--brand);font-weight:600}
.center{text-align:center;margin-top:1.6rem}

/* Cards */
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.9rem;
  box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .18s ease}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.card-icon{font-size:1.6rem;margin-bottom:.7rem}
.feature-icon{display:inline-flex;width:58px;height:58px;border-radius:16px;
  background:linear-gradient(135deg,var(--brand),var(--brand-dark));color:#fff;
  align-items:center;justify-content:center;margin-bottom:1.1rem;box-shadow:0 8px 18px rgba(14,124,196,.28)}
.feature-icon svg{width:28px;height:28px}
.card h3{font-size:1.2rem;margin-bottom:.5rem}
.card p{color:var(--muted)}
.service h3{color:var(--brand-dark)}

/* Realisations */
.realisation-feature{max-width:720px;margin:2.8rem auto 0;border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow-sm);background:#fff;border:1px solid var(--line)}
.realisation-feature img{width:100%;height:auto;display:block}
.realisation-feature figcaption{padding:.9rem 1.2rem;color:var(--muted);font-size:.95rem;text-align:center}
.ba-title{text-align:center;font-size:1.2rem;margin-top:2.6rem;margin-bottom:1.2rem}
.beforeafter{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:1.4rem;max-width:1060px;margin:0 auto}
.ba{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--line);margin:0}
.ba img{width:100%;height:auto;display:block}
.ba-tag{position:absolute;top:.7rem;left:.7rem;background:rgba(11,34,54,.82);color:#fff;font-size:.78rem;
  font-weight:600;padding:.3rem .75rem;border-radius:999px}
.ba-tag.after{background:var(--brand)}

/* Bande photo */
.photo-band-fig{margin:0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);position:relative}
.photo-band-fig img{width:100%;height:400px;object-fit:cover;object-position:center 22%;display:block}
.photo-band-fig figcaption{position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(transparent,rgba(11,34,54,.78));color:#fff;padding:3rem 1.5rem 1.2rem;
  font-weight:600;font-size:1.05rem}

/* Affichage selon appareil (mobile = WhatsApp, desktop = formulaire) */
@media (min-width:821px){ .only-mobile{display:none !important} }
@media (max-width:820px){ .only-desktop{display:none !important} }

/* Carrousel de realisations (defilant) */
.gallery{overflow:hidden;margin-top:2.8rem}
.gallery-track{display:flex;gap:1rem;width:max-content;animation:gallery-scroll 60s linear infinite}
.gallery:hover .gallery-track{animation-play-state:paused}
.gallery-track img{height:240px;width:auto;border-radius:14px;display:block;box-shadow:var(--shadow-sm);flex-shrink:0}
@keyframes gallery-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.gallery-track{animation-duration:200s}}
@media (max-width:820px){
  .gallery{overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
  .gallery-track{animation:none}
  .gallery-track img{scroll-snap-align:center}
}

/* Offre du moment */
.offer-card{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1.6rem;align-items:center;max-width:1000px;
  margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:1.9rem}
.offer-name h3{font-size:1.25rem;color:var(--ink)}
.offer-media img{width:100%;height:auto;border-radius:12px;display:block}
.offer-from{color:var(--muted);font-size:.95rem}
.offer-amount{font-size:1.9rem;font-weight:800;color:var(--brand-dark);margin-bottom:.5rem}
.offer-list{list-style:none;margin:.4rem 0 1rem;padding:0}
.offer-list li{padding:.3rem 0 .3rem 1.5rem;position:relative;color:var(--muted);font-size:.92rem}
.offer-list li::before{content:"\2713";position:absolute;left:0;color:var(--brand);font-weight:800}
@media (max-width:760px){ .offer-card{grid-template-columns:1fr;text-align:center} .offer-list{text-align:left;display:inline-block} }

/* Formulaire devis (desktop) */
.devis-form{background:#fff;border-radius:16px;padding:1.7rem;max-width:520px;margin:0 auto;text-align:left;box-shadow:var(--shadow)}
.devis-form label{display:block;font-weight:600;font-size:.9rem;color:var(--ink);margin-bottom:.8rem}
.devis-form input,.devis-form textarea{width:100%;margin-top:.3rem;padding:.7rem .85rem;border:1px solid var(--line);
  border-radius:10px;font:inherit;background:var(--surface);color:var(--ink)}
.devis-form input:focus,.devis-form textarea:focus{outline:2px solid var(--brand);background:#fff}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.form-note{font-size:.8rem;color:var(--muted);text-align:center;margin-top:.8rem;font-weight:400}
@media (max-width:480px){ .form-row{grid-template-columns:1fr} }

/* Bandeau marques */
.brands{overflow:hidden;margin-top:1rem}
.brands-track{display:flex;align-items:center;width:max-content;animation:brands-scroll 38s linear infinite}
.brands:hover .brands-track{animation-play-state:paused}
.brands-track img{height:44px;width:auto;object-fit:contain;flex-shrink:0;margin:0 2.4rem}
@keyframes brands-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.brands-track{animation-duration:160s}}

/* Badge Qualipac */
.qualipac-badge{display:block;width:150px;height:auto;margin-top:1.6rem;border-radius:8px}
.hero-media{position:relative}
.hero-qualipac{position:absolute;bottom:-16px;left:-16px;width:118px;height:auto;background:#fff;
  padding:6px;border-radius:12px;box-shadow:var(--shadow)}
@media (max-width:880px){ .hero-qualipac{width:96px;left:0;bottom:-12px} }

/* Steps */
.steps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;counter-reset:s}
.steps li{display:flex;flex-direction:column;gap:.7rem}
.step-num{width:42px;height:42px;border-radius:50%;background:var(--brand);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem}
.steps h3{font-size:1.08rem}
.steps p{color:var(--muted)}

/* Rating */
.rating-head{display:flex;align-items:center;gap:.7rem;justify-content:center;margin-bottom:2rem;font-weight:600}
.rating-head>strong{font-size:1.8rem;color:var(--ink)}
.stars{color:var(--gold);display:inline-flex;align-items:center;gap:1px;line-height:0}
.stars.sm{display:block;line-height:1;letter-spacing:2px}
.review-text{font-style:italic;margin:.5rem 0 .9rem}
.review-author{font-weight:600;color:var(--ink)}

/* Split */
.split{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.split p{color:var(--muted);margin-bottom:1rem}
.accent-line{color:var(--brand-dark)!important;font-weight:700;font-size:1.1rem}
.checklist{list-style:none;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.6rem;box-shadow:var(--shadow-sm)}
.checklist li{padding:.6rem 0 .6rem 2rem;position:relative;border-bottom:1px solid var(--line)}
.checklist li:last-child{border-bottom:0}
.checklist li::before{content:"\2713";position:absolute;left:0;color:var(--brand);font-weight:800}

/* Pricebox */
.pricebox{max-width:460px;margin:2rem auto 0;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}
.pricebox-row{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.4rem;
  border-bottom:1px solid var(--line)}
.pricebox-row:last-child{border-bottom:0}
.pricebox-row.note{background:var(--surface);color:var(--brand-dark)}
.pricebox-row span{color:var(--muted)}
.pricebox-row strong{font-size:1.1rem}

/* FAQ */
.faq{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:.7rem}
.faq details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:.2rem 1.2rem}
.faq summary{cursor:pointer;font-weight:600;padding:1rem 0;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--brand);font-size:1.4rem;font-weight:400}
.faq details[open] summary::after{content:"\2212"}
.faq details p{color:var(--muted);padding-bottom:1rem}

/* Bouton large */
.btn-lg{padding:1.05rem 1.8rem;font-size:1.1rem}

/* CTA final */
.cta-final{max-width:none;background:linear-gradient(135deg,var(--brand-dark),var(--brand))}
.cta-box{max-width:640px;margin:0 auto;text-align:center;color:#fff}
.cta-box h2{font-size:clamp(1.7rem,3vw,2.3rem);font-weight:800;margin-bottom:.8rem}
.cta-box>p{opacity:.95;margin-bottom:1.6rem;font-size:1.1rem}
.cta-phone{margin-top:1.2rem;opacity:.95}
.cta-phone a{color:#fff;border-bottom:1px solid rgba(255,255,255,.5)}
.cta-grid{max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(1.5rem,4vw,3rem);align-items:center}
.cta-text{color:#fff}
.cta-text h2{font-size:clamp(1.7rem,3vw,2.3rem);font-weight:800;margin-bottom:.8rem}
.cta-text p{opacity:.92;margin-bottom:1.4rem;font-size:1.1rem}
.cta-buttons{display:flex;gap:.8rem;flex-wrap:wrap}

/* Form */
.devis-form{background:#fff;border-radius:20px;padding:1.8rem;box-shadow:var(--shadow)}
.devis-form h3{font-size:1.3rem;margin-bottom:1.1rem}
.devis-form label{display:block;font-weight:600;font-size:.9rem;margin-bottom:.9rem}
.devis-form input,.devis-form textarea{width:100%;margin-top:.35rem;padding:.75rem .9rem;
  border:1px solid var(--line);border-radius:10px;font:inherit;background:var(--surface)}
.devis-form input:focus,.devis-form textarea:focus{outline:2px solid var(--brand);background:#fff}
.form-reassure{font-size:.82rem;color:var(--muted);text-align:center;margin-top:.9rem;font-weight:400}
.hidden-field{display:none}

/* Footer */
.footer{background:var(--ink);color:#cdd9e3;padding:3rem clamp(1rem,4vw,2rem) 1.5rem}
.footer-grid{max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.footer-grid p{margin-bottom:.35rem;font-size:.92rem}
.footer-brand{font-weight:700;color:#fff;font-size:1.1rem;margin-bottom:.6rem}
.footer-grid a:hover{color:#fff;text-decoration:underline}
.footer-bottom{max-width:var(--max);margin:2rem auto 0;padding-top:1.3rem;
  border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:1rem;
  flex-wrap:wrap;font-size:.85rem;color:#90a3b3}
.footer-bottom a{color:#cdd9e3;font-weight:600}

/* Mobile sticky bar */
.mobile-bar{display:none;position:fixed;bottom:0;left:0;right:0;z-index:60;gap:.6rem;
  padding:.6rem;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-top:1px solid var(--line)}
.mobile-bar .btn{flex:1}

/* Cookie banner */
.cookie{position:fixed;left:0;right:0;bottom:0;z-index:70;background:#fff;border-top:1px solid var(--line);
  box-shadow:0 -4px 14px rgba(11,34,54,.07);display:flex;align-items:center;justify-content:center;
  gap:1.2rem;padding:.55rem 1.2rem}
.cookie[hidden]{display:none}
body.cookie-open{padding-bottom:70px}
.cookie p{font-size:.85rem;color:var(--muted);margin:0}
.cookie-actions{display:flex;gap:.5rem;flex-shrink:0}

/* Modale QR WhatsApp */
.modal{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:1rem}
.modal[hidden]{display:none}
.modal-backdrop{position:absolute;inset:0;background:rgba(11,34,54,.55)}
.modal-card{position:relative;background:#fff;border-radius:20px;box-shadow:var(--shadow);
  max-width:360px;width:100%;padding:2.2rem 1.8rem 1.8rem;text-align:center}
.modal-card h3{font-size:1.25rem;margin-bottom:.6rem}
.modal-card>p{color:var(--muted);font-size:.95rem;margin-bottom:1.2rem}
.qr-img{width:220px;height:220px;margin:0 auto;border:1px solid var(--line);border-radius:12px;padding:8px;background:#fff}
.modal-link{display:inline-block;margin-top:1.1rem;color:var(--brand);font-weight:600}
.modal-close{position:absolute;top:.8rem;right:.8rem;background:var(--surface);border:none;width:34px;height:34px;
  border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink)}
.modal-close:hover{background:var(--surface-2)}

/* Responsive */
@media (max-width:880px){
  .nav{display:none}
  .hero-inner{grid-template-columns:1fr;
    grid-template-areas:"title" "media" "eyebrow" "lede" "cta" "phone"}
  .hero .eyebrow{align-self:auto}
  .hero-media{max-width:460px;justify-self:center}
  .hero-photo{height:340px}
  .lede{max-width:none}
  .cards-3{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr}
  .beforeafter{grid-template-columns:1fr}
  .cta-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr;gap:1.5rem}
  .mobile-bar{display:flex}
  body{padding-bottom:4.5rem}
  body.cookie-open{padding-bottom:calc(4.5rem + 64px)}
  .cookie{bottom:4.2rem;gap:.7rem}
  .cookie p{font-size:.8rem}
}
@media (max-width:480px){
  .steps{grid-template-columns:1fr}
  .header .btn{display:none}
  .topbar{font-size:.78rem}
}
