/* AEM Élagage — styles isolés aux pages gérées */
.aem-refonte-active { color: var(--aem-text); background: #fff; }
.aem-refonte-active .entry-header,
.aem-refonte-active .page-title,
.aem-refonte-active .hero-section[data-type="type-1"] { display:none !important; }
.aem-refonte-active .site-main,
.aem-refonte-active .entry-content { margin:0 !important; padding:0 !important; max-width:none !important; }
.aem-refonte-active .entry-content > * { margin-top:0; margin-bottom:0; }
.aem-refonte-active .alignfull { width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); }
.aem-refonte-active .alignwide { max-width:1180px; margin-left:auto; margin-right:auto; }
.aem-refonte-active h1,.aem-refonte-active h2,.aem-refonte-active h3 { color:var(--aem-dark); line-height:1.08; letter-spacing:-.035em; }
.aem-refonte-active h1 { font-size:clamp(2.45rem,5vw,5rem); margin:.35em 0 .3em; }
.aem-refonte-active h2 { font-size:clamp(1.85rem,3.4vw,3.3rem); margin:.25em 0 .45em; }
.aem-refonte-active h3 { font-size:clamp(1.15rem,1.8vw,1.45rem); margin:.1em 0 .55em; }
.aem-refonte-active p,.aem-refonte-active li { font-size:clamp(1rem,1.1vw,1.08rem); line-height:1.75; color:var(--aem-muted); }
.aem-refonte-active a { text-underline-offset:3px; }
.aem-section { padding:clamp(64px,8vw,112px) 24px; }
.aem-section > * { max-width:1180px; margin-left:auto; margin-right:auto; }
.aem-section-cream { background:var(--aem-cream); }
.aem-section-dark { background:var(--aem-dark); color:#fff; }
.aem-section-dark h2,.aem-section-dark h3,.aem-section-dark p,.aem-section-dark .aem-eyebrow { color:#fff; }
.aem-eyebrow { margin:0 0 12px !important; color:var(--aem-primary) !important; font-size:.78rem !important; font-weight:800; text-transform:uppercase; letter-spacing:.14em; }
.aem-section-lead,.aem-lead { max-width:790px; font-size:clamp(1.08rem,1.45vw,1.3rem) !important; }
.aem-intro { text-align:center; }
.aem-intro .aem-section-lead { margin-left:auto; margin-right:auto; }
.aem-hero { position:relative; overflow:hidden; padding:clamp(72px,8vw,124px) 24px; background:linear-gradient(135deg,var(--aem-dark),var(--aem-dark-2)); }
.aem-hero:before { content:""; position:absolute; inset:auto -15% -55% auto; width:640px; height:640px; border-radius:50%; background:radial-gradient(circle,rgba(232,94,42,.35),transparent 66%); pointer-events:none; }
.aem-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.02fr) minmax(340px,.98fr); gap:clamp(36px,6vw,84px); align-items:center; max-width:1240px; margin:auto; }
.aem-hero h1,.aem-hero p { color:#fff; }
.aem-hero .aem-eyebrow { color:#ff956c !important; }
.aem-hero-media { position:relative; min-height:520px; }
.aem-hero-media:after { content:""; position:absolute; inset:22px -18px -18px 22px; border:1px solid rgba(255,255,255,.2); border-radius:28px; }
.aem-hero-media img { position:relative; z-index:1; width:100%; height:100%; min-height:520px; object-fit:cover; border-radius:28px; box-shadow:0 28px 80px rgba(0,0,0,.35); }
.aem-micro { font-size:.85rem !important; opacity:.72; margin-top:18px !important; }
.aem-buttons { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.aem-btn { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:14px 22px !important; border-radius:999px !important; font-weight:800; text-decoration:none !important; transition:transform .2s ease,box-shadow .2s ease,background .2s ease; }
.aem-btn:hover { transform:translateY(-2px); }
.aem-btn-primary { background:var(--aem-primary) !important; color:#fff !important; box-shadow:0 12px 30px rgba(232,94,42,.28); }
.aem-btn-primary:hover { background:var(--aem-primary-dark) !important; }
.aem-btn-light { background:#fff !important; color:var(--aem-dark) !important; }
.aem-btn-outline { background:transparent !important; color:var(--aem-dark) !important; border:1px solid rgba(23,36,44,.22); }
.aem-btn-outline-light { background:transparent !important; color:#fff !important; border:1px solid rgba(255,255,255,.6); }
.aem-trust { padding:0 24px; background:#fff; box-shadow:0 18px 55px rgba(23,36,44,.08); position:relative; z-index:2; }
.aem-trust-grid { max-width:1180px; margin:auto; display:grid; grid-template-columns:repeat(4,1fr); }
.aem-trust-item { padding:24px 18px; display:flex; gap:10px; align-items:center; justify-content:center; border-right:1px solid rgba(23,36,44,.08); font-weight:700; font-size:.94rem; }
.aem-trust-item:last-child { border-right:0; }
.aem-trust-item span { color:var(--aem-primary); }
.aem-grid { display:grid; gap:22px; }
.aem-grid-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.aem-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.aem-card { padding:30px; border:1px solid rgba(23,36,44,.1); border-radius:22px; background:#fff; box-shadow:0 14px 40px rgba(23,36,44,.06); transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.aem-card:hover { transform:translateY(-5px); box-shadow:0 22px 56px rgba(23,36,44,.11); border-color:rgba(232,94,42,.4); }
.aem-card p { margin-bottom:18px; }
.aem-card-link { color:var(--aem-primary-dark); font-weight:800; text-decoration:none; }
.aem-split { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,.9fr); gap:clamp(40px,7vw,88px); align-items:center; }
.aem-split-media img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:28px; box-shadow:0 24px 70px rgba(23,36,44,.18); }
.aem-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; counter-reset:steps; }
.aem-step { min-height:150px; padding:24px; border-radius:20px; background:var(--aem-cream); }
.aem-step span { display:inline-flex; width:38px; height:38px; border-radius:50%; align-items:center; justify-content:center; background:var(--aem-primary); color:#fff; font-weight:800; }
.aem-step p { margin:18px 0 0; color:var(--aem-dark); font-weight:700; line-height:1.45; }
.aem-check { display:flex; gap:14px; align-items:flex-start; padding:22px; border:1px solid rgba(23,36,44,.09); border-radius:18px; background:#fff; }
.aem-check span { flex:0 0 32px; height:32px; border-radius:50%; display:grid; place-items:center; color:#fff; background:var(--aem-primary); font-weight:900; }
.aem-check p { margin:2px 0 0; color:var(--aem-dark); font-weight:650; }
.aem-quality { display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center; }
.aem-project { position:relative; display:block; overflow:hidden; min-height:360px; border-radius:24px; text-decoration:none !important; background:#000; }
.aem-project img { width:100%; height:100%; min-height:360px; object-fit:cover; opacity:.8; transition:transform .45s ease,opacity .3s ease; }
.aem-project:after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.82)); }
.aem-project span { position:absolute; z-index:2; left:24px; right:24px; bottom:22px; color:#fff; font-size:1.25rem; font-weight:800; }
.aem-project:hover img { transform:scale(1.05); opacity:1; }
.aem-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.aem-gallery figure { margin:0; }
.aem-gallery img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:22px; }
.aem-gallery figcaption { padding:10px 4px; color:var(--aem-muted); font-size:.9rem; }
.aem-faq-list { max-width:920px; margin:34px auto 0; }
.aem-faq { border-bottom:1px solid rgba(23,36,44,.15); }
.aem-faq summary { cursor:pointer; padding:22px 42px 22px 0; position:relative; font-weight:800; color:var(--aem-dark); font-size:1.08rem; list-style:none; }
.aem-faq summary::-webkit-details-marker { display:none; }
.aem-faq summary:after { content:"+"; position:absolute; right:6px; top:17px; font-size:1.8rem; color:var(--aem-primary); }
.aem-faq[open] summary:after { content:"−"; }
.aem-faq div { padding:0 30px 20px 0; }
.aem-cta-wrap { background:var(--aem-primary); }
.aem-cta { display:flex; align-items:center; justify-content:space-between; gap:36px; }
.aem-cta h2,.aem-cta p,.aem-cta .aem-eyebrow { color:#fff !important; }
.aem-form-layout { display:grid; grid-template-columns:.72fr 1.28fr; gap:60px; align-items:start; }
.aem-form-card { background:#fff; padding:34px; border-radius:24px; box-shadow:0 22px 60px rgba(23,36,44,.12); }
.aem-form-card input,.aem-form-card select,.aem-form-card textarea { border-radius:10px !important; }
.aem-form-card button,.aem-form-card input[type=submit] { background:var(--aem-primary) !important; border-radius:999px !important; font-weight:800 !important; }
.aem-legal { max-width:880px !important; }
.aem-legal h1 { font-size:clamp(2.4rem,5vw,4rem); }
.aem-warning { border-left:5px solid var(--aem-primary); }
.aem-thankyou { text-align:center; max-width:760px !important; margin:auto; padding:70px 0; }
.aem-thankyou .aem-buttons { justify-content:center; }
.aem-mobile-bar { display:none; }
@media (max-width:900px){
  .aem-hero-grid,.aem-split,.aem-quality,.aem-form-layout { grid-template-columns:1fr; }
  .aem-hero-media,.aem-hero-media img { min-height:380px; }
  .aem-grid-3,.aem-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .aem-trust-grid { grid-template-columns:repeat(2,1fr); }
  .aem-trust-item:nth-child(2) { border-right:0; }
  .aem-trust-item:nth-child(-n+2) { border-bottom:1px solid rgba(23,36,44,.08); }
  .aem-cta { align-items:flex-start; flex-direction:column; }
}
@media (max-width:620px){
  body.aem-refonte-active { padding-bottom:66px; }
  .aem-section,.aem-hero { padding-left:18px; padding-right:18px; }
  .aem-hero { padding-top:58px; padding-bottom:64px; }
  .aem-hero-media,.aem-hero-media img { min-height:300px; }
  .aem-grid-2,.aem-grid-3,.aem-steps,.aem-gallery { grid-template-columns:1fr; }
  .aem-trust-grid { grid-template-columns:1fr; }
  .aem-trust-item { border-right:0; border-bottom:1px solid rgba(23,36,44,.08); justify-content:flex-start; }
  .aem-card { padding:24px; }
  .aem-buttons { flex-direction:column; align-items:stretch; }
  .aem-btn { width:100%; }
  .aem-mobile-bar { display:grid; position:fixed; z-index:99999; left:0; right:0; bottom:0; grid-template-columns:1fr 1.2fr; box-shadow:0 -8px 30px rgba(0,0,0,.2); }
  .aem-mobile-bar a { min-height:62px; display:grid; place-items:center; background:var(--aem-dark); color:#fff; text-decoration:none; font-weight:800; }
  .aem-mobile-bar a:last-child { background:var(--aem-primary); }
}

/* Articles */
.aem-articles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.aem-article-card{background:var(--aem-surface);border:1px solid rgba(23,36,44,.11);border-radius:20px;overflow:hidden;box-shadow:0 16px 42px rgba(23,36,44,.08)}
.aem-article-card__media{display:block;aspect-ratio:16/10;overflow:hidden}
.aem-article-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.aem-article-card:hover .aem-article-card__media img{transform:scale(1.035)}
.aem-article-card__body{padding:26px}
.aem-article-card__body h2{font-size:clamp(1.2rem,2vw,1.55rem);margin:.25rem 0 .8rem}
.aem-article-card__body h2 a{color:var(--aem-dark);text-decoration:none}
.aem-article-card__date{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:var(--aem-primary-dark);font-weight:700}
.aem-text-link{font-weight:750;color:var(--aem-primary-dark)}
.aem-pagination ul{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;list-style:none;margin:36px 0 0;padding:0}
.aem-pagination a,.aem-pagination span{display:grid;place-items:center;min-width:42px;height:42px;border-radius:10px;border:1px solid rgba(23,36,44,.14);text-decoration:none}
.aem-pagination .current{background:var(--aem-dark);color:#fff;border-color:var(--aem-dark)}
.aem-empty-state{padding:34px;border:1px dashed rgba(23,36,44,.25);border-radius:18px;text-align:center;background:var(--aem-cream)}
@media(max-width:900px){.aem-articles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.aem-articles-grid{grid-template-columns:1fr}}

/* AEM Élagage v2 refinements */
.aem-refonte-active{--theme-palette-color-1:var(--aem-primary);--theme-palette-color-2:var(--aem-primary-dark);}
.aem-refonte-active .aem-hero{background:linear-gradient(135deg,var(--aem-dark),var(--aem-dark-2));}
.aem-refonte-active .aem-eyebrow{color:var(--aem-primary);letter-spacing:.12em;text-transform:uppercase;font-weight:800;font-size:.78rem;}
.aem-refonte-active .aem-card{border-top:3px solid var(--aem-primary);}
.aem-refonte-active .aem-hero-media img,.aem-refonte-active .aem-split-media img{aspect-ratio:4/3;object-fit:cover;}
.aem-refonte-active .aem-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.aem-refonte-active .aem-gallery-item{margin:0;overflow:hidden;border-radius:18px}.aem-refonte-active .aem-gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.aem-refonte-active .aem-contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:42px;align-items:start}
@media(max-width:782px){.aem-refonte-active .aem-gallery{grid-template-columns:1fr 1fr}.aem-refonte-active .aem-contact-grid{grid-template-columns:1fr}}
@media(max-width:520px){.aem-refonte-active .aem-gallery{grid-template-columns:1fr}}

/* AEM Élagage v2.1 — contenu enrichi et médias embarqués */
.aem-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.aem-explain-grid{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr);gap:clamp(38px,6vw,76px);align-items:center}
.aem-explain-media{position:relative}
.aem-explain-media:before{content:"";position:absolute;inset:18px -16px -16px 18px;border:1px solid rgba(232,94,42,.28);border-radius:26px}
.aem-explain-media img{position:relative;z-index:1;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:24px;box-shadow:0 22px 58px rgba(23,36,44,.16)}
.aem-prep-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:50px;align-items:start}
.aem-visual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:38px}
.aem-visual-card{overflow:hidden;border-radius:24px;background:#fff;border:1px solid rgba(23,36,44,.1);box-shadow:0 16px 44px rgba(23,36,44,.08)}
.aem-visual-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.aem-visual-card>div{padding:26px 28px 28px}
.aem-visual-card h3{margin-top:0}
.aem-visual-card p{margin-bottom:0}
.aem-refonte-active .aem-section-cream .aem-visual-card{background:var(--aem-surface)}
.aem-refonte-active .aem-explain+.aem-section-cream{border-top:1px solid rgba(23,36,44,.05)}
@media(max-width:1050px){.aem-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.aem-explain-grid,.aem-prep-grid{grid-template-columns:1fr}.aem-explain-media{max-width:760px}.aem-visual-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.aem-grid-4,.aem-visual-grid{grid-template-columns:1fr}.aem-explain-media:before{display:none}.aem-visual-card>div{padding:22px}}

/* =========================================================
   AEM Élagage v2.2 — préversion client / harmonisation globale
   ========================================================= */
.aem-refonte-active{
  --aem-radius:22px;
  --aem-radius-lg:30px;
  --aem-border:rgba(16,42,32,.11);
  --aem-shadow:0 18px 52px rgba(16,42,32,.09);
}

/* Alignements : une seule ligne de grille visuelle sur tout le site */
.aem-refonte-active .aem-section{
  width:100vw !important;
  max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  box-sizing:border-box;
  padding:clamp(68px,7vw,104px) clamp(20px,3vw,32px);
}
.aem-refonte-active .aem-section > .aem-section-inner{
  width:100%;
  max-width:1180px !important;
  margin:0 auto !important;
  padding:0 !important;
  box-sizing:border-box;
}
.aem-refonte-active .aem-section-inner > .aem-eyebrow,
.aem-refonte-active .aem-section-inner > h1,
.aem-refonte-active .aem-section-inner > h2,
.aem-refonte-active .aem-section-inner > h3,
.aem-refonte-active .aem-section-inner > p,
.aem-refonte-active .aem-section-inner > ul,
.aem-refonte-active .aem-section-inner > ol{
  margin-left:0 !important;
  margin-right:auto !important;
}
.aem-refonte-active .aem-section-inner > p{max-width:900px;}
.aem-refonte-active .aem-section-inner > h2{max-width:980px;}
.aem-refonte-active .aem-intro .aem-section-inner > .aem-eyebrow,
.aem-refonte-active .aem-intro .aem-section-inner > h2,
.aem-refonte-active .aem-intro .aem-section-inner > p{
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center;
}
.aem-refonte-active .aem-eyebrow{
  margin-top:0 !important;
  margin-bottom:12px !important;
  color:var(--aem-primary) !important;
}
.aem-refonte-active h1{font-size:clamp(2.35rem,4.4vw,4.45rem);letter-spacing:-.04em;}
.aem-refonte-active h2{font-size:clamp(1.8rem,3vw,2.85rem);letter-spacing:-.035em;}
.aem-refonte-active h3{letter-spacing:-.02em;}
.aem-refonte-active p,.aem-refonte-active li{line-height:1.7;}
.aem-section-soft{background:#EEF3EF;}

/* Hero aligné sur le même container que les sections */
.aem-refonte-active .aem-hero{padding:clamp(68px,7.5vw,112px) clamp(20px,3vw,32px);}
.aem-refonte-active .aem-hero-grid{max-width:1180px;gap:clamp(34px,5vw,68px);}
.aem-refonte-active .aem-hero-media{min-height:460px;}
.aem-refonte-active .aem-hero-media img{min-height:460px;border-radius:26px;}
.aem-refonte-active .aem-hero-media:after{border-radius:26px;inset:16px -14px -14px 16px;}
.aem-refonte-active .aem-hero .aem-eyebrow{color:#E89065 !important;}

/* Nouvelle palette : vert forêt + terre cuite, sans moutarde */
.aem-refonte-active .aem-btn-primary{
  background:var(--aem-primary) !important;
  border:1px solid var(--aem-primary) !important;
  box-shadow:0 12px 30px rgba(16,42,32,.16);
}
.aem-refonte-active .aem-btn-primary:hover{background:var(--aem-primary-dark) !important;border-color:var(--aem-primary-dark) !important;}
.aem-refonte-active .aem-card{border-top:0;border:1px solid var(--aem-border);position:relative;overflow:hidden;}
.aem-refonte-active .aem-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--aem-primary);opacity:.88;}
.aem-refonte-active .aem-card:hover{border-color:rgba(182,83,45,.34);}
.aem-refonte-active .aem-card-link,.aem-refonte-active .aem-text-link{color:var(--aem-primary-dark);}

/* Header Blocksy : rendu neutre et premium sur les pages de préversion */
.aem-refonte-active .ct-header [data-row*="middle"],
.aem-refonte-active .ct-header [data-row*="middle"] > div{
  background:#fff !important;
}
.aem-refonte-active .ct-header [data-row*="middle"]{box-shadow:0 1px 0 rgba(16,42,32,.08);}
.aem-refonte-active .ct-header .menu > li > a,
.aem-refonte-active .ct-header .ct-menu-link{color:var(--aem-dark) !important;}
.aem-refonte-active .ct-header .menu > li > a:hover,
.aem-refonte-active .ct-header .menu > li.current-menu-item > a,
.aem-refonte-active .ct-header .menu > li.current-menu-ancestor > a{color:var(--aem-primary-dark) !important;}
.aem-refonte-active .ct-header .ct-button,
.aem-refonte-active .ct-header [data-id*="button"] a,
.aem-refonte-active .ct-header [class*="header-button"] a{
  background:var(--aem-dark) !important;
  border-color:var(--aem-dark) !important;
  color:#fff !important;
}
.aem-refonte-active .ct-header .ct-button:hover,
.aem-refonte-active .ct-header [data-id*="button"] a:hover,
.aem-refonte-active .ct-header [class*="header-button"] a:hover{background:var(--aem-primary-dark) !important;border-color:var(--aem-primary-dark) !important;}
.aem-refonte-active .ct-panel .ct-menu-link{color:var(--aem-dark) !important;}

/* Cartes, listes et étapes mieux rythmées */
.aem-refonte-active .aem-grid{align-items:stretch;}
.aem-refonte-active .aem-card{height:100%;box-sizing:border-box;box-shadow:0 10px 34px rgba(16,42,32,.06);}
.aem-refonte-active .aem-check{height:100%;box-sizing:border-box;box-shadow:0 8px 24px rgba(16,42,32,.035);}
.aem-refonte-active .aem-step{height:100%;box-sizing:border-box;background:#F5F2EA;border:1px solid rgba(16,42,32,.07);}
.aem-refonte-active .aem-step span,.aem-refonte-active .aem-check span{background:var(--aem-dark);}
.aem-refonte-active .aem-inline-links{display:flex;flex-wrap:wrap;gap:10px 18px;list-style:none;padding:0;margin-top:18px;}
.aem-refonte-active .aem-inline-links a{color:var(--aem-primary-dark);font-weight:750;text-decoration:none;}

/* Galerie / illustrations : 3 colonnes sur desktop, cohérentes en hauteur */
.aem-refonte-active .aem-visual-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.aem-refonte-active .aem-visual-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:980px;}
.aem-refonte-active .aem-visual-card{border-radius:22px;box-shadow:0 14px 38px rgba(16,42,32,.075);}
.aem-refonte-active .aem-visual-card img{aspect-ratio:16/10;}
.aem-refonte-active .aem-explain-media:before{border-color:rgba(182,83,45,.24);}

/* CTA final : suppression du grand aplat moutarde */
.aem-refonte-active .aem-cta-wrap{
  background:linear-gradient(180deg,#F5F2EA 0%,#EEF3EF 100%);
  padding-top:clamp(60px,6vw,86px);
  padding-bottom:clamp(60px,6vw,86px);
}
.aem-refonte-active .aem-cta{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  gap:clamp(34px,6vw,72px);
  align-items:center;
  padding:clamp(34px,5vw,58px);
  border-radius:32px;
  background:linear-gradient(135deg,var(--aem-dark),var(--aem-dark-2));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 26px 70px rgba(16,42,32,.18);
}
.aem-refonte-active .aem-cta:before{content:"";position:absolute;width:360px;height:360px;right:-150px;top:-190px;border-radius:50%;background:radial-gradient(circle,rgba(182,83,45,.34),rgba(182,83,45,0) 68%);pointer-events:none;}
.aem-refonte-active .aem-cta-copy,.aem-refonte-active .aem-cta-actions{position:relative;z-index:1;}
.aem-refonte-active .aem-cta h2{max-width:720px;margin-top:.2em;margin-bottom:.38em;color:#fff !important;}
.aem-refonte-active .aem-cta p{max-width:720px;color:rgba(255,255,255,.78) !important;}
.aem-refonte-active .aem-cta .aem-eyebrow{color:#F0A07A !important;}
.aem-refonte-active .aem-cta-note{font-size:.88rem !important;margin:18px 0 0 !important;color:rgba(255,255,255,.57) !important;}
.aem-refonte-active .aem-cta-actions{display:flex;flex-direction:column;align-items:stretch;gap:14px;}
.aem-refonte-active .aem-cta-actions .aem-btn{width:100%;box-sizing:border-box;background:#fff !important;color:var(--aem-dark) !important;min-height:56px;}
.aem-refonte-active .aem-cta-actions .aem-btn:hover{background:#F5F2EA !important;color:var(--aem-dark) !important;}
.aem-refonte-active .aem-cta-phone{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;border:1px solid rgba(255,255,255,.24);border-radius:16px;color:#fff !important;text-decoration:none !important;background:rgba(255,255,255,.055);transition:background .2s ease,border-color .2s ease;}
.aem-refonte-active .aem-cta-phone:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.38);}
.aem-refonte-active .aem-cta-phone span{font-size:.82rem;color:rgba(255,255,255,.65);}
.aem-refonte-active .aem-cta-phone strong{font-size:1.05rem;color:#fff;white-space:nowrap;}

/* Page contact + WPForms */
.aem-refonte-active .aem-contact-grid{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:34px;}
.aem-refonte-active .aem-contact-grid > div{border:1px solid var(--aem-border);border-radius:24px;padding:clamp(26px,3vw,38px);box-sizing:border-box;}
.aem-refonte-active .aem-contact-grid > div:first-child{background:#EEF3EF;}
.aem-refonte-active .aem-contact-grid > div:last-child{background:#fff;box-shadow:var(--aem-shadow);}
.aem-refonte-active .wpforms-container{margin:0 !important;}
.aem-refonte-active .wpforms-container .wpforms-field{padding:8px 0 !important;}
.aem-refonte-active .wpforms-container input:not([type="checkbox"]):not([type="radio"]),
.aem-refonte-active .wpforms-container select,
.aem-refonte-active .wpforms-container textarea{
  width:100% !important;
  max-width:none !important;
  border:1px solid rgba(16,42,32,.18) !important;
  border-radius:12px !important;
  background:#fff !important;
  color:var(--aem-text) !important;
  box-shadow:none !important;
}
.aem-refonte-active .wpforms-container input:focus,
.aem-refonte-active .wpforms-container select:focus,
.aem-refonte-active .wpforms-container textarea:focus{border-color:var(--aem-primary) !important;box-shadow:0 0 0 3px rgba(182,83,45,.12) !important;}
.aem-refonte-active .wpforms-container .wpforms-submit{
  background:var(--aem-dark) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:999px !important;
  padding:13px 24px !important;
  min-height:50px;
  font-weight:800 !important;
}
.aem-refonte-active .wpforms-container .wpforms-submit:hover{background:var(--aem-primary-dark) !important;}

/* FAQ plus lisible */
.aem-refonte-active .aem-faq-list{max-width:980px;margin-left:0;margin-right:auto;}
.aem-refonte-active .aem-faq{background:#fff;border:1px solid rgba(16,42,32,.09);border-radius:16px;margin-bottom:10px;overflow:hidden;}
.aem-refonte-active .aem-faq summary{padding:20px 58px 20px 22px;}
.aem-refonte-active .aem-faq summary:after{right:22px;top:14px;}
.aem-refonte-active .aem-faq div{padding:0 22px 18px;}
.aem-refonte-active .aem-faq div p:last-child{margin-bottom:0;}

/* Mentions légales */
.aem-refonte-active .aem-legal .aem-section-inner{max-width:880px !important;}

@media(max-width:1050px){
  .aem-refonte-active .aem-visual-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .aem-refonte-active .aem-cta{grid-template-columns:1fr;}
  .aem-refonte-active .aem-cta-actions{max-width:430px;}
}
@media(max-width:900px){
  .aem-refonte-active .aem-hero-media,.aem-refonte-active .aem-hero-media img{min-height:360px;}
  .aem-refonte-active .aem-contact-grid{grid-template-columns:1fr;}
}
@media(max-width:620px){
  .aem-refonte-active .aem-section{padding:56px 18px;}
  .aem-refonte-active .aem-hero{padding-left:18px;padding-right:18px;}
  .aem-refonte-active .aem-visual-grid,.aem-refonte-active .aem-visual-grid-2{grid-template-columns:1fr;}
  .aem-refonte-active .aem-cta{padding:30px 22px;border-radius:24px;}
  .aem-refonte-active .aem-cta-phone{align-items:flex-start;flex-direction:column;gap:4px;}
  .aem-refonte-active .aem-faq summary{padding-left:18px;}
}

/* Évite les décalages latéraux liés à 100vw/scrollbar dans Blocksy */
.aem-refonte-active .aem-section.alignfull,
.aem-refonte-active .aem-hero.alignfull,
.aem-refonte-active .aem-trust.alignfull{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* Rythme vertical resserré pour éviter les grands vides sur desktop */
.aem-refonte-active .aem-section{padding-top:clamp(56px,5.5vw,84px);padding-bottom:clamp(56px,5.5vw,84px);}
.aem-refonte-active .aem-cta-wrap{padding-top:clamp(48px,5vw,68px);padding-bottom:clamp(48px,5vw,68px);}
