/* ------------------------------
   Polystretch Factory — Premium UI
   ------------------------------ */
:root{
  --bg: #0b1220;
  --bg-soft: #0f172a;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --text: #0b1220;
  --text-2: #1f2937;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.10);
  --shadow: 0 18px 45px rgba(2, 6, 23, 0.12);
  --shadow-soft: 0 10px 25px rgba(2, 6, 23, 0.08);

  --primary: #1ea7ff;
  --primary-2: #1678c6;

  --radius: 20px;
  --radius-sm: 14px;

  --container: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--surface);
  line-height: 1.55;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

.skip-link{
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 1000;
}
.skip-link:focus{ left: 8px; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section{
  padding: 88px 0;
}
.section--alt{
  background: var(--surface-2);
}
.section__sub{
  margin-top: 56px;
}
h1,h2,h3,h4{
  line-height: 1.15;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
}
h1{ font-size: clamp(34px, 4vw, 52px); }
h2{ font-size: clamp(26px, 2.6vw, 36px); }
h3{ font-size: 20px; margin-top: 0; }
h4{ font-size: 16px; margin: 0 0 8px; }
p{ margin: 0 0 14px 0; }
.muted{ color: var(--muted); }
.eyebrow{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,0.85);
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grid-2{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 920px){
  .grid-2{ grid-template-columns: 1fr; }
}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand__logo{
  height: 34px;
  width: auto;
}
.nav{
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* avoids vertical drawer */
  align-items: center;
  justify-content: flex-end;
}
.nav__link{
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 650;
  font-size: 14px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav__link:hover{ background: rgba(30, 167, 255, 0.10); color: #0b1220; }
.nav__cta{
  background: var(--text);
  color: white;
  box-shadow: var(--shadow-soft);
}
.nav__cta:hover{ background: #050a14; transform: translateY(-1px); }

@media (max-width: 520px){
  .brand__logo{ height: 30px; }
  .nav__link{ padding: 9px 10px; font-size: 13px; }
}

/* Hero */
.hero{
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg);
  color: white;
}
.hero__bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 650px at 20% 20%, rgba(30,167,255,0.35), transparent 60%),
    linear-gradient(to bottom, rgba(11,18,32,0.45), rgba(11,18,32,0.86)),
    url("assets/img/hero-facade.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(1.05);
}
.hero__content{
  position: relative;
  padding: 96px 0 72px;
}
.hero h1{ margin-top: 14px; margin-bottom: 12px; }
.lead{
  max-width: 64ch;
  color: rgba(255,255,255,0.86);
  font-size: 16.5px;
}
.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #02121f;
  box-shadow: 0 18px 45px rgba(30,167,255,0.25);
}
.btn--primary:hover{ filter: brightness(1.03); transform: translateY(-1px); }
.btn--ghost{
  color: white;
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.05);
}
.btn--ghost:hover{ background: rgba(255,255,255,0.10); }

