/*
Theme Name: Bassim-Solution — En préparation
Theme URI: https://bassim-solution.fr/
Author: Bassim-Solution
Description: Page d’attente cinématique et sobre pour Bassim-Solution.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: bassim-solution
*/

:root {
  color-scheme: dark;
  --navy: #09182b;
  --navy-card: #10233b;
  --navy-line: #263d58;
  --teal: #71d2c0;
  --white: #f5f4ed;
  --muted: #c0cad5;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(230,242,250,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(230,242,250,.025) 1px, transparent 1px), radial-gradient(ellipse at 68% 42%, rgba(32,86,111,.22), transparent 43%);
  background-size: 56px 56px, 56px 56px, auto;
  content: "";
  pointer-events: none;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.site-shell { width: min(1320px, 100%); min-height: 100svh; margin: auto; padding: 0 clamp(22px, 5vw, 76px); display: flex; flex-direction: column; }
.topbar { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid rgba(220,232,240,.15); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: clamp(185px, 22vw, 245px); height: auto; border-radius: 9px; clip-path: inset(0 100% 0 0); animation: logo-reveal .9s cubic-bezier(.2,.7,.15,1) .1s forwards; }
.topbar-right { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); animation: rise-in .7s ease .25s both; }
.top-note { color: #b8c5d2; font-size: 13px; }
.support-link { color: var(--white); font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.support-link span, .contact-strip a span { color: var(--teal); }
.support-link:hover, .contact-strip a:hover { color: var(--teal); }

.hero { flex: 1; display: grid; grid-template-columns: minmax(0, .94fr) minmax(470px, 1.06fr); align-items: center; gap: clamp(44px, 6vw, 88px); padding: clamp(56px, 9vh, 98px) 0 clamp(54px, 8vh, 88px); }
.hero-copy { max-width: 590px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; color: #b8c5d2; font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; animation: rise-in .7s ease .45s both; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px rgba(113,210,192,.65); }
.separator { color: #657990; }
h1 { max-width: 650px; margin: 0; color: var(--white); font-size: clamp(46px, 5.3vw, 72px); line-height: 1.04; letter-spacing: -.055em; font-weight: 630; animation: rise-in .85s cubic-bezier(.2,.7,.15,1) .56s both; }
h1 span { color: var(--teal); }
.lead { max-width: 540px; margin: 24px 0 0; color: #c0cad5; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; animation: rise-in .75s ease .72s both; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; animation: rise-in .7s ease .88s both; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 4px; padding: 0 19px; font-size: 13px; font-weight: 650; text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.button-primary { border: 1px solid var(--teal); background: var(--teal); color: #071629; }
.button-primary:hover { border-color: #9ce5d7; background: #9ce5d7; }
.button-primary span { font-size: 18px; }
.availability { color: #9eacbd; font-size: 12px; }

.cinematic-stage { position: relative; overflow: hidden; min-height: 440px; border: 1px solid rgba(148,179,199,.2); border-radius: 8px; background: radial-gradient(ellipse at 50% 46%, rgba(42,91,117,.3), transparent 43%), linear-gradient(145deg, rgba(22,45,71,.94), rgba(11,28,47,.96)); box-shadow: 0 25px 80px rgba(0,0,0,.2); animation: stage-arrive 1s cubic-bezier(.2,.7,.15,1) .15s both; }
.cinematic-stage::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(212,230,242,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(212,230,242,.035) 1px, transparent 1px); background-size: 36px 36px; content: ""; mask-image: linear-gradient(135deg, black, transparent 82%); pointer-events: none; }
.stage-topline { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 12px; padding: 20px 22px 0; color: #9cacbd; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.stage-topline span:last-child { display: inline-flex; align-items: center; gap: 7px; }
.stage-topline i { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--teal); }
.stage-diagram { position: relative; height: 365px; margin: 0 16px; }
.network-map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.network-line { fill: none; stroke: rgba(113,210,192,.62); stroke-width: 1.3; stroke-dasharray: 250; stroke-dashoffset: 250; animation: line-draw 1.1s cubic-bezier(.3,.7,.25,1) 1.05s forwards; }
.line-two { animation-delay: 1.2s; }
.line-three { animation-delay: 1.35s; }
.network-pulse { fill: var(--teal); opacity: 0; filter: drop-shadow(0 0 7px rgba(113,210,192,.9)); animation: node-light .5s ease 1.85s forwards; }
.pulse-two { animation-delay: 2s; }
.pulse-three { animation-delay: 2.15s; }
.stage-core { position: absolute; top: 50%; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 11px; transform: translate(-50%, -50%); animation: core-arrive .8s cubic-bezier(.2,.7,.15,1) .55s both; }
.core-ring { width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid rgba(113,210,192,.75); border-radius: 50%; background: rgba(9,24,43,.86); color: var(--teal); font-size: 30px; font-weight: 500; letter-spacing: -.09em; box-shadow: 0 0 0 10px rgba(113,210,192,.035), 0 0 34px rgba(34,130,133,.18); }
.core-label { color: #d6e0e8; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.stage-node { position: absolute; z-index: 1; width: 150px; min-height: 66px; padding: 12px 13px; border: 1px solid rgba(170,197,213,.2); border-radius: 5px; background: rgba(8,24,42,.88); box-shadow: 0 8px 26px rgba(0,0,0,.16); opacity: 0; animation: node-arrive .65s cubic-bezier(.2,.7,.15,1) 1.65s forwards; }
.node-one { top: 13%; left: 2%; }
.node-two { top: 13%; right: 2%; animation-delay: 1.82s; }
.node-three { bottom: 1%; left: 50%; width: 190px; transform: translateX(-50%); animation-name: node-three-arrive; animation-delay: 2s; }
.node-index { display: block; margin-bottom: 6px; color: var(--teal); font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.stage-node strong { display: block; color: #f2f4f1; font-size: 12px; font-weight: 650; }
.stage-node small { display: block; margin-top: 4px; color: #aebdca; font-size: 9px; line-height: 1.4; }
.stage-footer { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 0 22px 18px; color: #8296aa; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.stage-footer-rule { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(113,210,192,.4), rgba(113,210,192,.04)); }

.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 0; border-top: 1px solid rgba(220,232,240,.15); animation: rise-in .75s ease 1s both; }
.contact-strip p { margin: 0; color: #b3c0cd; font-size: 12px; }
.contact-strip a { color: var(--white); font-size: 12px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.footer { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(220,232,240,.1); color: #91a0b0; font-size: 10px; }
.footer p { margin: 0; }
.copyright { color: #b9c5d0; font-weight: 650; }
.more-info { position: relative; }
.more-info summary { color: #aebbc9; cursor: pointer; }
.more-info p { position: absolute; right: 0; bottom: calc(100% + 12px); z-index: 3; width: min(340px, 80vw); margin: 0; padding: 15px 17px; border: 1px solid rgba(170,197,213,.22); border-radius: 5px; background: #10233b; color: #c2ced8; font-size: 11px; line-height: 1.6; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.footer-note { text-align: right; }

@keyframes logo-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes stage-arrive { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes core-arrive { from { opacity: 0; transform: translate(-50%, -47%) scale(.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes line-draw { to { stroke-dashoffset: 0; } }
@keyframes node-light { to { opacity: 1; } }
@keyframes node-arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes node-three-arrive { from { opacity: 0; transform: translate(-50%, 7px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, .9fr) minmax(390px, 1.1fr); gap: 32px; }
  .stage-node { width: 130px; }
  .node-three { width: 180px; }
}
@media (max-width: 800px) {
  .topbar { min-height: 96px; }
  .top-note { display: none; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding: 54px 0; }
  .hero-copy { max-width: 700px; }
  .cinematic-stage { width: min(100%, 620px); margin-inline: auto; }
}
@media (max-width: 560px) {
  .site-shell { padding: 0 18px; }
  .topbar { min-height: 82px; gap: 12px; }
  .brand-logo { width: 154px; }
  .support-link { font-size: 11px; }
  .hero { gap: 32px; padding: 48px 0 40px; }
  .eyebrow { flex-wrap: wrap; margin-bottom: 19px; font-size: 9px; }
  h1 { font-size: clamp(41px, 11vw, 58px); }
  .lead { margin-top: 19px; font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 24px; }
  .cinematic-stage { min-height: 380px; }
  .stage-diagram { height: 315px; margin: 0 7px; }
  .stage-node { width: 116px; padding: 10px; }
  .node-three { width: 172px; }
  .stage-node strong { font-size: 11px; }
  .stage-node small { font-size: 8px; }
  .core-ring { width: 68px; height: 68px; font-size: 25px; }
  .stage-topline { padding: 18px 14px 0; font-size: 8px; }
  .stage-footer { padding-inline: 14px; }
  .contact-strip { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer { align-items: flex-start; flex-wrap: wrap; padding: 15px 0; }
  .footer-note { margin-left: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .brand-logo { clip-path: none; }
  .network-line { stroke-dashoffset: 0; }
  .network-pulse, .stage-node { opacity: 1; }
}
