/* ===========================================================
   Bringer & Business — feuille de style partagée
   Palette : noir profond / argent métallique / blanc
   =========================================================== */

:root{
  --black: #0a0a0b;
  --black-soft: #131315;
  --panel: #17181b;
  --silver: #c7ccd1;
  --silver-bright: #eef1f3;
  --silver-line: rgba(199,204,209,0.25);
  --white: #f5f6f7;
  --muted: #9aa0a6;
  --radius: 14px;
  --max: 1160px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; background:var(--black);}
[id]{ scroll-margin-top:90px; }
body{
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Playfair Display', Georgia, serif;
  font-weight:600;
  color:var(--silver-bright);
  margin:0 0 .5em;
  letter-spacing:.01em;
}

p{color:var(--white); margin:0 0 1em;}
a{color:inherit;}

.container{max-width:var(--max); margin:0 auto; padding:0 32px;}

/* silver metallic text effect for accents */
.silver-text{
  background:linear-gradient(100deg,
    #8d939a 0%, #8d939a 40%,
    #ffffff 48%, #ffffff 52%,
    #8d939a 60%, #8d939a 100%);
  background-size:220% 100%;
  background-position:120% 0;
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  animation:silver-shimmer 5s ease-in-out infinite;
}
@keyframes silver-shimmer{
  0%{ background-position:160% 0; }
  50%{ background-position:-60% 0; }
  100%{ background-position:-60% 0; }
}
@media (prefers-reduced-motion: reduce){
  .silver-text{ animation:none; background-position:30% 0; }
}

/* silver metallic shimmer applied to logo marks via CSS mask */
.logo-shimmer{
  display:block;
  background:linear-gradient(100deg,
    #8d939a 0%, #8d939a 40%,
    #ffffff 48%, #ffffff 52%,
    #8d939a 60%, #8d939a 100%);
  background-size:220% 100%;
  background-position:120% 0;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center;
  -webkit-mask-size:contain; mask-size:contain;
  animation:silver-shimmer 5s ease-in-out infinite;
}
footer .foot-logo.logo-shimmer{
  max-width:340px; width:70%; aspect-ratio:2423/747; margin:0 auto 28px;
  -webkit-mask-image:url('assets/logo.png');
  mask-image:url('assets/logo.png');
}
@media (prefers-reduced-motion: reduce){
  .logo-shimmer{ animation:none; background-position:30% 0; }
}

/* hero logo: original black-panel artwork, with an animated silver highlight sweep on top */
.hero-logo-wrap{
  position:relative; display:block;
  max-width:560px; width:90%; margin:0 auto 28px;
  transition:transform .45s cubic-bezier(.22,1,.36,1), filter .45s ease;
  will-change:transform;
}
.hero-logo-wrap:hover{
  transform:scale(1.045);
  filter:drop-shadow(0 0 28px rgba(238,241,243,0.35));
}
.hero-logo-wrap .hero-logo{
  width:100%; display:block;
  border-radius:22px;
}
.hero-logo-shine{
  position:absolute; inset:0;
  -webkit-mask-image:url('assets/logo-hero-alpha.png');
  mask-image:url('assets/logo-hero-alpha.png');
  -webkit-mask-size:contain; mask-size:contain;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center;
  background:linear-gradient(100deg,
    transparent 0%, transparent 42%,
    rgba(255,255,255,0.85) 50%,
    transparent 58%, transparent 100%);
  background-size:220% 100%;
  background-position:120% 0;
  mix-blend-mode:screen;
  animation:silver-shimmer 5s ease-in-out infinite;
  pointer-events:none;
}
@media (prefers-reduced-motion: reduce){
  .hero-logo-shine{ animation:none; opacity:0; }
}

/* ---------- Header / nav ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(10,10,11,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--silver-line);
}
.nav{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; column-gap:24px;
  padding:14px 32px; max-width:var(--max); margin:0 auto;
}
.nav .logo{ grid-column:1; display:flex; justify-content:center; margin-left:-20px; }
.nav .logo img{height:40px; display:block;}
.nav-logo-wrap{
  position:relative; display:block;
  height:40px; width:130px;
  transition:transform .35s cubic-bezier(.22,1,.36,1), filter .35s ease;
}
.nav-logo-wrap img{ height:40px; display:block; }
.nav-logo-wrap:hover{
  transform:scale(1.08);
  filter:drop-shadow(0 0 14px rgba(238,241,243,0.35));
}
.nav-logo-fill{
  display:block;
  height:40px; width:130px;
  background:var(--silver-bright);
  -webkit-mask-image:url('assets/logo.png');
  mask-image:url('assets/logo.png');
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center;
  -webkit-mask-size:contain; mask-size:contain;
}
.nav-logo-shine{
  position:absolute; inset:0;
  -webkit-mask-image:url('assets/logo.png');
  mask-image:url('assets/logo.png');
  -webkit-mask-size:contain; mask-size:contain;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center;
  background:linear-gradient(100deg,
    transparent 0%, transparent 42%,
    rgba(255,255,255,0.9) 50%,
    transparent 58%, transparent 100%);
  background-size:220% 100%;
  background-position:160% 0;
  mix-blend-mode:screen;
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}
.nav-logo-wrap:hover .nav-logo-shine{
  opacity:1;
  animation:shine-sweep-once .9s ease-in-out;
}
@keyframes shine-sweep-once{
  0%{ background-position:160% 0; }
  100%{ background-position:-60% 0; }
}
@media (prefers-reduced-motion: reduce){
  .nav-logo-wrap{ transition:none; }
  .nav-logo-wrap:hover{ transform:none; filter:none; }
  .nav-logo-shine{ display:none; }
}
.nav ul{
  grid-column:2;
  list-style:none; display:flex; gap:22px; margin:0; padding:0;
}
.nav ul a{
  text-decoration:none; color:var(--white); font-size:14px; font-weight:500;
  padding-bottom:4px; position:relative; transition:color .2s;
  white-space:nowrap;
}
.nav ul a::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0;
  height:2px; background:var(--silver-bright);
  transform:scaleX(0); transform-origin:center;
  transition:transform .3s cubic-bezier(.2,.65,.3,1);
}
.nav ul a:hover::after, .nav ul a.active::after{ transform:scaleX(1); }
.nav ul a:hover, .nav ul a.active{ color:var(--silver-bright); }
.nav ul li{ position:relative; }
.nav ul li.has-dropdown > a, .nav ul li.has-dropdown > label{ display:inline-flex; align-items:center; gap:5px; cursor:pointer; }
.nav ul li.has-dropdown > label{ position:relative; padding-bottom:4px; }
.nav ul li.has-dropdown > label::before{
  content:"";
  position:absolute; left:0; right:0; bottom:0;
  height:2px; background:var(--silver-bright);
  transform:scaleX(0); transform-origin:center;
  transition:transform .3s cubic-bezier(.2,.65,.3,1);
}
.nav ul li.has-dropdown:hover > label::before,
.nav ul li.has-dropdown:focus-within > label::before{ transform:scaleX(1); }
.nav ul li.has-dropdown > a::after, .nav ul li.has-dropdown > label::after{
  content:''; width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px); opacity:.7; transition:transform .2s;
}
.nav ul li.has-dropdown:hover > a::after, .nav ul li.has-dropdown:hover > label::after{ transform:rotate(225deg) translateY(2px); }
.nav-check, .prod-check{ display:none; }
.dropdown-menu{
  position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(6px);
  background:rgba(12,12,13,0.98); border:1px solid var(--silver-line); border-radius:12px;
  padding:8px; min-width:230px; box-shadow:0 24px 48px rgba(0,0,0,0.5);
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .2s ease, transform .2s ease; z-index:80;
}
.nav ul li.has-dropdown:hover .dropdown-menu,
.nav ul li.has-dropdown:focus-within .dropdown-menu{
  opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(0);
}
.dropdown-menu a{
  display:block; padding:11px 14px; border-radius:8px; font-size:14px; font-weight:500;
  color:var(--white); text-decoration:none; white-space:nowrap; border-bottom:none;
}
.dropdown-menu a:hover{ background:rgba(255,255,255,0.06); color:var(--silver-bright); }
.nav-cta{
  grid-column:3; justify-self:end;
  background:linear-gradient(120deg,#e9ecef,#b7bdc4);
  color:#0a0a0b; font-weight:600; font-size:14px;
  padding:11px 22px; border-radius:999px; text-decoration:none;
  white-space:nowrap;
  box-shadow:0 4px 18px rgba(255,255,255,0.08);
  transition:transform .2s, box-shadow .2s;
}
.nav-cta:hover{ transform:translateY(-1px); box-shadow:0 6px 22px rgba(255,255,255,0.16); }
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px;
  width:40px; height:40px; border:1px solid var(--silver-line); border-radius:8px;
  cursor:pointer; background:none;
}
.nav-toggle span{ width:18px; height:1.5px; background:var(--white); display:block; transition:.2s; }

/* ---------- Hero ---------- */
.hero{
  padding:100px 32px 90px;
  text-align:center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(199,204,209,0.10), transparent 60%),
    var(--black);
  border-bottom:1px solid var(--silver-line);
}
.hero.hero-photo{
  --hero-photo:url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1920&q=80');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.80) 55%, var(--black) 100%),
    var(--hero-photo) center/cover no-repeat;
  border-bottom:none;
}
.hero img.hero-logo{
  max-width:560px; width:90%; margin:0 auto 28px; display:block;
  transition:transform .45s cubic-bezier(.22,1,.36,1), filter .45s ease;
  filter:drop-shadow(0 0 0 rgba(255,255,255,0));
  will-change:transform;
  border-radius:22px;
}
.hero img.hero-logo:hover{
  transform:scale(1.045);
  filter:drop-shadow(0 0 28px rgba(238,241,243,0.35));
}
.hero .eyebrow{
  text-transform:uppercase; letter-spacing:.18em; font-size:12px; color:var(--muted);
  margin-bottom:18px;
}
.hero p.lead{
  max-width:680px; margin:0 auto; font-size:19px; color:var(--silver);
}
.hero .cta-row{ margin-top:36px; display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

.btn{
  display:inline-block; padding:14px 28px; border-radius:999px; font-weight:600;
  font-size:15px; text-decoration:none; transition:.2s;
}
.btn-primary{
  background:linear-gradient(120deg,#eef1f3,#aab0b7);
  color:#0a0a0b;
  box-shadow:0 6px 24px rgba(255,255,255,0.10);
}
.btn-primary:hover{ transform:translateY(-1px); box-shadow:0 8px 28px rgba(255,255,255,0.18); }
.btn-outline{
  border:1.5px solid var(--silver-line); color:var(--silver-bright);
}
.btn-outline:hover{ border-color:var(--silver-bright); background:rgba(255,255,255,0.04); }

/* ---------- Page header (inner pages) ---------- */
.page-head{
  padding:76px 32px 56px; text-align:center;
  border-bottom:1px solid var(--silver-line);
  background:radial-gradient(ellipse at 50% -10%, rgba(199,204,209,0.08), transparent 60%);
}
.page-head .kicker{
  text-transform:uppercase; letter-spacing:.18em; font-size:12px; color:var(--muted); margin-bottom:14px;
}
.page-head h1{ font-size:38px; }
.page-head-subtitle{ font-size:17px; color:var(--silver); margin-top:10px; font-weight:400; letter-spacing:.02em; }
.page-head p{ max-width:640px; margin:14px auto 0; color:var(--silver); font-size:17px; }
.page-head-photo{
  --hero-photo:url('https://images.unsplash.com/photo-1776395159817-2c431529dab2?w=1920&q=80');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.72) 55%, var(--black) 100%),
    var(--hero-photo) center/cover no-repeat;
  border-bottom:none;
}
.page-head-photo .kicker{ color:var(--silver-bright); }
.page-head-photo-particulier{
  --hero-photo:url('https://images.unsplash.com/photo-1775590766317-8fd3ef7d721c?w=1920&q=80');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.72) 55%, var(--black) 100%),
    var(--hero-photo) center/cover no-repeat;
  border-bottom:none;
}
.page-head-photo-particulier .kicker{ color:var(--silver-bright); }

