/* ============================================================
   CTI — Centrale Technique Industrielle
   Feuille de style unique. Aucune dépendance, aucun outil.
   Structure calquée sur le site de référence (smar.com.br).
   ============================================================ */

/* ---- 1. Couleurs et polices -------------------------------- */
:root {
  --blue:  #0b5cae;   /* bleu principal : bandeau, bannières, boutons */
  --navy:  #073b6f;   /* bleu foncé : voile sur les photos */
  --sky:   #29b6e8;   /* cyan : survols, filets, mots-clés */
  --leaf:  #3eb54b;   /* vert du logo CTI */
  --ink:   #2b2b2b;   /* texte courant */
  --head:  #333333;   /* titres */
  --muted: #6b7280;   /* texte secondaire */
  --mist:  #f5f5f5;   /* fond des sections alternées */
  --line:  #e5e5e5;   /* filets et bordures */
  --black: #111111;   /* pied de page */

  --max: 1400px;      /* largeur maximale du contenu */
  --radius: 0px;      /* angles droits, comme la référence */
}

/* ---- 2. Réinitialisation ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Montserrat", -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--head); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

/* Barre de défilement discrète */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: #c9c9c9; border-radius: 99px; border: 3px solid var(--mist); }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- 3. Animations d'apparition ---------------------------- */
/* Piloté par assets/js/main.js — si le JS ne se charge pas,
   le contenu reste visible (voir .no-js plus bas).             */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---- 4. Trame réseau superposée aux photos ----------------- */
/* C'est la signature visuelle de la référence : des points reliés
   par de fines lignes, posés par-dessus le voile bleu.          */
.net::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .75;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255,255,255,.16) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.14) 0 2px, transparent 3px),
    radial-gradient(circle at 34% 72%, rgba(255,255,255,.12) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 66%, rgba(255,255,255,.14) 0 2px, transparent 3px),
    radial-gradient(circle at 58% 40%, rgba(255,255,255,.10) 0 2px, transparent 3px),
    linear-gradient(115deg, transparent 49.7%, rgba(255,255,255,.09) 49.9%, transparent 50.2%),
    linear-gradient(62deg,  transparent 49.7%, rgba(255,255,255,.07) 49.9%, transparent 50.2%);
  background-size: 460px 340px;
}

/* Grain léger sur toute la page */
.noise {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- 5. Boutons -------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid transparent; border-radius: 999px;
  padding: 10px 28px;
  font-size: .88rem; font-weight: 600; letter-spacing: -.01em;
  transition: all .3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }

