
*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
margin:0;
background:var(--page);
color:var(--ink);
font-family:var(--font);
-webkit-font-smoothing:antialiased;
}

a{color:inherit;text-decoration:none}
img,video{display:block;width:100%}
video{background:#111}
button,input,textarea{font:inherit}

.site-header{
min-height:var(--header);
padding:0 5vw;
display:flex;
align-items:center;
justify-content:space-between;
gap:30px;
position:relative;
z-index:50;
}

.brand{
font-weight:800;
font-size:19px;
letter-spacing:-.035em;
}

.main-nav{
display:flex;
align-items:center;
gap:26px;
font-size:14px;
}

.main-nav a{transition:opacity .25s ease}
.main-nav a:hover{opacity:.5}

.menu-button{
display:none;
border:0;
background:transparent;
color:inherit;
}

.hero{
width:min(1500px,100%);
margin:auto;
min-height:620px;
}

.hero h1{
margin:0;
font-size:clamp(56px,8vw,126px);
line-height:.9;
letter-spacing:-.075em;
font-weight:var(--hero-weight);
}

.eyebrow,.section-kicker{
font-size:12px;
text-transform:uppercase;
letter-spacing:.15em;
font-weight:800;
}

.hero-subtitle,.hero-side p,.statement-footer p{
font-size:19px;
line-height:1.55;
}

.hero-split{
display:grid;
grid-template-columns:1.05fr .95fr;
}

.hero-split .hero-copy{
padding:90px 5vw;
display:flex;
flex-direction:column;
justify-content:center;
align-items:flex-start;
}

.hero-split .hero-media{min-height:620px}

.hero-split .hero-media img,
.hero-split .hero-media video{
height:620px;
object-fit:cover;
}

.hero-statement{padding:90px 5vw 0}
.hero-statement h1{max-width:1250px;margin-top:70px}
.statement-footer{width:min(600px,100%);margin:60px 0 45px auto}

.hero-statement .hero-media img,
.hero-statement .hero-media video{
height:430px;
object-fit:cover;
}

.hero-centered{text-align:center;padding:100px 5vw 0}
.hero-centered .hero-copy{max-width:1080px;margin:auto}
.hero-centered .hero-subtitle{max-width:650px;margin:35px auto}
.hero-centered .hero-media{margin-top:70px}

.hero-centered .hero-media img,
.hero-centered .hero-media video{
height:430px;
object-fit:cover;
}

.hero-editorial{
padding:90px 5vw;
display:grid;
grid-template-columns:80px minmax(0,1fr) 340px;
gap:40px;
}

.hero-editorial .hero-side{padding-top:80px}
.hero-editorial .hero-media{grid-column:2/4;margin-top:30px}

.hero-editorial .hero-media img,
.hero-editorial .hero-media video{
height:390px;
object-fit:cover;
}

.primary-button{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:54px;
padding:0 28px;
border:0;
background:var(--accent);
color:var(--button-text);
border-radius:var(--button-radius);
font-weight:750;
margin-top:22px;
cursor:pointer;
transition:transform .25s ease,opacity .25s ease;
}

.primary-button:hover{transform:translateY(-2px);opacity:.88}

.section{
padding:105px 5vw;
width:min(1500px,100%);
margin:auto;
}

.section-heading{margin-bottom:55px}

.section-heading h2{
font-size:clamp(42px,6vw,82px);
line-height:.96;
letter-spacing:-.06em;
margin:10px 0;
font-weight:var(--title-weight);
}

.benefits-grid,.services-layout{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:var(--gap);
}

.benefit-card,.service-card{
padding:28px;
background:var(--card);
border-radius:var(--radius);
min-height:220px;
border:var(--card-border);
}

.service-card h3,.product-card h3{
font-size:28px;
letter-spacing:-.04em;
}

.services-list .services-layout{grid-template-columns:1fr}
.services-spotlight .services-layout{grid-template-columns:1.5fr .75fr}
.services-spotlight .service-card:first-child{grid-row:span 2}

.products-layout{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:var(--gap);
}

.product-card{
background:var(--card);
border-radius:var(--radius);
overflow:hidden;
border:var(--card-border);
}

.product-image img{aspect-ratio:4/3;object-fit:cover}
.product-content{padding:28px}
.products-catalog .products-layout{grid-template-columns:repeat(3,1fr)}
.products-featured .product-card:first-child{grid-column:1/-1}

.about-section,.action-section{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
}

.about-copy p{
font-size:clamp(24px,3vw,40px);
line-height:1.3;
}

.action-section{
background:var(--action-bg);
color:var(--action-text);
border-radius:var(--action-radius);
margin-top:50px;
margin-bottom:50px;
}

.action-form{display:grid;gap:14px}
.action-form label{display:grid;gap:7px}

.action-form input,.action-form textarea{
padding:15px;
border-radius:12px;
border:1px solid rgba(127,127,127,.3);
background:rgba(255,255,255,.08);
color:inherit;
}

.contact-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:var(--gap);
}

.contact-item{
padding:25px;
background:var(--card);
border-radius:var(--radius);
border:var(--card-border);
}