/* ---------- 404 page ---------- */
.error-section{
  min-height:calc(100vh - 220px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:130px 32px;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(199,204,209,0.10), transparent 60%),
    var(--black);
  border-bottom:1px solid var(--silver-line);
}
.error-section .kicker{
  text-transform:uppercase; letter-spacing:.18em; font-size:12px; color:var(--muted); margin-bottom:18px;
}
.error-code{
  font-family:'Playfair Display', Georgia, serif; font-weight:700;
  font-size:150px; line-height:1; margin:0 0 6px;
  letter-spacing:.01em;
}
.error-section h1{ font-size:30px; margin-bottom:14px; }
.error-section p.lead{
  max-width:520px; margin:0 auto 40px; color:var(--silver); font-size:17px;
}
.error-cta-row{
  display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:52px;
}
.error-quicklinks{
  display:flex; gap:12px; flex-wrap:wrap; justify-content:center; max-width:640px;
}
.error-quicklinks a{
  font-size:13.5px; color:var(--muted); text-decoration:none;
  border:1px solid var(--silver-line); padding:9px 18px; border-radius:999px;
  transition:color .25s ease, border-color .25s ease, background .25s ease;
}
.error-quicklinks a:hover{ color:var(--silver-bright); border-color:var(--silver-bright); background:rgba(255,255,255,0.04); }
.page-head-photo-professionnel{
  --hero-photo:url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1920&q=80');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.72) 55%, var(--black) 100%),
    var(--hero-photo) center/cover no-repeat;
  border-bottom:none;
}
.page-head-photo-professionnel .kicker{ color:var(--silver-bright); }
.page-head-photo-solaire{
  --hero-photo:url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1920&q=80');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.72) 55%, var(--black) 100%),
    var(--hero-photo) center/cover no-repeat;
  border-bottom:none;
}
.page-head-photo-solaire .kicker{ color:var(--silver-bright); }
.page-head-photo-climatisation{
  --hero-photo:url('assets/clim2.webp');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.72) 55%, var(--black) 100%),
    var(--hero-photo) center/cover no-repeat;
  border-bottom:none;
}
.page-head-photo-climatisation .kicker{ color:var(--silver-bright); }
.page-head-photo-pac{
  --hero-photo:url('assets/pompe.jpeg');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.72) 55%, var(--black) 100%),
    var(--hero-photo) center/cover no-repeat;
  border-bottom:none;
}
.page-head-photo-pac .kicker{ color:var(--silver-bright); }
.page-head-photo-ballon{
  --hero-photo:url('assets/ballon.jpeg');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.72) 55%, var(--black) 100%),
    var(--hero-photo) center/cover no-repeat;
  border-bottom:none;
}
.page-head-photo-ballon .kicker{ color:var(--silver-bright); }