.btn--blue  { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -12px rgba(11,92,174,.9); }
.btn--blue:hover { background: var(--navy); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--mist); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.btn--line  { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--line:hover { background: var(--blue); color: #fff; }
.btn--lg { padding: 14px 36px; font-size: .95rem; }
.btn--sm { padding: 8px 20px; font-size: .8rem; }
.btn--full { width: 100%; }

/* ---- 6. Barre utilitaire + navigation ---------------------- */
.site-head { position: sticky; top: 0; z-index: 50; }

.topbar { background: #1c1c1c; color: rgba(255,255,255,.85); font-size: .78rem; }
.topbar .container {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  padding-top: 8px; padding-bottom: 8px;
}
.topbar a { font-weight: 500; transition: color .2s; }
.topbar a:hover { color: var(--sky); }
.topbar .sep { color: rgba(255,255,255,.25); }
.topbar .locale { font-weight: 600; letter-spacing: .02em; }

.navbar { background: var(--blue); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand img { height: 46px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .9rem; font-weight: 600; color: #fff; transition: color .2s; }
.nav-links a:hover { color: var(--sky); }
.nav-links .sep { color: rgba(255,255,255,.3); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue);
  padding: 10px 18px; font-size: .82rem; font-weight: 700;
  transition: all .3s ease;
}
.nav-cta:hover { transform: translateY(-2px); background: var(--mist); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 0; color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

.nav-mobile { display: none; background: var(--navy); padding: 8px 24px 24px; }
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff; font-size: 1.05rem; font-weight: 600;
}
.nav-mobile a:hover { color: var(--sky); }
.nav-mobile .btn { margin-top: 20px; width: 100%; }

/* ---- 7. Titres de section --------------------------------- */
.section { padding: 72px 0; }
.section--mist { background: var(--mist); }

.head { max-width: 760px; margin: 0 auto; text-align: center; }
.head h2 { font-size: clamp(1.75rem, 3.2vw, 2.15rem); font-weight: 600; }
.head .rule { display: block; width: 56px; height: 3px; margin: 16px auto 0; border-radius: 99px; background: var(--blue); }
.head p { margin-top: 20px; color: var(--muted); font-size: .98rem; }
.head--light h2 { color: #fff; }
.head--light .rule { background: rgba(255,255,255,.85); }
.head--light p { color: rgba(255,255,255,.8); }

/* ---- 8. Accueil : trois panneaux --------------------------- */
.hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--navy); }
.hero-panel { position: relative; height: 560px; overflow: hidden; display: block; }
.hero-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.16,1,.3,1);
}
.hero-panel:hover img { transform: scale(1.1); }
.hero-panel .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,59,111,.8), rgba(11,92,174,.6) 50%, rgba(7,59,111,.85));
  transition: background .5s;
}
.hero-panel:hover .veil { background: linear-gradient(180deg, rgba(7,59,111,.72), rgba(41,182,232,.35) 50%, rgba(7,59,111,.78)); }
.hero-body {
  position: relative; z-index: 2;
  height: 100%; padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.hero-body .tag { font-size: 2.1rem; font-weight: 800; color: var(--sky); margin-bottom: 4px; }
.hero-body .l1, .hero-body .l2 {
  color: #fff; font-size: 1.9rem; line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.hero-body .l1 { font-weight: 500; }
.hero-body .l2 { font-weight: 700; }
.hero-body .bar { display: block; height: 3px; width: 0; margin-top: 20px; background: var(--sky); border-radius: 99px; transition: width .5s; }
.hero-panel:hover .bar { width: 64px; }

/* ---- 9. Bande de réassurance ------------------------------- */
.pillars { border-bottom: 1px solid var(--line); }
.pillars .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding-top: 52px; padding-bottom: 52px;
}
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar .ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
}
.pillar .ico svg { width: 20px; height: 20px; }
.pillar h3 { font-size: 1rem; font-weight: 700; }
.pillar p { margin-top: 6px; font-size: .87rem; color: var(--muted); }

/* ---- 10. Bandeau produits (familles) ----------------------- */
.banner-blue { position: relative; overflow: hidden; background: var(--blue); padding: 64px 0; }
.banner-blue > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.banner-blue .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,59,111,.85), rgba(11,92,174,.85)); }
.banner-blue .container { position: relative; z-index: 2; }

.family-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.family {
  display: block; background: #fff; text-align: left;
  border: 4px solid transparent; padding: 0;
  transition: transform .3s ease, border-color .3s ease;
}
.family:hover { transform: translateY(-4px); }
.family.is-active { border-color: var(--sky); }
.family .shot { position: relative; height: 160px; overflow: hidden; }
.family .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.family:hover .shot img { transform: scale(1.1); }
.family .shot::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(7,59,111,.25); transition: background .5s;
}
.family:hover .shot::after { background: rgba(7,59,111,.05); }
.family .label {
  display: block; padding: 14px 16px; text-align: center;
  font-size: .92rem; font-weight: 600; color: var(--head);
  transition: color .3s;
}
.family:hover .label { color: var(--blue); }

.banner-hint { margin-top: 32px; text-align: center; font-size: .85rem; color: rgba(255,255,255,.75); }

