/* webmfr.wangarden.com — présentation rapide de WebMFR (Wangarden) */
@font-face { font-family: 'Roboto'; src: url('fonts/roboto-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --nuit: #1e2a3d;
  --nuit-2: #273650;
  --nuit-3: #2f4060;
  --orange: #b9561f;      /* texte et boutons (AA sur blanc) */
  --orange-vif: #d0662c;  /* décoratif */
  --abricot: #f0a868;
  --ardoise: #6b7f99;
  --texte: #1f2733;
  --texte-doux: #4c5868;
  --fond: #ffffff;
  --fond-2: #f6f3ee;
  --trait: #e4e0d8;
  --rayon: 16px;
  --ombre: 0 18px 50px -18px rgba(20, 30, 48, .35);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--texte); background: var(--fond); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--nuit); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); font-weight: 850; }
h3 { font-size: 1.18rem; font-weight: 750; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--nuit); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--abricot); outline-offset: 3px; border-radius: 6px; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(30, 42, 61, .08); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo img { height: 40px; width: auto; }
.nav { display: none; gap: 4px; align-items: center; }
.nav a { color: var(--nuit); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--fond-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; border-radius: 999px; padding: 13px 26px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(185, 86, 31, .7); }
.btn-orange:hover { background: #a54b1a; }
.btn-ligne { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ligne:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-petit { padding: 9px 18px; font-size: .92rem; }
.btn .fl { transition: transform .15s ease; }
.btn:hover .fl { transform: translateX(3px); }
@media (min-width: 960px) { .nav { display: flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 500px at 85% 20%, rgba(208, 102, 44, .28), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(107, 127, 153, .25), transparent 60%),
  var(--nuit); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--abricot); }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.4rem + 4vw, 3.9rem); font-weight: 850; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--abricot); }