.site-footer{
padding:40px 5vw;
border-top:1px solid rgba(127,127,127,.18);
}

/* motion */
[data-reveal]{
opacity:0;
transform:translateY(26px);
transition:opacity .75s cubic-bezier(.2,.7,.2,1),transform .75s cubic-bezier(.2,.7,.2,1);
}

[data-reveal].is-visible{
opacity:1;
transform:none;
}

.hero-media img,.hero-media video{
transition:transform 1.2s cubic-bezier(.2,.7,.2,1);
}

.hero-media:hover img,.hero-media:hover video{transform:scale(1.015)}

@media(max-width:850px){
.site-header{min-height:68px}
.menu-button{display:block}

.main-nav{
display:none;
position:absolute;
top:68px;
left:0;
right:0;
padding:24px 6vw;
background:var(--page);
flex-direction:column;
align-items:flex-start;
}

.main-nav.open{display:flex}

.hero{min-height:0}
.hero h1{font-size:clamp(46px,15vw,76px)}

.hero-split,.hero-editorial,.about-section,.action-section{display:block}

.hero-split .hero-copy,
.hero-statement,
.hero-centered,
.hero-editorial{padding:65px 6vw}

.hero-split .hero-media img,
.hero-split .hero-media video,
.hero-statement .hero-media img,
.hero-statement .hero-media video,
.hero-centered .hero-media img,
.hero-centered .hero-media video,
.hero-editorial .hero-media img,
.hero-editorial .hero-media video{
height:320px;
}

.section{padding:75px 6vw}

.benefits-grid,
.services-layout,
.services-spotlight .services-layout,
.products-layout,
.products-catalog .products-layout,
.contact-grid{grid-template-columns:1fr}
}

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


:root{
--ink:#101010;
--font:Arial,-apple-system,sans-serif;
--hero-weight:900;
--title-weight:900;
--header:72px;
--radius:0;
--action-radius:0;
--button-radius:0;
--gap:6px;
--card:#fff;
--card-border:2px solid #111;
--action-bg:var(--accent);
--action-text:#111;
--button-text:#fff;
}
.hero h1{font-size:clamp(64px,10vw,160px);line-height:.82;text-transform:uppercase}
.section-heading h2{text-transform:uppercase}
.site-header{border-bottom:2px solid #111}



/* ==========================================================
   KAFK COMPOSER WEB — UX V2
   ========================================================== */

:root{
  --cw-max:1360px;
  --cw-gutter:clamp(22px,4.5vw,68px);
  --cw-section:clamp(72px,8vw,116px);
  --cw-radius-xl:30px;
  --cw-radius-lg:22px;
  --cw-radius-md:15px;
  --cw-border:rgba(20,20,20,.10);
}

html{
  scroll-padding-top:100px;
}

body{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  line-height:1.5;
}

main{
  overflow:hidden;
}

p{
  text-wrap:pretty;
}

button,
input,
textarea,
select{
  font:inherit;
}


/* HEADER */

.site-header{
  width:min(calc(100% - 28px),var(--cw-max));
  min-height:70px;
  margin:14px auto 0;
  padding:0 clamp(18px,2vw,28px);
  border:1px solid var(--cw-border);
  border-radius:20px;
  position:relative;
  z-index:50;
}

.brand{
  font-size:17px;
  letter-spacing:-.025em;
}

.main-nav{
  gap:clamp(16px,2vw,28px);
  align-items:center;
}

.main-nav a{
  opacity:.76;
  transition:opacity .2s ease;
}

@media(hover:hover){
  .main-nav a:hover{
    opacity:1;
  }
}


/* HERO */

.hero{
  width:min(100%,var(--cw-max));
  min-height:auto;
  margin:18px auto 0;
  padding-left:var(--cw-gutter);
  padding-right:var(--cw-gutter);
}

.hero h1{
  font-size:clamp(46px,6.2vw,94px);
  line-height:.96;
  letter-spacing:-.06em;
  max-width:960px;
}

.hero p{
  font-size:clamp(17px,1.5vw,21px);
  line-height:1.55;
}

.hero-media{
  min-width:0;
  overflow:hidden;
  border-radius:var(--cw-radius-xl);
}

.hero-media img,
.hero-media video{
  width:100%;
  height:100%;
  object-fit:cover;
}


/* HERO SPLIT */

.hero-split{
  min-height:620px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(400px,.9fr);
  gap:clamp(30px,4vw,68px);
  align-items:center;
}

.hero-split .hero-copy{
  padding:clamp(60px,7vw,100px) 0;
}

.hero-split .hero-media{
  height:clamp(470px,60vw,680px);
}


/* HERO STATEMENT */

.hero-statement{
  padding-top:clamp(65px,8vw,110px);
}

.hero-statement h1{
  margin-top:clamp(32px,4vw,60px);
  max-width:1080px;
}

.statement-footer{
  max-width:590px;
  margin:
    clamp(35px,4vw,55px)
    0
    clamp(35px,4vw,55px)
    auto;
}

.hero-statement .hero-media{
  height:clamp(350px,44vw,550px);
}


/* HERO CENTERED */

.hero-centered{
  padding-top:clamp(70px,8vw,110px);
}

.hero-centered .hero-copy{
  max-width:920px;
}

.hero-centered .hero-media{
  margin-top:clamp(40px,5vw,68px);
  height:clamp(350px,47vw,590px);
}


/* HERO EDITORIAL */

.hero-editorial{
  padding-top:clamp(70px,8vw,110px);
  padding-bottom:clamp(70px,8vw,110px);
  grid-template-columns:70px minmax(0,1fr) minmax(260px,340px);
  gap:clamp(25px,3vw,48px);
}


/* SECTIONS */

.section{
  width:min(100%,var(--cw-max));
  margin:auto;
  padding:
    var(--cw-section)
    var(--cw-gutter);
}

.section-heading{
  max-width:900px;
  margin-bottom:clamp(32px,4vw,52px);
}

.section-heading h2{
  font-size:clamp(38px,4.5vw,66px);
  line-height:1;
  letter-spacing:-.052em;
  margin:8px 0;
}

.section-kicker,
.eyebrow{
  font-size:11px;
  letter-spacing:.16em;
}


/* BENEFITS */

.benefits-grid{
  gap:clamp(12px,1.5vw,20px);
}

.benefit-card{
  min-height:0;
  padding:clamp(24px,2.5vw,34px);
  border-radius:var(--cw-radius-lg);
  border:1px solid rgba(20,20,20,.06);
}

.benefit-card p{
  margin-bottom:0;
}


/* SERVICES */

.services-layout{
  gap:clamp(12px,1.5vw,22px);
}

.service-card{
  min-height:0;
  padding:clamp(25px,2.7vw,38px);
  border-radius:var(--cw-radius-lg);
  border:1px solid rgba(20,20,20,.06);
}

.service-card h3{
  font-size:clamp(22px,2vw,30px);
  line-height:1.08;
  letter-spacing:-.035em;
}


/* PRODUCTS */

.products-layout{
  gap:clamp(16px,2vw,28px);
}

.product-card{
  border-radius:var(--cw-radius-lg);
  border:1px solid rgba(20,20,20,.08);
}

.product-image{
  overflow:hidden;
}

.product-image img{
  aspect-ratio:16/11;
  transition:transform .5s cubic-bezier(.2,.7,.2,1);
}

@media(hover:hover){
  .product-card:hover .product-image img{
    transform:scale(1.025);
  }
}


/* ABOUT */

.about-section{
  grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);
  gap:clamp(40px,7vw,100px);
  align-items:start;
}

