/* GENILEM – homepage
   Tokens & components rebuilt from the design handoff (desktop 1440 / mobile 390). */

:root{
  --yellow:#FFDE00;
  --yellow-hover:#F2D200;
  --black:#000000;
  --text:#1A1A1A;
  --text-muted:#333333;
  --grey-bg:#F5F5F5;
  --nav-bg:#FAFAFA;
  --border:#E4E4E4;
  --border-nav:#E6E6E6;
  --white:#FFFFFF;
  --dark-panel:#121212;
  --dark-box:#1E1E1E;
  --address-grey:#A8A8A8;
  --social-bg:#E6E6E6;

  --font-sans:'Plus Jakarta Sans',system-ui,sans-serif;
  --font-ui:'Inter',system-ui,sans-serif;
  --font-hand:'Caveat',cursive;

  --container:1304px;
  /* side space that aligns full-width bars with the centred 1304px grid */
  --edge:max(var(--gutter), calc((100% - var(--container)) / 2));
  --gutter:68px;
  --slant:45px;

  --shadow-card:0 2px 4px rgba(0,0,0,.04),0 12px 32px rgba(0,0,0,.07);
  --shadow-soft:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(0,0,0,.06);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--white);color:var(--black);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:var(--black)}
a:hover{color:var(--text-muted)}
h1,h2,h3,p,figure,blockquote{margin:0}
:focus-visible{outline:3px solid var(--black);outline-offset:3px}
.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}
.skip-link{position:absolute;left:16px;top:-60px;z-index:100;background:var(--black);color:var(--yellow);padding:12px 18px;border-radius:6px;font-family:var(--font-ui);font-weight:600;text-decoration:none}
.skip-link:focus{top:12px;color:var(--yellow)}

.container{max-width:var(--container);margin:0 auto}
.section{padding-left:var(--gutter);padding-right:var(--gutter)}
.section--grey{background:var(--grey-bg)}
.section--yellow{background:var(--yellow)}
.section--white{background:var(--white)}
.slanted{position:relative;margin-top:calc(var(--slant) * -1);clip-path:polygon(0 0,100% var(--slant),100% 100%,0 100%)}

/* Highlighter marker */
.hl{background:url(assets/brand/highlight-marker.svg) no-repeat 0 100%/100% 42%;padding:0 .14em;margin:0 -.06em;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* Titles */
.h2{font-size:44px;font-weight:700;line-height:1.3;letter-spacing:-.02em;text-align:center}
.lead{font-size:22px;line-height:1.6}

/* Buttons */
.btn{display:inline-block;background:var(--yellow);color:var(--black);text-decoration:none;font-family:var(--font-ui);font-weight:600;font-size:18px;line-height:1.2;padding:16px 26px;border-radius:6px;border:0;cursor:pointer;transition:background-color .15s ease}
.btn:hover{background:var(--yellow-hover);color:var(--black)}
.btn--dark{background:var(--black);color:var(--yellow)}
.btn--dark:hover{background:#222;color:var(--yellow)}
.section--yellow .btn:focus-visible{outline-color:var(--black)}

/* ---------- Top bar ---------- */
.topbar{background:var(--yellow);padding:0 var(--edge);font-family:var(--font-ui);font-size:16px;font-weight:500}
.topbar__toggle{display:none}
.topbar__inner{min-height:44px;display:flex;justify-content:flex-end;align-items:center;gap:8px 32px;flex-wrap:wrap}
.topbar a{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--black)}
.topbar a:hover{text-decoration:underline}
.topbar img{width:18px;height:18px;flex:none}

/* ---------- Main nav ---------- */
.nav{background:var(--nav-bg);border-bottom:1px solid var(--border-nav);min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px var(--edge);position:relative;z-index:20}
.nav__logo{display:block;line-height:0}
.nav__logo img{width:200px;height:auto}
.nav__menu{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 32px;margin:0;padding:0;list-style:none;font-family:var(--font-ui);font-size:16px;font-weight:500;text-transform:uppercase}
.nav__menu a{text-decoration:none;color:var(--black)}
.nav__menu a:hover{text-decoration:underline;text-underline-offset:6px;text-decoration-color:var(--yellow);text-decoration-thickness:3px}
.burger{display:none;width:48px;height:48px;border:0;border-radius:8px;background:var(--yellow);align-items:center;justify-content:center;cursor:pointer}

/* Mobile overlay menu */
.mobile-menu{position:fixed;inset:0;z-index:50;background:var(--white);display:flex;flex-direction:column;padding:0 20px 32px;overflow-y:auto}
.mobile-menu[hidden]{display:none}
.mobile-menu__head{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border-nav);margin:0 -20px;padding:0 20px;background:var(--nav-bg)}
.mobile-menu__head img{width:150px;height:auto}
.mobile-menu__close{width:48px;height:48px;border:0;border-radius:8px;background:var(--yellow);display:flex;align-items:center;justify-content:center;cursor:pointer}
.mobile-menu__list{list-style:none;margin:24px 0 0;padding:0;font-family:var(--font-ui);font-size:20px;font-weight:600;text-transform:uppercase}
.mobile-menu__list a{display:block;padding:18px 0;border-bottom:1px solid var(--border);text-decoration:none;color:var(--black)}
.mobile-menu__secondary{list-style:none;margin:32px 0 0;padding:0;display:grid;gap:14px;font-family:var(--font-ui);font-size:16px;font-weight:500}
.mobile-menu__secondary a{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--black)}
.mobile-menu__secondary img{width:18px;height:18px}
body.menu-open{overflow:hidden}

