/*
Theme Name: Armand Shneor Home Buttons V17 — Refuge
Theme URI: https://armandshneor.info/
Author: OpenAI / ChatGPT / Claude
Description: Thème WordPress pour Armand Shneor, psychologue clinicien. Version "Refuge" : palette ivoire chaud et or doux, ambiance d'accueil clinique apaisant, hero clair, sous-menu mobile corrigé, footer adouci. Page d'accueil pensée pour un visiteur en souffrance qui cherche un espace de soin.
Version: 6.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: armandshneor-elegant
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --as-green:#263129;
  --as-green-2:#1d251f;
  --as-green-3:#354235;
  --as-cream:#f5efe5;
  --as-cream-2:#efe3d4;
  --as-gold:#c9a15d;
  --as-gold-2:#a9823f;
  --as-text:#2c2924;
  --as-muted:#6f675d;
  --as-white:#ffffff;
  --as-border:rgba(201,161,93,.42);
  --as-shadow:0 24px 70px rgba(0,0,0,.18);
  --as-font-title:"Cormorant Garamond", "Playfair Display", Georgia, serif;
  --as-font-body:"Inter", "Segoe UI", Arial, sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--as-font-body);
  color:var(--as-text);
  background:var(--as-cream);
  line-height:1.7;
}
a{color:inherit}
img{max-width:100%;height:auto}

/* Header */
.as-header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:1000;
  padding:22px clamp(18px,4vw,70px);
  transition:background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.as-header.is-scrolled{
  background:rgba(29,37,31,.92);
  backdrop-filter:blur(12px);
  padding-top:10px;
  padding-bottom:10px;
  box-shadow:0 12px 40px rgba(0,0,0,.24);
}
.as-header-inner{
  display:flex;
  align-items:center;
  gap:30px;
  max-width:1420px;
  margin:0 auto;
}
.as-brand{display:flex;align-items:center;text-decoration:none;min-width:160px}
.as-brand img{width:142px;height:auto;display:block;filter:drop-shadow(0 10px 20px rgba(0,0,0,.18))}
.as-header.is-scrolled .as-brand img{width:110px}
.as-nav-wrap{margin-left:auto;display:flex;align-items:center;gap:18px}
.as-menu,.as-fallback-menu{display:flex;align-items:center;gap:10px;list-style:none;margin:0;padding:0}
.as-menu li,.as-fallback-menu li{position:relative}
.as-menu a,.as-fallback-menu a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 16px;
  border:1px solid rgba(201,161,93,.38);
  border-radius:999px;
  color:var(--as-cream);
  text-decoration:none;
  font-family:var(--as-font-title);
  font-size:13.5px;
  font-weight:600;
  letter-spacing:.055em;
  background:rgba(255,255,255,.035);
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.as-menu a:hover,.as-fallback-menu a:hover,
.as-menu .current-menu-item>a{
  background:rgba(201,161,93,.16);
  border-color:var(--as-gold);
  transform:translateY(-1px);
}
.as-menu .sub-menu,.as-fallback-menu .sub-menu{
  position:absolute;
  top:calc(100% + 12px);
  left:0;
  list-style:none;
  min-width:245px;
  margin:0;
  padding:10px;
  border:1px solid rgba(201,161,93,.32);
  border-radius:20px;
  background:rgba(30,39,33,.96);
  box-shadow:0 24px 60px rgba(0,0,0,.28);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:.2s ease;
}
.as-menu li:hover>.sub-menu,.as-fallback-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.as-menu .sub-menu a,.as-fallback-menu .sub-menu a{width:100%;border-radius:14px;border-color:transparent;background:transparent;justify-content:flex-start;font-family:var(--as-font-title);font-size:13px;font-weight:600;letter-spacing:.04em;min-height:36px;color:#f3eadf}
.as-menu .sub-menu a:hover,.as-fallback-menu .sub-menu a:hover{background:rgba(201,161,93,.14);border-color:rgba(201,161,93,.3)}
.as-appointment{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:0 22px;border:1.5px solid var(--as-gold);color:var(--as-cream);text-decoration:none;text-transform:uppercase;letter-spacing:.12em;font-family:var(--as-font-title);font-size:12.5px;font-weight:600;background:rgba(201,161,93,.06);white-space:nowrap;
}
.as-appointment:hover{background:var(--as-gold);color:#172019}
.as-mobile-toggle{display:none;margin-left:auto;background:transparent;color:var(--as-cream);border:1px solid rgba(201,161,93,.5);border-radius:14px;padding:10px 12px;font-size:18px}

/* Hero */
.as-hero{
  min-height:100vh;
  position:relative;
  overflow:hidden;
  color:var(--as-cream);
  background:
    radial-gradient(circle at 75% 42%, rgba(245,239,229,.16), transparent 18%),
    radial-gradient(circle at 30% 28%, rgba(201,161,93,.13), transparent 25%),
    linear-gradient(115deg, rgba(31,41,34,.98) 0%, rgba(38,49,41,.96) 52%, rgba(29,37,31,.98) 100%);
}
.as-hero:before{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(23,29,24,.34),transparent 55%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.025) 0 1px, transparent 1px 180px);
  opacity:.7;
}
.as-hero:after{
  content:"";position:absolute;right:-140px;bottom:-90px;width:min(60vw,760px);height:min(60vw,760px);border-radius:50%;
  background:radial-gradient(circle,rgba(245,239,229,.18),rgba(201,161,93,.08) 40%,transparent 70%);
}
.as-hero-inner{position:relative;z-index:2;min-height:100vh;display:grid;grid-template-columns:minmax(320px, 650px) 1fr;gap:40px;align-items:center;max-width:1420px;margin:0 auto;padding:150px clamp(22px,5vw,80px) 80px}
.as-hero-logo{width:min(516px,78vw);margin-bottom:52px;filter:drop-shadow(0 18px 32px rgba(0,0,0,.28))}
.as-kicker{font-size:13px;letter-spacing:.22em;text-transform:uppercase;color:var(--as-gold);margin:0 0 14px;font-weight:700}
.as-hero h1{font-family:var(--as-font-title);font-weight:400;font-size:clamp(52px,7vw,92px);line-height:.95;margin:0 0 22px;color:#fbf6ef;text-shadow:0 8px 24px rgba(0,0,0,.18)}
.as-gold-line{display:flex;align-items:center;gap:10px;margin:28px 0 26px}.as-gold-line span:first-child{width:10px;height:10px;border-radius:50%;background:var(--as-gold)}.as-gold-line span:last-child{width:145px;height:1px;background:linear-gradient(90deg,var(--as-gold),transparent)}
.as-hero p{font-size:clamp(18px,2vw,23px);line-height:1.65;max-width:720px;color:rgba(250,245,237,.88);margin:0}
.as-hero-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:38px}
.as-btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 26px;text-decoration:none;letter-spacing:.08em;text-transform:uppercase;font-size:13px;font-weight:700;border-radius:0;transition:.2s ease}
.as-btn-primary{border:1px solid var(--as-gold);background:transparent;color:var(--as-cream)}
.as-btn-primary:hover{background:var(--as-gold);color:#1c241e}
.as-btn-secondary{border:1px solid rgba(245,239,229,.42);background:rgba(255,255,255,.07);color:var(--as-cream)}
.as-btn-secondary:hover{border-color:var(--as-gold);background:rgba(201,161,93,.14)}

/* Decorative interior */
.as-hero-visual{position:relative;min-height:640px;align-self:end}
.as-frame{position:absolute;right:8%;top:17%;width:260px;height:310px;border:12px solid rgba(171,130,68,.65);box-shadow:0 20px 50px rgba(0,0,0,.25);background:linear-gradient(135deg,#c9b89c,#efe1ca)}
.as-frame:before{content:"";position:absolute;inset:28px;border:1px solid rgba(86,66,42,.25);background:linear-gradient(135deg,rgba(51,66,53,.28),rgba(245,239,229,.5))}
.as-plant{position:absolute;right:-2%;bottom:11%;width:160px;height:450px;border-radius:80px 80px 0 0;background:linear-gradient(90deg,transparent 47%,rgba(154,119,63,.75) 48% 52%,transparent 53%)}
.as-plant:before,.as-plant:after{content:"";position:absolute;border-radius:50%;background:rgba(128,143,97,.55);filter:blur(.2px)}
.as-plant:before{width:180px;height:70px;right:15px;top:40px;transform:rotate(-58deg);box-shadow:-34px 80px 0 rgba(128,143,97,.42), -6px 162px 0 rgba(128,143,97,.36)}
.as-plant:after{width:150px;height:62px;left:58px;top:76px;transform:rotate(55deg);box-shadow:28px 76px 0 rgba(128,143,97,.42), 2px 158px 0 rgba(128,143,97,.35)}
.as-chair{position:absolute;right:21%;bottom:6%;width:420px;height:260px;border-radius:48% 48% 35% 35%;background:linear-gradient(135deg,#efe4d2,#d7c8b2);box-shadow:inset 0 -28px 50px rgba(96,76,54,.12),0 30px 60px rgba(0,0,0,.22)}
.as-chair:before{content:"";position:absolute;left:-55px;top:64px;width:130px;height:190px;border-radius:60px;background:linear-gradient(135deg,#f1e7d7,#cdbda7);transform:rotate(-8deg)}
.as-chair:after{content:"";position:absolute;right:-55px;top:64px;width:130px;height:190px;border-radius:60px;background:linear-gradient(135deg,#d7c7b1,#f0e5d4);transform:rotate(8deg)}
.as-floor{position:absolute;left:0;right:0;bottom:0;height:70px;background:linear-gradient(180deg,rgba(217,204,185,.15),rgba(192,171,145,.28));border-top:1px solid rgba(245,239,229,.2)}

/* Sections */
.as-section{padding:88px clamp(22px,5vw,80px);max-width:1420px;margin:0 auto}
.as-section-title{font-family:var(--as-font-title);font-weight:400;font-size:clamp(38px,5vw,62px);line-height:1.05;margin:0 0 18px;color:#2a2924}.as-section-intro{max-width:820px;color:var(--as-muted);font-size:18px;margin:0 0 38px}.as-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.as-card{background:#fff;border:1px solid #e7dccd;border-radius:28px;padding:30px;box-shadow:0 18px 45px rgba(40,31,22,.07)}.as-card h3{font-family:var(--as-font-title);font-size:31px;line-height:1.12;font-weight:500;margin:0 0 12px;color:#2f2b25}.as-card p{color:#665f56;margin:0 0 20px}.as-card a{color:#6d5022;font-weight:700;text-decoration:none}.as-dark-band{background:var(--as-green);color:var(--as-cream);max-width:none}.as-dark-band .as-section{padding-top:80px;padding-bottom:80px}.as-dark-band .as-section-title{color:#fbf6ef}.as-dark-band .as-section-intro{color:rgba(245,239,229,.76)}

/* Publications */
.as-publications-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.as-publication-card{background:#fff;border:1px solid #e7dccd;border-radius:26px;overflow:hidden;box-shadow:0 18px 45px rgba(40,31,22,.08)}.as-publication-card img{width:100%;height:220px;object-fit:cover;display:block}.as-publication-body{padding:24px}.as-publication-body h2,.as-publication-body h3{font-family:var(--as-font-title);font-weight:500;line-height:1.1;font-size:29px;margin:0 0 12px}.as-publication-body h2 a,.as-publication-body h3 a{text-decoration:none}.as-excerpt{color:#696057;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-height:6.7em}.as-readmore{display:inline-flex;margin-top:18px;color:#6d5022;font-weight:800;text-decoration:none}.as-pagination{margin-top:40px}.as-pagination .nav-links{display:flex;gap:10px}.as-pagination a,.as-pagination span{padding:8px 13px;border:1px solid #d9c9b5;text-decoration:none;border-radius:999px}.as-pagination .current{background:#2d382f;color:#fff}

/* Generic content */
.as-main{padding-top:120px}.as-page{max-width:980px;margin:0 auto;padding:70px 24px}.as-page h1{font-family:var(--as-font-title);font-size:clamp(44px,6vw,70px);font-weight:400;line-height:1;margin:0 0 24px}.as-page h2{font-family:var(--as-font-title);font-size:38px;font-weight:500;margin-top:42px}.as-page a{color:#735328;font-weight:700}.as-single-meta{color:#776f65;margin-bottom:30px}.as-footer{background:#171e19;color:#efe6da;padding:60px clamp(22px,5vw,80px)}.as-footer-inner{max-width:1420px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:34px}.as-footer img{width:204px}.as-footer a{color:#efe6da;text-decoration:none}.as-footer ul{list-style:none;margin:0;padding:0}.as-footer li{margin:8px 0;color:rgba(239,230,218,.8)}

/* Mobile */
@media (max-width:1100px){.as-hero-inner{grid-template-columns:1fr}.as-hero-visual{display:none}.as-grid,.as-publications-grid{grid-template-columns:1fr 1fr}.as-menu,.as-fallback-menu,.as-appointment{display:none}.as-mobile-toggle{display:block}.as-nav-wrap.is-open{position:absolute;left:18px;right:18px;top:92px;display:block;background:rgba(29,37,31,.98);border:1px solid rgba(201,161,93,.35);border-radius:24px;padding:16px}.as-nav-wrap.is-open .as-menu,.as-nav-wrap.is-open .as-fallback-menu{display:block}.as-nav-wrap.is-open .as-appointment{display:flex;margin-top:12px}.as-nav-wrap.is-open a{width:100%;justify-content:flex-start;margin:6px 0}.as-nav-wrap.is-open .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;background:rgba(255,255,255,.04);margin:6px 0 12px;min-width:0}}
@media (max-width:720px){.as-header{padding:14px 18px}.as-brand img{width:110px}.as-hero-inner{padding-top:120px}.as-hero-logo{width:300px;margin-bottom:34px}.as-hero h1{font-size:48px}.as-grid,.as-publications-grid,.as-footer-inner{grid-template-columns:1fr}.as-section{padding-top:58px;padding-bottom:58px}.as-btn{width:100%}}

/* Version 3 — accueil calé sur le modèle visuel fourni */
:root{
  --as-green:#222b24;
  --as-green-2:#18211b;
  --as-cream:#f6efe5;
  --as-gold:#c59a50;
  --as-font-title:"Cormorant Garamond", "Playfair Display", Georgia, serif;
  --as-font-body:"Inter", "Segoe UI", Arial, sans-serif;
}

body.home .as-header:not(.is-scrolled) .as-brand{display:none;}
body.home .as-header:not(.is-scrolled){padding-top:38px;padding-bottom:18px;background:transparent;box-shadow:none;}
body.home .as-header:not(.is-scrolled) .as-header-inner{justify-content:flex-end;max-width:1430px;}
body.home .as-header:not(.is-scrolled) .as-nav-wrap{margin-left:0;gap:28px;}

.as-menu,.as-fallback-menu{gap:34px;}
.as-menu>li>a,.as-fallback-menu>li>a{
  min-height:38px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:rgba(246,239,229,.94);
  font-family:var(--as-font-body);
  font-size:19px;
  font-weight:400;
  letter-spacing:.01em;
  text-transform:none;
  position:relative;
}
.as-menu>li>a:hover,.as-fallback-menu>li>a:hover,
.as-menu>.current-menu-item>a,.as-menu>.current_page_item>a{
  background:transparent;
  border-color:transparent;
  transform:none;
  color:#fff8ef;
}
.as-menu>li>a:after,.as-fallback-menu>li>a:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-9px;
  height:2px;
  background:var(--as-gold);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .18s ease;
}
.as-menu>li>a:hover:after,.as-fallback-menu>li>a:hover:after,
.as-menu>.current-menu-item>a:after,.as-menu>.current_page_item>a:after,
body.home .as-fallback-menu>li:first-child>a:after{transform:scaleX(1);}

.as-appointment{
  min-height:54px;
  padding:0 28px;
  border:1px solid var(--as-gold);
  border-radius:0;
  background:rgba(20,25,21,.08);
  color:#f6efe5;
  font-family:var(--as-font-body);
  font-size:16px;
  font-weight:500;
  letter-spacing:.105em;
  text-transform:uppercase;
}
.as-appointment:hover{background:rgba(197,154,80,.18);color:#fff7ed;}

.as-header.is-scrolled .as-menu>li>a,.as-header.is-scrolled .as-fallback-menu>li>a{font-size:17px;color:#f6efe5;}
.as-header.is-scrolled .as-brand img{width:115px;}

.as-hero{
  min-height:100vh;
  background:
    radial-gradient(circle at 78% 47%, rgba(236,221,199,.14), transparent 19%),
    radial-gradient(circle at 19% 18%, rgba(197,154,80,.15), transparent 24%),
    linear-gradient(115deg, rgba(31,40,33,.98) 0%, rgba(36,47,39,.97) 48%, rgba(24,31,26,.99) 100%);
}
.as-hero:before{
  background:
    linear-gradient(90deg,rgba(17,24,19,.18),transparent 62%),
    radial-gradient(ellipse at 35% 41%,rgba(246,239,229,.08),transparent 24%),
    repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 1px, transparent 1px 178px);
}
.as-hero-inner{
  max-width:1430px;
  grid-template-columns:minmax(430px, 650px) 1fr;
  padding:92px clamp(40px,5.4vw,86px) 60px;
  align-items:center;
}
.as-hero-logo{
  width:min(390px,36vw);
  margin:0 0 58px;
  filter:drop-shadow(0 20px 32px rgba(0,0,0,.18));
}
.as-hero h1{
  font-size:clamp(68px,6.7vw,96px);
  line-height:.94;
  max-width:620px;
  letter-spacing:-.018em;
  margin-bottom:26px;
}
.as-gold-line{margin:18px 0 28px;gap:11px;}
.as-gold-line span:first-child{width:8px;height:8px;background:var(--as-gold);}
.as-gold-line span:last-child{width:143px;background:linear-gradient(90deg,var(--as-gold),rgba(197,154,80,.2),transparent);}
.as-hero p{
  max-width:610px;
  font-size:22px;
  line-height:1.68;
  color:rgba(246,239,229,.93);
}
.as-hero-actions{margin-top:38px;}
.as-btn{
  min-height:64px;
  padding:0 39px;
  border-radius:0;
  font-family:var(--as-font-body);
  font-size:17px;
  font-weight:500;
  letter-spacing:.155em;
  text-transform:uppercase;
}
.as-btn-primary{border:1px solid var(--as-gold);background:transparent;color:#f6efe5;}
.as-btn-primary:hover{background:rgba(197,154,80,.16);color:#fff7ed;}

.as-hero-visual{min-height:680px;}
.as-frame{right:8%;top:21%;width:260px;height:330px;border-width:10px;}
.as-chair{right:18%;bottom:8%;width:435px;height:270px;}
.as-plant{right:-1%;bottom:10%;height:475px;}
.as-floor{height:72px;background:linear-gradient(180deg,rgba(226,211,190,.13),rgba(194,177,153,.32));}

@media (max-width:1100px){
  body.home .as-header:not(.is-scrolled) .as-brand{display:flex;}
  body.home .as-header:not(.is-scrolled) .as-header-inner{justify-content:space-between;}
  body.home .as-header:not(.is-scrolled) .as-brand img{width:94px;}
  .as-menu,.as-fallback-menu{gap:0;}
  .as-menu>li>a,.as-fallback-menu>li>a{font-size:17px;padding:10px 14px;border:1px solid rgba(201,161,93,.26);border-radius:14px;}
}
@media (max-width:720px){
  .as-hero-inner{padding:118px 24px 72px;}
  .as-hero-logo{width:285px;margin-bottom:42px;}
  .as-hero h1{font-size:56px;}
  .as-hero p{font-size:18px;}
  .as-btn{width:auto;min-height:58px;font-size:14px;padding:0 26px;}
}


/* Version 4 — corrections demandées : boutons, police réduite, logo en haut à gauche, RDV mis en valeur dans le menu */
body.home .as-header:not(.is-scrolled) .as-brand{display:flex !important;}
body.home .as-header:not(.is-scrolled){
  padding-top:22px;
  padding-bottom:14px;
  background:rgba(24,33,27,.18);
}
body.home .as-header:not(.is-scrolled) .as-header-inner{
  justify-content:space-between;
  max-width:1430px;
}
body.home .as-header:not(.is-scrolled) .as-nav-wrap{margin-left:auto;gap:0;}
.as-header-inner{justify-content:space-between;}
.as-brand{min-width:116px;}
.as-brand img{width:96px !important;height:auto;display:block;}
.as-header.is-scrolled .as-brand img{width:78px !important;}
.as-nav-wrap{gap:0;}
.as-menu,.as-fallback-menu{gap:8px;}
.as-menu>li>a,.as-fallback-menu>li>a,
.as-header.is-scrolled .as-menu>li>a,.as-header.is-scrolled .as-fallback-menu>li>a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 12px;
  border:1px solid rgba(197,154,80,.45);
  border-radius:0;
  background:rgba(255,255,255,.035);
  color:rgba(246,239,229,.95);
  font-family:var(--as-font-title);
  font-size:12px;
  line-height:1;
  font-weight:600;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.as-menu>li>a:hover,.as-fallback-menu>li>a:hover,
.as-menu>.current-menu-item>a,.as-menu>.current_page_item>a{
  background:rgba(197,154,80,.14);
  border-color:var(--as-gold);
  color:#fff8ef;
  transform:none;
}
.as-menu>li>a:after,.as-fallback-menu>li>a:after{display:none;}
.as-menu>li>a[href*="prise-de-rendez-vous"],
.as-fallback-menu>li>a[href*="prise-de-rendez-vous"]{
  border-color:var(--as-gold);
  background:rgba(197,154,80,.20);
  color:#fff7ed;
  padding-left:16px;
  padding-right:16px;
  box-shadow:0 0 0 1px rgba(197,154,80,.16) inset;
}
.as-menu>li>a[href*="prise-de-rendez-vous"]:hover,
.as-fallback-menu>li>a[href*="prise-de-rendez-vous"]:hover{
  background:var(--as-gold);
  color:#172019;
}
.as-appointment{display:none !important;}
.as-hero-inner{padding-top:135px;}
.as-hero-logo{display:none !important;}
.as-hero-content{padding-top:40px;}
.as-menu .sub-menu,.as-fallback-menu .sub-menu{top:calc(100% + 9px);}
.as-menu .sub-menu a,.as-fallback-menu .sub-menu a{
  min-height:33px;
  padding:8px 10px;
  font-size:11.5px;
  letter-spacing:.045em;
}
@media (max-width:1120px){
  .as-menu,.as-fallback-menu{gap:6px;}
  .as-menu>li>a,.as-fallback-menu>li>a{font-size:11px;padding:7px 9px;}
  .as-brand img{width:82px !important;}
}
@media (max-width:960px){
  .as-mobile-toggle{display:block;}
  .as-nav-wrap{gap:8px;}
  .as-menu,.as-fallback-menu{gap:8px;}
  .as-menu>li>a,.as-fallback-menu>li>a{width:100%;justify-content:flex-start;}
  .as-brand img{width:86px !important;}
}


/* Version 5 — logo agrandi de 30% sur toutes les pages */
.as-brand img{
  width:125px !important;
  height:auto !important;
}
.as-header.is-scrolled .as-brand img{
  width:101px !important;
}
@media (max-width:1120px){
  .as-brand img{width:107px !important;}
}
@media (max-width:960px){
  .as-brand img{width:112px !important;}
}
@media (max-width:720px){
  .as-brand img{width:120px !important;}
  .as-header.is-scrolled .as-brand img{width:98px !important;}
}


/* Version 6 — centrage du texte dans les boutons du menu supérieur */
.as-menu > li,
.as-fallback-menu > li {
  display: flex;
  align-items: center;
}

.as-menu > li > a,
.as-fallback-menu > li > a,
.as-header.is-scrolled .as-menu > li > a,
.as-header.is-scrolled .as-fallback-menu > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center !important;
  text-align: center;
  vertical-align: middle;
  box-sizing: border-box;
  white-space: nowrap;
}

.as-menu .sub-menu a,
.as-fallback-menu .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: center !important;
  text-align: center;
}

@media (max-width: 960px) {
  .as-menu > li > a,
  .as-fallback-menu > li > a {
    justify-content: center !important;
    text-align: center;
  }
}

/* Version 8 — bloc urgence sur une ligne et bouton RDV vers Contact */
.as-emergency-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px;
  align-items:center;
}
.as-emergency-title{
  font-size:clamp(22px,2.05vw,30px) !important;
  line-height:1.15 !important;
  margin-bottom:8px !important;
  white-space:nowrap;
  letter-spacing:-.01em;
}
.as-emergency-intro{
  margin-bottom:0 !important;
  font-size:15px;
  line-height:1.55;
}
.as-emergency-btn{
  background:#263129 !important;
  color:#f5efe5 !important;
  border-color:#263129 !important;
  white-space:nowrap;
  min-height:52px;
  padding:0 24px;
  font-size:12px;
  letter-spacing:.105em;
}
.as-emergency-btn:hover{
  background:#1b241d !important;
  border-color:#1b241d !important;
  color:#fff7ed !important;
}
@media (max-width:900px){
  .as-emergency-card{
    grid-template-columns:1fr;
    gap:18px;
  }
  .as-emergency-title{
    white-space:normal;
  }
  .as-emergency-btn{
    justify-self:start;
  }
}


/* Publications — bouton d'accès aux articles suivants */
.as-publications-page .as-load-more-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:46px 0 18px;
}
.as-publications-page .as-load-more-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 30px;
  border:1.5px solid var(--as-gold);
  background:var(--as-green);
  color:var(--as-cream);
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.095em;
  font-family:var(--as-font-title);
  font-size:15px;
  font-weight:600;
  box-shadow:0 16px 34px rgba(31,40,33,.16);
  transition:background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.as-publications-page .as-load-more-btn:hover{
  background:var(--as-gold);
  color:#1b231d;
  transform:translateY(-2px);
  box-shadow:0 20px 42px rgba(31,40,33,.22);
}
.as-publications-page .as-pagination-discrete{
  display:flex;
  justify-content:center;
  opacity:.72;
}
@media (max-width:720px){
  .as-publications-page .as-load-more-btn{
    width:100%;
    min-height:52px;
    padding:0 18px;
    font-size:13px;
  }
}


/* V11 — Page Publications : titre géant supprimé et bouton suivant rendu visible */
.as-publications-page{
  padding-top:64px;
}
.as-publications-header{
  max-width:880px;
  margin:0 auto 44px;
  text-align:center;
}
.as-publications-kicker{
  margin:0 0 14px;
  color:#6d5022;
  font-family:var(--as-font-title);
  font-size:clamp(30px,4vw,48px);
  font-weight:500;
  line-height:1.05;
}
.as-publications-intro{
  margin-left:auto;
  margin-right:auto;
  margin-bottom:0;
}
.as-publications-page h1,
.as-publications-page .entry-title{
  display:none !important;
}
.as-publications-page .as-load-more-wrap{
  display:flex !important;
  justify-content:center;
  align-items:center;
  margin:46px 0 18px;
  width:100%;
}
.as-publications-page .as-load-more-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:56px;
  padding:0 34px;
  border:1.5px solid var(--as-gold);
  background:var(--as-green);
  color:var(--as-cream) !important;
  text-decoration:none !important;
  text-transform:uppercase;
  letter-spacing:.095em;
  font-family:var(--as-font-title);
  font-size:15px;
  font-weight:600;
  line-height:1;
  box-shadow:0 16px 34px rgba(31,40,33,.16);
  transition:background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.as-publications-page .as-load-more-btn:hover{
  background:var(--as-gold);
  color:#1b231d !important;
  transform:translateY(-2px);
  box-shadow:0 20px 42px rgba(31,40,33,.22);
}
@media (max-width:720px){
  .as-publications-page .as-load-more-btn{
    width:100%;
    min-height:52px;
    padding:0 18px;
    font-size:13px;
  }
}


/* V12 — Page Publications : bouton visible + suppression du grand titre parasite */
body.page-template-page-publications .as-page h1,
body.page-template-templatespage-publications-php .as-page h1,
body.page-template-template-parts .as-page h1,
.as-publications-main h1,
.as-publications-page h1,
.as-publications-page .entry-title{
  display:none !important;
}

.as-publications-page{
  padding-top:72px;
}

.as-publications-header{
  margin-bottom:34px;
}

.as-publications-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 0 16px;
  padding:8px 18px;
  border:1px solid rgba(197,154,80,.42);
  border-radius:999px;
  color:#7a5524;
  font-family:var(--as-font-title);
  font-size:20px;
  line-height:1;
  letter-spacing:.05em;
}

.as-load-more-wrap{
  display:flex !important;
  justify-content:center;
  align-items:center;
  width:100%;
  margin:42px auto 16px;
  text-align:center;
}

.as-load-more-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 34px;
  border:1.5px solid var(--as-gold);
  border-radius:999px;
  background:var(--as-green);
  color:var(--as-cream) !important;
  font-family:var(--as-font-title);
  font-size:18px;
  font-weight:600;
  letter-spacing:.045em;
  line-height:1;
  text-decoration:none !important;
  box-shadow:0 16px 38px rgba(30,39,33,.16);
  transition:background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.as-load-more-btn:hover{
  background:var(--as-gold);
  color:#18211b !important;
  transform:translateY(-2px);
  box-shadow:0 20px 45px rgba(30,39,33,.22);
}


/* V13 — Header visible sur toutes les pages internes + suppression forcée du titre parasite Publications */
body:not(.home) .as-header,
body:not(.home) .as-header:not(.is-scrolled){
  background:rgba(24,33,27,.96) !important;
  backdrop-filter:blur(12px);
  box-shadow:0 12px 36px rgba(0,0,0,.22);
  padding-top:14px !important;
  padding-bottom:14px !important;
}
body:not(.home) .as-header .as-brand,
body:not(.home) .as-header:not(.is-scrolled) .as-brand{
  display:flex !important;
}
body:not(.home) .as-header .as-brand img{
  width:120px !important;
  height:auto !important;
  opacity:1 !important;
  visibility:visible !important;
  filter:drop-shadow(0 10px 20px rgba(0,0,0,.28));
}
body:not(.home) .as-menu > li > a,
body:not(.home) .as-fallback-menu > li > a,
body:not(.home) .as-header.is-scrolled .as-menu > li > a,
body:not(.home) .as-header.is-scrolled .as-fallback-menu > li > a{
  color:#f6efe5 !important;
  border-color:rgba(197,154,80,.58) !important;
  background:rgba(255,255,255,.045) !important;
}
body:not(.home) .as-menu > li > a:hover,
body:not(.home) .as-fallback-menu > li > a:hover,
body:not(.home) .as-menu > .current-menu-item > a,
body:not(.home) .as-menu > .current_page_item > a{
  background:rgba(197,154,80,.18) !important;
  border-color:var(--as-gold) !important;
  color:#fff8ef !important;
}
body:not(.home) .as-menu > li > a[href*="prise-de-rendez-vous"],
body:not(.home) .as-fallback-menu > li > a[href*="prise-de-rendez-vous"]{
  background:rgba(197,154,80,.24) !important;
  border-color:var(--as-gold) !important;
  color:#fff7ed !important;
}
body:not(.home) .as-mobile-toggle{
  color:#f6efe5 !important;
  border-color:rgba(197,154,80,.58) !important;
}
body:not(.home) .as-main{
  padding-top:150px !important;
}

body[class*="publications"] h1,
body[class*="publications"] .entry-title,
body[class*="publications"] .page-title,
body[class*="publications"] .wp-block-post-title,
body[class*="publications"] .elementor-heading-title,
body.page-id-publications h1,
body.page-slug-publications h1,
body.page-template-page-publications h1,
body.page-template-page-publications-php h1{
  display:none !important;
}
body[class*="publications"] .as-publications-kicker,
body[class*="publications"] .as-publications-header{
  display:block !important;
}
.as-load-more-wrap,
.as-load-more-wrap-js{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100% !important;
  margin:44px auto 18px !important;
  clear:both !important;
}
.as-load-more-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:54px !important;
  padding:0 34px !important;
  border:1.5px solid var(--as-gold) !important;
  border-radius:999px !important;
  background:var(--as-green) !important;
  color:var(--as-cream) !important;
  font-family:var(--as-font-title) !important;
  font-size:18px !important;
  font-weight:600 !important;
  letter-spacing:.045em !important;
  line-height:1 !important;
  text-decoration:none !important;
  box-shadow:0 16px 38px rgba(30,39,33,.16) !important;
}
.as-load-more-btn:hover{
  background:var(--as-gold) !important;
  color:#18211b !important;
}
@media (max-width:960px){
  body:not(.home) .as-main{padding-top:132px !important;}
  body:not(.home) .as-header .as-brand img{width:104px !important;}
}


/* V14 — Section clinique remplaçant les accès rapides */
.as-suffering-band .as-section-intro{
  max-width:980px;
}
.as-suffering-grid{
  grid-template-columns:repeat(4,1fr);
  align-items:stretch;
}
.as-suffering-band .as-card{
  background:rgba(255,255,255,.96);
  min-height:260px;
}
.as-suffering-band .as-card h3{
  font-size:28px;
}
.as-suffering-band .as-card p{
  font-size:16px;
  line-height:1.65;
}
.as-suffering-action{
  margin-top:34px;
  display:flex;
  justify-content:center;
}
.as-suffering-action .as-btn{
  min-width:260px;
}
@media (max-width:1180px){
  .as-suffering-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:720px){
  .as-suffering-grid{grid-template-columns:1fr;}
  .as-suffering-action .as-btn{width:100%;}
}


/* V16 - nouvelle image de page d'accueil intégrée */
body.home .as-hero{
  min-height:100vh;
  color:var(--as-cream);
  background:
    linear-gradient(90deg, rgba(13,17,14,.82) 0%, rgba(17,23,19,.76) 32%, rgba(17,23,19,.42) 58%, rgba(17,23,19,.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.18) 100%),
    url('assets/img/home-hero-neural.png') center right / cover no-repeat;
}
body.home .as-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(5,8,7,.10), rgba(5,8,7,.18));
  opacity:1;
}
body.home .as-hero:after{display:none;}
body.home .as-hero-inner{
  position:relative;
  z-index:2;
  min-height:100vh;
  display:flex;
  align-items:center;
  max-width:1420px;
  margin:0 auto;
  padding:150px clamp(22px,5vw,80px) 80px;
}
body.home .as-hero-content{
  width:min(680px, 100%);
}
body.home .as-hero-visual,
body.home .as-frame,
body.home .as-plant,
body.home .as-chair,
body.home .as-floor{
  display:none !important;
}
body.home .as-hero-logo{
  width:min(500px, 76vw);
  margin-bottom:46px;
  filter:drop-shadow(0 18px 36px rgba(0,0,0,.22));
}
body.home .as-hero h1{
  font-size:clamp(44px,5vw,68px);
  line-height:1;
  max-width:620px;
  letter-spacing:-.018em;
  margin-bottom:26px;
}
body.home .as-hero p{
  font-size:clamp(18px,1.9vw,22px);
  max-width:640px;
  color:rgba(250,245,237,.92);
}
body.home .as-hero-actions{margin-top:34px;}
@media (max-width:1100px){
  body.home .as-hero{
    background:
      linear-gradient(90deg, rgba(13,17,14,.78) 0%, rgba(17,23,19,.68) 55%, rgba(17,23,19,.38) 100%),
      url('assets/img/home-hero-neural.png') 72% center / cover no-repeat;
  }
}
@media (max-width:720px){
  body.home .as-hero{
    background:
      linear-gradient(180deg, rgba(13,17,14,.80) 0%, rgba(17,23,19,.62) 100%),
      url('assets/img/home-hero-neural.png') 68% center / cover no-repeat;
  }
  body.home .as-hero-logo{width:min(340px, 82vw); margin-bottom:30px;}
  body.home .as-hero h1{font-size:clamp(34px,8vw,48px);}
  body.home .as-hero p{font-size:18px;}
}


/* =====================================================================
   V17 — REFUGE
   Pivot du positionnement "luxe sombre" vers "refuge clinique chaleureux".
   Cette couche surcharge les V1→V16 ci-dessus.
   Pour revenir à l'ancien look : supprimer tout le bloc à partir de
   cette ligne. Aucune autre modification n'est nécessaire.
   ===================================================================== */

/* --- Palette refuge --------------------------------------------------- */
:root{
  /* On garde les noms de variables pour ne rien casser, on change les valeurs */
  --as-green:#3a4339;          /* vert-taupe doux pour rares zones d'ancrage */
  --as-green-2:#2e362d;        /* footer (assombri mais chaud) */
  --as-green-3:#4b5448;
  --as-cream:#f6efe3;          /* ivoire chaud — fond dominant */
  --as-cream-2:#fbf6ec;        /* ivoire très clair pour hero */
  --as-sand:#ecdfc7;            /* sable, accents */
  --as-gold:#b8924a;            /* or désaturé, plus doux */
  --as-gold-2:#967534;          /* or profond pour hover */
  --as-text:#2c2924;            /* texte principal, déjà conservé */
  --as-muted:#7a7167;           /* texte secondaire un peu réchauffé */
  --as-border:rgba(184,146,74,.32);
  --as-shadow:0 20px 50px rgba(70,55,30,.10);
}

/* --- Corps & sections ------------------------------------------------- */
body{
  background:var(--as-cream);
  color:var(--as-text);
}

/* --- HEADER : transparent sur la home, ivoire ailleurs ---------------- */
body.home .as-header:not(.is-scrolled){
  background:rgba(246,239,227,.0) !important;
  box-shadow:none !important;
}
.as-header.is-scrolled{
  background:rgba(246,239,227,.94) !important;
  backdrop-filter:blur(12px);
  box-shadow:0 8px 28px rgba(70,55,30,.08) !important;
}

/* Header sur pages internes (override V13) */
body:not(.home) .as-header,
body:not(.home) .as-header:not(.is-scrolled){
  background:rgba(246,239,227,.94) !important;
  backdrop-filter:blur(12px);
  box-shadow:0 8px 28px rgba(70,55,30,.08) !important;
}
body:not(.home) .as-header .as-brand img{
  filter:none !important;
}

/* Liens du menu : texte sombre, contour or doux */
.as-menu>li>a,
.as-fallback-menu>li>a,
.as-header.is-scrolled .as-menu>li>a,
.as-header.is-scrolled .as-fallback-menu>li>a,
body:not(.home) .as-menu>li>a,
body:not(.home) .as-fallback-menu>li>a,
body:not(.home) .as-header.is-scrolled .as-menu>li>a,
body:not(.home) .as-header.is-scrolled .as-fallback-menu>li>a{
  color:var(--as-text) !important;
  background:rgba(255,253,247,.55) !important;
  border-color:rgba(184,146,74,.38) !important;
}
.as-menu>li>a:hover,
.as-fallback-menu>li>a:hover,
.as-menu>.current-menu-item>a,
.as-menu>.current_page_item>a,
body:not(.home) .as-menu>li>a:hover,
body:not(.home) .as-fallback-menu>li>a:hover{
  background:rgba(184,146,74,.16) !important;
  border-color:var(--as-gold) !important;
  color:#3a2e15 !important;
}

/* Bouton "Rendez-vous" mis en valeur */
.as-menu>li>a[href*="prise-de-rendez-vous"],
.as-fallback-menu>li>a[href*="prise-de-rendez-vous"],
body:not(.home) .as-menu>li>a[href*="prise-de-rendez-vous"],
body:not(.home) .as-fallback-menu>li>a[href*="prise-de-rendez-vous"]{
  background:var(--as-gold) !important;
  border-color:var(--as-gold) !important;
  color:#fffaf0 !important;
}
.as-menu>li>a[href*="prise-de-rendez-vous"]:hover,
.as-fallback-menu>li>a[href*="prise-de-rendez-vous"]:hover{
  background:var(--as-gold-2) !important;
  border-color:var(--as-gold-2) !important;
  color:#fffaf0 !important;
}

/* Toggle mobile */
.as-mobile-toggle,
body:not(.home) .as-mobile-toggle{
  color:var(--as-text) !important;
  background:rgba(255,253,247,.7) !important;
  border-color:rgba(184,146,74,.45) !important;
}

/* --- HERO (home) : ivoire chaud à gauche (texte), image révélée à droite */
body.home .as-hero{
  color:var(--as-text) !important;
  background:
    linear-gradient(95deg,
      rgba(251,246,236,.97) 0%,
      rgba(248,242,230,.94) 32%,
      rgba(246,239,227,.62) 56%,
      rgba(246,239,227,.18) 78%,
      rgba(246,239,227,.00) 100%),
    url('assets/img/home-hero-neural.png') right center / cover no-repeat !important;
}
body.home .as-hero:before{
  background:
    radial-gradient(circle at 22% 38%, rgba(184,146,74,.10), transparent 38%) !important;
  opacity:1 !important;
}
body.home .as-hero h1{
  color:#2a261f !important;
  text-shadow:none !important;
}
body.home .as-hero p{
  color:rgba(70,62,52,.92) !important;
}
.as-kicker{color:var(--as-gold-2) !important;}

/* Ligne décorative or */
.as-gold-line span:first-child{background:var(--as-gold) !important;}
.as-gold-line span:last-child{
  background:linear-gradient(90deg,var(--as-gold),rgba(184,146,74,.25),transparent) !important;
}

/* --- BOUTONS hero : "En savoir plus" devient visible ------------------ */
.as-btn-primary{
  border:1.5px solid var(--as-gold) !important;
  background:var(--as-gold) !important;
  color:#fffaf0 !important;
}
.as-btn-primary:hover{
  background:var(--as-gold-2) !important;
  border-color:var(--as-gold-2) !important;
  color:#fffaf0 !important;
}
.as-btn-secondary{
  border:1.5px solid var(--as-gold) !important;
  background:transparent !important;
  color:#3a2e15 !important;
}
.as-btn-secondary:hover{
  background:rgba(184,146,74,.14) !important;
  color:#2a2107 !important;
}

/* --- TITRES DE SECTION ------------------------------------------------ */
.as-section-title{color:#2a261f !important;}
.as-section-intro{color:var(--as-muted) !important;}

/* --- CARTES ----------------------------------------------------------- */
.as-card{
  background:#fffdf7 !important;
  border:1px solid rgba(184,146,74,.20) !important;
  box-shadow:0 14px 36px rgba(70,55,30,.08) !important;
}
.as-card h3{color:#2a261f !important;}
.as-card p{color:#5f574c !important;}
.as-card a{color:var(--as-gold-2) !important;}

/* --- BANDES SOMBRES → bandes douces ----------------------------------- */
.as-dark-band{
  background:linear-gradient(180deg, var(--as-sand) 0%, #e3d2b3 100%) !important;
  color:var(--as-text) !important;
}
.as-dark-band .as-section-title{color:#2a261f !important;}
.as-dark-band .as-section-intro{color:#5f574c !important;}
.as-dark-band .as-card{background:rgba(255,253,247,.96) !important;}
.as-suffering-band .as-card{background:rgba(255,253,247,.96) !important;}

/* --- CARTE URGENCE : sobriété, pas de noir ---------------------------- */
.as-emergency-btn{
  background:var(--as-green-2) !important;
  border-color:var(--as-green-2) !important;
  color:#f6efe3 !important;
}
.as-emergency-btn:hover{
  background:#1f261e !important;
  border-color:#1f261e !important;
  color:#fffaf0 !important;
}

/* --- BOUTONS "VOIR PLUS" sur publications ----------------------------- */
.as-load-more-btn,
.as-publications-page .as-load-more-btn{
  background:var(--as-gold) !important;
  border:1.5px solid var(--as-gold) !important;
  color:#fffaf0 !important;
  box-shadow:0 12px 30px rgba(184,146,74,.22) !important;
}
.as-load-more-btn:hover,
.as-publications-page .as-load-more-btn:hover{
  background:var(--as-gold-2) !important;
  border-color:var(--as-gold-2) !important;
  color:#fffaf0 !important;
}

/* Publications kicker */
.as-publications-kicker{
  color:var(--as-gold-2) !important;
  border-color:rgba(184,146,74,.42) !important;
}

/* --- ARTICLES (single, page) ------------------------------------------ */
.as-page h1,.as-page h2,.as-page h3{color:#2a261f;}
.as-page a{color:var(--as-gold-2) !important;}

/* --- FOOTER : vert profond chaud, plus pitch black -------------------- */
.as-footer{
  background:linear-gradient(180deg, var(--as-green-2) 0%, #252b25 100%) !important;
  color:#ede4d2 !important;
}
.as-footer a{color:#ede4d2 !important;}
.as-footer a:hover{color:var(--as-gold) !important;}
.as-footer li{color:rgba(237,228,210,.82) !important;}
.as-footer h3,.as-footer h4{color:#f6efe3 !important;}

/* --- MENU MOBILE : fond clair + FIX du bug de sous-menu --------------- */

/* On retire le display:flex sur les <li> du menu (V6) UNIQUEMENT en mobile.
   C'était la cause du sous-menu en colonne étroite : le parent <li> devenait
   flex-row et le <ul.sub-menu> se collait à droite du lien parent. */
@media (max-width:1100px){
  .as-menu > li,
  .as-fallback-menu > li{
    display:block !important;
  }

  /* Tiroir mobile : fond ivoire, plus de vert sombre */
  .as-nav-wrap.is-open{
    background:rgba(251,246,236,.98) !important;
    border:1px solid rgba(184,146,74,.32) !important;
    box-shadow:0 24px 60px rgba(70,55,30,.16) !important;
    padding:18px !important;
  }
  .as-nav-wrap.is-open a{
    color:var(--as-text) !important;
    background:rgba(255,253,247,.6) !important;
    border-color:rgba(184,146,74,.32) !important;
  }
  .as-nav-wrap.is-open a:hover{
    background:rgba(184,146,74,.14) !important;
    border-color:var(--as-gold) !important;
  }

  /* Sous-menu : largeur pleine, fond légèrement teinté, indentation visible */
  .as-nav-wrap.is-open .sub-menu{
    position:static !important;
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    background:rgba(236,223,199,.32) !important;
    border:1px solid rgba(184,146,74,.20) !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    margin:6px 0 12px !important;
    padding:8px !important;
  }
  .as-nav-wrap.is-open .sub-menu li{
    display:block !important;
    width:100% !important;
  }
  .as-nav-wrap.is-open .sub-menu a{
    width:100% !important;
    min-height:42px !important;
    padding:10px 14px !important;
    font-size:13px !important;
    text-align:left !important;
    justify-content:flex-start !important;
    white-space:normal !important;
    line-height:1.35 !important;
    color:var(--as-text) !important;
    background:transparent !important;
    border:0 !important;
  }
  .as-nav-wrap.is-open .sub-menu a:hover{
    background:rgba(184,146,74,.16) !important;
    color:#3a2e15 !important;
  }
}

/* --- HERO mobile/tablette : wash plus discret, l'image respire --------- */
@media (max-width:1100px){
  body.home .as-hero{
    background:
      linear-gradient(180deg,
        rgba(251,246,236,.96) 0%,
        rgba(248,242,230,.92) 38%,
        rgba(246,239,227,.55) 68%,
        rgba(246,239,227,.20) 100%),
      url('assets/img/home-hero-neural.png') 72% center / cover no-repeat !important;
  }
}
@media (max-width:720px){
  body.home .as-hero{
    background:
      linear-gradient(180deg,
        rgba(251,246,236,.96) 0%,
        rgba(248,242,230,.93) 42%,
        rgba(246,239,227,.50) 72%,
        rgba(246,239,227,.15) 100%),
      url('assets/img/home-hero-neural.png') 68% center / cover no-repeat !important;
  }
}

/* --- Pagination & divers ---------------------------------------------- */
.as-pagination a,.as-pagination span{
  border-color:rgba(184,146,74,.32) !important;
  color:var(--as-text);
}
.as-pagination .current{
  background:var(--as-gold) !important;
  color:#fffaf0 !important;
  border-color:var(--as-gold) !important;
}

/* --- Lien "Lire l'article →" sur publications ------------------------- */
.as-readmore{color:var(--as-gold-2) !important;}

/* --- Décor intérieur du hero (chair/plant/frame) : caché sur home ------ */
/* Déjà caché par V16 sur la home, on s'assure que ça reste cohérent.    */
body.home .as-hero-visual{display:none !important;}

/* --- LOGO : la nouvelle version sombre est utilisée dans header.php et
       front-page.php (logo-armand-shneor-dark.png). La version blanche
       d'origine reste utilisée dans footer.php (footer toujours sombre).
       Ici on adoucit l'ombre portée, plus nécessaire sur fond clair.    */
.as-brand img,
body:not(.home) .as-header .as-brand img,
.as-hero-logo{
  filter:drop-shadow(0 4px 10px rgba(70,55,30,.10)) !important;
}

/* FIN V17 — Refuge */
