/* Archi Confidentiel — V5 / nouvelle charte graphique */
:root{
  --ac-burgundy:#411a1a;
  --ac-orange:#f15a22;
  --ac-cream:#f2f1e6;
  --ink:var(--ac-burgundy);
  --paper:var(--ac-cream);
  --muted:#735f5a;
  --line:#411a1a2b;
  --button:var(--ac-orange);
  --serif:'Aileron',Montserrat,Arial,sans-serif;
  --sans:'Aileron',Montserrat,Arial,sans-serif;
}

html{background:var(--ac-cream)}
body.archi-confidentiel{background:var(--ac-cream);color:var(--ac-burgundy);font-family:'Aileron',Montserrat,Arial,sans-serif;font-size:16px}
body.archi-confidentiel h1,body.archi-confidentiel h2,body.archi-confidentiel h3,body.archi-confidentiel h4{font-family:'Aileron',Montserrat,Arial,sans-serif;font-weight:700;color:var(--ac-burgundy)}
body.archi-confidentiel p,body.archi-confidentiel a,body.archi-confidentiel button,body.archi-confidentiel input,body.archi-confidentiel textarea,body.archi-confidentiel select{font-family:'Aileron',Montserrat,Arial,sans-serif}
body.archi-confidentiel a{color:inherit}

