@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root{--bg:#080d1b;--panel:#111c31;--panel2:#172744;--text:#f4f7ff;--muted:#bdcbe0;--soft:#91a5c4;--blue:#78bfff;--cyan:#63dedb;--violet:#a28aff;--line:rgba(157,183,228,.2);--max:1480px;}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 0 45%,rgba(34,75,165,.17),transparent 38%),radial-gradient(ellipse at 100% 100%,rgba(89,49,151,.11),transparent 35%),var(--bg);color:var(--text);font-family:"DM Sans",sans-serif;line-height:1.55;display:flex;flex-direction:column;}
a{color:inherit;text-decoration:none;}
button,input,textarea{font:inherit;}
.ambient{display:none;}
.section-wrap{width:min(var(--max),calc(100% - 72px));margin-inline:auto;}
.site-header{height:88px;min-height:88px;flex:0 0 88px;padding:0 max(36px,calc((100vw - var(--max))/2));display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid var(--line);background:rgba(8,13,27,.98);position:sticky;top:0;z-index:1000;isolation:isolate;}
.brand{display:inline-flex;align-items:center;gap:12px;white-space:nowrap;font:800 25px Manrope,sans-serif;letter-spacing:-1.2px;}
.brand-logo{display:block;width:46px;height:46px;flex:0 0 46px;object-fit:contain;}

.brand-ai{color:#70c7ff;}



.main-nav{display:flex;align-items:center;gap:clamp(16px,2vw,34px);font-size:16px;color:#c6d0e2;white-space:nowrap;}
.main-nav>a:not(.nav-cta){height:88px;display:flex;align-items:center;position:relative;}
.main-nav>a.active,.main-nav>a:hover{color:#fff;}
.main-nav>a.active:after{content:"";position:absolute;bottom:17px;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--cyan),var(--violet));}
.nav-cta{border:1px solid rgba(91,228,226,.38);border-radius:11px;padding:14px 19px;color:#effaff;background:rgba(83,168,255,.08);}
.nav-cta:hover{background:rgba(83,168,255,.16);}
.menu-toggle{display:none;}
main{width:100%;flex:1 0 auto;}
.eyebrow{font-size:13px;letter-spacing:2px;font-weight:800;color:#8bbdff;margin-bottom:19px;}
.pulse{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--cyan);box-shadow:0 0 12px var(--cyan);margin-right:11px;}
.pulse--home{margin-right:17px;}
.gradient-text{background:linear-gradient(100deg,#78d8f5,#7d9bff 52%,#b08aff);background-clip:text;-webkit-background-clip:text;color:transparent;}
.button{display:inline-flex;align-items:center;justify-content:center;gap:13px;padding:16px 23px;border-radius:11px;font-size:16px;font-weight:700;border:1px solid transparent;transition:transform .2s,background .2s;}
.button:hover{transform:translateY(-2px);}
.button-primary{color:#07101f;background:linear-gradient(110deg,#73d9ef,#6e9dff 60%,#a68bff);box-shadow:0 8px 30px rgba(81,151,255,.16);}
.button-ghost{border-color:var(--line);color:#e4edfc;background:rgba(255,255,255,.025);}
.section-block{padding-top:38px;padding-bottom:58px;}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:42px;margin-bottom:28px;}
.section-heading h2,.section-heading h1,.about-copy h2,.about-copy h1,.contact-copy h2,.contact-copy h1{font:800 clamp(36px,3.2vw,50px)/1.1 Manrope,sans-serif;letter-spacing:-2px;margin:0;}
.section-heading>p{max-width:410px;color:var(--muted);font-size:17px;line-height:1.6;margin:0 0 4px;}
.site-footer{border-top:1px solid var(--line);background:rgba(8,13,27,.98);padding:12px 0;flex:0 0 auto;}
.footer-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:20px;}
.footer-description{margin:0;color:#aabbd5;font-size:13px;line-height:1.45;}
.footer-links{display:flex;align-items:center;justify-content:center;gap:22px;font-size:13px;color:#c0cce0;white-space:nowrap;}
.footer-links a:hover{color:#fff;}
.footer-copyright{justify-self:end;color:#aabbd5;font-size:12px;white-space:nowrap;}

/* Dimensions communes de l’en-tête et comportement responsive du pied de page. */
@media screen and (max-width: 940px) {
  .site-header { height:76px; min-height:76px; flex:0 0 76px; }
}
@media screen and (max-width: 760px) {
  .footer-inner { grid-template-columns:minmax(0,1fr); justify-items:start; gap:10px; }
  .footer-links { justify-content:flex-start; gap:18px; }
  .footer-copyright { justify-self:start; white-space:normal; }
}

/* ACCUEIL */
.hero{min-height:650px;padding-top:54px;padding-bottom:0;display:grid;grid-template-columns:1.03fr .97fr;grid-template-rows:1fr auto;align-items:center;gap:18px 55px;}
.hero-copy{align-self:center;max-width:690px;}
.hero h1{font:800 clamp(54px,5.3vw,82px)/1.03 Manrope,sans-serif;letter-spacing:-4px;margin:0 0 24px;}
.hero-lead{font-size:20px;line-height:1.65;color:#c0cce0;max-width:690px;margin:0 0 32px;}
.hero-actions{display:flex;gap:15px;flex-wrap:wrap;}
.hero-proof{display:flex;align-items:center;gap:15px;margin-top:32px;color:#b8c7de;font-size:15px;}

.hero-visual{height:500px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;}
.visual-orbit{position:absolute;border:1px solid rgba(111,160,255,.17);border-radius:50%;transform:rotate(-20deg);}
.orbit-a{width:min(470px,95%);height:300px;}.orbit-b{width:min(385px,78%);height:410px;transform:rotate(55deg);}
.visual-label{position:absolute;top:calc(3% - 38px);left:calc(3% + 76px);font-size:11px;letter-spacing:1.5px;color:#91a3c2;}.visual-label span{color:#66d9c5;margin-left:12px;}
.flow-card{position:relative;z-index:1;display:flex;align-items:center;gap:13px;padding:15px 18px;border:1px solid rgba(133,171,240,.24);border-radius:14px;background:linear-gradient(120deg,rgba(23,37,65,.98),rgba(13,23,42,.98));box-shadow:0 16px 45px rgba(0,0,0,.24);width:300px;}
.flow-card strong{display:block;font:700 14px Manrope;}.flow-card small{display:block;font-size:12px;color:#b1bfd5;margin-top:3px;}
.flow-source{margin-top:8px;margin-left:-65px;}.flow-engine{width:390px;margin:26px 0;border-color:rgba(99,177,255,.42);margin-left:50px;}
.flow-outputs{display:flex;gap:13px;margin-left:35px;}
.flow-output{width:215px;padding:13px 14px;}.flow-output strong{font-size:12px;}.flow-output small{font-size:11px;}
.app-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;font-weight:800;flex:0 0 38px;font-size:14px;}
.tally{background:#f4b6a4;color:#522e2c;}.airtable{background:#c4e8a5;color:#285a31;}.ai{background:#b7a4ff;color:#30225e;}.automation{background:#a9d5f5;color:#23496f;}
.status-dot{margin-left:auto;width:9px;height:9px;background:#60dfbd;border-radius:50%;box-shadow:0 0 10px #60dfbd;}.mini-chip{margin-left:auto;font-size:11px;color:#b9d2fa;border:1px solid #45618d;padding:5px 8px;border-radius:6px;white-space:nowrap;flex:0 0 auto;}.check{margin-left:auto;color:#6be1c0;font-size:20px;}
.flow-line{height:26px;width:1px;background:linear-gradient(#5daeff,#9b83ff);position:relative;z-index:0;margin-bottom:-26px;}.line-one{margin-left:-65px;}.line-two{margin-left:50px;}
.visual-caption{position:absolute;right:0;bottom:0;display:flex;align-items:center;gap:13px;border:1px solid rgba(133,171,240,.25);background:#101a2e;padding:14px 17px;border-radius:12px;z-index:4;box-shadow:0 10px 28px rgba(0,0,0,.3);}
.caption-icon{color:#79d8f0;font-size:25px;}.visual-caption strong,.visual-caption small{display:block;}.visual-caption strong{font-size:14px;}.visual-caption small{font-size:12px;color:#b7c5db;}
.spark{position:absolute;color:#7cd8ff;}.spark-one{top:18%;right:6%;font-size:27px;}.spark-two{bottom:17%;left:1%;font-size:21px;}
.hero-bottom{grid-column:1/-1;border-top:1px solid var(--line);margin-top:16px;padding:20px 0 23px;display:flex;align-items:center;justify-content:space-between;color:#9aabc5;font-size:12px;letter-spacing:1.2px;}
.tool-logos{display:flex;gap:38px;align-items:center;color:#c0cce0;letter-spacing:0;font-size:16px;}.tool-logos b:nth-child(2){color:#b6a3ff;}

/* SOLUTIONS : chaque section suit le flux normal du document */
#solutions{padding-top:65px;padding-bottom:30px;}
.solution-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.solution-card{min-width:0;padding:25px 25px 23px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,rgba(20,31,54,.97),rgba(12,20,36,.97));position:relative;overflow:hidden;}
.solution-card.featured{border-color:rgba(104,165,255,.42);background:linear-gradient(145deg,rgba(25,43,77,.97),rgba(14,24,45,.98));}
.card-icon{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;font-size:24px;margin-bottom:16px;}
.icon-database{background:rgba(87,176,255,.15);color:#78c8ff;}.icon-flow{background:rgba(160,126,255,.16);color:#b59cff;}.icon-ai{background:rgba(81,220,202,.13);color:#71e1d4;}
.card-kicker{font-size:12px;letter-spacing:1.2px;color:#83baff;font-weight:800;}
.solution-card h3{font:700 19px/1.3 Manrope;margin:9px 0;}
.solution-card p{font-size:16px;line-height:1.55;color:#c5d1e3;margin:0 0 12px;}
.solution-card ul{list-style:none;padding:0;margin:0;}
.solution-card li{font-size:15px;line-height:1.55;color:#d2dced;margin:5px 0;}
.solution-card li:before{content:"✓";color:#68d9c7;margin-right:10px;}
.industries-section{padding-top:24px;padding-bottom:28px;}
.industries-section .section-heading{margin-bottom:18px;}
.industries-section .section-heading h2,.industries-section .section-heading h1{font-size:clamp(30px,2.7vw,40px);}
.industry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.industry-grid>div{min-width:0;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;align-content:center;column-gap:10px;padding:16px 17px;border:1px solid var(--line);border-radius:12px;background:rgba(17,27,47,.8);}
.industry-grid span{grid-column:1;grid-row:1/3;align-self:center;font-size:24px;color:#81c9ec;}
.industry-grid b{font:700 16px Manrope;}.industry-grid small{font-size:14px;line-height:1.45;color:#bdcbe0;margin-top:4px;}
.faq-section{padding-top:25px;padding-bottom:58px;}
.faq-section .section-heading{display:block;margin:0;}
.faq-section .section-heading h2,.faq-section .section-heading h1{font-size:clamp(30px,2.7vw,40px);}
.faq-section .section-heading>p{margin-top:10px;max-width:600px;}
.faq-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;margin-top:20px;}
.faq-list details{border-bottom:1px solid var(--line);padding:14px 0;}
.faq-list summary{font-size:16px;line-height:1.45;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;}
.faq-list summary::-webkit-details-marker{display:none;}.faq-list summary:after{content:"+";color:#6fd9ed;font-size:22px;line-height:1;}
.faq-list details[open] summary:after{content:"−";}.faq-list details p{font-size:15px;line-height:1.55;color:#c0cce0;margin:10px 0 3px;}

/* RÉALISATIONS : hauteur naturelle, aucune carte comprimée */
#realisations{padding-top:65px;padding-bottom:54px;}
#realisations .section-heading{padding-bottom:22px;margin-bottom:20px;border-bottom:1px solid var(--line);}
.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
.project-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#10182a;display:flex;flex-direction:column;min-height:310px;}
.project-art{height:190px;flex:0 0 190px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 45%,#243e69,#101a31 65%);}
.project-info{padding:15px 17px 18px;min-height:118px;}
.project-info>span{font-size:11px;letter-spacing:1px;color:#83baff;font-weight:800;}
.project-info h3{font:700 18px/1.3 Manrope;margin:6px 0;}
.project-info p{font-size:15px;line-height:1.5;color:#c0cce0;margin:0;}
.mock-window{width:75%;height:150px;border:1px solid #47618c;border-radius:10px;background:rgba(9,18,34,.94);padding:13px;box-shadow:0 18px 40px #07101f;}
.mock-top{display:flex;gap:5px;align-items:center;font-size:11px;color:#b9cbe6;}.mock-top i{width:7px;height:7px;border-radius:50%;background:#6789bc;}.mock-top span{margin-left:10px;}
.mock-stats{display:flex;justify-content:space-between;margin:18px 0 8px;}.mock-stats b{font:700 22px Manrope;color:#e0edff;}.mock-stats small{display:block;font:12px "DM Sans";color:#a9bdd9;}
.mock-bars{height:40px;display:flex;align-items:end;gap:9px;border-bottom:1px solid #304665;}.mock-bars i{flex:1;border-radius:4px 4px 0 0;background:linear-gradient(#6bd8df,#577bff);opacity:.85;}
.art-ai{background:radial-gradient(circle,#25336a,#12182e 70%);}.ai-orb{width:115px;height:115px;border-radius:50%;display:grid;place-items:center;font-size:48px;color:#b9a4ff;background:radial-gradient(circle at 35% 30%,#a3eaff,#7054cb 45%,#1b2448 75%);box-shadow:0 0 65px #6d5ce0;}
.ai-lines{position:absolute;left:15%;right:15%;display:flex;flex-direction:column;gap:10px;}.ai-lines i{height:1px;background:linear-gradient(90deg,transparent,#8a8aff,transparent);}
.floating-tag{position:absolute;bottom:18px;right:9%;font-size:12px;padding:8px 12px;border:1px solid #52649b;background:#17233e;border-radius:7px;}
.art-doc{background:radial-gradient(circle at 50% 50%,#263b5b,#111a2e 70%);}.doc-sheet{width:112px;height:155px;background:#e6edfa;border-radius:6px;padding:15px;color:#23395b;box-shadow:0 15px 35px #070d19;position:relative;}
.doc-sheet b{font:800 20px Manrope;color:#658be3;}.doc-sheet i{display:block;height:5px;background:#c3cee0;border-radius:4px;margin-top:13px;width:80%;}.doc-sheet i:nth-of-type(2){width:65%;}.doc-sheet i:nth-of-type(3){width:90%;}.doc-sheet div{position:absolute;right:10px;bottom:10px;color:#3aaf8e;font-size:22px;}
.art-mail{background:radial-gradient(circle,#1e3857,#111a2e 75%);}.mail-card{width:70%;padding:16px;border:1px solid #405b82;border-radius:10px;background:#111f37;box-shadow:0 15px 35px #070d19;}
.mail-card>span{color:#7bc7ff;font-size:25px;}.mail-card b,.mail-card small{display:block;}.mail-card b{font-size:14px;margin-top:8px;}.mail-card small{font-size:12px;color:#a9bdd9;}
.mail-reply{margin-top:13px;padding:10px;background:#1c3a4a;color:#8fe3d2;border-radius:6px;font-size:12px;}
.art-dashboard{background:radial-gradient(circle,#243b64,#101a30 75%);gap:20px;}.dashboard-ring{width:120px;height:120px;border-radius:50%;border:10px solid #273e64;border-top-color:#69d5df;border-right-color:#8b8aff;display:grid;place-content:center;text-align:center;font:800 32px Manrope;}
.dashboard-ring small{font-size:12px;color:#b2c3df;}.dashboard-data{display:flex;flex-direction:column;gap:11px;width:35%;}.dashboard-data i{height:9px;border-radius:5px;background:linear-gradient(90deg,#70d8df,#697fff);width:90%;}.dashboard-data i:nth-child(2){width:65%;}.dashboard-data i:nth-child(3){width:78%;}

/* MÉTHODE */
#methode{padding-top:65px;padding-bottom:75px;}
#methode .section-heading{margin-bottom:55px;}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.steps article{min-width:0;min-height:245px;padding:24px 22px 26px;border:1px solid rgba(112,153,207,.25);border-radius:15px;background:linear-gradient(155deg,rgba(19,34,58,.94),rgba(11,19,35,.98));position:relative;overflow:hidden;transition:transform .22s ease,border-color .22s ease,background .22s ease}
.steps article::before{content:"";position:absolute;inset:0 0 auto;width:100%;height:2px;background:linear-gradient(90deg,#70dce4,#6c8dff 65%,#a58bff);opacity:.8}
.steps article:hover{transform:translateY(-5px);border-color:rgba(112,202,232,.55);background:linear-gradient(155deg,rgba(29,53,88,.94),rgba(13,23,43,.98))}
.step-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:30px}
.step-number{display:inline-flex;align-items:center;min-height:28px;padding:5px 10px;border:1px solid rgba(112,174,226,.25);border-radius:7px;background:rgba(23,43,72,.72);color:#8bc8ff;font-size:10px;font-weight:700;letter-spacing:1.15px}
.step-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border:1px solid rgba(113,188,224,.2);border-radius:14px;background:linear-gradient(145deg,rgba(84,194,222,.15),rgba(105,125,255,.13));color:#83d9ed}
.step-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.steps h3{margin:0 0 11px;font:700 21px Manrope,sans-serif;letter-spacing:-.35px}
.steps p{margin:0;color:#bdcbe0;font-size:14px;line-height:1.7}
@media (prefers-reduced-motion: reduce){.steps article{transition:none}.steps article:hover{transform:none}}

/* À PROPOS */
.about-section{display:flex;align-items:center;background:linear-gradient(100deg,rgba(24,42,75,.68),rgba(12,20,37,.72));border-block:1px solid var(--line);min-height:600px;}
.about-inner{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:90px;padding-block:65px;}
.about-visual{height:390px;position:relative;display:grid;place-items:center;}
.about-logo-image{display:block;width:150px;height:150px;object-fit:contain;position:relative;z-index:1;}
.about-ring{width:290px;height:290px;border-radius:50%;border:1px solid rgba(119,169,255,.28);box-shadow:0 0 70px rgba(73,119,255,.13),inset 0 0 60px rgba(73,119,255,.08);position:absolute;}

.cert-card{transform:translateY(37px);position:absolute;bottom:12px;right:-5px;display:flex;gap:12px;align-items:center;padding:14px 17px;background:#172744;border:1px solid #3c5a85;border-radius:10px;}
.cert-card>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#2e6c68;color:#9af0d6;}
.cert-card b,.cert-card small{display:block;}.cert-card b{font-size:14px;}.cert-card small{font-size:12px;color:#b4c2d8;}
.about-copy h2,.about-copy h1{margin-bottom:20px;}.about-copy>p{font-size:17px;color:#c0cce0;line-height:1.7;}
.about-tags{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0;}.about-tags span{padding:9px 13px;border:1px solid var(--line);border-radius:7px;font-size:13px;font-weight:600;-webkit-background-clip:text;background-clip:text;color:transparent;}
.about-tags span:nth-child(1){background-image:linear-gradient(100deg,#8bdc91 0%,#45b98b 100%);}
.about-tags span:nth-child(2){background-image:linear-gradient(100deg,#ffb36b 0%,#f16b9b 100%);}
.about-tags span:nth-child(3){background-image:linear-gradient(100deg,#ff79a8 0%,#e85b82 100%);}
.about-tags span:nth-child(4){background-image:linear-gradient(100deg,#ffd000 0%,#ffe94a 38%,#fff5a8 72%,#fffef2 100%);}
.about-tags span:nth-child(5){background-image:linear-gradient(100deg,#f24e1e 0%,#ff7262 28%,#a259ff 62%,#1abcfe 100%);}
.about-tags span:nth-child(6){background-image:linear-gradient(100deg,#70dfd0 0%,#48b9b2 100%);}
.about-copy > .about-more{color:#8bbdff;}


/* CONTACT */
.contact-section{display:flex;align-items:flex-start;min-height:0;}
.contact-inner{display:grid;grid-template-columns:1fr .95fr;align-items:start;gap:70px;padding:38px 0 55px;}
.contact-copy h2,.contact-copy h1{font-size:clamp(40px,3.6vw,56px);margin-top:48px;margin-bottom:18px;}
.contact-copy>p{font-size:17px;color:#c0cce0;line-height:1.7;max-width:560px;}



.contact-form{padding:27px;border:1px solid rgba(133,171,240,.24);border-radius:17px;background:linear-gradient(145deg,rgba(20,31,54,.98),rgba(12,20,36,.98));display:grid;gap:14px;}
.form-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:4px;}
.form-heading b{font:700 20px Manrope;}.form-heading span{font-size:12px;color:#6fe0d2;}
.contact-form label{display:grid;gap:7px;font-size:14px;color:#d0dced;}
.contact-form label small{display:inline;font-size:11px;color:#9eabc2;}
.contact-form input,.contact-form textarea{width:100%;padding:13px 14px;border:1px solid #344b70;border-radius:9px;background:#0d1729;color:#fff;font-size:15px;outline:none;}
.contact-form input:focus,.contact-form textarea:focus{border-color:#67baff;}.contact-form textarea{min-height:100px;resize:vertical;}
.contact-form button{width:100%;border:0;cursor:pointer;}

/* Tablettes et mobiles */
@media(max-width:1100px){
 .site-header{padding-inline:28px;}.main-nav{gap:16px;font-size:14px;}.nav-cta{padding:11px 13px;}
 .hero{gap:20px;}.hero h1{font-size:clamp(48px,5vw,66px);}.hero-visual{transform:scale(.9);transform-origin:center;}
 .section-wrap{width:calc(100% - 56px);}
 body.page-home .hero.section-wrap{width:calc(100% - 56px);}
}
@media(max-width:850px){
 .site-header{padding:0 22px;}.brand{font-size:21px;}
 .menu-toggle{display:flex;width:43px;height:43px;border:1px solid var(--line);border-radius:9px;background:#111b30;flex-direction:column;justify-content:center;gap:6px;padding:10px;}
 .menu-toggle i{height:2px;background:#dce8fa;width:100%;}
 .main-nav{display:none;position:absolute;top:75px;left:0;right:0;background:#0b1324;border-bottom:1px solid var(--line);padding:16px 22px 22px;align-items:stretch;gap:0;flex-direction:column;}
 .main-nav.open{display:flex;}.main-nav>a.active:after{bottom:5px;right:auto;width:38px;}.nav-cta{margin-top:10px;text-align:center;}
 .section-wrap{width:calc(100% - 40px);}
 body.page-home .hero.section-wrap{width:calc(100% - 40px);}
 .hero{min-height:0;padding-top:30px;grid-template-columns:1fr;grid-template-rows:auto auto;gap:12px;}
 .hero-copy{align-self:start;}
 .hero h1{font-size:clamp(44px,8vw,66px);}.hero-lead{font-size:17px;}.hero-visual{height:420px;transform:none;}
 .hero-bottom{gap:18px;flex-wrap:wrap;}.tool-logos{gap:20px;flex-wrap:wrap;}
 .section-block{padding-top:30px;padding-bottom:42px;}
 .section-heading{align-items:flex-start;flex-direction:column;gap:14px;}
 .solution-grid{grid-template-columns:1fr;}.solution-card{padding:22px;}
 .industry-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .faq-list{grid-template-columns:1fr;}
 .portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .steps{grid-template-columns:repeat(2,minmax(0,1fr));}
 .steps{gap:14px;}
 .steps article{min-height:0;padding:21px 20px 23px}
 .step-card-top{margin-bottom:20px}
 .about-inner,.contact-inner{grid-template-columns:1fr;gap:30px;padding-block:45px;}
 .about-visual{height:300px;}.about-ring{width:220px;height:220px;}
 .cert-card{right:calc(50% - 150px);}
 .contact-section{min-height:0;}
 
}
@media(max-width:560px){
 .section-wrap{width:calc(100% - 32px);}
 .hero{padding-top:30px;}.hero h1{font-size:43px;letter-spacing:-2.5px;}.hero-lead{font-size:16px;}
 .hero-actions{display:grid;}.button{width:100%;font-size:15px;}
 .hero-visual{height:360px;transform:scale(.88);transform-origin:top center;margin-bottom:-35px;}
 .flow-card{width:245px;}.flow-output{width:165px;}
 .hero-bottom{font-size:10px;}.tool-logos{font-size:13px;}
 .section-heading h2,.section-heading h1,.about-copy h2,.about-copy h1{font-size:34px;}
 .industry-grid,.portfolio-grid,.steps{grid-template-columns:1fr;}
 .project-card{min-height:300px;}
 .footer-links{flex-wrap:wrap;gap:12px;font-size:12px;}
 .contact-form{padding:20px;}
}

/* Compactage ciblé des trois pages demandées.
   Les règles sont limitées à leur classe body : aucune incidence sur Solutions,
   Réalisations ou Méthode. Le mode compact ne s'applique qu'aux grands écrans. */
@media (min-width: 1100px) and (min-height: 760px) {
  
  
  

  /* Accueil : hero, preuve, bandeau outils et pied de page dans le premier écran. */
  body.page-home .hero {
    min-height: 0;
    height: calc(100svh - 142px);
    max-height: 760px;
    padding-top: 22px;
    grid-template-rows: minmax(0,1fr) auto;
    gap: 8px 38px;
  }
  body.page-home .hero h1 {
    font-size: clamp(50px, 4.25vw, 68px);
    line-height: 1.01;
    letter-spacing: -3px;
    margin-bottom: 17px;
  }
  body.page-home .hero-lead {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 21px;
  }
  body.page-home .hero-actions .button { padding: 13px 18px; font-size: 15px; }
  body.page-home .hero-proof { margin-top: 20px; font-size: 14px; }
  body.page-home .hero-visual { height: min(390px, 48svh); }
  body.page-home .flow-card { padding: 12px 15px; }
  body.page-home .flow-source { margin-top: 0; }
  body.page-home .flow-engine { margin-top: 18px; margin-bottom: 18px; }
  body.page-home .flow-output { padding: 10px 12px; }
  body.page-home .visual-caption { bottom: 0; padding: 11px 13px; }
  body.page-home .hero-bottom { padding: 13px 0 15px; margin-top: 4px; }
  
  
  

  /* À propos : réduction des marges verticales, sans réduire les textes utiles. */
  body.page-about .about-section { min-height: 0; }
  body.page-about .about-inner {
    min-height: calc(100svh - 146px);
    padding-block: 28px;
    gap: 55px;
  }
  body.page-about .about-visual { height: 300px; }
  body.page-about .about-ring { width: 250px; height: 250px; }
  
  body.page-about .about-copy h2 ,body.page-about .about-copy h1{ font-size: clamp(38px, 3vw, 47px); margin-bottom: 14px; }
  body.page-about .about-copy > p { font-size: 16px; line-height: 1.55; margin: 10px 0; }
  body.page-about .about-tags { margin: 15px 0; }
  body.page-about .about-tags span { padding: 7px 11px; }
  

  /* Contact : formulaire plus dense, champs toujours confortables et lisibles. */
  body.page-contact .contact-section { min-height: 0; }
  body.page-contact .contact-inner {
    min-height: calc(100svh - 146px);
    padding-top: 38px;
    padding-bottom: 24px;
    align-items: start;
    gap: 48px;
  }
  body.page-contact .contact-copy h2 ,body.page-contact .contact-copy h1{ font-size: clamp(39px, 3.3vw, 50px); margin-bottom: 13px; }
  body.page-contact .contact-copy > p { font-size: 16px; line-height: 1.55; margin: 10px 0 16px; }
  
  
  body.page-contact .contact-form { padding: 20px 22px; gap: 9px; }
  body.page-contact .form-heading { margin-bottom: 1px; }
  body.page-contact .form-heading b { font-size: 18px; }
  body.page-contact .contact-form label { gap: 5px; font-size: 13px; }
  body.page-contact .contact-form input { padding: 10px 12px; font-size: 14px; }
  body.page-contact .contact-form textarea { min-height: 72px; padding: 10px 12px; font-size: 14px; }
  body.page-contact .contact-form .button { padding: 12px 18px; }
  
  
}

/* Sur les écrans moins hauts, priorité à la lisibilité : le défilement reste possible. */
@media (min-width: 1100px) and (max-height: 759px) {
  body.page-home .hero { min-height: 620px; }
  body.page-about .about-inner,
  body.page-contact .contact-inner { min-height: 560px; }
}

/* =========================================================
   MISE EN PAGE DESKTOP — ACCUEIL / À PROPOS / CONTACT
   Règles isolées par page : les autres rubriques restent intactes.
   ========================================================= */
@media screen and (min-width: 1101px) {
  
  

  /* Accueil : composition équilibrée, bandeau outils et pied visibles. */
  body.page-home .hero {
    box-sizing: border-box;
    height: calc(100svh - 154px);
    min-height: 0;
    max-height: none;
    padding-top: clamp(14px, 2svh, 22px);
    padding-bottom: 0;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0 34px;
  }
  body.page-home .hero-copy { min-width: 0; }
  body.page-home .hero h1 {
    font-size: clamp(48px, 4.15vw, 70px);
    line-height: 1;
    letter-spacing: -.045em;
    margin-bottom: 16px;
  }
  body.page-home .hero-lead {
    font-size: clamp(16px, 1.05vw, 18px);
    line-height: 1.5;
    margin-bottom: 18px;
  }
  body.page-home .hero-actions { gap: 12px; }
  body.page-home .hero-actions .button { padding: 12px 16px; font-size: 14px; }
  body.page-home .hero-proof { margin-top: 16px; font-size: 13px; }
  body.page-home .hero-visual {
    height: min(350px, 43svh);
    min-height: 0;
    transform: none;
  }
  body.page-home .flow-card { padding: 11px 13px; }
  body.page-home .hero-bottom { margin-top: 0; padding: 10px 0 12px; }
  

  /* À propos : la zone centrale occupe l'espace restant, sans débordement. */
  body.page-about .about-section {
    box-sizing: border-box;
    height: calc(100svh - 154px);
    min-height: 0;
  }
  body.page-about .about-inner {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    padding-block: clamp(16px, 2.2svh, 24px);
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 4vw, 60px);
  }
  body.page-about .about-visual { height: min(320px, 40svh); min-width: 0; }
  body.page-about .about-ring { width: min(270px, 29vw); height: min(270px, 29vw); }
  
  body.page-about .about-copy { min-width: 0; }
  body.page-about .about-copy h2 ,body.page-about .about-copy h1{
    font-size: clamp(36px, 3.05vw, 48px);
    line-height: 1.06;
    margin: 0 0 12px;
  }
  body.page-about .about-copy > p { font-size: 15px; line-height: 1.5; margin: 9px 0; }
  body.page-about .about-tags { margin: 12px 0; gap: 8px; }
  body.page-about .about-tags span { padding: 7px 10px; font-size: 12px; }
  

  /* Contact : colonnes réellement flexibles, sans largeur intrinsèque qui décale la page. */
  body.page-contact .contact-section {
    box-sizing: border-box;
    height: calc(100svh - 154px);
    min-height: 0;
    overflow: clip;
  }
  body.page-contact .contact-inner {
    box-sizing: border-box;
    width: min(var(--max), calc(100% - 72px));
    height: 100%;
    min-height: 0;
    padding-top: 38px;
    padding-bottom: 20px;
    align-items: start;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
    gap: clamp(28px, 3.2vw, 52px);
  }
  body.page-contact .contact-copy {
    min-width: 0;
    padding-top: 27px;
  }
  body.page-contact .contact-form { min-width: 0; }
  body.page-contact .contact-copy h2 ,body.page-contact .contact-copy h1{
    font-size: clamp(37px, 3.1vw, 49px);
    line-height: 1.06;
    margin-bottom: 12px;
  }
  body.page-contact .contact-copy > p { font-size: 15px; line-height: 1.5; margin: 8px 0 12px; }
  
  
  body.page-contact .contact-form {
    box-sizing: border-box;
    padding: 16px 19px;
    gap: 8px;
  }
  body.page-contact .contact-form *,
  body.page-contact .contact-form *::before,
  body.page-contact .contact-form *::after { box-sizing: border-box; }
  body.page-contact .form-heading { margin-bottom: 0; }
  body.page-contact .form-heading b { font-size: 18px; }
  body.page-contact .contact-form label { gap: 4px; font-size: 13px; }
  body.page-contact .contact-form input { min-height: 38px; padding: 8px 11px; font-size: 14px; }
  body.page-contact .contact-form textarea { min-height: 62px; height: 62px; padding: 8px 11px; font-size: 14px; }
  body.page-contact .contact-form .button { min-height: 42px; padding: 9px 15px; }
  
  
}

/* Méthode : enrichissement utile, avec une seconde section lisible et structurée. */
body.page-method .method-section { padding-top: 38px; padding-bottom: 64px; }
body.page-method .method-details {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 76px);
  margin-top: 58px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
body.page-method .method-details-intro h3 {
  margin: 10px 0 12px;
  font: 750 clamp(24px, 2.2vw, 32px)/1.15 Manrope, sans-serif;
  letter-spacing: -.8px;
}
body.page-method .method-details-intro p {
  max-width: 470px;
  color: #bdcbe0;
  font-size: 16px;
  line-height: 1.65;
}
body.page-method .method-points { display: grid; gap: 17px; }
body.page-method .method-points article {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  padding-left: 16px;
  border-left: 2px solid rgba(114,202,255,.45);
  align-items: start;
}
body.page-method .method-points b { display: block; font-size: 16px; margin-bottom: 4px; }
body.page-method .method-points p { margin: 0; color: #b8c7de; font-size: 14px; line-height: 1.5; }

@media (max-width: 1100px) {
  body.page-method .method-section { padding-top: 30px; padding-bottom: 48px; }
  #solutions, #realisations { padding-top: 30px; }
  body.page-method .method-details { grid-template-columns: 1fr; gap: 24px; margin-top: 38px; }
}
@media (max-width: 850px) {
  body.page-contact .contact-section { height: auto; min-height: 0; overflow: visible; }
  body.page-contact .contact-inner { width: calc(100% - 40px); height: auto; padding-top: 30px; align-items: start; }
  body.page-method .method-details { margin-top: 30px; }
}

/* Si la fenêtre est basse, le contenu garde sa hauteur naturelle et le scroll reste sain. */
@media screen and (min-width: 1101px) and (max-height: 680px) {
  body.page-home .hero,
  body.page-about .about-section,
  body.page-contact .contact-section { height: auto; min-height: 0; }
  body.page-home .hero { padding-bottom: 14px; }
  body.page-about .about-inner,
  body.page-contact .contact-inner { height: auto; }
}

/* CORRECTIONS FINALES — retours visuels du 06/11/2026 */
@media screen and (min-width: 1101px) {
  /* Les deux pages occupent exactement l'espace disponible entre header et footer.
     Cela supprime le petit débordement vertical au lieu de masquer une partie du contenu. */
  body.page-home,
  body.page-contact {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }
  body.page-home main,
  body.page-contact main {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
  }

  body.page-home .hero {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    max-height: none;
    padding-top: 65px;
    padding-bottom: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0 28px;
  }
  body.page-home .hero-visual {
    height: 100%;
    min-height: 0;
    overflow: visible;
    padding-bottom: 24px;
  }
  /* La bulle de bénéfice passe sous les deux cartes de sortie :
     elle ne recouvre plus le bloc « Assistant IA ». */
  body.page-home .visual-caption {
    right: 1%;
    bottom: -2px;
    transform: translateY(12px);
    z-index: 5;
  }
  body.page-home .flow-outputs {
    position: relative;
    z-index: 2;
    gap: 12px;
    margin-left: 0;
    transform: translate(76px, -4px);
  }
  body.page-home .flow-output {
    width: clamp(170px, 16vw, 215px);
    min-width: 0;
  }

  body.page-contact .contact-section {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    overflow: visible;
  }
  body.page-contact .contact-inner {
    height: 100%;
    min-height: 0;
    padding-top: 38px;
    padding-bottom: 14px;
    align-items: start;
  }
  body.page-contact .contact-form {
    gap: 7px;
    padding-block: 13px;
  }
  body.page-contact .contact-form input {
    min-height: 36px;
    padding-block: 7px;
  }
  body.page-contact .contact-form textarea {
    min-height: 56px;
    height: 56px;
  }
  body.page-contact .contact-form .button { min-height: 40px; }
  
}

@media screen and (min-width: 1101px) and (max-height: 680px) {
  body.page-home .hero h1 { font-size: clamp(42px, 3.8vw, 58px); margin-bottom: 10px; }
  body.page-home .hero-lead { font-size: 15px; line-height: 1.4; margin-bottom: 12px; }
  body.page-home .hero-proof { margin-top: 10px; }
  body.page-home .hero-visual { transform: scale(.9); transform-origin: center; }
  body.page-contact .contact-copy h2 ,body.page-contact .contact-copy h1{ font-size: 36px; }
  body.page-contact .contact-copy > p { font-size: 14px; margin-block: 6px 9px; }
  body.page-contact .contact-form { gap: 5px; padding-block: 9px; }
  body.page-contact .contact-form textarea { min-height: 48px; height: 48px; }
}

@media (max-width: 1100px) {
  body.page-home, body.page-contact { height: auto; min-height: 100vh; overflow: visible; }
  body.page-home main, body.page-contact main { display: block; }
  body.page-home .hero { height: auto; }
  body.page-home .visual-caption { transform: none; }
}

/* ACCUEIL — ajustement structurel final après contrôle de la capture du 06/11 */
@media screen and (min-width: 1101px) {
  html, body.page-home { height: 100%; }
  body.page-home {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }
  
  body.page-home main {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    display: flex;
    overflow: hidden;
  }
  body.page-home .hero.section-wrap {
    box-sizing: border-box;
    width: min(var(--max), calc(100% - 86px));
    max-width: var(--max);
    min-width: 0;
    height: 100%;
    min-height: 0;
    max-height: none;
    margin: 0 auto;
    padding: 65px 0 0;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 clamp(20px, 2vw, 34px);
  }
  body.page-home .hero-copy {
    align-self: start;
    min-width: 0;
    width: 100%;
    max-width: 690px;
  }
  body.page-home .hero h1 {
    font-size: clamp(46px, 3.85vw, 68px);
    line-height: 1.02;
    letter-spacing: -.045em;
    margin: 0 0 clamp(10px, 1.5svh, 16px);
  }
  body.page-home .hero-lead {
    max-width: 690px;
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.48;
    margin: 0 0 clamp(12px, 1.7svh, 18px);
  }
  body.page-home .hero-actions { gap: 12px; }
  body.page-home .hero-actions .button {
    padding: 11px 15px;
    font-size: 14px;
  }
  body.page-home .hero-proof {
    margin-top: clamp(10px, 1.5svh, 16px);
    font-size: 13px;
    gap: 12px;
  }
  body.page-home .hero-visual {
    width: 100%;
    height: min(350px, 43svh);
    min-height: 0;
    min-width: 0;
    overflow: visible;
    justify-self: stretch;
  }
  body.page-home .flow-card { box-sizing: border-box; }
  body.page-home .flow-source { margin-left: -28px; }
  body.page-home .flow-engine { margin-left: 20px; }
  body.page-home .flow-outputs {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
  }
  body.page-home .flow-output {
    width: min(215px, calc(50% - 5px));
    min-width: 0;
  }
  body.page-home .visual-caption {
    right: 0;
    bottom: 0;
    transform: none;
    max-width: min(300px, 82%);
    z-index: 4;
  }
  body.page-home .hero-bottom {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 9px 0 10px;
    gap: 20px;
    justify-content: space-between;
  }
  body.page-home .hero-bottom > span { padding-left: 0; }
  body.page-home .tool-logos {
    min-width: 0;
    gap: clamp(16px, 2.2vw, 34px);
    font-size: clamp(13px, .95vw, 16px);
    white-space: nowrap;
  }
  
}
@media screen and (min-width: 1101px) and (max-height: 720px) {
  body.page-home .hero h1 { font-size: clamp(42px, 3.55vw, 60px); }
  body.page-home .hero-visual { height: min(310px, 40svh); }
  body.page-home .hero-proof { margin-top: 9px; }
  body.page-home .hero-bottom { padding-block: 7px; }
  
}
@media screen and (max-width: 1100px) {
  body.page-home { height: auto; min-height: 100vh; overflow-x: hidden; overflow-y: auto; }
  body.page-home main { display: block; overflow: visible; }
  body.page-home .hero.section-wrap {
    width: min(var(--max), calc(100% - 86px));
    height: auto;
    margin-inline: auto;
  }
  body.page-home .visual-caption { transform: none; }
}

/* DERNIERS AJUSTEMENTS CIBLÉS — accueil et À propos */
@media screen and (min-width: 1101px) {
  /* Accueil : descendre la bulle de bénéfice sous les cartes de sortie. */
  body.page-home .visual-caption {
    bottom: 0;
    transform: translateY(58px);
    right: 0;
    z-index: 6;
  }

  /* À propos : répartir strictement la hauteur disponible entre header,
     contenu et footer pour supprimer le petit débordement vertical. */
  html, body.page-about {
    height: 100%;
  }
  body.page-about {
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }
  
  body.page-about main {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    display: flex;
    overflow: hidden;
  }
  body.page-about .about-section {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    overflow: visible;
  }
  body.page-about .about-inner {
    box-sizing: border-box;
    width: min(var(--max), calc(100% - 72px));
    height: 100%;
    min-height: 0;
    padding-block: clamp(12px, 1.8svh, 20px);
    align-items: center;
  }
  
}
@media screen and (max-width: 1100px) {
  body.page-about {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body.page-about main { display: block; overflow: visible; }
  body.page-about .about-section { height: auto; min-height: 0; }
  body.page-about .about-inner { height: auto; min-height: 0; }
}

/* Navigation : Contact est regroupé sous À propos, sans supprimer le raccourci principal. */
.nav-dropdown{position:relative;display:flex;align-items:center;height:88px;}
.nav-dropdown>a{height:88px;display:flex;align-items:center;position:relative;}
.nav-dropdown>a.active,.nav-dropdown>a:hover{color:#fff;}
.nav-dropdown>a.active:after{content:"";position:absolute;bottom:17px;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--cyan),var(--violet));}
.nav-submenu{position:absolute;top:calc(100% - 8px);left:-14px;min-width:150px;padding:8px;background:#101a30;border:1px solid var(--line);border-radius:9px;box-shadow:0 14px 30px rgba(0,0,0,.28);display:none;z-index:30;}
.nav-submenu a{display:block;padding:10px 12px;border-radius:6px;font-size:14px;color:#c6d0e2;}
.nav-submenu a:hover,.nav-submenu a.active{background:rgba(83,168,255,.12);color:#fff;}
.nav-dropdown:hover .nav-submenu,.nav-dropdown:focus-within .nav-submenu{display:block;}
/* Logo à trois barres dans le visuel de la page À propos. */



/* CONTACT DIRECTEMENT ACCESSIBLE DEPUIS À PROPOS */
.about-contact-section{
  padding:76px 0 84px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(110deg,rgba(15,27,49,.82),rgba(8,13,27,.92));
}
.about-contact-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:70px;
}
.about-contact-copy h2{
  font:800 clamp(34px,3vw,46px)/1.12 Manrope,sans-serif;
  letter-spacing:-1.7px;
  margin:12px 0 16px;
}
.about-contact-copy p{
  max-width:540px;
  color:#c0cce0;
  font-size:16px;
  line-height:1.75;
  margin:0;
}
.about-contact-methods{display:grid;gap:12px;}
.about-contact-card{
  display:flex;
  align-items:center;
  gap:15px;
  min-width:0;
  padding:17px 18px;
  border:1px solid rgba(133,171,240,.24);
  border-radius:12px;
  background:linear-gradient(145deg,rgba(20,31,54,.96),rgba(12,20,36,.96));
  transition:border-color .2s ease,transform .2s ease;
}
.about-contact-card:hover{
  border-color:rgba(103,186,255,.65);
  transform:translateY(-2px);
}
.about-contact-icon{
  width:44px;height:44px;flex:0 0 44px;
  display:grid;place-items:center;
  border-radius:11px;
  background:#172b4b;color:#7bd5f0;font-size:21px;
}
.about-contact-card>span:nth-child(2){display:grid;gap:4px;min-width:0;}
.about-contact-card small{
  color:#9eb2d0;font-size:10px;letter-spacing:1.35px;
}
.about-contact-card strong{
  color:#edf3ff;font-size:15px;font-weight:700;
  overflow-wrap:anywhere;
}
.about-contact-arrow{margin-left:auto;color:#79d6ec;font-size:19px;}
.about-contact-form-link{
  justify-self:start;
  margin:7px 0 0 2px;
  color:#8bd5ed;font-size:14px;font-weight:600;
}
.about-contact-form-link:hover{color:#fff;}
.about-contact-form-link span{margin-left:5px;}
@media(max-width:900px){
  .about-contact-inner{grid-template-columns:1fr;gap:28px;}
  .about-contact-section{padding:55px 0 62px;}
}
@media(max-width:560px){
  .about-contact-card{padding:14px 12px;gap:11px;}
  .about-contact-card strong{font-size:14px;}
  .about-contact-icon{width:40px;height:40px;flex-basis:40px;}
}

/* Ajustements finaux des sections À propos et Contact */
.about-contact-inner{
  grid-template-columns:minmax(0,0.9fr) minmax(390px,1.1fr);
  gap:64px;
}
.about-contact-methods{min-width:0;}
.about-contact-card{width:100%;min-width:0;}
.about-contact-card>span:nth-child(2){flex:1;min-width:0;}
.about-contact-card strong{
  white-space:nowrap;
  overflow-wrap:normal;
  font-size:clamp(13px,1vw,15px);
  letter-spacing:-.2px;
}
.about-contact-section{margin-top:0;}
@media(max-width:900px){
  .about-contact-inner{grid-template-columns:minmax(0,1fr);gap:28px;}
}
@media(max-width:480px){
  .about-contact-card strong{font-size:13px;}
  .about-contact-card{gap:10px;padding:14px 10px;}
  .about-contact-arrow{font-size:16px;}
}

/* PAGE À PROPOS : fusion visuelle des deux panneaux par un dégradé continu */
@media screen and (min-width: 1101px) {
  body.page-about main {
    background: linear-gradient(
      105deg,
      #142440 0%,
      #101d35 43%,
      #0b1427 72%,
      #080d1b 100%
    );
  }
  body.page-about .about-section {
    background: transparent;
    border-right: 0;
  }
  body.page-about .about-contact-section {
    display: flex;
    align-items: center;
    flex: 0 0 40%;
    width: 40%;
    box-sizing: border-box;
    background: transparent;
    border-left: 0;
    border-bottom: 0;
    padding: 48px clamp(28px, 3vw, 64px);
  }
  body.page-about .about-contact-inner {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(20px, 2vw, 40px);
  }
}
@media screen and (max-width: 1100px) {
  body.page-about .about-contact-section {
    background: linear-gradient(105deg, #101d35 0%, #080d1b 100%);
    border-top: 0;
  }
}

/* ACCUEIL : défilement horizontal continu des outils */
body.page-home .tool-marquee {
  flex: 0 1 58%;
  min-width: 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}
body.page-home .tool-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: myaibuild-tools-scroll 30s linear infinite;
  will-change: transform;
}
body.page-home .tool-marquee:hover .tool-marquee-track {
  animation-play-state: paused;
}
body.page-home .tool-marquee .tool-logos {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  width: max-content;
  gap: clamp(22px, 2.2vw, 40px);
  padding-right: clamp(22px, 2.2vw, 40px);
  white-space: nowrap;
}
@keyframes myaibuild-tools-scroll {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  body.page-home .tool-marquee-track {
    animation: none;
  }
}
@media screen and (max-width: 1100px) {
  body.page-home .tool-marquee {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* ACCUEIL : couleurs dégradées des applications dans le bandeau défilant */
body.page-home .tool-marquee .tool-logos b {
  display: inline-block;
  font-weight: 800;
  letter-spacing: -.35px;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
body.page-home .tool-marquee .tool-logos .tool-airtable {
  background-image: linear-gradient(100deg, #8bdc91 0%, #45b98b 100%);
}
body.page-home .tool-marquee .tool-logos .tool-make {
  background-image: linear-gradient(100deg, #ffb36b 0%, #f16b9b 100%);
}
body.page-home .tool-marquee .tool-logos .tool-n8n {
  background-image: linear-gradient(100deg, #ff79a8 0%, #e85b82 100%);
}
body.page-home .tool-marquee .tool-logos .tool-openai {
  background-image: linear-gradient(100deg, #70dfd0 0%, #48b9b2 100%);
}
body.page-home .tool-marquee .tool-logos .tool-google {
  background-image: linear-gradient(100deg, #83baff 0%, #b68cf4 100%);
}
body.page-home .tool-marquee .tool-logos .tool-softr {
  background-image: linear-gradient(100deg, #ffd000 0%, #ffe94a 38%, #fff5a8 72%, #fffef2 100%);
}
body.page-home .tool-marquee .tool-logos .tool-figma {
  background-image: linear-gradient(100deg, #f24e1e 0%, #ff7262 28%, #a259ff 62%, #1abcfe 100%);
}

/* Formulaire de contact : confirmation dans la page, sans ouverture d'application */
.form-status{
  margin:0;
  padding:13px 15px;
  border-radius:10px;
  font-size:14px;
  line-height:1.5;
}
.form-status[hidden]{display:none;}
.form-status.is-pending{
  color:#b9d9ff;
  background:rgba(70,135,210,.13);
  border:1px solid rgba(103,186,255,.35);
}
.form-status.is-success{
  color:#8cf0c8;
  background:rgba(42,180,130,.12);
  border:1px solid rgba(92,220,170,.42);
}
.form-status.is-error{
  color:#ffb7bd;
  background:rgba(220,70,90,.12);
  border:1px solid rgba(255,120,135,.4);
}
.contact-form button:disabled{opacity:.72;cursor:wait;}
.form-honeypot{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}

/* RÉALISATIONS — centrage précis des cartes 4 et 5 sous les trois premières */
@media screen and (min-width: 851px) {
  .portfolio-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .portfolio-grid > .project-card {
    grid-column: span 2;
  }

  /* Carte 4 : centrée entre les cartes 1 et 2 */
  .portfolio-grid > .project-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  /* Carte 5 : centrée entre les cartes 2 et 3 */
  .portfolio-grid > .project-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* Tablette et mobile : retour à la grille responsive existante */
@media screen and (max-width: 850px) {
  .portfolio-grid > .project-card {
    grid-column: auto;
  }
}

/* =========================================================
   AUDIT RESPONSIVE — CORRECTIONS CIBLÉES
   Menu tablette, contenus mobiles, formulaire et FAQ.
   Le rendu desktop au-delà de 1100 px est conservé.
   ========================================================= */

/* Le menu horizontal est trop serré sur certaines tablettes :
   bascule vers le menu compact avant que les liens ne se chevauchent. */
@media screen and (max-width: 1100px) {
  .site-header {min-width: 0;padding-inline: 20px;}

  .menu-toggle {
    display: flex;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #111b30;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    cursor: pointer;
  }

  .menu-toggle i {
    display: block;
    width: 100%;
    height: 2px;
    background: #dce8fa;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 14px 22px 20px;
    background: #0b1324;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    gap: 0;
    flex-direction: column;
    white-space: normal;
    box-shadow: 0 16px 28px rgba(0,0,0,.24);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a:not(.nav-cta),
  .nav-dropdown > a {
    height: auto;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 10px 0;
  }

  .main-nav > a.active:after,
  .nav-dropdown > a.active:after {
    bottom: 4px;
    right: auto;
    width: 38px;
  }

  .nav-dropdown {
    display: block;
    height: auto;
  }

  .nav-submenu {
    position: static;
    display: block;
    min-width: 0;
    margin: 0 0 8px 12px;
    padding: 0 0 0 10px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-submenu a {
    min-height: 40px;
    padding: 8px 10px;
  }

  .nav-cta {
    margin-top: 10px;
    text-align: center;
  }
}

/* Les éléments de grille ne doivent jamais imposer une largeur minimale. */
.solution-card,
.project-card,
.steps article,
.industry-grid > div,
.method-details-intro,
.method-points,
.contact-copy,
.contact-form,
.about-copy,
.about-contact-copy,
.about-contact-methods {
  min-width: 0;
}

/* FAQ de la page Solutions : les HTML utilisent des articles statiques,
   et non les éléments <details> stylés dans la première version du CSS. */
.faq-list-static .faq-item {
  min-width: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list-static .faq-item h3 {
  margin: 0 0 8px;
  color: var(--text);
  font: 700 16px/1.4 Manrope, sans-serif;
}

.faq-list-static .faq-item p {
  margin: 0;
  color: #c0cce0;
  font-size: 15px;
  line-height: 1.6;
}

/* Réalisations : conserve le centrage 3 + 2 sur grand écran,
   mais garantit des cartes fluides sur tablette et téléphone. */
@media screen and (min-width: 851px) and (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

  .portfolio-grid > .project-card {
    grid-column: span 2;
  }

  .portfolio-grid > .project-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .portfolio-grid > .project-card:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .project-art {
    height: 165px;
    flex-basis: 165px;
  }

  .project-info {
    padding: 14px;
  }

  .project-info h3 {
    font-size: 16px;
  }

  .project-info p {
    font-size: 14px;
  }
}

/* Téléphones et petites tablettes */
@media screen and (max-width: 850px) {
  .section-wrap {
    width: calc(100% - 40px);
  }

  .section-block,
  #solutions,
  #realisations,
  #methode {
    padding-top: 30px;
    padding-bottom: 42px;
  }

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

  .section-heading h2,.section-heading h1,
  .about-copy h2,
  .about-copy h1,
  .contact-copy h2 ,
  .contact-copy h1{
    overflow-wrap: break-word;
  }

  .solution-grid,
  .portfolio-grid,
  .steps,
  .industry-grid,
  .faq-list {
    width: 100%;
  }

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

  .portfolio-grid > .project-card {
    grid-column: auto;
  }

  .project-card {
    min-width: 0;
  }

  .project-info > span {
    overflow-wrap: anywhere;
  }

  .project-info h3 {
    font-size: 17px;
  }

  .about-contact-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .about-contact-card strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .method-details {
    grid-template-columns: minmax(0, 1fr);
  }

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

  

  
}

/* Petits téléphones : aucune carte ne doit provoquer de défilement horizontal. */
@media screen and (max-width: 560px) {
  .section-wrap {
    width: calc(100% - 32px);
  }

  .site-header {padding-inline: 16px;}

  .brand {
    gap: 8px;
    font-size: 20px;
  }

  

  .section-heading h2,.section-heading h1,
  .about-copy h2,
  .about-copy h1,
  .contact-copy h2 ,
  .contact-copy h1{
    font-size: clamp(29px, 8vw, 34px);
    letter-spacing: -1.4px;
  }

  .section-heading > p {
    font-size: 15px;
  }

  .portfolio-grid,
  .industry-grid,
  .steps,
  .faq-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-card {
    min-height: 0;
  }

  .project-art {
    height: 175px;
    flex-basis: 175px;
  }

  .project-info {
    min-height: 0;
  }

  .about-visual {
    width: 100%;
    overflow: hidden;
  }

  .cert-card {
    max-width: calc(100% - 24px);
    right: 12px;
  }

  .about-contact-card {
    gap: 10px;
    padding: 13px 11px;
  }

  .about-contact-card strong {
    font-size: 13px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .contact-form {
    width: 100%;
    padding: 18px;
  }

  .contact-form input,
  .contact-form textarea {
    min-width: 0;
    font-size: 16px; /* évite le zoom automatique sur iOS */
  }

  .contact-form button {
    white-space: normal;
  }

  

  

  .footer-links {
    white-space: normal;
  }
}

/* Illustration de l'accueil : les deux cartes de sortie restent dans la largeur utile. */
@media screen and (max-width: 560px) {
  body.page-home .hero-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  body.page-home .flow-outputs {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    justify-content: center;
    gap: 8px;
  }

  body.page-home .flow-output {
    width: calc(50% - 4px);
    min-width: 0;
    padding: 9px 8px;
    gap: 7px;
  }

  body.page-home .flow-output .app-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 12px;
  }

  body.page-home .flow-output strong {
    font-size: 11px;
  }

  body.page-home .flow-output small {
    font-size: 10px;
  }

  body.page-home .flow-output .check {
    font-size: 16px;
  }

  body.page-home .visual-caption {
    max-width: 88%;
    right: 0;
    padding: 9px 10px;
  }
}

/* Le contenu de toutes les pages ne doit pas créer de scroll horizontal. */
html,
body {
  max-width: 100%;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

/* =========================================================
   REPRISE MOBILE — correction des débordements visibles
   Priorité : mise en page réelle, pas masquage du débordement.
   ========================================================= */

@media screen and (max-width: 600px) {
  /* Le conteneur principal ne doit pas être plus large que le viewport. */
  body {
    width: 100%;
    min-width: 0;
  }

  main,
  section,
  .section-wrap,
  .hero,
  .hero-copy,
  .hero-bottom {
    min-width: 0;
    max-width: 100%;
  }

  .section-wrap {
    width: calc(100% - 36px);
    margin-inline: auto;
  }

  /* Accueil : titre, paragraphe et boutons restent dans la largeur utile. */
  body.page-home .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 24px;
    width: calc(100% - 36px);
    padding: 34px 0 0;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  body.page-home .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  body.page-home .hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 10vw, 46px);
    line-height: 1.04;
    letter-spacing: -.055em;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.page-home .hero-lead {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: break-word;
  }

  body.page-home .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    gap: 12px;
  }

  body.page-home .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 13px 16px;
    white-space: normal;
    text-align: center;
  }

  body.page-home .hero-proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    font-size: 14px;
  }

  /* Workflow mobile : diagramme vertical, chaque élément dans le flux.
     On supprime les décalages latéraux et les superpositions desktop. */
  body.page-home .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 18px 0 0;
    transform: none;
    overflow: visible;
    gap: 0;
  }

  body.page-home .hero-visual .visual-orbit,
  body.page-home .hero-visual .spark {
    display: none;
  }

  body.page-home .hero-visual .visual-label {
    position: static;
    align-self: center;
    max-width: 100%;
    margin: 0 0 18px;
    font-size: 10px;
    letter-spacing: 1px;
    text-align: center;
  }

  body.page-home .hero-visual .flow-card {
    box-sizing: border-box;
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px;
    gap: 11px;
  }

  body.page-home .hero-visual .flow-card > div:not(.app-icon) {
    min-width: 0;
    flex: 1 1 auto;
  }

  body.page-home .hero-visual .flow-card strong {
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  body.page-home .hero-visual .flow-card small {
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: break-word;
  }

  body.page-home .hero-visual .flow-source,
  body.page-home .hero-visual .flow-engine {
    margin: 0;
  }

  body.page-home .hero-visual .flow-line {
    position: relative;
    inset: auto;
    display: block;
    width: 2px;
    height: 24px;
    flex: 0 0 24px;
    margin: 0 auto;
  }

  body.page-home .hero-visual .flow-outputs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    margin: 0;
    gap: 9px;
    transform: none;
  }

  body.page-home .hero-visual .flow-output {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    width: auto;
    min-width: 0;
    max-width: 100%;
    padding: 10px 8px;
    gap: 7px;
  }

  body.page-home .hero-visual .flow-output .app-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 11px;
  }

  body.page-home .hero-visual .flow-output strong {
    font-size: 10px;
    line-height: 1.25;
  }

  body.page-home .hero-visual .flow-output small {
    font-size: 9px;
    line-height: 1.25;
  }

  body.page-home .hero-visual .flow-output .check {
    display: none;
  }

  body.page-home .hero-visual .visual-caption {
    position: relative;
    inset: auto;
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 16px 0 0;
    padding: 12px;
    transform: none;
    overflow-wrap: anywhere;
  }

  body.page-home .hero-visual .visual-caption strong {
    font-size: 12px;
    line-height: 1.35;
  }

  body.page-home .hero-visual .visual-caption small {
    font-size: 11px;
    line-height: 1.35;
  }

  /* Bandeau outils : titre au-dessus, logos dans une zone indépendante. */
  body.page-home .hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    margin: 8px 0 0;
    padding: 18px 0 22px;
    gap: 14px;
    overflow: hidden;
  }

  body.page-home .hero-bottom > span {
    max-width: 100%;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 1px;
  }

  body.page-home .tool-marquee {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  body.page-home .tool-marquee-track {
    width: max-content;
  }

  body.page-home .tool-logos {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 22px;
    font-size: 14px;
  }

  /* Réalisations : le faux CRM garde trois colonnes lisibles. */
  body:not(.page-home) .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-grid > .project-card {
    grid-column: auto;
    width: 100%;
    min-width: 0;
  }

  .project-art {
    width: 100%;
    min-width: 0;
    height: 190px;
    flex-basis: 190px;
  }

  .mock-window {
    width: min(88%, 390px);
    height: 150px;
    padding: 12px;
  }

  .mock-top {
    min-width: 0;
    font-size: 10px;
  }

  .mock-top span {
    min-width: 0;
    margin-left: 7px;
    white-space: nowrap;
  }

  .mock-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 16px 0 8px;
  }

  .mock-stats b {
    min-width: 0;
    font-size: clamp(15px, 5vw, 21px);
    line-height: 1.2;
    text-align: center;
  }

  .mock-stats small {
    font-size: 10px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .mock-bars {
    gap: 5px;
  }

  .project-info {
    min-width: 0;
    padding: 15px;
  }

  .project-info > span {
    display: block;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .7px;
    overflow-wrap: anywhere;
  }

  .project-info h3 {
    font-size: 18px;
    line-height: 1.3;
    overflow-wrap: break-word;
  }

  .project-info p {
    font-size: 14px;
    line-height: 1.55;
  }

  /* Évite les débordements de grilles et de formulaires sur petit écran. */
  .solution-grid,
  .industry-grid,
  .steps,
  .method-details,
  .contact-inner,
  .about-inner,
  .about-contact-inner {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .contact-form,
  .contact-form label,
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    min-width: 0;
  }

  
}

/* Très petits écrans : les deux sorties du workflow passent l'une sous l'autre. */
@media screen and (max-width: 360px) {
  body.page-home .hero-visual .flow-outputs {
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-home .hero h1 {
    font-size: 37px;
  }

  .mock-window {
    width: 94%;
    padding: 9px;
  }

  .mock-stats small {
    font-size: 9px;
  }
}

/* =========================================================
   MENU PRINCIPAL — VERSION STABLE DESKTOP / ANDROID
   Desktop : navigation horizontale au-dessus de 940 px.
   Mobile/tablette : bouton hamburger sous ou à 940 px.
   ========================================================= */

/* Ordinateur : toujours afficher les liens, masquer le bouton hamburger. */
@media screen and (min-width: 941px) {
  .site-header {display: flex;align-items: center;justify-content: space-between;min-width: 0;}

  .menu-toggle {
    display: none ;
  }

  .main-nav {
    display: flex ;
    position: static ;
    inset: auto ;
    flex: 0 1 auto;
    flex-direction: row ;
    align-items: center ;
    justify-content: flex-end;
    gap: clamp(8px, 1.1vw, 18px) ;
    width: auto;
    padding: 0 ;
    border: 0 ;
    background: transparent ;
    box-shadow: none ;
    white-space: nowrap;
  }

  .main-nav > a:not(.nav-cta),
  .nav-dropdown > a {
    display: flex ;
    align-items: center;
    height: 88px;
    min-height: 0;
    padding: 0 ;
  }

  .nav-dropdown {
    display: flex ;
    position: relative;
    align-items: center;
    height: 88px;
  }

  .nav-dropdown .nav-submenu {
    position: absolute;
    top: calc(100% - 8px);
    left: -14px;
    display: none;
    min-width: 150px;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #101a30;
    box-shadow: 0 14px 30px rgba(0,0,0,.28);
  }

  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    display: block;
  }
}

/* Tablettes et téléphones : afficher le hamburger et ouvrir le panneau au clic. */
@media screen and (max-width: 940px) {
  .site-header {display: flex;align-items: center;justify-content: space-between;min-width: 0;}

  .menu-toggle {
    display: flex ;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #111b30;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .menu-toggle i {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #dce8fa;
  }

  .main-nav {
    display: none ;
    position: absolute ;
    top: 100% ;
    left: 0 ;
    right: 0 ;
    z-index: 200;
    flex-direction: column ;
    align-items: stretch ;
    justify-content: flex-start;
    gap: 0 ;
    width: 100%;
    max-height: calc(100svh - 100px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 22px 20px ;
    border: 0 ;
    border-bottom: 1px solid var(--line) ;
    background: #0b1324 ;
    box-shadow: 0 16px 28px rgba(0,0,0,.3) ;
    white-space: normal ;
  }

  .main-nav.open {
    display: flex ;
  }

  .main-nav > a:not(.nav-cta),
  .nav-dropdown > a {
    display: flex ;
    align-items: center;
    min-height: 46px;
    height: auto ;
    padding: 11px 0 ;
  }

  .main-nav > a.active::after,
  .nav-dropdown > a.active::after {
    bottom: 4px;
    right: auto;
    width: 38px;
  }

  .nav-dropdown {
    display: block ;
    position: static;
    height: auto ;
  }

  .nav-dropdown .nav-submenu {
    display: block ;
    position: static ;
    min-width: 0;
    margin: 0 0 8px 12px ;
    padding: 0 0 0 10px ;
    border: 0 ;
    border-left: 1px solid var(--line) ;
    border-radius: 0 ;
    background: transparent ;
    box-shadow: none ;
  }

  .nav-dropdown .nav-submenu a {
    display: block;
    min-height: 40px;
    padding: 8px 10px;
  }

  .main-nav .nav-cta {
    display: block;
    margin-top: 10px;
    padding: 12px 14px ;
    text-align: center;
  }
}

/* Sur les fenêtres de bureau étroites, compacter légèrement les liens
   tout en conservant la navigation horizontale jusqu'au seuil hamburger. */
@media screen and (min-width: 941px) and (max-width: 1100px) {
  .site-header {gap: 12px;padding-inline: 20px ;}

  .brand {
    gap: 8px;
    font-size: 20px;
  }

  

  .main-nav {
    gap: 9px ;
    font-size: 12px ;
  }

  .main-nav .nav-cta {
    padding: 9px 10px ;
    font-size: 12px;
  }
}

/* Sur l'accueil et À propos, les anciennes règles créaient un
   conteneur overflow sur body. Cela neutralise sticky sur Android.
   overflow-x: clip coupe un éventuel débordement sans créer
   de conteneur de scroll comme overflow-x: hidden. */
@media screen and (max-width: 1100px) {
  body.page-home,
  body.page-about {
    overflow-x: clip ;
    overflow-y: visible ;
  }

  body.page-home main,
  body.page-about main {
    overflow: visible ;
  }
}


@media screen and (max-width: 560px) {
  .brand-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

/* LOGO — réduction mobile/tablette uniquement.
   Le rendu ordinateur reste strictement inchangé. */
@media screen and (max-width: 940px) {
  .site-header .brand {gap: 9px;min-width: 0;}

  .site-header .brand-logo {display: block ;width: 38px ;height: 38px ;min-width: 38px ;min-height: 38px ;max-width: 38px ;max-height: 38px ;flex: 0 0 38px ;object-fit: contain ;transform: none ;}

  

  
}

@media screen and (max-width: 560px) {
  .site-header .brand-logo {width: 36px ;height: 36px ;min-width: 36px ;min-height: 36px ;max-width: 36px ;max-height: 36px ;flex-basis: 36px ;}

  
}




/* Accueil : léger décalage horizontal du point, sans déplacer le libellé. */
body.page-home .eyebrow .pulse{position:relative;left:2mm;}


/* CORRECTIONS ANDROID — pied de page et visuel À propos.
   Portée strictement limitée aux écrans de 600 px ou moins :
   aucune règle de l'interface ordinateur n'est modifiée. */
@media screen and (max-width: 600px) {
  /* À propos : la carte de certification ne doit plus être coupée
     par le conteneur du visuel ni décalée hors de sa zone. */
  body.page-about .about-visual {
    height: 330px;
    overflow: visible;
  }

  body.page-about .cert-card {
    transform: none;
    bottom: 0;
    right: 12px;
    max-width: calc(100% - 24px);
  }

  /* Pied de page : réduire les espacements et la hauteur occupée
     tout en conservant les trois éléments et leur ordre. */
  .site-footer {
    padding: 10px 0;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 7px;
  }

  .footer-description {
    font-size: 12px;
    line-height: 1.4;
  }

  .footer-links {
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    line-height: 1.4;
  }

  .footer-copyright {
    justify-self: center;
    font-size: 11px;
    line-height: 1.4;
    white-space: normal;
  }
}


/* ACCUEIL — pictogrammes explicites des étapes du workflow */
body.page-home .app-icon {
  display: grid;
  place-items: center;
}
body.page-home .app-icon svg {
  display: block;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-home .flow-engine .app-icon svg { width: 25px; height: 25px; }
body.page-home .caption-icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
}
body.page-home .caption-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* BANDEAU OUTILS — parcours complet de droite à gauche, puis reprise à droite */
@media screen and (min-width: 1101px) {
  body.page-home .tool-marquee {
    container-type: inline-size;
    overflow: hidden;
    position: relative;
  }

  body.page-home .tool-marquee-track {
    position: relative;
    left: 100%;
    width: max-content;
    animation: myaibuild-tools-full-crossing 30s linear infinite;
    will-change: transform;
  }

  @keyframes myaibuild-tools-full-crossing {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-100% - 100cqw)); }
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home .tool-marquee-track {
    animation: none;
    left: 0;
  }
}
