/* Guy Hoquet Nogent-sur-Marne – landing estimation (Cloudflare Pages) */
:root{
  --bg:#070a1b;
  --panel:#0b1030;
  --card:#0c133a;
  --line:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);
  --brand:#2b79ff;
  --brand2:#00b7ff;
  --shadow: 0 18px 50px rgba(0,0,0,.40);
  --r:22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(900px 500px at 20% 0%, rgba(43,121,255,.24), transparent 60%),
              radial-gradient(900px 500px at 85% 10%, rgba(0,183,255,.18), transparent 55%),
              linear-gradient(180deg, var(--bg), #050614 60%, #030311);
}

.wrap{max-width:1080px; margin:0 auto; padding:0 18px}
a{color:inherit; text-decoration:none}

.top{
  position:sticky; top:0; z-index:10;
  background: rgba(7,10,27,.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:12px}

.brand{display:flex; align-items:center; gap:12px; min-width:0}
.brand__logo{
  font-weight:800; letter-spacing:.5px;
  background: linear-gradient(90deg, #ffffff, rgba(255,255,255,.75));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  font-size:18px;
  border:1px solid rgba(255,255,255,.14);
  padding:10px 12px;
  border-radius:14px;
}
.brand__meta{min-width:0}
.brand__title{font-weight:800; font-size:14px; line-height:1.1}
.brand__city{color:var(--brand2)}
.brand__subtitle{font-size:12px; color:var(--muted); margin-top:2px}

.chip{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 12px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  font-weight:700; font-size:13px;
}

.hero{padding:42px 0 28px}
.hero__grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:22px; align-items:stretch}
.hero__copy h1{font-size:42px; line-height:1.05; margin:0 0 12px}
.lead{color:var(--muted); font-size:15px; line-height:1.6; margin:0}

.kpis{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:18px 0 16px}
.kpi{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius:18px;
  padding:12px 12px;
}
.kpi__n{font-size:20px; font-weight:800}
.kpi__t{font-size:12px; color:var(--muted); margin-top:2px}

.ctaRow{display:flex; flex-direction:column; gap:10px; margin-top:10px}
.smallNote{font-size:13px; color:var(--muted)}
.smallNote strong{color:var(--text)}
.muted{color:var(--muted)}

.btn{
  appearance:none; border:0; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:14px 16px;
  border-radius:16px;
  font-weight:800;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#06102b;
  box-shadow: 0 12px 30px rgba(43,121,255,.22);
}
.btn:active{transform: translateY(1px)}
.btn--ghost{
  background: rgba(255,255,255,.05);
  color:var(--text);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:none;
}
.btn--small{padding:10px 12px; border-radius:14px; font-weight:800}

.hero__media{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  padding:14px;
  position:relative;
  overflow:hidden;
}
.hero__media img{
  width:100%;
  height:auto;
  display:block;
  border-radius:16px;
}
.mediaHint{
  position:absolute; left:14px; bottom:14px;
  background: rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border-radius:999px;
  padding:8px 10px;
  font-size:12px;
  color:rgba(255,255,255,.90);
}

.formSection{padding:12px 0 60px}

.card{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  border-radius: var(--r);
  overflow:hidden;
}
.card__head{padding:20px 18px; border-bottom:1px solid rgba(255,255,255,.10)}
.card__head h2{margin:0 0 6px; font-size:22px}
.card__head p{margin:0; font-size:13px}

form{padding:18px}
.grid{display:grid; grid-template-columns:1fr 1fr; gap:12px}
label{display:flex; flex-direction:column; gap:8px}
label span{font-size:12px; color:rgba(255,255,255,.82); font-weight:700}

input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
input::placeholder, textarea::placeholder{color:rgba(255,255,255,.45)}
input:focus, select:focus, textarea:focus{
  border-color: rgba(0,183,255,.55);
  box-shadow: 0 0 0 4px rgba(0,183,255,.12);
}
select{appearance:none}

.span2{grid-column: span 2}

.actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}

.smsBox{
  margin-top:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  border-radius: 18px;
  padding:14px;
  display:none;
}
.smsBox__title{font-weight:900; margin-bottom:10px}
pre{
  margin:0;
  white-space:pre-wrap;
  word-break:break-word;
  color:rgba(255,255,255,.90);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:12.5px;
  line-height:1.5;
}
.smsBox__foot{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.legal{
  margin:14px 0 0;
  color:rgba(255,255,255,.55);
  font-size:12px;
  line-height:1.5;
}

.footer{margin-top:16px}
.footer__inner{padding:18px 0; border-top:1px solid rgba(255,255,255,.10)}

@media (max-width: 900px){
  .hero__grid{grid-template-columns:1fr; }
  .hero__copy h1{font-size:34px}
}
@media (max-width: 560px){
  .grid{grid-template-columns:1fr}
  .span2{grid-column:auto}
  .brand__logo{display:none}
}


/* RDV slots */
.slotsBlock{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  border-radius: 18px;
  padding: 14px;
}
.slotsHead{margin-bottom:10px}
.slotsTitle{font-weight:900; font-size:13px}
.slotsSub{font-size:12px; margin-top:4px}
.slotsGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px){
  .slotsGrid{grid-template-columns:1fr}
}

/* Flatpickr (calendar) tweaks */
.flatpickr-calendar{
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(8,10,26,.98) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.45) !important;
}
.flatpickr-day{
  border-radius: 12px !important;
}


/* Flatpickr (light calendar with white dates) */
.flatpickr-calendar{
  background: rgba(255,255,255,.96) !important;
  color: #0b1030 !important;
}
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-weekday{
  color: #0b1030 !important;
  font-weight: 800 !important;
}
.flatpickr-weekday{
  opacity: .75 !important;
}
.flatpickr-day{
  color: #ffffff !important;
  background: rgba(11,16,48,.78) !important;
  border: 1px solid rgba(11,16,48,.22) !important;
}
.flatpickr-day:hover{
  background: rgba(43,121,255,.85) !important;
  border-color: rgba(43,121,255,.35) !important;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange{
  background: linear-gradient(135deg, rgba(43,121,255,1), rgba(0,183,255,1)) !important;
  color: #06102b !important;
  border-color: rgba(0,183,255,.55) !important;
  font-weight: 900 !important;
}
.flatpickr-day.today{
  box-shadow: inset 0 0 0 2px rgba(0,183,255,.55) !important;
}
.flatpickr-day.disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay{
  background: rgba(11,16,48,.20) !important;
  color: rgba(11,16,48,.35) !important;
  border-color: rgba(11,16,48,.10) !important;
}
.flatpickr-time input,
.flatpickr-time .flatpickr-time-separator{
  color: #0b1030 !important;
}