.about-copy p{
  font-size:clamp(22px,2.5vw,34px);
  line-height:1.3;
  letter-spacing:-.025em;
}


/* ACTION / DEVIS */

.action-section{
  width:min(calc(100% - 36px),1280px);
  margin:clamp(45px,6vw,85px) auto;
  padding:clamp(42px,6vw,78px);
  grid-template-columns:minmax(0,.8fr) minmax(400px,1fr);
  gap:clamp(45px,7vw,90px);
  border-radius:var(--cw-radius-xl);
}

.action-copy h2{
  font-size:clamp(38px,4vw,60px);
  line-height:1;
  letter-spacing:-.05em;
  margin:12px 0 20px;
}

.action-copy > p{
  max-width:500px;
  line-height:1.55;
}

.quote-ai-note{
  margin-top:28px;
}

.action-form{
  gap:17px;
}

.action-form label{
  gap:8px;
  font-size:14px;
  font-weight:600;
}

.action-form input,
.action-form textarea,
.action-form select{
  width:100%;
  min-height:52px;
  padding:14px 16px;
  border-radius:var(--cw-radius-md);
  outline:none;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.action-form textarea{
  min-height:140px;
  resize:vertical;
}

.action-form input:focus,
.action-form textarea:focus,
.action-form select:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 18%,transparent);
}

.quote-contact-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.action-form .primary-button{
  min-height:52px;
  width:fit-content;
  min-width:190px;
  margin-top:4px;
}

.form-feedback{
  min-height:22px;
  margin:0;
  font-size:14px;
}


/* CONTACT */

.contact-grid{
  gap:clamp(12px,1.5vw,20px);
}

.contact-item{
  min-height:0;
  padding:clamp(22px,2.5vw,32px);
  border-radius:var(--cw-radius-lg);
  border:1px solid rgba(20,20,20,.06);
}


/* FOOTER */

.site-footer{
  width:min(100%,var(--cw-max));
  margin:auto;
  padding:40px var(--cw-gutter);
}


/* SHOWCASE */

.family-showcase .hero{
  background:none;
}

.family-showcase .hero-split,
.family-showcase .hero-centered,
.family-showcase .hero-statement,
.family-showcase .hero-editorial{
  background:#171717;
  color:#fff;
  border-radius:var(--cw-radius-xl);
  padding-left:var(--cw-gutter);
  padding-right:var(--cw-gutter);
}


/* CATALOG */

.family-catalog .products-section{
  width:min(calc(100% - 36px),1400px);
  border-radius:var(--cw-radius-xl);
}


/* EDITORIAL */