.hero__highlights{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.pill{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  font-weight: 650;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
}

/* Cards */
.cards{
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px;
  box-shadow: var(--shadow-soft);
}
.card p{ margin: 0; color: var(--muted); }
.about__media{
  display: grid;
  gap: 14px;
}
.media-card{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}
.media-card img{ width: 100%; height: 240px; object-fit: cover; }
#apropos .media-card img{ object-fit: contain; background: radial-gradient(600px 200px at 60% 10%, rgba(56,189,248,.10), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); }
.media-card__caption{
  padding: 14px 16px 16px;
  display: grid;
  gap: 6px;
}
.media-card__caption strong{ font-size: 14px; }
.media-card__caption span{ font-size: 13px; color: var(--muted); }

.stat-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.stat{
  background: rgba(30,167,255,0.08);
  border: 1px solid rgba(30,167,255,0.18);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
}
.stat__value{
  font-weight: 800;
  letter-spacing: -0.02em;
}
.stat__label{
  font-size: 13px;
  color: rgba(15, 23, 42, 0.70);
  margin-top: 2px;
}

/* Carousel */
.carousel{
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.carousel__viewport{
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow-soft);
}
.carousel__track{
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}
.carousel__slide{
  min-width: 100%;
  position: relative;
}
.carousel__slide img{
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.carousel__label{
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(11, 18, 32, 0.75);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}
.carousel__btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: var(--text);
}
.carousel__btn:hover{ transform: translateY(-1px); }
.carousel__dots{
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.dot-btn{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.20);
  background: rgba(15,23,42,0.12);
  cursor: pointer;
}
.dot-btn[aria-selected="true"]{
  width: 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: rgba(30,167,255,0.45);
}
@media (max-width: 620px){
  .carousel{ grid-template-columns: 1fr; }
  .carousel__btn{ display: none; }
  .carousel__slide img{ height: 220px; }
}

/* Products */
.products{
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.product{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.product__media{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef4ff;
  border: 1px solid rgba(30,167,255,0.14);
}
.product__media img{
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.badge-row{
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  gap: 8px;
}
.badge{
  background: rgba(11,18,32,0.78);
  color: white;
  padding: 8px 10px;
  font-weight: 750;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,0.14);
}
.badge--soft{
  background: rgba(30,167,255,0.20);
  border-color: rgba(30,167,255,0.25);
  color: #03121f;
}
.product__body{ padding: 6px 4px; }
.checklist{
  margin: 12px 0 14px;
  padding-left: 18px;
  color: var(--text-2);
}
.checklist li{ margin: 6px 0; }
.details{
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fbfcff;
}
.details summary{
  cursor: pointer;
  padding: 12px 12px;
  font-weight: 750;
}
.details__content{
  padding: 0 12px 14px 12px;
}
.spec-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px 0 12px;
}
.spec-grid div{
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 10px;
  display: grid;
  gap: 3px;
}
.spec-grid span{ color: var(--muted); font-size: 12px; }
.spec-grid strong{ font-size: 13.5px; }
.variant-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 0 12px;
}
.variant{
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 10px;
}
.variant p{ margin: 0; color: var(--muted); font-size: 13px; }

.thumb-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.thumb{
  width: 160px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: white;
}
.thumb img{ width: 100%; height: 90px; object-fit: cover; }
.thumb figcaption{
  padding: 8px 10px 10px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 920px){
  .product{ grid-template-columns: 1fr; }
  .product__media img{ min-height: 220px; }
  .variant-grid{ grid-template-columns: 1fr; }
  .spec-grid{ grid-template-columns: 1fr; }
}

/* Qualities */
.quality{
  margin-top: 42px;
}
.quality__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.qcard{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: white;
  box-shadow: var(--shadow-soft);
}
.qcard p{ margin: 0; color: var(--muted); }
@media (max-width: 920px){
  .quality__grid{ grid-template-columns: 1fr; }
}

/* Process */
.process{
  margin-top: 20px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.process__progress{
  height: 6px;
  background: rgba(30,167,255,0.12);
}
.process__bar{
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  transition: width 520ms ease;
}
.process__steps{
  display: grid;
  grid-template-columns: 1fr;
}
.process__step{
  display: grid;
  grid-template-columns: 18px 160px 1fr;
  gap: 14px;
  padding: 16px 16px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process__step:first-child{ border-top: none; }
.process__step .title{ font-weight: 800; color: var(--text); }
.process__step .desc{ color: var(--muted); font-size: 13.5px; }
.process__step:hover{ background: rgba(30,167,255,0.06); }
.dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(15,23,42,0.25);
  margin-top: 3px;
  background: white;
}
.process__step.is-active .dot{
  border-color: rgba(30,167,255,0.65);
  box-shadow: 0 0 0 6px rgba(30,167,255,0.14);
}
.process__step.is-done .dot{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: rgba(30,167,255,0.75);
}
.process__step.is-active .title{ color: var(--primary-2); }
@media (max-width: 680px){
  .process__step{ grid-template-columns: 18px 1fr; }
  .process__step .desc{ grid-column: 2; }
}

/* Contact */
.contact-cards{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.contact-card{
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.link{
  color: var(--primary-2);
  font-weight: 750;
}
.link:hover{ text-decoration: underline; }

.contact-form{
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
label{
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--text-2);
}
input, textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.14);
  padding: 12px 12px;
  font: inherit;
  font-weight: 550;
  outline: none;
  background: #fbfcff;
}
input:focus, textarea:focus{
  border-color: rgba(30,167,255,0.55);
  box-shadow: 0 0 0 5px rgba(30,167,255,0.14);
  background: white;
}
.form-note{ margin-top: 10px; font-size: 13px; }

.footer{
  padding: 24px 0 16px;
  border-top: 1px solid rgba(15,23,42,0.10);
  margin-top: 54px;
}
.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__logo{ height: 26px; width: auto; opacity: 0.95; }

/* --- Logo readability (always on white) --- */
.brand{
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.98);
  padding: 10px 12px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.brand__logo{
  display: block;
  height: 42px;
  width: auto;
  opacity: 1;
}
.footer__brand{
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.98);
  padding: 10px 12px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.footer__logo{
  display: block;
  height: 42px;
  width: auto;
  opacity: 1;
}


/* Confidentialité details */
.legalDetails{
  margin-top: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
}
.legalDetails summary{
  cursor: pointer;
  font-weight: 800;
}
.legalDetails__content{padding-top: 10px}

/* Cookie banner (info) */
.cookieBanner{
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1000;
  display: none;
}
.cookieBanner__inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,16,28,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.cookieBanner p{margin:0; font-weight:700}
@media (max-width: 700px){
  .cookieBanner__inner{flex-direction: column; align-items:flex-start}
}

/* Honeypot anti-spam */
.hp{
  position:absolute !important;
  left:-10000px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
}