.page-head-photo-iso{
  --hero-photo:url('assets/iso.jpg');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.72) 55%, var(--black) 100%),
    var(--hero-photo) center/cover no-repeat;
  border-bottom:none;
}
.page-head-photo-iso .kicker{ color:var(--silver-bright); }

.page-head-photo-recrutement{
  --hero-photo:url('assets/equipe.jpg');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.72) 55%, var(--black) 100%),
    var(--hero-photo) center/cover no-repeat;
  border-bottom:none;
}
.page-head-photo-recrutement .kicker{ color:var(--silver-bright); }

.page-head-photo-partenaire{
  --hero-photo:url('assets/reso.jpg');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.72) 55%, var(--black) 100%),
    var(--hero-photo) center/cover no-repeat;
  border-bottom:none;
}
.page-head-photo-partenaire .kicker{ color:var(--silver-bright); }

/* parallax slide effect on hero background photos (desktop only --
   background-attachment:fixed is unreliable on mobile browsers: on many
   mobile WebKit/Chrome builds it renders the photo blank instead of
   falling back gracefully, so mobile gets a JS-driven equivalent instead,
   see assets/parallax-mobile.js) */
@media (min-width:769px){
  .page-head-photo,
  .page-head-photo-particulier,
  .page-head-photo-professionnel,
  .page-head-photo-solaire,
  .page-head-photo-climatisation,
  .page-head-photo-pac,
  .page-head-photo-ballon,
  .page-head-photo-iso,
  .page-head-photo-recrutement,
  .page-head-photo-partenaire,
  .hero.hero-photo,
  .section-photo-pro{
    background-attachment:fixed;
  }
}

.split-photo{
  border-radius:var(--radius); overflow:hidden; border:1px solid var(--silver-line);
  height:100%; min-height:320px;
}
.split-photo img{ width:100%; height:100%; object-fit:cover; display:block; filter:grayscale(35%) brightness(.85); }
.banner-photo{
  max-width:var(--max); margin:0 auto 48px; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--silver-line); height:280px;
}
.banner-photo img{ width:100%; height:100%; object-fit:cover; display:block; filter:grayscale(35%) brightness(.85); }

/* ---------- Stats counters ---------- */
.stats-section{
  padding:18px 32px;
  background:var(--black-soft);
  border-top:1px solid var(--silver-line);
  border-bottom:1px solid var(--silver-line);
}
.stats-grid{
  max-width:640px; margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
  text-align:center;
}
.stat-item{
  opacity:0; transform:translateY(24px);
  transition:opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1);
}
.stat-item.revealed{ opacity:1; transform:translateY(0); }
.stat-item:nth-child(1){ transition-delay:0s; }
.stat-item:nth-child(2){ transition-delay:.1s; }
.stat-item:nth-child(3){ transition-delay:.2s; }
.stat-number{
  font-family:'Playfair Display', Georgia, serif;
  font-weight:600;
  font-size:32px;
  color:var(--silver-bright);
  line-height:1.1;
  margin-bottom:6px;
  font-variant-numeric:tabular-nums;
}
.stat-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
}
@media (max-width:900px){
  .stats-grid{ grid-template-columns:repeat(3,1fr); gap:16px 12px; }
  .stat-number{ font-size:22px; }
  .stat-label{ font-size:10px; letter-spacing:.04em; }
}
@media (prefers-reduced-motion: reduce){
  .stat-item{ opacity:1; transform:none; transition:none; }
}