.family-editorial .hero h1{
  font-family:Georgia,"Times New Roman",serif;
  letter-spacing:-.045em;
}


/* MOBILE */

@media(max-width:900px){

  :root{
    --cw-gutter:22px;
    --cw-section:66px;
  }

  .site-header{
    width:calc(100% - 24px);
    min-height:64px;
    margin-top:10px;
  }

  .main-nav.open{
    position:absolute;
    top:72px;
    left:0;
    right:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:10px;
    border:1px solid var(--cw-border);
    border-radius:18px;
    background:var(--page);
  }

  .main-nav.open a{
    padding:13px 12px;
  }

  .hero{
    margin-top:12px;
  }

  .hero h1{
    font-size:clamp(42px,12vw,66px);
    line-height:.97;
  }

  .hero-split,
  .hero-editorial{
    display:flex;
    flex-direction:column;
    min-height:0;
    gap:0;
  }

  .hero-split .hero-copy,
  .hero-statement,
  .hero-centered,
  .hero-editorial{
    padding-top:54px;
    padding-bottom:38px;
  }

  .hero-split .hero-media,
  .hero-statement .hero-media,
  .hero-centered .hero-media,
  .hero-editorial .hero-media{
    width:100%;
    height:auto;
    aspect-ratio:4/3;
    border-radius:22px;
  }

  .hero-split .hero-media img,
  .hero-statement .hero-media img,
  .hero-centered .hero-media img,
  .hero-editorial .hero-media img{
    height:100%;
  }

  .section-heading{
    margin-bottom:30px;
  }

  .section-heading h2{
    font-size:clamp(34px,10vw,50px);
  }

  .benefits-grid,
  .services-layout,
  .products-layout,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .about-section{
    display:block;
  }

  .about-copy{
    margin-top:28px;
  }

  .about-copy p{
    font-size:clamp(21px,6vw,29px);
  }

  .action-section{
    width:calc(100% - 24px);
    display:block;
    padding:34px 24px;
    border-radius:24px;
  }

  .action-copy{
    margin-bottom:34px;
  }

  .action-copy h2{
    font-size:clamp(36px,10vw,50px);
  }

  .quote-contact-grid{
    grid-template-columns:1fr;
  }

  .quote-contact-grid label:last-child{
    grid-column:auto;
  }

  .action-form .primary-button{
    width:100%;
  }
}


@media(max-width:480px){

  .hero h1{
    font-size:clamp(39px,13vw,56px);
  }

  .hero p{
    font-size:16px;
  }

  .section{
    padding-top:56px;
    padding-bottom:56px;
  }

}


/* ACCESSIBILITÉ */

@media(prefers-reduced-motion:reduce){

  *,
  *::before,
  *::after{
    scroll-behavior:auto !important;
    transition:none !important;
    animation:none !important;
  }

}



/* ==========================================================
   HEADER STACK FIX
   ========================================================== */

.site-header{
  position:relative !important;
  z-index:9999 !important;
  isolation:isolate;
}

main{
  position:relative;
  z-index:1;
}

.hero{
  position:relative;
  z-index:0;
}

.hero-media,
.hero-copy{
  position:relative;
  z-index:0;
}



/* ==========================================================
   HERO IMMERSIVE + HEADER WIDTH FIX
   ========================================================== */

.site-header{
  width:min(calc(100% - 56px),1380px) !important;
  padding-left:28px !important;
  padding-right:28px !important;
}

.main-nav{
  padding-right:4px;
}

.hero-split{
  grid-template-columns:
    minmax(0,.88fr)
    minmax(520px,1.12fr);

  gap:clamp(32px,4vw,72px);
}

.hero-split .hero-media{
  height:clamp(560px,68vh,780px);
}

.hero-split .hero-copy{
  padding-top:clamp(70px,8vw,120px);
  padding-bottom:clamp(70px,8vw,120px);
}

.hero-split .hero-media img,
.hero-split .hero-media video{
  object-fit:cover;
}

@media(max-width:900px){

  .site-header{
    width:calc(100% - 24px) !important;
    padding-left:18px !important;
    padding-right:18px !important;
  }

  .hero-split{
    grid-template-columns:1fr;
  }

  .hero-split .hero-media{
    height:auto;
    aspect-ratio:4/3;
  }

}




/* ==========================================================
   KAFK COMPOSER WEB — VISUAL V3
   ========================================================== */

/* ----------------------------------------------------------
   RYTHME GÉNÉRAL
   ---------------------------------------------------------- */

.section{
  position:relative;
}

.section + .section{
  margin-top:0;
}

/* Des surfaces vivantes sans remplacer le fond choisi
   dans Composer */

.benefits-section,
.services-section,
.products-section,
.about-section,
.contact-section{
  transition:
    background .25s ease,
    border-color .25s ease;
}


/* ----------------------------------------------------------
   CARTES : moins de "boîtes blanches"
   ---------------------------------------------------------- */

.benefit-card,
.service-card,
.contact-item{
  background:
    color-mix(
      in srgb,
      var(--page) 72%,
      white 28%
    );

  border:
    1px solid
    color-mix(
      in srgb,
      currentColor 9%,
      transparent
    );
}


