/* Arc'etic — socle des pages maison (remplace le CSS de Divi) : remise à zéro, typographie, en-tête, menu mobile, 404. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.arc-maison { margin: 0; background: var(--arc-fond); color: var(--arc-gris); font: 400 16px/1.65 var(--arc-police); -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* Fond « plan d'architecte » fixe, comme l'original (pseudo-élément : fonctionne aussi sur iOS) */
body.arc-maison::before { content: ""; position: fixed; inset: 0; z-index: -1; background: url("../img/fond-plan.webp") center / cover no-repeat; }
@media (max-width: 760px) { body.arc-maison::before { background-image: url("../img/fond-plan-mobile.webp"); } }
.arc-maison img, .arc-maison svg, .arc-maison video { max-width: 100%; height: auto; }
.arc-maison img { display: block; }
.arc-maison h1, .arc-maison h2, .arc-maison h3, .arc-maison h4 { margin: 0 0 .5em; color: var(--arc-noir); font-family: var(--arc-police); font-weight: 600; line-height: 1.25; }
.arc-maison p { margin: 0 0 1em; }
.arc-maison a { color: var(--arc-jaune-fonce); }
.arc-maison button { font-family: inherit; }
.arc-maison :focus-visible { outline: 3px solid var(--arc-jaune); outline-offset: 2px; }
.arc-evitement { position: absolute; left: 12px; top: -60px; z-index: 100001; padding: 10px 16px; border-radius: 8px; background: var(--arc-noir); color: #fff !important; font-weight: 600; text-decoration: none; }
.arc-evitement:focus { top: 12px; }

/* ---------- En-tête ---------- */
.arc-tete { position: fixed; inset: 0 0 auto; z-index: 9990; color: #fff; transition: background .3s, box-shadow .3s; }
.arc-tete::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(#232323 0%, rgba(35, 35, 35, .55) 55%, rgba(35, 35, 35, 0)); pointer-events: none; transition: opacity .3s; }
.arc-tete.est-plein { background: rgba(35, 35, 35, .96); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); backdrop-filter: blur(6px); }
.arc-tete.est-plein::before { opacity: 0; }
.arc-tete__in { display: flex; align-items: center; gap: 28px; width: calc(100% - 64px); max-width: 1440px; height: 76px; margin: 0 auto; transition: height .3s; }
.arc-tete.est-plein .arc-tete__in { height: 64px; }
.arc-tete__marque { flex: 0 0 auto; display: block; }
.arc-tete__logo { width: 112px; height: auto; transition: width .3s; }
.arc-tete.est-plein .arc-tete__logo { width: 96px; }
.arc-tete__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; margin-left: auto; }
.arc-tete__nav a { position: relative; padding: 6px 0; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.arc-tete__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--arc-jaune); transform: scaleX(0); transition: transform .25s; }
.arc-tete__nav a:hover::after, .arc-tete__nav a[aria-current]::after { transform: scaleX(1); }
.arc-tete__nav a[aria-current] { color: var(--arc-jaune); }
.arc-tete__cta { flex: 0 0 auto; }
.arc-tete .arc-tete__cta:hover { border-color: #fff; background: #fff; color: var(--arc-noir) !important; }
.arc-tete__burger { display: none; position: relative; width: 46px; height: 46px; margin-left: auto; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.arc-tete__burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s; }
.arc-tete__burger span:nth-child(1) { top: 16px; } .arc-tete__burger span:nth-child(2) { top: 22px; } .arc-tete__burger span:nth-child(3) { top: 28px; }
.arc-tete__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.arc-tete__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.arc-tete__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile plein écran */
.arc-menu { position: fixed; inset: 0; z-index: 9989; display: flex; flex-direction: column; gap: 26px; padding: 96px 24px 32px; overflow-y: auto; background: var(--arc-noir); color: #fff; opacity: 0; transition: opacity .25s; }
.arc-menu[hidden] { display: none; }
.arc-menu.est-ouvert { opacity: 1; }
.arc-menu nav { display: grid; }
.arc-menu nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; font-size: 21px; font-weight: 500; text-decoration: none; }
.arc-menu nav a[aria-current] { color: var(--arc-jaune); }
.arc-menu .arc-btn { align-self: stretch; }
.arc-menu__coord { display: grid; gap: 8px; margin: 0; }
.arc-menu__coord a { color: #cfccc5; text-decoration: none; }
html.arc-menu-ouvert { overflow: hidden; }

@media (max-width: 1180px) {
  .arc-tete__nav { gap: 4px 16px; }
  .arc-tete__nav a { font-size: 14px; }
}
@media (max-width: 1060px) {
  .arc-tete__nav, .arc-tete__cta { display: none; }
  .arc-tete__burger { display: block; }
  .arc-tete__in { width: calc(100% - 32px); height: 64px; }
  .arc-tete__logo { width: 92px; }
}

/* ---------- 404 ---------- */
.arc-404 { padding: 160px 0 100px; background: rgba(255, 255, 255, .92); text-align: center; }
.arc-404__code { margin: 0; color: var(--arc-jaune); font-size: 96px; font-weight: 200; line-height: 1; }
.arc-404 .arc-btn { margin: 6px; }

/* ---------- Pages légales ---------- */
.arc-wrap--etroit { width: min(820px, 100% - 32px); margin-inline: auto; }
.arc-legal__tete { padding: 130px 0 46px; background: #2b2b2a; color: #fff; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 0 100%); }
.arc-maison .arc-legal__sur { margin: 0 0 6px; color: var(--arc-jaune); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.arc-maison .arc-legal__tete h1 { margin: 0; color: #fff; font-size: clamp(32px, 4.4vw, 50px); font-weight: 300; }
.arc-maison .arc-legal__maj { margin: 10px 0 0; color: #bdb9b0; font-size: 14px; }
.arc-legal { background: rgba(255, 255, 255, .96); }
.arc-legal__corps { padding: 56px 0 90px; }
.arc-legal__texte h2 { margin: 2em 0 .5em; font-size: 22px; font-weight: 600; }
.arc-legal__texte h2:first-child { margin-top: 0; }
.arc-legal__texte h3 { font-size: 18px; }
.arc-legal__texte p, .arc-legal__texte li { font-size: 16px; }
.arc-legal__texte mark { padding: 0 4px; border-radius: 3px; background: #fbf0c4; }
.arc-legal__outil { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 30px !important; padding: 12px 16px; border-radius: 10px; background: var(--arc-jaune-clair); }
.arc-dlg--large { width: min(900px, 100vw - 24px); position: fixed; inset: 5vh 0 auto; margin: 0 auto; z-index: 100002; max-height: 90vh; overflow: auto; }
.arc-legal__pied { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin: 14px 0 0 !important; }
.arc-rgpd a { color: var(--arc-jaune-fonce); }
.arc-maison .arc-dlg__tete h2 { color: #fff; font-weight: 500; font-size: 20px; margin: 0; }
