body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,Roboto,sans-serif}
a:focus-visible{outline:3px solid #2DD4BF;outline-offset:3px;border-radius:8px}
.btn{transition:filter .15s ease}.btn:hover{filter:brightness(1.12)}
.arrow{transition:gap .15s ease}.arrow:hover{gap:14px}
@keyframes bloom{from{opacity:0;transform:scale(.2)}to{opacity:1;transform:scale(1)}}
.petal{transform-box:view-box;transform-origin:256px 256px;animation:bloom .7s cubic-bezier(.2,.8,.2,1) both}
@keyframes rise{from{opacity:0;transform:translateY(36px)}to{opacity:1;transform:none}}
.rise{animation:rise .9s cubic-bezier(.2,.8,.2,1) both}.d1{animation-delay:.12s}.d2{animation-delay:.24s}.d3{animation-delay:.36s}
.card{transition:translate .25s ease,box-shadow .25s ease}.card:hover{translate:0 -8px;box-shadow:0 18px 40px rgba(11,27,53,.18)}
@supports (animation-timeline:view()){.reveal{animation:rise linear both;animation-timeline:view();animation-range:entry 0% entry 55%}}
.page:not(:has(#clair:checked)){background:#081224!important;color:#EEF3FF!important}
.page:not(:has(#clair:checked)) header{background:#081224!important;border-color:#1E3358!important}
.page:not(:has(#clair:checked)) header a:not(.btn),.page:not(:has(#clair:checked)) .theme,.page:not(:has(#clair:checked)) #entreprise a{color:#EEF3FF!important}
.page:not(:has(#clair:checked)) #suite,.page:not(:has(#clair:checked)) #contact{background:#0F1D36!important}
.page:not(:has(#clair:checked)) #entreprise{background:#081224!important}
.page:not(:has(#clair:checked)) main p{color:#C9D5EC!important}
.page:not(:has(#clair:checked)) #accueil p{color:#EAF1FF!important}
.page:not(:has(#clair:checked)) #entreprise div{border-color:#6B93FF!important}
.page:not(:has(#clair:checked)) #entreprise div,.page:not(:has(#clair:checked)) #contact div{color:#EEF3FF!important}
@media (prefers-reduced-motion:reduce){*{transition:none!important}.petal,.rise,.reveal{animation:none}}
.moon{display:none}.page:not(:has(#clair:checked)) .moon{display:block}.page:not(:has(#clair:checked)) .sun{display:none}.theme:has(input:focus-visible){outline:3px solid #2DD4BF;outline-offset:3px}
.page:not(:has(#clair:checked)) header .btn{background:#1D4ED8!important;border-color:#1D4ED8!important}
#accueil{background-size:170% 170%!important;animation:flot 26s ease-in-out infinite alternate}
@keyframes flot{from{background-position:0% 30%}to{background-position:100% 70%}}
@media (prefers-reduced-motion:reduce){#accueil{animation:none}}
@view-transition{navigation:auto}
.propage::view-transition-old(root),.propage::view-transition-new(root){animation:none;mix-blend-mode:normal}

/* --- Ajouts du site (hors maquette) --- */
html{background:#081224;scroll-behavior:smooth}
html:has(#clair:checked){background:#fff;color-scheme:light}
img{max-width:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Téléphone */
@media (max-width:640px){
header>div{padding-left:16px!important;padding-right:16px!important;gap:4px 10px!important}
header>div::after{content:"";order:4;flex:0 0 100%}
header nav{order:5;flex:1 1 auto!important}
header nav a{padding:10px 0!important}
header>div>a:first-child{margin-right:auto}
header .btn{order:6;font-size:14px!important;padding:0 16px!important;min-height:44px!important}
header a.theme{margin-left:0!important}
footer>div{padding-left:20px!important;padding-right:20px!important}
}

@media (max-width:640px){
#accueil>div{padding:72px 20px!important}
#accueil h1{font-size:clamp(24px,8vw,40px)!important;overflow-wrap:break-word}
#accueil p{font-size:18px!important}
#contact>div{padding:64px 20px!important}
#contact h2{font-size:30px!important}
}