/* ----------------------------------------------------------
   4 SERVICES = 2 × 2
   ---------------------------------------------------------- */

.services-layout:has(
  .service-card:nth-child(4):last-child
){
  grid-template-columns:
    repeat(2,minmax(0,1fr));
}


/* 5 services : premier élément plus important */

.services-layout:has(
  .service-card:nth-child(5):last-child
){
  grid-template-columns:
    repeat(2,minmax(0,1fr));
}

.services-layout:has(
  .service-card:nth-child(5):last-child
)
.service-card:first-child{
  grid-column:1/-1;
}


/* 6 services : grille équilibrée */

.services-layout:has(
  .service-card:nth-child(6):last-child
){
  grid-template-columns:
    repeat(3,minmax(0,1fr));
}


/* ----------------------------------------------------------
   ABOUT
   ---------------------------------------------------------- */

.about-section{
  align-items:center;
}

.about-copy{
  max-width:760px;
}


/* ----------------------------------------------------------
   CONTACT
   ---------------------------------------------------------- */

.contact-item p{
  margin-bottom:0;
}


/* ----------------------------------------------------------
   INTERNAL PAGES
   ---------------------------------------------------------- */

main > .section:first-child{
  padding-top:
    clamp(70px,7vw,105px);
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media(max-width:900px){

  .services-layout:has(
    .service-card:nth-child(4):last-child
  ),
  .services-layout:has(
    .service-card:nth-child(5):last-child
  ),
  .services-layout:has(
    .service-card:nth-child(6):last-child
  ){
    grid-template-columns:1fr;
  }

  .services-layout:has(
    .service-card:nth-child(5):last-child
  )
  .service-card:first-child{
    grid-column:auto;
  }

}



/* BOLD */

.hero{
  margin-top:24px;
}

.hero h1{
  max-width:1050px;
}

.benefits-section{
  width:100%;
  max-width:none;

  background:var(--accent);
  color:#fff;
}

.benefits-section .benefit-card{
  background:transparent;
  border-color:rgba(255,255,255,.3);
}

.services-section{
  width:min(calc(100% - 30px),1400px);

  background:#171717;
  color:#fff;

  border-radius:26px;
  margin-top:36px;
  margin-bottom:36px;
}

.services-section .service-card{
  background:
    rgba(255,255,255,.07);

  border-color:
    rgba(255,255,255,.13);
}

.about-section{
  padding-top:
    clamp(110px,12vw,170px);

  padding-bottom:
    clamp(110px,12vw,170px);
}



/* ==========================================================
   COMPOSER WEB V5 — UX
   ========================================================== */

body{
    --ux-header-bg:
        color-mix(
            in srgb,
            var(--page) 88%,
            transparent
        );
}


/* HEADER -------------------------------------------------- */

.site-header{
    transition:
        min-height .35s ease,
        background .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}

body.ux-header-floating_to_solid
.site-header{
    position:fixed;
    top:14px;
    left:2vw;
    right:2vw;
    width:auto;
    border-radius:18px;
    background:transparent;
    border-color:transparent;
}

body.ux-header-floating_to_solid
.site-header.is-scrolled{
    background:var(--ux-header-bg);
    backdrop-filter:blur(18px);
    box-shadow:
        0 10px 35px
        rgba(0,0,0,.08);
}

body.ux-header-compact
.site-header{
    min-height:62px;
    position:sticky;
    top:0;
    background:var(--ux-header-bg);
    backdrop-filter:blur(16px);
}

body.ux-header-sticky_simple
.site-header{
    position:sticky;
    top:0;
    background:var(--page);
}


/* HERO ---------------------------------------------------- */

body.ux-hero-immersive
.hero{
    min-height:90vh;
}

body.ux-hero-immersive
.hero-split{
    grid-template-columns:
        .92fr 1.08fr;
}

body.ux-hero-immersive
.hero-media img,
body.ux-hero-immersive
.hero-media video{
    min-height:90vh;
    height:90vh;
}


body.ux-hero-action_first
.hero{
    min-height:
        calc(100vh - 62px);
}

body.ux-hero-action_first
.hero h1{
    max-width:1050px;
}

body.ux-hero-action_first
.primary-button{
    min-height:62px;
    padding-left:34px;
    padding-right:34px;
}


body.ux-hero-soft_media
.hero-media{
    padding:24px;
}

body.ux-hero-soft_media
.hero-media img,
body.ux-hero-soft_media
.hero-media video{
    border-radius:
        calc(var(--radius) + 10px);
}


/* ABOUT STICKY ------------------------------------------- */

@media(min-width:901px){

    body.ux-about-sticky
    .about-section{
        align-items:start;
    }

    body.ux-about-sticky
    .about-section
    .section-heading{
        position:sticky;
        top:120px;
    }

}


/* PRODUCT HORIZONTAL ------------------------------------ */

body.ux-products-horizontal
.products-layout{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:22px;
    padding-bottom:18px;
    scrollbar-width:thin;
}

body.ux-products-horizontal
.product-card{
    flex:
        0 0
        min(420px,82vw);
    scroll-snap-align:start;
}


/* STAGGER ------------------------------------------------ */

[data-ux-stagger]{
    transition-delay:
        calc(
            var(--ux-index,0)
            * 70ms
        );
}


/* MEDIA -------------------------------------------------- */

body.ux-media-motion
.hero-media{
    overflow:hidden;
}

body.ux-media-motion
.hero-media img,
body.ux-media-motion
.hero-media video{
    transform:
        scale(1.035);
}

body.ux-media-motion
.hero-media.is-visible img,
body.ux-media-motion
.hero-media.is-visible video{
    transform:
        scale(1);
}


/* MOBILE CTA --------------------------------------------- */

.mobile-fixed-cta{
    display:none;
}

@media(max-width:850px){

    body.ux-mobile-cta
    .mobile-fixed-cta{
        display:flex;
        position:fixed;
        left:14px;
        right:14px;
        bottom:
            max(
                14px,
                env(
                    safe-area-inset-bottom
                )
            );
        z-index:200;
        align-items:center;
        justify-content:center;
        min-height:56px;
        padding:0 22px;
        border-radius:999px;
        background:var(--accent);
        color:#fff;
        font-weight:800;
        box-shadow:
            0 14px 40px
            rgba(0,0,0,.22);
    }

    body.ux-mobile-cta{
        padding-bottom:84px;
    }

}


/* ACCORDION SERVICES ------------------------------------ */

@media(max-width:850px){

    body.ux-services-accordion_mobile
    .service-card{
        min-height:0;
        cursor:pointer;
        position:relative;
    }

    body.ux-services-accordion_mobile
    .service-card p,
    body.ux-services-accordion_mobile
    .service-card .item-price{
        display:none;
    }

    body.ux-services-accordion_mobile
    .service-card.is-open p,
    body.ux-services-accordion_mobile
    .service-card.is-open .item-price{
        display:block;
    }

    body.ux-services-accordion_mobile
    .service-card::after{
        content:"+";
        position:absolute;
        top:24px;
        right:24px;
        font-size:24px;
    }

    body.ux-services-accordion_mobile
    .service-card.is-open::after{
        content:"−";
    }

}


/* REDUCED MOTION ---------------------------------------- */

@media(prefers-reduced-motion:reduce){

    body.ux-media-motion
    .hero-media img,
    body.ux-media-motion
    .hero-media video{
        transform:none;
    }

}


.kafk-demo-bar{
width:min(1380px,calc(100% - 32px));
margin:14px auto 0;
display:flex;
justify-content:space-between;
align-items:center;
gap:12px;
position:relative;
z-index:9999;
font:600 13px/1.2 Arial,sans-serif;
}
.kafk-demo-bar a{
padding:11px 16px;
border:1px solid rgba(0,0,0,.12);
border-radius:999px;
background:rgba(255,255,255,.94);
color:#171717;
text-decoration:none;
}
.kafk-demo-bar a:last-child{
background:#171717;
color:white;
}
@media(max-width:650px){
.kafk-demo-bar{
width:calc(100% - 24px);
flex-wrap:wrap;
}
}


/* === KAFK 9 DIRECTIONS : SIGNAL === */
:root{
  --kafk-accent:#7f94ad;
  --kafk-bg:#f5f7fb;
  --kafk-text:#26303a;
}
body{
  background:var(--kafk-bg) !important;
  color:var(--kafk-text) !important;
}
.primary-button,
.kafk-mini-cta{
  background:var(--kafk-accent) !important;
  color:#fff !important;
  border-color:var(--kafk-accent) !important;
}
.hero{
  position:relative;
  overflow:hidden;
}
.hero h1{
  color:var(--kafk-text);
}
.hero.kafk-clean{
  min-height:640px;
  display:grid;
  align-items:center;
}
.hero.kafk-editorial{
  min-height:650px;
  align-items:end !important;
}
.hero.kafk-poster{
  min-height:680px;
  border:2px solid var(--kafk-text);
}
.hero.kafk-utility{
  min-height:580px;
  border-top:6px solid var(--kafk-accent);
}
.hero.kafk-image-split{
  grid-template-columns:minmax(0,.9fr) minmax(380px,1.1fr) !important;
  gap:42px !important;
  align-items:center !important;
}
.hero.kafk-image-overlay{
  min-height:720px !important;
  display:flex !important;
  align-items:flex-end !important;
  padding:56px !important;
  color:#fff !important;
}
.hero.kafk-image-overlay .kafk-real-hero{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero.kafk-image-overlay .kafk-real-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.62));
}
.hero.kafk-image-overlay .kafk-real-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero.kafk-image-overlay .hero-copy,
.hero.kafk-image-overlay .hero-content{
  position:relative;
  z-index:2;
  max-width:760px;
}
.hero.kafk-image-overlay h1,
.hero.kafk-image-overlay p,
.hero.kafk-image-overlay .eyebrow{
  color:#fff !important;
}
.hero.kafk-image-split .kafk-real-hero{
  min-height:560px;
  border-radius:30px;
  overflow:hidden;
}
.hero.kafk-image-split .kafk-real-hero img{
  width:100%;
  height:100%;
  min-height:560px;
  object-fit:cover;
  display:block;
}
.kafk-commerce-panel{
  background:#111;
  color:#fff;
  padding:28px;
  border-radius:28px;
  display:grid;
  gap:12px;
}
.kafk-commerce-panel>small{
  opacity:.55;
  letter-spacing:.14em;
}
.kafk-hero-product{
  background:#fff;
  color:#111;
  border-radius:18px;
  padding:16px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}
