/* BASALTE-WEB — Direction visuelle, novembre 2026.
   Couche commune et additive : les visuels, le contenu et les scripts d'origine sont conservés. */
:root{
  --bg:#080c09;
  --bg-deep:#050806;
  --bg-soft:#0c100d;
  --card:#111713;
  --card2:#161d17;
  --card-hover:#19211a;
  --line:rgba(222,235,222,.13);
  --line-strong:rgba(156,200,77,.36);
  --text:#f7f9f5;
  --muted:#c0c9bf;
  --soft:#9aa69a;
  --green:#92bd45;
  --green2:#b3df68;
  --green-light:#b3df68;
  --green-dark:#506d22;
  --shadow:0 20px 58px rgba(0,0,0,.32);
  --shadow-soft:0 12px 32px rgba(0,0,0,.18);
  --radius:20px;
  --radius-small:12px;
  --header-height:82px;
  --max:1200px;
}
html{scroll-padding-top:100px}
body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:radial-gradient(ellipse at 9% 0%,rgba(141,182,63,.075),transparent 40%),linear-gradient(180deg,#0b100c 0%,#080b09 38%,#080c09 100%);
  color:var(--text);line-height:1.65;
}
::selection{background:#b3df68;color:#111a0c}
.container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}
main>.container{min-width:0}
main section>.container{min-width:0}
main section{padding-block:clamp(44px,5.6vw,76px)}
main section:first-child{padding-block:clamp(48px,6.6vw,96px)}
main h1{font-size:clamp(37px,4.2vw,64px);line-height:1.06;letter-spacing:-.048em;font-weight:800;overflow-wrap:break-word}
main h2{line-height:1.16;letter-spacing:-.034em;font-weight:780;overflow-wrap:break-word}
main h3{line-height:1.25;letter-spacing:-.018em;overflow-wrap:break-word}
main .eyebrow{font-size:11px;font-weight:850;letter-spacing:.145em;color:var(--green-light);margin-bottom:13px}
main .lead{font-size:clamp(17px,1.55vw,20px);line-height:1.65;color:#e0e7dc}
main .section-title{margin-bottom:clamp(24px,3vw,34px);gap:22px}
main .section-title h2{font-size:clamp(29px,3.15vw,43px);line-height:1.13}
main .section-title p{line-height:1.65}
main .hero-note{color:#c0c9bf}
main .locations{gap:8px;margin-block:20px 28px}
main .pill{font-size:12px;font-weight:700;letter-spacing:.01em;padding:6px 12px;background:rgba(13,23,13,.65);border-color:rgba(174,209,127,.3)}
/* En-tête : mêmes proportions sur toutes les pages. */
.topbar{
  background:rgba(8,12,9,.94);
  border-bottom:1px solid rgba(200,218,191,.14);
  box-shadow:0 6px 24px rgba(0,0,0,.13);
  backdrop-filter:blur(16px);
}
.topbar .nav{min-height:82px;gap:14px}
.topbar .logo{flex:none}
.topbar .logo img{height:64px;width:auto;max-width:180px;object-fit:contain}
.topbar .menu{font-weight:680;gap:17px;font-size:13px}
.topbar .menu a:not(.btn){color:#e3e9e1;opacity:1}
.topbar .menu a.active:not(.btn),.topbar .menu a:not(.btn):hover{color:var(--green-light)}
.topbar .menu a.active:not(.btn)::after{bottom:-11px;background:var(--green-light);border-radius:8px;height:2px}
.topbar .menu .btn.active::after{display:none}
.topbar .menu a.btn{padding:11px 15px;min-height:42px}
.topbar .burger{width:44px;height:44px;padding:8px;background:#111a13;border:1px solid var(--line);border-radius:10px;flex-shrink:0}
/* Boutons : hiérarchie claire et zones tactiles confortables. */
.btn{
  min-height:46px;max-width:100%;
  border-radius:9px;padding:12px 20px;font-size:13px;letter-spacing:.025em;font-weight:800;
  text-align:center;line-height:1.35;
}
.btn.primary{
  color:#14200c;
  background:linear-gradient(135deg,#a4d359,#b8e271);
  border-color:transparent;
  box-shadow:0 5px 16px rgba(152,200,75,.12);
}
.btn.secondary{background:rgba(255,255,255,.035);border-color:rgba(210,230,196,.24);color:#f4f7f2}
.btn:hover{box-shadow:0 8px 24px rgba(141,182,63,.19)}
:where(a,button,input,textarea,select,summary):focus-visible{outline:2px solid #b3df68;outline-offset:4px}
main .hero-actions{gap:12px}
main .hero-actions .btn{min-width:0}
/* Surfaces sans image : on n'écrase aucun background-image existant. */
main :is(.principle,.focus-card,.proof,.card,.audience,.sector,.example,.signature-project,.offer-detail,.maintenance-item,.choice-item,.faq-mini article,.portfolio-project,.demo-card,.coming-card,.main-sector-card,.nearby-item,.seo-item,.about-hero-panel,.method-item,.faq-item,.contact-panel,.contact-point,.contact-form-box,.quote-form-card,.info-card,.trust-item,.text-card,.business-card,.legal-card){
  border-radius:var(--radius);
  border-color:var(--line);
  box-shadow:var(--shadow-soft);
}
main :is(.principle,.focus-card,.proof,.card,.audience,.maintenance-item,.choice-item,.faq-mini article,.nearby-item,.seo-item,.method-item,.faq-item,.contact-point,.info-card,.trust-item,.text-card,.business-card,.legal-card){
  background-color:#101612;
}
main :is(.principle,.focus-card,.proof,.card,.audience,.maintenance-item,.choice-item,.faq-mini article,.nearby-item,.seo-item,.method-item,.faq-item,.contact-point,.info-card,.trust-item,.text-card,.business-card,.legal-card) p{color:var(--muted)}
main :is(.principle,.focus-card,.proof,.card,.audience,.maintenance-item,.choice-item,.faq-mini article,.nearby-item,.seo-item,.method-item,.contact-point,.info-card,.trust-item,.text-card,.business-card,.legal-card) strong{line-height:1.3}
main .card.popular,main .offer-detail.visual-premium{border-color:rgba(179,223,104,.58);box-shadow:0 10px 38px rgba(141,182,63,.10)}
main .price{font-variant-numeric:tabular-nums;letter-spacing:-.045em}
main .tag{background:#b3df68;color:#14200c;font-size:10px;letter-spacing:.04em}
main .principle-number,main .focus-index,main .num,main .process-number{border-color:rgba(179,223,104,.38);background:rgba(141,182,63,.08)}
main .focus-card.large{border-color:rgba(179,223,104,.24)}
main .proof{padding:17px 18px}
main .proof strong{font-size:20px;color:#f2f7ed}
main .proof span{font-size:12px}
main .example-img,main .offer-visual{filter:saturate(.95)}
main .example h3{font-size:18px}
main .portfolio-project{border-color:rgba(222,235,222,.16)}
/* Les champs gardent leur structure et leur comportement natifs. */
main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){
  border-radius:10px;
  border-color:rgba(216,233,212,.23);
  background-color:#0a100c;
  color:#f7f9f5;
}
main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea):focus{
  border-color:#a6d45e;box-shadow:0 0 0 3px rgba(166,212,94,.12);
}
main :is(input,textarea)::placeholder{color:#9ba99b}
main .comparison-wrap{max-width:100%;overflow-x:auto}
main .comparison th{background-color:#101910}
main .comparison td,main .comparison th{border-bottom-color:rgba(222,235,222,.12)}
/* Accueil : respiration du nouveau visuel, sans changer l'image du héros. */
.home-page .hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(30px,4.5vw,64px)}
.home-page .hero h1{max-width:16ch}
.home-page .hero-showcase{border-color:rgba(198,218,190,.23);box-shadow:0 22px 60px rgba(0,0,0,.43),0 0 28px rgba(141,182,63,.085)}
.home-page .proof-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.home-page .offers{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home-page .offers .card{padding:25px 20px}
.home-page .offers .price{font-size:clamp(23px,2.4vw,32px)}
.home-page .principles,.home-page .examples{grid-template-columns:repeat(4,minmax(0,1fr))}
.home-page .editorial{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
/* Bas de page. */
footer{background:#060a07;border-top-color:rgba(222,235,222,.12);padding-block:50px 24px}
footer img{height:66px;max-width:100%;width:auto;object-fit:contain;object-position:left center}
footer h3{font-size:14px;letter-spacing:.025em;font-weight:800;color:#f7f9f5}
footer a,footer p,footer span{line-height:1.55}
footer a:hover{color:var(--green-light)}
footer .legal{font-size:12px;color:var(--soft)}
.footer-grid>*{min-width:0;overflow-wrap:anywhere}
@media(min-width:1181px) and (max-width:1280px){.topbar .menu{gap:13px;font-size:12px}.topbar .logo img{height:60px}}
@media(max-width:1180px){
  .topbar .nav{min-height:76px}
  .topbar .logo img{height:58px}
  .topbar .burger{display:block}
  .topbar .menu{
    display:none;position:absolute;top:100%;left:16px;right:16px;flex-direction:column;align-items:stretch;
    gap:2px;padding:12px;background:#101612;border:1px solid rgba(222,235,222,.19);border-radius:0 0 16px 16px;
    box-shadow:0 18px 35px rgba(0,0,0,.45);max-height:calc(100vh - 82px);max-height:calc(100dvh - 82px);overflow-y:auto;overscroll-behavior:contain
  }
  .topbar .menu.open{display:flex}
  .topbar .menu a:not(.btn){display:block;padding:12px;min-height:44px;border-radius:8px;font-size:15px}
  .topbar .menu a.active:not(.btn){background:rgba(179,223,104,.08)}
  .topbar .menu a.active::after{display:none}
  .topbar .menu .btn{width:100%;margin-top:7px;min-height:46px}
}
@media(max-width:980px){
  .container{width:min(var(--max),calc(100% - 36px))}
  main .section-title{align-items:flex-start}
  .home-page .hero-grid,.home-page .editorial{grid-template-columns:minmax(0,1fr)}
  .home-page .hero h1{max-width:21ch}
  .home-page .offers,.home-page .principles,.home-page .examples{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:641px) and (max-width:980px){
  .home-page .offers .price{font-size:30px}
}
@media(max-width:640px){
  html{scroll-padding-top:76px}
  .container{width:min(var(--max),calc(100% - 28px))}
  .topbar .nav{min-height:68px}
  .topbar .logo img{height:51px;max-width:150px}
  .topbar .menu{left:10px;right:10px;max-height:calc(100vh - 70px);max-height:calc(100dvh - 70px)}
  main section{padding-block:38px}
  main section:first-child{padding-block:42px}
  main h1{font-size:clamp(33px,9vw,45px);line-height:1.08;letter-spacing:-.04em;margin-bottom:19px}
  main .lead{font-size:17px}
  main .section-title{display:flex;flex-direction:column;align-items:stretch;gap:10px}
  main .section-title h2{font-size:clamp(27px,7vw,34px)}
  main .section-title p,main .section-title .btn{margin-top:0}
  main .hero-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  main .hero-actions .btn{width:100%}
  .home-page .proof-row,.home-page .offers,.home-page .principles,.home-page .examples{grid-template-columns:minmax(0,1fr)}
  .home-page .offers .price{font-size:30px}
  main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:16px}
  footer{padding-block:36px 20px}
  footer img{height:54px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn,.topbar,.menu a{transition:none}
  .btn:hover{transform:none}
}

/* Pictogrammes de contenu, même dessin vectoriel sur toutes les pages. */
.bw-picto{display:block;width:21px;height:21px;flex-shrink:0;pointer-events:none}
main .bw-picto-badge{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border:1px solid rgba(179,223,104,.31);border-radius:11px;background:rgba(141,182,63,.095);color:var(--green-light,#b3df68);line-height:1}
main .focus-item .bw-picto-badge{width:42px;height:42px}
main .process-number.bw-picto-badge,main .contact-start-steps li>span.bw-picto-badge{width:34px;height:34px;flex-basis:34px;border-radius:10px}
main .process-number .bw-picto,main .contact-start-steps .bw-picto{width:19px;height:19px}
main .testimonial .quote.bw-picto-badge{margin-bottom:16px;width:44px;height:44px}
main .method-item>span.bw-picto-badge{width:40px;height:40px;border-radius:11px;margin-bottom:16px}
main .principle-number.bw-picto-label{display:flex;align-items:center;gap:12px;background:none;border:0;border-radius:0;width:auto;height:auto;letter-spacing:.1em;color:var(--green-light,#b3df68)}
main .bw-step-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);border:0}

/* Pictos compacts : tailles bornées, indépendantes de la largeur des cartes. */
main svg.bw-picto{display:block;width:18px!important;height:18px!important;max-width:18px;max-height:18px;flex:0 0 18px;stroke-width:1.55;pointer-events:none}
main .bw-picto-badge{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:36px!important;height:36px!important;max-width:36px;max-height:36px;flex-shrink:0;border:1px solid rgba(179,223,104,.19);border-radius:9px;background:rgba(141,182,63,.065);color:#aed46e;line-height:1}
main .focus-item .bw-picto-badge{width:36px!important;height:36px!important}
main .process-number.bw-picto-badge,main .contact-start-steps li>span.bw-picto-badge{width:34px!important;height:34px!important;flex-basis:34px}
main .testimonial .quote.bw-picto-badge{margin-bottom:14px}
main .method-item>span.bw-picto-badge{margin-bottom:13px}
main .principle-number.bw-picto-label{display:flex;align-items:center;gap:10px;margin-bottom:18px;font-size:11px;font-weight:800;letter-spacing:.1em;background:none;border:0;width:auto;height:auto}
main .bw-picto-label .bw-picto-badge{width:32px!important;height:32px!important;flex-basis:32px}
main .bw-picto-label svg.bw-picto{width:17px!important;height:17px!important;max-width:17px;max-height:17px;flex-basis:17px}
