
*{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:#171717;
--font:Georgia,'Times New Roman',serif;
--hero-weight:500;
--title-weight:500;
--header:82px;
--radius:2px;
--action-radius:2px;
--button-radius:2px;
--gap:1px;
--card:#fff;
--card-border:1px solid rgba(23,23,23,.14);
--action-bg:#171717;
--action-text:#fff;
--button-text:#fff;
}
.brand,.main-nav,.eyebrow,.section-kicker,.primary-button{font-family:Arial,sans-serif}
.hero h1,.section-heading h2{letter-spacing:-.055em}



/* ==========================================================
   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;
  }

}



/* EDITORIAL */

.benefits-section{
  border-top:1px solid rgba(0,0,0,.13);
  border-bottom:1px solid rgba(0,0,0,.13);
}

.benefit-card{
  background:transparent;
  border:0;
  border-radius:0;
  border-left:1px solid rgba(0,0,0,.14);
}

.benefit-card:first-child{
  border-left:0;
}

.services-section .service-card{
  background:transparent;
  border-radius:0;
  border:0;
  border-top:1px solid rgba(0,0,0,.14);
}

.about-section{
  width:min(calc(100% - 34px),1360px);

  background:
    color-mix(
      in srgb,
      var(--page) 91%,
      #000 9%
    );

  border-radius:6px;
}

.contact-item{
  background:transparent;
  border:0;
  border-top:1px solid rgba(0,0,0,.14);
  border-radius:0;
}



/* ==========================================================
   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 : SOURCE === */
:root{
  --kafk-accent:#087f5b;
  --kafk-bg:#f2fbf7;
  --kafk-text:#13231d;
}
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 SOURCE === */
.ux-source-hero{
  min-height:650px;padding:70px max(6vw,28px);
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
  gap:56px;align-items:center;background:#eef9f4;
}
.ux-source-copy>p{font-size:12px;font-weight:900;letter-spacing:.16em}
.ux-source-copy h1{
  margin:18px 0 0;max-width:820px;color:#10251c !important;
  font-family:Georgia,serif;font-size:clamp(58px,6vw,92px);
  line-height:.92;letter-spacing:-.05em;
}
.ux-source-copy>div{max-width:620px;margin-top:24px;font-size:19px;line-height:1.5}
.ux-source-agent{
  padding:26px;border-radius:24px;background:#fff;box-shadow:0 24px 60px rgba(8,127,91,.12);
}
.ux-source-agent>span{font-size:10px;font-weight:900;letter-spacing:.15em;color:#087f5b}
.ux-source-agent input{
  width:100%;margin-top:14px;min-height:52px;padding:0 14px;border:1px solid #cfe3d9;
  border-radius:13px;font-size:16px;
}
.ux-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.ux-source-grid button{
  min-height:58px;border:1px solid #dbe8e1;border-radius:12px;background:#f7fbf9;font-weight:700;
}
.ux-source-agent a{
  display:flex;justify-content:center;margin-top:12px;padding:13px;border-radius:12px;
  background:#087f5b;color:#fff;text-decoration:none;font-weight:800;
}
@media(max-width:820px){
  .ux-source-hero{grid-template-columns:1fr;padding:46px 22px}
  .ux-source-copy h1{font-size:clamp(50px,15vw,72px)}
  .ux-source-grid{grid-template-columns:1fr}
}

.source-path{padding:80px 6%;background:#eef9f4}
.source-path-head{display:grid;grid-template-columns:.7fr 1.3fr;gap:40px;margin-bottom:45px}
.source-path-head h2{margin:0;font-size:clamp(46px,5vw,72px);line-height:.95}
.source-route{display:grid;grid-template-columns:1fr 70px 1fr 70px 1fr;align-items:center;gap:10px}
.source-route article{padding:24px;border-radius:20px;background:#fff;min-height:220px}
.source-route h3{margin-top:45px;font-size:30px}
.source-line{height:2px;background:#bdd8cc;overflow:hidden}
.source-line:after{content:"";display:block;height:100%;background:#087f5b;animation:flow 2s linear infinite}
@keyframes flow{from{transform:translateX(-100%)}to{transform:translateX(100%)}}

.source-answer{margin:60px 5%;padding:42px;border-radius:28px;background:#18382c;color:#fff;display:grid;grid-template-columns:.8fr 1.2fr;gap:50px}
.source-answer h2{color:#fff!important;font-size:clamp(44px,5vw,72px)}
.source-answer-panel{padding:22px;border-radius:20px;background:#fff;color:#18382c}
.source-mini-flow{display:grid;grid-template-columns:auto 1fr auto 1fr auto;gap:8px;align-items:center;margin-bottom:16px}
.source-mini-flow i{height:2px;background:#bdd8cc;overflow:hidden}
.source-mini-flow i:after{content:"";display:block;height:100%;background:#087f5b;animation:flow 2s linear infinite}
.source-answer-panel input{width:100%;min-height:52px;border:1px solid #cfe3d9;border-radius:12px;padding:0 14px}
.source-answer-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.source-answer-choices button{min-height:56px;border:1px solid #dbe8e1;border-radius:12px;background:#f4f9f6;font-weight:800}
.source-answer-choices button:hover{transform:translateY(-2px);background:#e3f1ea}
.source-answer-go{width:100%;margin-top:12px;min-height:52px;border:0;border-radius:12px;background:#087f5b;color:#fff;font-weight:900}

.source-cards{padding:20px 6% 80px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;background:#fff}
.source-cards article{min-height:280px;padding:24px;border-radius:22px;background:#e7f4ee;display:flex;flex-direction:column}
.source-cards article.dark{background:#18382c;color:#fff}
.source-cards h3{margin-top:45px;font-size:38px}
.source-cards a{margin-top:auto;color:inherit;font-weight:900;text-decoration:none}

@media(max-width:800px){
  .source-path-head,.source-answer{grid-template-columns:1fr}
  .source-route{grid-template-columns:1fr}
  .source-line{width:2px;height:35px;margin:auto}
  .source-answer{margin:35px 14px;padding:24px}
  .source-answer-choices{grid-template-columns:1fr}
  .source-cards{grid-template-columns:1fr;padding:20px 18px 55px}
}

/* === SOURCE HERO ANIMATION === */

.ux-source-agent{
  position:relative;
  animation:sourceAgentIn .7s ease-out both;
}

.ux-source-agent::before{
  content:"";
  position:absolute;
  left:26px;
  right:26px;
  top:18px;
  height:2px;
  background:#087f5b;
  transform-origin:left;
  animation:sourceLineIn .9s .25s ease-out both;
}

.ux-source-agent input{
  animation:sourceFieldIn .55s .25s ease-out both;
}

.ux-source-grid button{
  opacity:0;
  transform:translateY(10px);
  animation:sourceChoiceIn .45s ease-out forwards;
}

.ux-source-grid button:nth-child(1){animation-delay:.38s}
.ux-source-grid button:nth-child(2){animation-delay:.48s}
.ux-source-grid button:nth-child(3){animation-delay:.58s}
.ux-source-grid button:nth-child(4){animation-delay:.68s}

.ux-source-agent>a{
  animation:sourceCtaIn .45s .8s ease-out both;
}

@keyframes sourceAgentIn{
  from{opacity:0;transform:translateY(18px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

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

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

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

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

@media(prefers-reduced-motion:reduce){
  .ux-source-agent,
  .ux-source-agent::before,
  .ux-source-agent input,
  .ux-source-grid button,
  .ux-source-agent>a{
    animation:none!important;
    opacity:1!important;
    transform:none!important;
  }
}



/* === 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;
  }
}