/* ---- 11. Sélection des références -------------------------- */
.tools {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 2px solid var(--line); background: #fff; color: var(--muted);
  border-radius: 999px; padding: 6px 16px;
  font-size: .78rem; font-weight: 600;
  transition: all .3s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.search { position: relative; width: 260px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.search input {
  width: 100%; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  padding: 10px 16px 10px 38px; font: inherit; font-size: .85rem; color: var(--ink);
  outline: none; transition: border-color .3s;
}
.search input:focus { border-color: var(--blue); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.product {
  display: flex; flex-direction: column;
  background: #fff; padding: 20px;
  border-top: 4px solid rgba(11,92,174,.25);
  transition: transform .42s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, border-color .3s;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 16px 36px -24px rgba(0,0,0,.35); }
.product.is-picked { border-top-color: var(--sky); box-shadow: 0 16px 36px -22px rgba(11,92,174,.7); }
.product .fam { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.product h3 { margin-top: 8px; font-size: 1.02rem; font-weight: 600; line-height: 1.35; }
.product .specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; flex: 1; }
.product .specs li {
  background: var(--mist); padding: 4px 8px;
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: .66rem; letter-spacing: .02em; color: var(--muted);
}
.pick {
  margin-top: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid var(--blue); background: #fff; color: var(--blue);
  border-radius: 999px; padding: 8px 16px;
  font-size: .8rem; font-weight: 700;
  transition: all .3s ease;
}
.pick:hover { background: var(--blue); color: #fff; }
.pick:active { transform: scale(.97); }
.pick svg { width: 15px; height: 15px; }
.product.is-picked .pick { background: var(--blue); color: #fff; }
.pick .on { display: none; }
.product.is-picked .pick .off { display: none; }
.product.is-picked .pick .on { display: inline-flex; align-items: center; gap: 8px; }

.empty {
  margin-top: 40px; padding: 56px 24px; text-align: center;
  border: 1px dashed var(--line); background: #fff; color: var(--muted);
}

.protocols { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); text-align: center; }
.protocols .lbl { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.protocols ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.protocols li {
  border: 1px solid var(--line); background: #fff; padding: 6px 12px;
  font-family: ui-monospace, "Cascadia Mono", monospace; font-size: .72rem; color: var(--muted);
}

/* ---- 12. Services ------------------------------------------ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.service { position: relative; height: 256px; overflow: hidden; }
.service img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.service:hover img { transform: scale(1.1); }
.service .veil {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,59,111,.92), rgba(7,59,111,.55) 55%, rgba(7,59,111,.25));
  transition: background .5s;
}
.service:hover .veil { background: linear-gradient(0deg, rgba(11,92,174,.92), rgba(11,92,174,.6) 55%, rgba(7,59,111,.3)); }
.service-body {
  position: relative; z-index: 2;
  height: 100%; padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.service .ico {
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 12px;
  background: rgba(255,255,255,.15); color: #fff;
  display: grid; place-items: center;
}
.service .ico svg { width: 20px; height: 20px; }
.service h3 { color: #fff; font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.service .desc {
  max-height: 0; overflow: hidden; opacity: 0;
  margin-top: 0; color: rgba(255,255,255,.85); font-size: .86rem;
  transition: max-height .5s ease, opacity .5s ease, margin-top .5s ease;
}
.service:hover .desc { max-height: 160px; opacity: 1; margin-top: 8px; }
.service .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.service .tags li {
  border: 1px solid rgba(255,255,255,.25); padding: 2px 8px;
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.8);
}

/* ---- 13. Bandeaux photo ------------------------------------ */
.duo { display: grid; grid-template-columns: 1fr 1fr; }
.pane { position: relative; height: 320px; overflow: hidden; }
.pane img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pane .veil { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,59,111,.9), rgba(11,92,174,.8)); }
.pane-body {
  position: relative; z-index: 2; height: 100%; padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.pane-body h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; }
.pane-body .rule { display: block; width: 48px; height: 3px; margin-top: 16px; background: var(--sky); border-radius: 99px; }
.pane-body .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

.wide { position: relative; height: 320px; overflow: hidden; }
.wide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wide .veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,59,111,.92), rgba(11,92,174,.82) 50%, rgba(7,59,111,.92)); }
.wide-body {
  position: relative; z-index: 2; max-width: 720px; height: 100%;
  margin: 0 auto; padding: 0 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.wide-body h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; }