/* ---------- Hero ---------- */
.hero{display:flex;flex-wrap:wrap;align-items:stretch;background:var(--white)}
.hero__text{flex:1 1 480px;max-width:calc(594px + var(--gutter) + var(--edge));padding:120px var(--gutter) 120px var(--edge);display:flex;flex-direction:column;justify-content:center;gap:24px}
.hero__title{font-size:54.6px;line-height:1.2;font-weight:600;letter-spacing:-.02em}
.hero__intro{font-size:21px;line-height:1.65;max-width:560px}
.hero__media{flex:1 1 560px;min-height:667px;position:relative}
.hero__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ---------- Steps ("Où en es-tu") ---------- */
.steps{padding-top:120px;padding-bottom:180px}
.steps .container{display:flex;flex-direction:column;gap:104px}
.steps .h2{font-weight:600;font-size:clamp(34px,3.4vw,48px)}
.steps__grid{display:flex;flex-wrap:wrap;gap:96px 48px}
.step-card{flex:1 1 420px;position:relative;background:var(--white);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow-card);padding:84px 48px 48px;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.step-card__icon{position:absolute;top:-56px;left:50%;transform:translateX(-50%);width:112px;height:112px}
.step-card__title{font-family:var(--font-hand);font-size:40px;font-weight:700;line-height:1.1}
.step-card p{font-size:20px;line-height:1.6;color:var(--text);margin-bottom:24px}
.step-card .btn{margin-top:auto}
.steps__note{margin:0 auto;text-align:center;font-size:20px;line-height:1.65;max-width:1100px;color:var(--text)}

/* ---------- Testimonials ---------- */
.testimonials{padding-top:160px;padding-bottom:96px}
.testimonials__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px}
.testimonial{display:flex;flex-direction:column;gap:24px}
.testimonial img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px}
.testimonial figcaption{display:flex;flex-direction:column;gap:12px}
.testimonial__name{font-size:22px;font-weight:700;line-height:1.3}
.testimonial blockquote{font-size:20px;font-style:italic;line-height:1.55;color:var(--text)}

/* ---------- Key figures ---------- */
.figures{padding-top:120px;padding-bottom:120px}
.figures__grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:56px 48px;align-items:start;list-style:none;padding:0}
.figure{display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center}
.figure__value{position:relative;width:200px;height:200px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:52px;font-weight:700;letter-spacing:-.02em;line-height:1;color:var(--black)}
.figure__num{position:relative;z-index:1;font-variant-numeric:tabular-nums}

