/* NewLine Group — direzione: revolut in esecuzione sottrattiva (fotografia protagonista, un solo accento: l'azzurro del logo) */
:root {
  --azzurro: #0a8fd0;
  --azzurro-hover: #0879b1;
  --black: #000000;
  --carbon: #121519;
  --graphite: #393c41;
  --pewter: #5c5e62;
  --silver: #8e8e8e;
  --ash: #f4f4f4;
  --cloud: #e6e7e8;
  --white: #ffffff;
  --line-dark: rgba(255,255,255,.14);
  --r: 6px;
  --font-display: "Inter Tight", -apple-system, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --font: "Inter", -apple-system, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--carbon); letter-spacing: -.01em; }
p { margin: 0; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding: 0 32px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: var(--r);
  font-family: var(--font); font-weight: 600; font-size: 15px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.btn--primary { background: var(--azzurro); color: var(--white); }
.btn--primary:hover { background: var(--azzurro-hover); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--light { background: var(--carbon); color: var(--white); }
.btn--light:hover { background: var(--black); }
.btn--call { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); padding: 10px 14px; }
.btn--call:hover { border-color: var(--white); }
.btn:focus-visible, .burger:focus-visible { outline: 3px solid var(--azzurro); outline-offset: 2px; }

/* ---------- header : noir, comme le fond du logo ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); border-bottom: 1px solid var(--line-dark); }
.header__bar { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { flex: 0 0 auto; display: block; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { font-weight: 500; font-size: 15px; text-decoration: none; color: rgba(255,255,255,.82); padding: 9px 12px; border-radius: var(--r); transition: color .25s, background-color .25s; }
.nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.header__actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.call__label { display: none; }
.cta__short { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--r); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--white); }

/* menu mobile — frère du header, fermé = display:none */
.menu-mobile { display: none; position: fixed; inset: 0; z-index: 100; background: var(--black); color: var(--white); overflow-y: auto; }
.menu-mobile.is-open { display: block; animation: menuIn .2s ease-out; }
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
.menu-mobile__inner { display: flex; flex-direction: column; gap: 4px; padding: 72px 24px 40px; min-height: 100%; }
.menu-mobile__inner a:not(.btn) { display: block; min-height: 48px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-size: 21px; font-weight: 500; text-decoration: none; }
.menu-mobile__inner .btn { margin-top: 24px; }
.menu-mobile__close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: var(--r); color: var(--white); font-size: 28px; line-height: 1; cursor: pointer; }

/* ---------- hero : la photo du bar, nette, voile carbone à gauche ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--carbon); color: var(--white); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("https://storage.googleapis.com/msgsndr/5whl2Aa5ivnlcqVFwUaZ/media/6ae8bb29d40535561ee5d318.jpg") 47% 40% / cover no-repeat;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,12,15,.86) 0%, rgba(10,12,15,.66) 34%, rgba(10,12,15,.15) 58%, rgba(10,12,15,.25) 100%);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr) minmax(0, 420px); gap: 0; align-items: center;
  padding-block: 80px;
}
.hero__text { grid-column: 1; }
.hero__capture { grid-column: 3; }
.eyebrow { font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--azzurro); margin-bottom: 16px; }
.hero h1 { color: var(--white); font-size: clamp(40px, 4.4vw, 62px); line-height: 1.06; font-weight: 600; letter-spacing: -.015em; }
.hero__sub { font-size: 19px; line-height: 1.55; margin-top: 22px; color: rgba(255,255,255,.86); max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 40px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.hero__stats div { display: flex; flex-direction: column-reverse; }
.hero__stats dt { font-size: 14px; color: rgba(255,255,255,.7); }
.hero__stats dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; color: var(--white); }
.hero__capture-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 12px; color: var(--white); }
.hero__panel { background: var(--white); border-radius: var(--r); padding: 10px; color: var(--carbon); }
.capture-embed { min-height: 750px; }

/* ---------- sections ---------- */
.section { padding-block: 112px; }
.section--soft { background: var(--ash); }
.section--dark { background: var(--carbon); color: rgba(255,255,255,.8); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { display: block; margin-bottom: 56px; max-width: 780px; }
.section__head--tight { margin-bottom: 32px; }
.section__num { display: none; }
.section h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.015em; }
.lead { font-size: 18px; margin-top: 20px; color: var(--pewter); max-width: 680px; }
.section--dark .lead { color: rgba(255,255,255,.72); }