/* ---------- Savings simulator ---------- */
.simulator-section{
  background:var(--black-soft);
  border-top:1px solid var(--silver-line);
  border-bottom:1px solid var(--silver-line);
}
.simulator-box{
  max-width:var(--max); margin:0 auto;
  background:var(--panel); border:1px solid var(--silver-line); border-radius:var(--radius);
  padding:48px; display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
}
.sim-field{ margin-bottom:30px; }
.sim-field:last-child{ margin-bottom:0; }
.sim-field label{
  display:block; font-size:14px; color:var(--silver); margin-bottom:12px;
}
.sim-field label span{ color:var(--silver-bright); font-weight:600; font-variant-numeric:tabular-nums; }
.select-wrap{ position:relative; }
.select-wrap::after{
  content:''; position:absolute; right:18px; top:50%; width:7px; height:7px;
  border-right:1.5px solid var(--silver); border-bottom:1.5px solid var(--silver);
  transform:translateY(-65%) rotate(45deg); pointer-events:none;
}
.simulator-box select{
  width:100%; padding:13px 16px; border-radius:10px; border:1px solid var(--silver-line);
  background:var(--black); color:var(--silver-bright); font-family:'Inter',sans-serif; font-size:15px;
  appearance:none; -webkit-appearance:none; -moz-appearance:none; padding-right:40px; cursor:pointer;
}
.simulator-box select:focus{ outline:none; border-color:var(--silver-bright); }
.simulator-box input[type=range]{
  -webkit-appearance:none; appearance:none; width:100%; height:4px; border-radius:2px;
  background:var(--silver-line); outline:none; display:block; margin-top:4px;
}
.simulator-box input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none; width:18px; height:18px; border-radius:50%;
  background:var(--silver-bright); cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,0.45);
  transition:transform .2s ease;
}
.simulator-box input[type=range]::-webkit-slider-thumb:hover{ transform:scale(1.15); }
.simulator-box input[type=range]::-moz-range-thumb{
  width:18px; height:18px; border-radius:50%; border:none;
  background:var(--silver-bright); cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,0.45);
}
.simulator-box input[type=range]::-moz-range-track{ height:4px; border-radius:2px; background:var(--silver-line); }

.simulator-result{ text-align:left; }
.sim-result-label{ text-transform:uppercase; letter-spacing:.14em; font-size:12px; color:var(--muted); margin-bottom:10px; }
.sim-result-value{
  font-family:'Playfair Display', Georgia, serif; font-weight:600; font-size:42px; color:var(--silver-bright);
  line-height:1.15; margin-bottom:8px; font-variant-numeric:tabular-nums;
}
.sim-result-sub{ color:var(--silver); font-size:14.5px; margin-bottom:26px; }
.sim-bars{ margin-bottom:28px; }
.sim-bar-row{ display:grid; grid-template-columns:140px 1fr 84px; align-items:center; gap:14px; margin-bottom:14px; }
.sim-bar-row:last-child{ margin-bottom:0; }
.sim-bar-label{ font-size:12.5px; color:var(--muted); }
.sim-bar-track{ height:9px; border-radius:6px; background:rgba(199,204,209,0.12); overflow:hidden; }
.sim-bar-fill{ height:100%; border-radius:6px; transition:width .6s cubic-bezier(.2,.65,.3,1); }
.sim-bar-before{ background:var(--muted); width:100%; }
.sim-bar-after{ background:linear-gradient(90deg, var(--silver), var(--silver-bright)); }
.sim-bar-amount{ font-size:12.5px; color:var(--silver-bright); text-align:right; font-variant-numeric:tabular-nums; }
.sim-disclaimer{ font-size:11.5px; color:var(--muted); margin-top:18px; line-height:1.55; }

@media (max-width:900px){
  .simulator-box{ grid-template-columns:1fr; gap:38px; padding:32px 24px; }
  .sim-result-value{ font-size:32px; }
  .sim-bar-row{ grid-template-columns:96px 1fr 70px; gap:8px; }
}

/* ---------- Sections ---------- */
section{ padding:88px 32px; }
section.alt{ background:var(--black-soft); }
.section-photo-pro{
  --hero-photo:url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1920&q=80');
  background:
    linear-gradient(180deg, rgba(10,10,11,0.35) 0%, rgba(10,10,11,0.55) 40%, rgba(10,10,11,0.88) 100%),
    var(--hero-photo) center/cover no-repeat;
}
.section-head{ text-align:center; max-width:680px; margin:0 auto 56px; }
.section-head .kicker{
  text-transform:uppercase; letter-spacing:.18em; font-size:12px; color:var(--muted); margin-bottom:12px;
}
.section-head h2{ font-size:32px; }
.section-head p{ color:var(--silver); }

