/* Niuweb — 05. Responsive : mobile first à l'usage, layout desktop adapté. */
@media (max-width:1200px) {
  .nav-shell { gap:18px; }
  .main-nav { gap:16px; }
}
@media (max-width:1100px) {
  .container { width:min(var(--container),calc(100% - 60px)); }
  .brand { width:142px; }
  .nav-cta { padding:10px 15px; }
  .hero__grid { gap:22px; }
  .hero__copy h1 { font-size:clamp(3.8rem,6vw,5.5rem); }
  .trust-row { gap:12px; }
  .glass-chip--bottom { right:-1%; }
}
@media (max-width:1000px) {
  .nav-shell { min-height:80px; }
  .main-nav { position:absolute; top:76px; left:30px; right:30px; padding:22px; background:var(--surface); border:1px solid var(--border); border-radius:19px; flex-direction:column; align-items:stretch; gap:2px; box-shadow:0 25px 70px rgba(4,54,50,.17); opacity:0; visibility:hidden; transform:translateY(-8px); pointer-events:none; transition:opacity .2s,transform .2s,visibility .2s; }
  .main-nav.is-open { opacity:1; visibility:visible; transform:translateY(0); pointer-events:auto; }
  .nav-link { display:block; font-size:.95rem; padding:11px; }
  .nav-link::after { display:none; }
  .menu-toggle { width:39px; height:39px; display:flex; flex-direction:column; gap:6px; align-items:center; justify-content:center; border:1px solid var(--border); border-radius:50%; background:var(--surface-raised); color:var(--ink); cursor:pointer; }
  .menu-toggle span { display:block; width:17px; height:2px; background:currentColor; border-radius:10px; transition:transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform:translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform:translateY(-4px) rotate(-45deg); }
  .nav-actions { margin-left:auto; }
  .hero { padding-top:132px; }
  .hero__grid { grid-template-columns:1fr; gap:27px; }
  .hero__copy h1 { font-size:clamp(4.3rem,9.5vw,6.7rem); }
  .hero__lead { max-width:620px; }
  .hero__visual { width:min(100%,690px); margin:auto; min-height:0; aspect-ratio:1.26; }
  .hero__aura { right:-330px; top:320px; }
  .scroll-cue { bottom:24px; }
  .section-heading__aside { max-width:235px; }
  .services__grid { gap:11px; }
  .service-card { padding:19px; min-height:306px; }
  .service-card h3 { font-size:1.24rem; }
  .approach__grid { grid-template-columns:1fr; }
  .approach__visual { min-height:460px; }
  .portrait-card { width: min(70%,390px); }
  .glass-chip--portrait { right:17%; }
  .capabilities__inner > span { font-size:.72rem; gap:8px; }
}
@media (max-width:640px) {
  :root { --section-gap:80px; }
  .container { width:calc(100% - 38px); }
  .brand { width:132px; }
  .nav-actions { gap:8px; }
  .nav-cta { display:none; }
  .main-nav { left:19px; right:19px; top:72px; }
  .hero { padding-top:128px; padding-bottom:91px; }
  .hero__copy h1 { font-size:clamp(3.7rem,13vw,5.65rem); margin-top:23px; margin-bottom:21px; }
  .hero__lead { font-size:.93rem; line-height:1.8; }
  .hero__buttons { gap:9px; margin-top:26px; }
  .button--large { padding:13px 18px; min-height:48px; font-size:.75rem; gap:9px; }
  .trust-row { gap:12px 18px; margin-top:26px; }
  .trust-row > span { font-size:.7rem; }
  .hero__visual { width:calc(100% - 8px); aspect-ratio:1.1; }
  .glass-panel { border-radius:16px; }
  .browser-window { border-radius:12px; }
  .browser-window__bar { min-height:28px; }
  .glass-chip { padding:8px; gap:7px; min-width:unset; border-radius:10px; }
  .glass-chip__icon { width:29px; height:29px; border-radius:8px; }
  .glass-chip__icon .icon { width:15px; height:15px; }
  .glass-chip strong { font-size:.6rem; }
  .glass-chip small { font-size:.54rem; }
  .glass-chip--top { top:6%; left:-1%; }
  .glass-chip--bottom { bottom:9%; right:-1%; }
  .scroll-cue { font-size:.57rem; }
  .section-heading { display:block; margin-bottom:27px; }
  .section-heading__aside { max-width:440px; border:0; padding-left:0; margin-top:16px; font-size:.88rem; }
  h2 { font-size:clamp(2.75rem,9.6vw,4rem); }
  .services { padding-top:68px; }
  .services__grid { grid-template-columns:1fr; gap:13px; }
  .service-card { min-height:248px; padding:25px; }
  .service-card__top { margin-bottom:19px; }
  .service-card p { max-width:460px; }
  .approach__grid { gap:30px; }
  .approach__visual { min-height:360px; }
  .portrait-card { width:75%; max-width:310px; }
  .glass-chip--portrait { right:2%; }
  .work__grid { grid-template-columns:1fr; gap:15px; }
  .project-card { max-width:560px; width:100%; margin-inline:auto; }
  .work__note { text-align:left; }
  .capabilities__inner { grid-template-columns:repeat(2,1fr); gap:20px 0; }
  .capabilities__inner > span { justify-content:flex-start; border:0!important; }
  .contact { padding-block:50px 32px; }
  .contact__panel { flex-direction:column; align-items:flex-start; min-height:0; padding:39px 28px; gap:28px; border-radius:21px; }
  .contact h2 { font-size:clamp(3rem,10vw,4.5rem); }
  .contact__details { align-items:flex-start; flex-direction:column; }
  .footer__inner { flex-wrap:wrap; gap:15px; padding-block:24px; }
  .footer__links { order:3; flex-basis:100%; }
  .footer__identity { order:4; flex-basis:100%; }
}
@media (max-width:380px) {
  .hero__copy h1 { font-size:3.4rem; }
  .hero__buttons { align-items:stretch; flex-direction:column; max-width:290px; }
  .trust-row > span { white-space:normal; }
  .glass-chip--top { top:4%; }
  .glass-chip--bottom { bottom:3%; }
  .theme-toggle { padding:8px; }
  .contact__panel { padding:33px 22px; }
}
@supports not ((backdrop-filter:blur(10px)) or (-webkit-backdrop-filter:blur(10px))) {
  .glass-card,.glass-chip,.theme-toggle,.glass-panel { background:var(--surface); }
  .glass-chip { background:#f4f9f7; }
}