/* une seule règle pour toutes les photos de grille : même format, même hauteur */
.card img, .grid-blocks--pins .block img, .duo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r);
}

/* horeca */
.cards { display: grid; gap: 32px; align-items: start; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card__body { padding-top: 20px; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--pewter); font-size: 16px; }

/* prodotti */
.grid-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.block { background: var(--white); border-radius: var(--r); padding: 28px; }
.block h3 { font-size: 21px; margin-bottom: 8px; }
.block p { color: var(--pewter); }
.grid-blocks--pins .block { position: relative; padding: 0; background: transparent; }
.grid-blocks--pins .block img { margin-bottom: 20px; }
.block__tag { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--azzurro); color: var(--white); padding: 5px 10px; border-radius: 4px; }
.waters { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--cloud); }
.waters li { padding: 24px 24px 0 0; color: var(--pewter); }
.waters li + li { padding-left: 24px; border-left: 1px solid var(--cloud); }
.waters strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--carbon); letter-spacing: -.02em; }

/* filtrazione : trois niveaux de même hauteur, le dernier en carbone */
.ladder { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ladder__step { border-radius: var(--r); padding: 32px; background: var(--ash); display: flex; flex-direction: column; min-height: 320px; }
.ladder__step:nth-child(3) { background: var(--carbon); color: rgba(255,255,255,.78); }
.ladder__step:nth-child(3) h3 { color: var(--white); }
.ladder__lvl { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--azzurro); margin-bottom: 18px; }
.ladder__step h3 { font-size: 26px; margin-bottom: 10px; }
.ladder__step p { color: var(--pewter); }
.ladder__step:nth-child(3) p { color: rgba(255,255,255,.75); }
.ladder__who { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--cloud); color: var(--graphite) !important; }
.ladder__step > p:first-of-type { margin-bottom: 24px; }
.ladder__step:nth-child(3) .ladder__who { border-top-color: var(--line-dark); color: var(--white) !important; }

/* metodo */
.steps { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--cloud); }
.steps li { padding: 28px 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--cloud); }
.steps span { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--azzurro); margin-bottom: 14px; }
.steps span::before { content: "0"; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--pewter); font-size: 16px; }
.duo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.duo figure { margin: 0; }
.duo figure:nth-child(3) img { object-position: 50% 35%; }
.duo figcaption { font-size: 15px; font-weight: 500; color: var(--graphite); padding-top: 14px; }

/* numeri */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.figures div { padding: 32px 24px 0 0; }
.figures div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.figures dt { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.figures dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -.03em; color: var(--white); }
.figures__note { margin-top: 40px; color: rgba(255,255,255,.72); }
.figures__note a { color: var(--white); text-decoration-color: var(--azzurro); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* casa */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__img { margin: 0; }
.split__img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--r); }
.list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--cloud); }
.list li { padding: 18px 0; border-bottom: 1px solid var(--cloud); color: var(--pewter); }
.list b { color: var(--carbon); font-weight: 600; }

/* zona e contatti */
.grid-blocks--light .block { border-top: 2px solid var(--azzurro); border-radius: 0 0 var(--r) var(--r); }
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contacts .block { background: var(--ash); }
.contacts a { color: var(--carbon); font-weight: 600; }
.contacts .block b { font-weight: 600; color: var(--carbon); }
.contacts__cta { margin-top: 40px; }