.wide-body .rule { display: block; width: 48px; height: 3px; margin-top: 16px; background: var(--sky); border-radius: 99px; }
.wide-body p { margin-top: 20px; color: rgba(255,255,255,.85); font-size: .95rem; }
.wide-body .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---- 14. Secteurs ------------------------------------------ */
.sector-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px; }
.sector {
  background: #fff; padding: 24px 16px; text-align: center;
  border-bottom: 4px solid rgba(11,92,174,.2);
  font-size: .88rem; font-weight: 600; color: var(--head);
  transition: all .3s ease;
}
.sector:hover {
  transform: translateY(-4px); color: var(--blue);
  border-bottom-color: var(--sky);
  box-shadow: 0 16px 36px -24px rgba(0,0,0,.35);
}

/* ---- 15. À propos ------------------------------------------ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 48px; }
.about-photo { position: relative; height: 416px; overflow: hidden; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo .veil { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,59,111,.55), rgba(11,92,174,.4)); }
.about-text p { color: var(--muted); font-size: 1.02rem; }
.about-text strong { color: var(--head); font-weight: 600; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.compare > div { padding: 20px; }
.compare .before { background: var(--mist); border-left: 4px solid var(--line); }
.compare .after  { background: var(--blue); border-left: 4px solid var(--sky); }
.compare .lbl { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.compare .before .lbl { color: var(--muted); }
.compare .after  .lbl { color: var(--sky); }
.compare p { margin-top: 10px; font-size: .94rem; }
.compare .before p { color: #444; }
.compare .after  p { color: #fff; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.value { background: var(--mist); padding: 24px; border-top: 4px solid var(--blue); transition: transform .3s; }
.value:hover { transform: translateY(-4px); }
.value .ico {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center;
}
.value .ico svg { width: 20px; height: 20px; }
.value h3 { margin-top: 16px; font-size: 1.05rem; font-weight: 700; }
.value p { margin-top: 8px; font-size: .9rem; color: var(--muted); }

/* ---- 16. Contact ------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; margin-top: 48px; }
.form-card { background: var(--mist); padding: 36px; border-top: 4px solid var(--blue); }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > span { font-size: .8rem; font-weight: 600; color: var(--head); }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); background: #fff;
  padding: 12px 16px; font: inherit; font-size: .93rem; color: var(--ink);
  outline: none; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note { margin-top: 12px; text-align: center; font-size: .75rem; color: var(--muted); }

/* Récapitulatif des produits choisis, affiché dans le formulaire */
.picked-box { display: none; background: #fff; border-left: 4px solid var(--sky); padding: 16px; margin-bottom: 16px; }
.picked-box.is-on { display: block; }
.picked-box .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.picked-box .cnt { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.picked-box .clear { background: none; border: 0; font-size: .75rem; color: var(--muted); text-decoration: underline; }
.picked-box .clear:hover { color: var(--blue); }
.picked-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.picked-list li {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--mist); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: .78rem;
}
.picked-list button { background: none; border: 0; color: var(--muted); line-height: 1; padding: 2px; }
.picked-list button:hover { color: var(--blue); }

.guarantees { display: flex; flex-direction: column; gap: 16px; }
.guarantee {
  display: flex; align-items: center; gap: 16px;
  background: var(--mist); border-left: 4px solid var(--blue); padding: 16px 20px;
  font-size: .92rem; font-weight: 600; color: var(--head);
}
.guarantee .ico {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center;
}
.guarantee .ico svg { width: 18px; height: 18px; }

.hq { background: var(--blue); color: #fff; padding: 24px; margin-top: 8px; }
.hq .lbl { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); }
.hq p { margin-top: 12px; font-size: .95rem; }
.hq a { display: block; margin-top: 4px; font-size: .95rem; font-weight: 600; }
.hq a:hover { color: var(--sky); }

.sent { display: none; text-align: center; padding: 40px 0; }
.sent.is-on { display: block; }
.sent .ico { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto; background: rgba(62,181,75,.15); color: var(--leaf); display: grid; place-items: center; }
.sent h3 { margin-top: 20px; font-size: 1.25rem; font-weight: 700; }
.sent p { margin: 8px auto 0; max-width: 420px; font-size: .93rem; color: var(--muted); }
.sent a { color: var(--blue); font-weight: 600; }
.sent .again { margin-top: 24px; background: none; border: 0; font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: underline; }

/* ---- 17. Barre flottante de sélection ---------------------- */
.quotebar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 0 16px 16px;
  justify-content: center;
}
.quotebar.is-on { display: flex; }
.quotebar .inner {
  width: 100%; max-width: 640px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
}
.quotebar .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.quotebar .badge { position: relative; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.quotebar .badge svg { width: 18px; height: 18px; }
.quotebar .badge .n {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--leaf); color: #fff;
  font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
}
.quotebar .txt { text-align: left; }
.quotebar .txt b { display: block; font-size: .88rem; color: var(--head); }
.quotebar .txt span { display: block; font-size: .75rem; color: var(--muted); }
.quotebar .toggle { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; }
.quotebar .go {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--black); color: #fff; padding: 10px 20px;
  font-size: .85rem; font-weight: 700; border-radius: 999px;
  transition: transform .3s;
}
.quotebar .go:hover { transform: translateY(-2px); }
.quotebar .detail { display: none; max-height: 240px; overflow-y: auto; padding: 16px; border-bottom: 1px solid var(--line); }
.quotebar .detail.is-on { display: block; }
.quotebar .detail li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--mist); padding: 8px 12px; margin-bottom: 8px;
}
.quotebar .detail b { display: block; font-size: .85rem; font-weight: 600; color: var(--head); }
.quotebar .detail small { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.quotebar .detail button { background: none; border: 0; color: var(--muted); }
.quotebar .detail button:hover { color: var(--blue); }

/* ---- 18. Pied de page -------------------------------------- */
.site-foot { background: var(--black); color: rgba(255,255,255,.7); }
.desks { border-bottom: 1px solid rgba(255,255,255,.1); }
.desks .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.desk { display: flex; gap: 16px; align-items: flex-start; }
.desk .ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  display: grid; place-items: center;
}
.desk .ico svg { width: 18px; height: 18px; }
.desk b { display: block; font-size: .92rem; color: #fff; }
.desk p { font-size: .82rem; line-height: 1.5; }

.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.foot-cols img { height: 44px; width: auto; }
.foot-cols .intro { margin-top: 20px; max-width: 300px; font-size: .86rem; }
.status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  border: 1px solid rgba(255,255,255,.15); padding: 6px 14px;
  font-size: .78rem; color: rgba(255,255,255,.85);
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(62,181,75,.7); animation: pulse 2s infinite; }
@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(62,181,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(62,181,75,0); }
}
.foot-cols h3 { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.foot-cols ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; font-size: .86rem; }
.foot-cols a:hover { color: var(--sky); }
.foot-cta { display: inline-block; margin-top: 8px; background: var(--blue); color: #fff; padding: 8px 16px; font-size: .8rem; font-weight: 700; }
.foot-cta:hover { background: var(--sky); }

.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.foot-bottom .container {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 20px; padding-bottom: 20px; font-size: .78rem;
}
.foot-bottom a:hover { color: var(--sky); }

/* ============================================================
   19. ADAPTATION AUX ÉCRANS PLUS PETITS
   ============================================================ */
@media (max-width: 1100px) {
  .family-grid  { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid  { grid-template-columns: repeat(3, 1fr); }
  .pillars .container { grid-template-columns: repeat(2, 1fr); }
  .desks .container   { grid-template-columns: repeat(2, 1fr); }
  .foot-cols          { grid-template-columns: repeat(2, 1fr); }
  .contact-grid       { grid-template-columns: 1fr; }
  .about-grid         { grid-template-columns: 1fr; gap: 32px; }
  .about-photo        { height: 300px; }
}

@media (max-width: 1023px) {
  .topbar { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-panel { height: 340px; }
  .section { padding: 56px 0; }
}

@media (max-width: 700px) {
  .family-grid, .product-grid, .service-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars .container, .desks .container, .foot-cols { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .search { width: 100%; }
  .tools { flex-direction: column; align-items: stretch; }
  .chips { justify-content: center; }
  .form-card { padding: 24px; }
  .nav-cta { display: none; }
  .brand img { height: 40px; }
  .hero-body .l1, .hero-body .l2 { font-size: 1.35rem; }
  .hero-body .tag { font-size: 1.7rem; }
  .quotebar .go span { display: none; }
  .foot-bottom .container { flex-direction: column; align-items: flex-start; }
}