.kafk-hero-product>div{
  display:grid;
  gap:4px;
}
.kafk-hero-product strong{
  font-size:20px;
}
.kafk-hero-product span{
  font-size:18px;
}
.kafk-mini-cta{
  text-decoration:none;
  padding:10px 14px;
  border-radius:999px;
  font-weight:800;
  white-space:nowrap;
}
.hero .primary-button{
  font-weight:800 !important;
  padding:14px 20px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  min-height:48px;
}
@media(max-width:800px){
  .hero.kafk-image-overlay{
    min-height:620px !important;
    padding:30px !important;
  }
  .hero.kafk-image-split{
    grid-template-columns:1fr !important;
  }
  .hero.kafk-image-split .kafk-real-hero,
  .hero.kafk-image-split .kafk-real-hero img{
    min-height:360px;
  }
  .kafk-hero-product{
    align-items:flex-start;
    flex-direction:column;
  }
}


/* === UX SIGNAL === */
.ux-signal-hero{
  min-height:680px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,520px);
  gap:56px;
  align-items:center;
  padding:72px max(6vw,28px);
  background:#f3f6f8;
}
.ux-signal-copy>p{font-size:12px;font-weight:900;letter-spacing:.16em}
.ux-signal-copy h1{
  margin:18px 0 0;
  max-width:760px;
  color:#26303a !important;
  font-size:clamp(58px,7vw,100px);
  line-height:.88;
  letter-spacing:-.06em;
}
.ux-signal-lead{margin-top:24px;max-width:560px;font-size:19px;line-height:1.5}
.ux-signal-cta{
  display:inline-flex;margin-top:28px;min-height:54px;align-items:center;
  padding:0 22px;border-radius:999px;background:#7f94ad;color:#fff;
  text-decoration:none;font-weight:800;
}
.ux-signal-panel{
  background:#26303a;color:#fff;border-radius:28px;padding:28px;
  box-shadow:0 30px 70px rgba(36,87,255,.18);
}
.ux-signal-badge{font-size:11px;font-weight:900;letter-spacing:.14em;color:#c8d3df}
.ux-signal-panel h2{margin:18px 0 0;color:#fff !important;font-size:34px;line-height:1}
.ux-signal-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}
.ux-signal-choices button{
  min-height:66px;border:1px solid rgba(255,255,255,.14);border-radius:14px;
  background:#34414d;color:#fff;font-weight:700;
}
.ux-signal-panel>a{
  display:flex;justify-content:center;margin-top:18px;padding:14px;border-radius:14px;
  background:#7f94ad;color:#fff;text-decoration:none;font-weight:800;
}
@media(max-width:820px){
  .ux-signal-hero{grid-template-columns:1fr;padding:46px 22px}
  .ux-signal-copy h1{font-size:clamp(52px,16vw,76px)}
  .ux-signal-choices{grid-template-columns:1fr}
}

/* === SIGNAL PASTEL OVERRIDE === */

body{
  background:#f4f6f8 !important;
}

section,
.action,
.technical,
.highlight,
.summary,
.services{
  background:#f4f6f8 !important;
}

.ux-signal-hero{
  background:#f4f6f8 !important;
}

.ux-signal-panel{
  background:#2f3943 !important;
}

.ux-signal-panel a,
.ux-signal-cta,
button[type="submit"],
.action button,
.action-form button{
  background:#9aadc0 !important;
  color:#fff !important;
}

.ux-signal-choices button{
  background:#3b4854 !important;
  border-color:#526170 !important;
}

section[style*="#2457ff"],
section[style*="#3157"],
div[style*="#2457ff"]{
  background:#d9e1e8 !important;
}

/* anciens blocs bleus Composer */
.highlight,
.action,
.action-panel,
.action-layout,
.action-form,
.summary{
  background:#dce4ea !important;
  color:#26303a !important;
}

.highlight *,
.action *,
.action-panel *,
.action-layout *,
.action-form *,
.summary *{
  color:#26303a !important;
}

input,
textarea,
select{
  background:#f8fafb !important;
  border-color:#bcc9d3 !important;
}

@media(max-width:800px){
  .ux-signal-panel{
    background:#2f3943 !important;
  }
}

/* === SIGNAL PASTEL CONTRAST V2 === */

body{
  background:#eef2f5 !important;
  color:#24303a !important;
}

.ux-signal-hero{
  background:#eef2f5 !important;
}

.ux-signal-copy h1{
  color:#24303a !important;
}

.ux-signal-panel{
  background:#303c47 !important;
  color:#fff !important;
}

.ux-signal-panel h2,
.ux-signal-panel p,
.ux-signal-panel span{
  color:#fff !important;
}

.ux-signal-choices button{
  background:#3d4a56 !important;
  border-color:#5b6975 !important;
  color:#fff !important;
}

.ux-signal-cta,
.ux-signal-panel>a,
.action-form button,
button[type="submit"]{
  background:#879daf !important;
  color:#fff !important;
}

/* bloc "Ce qui compte" */
.highlight{
  background:#8fa1af !important;
  color:#fff !important;
}

.highlight *,
.highlight h2,
.highlight h3,
.highlight p,
.highlight span{
  color:#fff !important;
}

/* services */
.services{
  background:#303c47 !important;
  color:#fff !important;
}

.services *,
.services h2,
.services h3,
.services p,
.services span{
  color:#fff !important;
}

.services article,
.services .service-card{
  background:#3c4954 !important;
  border-color:#586570 !important;
}

/* action / formulaire */
.action,
.action-panel,
.action-layout,
.action-form{
  background:#d9e2e8 !important;
  color:#24303a !important;
}

.action *,
.action-panel *,
.action-layout *,
.action-form *{
  color:#24303a !important;
}

input,
textarea,
select{
  background:#f8fafb !important;
  color:#24303a !important;
  border-color:#b8c5ce !important;
}

@media(max-width:800px){
  .ux-signal-panel{
    background:#303c47 !important;
  }
}

/* === SIGNAL CLEAN V3 === */

.signal-flow{
  padding:90px max(6vw,28px);
  background:#dbe4ea;
  color:#26303a;
}

.signal-flow-head{
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:40px;
  align-items:end;
  margin-bottom:45px;
}

.signal-flow-head p{
  font-size:11px;
  font-weight:900;
  letter-spacing:.16em;
}

.signal-flow-head h2{
  margin:0;
  font-size:clamp(48px,5vw,76px);
  line-height:.94;
  letter-spacing:-.05em;
}

.signal-flow-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.signal-flow-grid article{
  min-height:260px;
  padding:26px;
  border-radius:20px;
  background:#f7f9fa;
  border:1px solid #c8d3da;
  display:flex;
  flex-direction:column;
}

.signal-flow-grid span{
  font-size:11px;
  font-weight:900;
  color:#7f94ad;
}

.signal-flow-grid h3{
  margin:45px 0 10px;
  font-size:28px;
  line-height:1;
}

.signal-flow-grid p{
  margin:0;
  line-height:1.5;
  color:#56636d;
}

.signal-proof{
  margin-top:18px;
  padding:24px 26px;
  border-radius:20px;
  background:#303c47;
  color:#fff;
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:20px;
  align-items:center;
}

.signal-proof span{
  color:#cdd6dd;
}

.signal-proof a{
  padding:13px 18px;
  border-radius:999px;
  background:#9aadc0;
  color:#fff;
  text-decoration:none;
  font-weight:800;
}

@media(max-width:800px){

  .signal-flow{
    padding:55px 20px;
  }

  .signal-flow-head{
    grid-template-columns:1fr;
  }

  .signal-flow-grid{
    grid-template-columns:1fr;
  }

  .signal-proof{
    grid-template-columns:1fr;
  }

  .signal-proof a{
    text-align:center;
  }
}



/* === KAFK DEMO MICRO EFFECTS === */

body.fx-fade main,
body.fx-fade section{
  animation:kfxFade .65s ease-out both;
}

body.fx-rise main,
body.fx-rise section{
  animation:kfxRise .7s ease-out both;
}

body.fx-slide main,
body.fx-slide section{
  animation:kfxSlide .7s ease-out both;
}

body.fx-zoom main,
body.fx-zoom section{
  animation:kfxZoom .65s ease-out both;
}

body.fx-line::before{
  content:"";
  position:fixed;
  top:0;
  left:0;
  z-index:99999;
  width:100%;
  height:3px;
  background:currentColor;
  transform-origin:left;
  animation:kfxLine .8s ease-out both;
}

/* petit stagger sur les éléments répétitifs */
section article:nth-child(2),
section button:nth-child(2){
  animation-delay:.06s !important;
}

section article:nth-child(3),
section button:nth-child(3){
  animation-delay:.12s !important;
}

section article:nth-child(4),
section button:nth-child(4){
  animation-delay:.18s !important;
}

@keyframes kfxFade{
  from{opacity:0}
  to{opacity:1}
}

@keyframes kfxRise{
  from{opacity:0;transform:translateY(14px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes kfxSlide{
  from{opacity:0;transform:translateX(-12px)}
  to{opacity:1;transform:translateX(0)}
}

@keyframes kfxZoom{
  from{opacity:0;transform:scale(.988)}
  to{opacity:1;transform:scale(1)}
}

@keyframes kfxLine{
  from{transform:scaleX(0)}
  to{transform:scaleX(1)}
}

@media(prefers-reduced-motion:reduce){
  body.fx-fade main,
  body.fx-fade section,
  body.fx-rise main,
  body.fx-rise section,
  body.fx-slide main,
  body.fx-slide section,
  body.fx-zoom main,
  body.fx-zoom section,
  body.fx-line::before{
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }
}