/* bande CTA : une ligne sobre, pas un bloc de couleur */
.section > .cta-band { margin-top: 72px; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; border-top: 1px solid var(--cloud); }
.section--dark .cta-band__inner { border-top-color: var(--line-dark); }
.cta-band p { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -.01em; color: var(--carbon); }
.section--dark .cta-band p { color: var(--white); }
.section--dark .btn--light { background: var(--azzurro); }
.section--dark .btn--light:hover { background: var(--azzurro-hover); }

/* footer */
.site-footer { background: var(--black); color: rgba(255,255,255,.66); padding-block: 56px; font-size: 15px; }
.footer__inner { display: grid; gap: 12px; }
.footer__logo { height: 52px; width: auto; margin-bottom: 8px; }
.site-footer a { color: var(--white); }
.footer__credit { margin-top: 12px; font-size: 14px; }

/* ---------- palier intermédiaire ≤1100 ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header__actions { margin-left: auto; }
  .burger { display: inline-flex; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .hero__capture { grid-column: 2; }
  .hero__veil { background: linear-gradient(90deg, rgba(10,12,15,.88) 0%, rgba(10,12,15,.62) 50%, rgba(10,12,15,.3) 100%); }
  .steps { grid-template-columns: 1fr 1fr; border-top: 0; gap: 24px; }
  .steps li, .steps li + li { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--cloud); }
  .contacts { grid-template-columns: 1fr 1fr; }
  .figures { grid-template-columns: 1fr 1fr; border-top: 0; gap: 24px; }
  .figures div, .figures div + div { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line-dark); }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__capture { grid-column: 1; }
  .cards--3, .grid-blocks, .ladder, .duo { grid-template-columns: 1fr; }
  .waters { grid-template-columns: 1fr; border-top: 0; }
  .waters li, .waters li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--cloud); }
  .ladder__step { min-height: 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- mobile ≤720 ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header__bar { height: 64px; gap: 8px; }
  .brand { flex: 1 1 0; min-width: 0; }
  .brand img { height: 30px; max-width: 100%; object-fit: contain; object-position: left center; }
  .header__actions { gap: 4px; }
  .btn--call { padding: 8px 10px; }
  .call__num { display: none; }
  .call__label { display: inline; }
  .header__cta { padding: 8px 12px; font-size: 14px; }
  .cta__long { display: none; }
  .cta__short { display: inline; }

  /* boîte photo bornée, cadrée sur la colonne et la carafe ; voile carbone en paliers */
  .hero__bg { bottom: auto; height: 620px; background-position: 56% 50%; }
  .hero__veil {
    background: linear-gradient(180deg,
      rgba(10,12,15,.42) 0px,
      rgba(10,12,15,.62) 240px,
      rgba(10,12,15,.86) 440px,
      rgba(18,21,25,1) 600px);
  }
  .hero__grid { padding-block: 32px 48px; gap: 36px; }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }
  .hero h1 { font-size: 36px; line-height: 1.06; }
  .hero__sub { font-size: 16px; margin-top: 14px; }
  .hero__ctas { margin-top: 24px; }
  .hero__ctas .btn { width: 100%; white-space: normal; text-align: center; }
  .hero__stats { margin-top: 28px; padding-top: 18px; gap: 32px; }
  .hero__stats dd { font-size: 28px; }
  .hero__panel { padding: 6px; }

  .section { padding-block: 72px; }
  .section > .cta-band { margin-top: 48px; }
  .section__head { margin-bottom: 36px; }
  .lead { font-size: 16px; }
  .block, .ladder__step { padding: 24px; }
  .steps, .contacts, .figures { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: stretch; }
  .cta-band p { font-size: 20px; }
  .cta-band .btn, .contacts__cta .btn { white-space: normal; text-align: center; width: 100%; }
}

@media (max-width: 359px) {
  .call__label { display: none; }
  .btn--call { width: 44px; padding: 0; }
  .brand img { height: 26px; }
  .hero h1 { font-size: 32px; }
}
