/* DIGI EVOLUANCE · site officiel */
:root{
  --navy:#0A1A3F; --navy2:#13295C; --blue:#1F6FEB; --blue-d:#1A5FD0; --blue-l:#DCE6FA;
  --orange:#E8692C; --orange-d:#D45A20; --bg:#F4F7FC; --ink:#0A1A3F; --muted:#4A5A78; --line:#DCE3F0;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:76px}
body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:#fff;font-size:17px;line-height:1.6}
img{max-width:100%;display:block}
a{color:var(--blue-d)}
h1,h2,h3,h4{font-family:'Oswald',Arial,sans-serif;font-weight:600;line-height:1.1;margin:0 0 .45em}
h2{font-size:clamp(28px,4vw,42px)}
h3{font-size:24px}
.wrap{max-width:1180px;margin:0 auto;padding:0 clamp(18px,4vw,40px)}
.kicker{font-weight:700;font-size:13px;letter-spacing:2.5px;text-transform:uppercase;color:var(--orange);margin:0 0 12px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 24px;border-radius:12px;border:2px solid transparent;font:700 16px 'DM Sans',Arial;text-decoration:none;cursor:pointer;min-height:48px;transition:background .15s,transform .15s}
.btn:hover{transform:translateY(-1px)}
.btn.orange{background:var(--orange);color:var(--navy)}.btn.orange:hover{background:var(--orange-d)}
.btn.line{border-color:rgba(255,255,255,.45);color:#fff;background:transparent}.btn.line:hover{background:rgba(255,255,255,.08)}
.btn.blue{background:var(--blue);color:#fff}.btn.blue:hover{background:var(--blue-d)}

/* ---- navigation ---- */
.nav{position:sticky;top:0;z-index:50;background:rgba(10,26,63,.97);backdrop-filter:blur(8px);color:#fff}
.nav-in{display:flex;align-items:center;justify-content:space-between;height:68px}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.brand-chip{display:inline-grid;place-items:center;width:46px;height:36px;border-radius:8px;background:#fff}
.brand-chip img{width:36px;height:auto}
.brand-name{font-family:'Oswald',Arial;font-size:21px;letter-spacing:1.5px}
.menu{display:flex;align-items:center;gap:26px}
.menu a{color:#D6E0F5;text-decoration:none;font-size:15px;font-weight:500}
.menu a:hover{color:#fff}
.menu .menu-cta{background:var(--orange);color:var(--navy);padding:9px 16px;border-radius:10px;font-weight:700}
.menu .menu-cta:hover{background:var(--orange-d);color:var(--navy)}
.burger{display:none;background:none;border:0;padding:10px;cursor:pointer;flex-direction:column;gap:5px}
.burger span{display:block;width:24px;height:2px;background:#fff;border-radius:2px;transition:transform .2s,opacity .2s}
@media(max-width:940px){
  .burger{display:flex}
  .menu{position:absolute;top:68px;left:0;right:0;background:var(--navy);flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 20px;display:none;box-shadow:0 12px 24px rgba(0,0,0,.25)}
  .menu.open{display:flex}
  .menu a{padding:14px 4px;border-bottom:1px solid rgba(255,255,255,.08);font-size:17px}
  .menu .menu-cta{margin-top:14px;text-align:center;border:0}
  .burger[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .burger[aria-expanded=true] span:nth-child(2){opacity:0}
  .burger[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}

/* ---- accueil ---- */
.hero{background:var(--navy);color:#fff;overflow:hidden;position:relative}
.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 30%,rgba(31,111,235,.35),transparent 55%);pointer-events:none}
.hero-in{display:grid;grid-template-columns:1.15fr .85fr;gap:32px;align-items:end;min-height:min(640px,calc(100vh - 68px));padding-top:56px;position:relative}
.hero-txt{padding-bottom:72px;align-self:center}
.hero h1{font-size:clamp(40px,5.6vw,70px);font-weight:700;letter-spacing:.5px;margin-bottom:22px}
.hero h1 span{color:var(--orange)}
.lead{font-size:clamp(17px,1.6vw,20px);color:#C9D6F2;max-width:560px;margin:0 0 30px}
.cta-row{display:flex;gap:14px;flex-wrap:wrap}
.hero-visual{position:relative;align-self:end;display:flex;justify-content:center}
.hero-disc{position:absolute;bottom:-12%;left:50%;transform:translateX(-50%);width:92%;aspect-ratio:1;border-radius:50%;background:var(--blue);box-shadow:0 0 0 18px rgba(31,111,235,.18)}
.hero-visual img{position:relative;width:100%;max-width:470px;height:auto}
.hero-tag{position:absolute;left:0;bottom:56px;background:#fff;color:var(--navy);border-radius:14px;padding:12px 18px;box-shadow:0 10px 30px rgba(0,0,0,.25);display:flex;flex-direction:column;line-height:1.25}
.hero-tag b{font-family:'Oswald';font-size:19px;font-weight:600}
.hero-tag span{font-size:14px;color:var(--muted)}
@media(max-width:860px){
  .hero-in{grid-template-columns:1fr;min-height:0;padding-top:44px}
  .hero-txt{padding-bottom:12px}
  .hero-visual{max-width:360px;margin:0 auto;width:100%}
  .hero-tag{bottom:28px;left:-6px}
}

/* ---- sections ---- */
.sec{padding:clamp(64px,9vw,104px) 0}
.sec.alt{background:var(--bg)}
.sec.dark{background:var(--navy);color:#fff}
.sec-title{margin-bottom:36px}
.muted-l{color:#C9D6F2;max-width:620px}
.sub-title{font-size:26px;margin:56px 0 22px}

/* qui sommes-nous */
.about{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(32px,6vw,80px);align-items:center}
.about-logo{background:var(--bg);border-radius:28px;padding:clamp(28px,5vw,56px);display:grid;place-items:center}
.about-logo img{width:100%;max-width:340px;height:auto}
.about p{color:var(--muted)}
.values{list-style:none;padding:0;margin:28px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.values li{border-top:3px solid var(--orange);padding-top:12px}
.values b{display:block;font-family:'Oswald';font-size:20px;font-weight:600}
.values span{font-size:15px;color:var(--muted)}
@media(max-width:860px){.about{grid-template-columns:1fr}.about-logo{max-width:420px}.values{grid-template-columns:1fr}}

/* services */
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.svc{background:#fff;border-radius:18px;padding:28px;border:1px solid var(--line);display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.svc:hover{box-shadow:0 14px 34px rgba(10,26,63,.10);transform:translateY(-3px)}
.svc-ico{width:52px;height:52px;border-radius:14px;background:var(--navy);display:grid;place-items:center;margin-bottom:18px}
.svc-ico svg{width:26px;height:26px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.svc:nth-child(3n+2) .svc-ico{background:var(--blue)}
.svc:nth-child(3n) .svc-ico{background:var(--orange)}
.svc:nth-child(3n) .svc-ico svg{stroke:var(--navy)}
.svc h3{font-size:22px}
.svc p{color:var(--muted);font-size:16px;margin:0 0 16px;flex:1}
.svc a{font-weight:700;text-decoration:none}
@media(max-width:980px){.services{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.services{grid-template-columns:1fr}}

/* produits */
.hirable{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center;background:linear-gradient(135deg,var(--navy) 0%,var(--navy2) 100%);color:#fff;border-radius:28px;padding:clamp(28px,5vw,56px);overflow:hidden}
.badge{display:inline-block;background:rgba(232,105,44,.18);color:#FFB48A;font-weight:700;font-size:13px;padding:5px 12px;border-radius:999px;margin-bottom:14px}
.hirable h3{font-size:clamp(40px,5vw,58px);letter-spacing:2px;margin-bottom:10px}
.hirable-lead{color:#C9D6F2;font-size:19px;max-width:520px}
.checks{list-style:none;padding:0;margin:20px 0 28px;display:grid;gap:10px}
.checks li{padding-left:32px;position:relative;color:#E4EBFA}
.checks li::before{content:"";position:absolute;left:0;top:4px;width:20px;height:20px;border-radius:50%;background:var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%230A1A3F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.hirable-visual{position:relative;height:330px}
.doc{position:absolute;right:12%;top:8px;width:230px;height:310px;background:#fff;border-radius:12px;padding:22px 20px;box-shadow:0 20px 40px rgba(0,0,0,.35);transform:rotate(3deg);z-index:2}
.doc-back{right:28%;top:30px;transform:rotate(-7deg);background:var(--blue);z-index:1;opacity:.9}
.doc-head{display:flex;gap:12px;align-items:center;margin-bottom:16px}
.doc-head i{width:44px;height:44px;border-radius:50%;background:var(--blue-l)}
.doc-head b{display:block;width:110px;height:10px;background:var(--navy);border-radius:4px;margin-bottom:6px}
.doc-head s{display:block;width:70px;height:8px;background:var(--orange);border-radius:4px}
.doc p{height:7px;background:#E2E8F3;border-radius:4px;margin:0 0 8px}
.doc p.short{width:60%}
.doc-sec{width:40%;height:9px;background:var(--blue);border-radius:4px;margin:14px 0 10px}
@media(max-width:860px){.hirable{grid-template-columns:1fr}.hirable-visual{height:260px}.doc{right:auto;left:30%;height:240px;width:190px}.doc-back{left:12%;right:auto}}
.ebooks{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.ebook{display:flex;gap:18px;background:var(--bg);border-radius:18px;padding:18px;align-items:flex-start}
.ebook-cover{flex:0 0 96px;height:128px;border-radius:8px 12px 12px 8px;color:#fff;font-family:'Oswald';font-size:14px;line-height:1.15;padding:12px 10px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:inset 6px 0 0 rgba(0,0,0,.18),0 8px 18px rgba(10,26,63,.18)}
.ebook-cover span{font-size:34px;font-weight:700;line-height:1}
.ebook-cover.c1{background:var(--navy)}.ebook-cover.c2{background:var(--blue)}.ebook-cover.c3{background:var(--orange);color:var(--navy)}
.ebook h4{font-size:19px;margin-bottom:6px}
.ebook p{font-size:15px;color:var(--muted);margin:0 0 10px}
.lnk{font-weight:700;text-decoration:none}
@media(max-width:980px){.ebooks{grid-template-columns:1fr}}

/* formations */
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:36px}
.sec-head .sec-title{margin-bottom:10px}
.f-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:24px}
.f-card{background:#fff;color:var(--ink);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;text-decoration:none;transition:transform .2s}
.f-card:hover{transform:translateY(-4px)}
.f-img{aspect-ratio:25/11;background:var(--navy2);display:grid;place-items:center;color:#fff;font-family:'Oswald';font-size:24px;text-align:center;padding:10px}
.f-img img{width:100%;height:100%;object-fit:cover}
.f-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:6px;flex:1}
.f-body h3{font-size:22px;margin:0}
.f-meta{color:var(--muted);font-size:15px}
.f-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:12px}
.f-price{font-family:'Oswald';font-size:24px;color:var(--blue-d)}
.f-go{font-weight:700;color:var(--orange-d)}
.pill{display:inline-block;padding:3px 11px;border-radius:999px;font-size:13px;font-weight:700;background:var(--blue-l);color:var(--navy);width:max-content}
.pill.ok{background:#DDF3E4;color:#14572F}
.f-empty{background:rgba(255,255,255,.06);border:1px dashed rgba(255,255,255,.25);border-radius:18px;padding:28px;color:#C9D6F2}
.f-empty a{color:#FFB48A}

/* portfolio */
.folio{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.folio-item{margin:0}
.folio-item button,.folio-item a{display:block;width:100%;padding:0;border:0;background:var(--bg);border-radius:16px;overflow:hidden;cursor:zoom-in;aspect-ratio:1;text-decoration:none}
.folio-item a{cursor:pointer}
.folio-item img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.folio-item button:hover img{transform:scale(1.04)}
.folio-item.contain button{background:var(--navy)}
.folio-item.contain img{object-fit:contain}
.folio-item figcaption{padding:10px 2px 0;display:flex;flex-direction:column;line-height:1.3}
.folio-item figcaption b{font-family:'Oswald';font-weight:600;font-size:18px}
.folio-item figcaption span{font-size:14px;color:var(--muted)}
.project-art{width:100%;height:100%;display:grid;place-items:center;font-family:'Oswald';font-size:clamp(28px,3.4vw,40px);letter-spacing:2px;color:#fff}
.project-art.p1{background:linear-gradient(135deg,var(--navy),var(--blue))}
.project-art.p2{background:linear-gradient(135deg,var(--orange),#F3A26F);color:var(--navy)}
.folio-item a:hover .project-art span{text-decoration:underline;text-underline-offset:6px}
@media(max-width:860px){.folio{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.folio{grid-template-columns:1fr}}
.lightbox{border:0;padding:0;background:transparent;max-width:min(92vw,900px);max-height:92vh}
.lightbox::backdrop{background:rgba(5,12,30,.85)}
.lightbox img{max-height:88vh;width:auto;margin:0 auto;border-radius:12px}
.lb-close{position:absolute;top:8px;right:8px;width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:var(--navy);font-size:28px;line-height:1;cursor:pointer}

/* contact */
.contact{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,64px);align-items:start}
.contact > div > p:not(.kicker){color:var(--muted)}
.coords{list-style:none;padding:0;margin:24px 0;display:grid;gap:16px}
.coords li{display:flex;gap:14px;align-items:center}
.coords li div{display:flex;flex-direction:column;line-height:1.35}
.coords b{font-size:14px;color:var(--muted);font-weight:500}
.coords a,.coords span{font-weight:700;color:var(--ink);text-decoration:none;font-size:17px;word-break:break-word}
.ci{flex:0 0 46px;height:46px;border-radius:12px;background:var(--navy);display:grid;place-items:center}
.ci svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cform{background:#fff;border-radius:18px;padding:22px;border:1px solid var(--line);display:grid;gap:14px}
.cform label{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:14px}
.cform .two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cform input,.cform select,.cform textarea{font:16px 'DM Sans',Arial;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);width:100%;font-weight:400}
.cform input:focus,.cform select:focus,.cform textarea:focus{outline:2px solid var(--blue);border-color:var(--blue)}
.cform .btn{justify-self:start}
.hint{font-size:13px;color:var(--muted);margin:-4px 0 0}
.map{border-radius:20px;overflow:hidden;min-height:420px;height:100%;background:var(--blue-l)}
.map iframe{width:100%;height:100%;min-height:420px;border:0;display:block}
@media(max-width:860px){.contact{grid-template-columns:1fr}.map,.map iframe{min-height:320px}}
@media(max-width:520px){.cform .two{grid-template-columns:1fr}}

/* pied de page */
.foot{background:var(--navy);color:#C9D6F2;padding:56px 0 0;font-size:15px}
.foot-in{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:32px}
.foot-brand img{width:150px;height:auto;background:#fff;border-radius:14px;padding:10px;margin-bottom:14px}
.foot h4{color:#fff;font-size:17px;letter-spacing:1px;margin-bottom:12px}
.foot-in > div{display:flex;flex-direction:column;gap:8px}
.foot a{color:#C9D6F2;text-decoration:none;word-break:break-word}
.foot a:hover{color:#fff}
.foot-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding:18px clamp(18px,4vw,40px);font-size:14px}
@media(max-width:860px){.foot-in{grid-template-columns:1fr 1fr}.foot-brand{grid-column:span 2}}
@media(max-width:480px){.foot-in{grid-template-columns:1fr}.foot-brand{grid-column:auto}}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Installation de l'application */
.install-btn{display:none!important}
.can-install .install-btn{display:inline-flex!important}
.is-app .install-btn{display:none!important}
.install-sheet{position:fixed;left:12px;right:12px;bottom:12px;z-index:100;background:#fff;color:#0A1A3F;border-radius:18px;padding:18px 20px;box-shadow:0 12px 40px rgba(0,0,0,.35);font:16px/1.5 'DM Sans',Arial,sans-serif;max-width:480px;margin:0 auto}
.install-sheet ol{margin:6px 0 12px;padding-left:20px}
.install-sheet p{margin:0}
.install-close{background:#0A1A3F;color:#fff;border:0;border-radius:10px;padding:12px 18px;font:700 15px 'DM Sans',Arial,sans-serif;min-height:44px;cursor:pointer}
.menu .menu-install{color:#FFB48A}
.foot-bottom .install-btn{color:#FFB48A;font-weight:700}