/* Logo et navigation */
.ac-header{position:sticky!important;top:0;z-index:1000;background:var(--ac-cream)!important;color:var(--ac-burgundy);border-bottom:1px solid #411a1a18;box-shadow:0 8px 24px #411a1a0b}
.admin-bar .ac-header{top:32px}
.ac-brand{display:flex!important;align-items:center;width:280px;height:auto;font-size:0!important;line-height:0;text-decoration:none}
.ac-brand-logo{display:block;width:100%;height:auto;overflow:visible}
.ac-nav .ac-brand-logo{max-width:280px}
.ac-footer .ac-brand{width:280px}
.ac-footer .ac-brand-logo{max-width:280px}
.ac-navigation a,.ac-navigation summary{color:var(--ac-burgundy)!important}
.ac-footer-links a{color:var(--ac-cream)!important}
.ac-navigation a:hover,.ac-navigation a:focus-visible,.ac-navigation summary:hover,.ac-footer-links a:hover,.ac-footer-links a:focus-visible{color:var(--ac-orange)!important}
.ac-main-menu>li>a.current{color:var(--ac-orange)!important;border-color:var(--ac-orange)!important}
.ac-dropdown{border-top:2px solid var(--ac-orange)!important;background:var(--ac-cream)!important}
.ac-toggle{color:var(--ac-burgundy)!important}

/* Couleurs de texte, boutons et repères */
.ac-eyebrow{color:var(--ac-burgundy)!important;letter-spacing:.22em}
.ac-rule{border-color:var(--ac-orange)!important}
.ac-button{background:var(--ac-orange)!important;border:1px solid var(--ac-orange)!important;color:var(--ac-cream)!important;font-weight:700;letter-spacing:.12em;transition:background .25s ease,color .25s ease,border-color .25s ease,transform .25s ease}
.ac-button span{display:inline-block!important;flex:0 0 auto;min-width:1em;color:currentColor!important;font-size:1.35em;line-height:1}
.ac-button:hover,.ac-button:focus-visible{background:var(--ac-burgundy)!important;border-color:var(--ac-burgundy)!important;color:var(--ac-cream)!important;transform:translateY(-2px)}
.ac-text-link{color:var(--ac-burgundy)!important}
.ac-text-link:after{display:inline-block;flex:0 0 auto;min-width:1em;background:none!important;color:var(--ac-orange)!important}
.ac-text-link:hover,.ac-text-link:focus-visible{color:var(--ac-orange)!important}

/* Accueil : cartes plus lisibles et composition 3 x 2 */
.ac-home-section{background:var(--ac-cream);padding-top:64px;padding-bottom:64px}
.ac-home-section:nth-of-type(odd){background:#fffdf7}
.ac-section-heading h2{font-weight:700;color:var(--ac-burgundy)!important}
.ac-section-heading p,.ac-service-card p,.ac-project p,.ac-note{color:var(--muted)!important}
.ac-services{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:42px 28px!important;width:min(1420px,calc(100% - 96px))!important}
.ac-service-card{color:var(--ac-burgundy)!important}
.ac-service-card .ac-photo{aspect-ratio:1.52!important;border-bottom:3px solid transparent;transition:transform .35s ease,border-color .35s ease,filter .35s ease}
.ac-service-card:hover .ac-photo{border-color:var(--ac-orange);filter:none;transform:translateY(-4px)}
.ac-service-card h3{font-size:20px!important;font-weight:700!important;color:var(--ac-burgundy)!important;margin-top:18px!important}
.ac-service-card p{font-size:15px!important;line-height:1.6}
.ac-services-scroll{display:flex;align-items:center;justify-content:flex-end;gap:14px;width:min(1420px,calc(100% - 96px));margin:34px auto 0;color:var(--ac-burgundy);font-size:11px;letter-spacing:.14em;text-transform:uppercase}
.ac-services-scroll i{display:block;width:58px;border-top:1px solid var(--ac-orange)}
.ac-services-scroll b{font-size:22px;font-weight:400;color:var(--ac-orange)}

/* Héros intérieurs plus équilibrés : texte visible, image moins envahissante */
.ac-page-hero{height:clamp(430px,32vw,560px)!important;min-height:0!important;background:var(--ac-cream)!important;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important}
.ac-page-intro{padding-top:48px!important;padding-bottom:48px!important}
.ac-page-hero>img{height:100%!important;min-height:0!important;object-fit:cover;object-position:center}
.ac-page-hero h1{font-weight:700!important;color:var(--ac-burgundy)!important}
.ac-page-intro p{color:var(--muted)!important;line-height:1.75}
.ac-editorial,.ac-faq{background:var(--ac-cream)}
.ac-editorial-row p,.ac-faq details p{color:var(--muted)!important}
.ac-related{background:var(--ac-burgundy)!important;color:var(--ac-cream)}
.ac-related h2,.ac-related h3,.ac-related .ac-eyebrow{color:var(--ac-cream)!important}
.ac-related p{color:#f2f1e6bb!important}
.ac-related-grid img{border-bottom:3px solid var(--ac-orange)}

/* Méthode : pictogrammes orange selon la charte */
.ac-method{background:#fffdf7!important;color:var(--ac-burgundy)}
.ac-method .ac-eyebrow,.ac-method h2,.ac-step h3{color:var(--ac-burgundy)!important}
.ac-steps:before{border-color:#f15a2266!important}
.ac-icon-ring{border:1px solid var(--ac-orange)!important;background:var(--ac-cream)!important;color:var(--ac-orange)!important}
.ac-step .ac-icon,.ac-value .ac-icon{color:var(--ac-orange)!important;stroke:var(--ac-orange)!important}
.ac-step p,.ac-value p{color:var(--muted)!important}
.ac-method-principles{background:var(--ac-burgundy)!important}
.ac-method-principles .ac-eyebrow,.ac-method-principle h3{color:var(--ac-orange)!important}
.ac-method-principles h2,.ac-method-principles p,.ac-method-principle p{color:var(--ac-cream)!important}
.ac-method-principle{border-color:#f15a2288!important}

/* À propos : le bloc de signature devient le panneau bordeaux demandé */
.ac-about-signature{background:var(--ac-burgundy)!important;color:var(--ac-cream)!important}
.ac-about-signature h2,.ac-about-signature p{color:var(--ac-cream)!important}
.ac-about-signature-copy .ac-eyebrow{color:var(--ac-orange)!important}
.ac-about-signature-image{opacity:.9!important}
.ac-about-fact{border-color:#f15a2266!important}
.ac-about-fact strong{color:var(--ac-orange)!important}

/* Contact et formulaires */
.ac-contact-grid{background:var(--ac-cream)}
.ac-form input,.ac-form textarea,.ac-form select{border-color:#411a1a66!important;color:var(--ac-burgundy)!important}
.ac-form input:focus,.ac-form textarea:focus,.ac-form select:focus{border-color:var(--ac-orange)!important;outline:1px solid var(--ac-orange)}
.ac-status{border-color:var(--ac-orange)!important;background:#f15a2212!important;color:var(--ac-burgundy)}

/* Bandeau d’appel et footer */
.ac-cta{background:var(--ac-burgundy)!important}
.ac-cta:before{background:linear-gradient(90deg,#411a1af2 0%,#411a1ad9 45%,#411a1a88),url('../images/hero-villa-cote-azur-1280.webp') center/cover!important}
.ac-cta .ac-eyebrow,.ac-cta h2{color:var(--ac-cream)!important}
.ac-cta .ac-button{background:var(--ac-orange)!important;border-color:var(--ac-orange)!important}
.ac-footer{background:var(--ac-burgundy)!important;color:var(--ac-cream)!important;border-top:4px solid var(--ac-orange)}
.ac-footer .ac-wrap{overflow:visible}
.ac-footer-top{display:grid!important;grid-template-columns:minmax(220px,.9fr) minmax(360px,1.7fr) minmax(190px,.75fr);align-items:start;gap:42px!important}
.ac-footer-links{align-items:center;justify-content:center;gap:12px 24px!important;line-height:1.4;white-space:nowrap}
.ac-footer-tag{max-width:none!important}
.ac-footer .ac-rule{border-color:var(--ac-orange)!important}
.ac-footer-bottom{display:grid!important;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;gap:26px!important;color:#f2f1e6b8!important;white-space:nowrap}
.ac-footer-bottom>nav{align-items:center;justify-content:center;white-space:nowrap}
.ac-footer-bottom a,.ac-footer-credit a{color:var(--ac-orange)!important}
.ac-footer-credit{white-space:nowrap!important;text-align:right}

/* Entrée immersive cohérente avec la nouvelle identité */
.ac-entrance{--gold:var(--ac-orange)!important;--ivory:var(--ac-cream)!important;background:var(--ac-burgundy)!important;font-family:'Aileron',Montserrat,Arial,sans-serif!important}
.ac-entrance-room{z-index:2}
.ac-entrance-room{transform-origin:70% 50%!important}
.ac-entrance-portal{left:70%!important;top:10%!important;bottom:9%!important;width:min(42vw,620px)!important;box-shadow:0 0 0 2px #170b0b,0 0 0 5px #f15a2266,0 0 0 17px #411a1acc,0 0 0 19px #f15a2238,28px 26px 90px #160707cc,-10px 0 30px #f15a2218!important}
.ac-entrance-portal:after{content:'';position:absolute;inset:-22px -25px -7px;z-index:-1;border:10px solid #2b1010;box-shadow:inset 0 0 0 2px #f2f1e633,0 0 0 2px #f15a2240,0 24px 50px #15060699}
.ac-entrance-door{background:linear-gradient(90deg,#17080888,transparent 10%,#f2f1e60d 48%,transparent 89%,#170808bb),url('../images/porte-secrete-bibliotheque-1280.webp') 58% center/cover!important;border-left:3px solid #f2f1e622;border-right:4px solid #160707!important;box-shadow:inset 24px 0 50px #16070766,inset -30px 0 60px #160707aa,18px 0 28px #150606cc!important}
.ac-entrance-intro{left:7vw!important;top:52%!important;width:min(38vw,520px)!important;max-width:520px!important;transform:translateY(-42%)!important}
.ac-entrance-intro h2{font-size:clamp(38px,4.6vw,72px)!important;line-height:1.04!important;max-width:520px}
.ac-entrance-intro>p:not(.ac-entrance-kicker){max-width:390px}
.ac-entrance[data-stage="opening"] .ac-entrance-room{transform:scale(1.58)!important}
.ac-entrance[data-stage="opening"] .ac-entrance-intro{transform:translateY(-48%) translateX(-20px)!important}
.ac-entrance:after{background:linear-gradient(90deg,#411a1acc,transparent 80%),linear-gradient(0deg,#411a1acc,transparent 30%,transparent 80%,#411a1a99)!important}
.ac-entrance-brand{display:flex!important;width:320px;line-height:0}
.ac-entrance-brand .ac-brand-logo{width:320px}
.ac-entrance h2{font-family:'Aileron',Montserrat,Arial,sans-serif!important;font-weight:700!important;color:var(--ac-cream)!important}
.ac-entrance h2 em{color:var(--ac-orange)!important}
.ac-entrance-kicker,.ac-entrance-link{color:var(--ac-orange)!important}
.ac-entrance-enter span{border-color:var(--ac-orange)!important;color:var(--ac-orange)}
.ac-entrance-enter:hover span{background:#f15a2230!important}
.ac-entrance-link{border-color:#f15a2288!important}
.ac-door-lock{position:absolute!important;right:8%!important;top:43%!important;z-index:4;display:grid!important;justify-items:center;gap:9px;padding:0!important;color:var(--ac-cream)!important;background:transparent!important;border:0!important;cursor:pointer;transform-origin:50% 50%;transition:transform .5s ease,filter .3s ease}
.ac-door-lock:hover,.ac-door-lock:focus-visible{filter:drop-shadow(0 0 12px #f15a2288)}
.ac-door-lock:focus-visible{outline:2px solid var(--ac-orange)!important;outline-offset:8px}
.ac-door-lock .ac-lock-cylinder{position:relative!important;right:auto!important;top:auto!important;display:block!important;width:62px!important;height:62px!important;border:2px solid var(--ac-orange)!important;border-radius:50%;background:#411a1acc!important;box-shadow:0 0 0 7px #411a1a55, inset 0 0 0 1px #f2f1e655!important}
.ac-door-lock .ac-lock-cylinder:before{content:'';position:absolute;left:50%;top:19px;width:13px;height:13px;background:var(--ac-orange);border-radius:50%;transform:translateX(-50%)}
.ac-door-lock .ac-lock-cylinder i{position:absolute!important;left:50%!important;right:auto!important;top:29px!important;width:7px!important;height:17px!important;background:var(--ac-orange)!important;border-radius:0 0 4px 4px!important;transform:translateX(-50%)}
.ac-door-lock .ac-door-lock-label{position:static!important;right:auto!important;top:auto!important;display:block!important;width:auto!important;height:auto!important;background:none!important;box-shadow:none!important;color:var(--ac-cream)!important;font:700 9px/1.2 'Aileron',Montserrat,Arial,sans-serif!important;letter-spacing:.15em;text-transform:uppercase;white-space:nowrap}
.ac-entrance[data-stage="opening"] .ac-door-lock{transform:rotate(12deg)}

/* WhatsApp : présence élégante dans la palette, sans masquer le contenu */
.ac-whatsapp{right:24px!important;bottom:24px!important;background:var(--ac-burgundy)!important;color:var(--ac-cream)!important;border:1px solid var(--ac-orange)!important;box-shadow:0 12px 32px #411a1a55,0 0 0 4px #f15a2218!important}
.ac-whatsapp:hover,.ac-whatsapp:focus-visible{background:var(--ac-orange)!important;color:var(--ac-cream)!important;border-color:var(--ac-orange)!important}
.ac-whatsapp-icon{border-color:var(--ac-orange)!important;color:var(--ac-orange)!important}
.ac-whatsapp-label{color:var(--ac-cream)!important}
body:has(#ac-entrance:not([hidden])) .ac-whatsapp{opacity:0!important;pointer-events:none!important}

@media(max-width:1100px){
  .ac-services{width:calc(100% - 64px)!important;gap:32px 20px!important}
  .ac-service-card h3{font-size:17px!important}
  .ac-service-card p{font-size:13px!important}
}
@media(max-width:820px){
  .admin-bar .ac-header{top:46px}
  .ac-brand,.ac-nav .ac-brand-logo{width:220px;max-width:220px}
  .ac-page-hero{height:auto!important;display:grid;grid-template-columns:1fr!important}
  .ac-page-intro{padding:52px 32px 42px!important}
  .ac-page-hero>img{height:310px!important}
  .ac-services{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px 18px!important}
  .ac-service-card .ac-photo{aspect-ratio:1.28!important}
  .ac-services-scroll{width:calc(100% - 64px)}
  .ac-entrance-brand,.ac-entrance-brand .ac-brand-logo{width:240px}
  .ac-entrance-portal{left:68%!important;top:17%!important;bottom:14%!important;width:58vw!important}
  .ac-entrance-intro{left:7vw!important;top:47%!important;width:54vw!important;max-width:54vw!important}
  .ac-entrance-intro h2{font-size:clamp(34px,6.2vw,56px)!important}
  .ac-footer-top{grid-template-columns:1fr 1fr;gap:28px!important}
  .ac-footer-tag{display:block!important}
  .ac-footer-bottom{grid-template-columns:1fr 1fr;gap:16px!important;white-space:normal}
  .ac-footer-credit{text-align:right}
}
@media(max-width:520px){
  .ac-brand,.ac-nav .ac-brand-logo{width:190px;max-width:190px}
  .ac-page-intro{padding:38px 20px 34px!important}
  .ac-page-hero>img{height:260px!important}
  .ac-home-section{padding-top:46px;padding-bottom:46px}
  .ac-services{width:calc(100% - 40px)!important;gap:28px 14px!important}
  .ac-service-card h3{font-size:15px!important;margin-top:13px!important}
  .ac-service-card p{font-size:12px!important}
  .ac-services-scroll{width:calc(100% - 40px);font-size:9px}
  .ac-footer-credit{white-space:normal}
  .ac-footer-top{display:flex!important;flex-wrap:wrap;gap:24px!important}
  .ac-footer-links{justify-content:flex-start;white-space:normal;line-height:1.7}
  .ac-footer-tag{width:100%;max-width:250px!important}
  .ac-footer-bottom{display:flex!important;flex-wrap:wrap;gap:14px!important}
  .ac-footer-bottom>nav{justify-content:flex-start;white-space:normal;flex-wrap:wrap}
  .ac-footer-credit{text-align:left}
  .ac-entrance-brand,.ac-entrance-brand .ac-brand-logo{width:185px}
  .ac-entrance-portal{left:68%!important;top:22%!important;bottom:18%!important;width:62vw!important}
  .ac-entrance-intro{left:8vw!important;top:45%!important;width:70vw!important;max-width:70vw!important}
  .ac-entrance-intro h2{font-size:clamp(32px,9vw,48px)!important}
  .ac-door-lock{right:6%!important;top:39%!important;transform:scale(.8);transform-origin:50% 50%}
}