/* card grid */
.grid-3{
  max-width:var(--max); margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.grid-4{
  max-width:var(--max); margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
.grid-2{
  max-width:var(--max); margin:0 auto;
  display:grid; grid-template-columns:repeat(2,1fr); gap:36px;
}

.card{
  background:var(--panel);
  border:1px solid var(--silver-line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .25s, border-color .25s, opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1);
}
.card:hover{ transform:translateY(-4px); border-color:rgba(238,241,243,0.45); }

/* scroll-reveal animation on product cards */
.grid-3 .card, .grid-4 .card{
  opacity:0;
  transform:translateY(36px);
  transition:opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1), border-color .25s;
}
.grid-3 .card.revealed, .grid-4 .card.revealed{ opacity:1; transform:translateY(0); }
.grid-3 .card.revealed:hover, .grid-4 .card.revealed:hover{ transform:translateY(-4px); }
.grid-3 .card:nth-child(1){ transition-delay:0s; }
.grid-3 .card:nth-child(2){ transition-delay:.15s; }
.grid-3 .card:nth-child(3){ transition-delay:.3s; }
.grid-4 .card:nth-child(1){ transition-delay:0s; }
.grid-4 .card:nth-child(2){ transition-delay:.12s; }
.grid-4 .card:nth-child(3){ transition-delay:.24s; }
.grid-4 .card:nth-child(4){ transition-delay:.36s; }
@media (prefers-reduced-motion: reduce){
  .grid-3 .card, .grid-4 .card{ opacity:1; transform:none; transition:none; }
}
.card .card-img{
  height:190px; width:100%; object-fit:cover; display:block; filter:grayscale(35%) brightness(.85);
  transition:transform .5s cubic-bezier(.2,.65,.3,1);
  transform-origin:center;
}
.card:hover .card-img{ transform:scale(1.08); }
.card .card-body{ padding:26px; }
.card h3{ font-size:20px; margin-bottom:12px; }
.card p{ color:var(--silver); font-size:15px; margin-bottom:20px; }
.card .btn{ padding:10px 20px; font-size:14px; }
@media (prefers-reduced-motion: reduce){
  .card:hover .card-img{ transform:none; }
}

/* icon list (avantages) */
.icon-list{ display:flex; flex-direction:column; gap:22px; }
.icon-item{ display:flex; gap:16px; align-items:flex-start; }
.icon-item .dot{
  flex:none; width:38px; height:38px; border-radius:50%;
  background:linear-gradient(135deg,#2a2b2f,#101012);
  border:1px solid var(--silver-line);
  display:flex; align-items:center; justify-content:center;
  color:var(--silver-bright); font-weight:700; font-size:14px;
}
.icon-item h4{ font-size:17px; margin-bottom:4px; }
.icon-item p{ color:var(--silver); font-size:15px; margin:0; }

/* steps */
.steps{ counter-reset:step; max-width:760px; margin:0 auto; position:relative; }
.steps::before{
  content:"";
  position:absolute;
  left:21px; top:26px; bottom:26px; width:2px;
  background:var(--silver-line);
  transform-origin:top;
  transform:scaleY(var(--line-progress, 0));
  transition:transform .1s linear;
  z-index:0;
}
.step{
  display:flex; gap:22px; padding:26px 0; border-bottom:1px solid var(--silver-line);
  position:relative; z-index:1;
  opacity:0; transform:translateX(-16px);
  transition:opacity .6s cubic-bezier(.2,.65,.3,1), transform .6s cubic-bezier(.2,.65,.3,1);
}
.step.revealed{ opacity:1; transform:translateX(0); }
.step:nth-child(1){ transition-delay:0s; }
.step:nth-child(2){ transition-delay:.1s; }
.step:nth-child(3){ transition-delay:.2s; }
.step:nth-child(4){ transition-delay:.3s; }
.step:nth-child(5){ transition-delay:.4s; }
.step:nth-child(6){ transition-delay:.5s; }
.step:last-child{ border-bottom:none; }
.step .num{
  counter-increment:step; flex:none;
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--silver-line);
  background:var(--panel);
  display:flex; align-items:center; justify-content:center;
  font-family:'Playfair Display',serif; font-size:18px; color:var(--silver-bright);
  position:relative; z-index:1;
}
.step .num::before{ content:counter(step); }
.step h4{ font-size:18px; margin-bottom:6px;}
.step p{ color:var(--silver); margin:0; font-size:15px;}
@media (prefers-reduced-motion: reduce){
  .step{ opacity:1; transform:none; transition:none; }
  .steps::before{ transform:scaleY(1); transition:none; }
}

/* collaborateur card with full logo box */
.collab-card{ position:relative; overflow:hidden; }
.collab-card .collab-logo{
  width:100%; height:200px;
  background:var(--white);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
}
.collab-card .collab-logo img{ max-width:100%; max-height:100%; object-fit:contain; }
.collab-card .card-body{ position:relative; z-index:1; }

/* team */
.team-card{ text-align:center; }
.avatar{
  width:120px; height:120px; border-radius:50%; margin:0 auto 20px;
  display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 35% 30%, #2c2d31, #0c0c0d 70%);
  border:1px solid var(--silver-line);
  font-family:'Playfair Display',serif; font-size:34px; color:var(--silver-bright);
}
.team-card h3{ margin-bottom:2px; }
.team-card .role{ color:var(--muted); font-size:14px; margin-bottom:16px; }
.team-card p.bio{ color:var(--silver); font-size:15px; text-align:left; }

/* partners */
.partner-grid{ max-width:var(--max); margin:0 auto; display:grid; grid-template-columns:repeat(5,1fr); gap:22px; }
.partner-card{
  background:var(--panel); border:1px solid var(--silver-line); border-radius:var(--radius);
  padding:22px; text-align:center; font-size:13px; color:var(--muted);
}
.partner-card strong{ display:block; color:var(--silver-bright); font-size:15px; margin-bottom:8px; }
.partner-card .partner-logo{
  background:var(--white); border-radius:10px; padding:14px;
  display:flex; align-items:center; justify-content:center; height:80px; margin-bottom:16px;
}
.partner-card .partner-logo img{ max-width:100%; max-height:52px; object-fit:contain; }

/* certifications strip */
.cert-grid{ max-width:900px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.cert-badge{
  background:var(--white); border-radius:var(--radius); border:1px solid var(--silver-line);
  height:110px; display:flex; align-items:center; justify-content:center; padding:16px;
}
.cert-badge img{ max-width:100%; max-height:100%; object-fit:contain; }
.cert-badge.cert-rge{
  background:linear-gradient(135deg,#1c1d20,#0a0a0b);
  flex-direction:column; gap:4px;
}
.cert-badge.cert-rge .cert-rge-mark{
  font-family:'Playfair Display',serif; font-weight:700; font-size:26px;
  letter-spacing:.06em; color:var(--silver-bright);
}
.cert-badge.cert-rge .cert-rge-sub{
  font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); text-align:center;
}
.cert-label{ text-align:center; font-size:13px; color:var(--muted); margin-top:10px; }

/* contact layout */
.contact-layout{
  max-width:var(--max); margin:0 auto;
  display:grid; grid-template-columns:300px 1fr; gap:56px;
  align-items:center;
}
.contact-info{
  display:flex; flex-direction:column; gap:24px;
  padding-top:4px;
}
.contact-info-item{
  display:flex; align-items:flex-start; gap:14px;
}
.contact-info-icon{
  flex:none; width:38px; height:38px; border-radius:50%;
  background:var(--panel); border:1px solid var(--silver-line);
  display:flex; align-items:center; justify-content:center;
  color:var(--silver-bright);
}
.contact-info-icon svg{ width:17px; height:17px; }
.contact-info-icon.icon-company{ color:#d9b46a; border-color:rgba(217,180,106,.35); }
.contact-info-icon.icon-address{ color:#e2725b; border-color:rgba(226,114,91,.35); }
.contact-info-icon.icon-phone{ color:#4cb37c; border-color:rgba(76,179,124,.35); }
.contact-info-icon.icon-mail{ color:#5b9bd5; border-color:rgba(91,155,213,.35); }
.contact-info-icon.icon-instagram{ background:transparent; border-color:transparent; }
.contact-info-icon.icon-instagram svg{ width:24px; height:24px; }
.contact-info-item h4{
  font-family:'Inter',-apple-system,sans-serif; font-weight:600; font-size:12px;
  text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin:2px 0 5px;
}
.contact-info-item p{
  color:var(--white); font-size:15px; margin:0; line-height:1.5;
}
.contact-info-item p.nowrap{ white-space:nowrap; }
.contact-info-item a{ color:inherit; text-decoration:none; }
.contact-info-item a:hover{ color:var(--silver-bright); }
@media (max-width:800px){
  .contact-layout{ grid-template-columns:1fr; gap:36px; }
  .contact-info-item p.nowrap{ white-space:normal; }
}

/* form */
.form-wrap{ max-width:680px; margin:0 auto; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
label{ display:block; font-size:14px; color:var(--silver); margin-bottom:8px; }
input, textarea{
  width:100%; padding:13px 16px; border-radius:10px; border:1px solid var(--silver-line);
  background:var(--black-soft); color:var(--white); font-family:inherit; font-size:15px;
}
input:focus, textarea:focus{ outline:none; border-color:var(--silver-bright); }
textarea{ min-height:130px; resize:vertical; }
.whatsapp-bar{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:var(--panel); border:1px solid var(--silver-line); border-radius:var(--radius);
  padding:20px 24px; margin-bottom:32px; flex-wrap:wrap;
}
.consent{ display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--muted); margin:18px 0; }
.consent input{ width:auto; margin-top:3px; }

/* contact form feedback states */
.form-feedback{ display:none; border-radius:var(--radius); padding:20px 24px; margin-bottom:20px; }
.form-feedback-error{
  background:rgba(200,60,60,0.08); border:1px solid rgba(200,90,90,0.35);
  color:#e7a3a3; font-size:14px;
}
.form-feedback-success{
  text-align:center; padding:52px 24px; background:var(--panel);
  border:1px solid var(--silver-line); border-radius:var(--radius);
}
.form-feedback-success h3{ font-size:24px; margin-bottom:10px; }
.form-feedback-success p{ color:var(--silver); margin:0; }

/* map placeholder */
.map-box{
  max-width:var(--max); margin:0 auto; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--silver-line);
}
.map-box iframe{ width:100%; height:340px; border:0; display:block; }
.map-consent-gate{
  height:340px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:16px; text-align:center; background:var(--panel); padding:24px;
}
.map-consent-gate p{ color:var(--silver); font-size:14.5px; max-width:380px; margin:0; }

/* social icons */
.social-row{ display:flex; gap:14px; justify-content:center; margin:24px 0 0; }
.social-icon{
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  transition:transform .2s;
}
.social-icon:hover{ transform:translateY(-2px); }
.social-icon svg{ width:100%; height:100%; }

/* offices */
.offices{ display:flex; gap:40px; justify-content:center; flex-wrap:wrap; margin:28px 0 40px; color:var(--silver); font-size:15px; text-align:center; }
.offices strong{ color:var(--silver-bright); }

/* partners / certifications marquee */
.partners-marquee{
  border-top:1px solid var(--silver-line);
  background:var(--black-soft);
  padding:32px 0;
  overflow:hidden;
}
.partners-marquee .marquee-label{
  text-align:center; font-size:12px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--muted); margin-bottom:20px;
}
.marquee-track{
  display:flex; align-items:center; gap:28px;
  width:max-content;
  animation:marquee-scroll 32s linear infinite;
}
.marquee-badge{
  flex:none;
  background:var(--white); border-radius:12px; border:1px solid var(--silver-line);
  height:58px; padding:10px 20px;
  display:flex; align-items:center; justify-content:center;
}
.marquee-badge img{ max-height:100%; max-width:150px; object-fit:contain; display:block; }
.marquee-badge.cert-rge{
  background:linear-gradient(135deg,#1c1d20,#0a0a0b);
  border-color:var(--silver-line);
  flex-direction:column; gap:2px; padding:8px 22px;
}
.marquee-badge.cert-rge .cert-rge-mark{
  font-family:'Playfair Display',serif; font-weight:700; font-size:19px;
  letter-spacing:.06em; color:var(--silver-bright);
}
.marquee-badge.cert-rge .cert-rge-sub{
  font-size:8px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); text-align:center;
}
@keyframes marquee-scroll{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation:none; overflow-x:auto; }
}
@media (max-width:800px){
  .marquee-badge{ height:48px; padding:8px 14px; }
  .marquee-badge img{ max-width:110px; }
}

/* footer */
footer{
  border-top:1px solid var(--silver-line);
  padding:70px 32px 34px; text-align:center;
}
footer img.foot-logo{ max-width:340px; width:70%; margin:0 auto 28px; display:block; }
footer .foot-links{ display:flex; gap:26px; justify-content:center; flex-wrap:wrap; margin-bottom:22px; }
footer .foot-links a{ color:var(--silver); text-decoration:none; font-size:14px; }
footer .foot-links a:hover{ color:var(--silver-bright); }
footer .copyright{ color:var(--muted); font-size:13px; }

/* foire slideshow */
.foire-slideshow{
  position:relative; max-width:var(--max); margin:0 auto;
  border-radius:var(--radius); overflow:hidden; border:1px solid var(--silver-line);
  aspect-ratio:16/8; background:#12131a;
}
.foire-slide{ position:absolute; inset:0; display:none; }
.foire-slide.active{ display:flex; }
.foire-slide-photo{ flex:1; position:relative; min-width:0; }
.foire-slide-photo img{ width:100%; height:100%; object-fit:cover; display:block; filter:brightness(.82); }
.foire-slide-panel{
  flex:1; min-width:0; background:linear-gradient(160deg,#161822,#0e0f16);
  display:flex; flex-direction:column; justify-content:center; padding:6% 6.5%;
}
.foire-slide-panel .fs-eyebrow{ font-family:'Playfair Display',serif; font-size:19px; color:var(--silver-bright); margin-bottom:8%; }
.foire-slide-panel h3.fs-title{ font-size:clamp(26px,4vw,46px); line-height:1.08; margin:0 0 18px; }
.foire-slide-panel .fs-sub{ font-size:clamp(14px,1.3vw,18px); color:var(--silver); margin-bottom:0; }
.foire-slide-panel .fs-by{ margin-top:auto; padding-top:8%; }
.foire-slide-panel .fs-by-label{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:6px; }
.foire-slide-panel .fs-by-name{ font-size:15px; color:var(--silver-bright); }
.foire-slide-full{ flex:1; padding:5% 6%; display:flex; flex-direction:column; justify-content:center; overflow:auto; }
.foire-slide-full h3{ font-size:clamp(22px,3vw,32px); margin-bottom:5%; }
.foire-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:5% 8%; }
.foire-grid2 h4{ font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--silver-bright); font-family:'Inter',sans-serif; font-weight:700; margin-bottom:8px; }
.foire-grid2 p{ font-size:13.5px; color:var(--muted); margin:0; line-height:1.55; }
.foire-contact-list{ display:flex; flex-direction:column; gap:22px; }
.foire-contact-item{ display:flex; gap:12px; align-items:flex-start; }
.foire-contact-item .fs-star{ flex:none; width:16px; height:16px; color:var(--silver-bright); margin-top:3px; }
.foire-contact-item strong{ display:block; color:var(--silver-bright); font-size:13px; text-transform:uppercase; letter-spacing:.04em; margin-bottom:3px; }
.foire-contact-item span, .foire-contact-item a{ color:var(--muted); font-size:14px; text-decoration:none; line-height:1.6; }
.foire-contact-item a:hover{ color:var(--silver-bright); }
.foire-nav{
  position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%;
  background:rgba(10,10,11,0.55); border:1px solid var(--silver-line); color:var(--silver-bright);
  display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:5; font-size:20px;
  line-height:1;
}
.foire-nav:hover{ background:rgba(10,10,11,0.85); }
.foire-nav.prev{ left:16px; }
.foire-nav.next{ right:16px; }
.foire-dots{ display:flex; gap:9px; justify-content:center; margin-top:22px; }
.foire-dot{ width:9px; height:9px; border-radius:50%; background:var(--silver-line); cursor:pointer; border:none; padding:0; }
.foire-dot.active{ background:var(--silver-bright); }

/* tag carousel (six étiquettes, accueil) */
.tag-carousel-wrap{ max-width:var(--max); margin:0 auto; display:flex; align-items:center; gap:18px; }
.tag-carousel{
  display:flex; gap:28px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  padding:4px 4px 14px; flex:1; scrollbar-width:none;
}
.tag-carousel::-webkit-scrollbar{ display:none; }
.tag-card{ flex:0 0 320px; scroll-snap-align:start; }
.tag-badge{
  display:inline-block; text-transform:uppercase; letter-spacing:.12em; font-size:11px;
  color:var(--muted); margin-bottom:10px;
}
.tag-nav{
  flex:0 0 auto; width:44px; height:44px; border-radius:50%;
  border:1px solid var(--silver-line); background:rgba(10,10,11,0.6);
  color:var(--silver-bright); font-size:22px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:.2s;
}
.tag-nav:hover{ border-color:var(--silver-bright); background:rgba(255,255,255,0.06); }
.tag-dots{ display:flex; gap:9px; justify-content:center; margin-top:22px; }
.tag-dot{ width:9px; height:9px; border-radius:50%; background:var(--silver-line); cursor:pointer; border:none; padding:0; }
.tag-dot.active{ background:var(--silver-bright); }

/* responsive */
@media (max-width:900px){
  .grid-3, .grid-2{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .partner-grid{ grid-template-columns:repeat(2,1fr); }
  .cert-grid{ grid-template-columns:repeat(2,1fr); }
  .form-row{ grid-template-columns:1fr; }
  .nav{ grid-template-columns:auto 1fr auto; position:relative; }
  .nav-toggle{ display:flex; grid-column:3; justify-self:end; }
  .nav-cta{ display:none; }
  .nav ul{
    display:none; grid-column:1/-1; grid-row:2;
    flex-direction:column; gap:0; margin:0; padding:8px 6px 20px;
    position:absolute; top:100%; left:0; right:0;
    background:rgba(10,10,11,0.98); backdrop-filter:blur(10px);
    border-bottom:1px solid var(--silver-line);
    max-height:calc(100vh - 70px); overflow-y:auto;
  }
  .nav-check:checked ~ ul{ display:flex; }
  .nav ul li{ width:100%; }
  .nav ul a, .nav ul li.has-dropdown > label{
    display:block; width:100%; padding:14px 6px; border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .nav ul li.has-dropdown > label{ display:flex; justify-content:space-between; align-items:center; }
  .dropdown-menu, .nav ul li.has-dropdown:hover .dropdown-menu, .nav ul li.has-dropdown:focus-within .dropdown-menu{
    position:static; transform:none; opacity:1; visibility:visible; pointer-events:auto;
    display:none; box-shadow:none; border:none; border-radius:0; min-width:0;
    background:rgba(255,255,255,0.03); padding:0;
  }
  .prod-check:checked ~ .dropdown-menu{ display:block !important; padding:2px 0 6px 14px; }
  .dropdown-menu a{ padding:12px 6px; border-bottom:1px solid rgba(255,255,255,0.06); }
  .hero h1, .page-head h1{ font-size:28px; }
  .error-code{ font-size:84px; }
  .error-section{ padding:90px 24px; }
  .foire-slideshow{ aspect-ratio:auto; }
  .foire-slide{ position:relative; flex-direction:column; }
  .foire-slide-photo{ height:180px; }
  .foire-grid2{ grid-template-columns:1fr; }
  .tag-card{ flex-basis:82vw; }
  .tag-nav{ width:38px; height:38px; font-size:19px; }
  /* founder card: stack as a wide landscape photo on top + text below,
     instead of squeezing text and photo side-by-side into narrow columns.
     object-fit:contain keeps the whole photo visible (shrunk to fit) rather
     than cropping it. */
  .founder-card{ flex-direction:column !important; }
  .founder-card .card-body{ flex:none !important; padding:28px; }
  .founder-card img{
    flex:none !important; width:100% !important; min-width:0 !important;
    height:260px !important; object-fit:contain !important; object-position:center !important;
    background:var(--panel) !important;
  }
}

/* ===========================================================
   Back to top button
=========================================================== */
.back-to-top{
  position:fixed;
  right:26px;
  bottom:26px;
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--panel);
  border:1px solid var(--silver-line);
  color:var(--silver-bright);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:90;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .4s ease, transform .4s ease, visibility .4s, border-color .25s, background .25s;
}
.back-to-top svg{ width:20px; height:20px; display:block; }
.back-to-top.visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.back-to-top:hover{
  background:var(--black-soft);
  border-color:var(--silver-bright);
}
@media (max-width:600px){
  .back-to-top{ right:16px; bottom:16px; width:44px; height:44px; }
}
@media (prefers-reduced-motion: reduce){
  .back-to-top{ transition:opacity .01s linear, visibility .01s linear; }
  html{ scroll-behavior:auto; }
}

/* ---------- Legal content pages ---------- */
.legal-content{
  max-width:760px; margin:0 auto; padding:0 32px 40px;
}
.legal-content h2{
  font-size:22px; margin-top:44px; margin-bottom:14px;
}
.legal-content h2:first-child{ margin-top:0; }
.legal-content p{ color:var(--silver); font-size:15.5px; }
.legal-content ul{ color:var(--silver); font-size:15.5px; padding-left:20px; margin:0 0 1em; }
.legal-content li{ margin-bottom:8px; }
.legal-content a{ color:var(--silver-bright); text-decoration:underline; text-underline-offset:2px; }
.legal-content a:hover{ color:var(--white); }
.legal-content strong{ color:var(--silver-bright); }
.legal-updated{ color:var(--muted); font-size:13px; margin-top:48px; padding-top:20px; border-top:1px solid var(--silver-line); }

.cookie-types{ display:grid; gap:16px; margin:20px 0 28px; }
.cookie-type-card{
  background:var(--panel); border:1px solid var(--silver-line); border-radius:var(--radius);
  padding:20px 22px;
}
.cookie-type-card h3{ font-size:16px; margin-bottom:6px; }
.cookie-type-card p{ margin:0; font-size:14.5px; }
.cookie-status{
  display:inline-block; font-size:11px; text-transform:uppercase; letter-spacing:.06em;
  padding:3px 10px; border-radius:20px; margin-bottom:10px;
}
.cookie-status.on{ background:rgba(199,204,209,0.15); color:var(--silver-bright); }
.cookie-status.off{ background:rgba(199,204,209,0.06); color:var(--muted); }
.cookie-consent-controls{ display:flex; gap:10px; margin-top:14px; flex-wrap:wrap; }
.cookie-consent-controls .btn{ padding:9px 18px; font-size:13.5px; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:300;
  background:var(--black-soft); border-top:1px solid var(--silver-line);
  padding:22px 32px; display:flex; align-items:center; justify-content:space-between; gap:28px;
  transform:translateY(100%); opacity:0;
  transition:transform .45s cubic-bezier(.2,.65,.3,1), opacity .45s ease;
  box-shadow:0 -10px 34px rgba(0,0,0,0.4);
}
.cookie-banner.visible{ transform:translateY(0); opacity:1; }
.cookie-banner-text{ color:var(--silver); font-size:14px; line-height:1.6; max-width:760px; }
.cookie-banner-text strong{ color:var(--silver-bright); }
.cookie-banner-text a{ color:var(--silver-bright); text-decoration:underline; text-underline-offset:2px; }
.cookie-banner-actions{ display:flex; gap:12px; flex:none; }
.cookie-banner .btn{ padding:11px 22px; font-size:14px; white-space:nowrap; }
@media (max-width:760px){
  .cookie-banner{ flex-direction:column; align-items:stretch; padding:20px 22px; gap:16px; }
  .cookie-banner-actions{ justify-content:flex-end; }
}
@media (prefers-reduced-motion: reduce){
  .cookie-banner{ transition:opacity .01s linear; }
}
