/* AME Studio V2.30 — identité de marque et appel à projet flottant. */
/* SVG maître fourni par AME Studio : x3 environ par rapport à l’ancien titre AME. */
:root { --ame-header-h: 124px; }
html { scroll-padding-top: var(--ame-header-h); }
.header { height:var(--ame-header-h) !important; padding-left:clamp(20px,2.3vw,42px)!important; padding-right:clamp(20px,2.3vw,42px)!important; }
.header .header-left { gap:clamp(22px,2.7vw,52px)!important; flex: 1 1 auto; min-width:0; }
.header .brand-logo-v230 { display:inline-flex!important; align-items:center!important; flex:none!important; gap:clamp(7px,.6vw,12px)!important; opacity:1!important; visibility:visible!important; transform:none!important; }
.header .brand-svg-v230 { width:auto; height:106px; display:block; max-width:none; aspect-ratio:1167 / 599; flex:none; }
.header .brand-studio-v230 { font:600 14px/1 'Open Sans Condensed','Arial Narrow',Arial,sans-serif; letter-spacing:.22em; color:#4B3E34; flex:none; }
.header .nav{margin-left:0!important;flex-shrink:0;}
body.case-open .header .brand-studio-v230{color:#4B3E34!important;}

/* Lightweight fixed CTA — home only. Header contact continues to work everywhere. */
.ame-floating-compose {
  position:fixed; z-index:700; right:clamp(16px,2.5vw,44px); bottom:clamp(18px,3vh,38px);
  display:inline-flex; align-items:center; gap:13px; min-height:60px;
  padding:7px 19px 7px 8px; border-radius:999px; white-space:nowrap;
  color:#F8F8F8; background:#522124;
  box-shadow:0 9px 30px rgba(75,62,52,.22); text-decoration:none;
  font:600 clamp(14px,1.05vw,18px)/1.1 'Open Sans Condensed','Arial Narrow',Arial,sans-serif;
  letter-spacing:.012em;
  transform:translate3d(0,0,0); transition:opacity .28s ease,visibility .28s ease, transform .3s ease,background .3s ease,box-shadow .3s ease;
  will-change:transform;
}
.ame-floating-compose:hover { background:#4B3E34; transform:translate3d(0,-3px,0); box-shadow:0 14px 38px rgba(75,62,52,.27); }
.ame-floating-compose:focus-visible { outline:2px solid #4B3E34; outline-offset:4px; }
.ame-floating-compose__icon { display:grid; place-items:center; flex:none; width:46px; height:46px; border-radius:50%; background:#4B3E34; color:#F8F8F8; }
.ame-floating-compose:hover .ame-floating-compose__icon { background:#522124; }
.ame-floating-compose__arrow { font-size:20px; font-weight:400; padding-left:2px; }
body.case-open .ame-floating-compose, body.projects-index-open .ame-floating-compose,
body.editorial-open .ame-floating-compose, body.legal-open .ame-floating-compose,
body.menu-open .ame-floating-compose, body.ame-contact-visible #floatingCompose {
  opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(0,15px,0);
}
@media(max-width:1180px) and (min-width:761px){
  :root{--ame-header-h:108px;}
  .header .brand-svg-v230{height:92px;}
  .header .brand-studio-v230{font-size:11px;}
  .header .header-left{gap:clamp(12px,2vw,26px)!important;}
  .header .nav{gap:clamp(10px,1.4vw,18px)!important;}
}
@media(max-width:760px){
  :root{--ame-header-h:91px;}
  .header .brand-svg-v230{height:73px;}
  .header .brand-studio-v230{font-size:10px;letter-spacing:.1em;}
  .header .brand-logo-v230{gap:5px!important;}
  .header .header-left{gap:8px!important;}
  .header .header-end{gap:8px!important;}
  .mobile-menu{inset:var(--ame-header-h) 0 0!important;}
  .ame-floating-compose{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));padding:6px 14px 6px 6px;min-height:53px;gap:10px;font-size:14px;}
  .ame-floating-compose__icon{width:41px;height:41px;}
  .ame-floating-compose__arrow{display:none;}
}
@media(max-width:390px){
  .header .brand-svg-v230{height:62px;}
  .header .brand-studio-v230{font-size:9px;}
  .header .header-end{gap:5px!important;}
}
@media(prefers-reduced-motion:reduce){.ame-floating-compose{transition:none!important;will-change:auto!important;}}
/* Reserve clear space between the enlarged masthead and first cinematic title. */
@media(min-width:761px){
  .cinema-heading{top:25% !important;}
}