.hero .chapo { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #d6dce6; max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .puces { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; list-style: none; font-size: .95rem; color: #c3cbd8; }
.hero .puces li { display: flex; align-items: center; gap: 8px; }
.hero .puces li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(240, 168, 104, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a868' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

.vitrine { position: relative; padding-bottom: 28px; margin-right: 34px; }
.navigateur { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); }
.navigateur .barre { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #eef0f3; }
.navigateur .barre i { width: 9px; height: 9px; border-radius: 50%; background: #c9ced6; }
.navigateur .barre i:first-child { background: var(--orange-vif); }
.navigateur .barre span { margin-left: 10px; flex: 1; font-size: .7rem; color: #77808e; background: #fff; border-radius: 6px; padding: 2px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.telephone { position: absolute; right: -34px; bottom: 0; width: 26%; min-width: 92px; border-radius: 18px; padding: 6px; background: #0f1724; box-shadow: 0 24px 60px -10px rgba(0, 0, 0, .6); }
.telephone img { border-radius: 13px; }
.legende-fictif { margin-top: 14px; font-size: .78rem; color: #97a3b5; }
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: 1.02fr 1fr; align-items: center; padding-top: 88px; padding-bottom: 100px; }
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section-creme { background: var(--fond-2); }
.intro { max-width: 720px; margin-bottom: 48px; }
.intro .eyebrow { color: var(--orange); }
.intro h2 { margin: 14px 0 16px; }
.intro p { color: var(--texte-doux); font-size: 1.08rem; }
.centre { text-align: center; margin-left: auto; margin-right: auto; }
.centre .eyebrow { justify-content: center; }

/* Atouts */
.atouts { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .atouts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .atouts { grid-template-columns: repeat(3, 1fr); } }
.atout { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.atout:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: transparent; }
.atout .ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: #fbeee4; color: var(--orange); }
.atout:nth-child(3n+2) .ico { background: #e9edf3; color: var(--nuit-3); }
.atout:nth-child(3n) .ico { background: #fdf1e3; color: #9a5a16; }
.atout .ico svg { width: 24px; height: 24px; }
.atout h3 { margin-bottom: 8px; }
.atout p { color: var(--texte-doux); font-size: .98rem; }

/* Administration */
.admin { display: grid; gap: 40px; }
@media (min-width: 1000px) { .admin { grid-template-columns: .82fr 1.18fr; align-items: start; gap: 56px; } }
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.onglets button { font: inherit; font-size: .92rem; font-weight: 600; color: var(--nuit); background: #fff; border: 1px solid var(--trait); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.onglets button[aria-selected="true"] { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.ecran { margin: 0; }
.ecran[hidden] { display: none; }
.ecran .navigateur { box-shadow: var(--ombre); border: 1px solid var(--trait); }
.ecran figcaption { margin-top: 12px; font-size: .9rem; color: var(--texte-doux); }
.liste-coches { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.liste-coches li { position: relative; padding-left: 36px; color: var(--texte-doux); }
.liste-coches li strong { color: var(--nuit); display: block; font-weight: 700; }
.liste-coches li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }

.trois-minutes { margin-top: 64px; background: var(--nuit); color: #fff; border-radius: 22px; padding: 34px 26px; display: grid; gap: 28px; position: relative; overflow: hidden; }
.trois-minutes::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(208, 102, 44, .45), transparent 65%); }
.trois-minutes h3 { color: #fff; font-size: 1.6rem; font-weight: 800; }
.trois-minutes p { color: #c9d1dd; margin-top: 10px; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: e; position: relative; z-index: 1; }
.etapes li { counter-increment: e; background: var(--nuit-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 16px 18px 16px 62px; position: relative; color: #c9d1dd; font-size: .95rem; }
.etapes li strong { color: #fff; display: block; font-size: 1rem; }
.etapes li::before { content: counter(e); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--abricot); color: var(--nuit); font-weight: 800; }
@media (min-width: 900px) {
  .trois-minutes { grid-template-columns: .8fr 1.2fr; align-items: center; padding: 44px 48px; }
  .etapes { grid-template-columns: repeat(2, 1fr); }
}

/* Thèmes */
.themes { display: grid; gap: 22px; }
@media (min-width: 760px) { .themes { grid-template-columns: repeat(3, 1fr); } }
.theme { background: #fff; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--trait); display: flex; flex-direction: column; }
.theme .apercu { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e6e0; }
.theme .apercu img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.theme:hover .apercu img { transform: scale(1.03); }
.theme .corps { padding: 22px 22px 24px; }
.theme .etiquette { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--nuit-3); background: #e9edf3; border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.theme .etiquette.charte { color: #8a4a12; background: #fdf1e3; }
.theme h3 { margin-bottom: 6px; }
.theme p { color: var(--texte-doux); font-size: .96rem; }
.note { margin-top: 26px; font-size: .9rem; color: var(--texte-doux); }
.bande-couleurs { margin-top: 56px; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .bande-couleurs { grid-template-columns: 1fr 1fr; gap: 56px; } }
.bande-couleurs h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.bande-couleurs p { color: var(--texte-doux); }
.bande-couleurs .navigateur { box-shadow: var(--ombre); border: 1px solid var(--trait); }

/* Accompagnement */
.parcours { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: p; }
@media (min-width: 700px) { .parcours { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .parcours { grid-template-columns: repeat(4, 1fr); } }
.parcours li { counter-increment: p; position: relative; background: #fff; border-radius: var(--rayon); padding: 26px 24px; border: 1px solid var(--trait); }
.parcours li::before { content: "0" counter(p); display: block; font-size: 2.2rem; font-weight: 900; color: var(--orange-vif); letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
.parcours h3 { margin-bottom: 8px; }
.parcours p { color: var(--texte-doux); font-size: .96rem; }
.inclus { margin-top: 40px; display: grid; gap: 14px; }
@media (min-width: 700px) { .inclus { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .inclus { grid-template-columns: repeat(4, 1fr); } }
.inclus div { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--texte-doux); }
.inclus svg { flex: none; width: 22px; height: 22px; color: var(--orange); margin-top: 2px; }
.inclus strong { color: var(--nuit); display: block; }

/* Contact */
.contact { background: var(--nuit); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(208, 102, 44, .35), transparent 65%); }
.contact .wrap { position: relative; display: grid; gap: 36px; }
@media (min-width: 900px) { .contact .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.contact h2 { color: #fff; margin-top: 14px; }
.contact .eyebrow { color: var(--abricot); }
.contact p.chapo { color: #c9d1dd; margin-top: 16px; font-size: 1.08rem; max-width: 560px; }
.contact .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.carte-contact { background: var(--nuit-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 28px; display: grid; gap: 18px; }
.carte-contact div { display: flex; gap: 14px; align-items: flex-start; }
.carte-contact svg { flex: none; width: 22px; height: 22px; color: var(--abricot); margin-top: 3px; }
.carte-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.carte-contact a:hover { text-decoration: underline; }
.carte-contact span { color: #c9d1dd; display: block; font-size: .92rem; }

/* Pied */
.pied { background: #151e2c; color: #9aa6b8; font-size: .9rem; padding: 34px 0; }
.pied .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.pied img { height: 34px; width: auto; }
.pied a { color: #d6dce6; }
.pied nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Page simple (mentions légales) */
.page-simple { padding: 64px 0 88px; }
.page-simple .wrap { max-width: 820px; }
.page-simple h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.6rem); font-weight: 850; margin: 12px 0 28px; }
.page-simple h2 { font-size: 1.3rem; font-weight: 750; margin: 36px 0 10px; }
.page-simple p { color: var(--texte-doux); margin-bottom: 10px; }

/* Apparitions douces (désactivées si l'utilisateur limite les animations) */
@media (prefers-reduced-motion: no-preference) {
  .js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .apparait.vu { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .atout, .theme .apercu img { transition: none; } }

/* Formulaire de contact */
.formulaire { background: #fff; color: var(--texte); border-radius: 20px; padding: 28px 22px; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .55); }
@media (min-width: 700px) { .formulaire { padding: 34px 34px 30px; } }
.formulaire h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 18px; }
.formulaire p { margin: 0; }
.champs { display: grid; gap: 14px; }
@media (min-width: 560px) { .champs { grid-template-columns: 1fr 1fr; } .champs .large { grid-column: 1 / -1; } }
.formulaire label { display: block; font-size: .9rem; font-weight: 600; color: var(--nuit); margin-bottom: 6px; }
.formulaire label span { color: var(--orange); }
.formulaire input[type=text], .formulaire input[type=email], .formulaire input[type=tel], .formulaire textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--texte); background: #fbfaf8; border: 1px solid #d5d0c6; border-radius: 10px; padding: 11px 13px; transition: border-color .15s ease, box-shadow .15s ease; }
.formulaire textarea { resize: vertical; min-height: 130px; }
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(208, 102, 44, .2); background: #fff; }
.formulaire .piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulaire .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .88rem; color: var(--texte-doux); }
.formulaire .consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--orange); }
.formulaire .consent label { font-weight: 400; color: var(--texte-doux); font-size: .88rem; margin: 0; }
.formulaire .envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.formulaire button[disabled] { opacity: .7; cursor: progress; transform: none; }
.formulaire .obligatoire { font-size: .82rem; color: var(--texte-doux); }
.formulaire .retour:empty { display: none; }
.formulaire .retour { margin-top: 18px; border-radius: 12px; padding: 14px 16px; font-size: .95rem; font-weight: 600; }
.formulaire .retour.ok { background: #e7f4ec; color: #1d6b40; }
.formulaire .retour.erreur { background: #fcebe6; color: #9b3412; }
.formulaire .retour ul { margin: 6px 0 0; padding-left: 20px; font-weight: 400; }
.contact .carte-contact { margin-top: 30px; }
@media (min-width: 900px) { .contact .wrap { grid-template-columns: .9fr 1.1fr; align-items: start; } }
