:root { color-scheme: light; --night:#080959; --blue:#13157e; --gold:#e5b63d; --parchment:#fff1cc; --pink:#be096e; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; color:#12145b; background: radial-gradient(circle at 50% 1%, #67379d 0, #151071 490px, #050947 76%); font: 17px/1.55 Georgia, 'Times New Roman', serif; }
a { color:inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline:3px solid #ffbb26; outline-offset:3px; }
[hidden] { display:none!important; }
.visually-hidden { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.td-header { max-width:1440px; margin:auto; min-height:65px; padding:5px clamp(18px,4vw,60px); background:#050846; color:#ffedb0; display:flex; gap:20px; align-items:center; justify-content:space-between; border-bottom:2px solid #d09a39; }
.td-logo { flex:0 0 290px; width:290px; display:block; }
.td-header nav { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:7px 27px; font:700 18px/1.3 Georgia,serif; }
.td-header nav a { text-decoration:none; padding:8px 5px; white-space:nowrap; }
.td-header nav a:hover, .td-header nav a[aria-current] { color:#ffda50; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:6px; }
main { max-width:1180px; margin:0 auto; padding:0 24px 50px; }
.numerology-hero { height:385px; position:relative; display:grid; place-items:center; isolation:isolate; overflow:hidden; background:radial-gradient(ellipse at 48% 38%,#fff2bc 0,#ffde80 23%,#f9a446 44%,#88147a 71%,#090968 97%); border:2px solid #ddae50; border-top:0; border-radius:0 0 35px 35px; box-shadow:0 18px 32px #0007; }
.hero-figure { position:absolute; z-index:-1; top:0; height:370px; pointer-events:none; background-image:url('/assets/numerologie-maquette.png'); background-repeat:no-repeat; background-size:1122px 1402px; }
.figure-left { left:0; width:225px; background-position:0 -55px; mask-image:linear-gradient(to right,#000 85%,transparent); }
.figure-right { right:0; width:360px; background-position:-762px -55px; mask-image:linear-gradient(to right,transparent,#000 25%); }
.hero-content { position:relative; max-width:470px; margin:0 23% 15px 6%; padding:12px 18px; text-align:center; text-shadow:0 1px 1px #fff8; }
.hero-content h1 { font:italic 700 clamp(2.55rem,5.2vw,4.5rem)/.99 Georgia,serif; letter-spacing:-.04em; margin:0 0 16px; }
.hero-content em { display:block; font-style:inherit; }
.hero-content p { max-width:420px; margin:0 auto 24px; font:700 italic 21px/1.25 Georgia,serif; }
.hero-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }
.pink-action,.light-action { display:inline-flex; justify-content:center; align-items:center; border-radius:999px; border:2px solid #f7c756; padding:11px 20px; min-height:48px; text-decoration:none; font:700 17px/1.3 Georgia,serif; cursor:pointer; box-shadow:0 3px 0 #8c542f,0 5px 13px #18064c65; transition:transform .18s,filter .18s; }
.pink-action { background:linear-gradient(#f4269c,#ad005b); color:#fff9eb; }
.light-action { background:linear-gradient(#fffbed,#ffdd88); color:#13165d; }
.pink-action:hover,.light-action:hover { transform:translateY(-3px); filter:brightness(1.05); }
.hero-actions .pink-action,.hero-actions .light-action { padding:10px 14px; font-size:15.5px; }
h2 { line-height:1.18; }
.study-panel,.article-panel { margin:24px 0; padding:25px clamp(14px,3vw,38px) 30px; border:2px solid #e2ae42; border-radius:32px; background:linear-gradient(135deg,#ffe9b1 0%,#fff7db 40%,#f7d68f 100%); box-shadow:inset 0 0 0 5px #fff5d7aa,0 13px 22px #0006; }
.study-panel h2,.article-panel h2 { margin:0 0 22px; text-align:center; font:italic 700 clamp(2rem,3.5vw,3rem)/1.1 Georgia,serif; }
.study-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.study-card { display:flex; position:relative; flex-direction:column; align-items:center; text-align:center; min-height:228px; padding:6px 12px 27px; border:1px solid #d2ad76; border-radius:21px; text-decoration:none; background:#fff3d6; box-shadow:0 4px 5px #684d4280; transition:transform .2s,box-shadow .2s; }
.study-card:hover,.article-card:hover { transform:translateY(-4px); box-shadow:0 9px 15px #50402580; }
.study-art { flex:none; width:100%; max-width:255px; height:121px; display:block; background-image:url('/assets/numerologie-maquette.png'); background-repeat:no-repeat; background-size:1122px 1402px; }
.art-chemin { background-position:-110px -485px; }
.art-annee { background-position:-435px -485px; }
.art-mois { background-position:-770px -485px; }
.art-jour { background-position:-105px -709px; }
.art-expression { background-position:-435px -710px; }
.art-compatibilite { background-position:-770px -709px; }
.study-card strong { font:700 clamp(1.3rem,2.3vw,1.75rem)/1.12 Georgia,serif; }
.study-card > span:nth-of-type(2) { font:17px/1.3 Arial,sans-serif; margin:5px 0 0; }
.study-arrow { position:absolute; bottom:3px; display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:linear-gradient(#ffe938,#bd7900); color:#102066; font:700 28px/18px Arial; }
.benefits { color:#fff9db; display:grid; grid-template-columns:repeat(3,1fr); gap:15px; padding:13px 20px; }
.benefits div { display:flex; align-items:center; gap:18px; }
.benefits div+div { border-left:1px solid var(--gold); padding-left:20px; }
.benefits div>span { color:#ffd126; font:italic 48px/1 Georgia,serif; }
.benefits p { margin:0; font:15px/1.35 Arial,sans-serif; }
.benefits strong { display:block; font:700 21px/1.2 Georgia,serif; margin-bottom:3px; }
.ad-future-note { color:#ffe3a3; text-align:center; border:1px solid #e2bd58; border-radius:30px; max-width:850px; margin:14px auto 23px; padding:7px 17px; font:italic 15px/1.35 Georgia,serif; }
.parchment { background:linear-gradient(140deg,#fff9e7,#fce8bc 74%,#f9db9f); border:2px solid #daaa4e; border-radius:25px; box-shadow:inset 0 0 0 4px #fff9e5b3,0 7px 19px #0006; }
.method-intro { margin:26px auto; padding:24px clamp(19px,4vw,42px); }
.method-intro h2 { text-align:center; margin:0 0 12px; font:italic 700 clamp(1.7rem,3vw,2.4rem) Georgia,serif; }
.method-intro p,.explanation p,.article-main p { max-width:82ch; margin:0 auto 13px; }
.num-ad-space { min-height:110px; margin:28px auto; }
.article-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.article-card { display:flex; min-height:165px; align-items:center; gap:11px; padding:7px; background:#fff4d9; border:1px solid #d9b06b; border-radius:18px; text-decoration:none; box-shadow:0 3px 5px #624f3e80; transition:transform .2s,box-shadow .2s; }
.article-art { display:block; flex:none; width:135px; height:153px; border-radius:13px; background-image:url('/assets/numerologie-maquette.png'); background-repeat:no-repeat; background-size:1122px 1402px; }
.art-article-chemin { background-position:-26px -1197px; }
.art-article-maitres { background-position:-393px -1197px; }
.art-article-relations { background-position:-753px -1197px; }
.article-copy { display:block; font:15px/1.3 Arial,sans-serif; }
.article-copy strong { display:block; margin-bottom:9px; font:700 19px/1.15 Georgia,serif; }
.service-main,.article-main { padding-top:24px; }
.crumbs { color:#fff0c6; font:15px/1.5 Arial,sans-serif; margin:2px 0 20px; }
.crumbs a { color:#ffe176; text-underline-offset:3px; }
.service-header { position:relative; overflow:hidden; min-height:167px; margin-bottom:22px; padding:21px 28px 21px 196px; border:2px solid #e6bc54; border-radius:25px; color:#151466; background:radial-gradient(circle at 86% 2%,#fff3c4,#f9d481 55%,#f0b94f); }
.service-header .study-art { position:absolute; width:185px; left:7px; top:18px; }
.eyebrow { margin:0 0 4px!important; color:#9c005e; font:700 13px/1.2 Arial,sans-serif; letter-spacing:.07em; text-transform:uppercase; }
.service-header h1,.article-main h1 { font:italic 700 clamp(2.3rem,5vw,3.6rem)/1.05 Georgia,serif; margin:0 0 9px; }
.service-header p:last-child { font-size:18px; margin:0; max-width:75ch; }
.form-panel,.result-panel,.explanation,.article-main article { margin:0 0 24px; padding:24px clamp(20px,4vw,40px); }
.form-panel h2,.explanation h2,.result-panel h2 { margin:0 0 13px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:20px 0; }
.form-grid label { display:flex; flex-direction:column; gap:5px; font:700 16px/1.35 Arial,sans-serif; }
.form-grid input,.form-grid select { min-width:0; width:100%; border:1px solid #b09368; border-radius:9px; padding:12px; background:#fffef8; color:#111459; font:17px Arial,sans-serif; }
.form-grid input:focus,.form-grid select:focus { border-color:var(--pink); }
.optional { font-weight:400; }
.form-error { border-left:4px solid #b10047; padding:10px 13px; color:#880028; background:#fff1ec; }
.profile-table-wrap { overflow-x:auto; margin:22px auto; max-width:890px; }
.profile-table { border-collapse:collapse; width:100%; min-width:680px; font:15px/1.4 Arial,sans-serif; text-align:center; }
.profile-table caption { font:700 18px/1.4 Georgia,serif; margin-bottom:7px; }
.profile-table th,.profile-table td { padding:7px; border:1px solid #bea069; }
.profile-table thead { background:#131573; color:#fff1cb; }
.profile-table tbody tr:nth-child(odd) { background:#fff9e8; }
.privacy-inline,.deep-info { margin:15px 0 0; font:14px/1.45 Arial,sans-serif; color:#3d3d74; }
.result-panel { scroll-margin-top:18px; }
.result-period { font:700 16px/1.5 Arial,sans-serif; color:#5a2765; }
#result-initial p,#result-deep p { max-width:77ch; line-height:1.65; }
#result-deep { border-top:1px solid #d3b270; margin-top:25px; padding-top:17px; scroll-margin-top:20px; }
.service-next { display:flex; flex-wrap:wrap; gap:10px 25px; margin:20px 0; font:700 17px/1.5 Arial,sans-serif; color:#ffe5a3; }
.service-next a { text-underline-offset:4px; }
.article-main article { padding-top:27px; }
.article-main article header { min-height:166px; padding-left:152px; position:relative; }
.article-main article header .article-art { position:absolute; left:0; top:0; }
.article-main article section { max-width:850px; margin:0 auto 23px; }
.article-main article section h2 { font-size:1.5rem; margin:0 0 7px; }
.article-lead { font-size:1.17rem; }
.editorial-caution { font-style:italic; border-top:1px solid #d8af69; padding-top:14px; }
@media(max-width:950px) {
  .td-header { flex-wrap:wrap; justify-content:center; }
  .td-header nav { justify-content:center; }
  .figure-right { right:-100px; }
  .hero-content { margin-right:19%; margin-left:16%; background:#fff1c88c; border-radius:22px; }
  .study-grid { gap:11px; }
  .article-grid { grid-template-columns:1fr; }
  .article-card { min-height:110px; }
  .article-art { height:98px; }
}
@media(max-width:700px) {
  main { padding:0 12px 30px; }
  .td-header { padding:6px 12px; }
  .td-header nav { font-size:14px; gap:3px 12px; }
  .numerology-hero { min-height:330px; height:auto; padding:22px 7px; }
  .figure-left { left:-73px; opacity:.8; }
  .figure-right { right:-300px; opacity:.75; }
  .hero-content { margin:0; padding:20px 9px; background:#fff0cbdc; border:1px solid #e9bf71; max-width:520px; }
  .hero-content h1 { font-size:clamp(2.25rem,8vw,3.6rem); }
  .hero-content p { font-size:17px; }
  .hero-actions { gap:8px; }
  .pink-action,.light-action { font-size:15px; }
  .study-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .study-panel,.article-panel { padding:18px 9px; }
  .study-card { min-height:197px; padding:5px 5px 27px; }
  .study-art { height:106px; }
  .study-card strong { font-size:1.3rem; }
  .study-card > span:nth-of-type(2) { font-size:14px; }
  .benefits { grid-template-columns:1fr; }
  .benefits div+div { border-left:0; border-top:1px solid var(--gold); padding:10px 0 0; }
  .form-grid { grid-template-columns:1fr; }
  .service-header { padding:135px 18px 16px; text-align:center; }
  .service-header .study-art { left:50%; transform:translateX(-50%); top:8px; }
  .article-main article header { padding-left:0; padding-top:165px; }
}
@media(max-width:390px) {
  .study-grid { grid-template-columns:1fr; }
  .study-card { min-height:208px; }
  .article-copy strong { font-size:17px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .pink-action,.light-action,.study-card,.article-card { transition:none; } }

/* The artwork frames real, selectable text and links; its lower clouds dissolve
   into the existing parchment studies instead of ending in a hard picture frame. */
.numerology-hero {
  height:425px;
  margin-inline:-24px;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:
    radial-gradient(ellipse at 49% 37%,#fff6c9 0%,#ffe18d 23%,#f7a446 43%,#8a167e 73%,#0c0d69 100%);
}
.numerology-hero::after {
  content:"";
  position:absolute;
  z-index:1;
  inset:auto 0 0;
  height:110px;
  pointer-events:none;
  background:linear-gradient(to bottom,transparent 0%,#21116a4a 42%,#100b62 100%);
}
.numerology-hero .hero-figure { z-index:0; height:370px; }
.numerology-hero .figure-left { width:225px; background-position:0 -55px; }
.numerology-hero .figure-right { width:360px; background-position:-762px -55px; }
.numerology-hero .hero-content {
  z-index:2;
  width:min(48%,520px);
  max-width:none;
  margin:0 23% 26px 16%;
  padding:14px 5px;
}
.numerology-hero .hero-content h1 { font-size:clamp(2.7rem,4.7vw,4.55rem); }
.numerology-hero .hero-content p { max-width:490px; font-size:clamp(1.12rem,1.7vw,1.4rem); }
.study-panel { position:relative; z-index:2; margin-top:-20px; }
@media(max-width:950px) {
  .numerology-hero .figure-left { left:-55px; }
  .numerology-hero .figure-right { right:-90px; }
  .numerology-hero .hero-content { width:min(55%,510px); margin:0 20% 27px 15%; background:#fff2c566; border-radius:35px; }
}
@media(max-width:700px) {
  .numerology-hero { min-height:490px; height:auto; margin-inline:-12px; padding:165px 17px 45px; }
  .numerology-hero .hero-figure { height:380px; opacity:.88; }
  .numerology-hero .figure-left { left:-65px; width:225px; }
  .numerology-hero .figure-right { right:-200px; width:360px; }
  .numerology-hero .hero-content {
    width:min(100%,490px);
    margin:0 auto;
    padding:19px 13px 22px;
    background:#fff2dbea;
    border:1px solid #ffe3a3;
    border-radius:27px;
    box-shadow:0 12px 26px #11074c55;
  }
  .numerology-hero .hero-content h1 { font-size:clamp(2.1rem,8.6vw,3.4rem); }
  .numerology-hero .hero-content p { font-size:17px; line-height:1.35; }
  .numerology-hero::after { height:90px; }
  .study-panel { margin-top:-14px; }
}