/* 1 · ring that draws itself */
.figure__value--ring{background:var(--white)}
.ring{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);overflow:visible}
.ring__track{fill:none;stroke:#F1F1F1;stroke-width:10}
.ring__bar{fill:none;stroke:var(--yellow);stroke-width:10;stroke-linecap:round;stroke-dasharray:597;stroke-dashoffset:0}

/* 2 · circle that fills like a liquid */
.figure__value--solid{background:#FFF6BF;overflow:hidden;isolation:isolate}
.liquid{position:absolute;inset:0;background:var(--yellow);transform:translateY(0)}
.liquid__wave{position:absolute;left:0;bottom:calc(100% - 1px);width:200%;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'%3E%3Cpath fill='%23FFDE00' d='M0 8 C 12.5 0 37.5 0 50 8 S 87.5 16 100 8 V14 H0Z'/%3E%3C/svg%3E") repeat-x 0 0/50% 100%;animation:wave 2.6s linear infinite}
@keyframes wave{to{transform:translateX(-50%)}}

/* 3 · rolling number + highlighter swipe */
.figure__value--marker{border-radius:0;width:auto;min-width:200px;font-size:76px;letter-spacing:-.04em}
.figure__label{font-size:21px;line-height:1.5}

/* ---------- Strengths ---------- */
.force{padding-top:120px;padding-bottom:200px}
.force .container{display:flex;flex-direction:column;gap:56px}
.force .h2{margin-bottom:24px}
.force-row{display:flex;flex-wrap:wrap;gap:32px 72px;align-items:stretch}
.force-row__media{flex:1 1 480px;position:relative;min-height:320px;border-radius:12px;overflow:hidden}
.force-row__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.force-row__text{flex:1 1 480px;display:flex;flex-direction:column;align-items:flex-start;gap:18px;padding:24px 0}
.force-row__text h3{font-size:32px;font-weight:700;line-height:1.25;letter-spacing:-.015em;margin-bottom:6px}
.force-row__text p{font-size:20px;line-height:1.6;color:var(--text)}
.force-row__text .btn{margin-top:14px}
.force-row--reverse .force-row__media{order:1}
.force-row--reverse .force-row__text{order:0}

/* ---------- Resources ---------- */
.resources{padding-top:160px;padding-bottom:180px}
.resources .container{display:flex;flex-direction:column;gap:64px}
.resources__head{text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px}
.resources__head .lead{max-width:900px}
.resources__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.resource-card{background:var(--white);border-radius:12px;box-shadow:var(--shadow-soft);padding:44px 36px 40px;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.resource-card img{width:128px;height:128px;margin-bottom:12px}
.resource-card h3{font-size:26px;font-weight:700;line-height:1.3;letter-spacing:-.01em}
.resource-card p{font-size:19px;line-height:1.6;color:var(--text);margin-bottom:20px}
.resource-card .btn{margin-top:auto}

/* ---------- News ---------- */
.news{padding-top:160px;padding-bottom:120px}
.news .container{display:flex;flex-direction:column;gap:56px}
.news__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.news-card{text-decoration:none;color:var(--black);background:var(--white);border:1px solid var(--border);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(0,0,0,.03),0 8px 24px rgba(0,0,0,.05);transition:transform .2s ease,box-shadow .2s ease}
.news-card:hover{color:var(--black);transform:translateY(-2px);box-shadow:0 2px 4px rgba(0,0,0,.05),0 16px 36px rgba(0,0,0,.1)}
.news-card__media{position:relative;height:250px}
.news-card__media img{width:100%;height:100%;object-fit:cover}
.tag{position:absolute;left:24px;bottom:16px;background:var(--yellow);color:var(--black);font-family:var(--font-ui);font-weight:700;font-size:13px;letter-spacing:.04em;text-transform:uppercase;padding:5px 10px;border-radius:4px}
.news-card__body{padding:24px 28px 32px;display:flex;flex-direction:column;gap:12px}
.news-card__title{font-size:22px;font-weight:700;line-height:1.3;letter-spacing:-.01em}
.news-card__body p{font-size:18px;line-height:1.55;color:var(--text-muted)}
.news__more{align-self:flex-end;font-family:var(--font-ui);font-weight:600;font-size:18px;color:var(--black);text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:3px;text-underline-offset:6px}
.news__more:hover{color:var(--black);text-decoration-color:var(--black)}

/* ---------- Newsletter + map ---------- */
.contact{background:var(--grey-bg);padding:0 var(--gutter)}
.nl-card{position:relative;z-index:2;max-width:var(--container);margin:0 auto;border-radius:8px;overflow:hidden;padding:56px 40px 52px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:18px;background:#FFE200 url(assets/images/newsletter-bg.jpg) center/100% 100% no-repeat}
.nl-card h2{font-size:45px;font-weight:700;letter-spacing:-.02em;line-height:1.25}
.nl-card p{font-size:22px;line-height:1.65;max-width:960px;font-weight:500}
.nl-form{margin-top:18px;display:flex;width:100%;max-width:525px;border-radius:6px;overflow:hidden}
.nl-form input{flex:1;min-width:0;border:0;padding:0 20px;height:60px;font-family:var(--font-ui);font-size:16px;background:var(--white);color:var(--black)}
.nl-form input::placeholder{color:#767676;opacity:1}
.nl-form input:focus-visible{outline:3px solid var(--black);outline-offset:-3px}
.nl-form .btn{border-radius:0;padding:0 40px;height:60px}
.nl-status{min-height:1.4em;font-family:var(--font-ui);font-size:16px;font-weight:600}

.map{position:relative;margin:-120px calc(var(--gutter) * -1) 0;height:800px}
.map > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.offices{position:absolute;right:var(--edge);top:190px;width:427px;max-width:calc(100% - 48px);background:var(--dark-panel);border-radius:6px;padding:28px;display:flex;flex-direction:column;gap:22px;font-family:var(--font-ui);font-style:normal}
.office{font-style:normal;background:var(--dark-box);border-radius:6px;padding:18px 16px 20px;display:flex;flex-direction:column;gap:10px}
.office__name{color:var(--white);font-size:28px;font-weight:600}
.office__addr{color:var(--address-grey);font-size:24px;line-height:1.45}
.office__addr a{color:inherit;text-decoration:none}
.office__addr a:hover{color:var(--white);text-decoration:underline}
.offices .btn{margin-top:34px;height:56px;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 20px}
.offices .btn img{width:20px;height:20px}

/* ---------- Footer ---------- */
.footer{background:var(--white);padding:80px var(--gutter) 40px;font-family:var(--font-ui)}
.footer .container{display:flex;flex-direction:column;gap:80px}
.footer__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 48px;align-items:start}
.footer__col{display:flex;flex-direction:column;gap:8px}
.footer__col h2{font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;margin-bottom:20px}
.footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.footer a{text-decoration:none;font-size:16px;line-height:1.5;color:var(--black)}
.footer a:hover{text-decoration:underline}
.footer address{font-style:normal;font-size:16px;line-height:1.5}
.footer address + address{margin-top:12px}
.footer address strong{font-weight:600}
.footer__social-col{padding-top:38px;gap:24px}
.footer__col .socials{display:flex;flex-direction:row;gap:9px;list-style:none;margin:0;padding:0}
.socials a{width:44px;height:44px;border-radius:999px;background:var(--social-bg);display:flex;align-items:center;justify-content:center;transition:background-color .15s ease}
.socials a:hover{background:var(--yellow)}
.socials img{width:16px;height:16px;display:block;flex:none}
.footer__legal{font-size:12px}
.footer__legal a{font-size:12px}

/* ---------- Tablet ---------- */
@media (max-width:1100px){
  :root{--gutter:40px}
  .testimonials__grid,.resources__grid,.news__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer__social-col{padding-top:0}
  .hero__title{font-size:46px}
  .nav__menu{gap:12px 24px;font-size:15px}
}
@media (max-width:1100px) and (min-width:768px){
  .testimonials__grid > :last-child,.resources__grid > :last-child,.news__grid > :last-child{grid-column:1 / -1;max-width:calc(50% - 16px);justify-self:center;width:100%}
}

/* ---------- Mobile ---------- */
@media (max-width:767px){
  :root{--gutter:20px;--slant:24px}

  /* Collapsible top bar: one slim 36px strip, expands on tap */
  .topbar{padding:0;font-size:13px}
  .topbar__toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:36px;padding:0 20px;border:0;background:transparent;color:var(--black);font:500 13px/1 var(--font-ui);cursor:pointer;-webkit-tap-highlight-color:transparent}
  .topbar__toggle:focus-visible{outline-offset:-3px}
  .topbar__toggle-icons{display:flex;align-items:center;gap:18px}
  .topbar__toggle-icons img{width:16px;height:16px}
  .topbar__toggle-label{flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .topbar__chevron{flex:none;transition:transform .3s cubic-bezier(.22,1,.36,1)}
  .topbar.is-open .topbar__chevron{transform:rotate(180deg)}
  .topbar__links{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s cubic-bezier(.22,1,.36,1)}
  .topbar.is-open .topbar__links{grid-template-rows:1fr}
  .topbar__inner{min-height:0;overflow:hidden;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding:0 20px;visibility:hidden;transition:visibility 0s .35s}
  .topbar.is-open .topbar__inner{visibility:visible;transition:visibility 0s 0s}
  .topbar__inner a{gap:7px;padding:9px 0;opacity:0;transform:translateY(-4px);transition:opacity .25s ease,transform .25s ease}
  .topbar.is-open .topbar__inner a{opacity:1;transform:none;transition-delay:.08s}
  .topbar.is-open .topbar__inner a:nth-child(2){transition-delay:.12s}
  .topbar.is-open .topbar__inner a:nth-child(3){transition-delay:.16s}
  .topbar.is-open .topbar__inner a:nth-child(4){transition-delay:.2s}
  .topbar.is-open .topbar__inner a:nth-last-child(-n+2){padding-bottom:14px}
  .topbar img{width:15px;height:15px}

  .nav{min-height:76px;height:76px;padding:0 20px}
  .nav__logo img{width:150px}
  .nav__menu{display:none}
  .burger{display:flex}

  .hero{flex-direction:column}
  .hero__media{order:-1;flex:none;min-height:0;height:280px}
  .hero__text{flex:none;max-width:none;padding:40px 20px 56px;gap:18px}
  .hero__title{font-size:34px}
  .hero__intro{font-size:17px;line-height:1.6;color:var(--text)}

  .h2{font-size:30px;line-height:1.25}
  .lead{font-size:17px;color:var(--text)}
  .btn{font-size:16px;padding:14px 22px}

  .steps{padding-top:56px;padding-bottom:80px}
  .steps .container{gap:76px}
  .steps .h2{font-size:30px;font-weight:700}
  .steps__grid{flex-direction:column;gap:76px}
  .step-card{flex:none;padding:64px 24px 28px;gap:14px}
  .step-card__icon{top:-44px;width:88px;height:88px}
  .step-card__title{font-size:32px}
  .step-card p{font-size:17px;margin-bottom:10px}
  .steps__note{font-size:15px;line-height:1.6}

  .testimonials{padding-top:72px;padding-bottom:64px}
  .testimonials__grid{grid-template-columns:1fr;gap:44px}
  .testimonial{gap:16px}
  .testimonial figcaption{gap:8px}
  .testimonial__name{font-size:19px}
  .testimonial blockquote{font-size:17px}

  .figures{padding-top:64px;padding-bottom:72px}
  .figures__grid{grid-template-columns:1fr;gap:48px}
  .figure{gap:18px}
  .figure__value{width:160px;height:160px;font-size:42px}
  .figure__value--ring{border-width:8px}
  .figure__value--marker{width:auto;min-width:0;height:110px;font-size:60px}
  .figure__label{font-size:17px}

  .force{padding-top:64px;padding-bottom:96px}
  .force .container{gap:48px}
  .force .h2{margin-bottom:0}
  .force-row{flex-direction:column;gap:20px}
  .force-row__media,.force-row--reverse .force-row__media{order:0;flex:none;min-height:0;height:220px}
  .force-row__text,.force-row--reverse .force-row__text{order:1;flex:none;padding:0;gap:20px}
  .force-row__text h3{font-size:24px;margin-bottom:0}
  .force-row__text p{font-size:17px}
  .force-row__text .btn{margin-top:0}

  .resources{padding-top:72px;padding-bottom:80px}
  .resources .container{gap:32px}
  .resources__head{gap:14px}
  .resources__grid{grid-template-columns:1fr;gap:32px}
  .resource-card{padding:32px 24px;gap:12px;box-shadow:0 8px 24px rgba(0,0,0,.06)}
  .resource-card img{width:104px;height:104px;margin-bottom:6px}
  .resource-card h3{font-size:22px}
  .resource-card p{font-size:17px;margin-bottom:10px}

  .news{padding-top:72px;padding-bottom:64px}
  .news .container{gap:28px}
  .news__grid{grid-template-columns:1fr;gap:28px}
  .news-card{box-shadow:none}
  .news-card__media{height:200px}
  .tag{left:20px;bottom:14px;font-size:12px;padding:4px 9px}
  .news-card__body{padding:20px 22px 26px;gap:10px}
  .news-card__title{font-size:20px}
  .news-card__body p{font-size:16px}
  .news__more{font-size:16px}

  .nl-card{padding:36px 22px;gap:14px}
  .nl-card h2{font-size:26px}
  .nl-card p{font-size:16px;line-height:1.6}
  .nl-form{flex-direction:column;gap:10px;margin-top:8px;border-radius:0;overflow:visible;max-width:none}
  .nl-form input{flex:none;height:54px;border-radius:6px;padding:0 16px}
  .nl-form .btn{height:54px;border-radius:6px;font-size:17px}

  .map{margin:-60px -20px 0;height:auto}
  .map > img{position:static;height:340px}
  .offices{position:static;width:auto;max-width:none;border-radius:0;padding:24px 20px 28px;gap:14px}
  .office{padding:16px;gap:6px}
  .office__name{font-size:21px}
  .office__addr{font-size:17px}
  .offices .btn{margin-top:8px;height:52px;font-size:17px}

  .footer{padding:56px 20px 32px}
  .footer .container{gap:36px}
  .footer__grid{grid-template-columns:1fr;gap:36px}
  .footer__col h2{margin-bottom:12px}
}

/* =========================================================
   Motion (only when JS is running – see inline script in <head>)
   ========================================================= */
:root{--ease-out:cubic-bezier(.22,1,.36,1);--ease-spring:cubic-bezier(.34,1.56,.64,1)}

/* Highlighter: drawn left → right like a real marker */
html.js .hl{background-size:0% 42%;transition:background-size .9s cubic-bezier(.65,0,.35,1) .15s}
html.js .hl.is-drawn{background-size:100% 42%}

/* Scroll reveal */
html.js :is(
  .steps .h2,.step-card,.steps__note,
  .testimonial,.figure,
  .force .h2,.force-row__text,
  .resources__head,.resource-card,
  .news .h2,.news-card,.news__more,
  .nl-card,.offices,.footer__col,.footer__legal
){opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease-out),transform .8s var(--ease-out);transition-delay:var(--d,0ms)}
html.js :is(
  .steps .h2,.step-card,.steps__note,
  .testimonial,.figure,
  .force .h2,.force-row__text,
  .resources__head,.resource-card,
  .news .h2,.news-card,.news__more,
  .nl-card,.offices,.footer__col,.footer__legal
).is-in{opacity:1;transform:none}
html.js .offices{transform:translateX(32px)}
html.js .offices.is-in{transform:none}

/* After the reveal has played, hover transitions must react instantly */
html.js .revealed{transition-delay:0ms}
html.js .news-card.revealed{transition:transform .25s ease,box-shadow .25s ease}

/* Hero: text rises line by line, photo settles in */
html.js .hero__text > *{opacity:0;transform:translateY(24px);transition:opacity .9s var(--ease-out),transform .9s var(--ease-out)}
html.js .hero__text > :nth-child(2){transition-delay:.15s}
html.js .hero.is-in .hero__text > *{opacity:1;transform:none}
html.js .hero__media{overflow:hidden}
html.js .hero__media img{opacity:0;transform:scale(1.08);transition:opacity 1.2s ease,transform 1.8s var(--ease-out)}
html.js .hero.is-in .hero__media img{opacity:1;transform:scale(1)}

/* Photos in "notre force": curtain reveal + gentle zoom-out */
html.js .force-row__media{clip-path:inset(0 0 100% 0 round 12px);transition:clip-path 1.1s cubic-bezier(.65,0,.35,1)}
html.js .force-row__media.is-in{clip-path:inset(0 0 0 0 round 12px)}
html.js .force-row__media img{transform:scale(1.12);transition:transform 1.6s var(--ease-out)}
html.js .force-row__media.is-in img{transform:scale(1)}
html.js .force-row__media.revealed img{transition:transform .6s var(--ease-out)}
html.js .force-row:hover .force-row__media.revealed img{transform:scale(1.03)}

/* Step + resource icons pop in after their card */
html.js .step-card__icon{opacity:0;transform:translateX(-50%) scale(.4) rotate(-12deg);transition:opacity .4s ease .3s,transform .7s var(--ease-spring) .3s}
html.js .step-card.is-in .step-card__icon{opacity:1;transform:translateX(-50%) scale(1) rotate(0)}
html.js .resource-card img{opacity:0;transform:scale(.5);transition:opacity .4s ease,transform .7s var(--ease-spring);transition-delay:calc(var(--d,0ms) + 250ms)}
html.js .resource-card.is-in img{opacity:1;transform:none}

/* Counters – start states */
html.js .figure .ring__bar{stroke-dashoffset:597}
html.js .figure .liquid{transform:translateY(100%)}

/* Micro-interactions */
.btn{transition:background-color .15s ease,transform .2s var(--ease-out),box-shadow .2s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.12)}
.btn:active{transform:translateY(0);box-shadow:none}
.testimonial img{transition:transform .5s var(--ease-out)}
.testimonial:hover img{transform:scale(1.02) rotate(-.4deg)}
.news-card__media{overflow:hidden}
.news-card__media img{transition:transform .6s var(--ease-out)}
.news-card:hover .news-card__media img{transform:scale(1.05)}
.footer__col ul:not(.socials) a{display:inline-block;transition:transform .2s var(--ease-out)}
.footer__col ul:not(.socials) a:hover{transform:translateX(4px)}
.office__map{display:inline-block;position:relative;transition:color .2s ease}
.office__map::after{content:"↗";display:inline-block;margin-left:6px;font-size:.75em;opacity:0;transform:translate(-4px,4px);transition:opacity .2s ease,transform .2s var(--ease-out)}
.office__map:hover::after,.office__map:focus-visible::after{opacity:1;transform:none}

/* Thin scroll-progress line under the header */
.progress{position:fixed;left:0;top:0;height:3px;width:100%;background:var(--black);transform-origin:0 50%;transform:scaleX(var(--p,0));z-index:60;pointer-events:none}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
  html.js :is(.steps .h2,.step-card,.steps__note,.testimonial,.figure,.force .h2,.force-row__text,.resources__head,.resource-card,.news .h2,.news-card,.news__more,.nl-card,.offices,.footer__col,.footer__legal,.hero__text > *,.hero__media img,.resource-card img){opacity:1!important;transform:none!important}
  html.js .step-card__icon{opacity:1!important;transform:translateX(-50%)!important}
  html.js .force-row__media{clip-path:none!important}
  html.js .hl{background-size:100% 42%!important}
  html.js .figure .ring__bar{stroke-dashoffset:0!important}
  html.js .figure .liquid{transform:none!important}
  .progress{display:none}
}

html.js .hero .hl{transition-delay:.75s}

/* ---------- Preloader: the GENILEM corner draws itself ---------- */
.preloader{display:none}
html.js .preloader{position:fixed;inset:0;z-index:200;background:var(--white);display:grid;place-items:center;transition:opacity .55s ease,visibility 0s linear .55s}
html.js .preloader.is-done{opacity:0;visibility:hidden;pointer-events:none}
.preloader__mark{overflow:visible;animation:mark-breathe 1.6s ease-in-out .95s infinite}
.preloader__stroke{stroke-dasharray:1;stroke-dashoffset:1;animation:mark-draw .9s cubic-bezier(.65,0,.35,1) .1s forwards}
.preloader.is-done .preloader__mark{animation:mark-exit .55s cubic-bezier(.65,0,.35,1) forwards}
@keyframes mark-draw{to{stroke-dashoffset:0}}
@keyframes mark-breathe{50%{transform:scale(.9)}}
@keyframes mark-exit{to{transform:translate(10px,-10px) scale(.85);opacity:0}}
@media (prefers-reduced-motion:reduce){
  .preloader__stroke{stroke-dashoffset:0}
  html.js .preloader{display:none}
}
