/* =========================================
   DRIVERRECRUIT — THEME CLAIR PREMIUM (PRO)
   ========================================= */

:root{
  --bg:#f6f8fb;
  --panel:#ffffff;
  --border:rgba(15,23,42,.10);
  --text:#0f172a;
  --muted:#64748b;
  --accent:#2563eb;
  --accent-soft:rgba(37,99,235,.12);
  --success:#16a34a;

  --shadow: 0 12px 28px rgba(15,23,42,.08);
  --shadow-soft: 0 8px 20px rgba(15,23,42,.06);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{
  width:min(1150px, 92%);
  margin:0 auto;
  padding:18px 0;
}

/* =========================
   HEADER / NAV (CLASSE)
   ========================= */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.topbar .container{
  padding:12px 0; /* important: padding interne du header */
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  font-size:18px;
  letter-spacing:.2px;
}
.brand .logoMark{
  width:38px;height:38px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:var(--accent);
  color:#fff;
  font-weight:900;
}
.brand span{color:var(--accent)}

.navlinks{
  display:flex;
  align-items:center;
  gap:16px;
}
.navlinks a{
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}
.navlinks a:hover{color:var(--text)}

@media (max-width: 860px){
  .navlinks{display:none}
}

/* =========================
   BUTTONS / INPUT
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:700;
  font-size:14px;
  color:var(--text);
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{
  background:#f1f5f9;
  box-shadow:var(--shadow-soft);
}
.btn:active{transform: translateY(1px)}
.btn.primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}
.btn.primary:hover{
  background:#1d4ed8;
  border-color:#1d4ed8;
}

.input{
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  outline:none;
  font-size:14px;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.input:focus{
  border-color: rgba(37,99,235,.45);
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

/* =========================
   CARDS / TEXT
   ========================= */
.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
  box-shadow:var(--shadow-soft);
}

h1,h2,h3{margin:0 0 8px;letter-spacing:-.3px}
h1{font-size:34px;line-height:1.1}
h2{font-size:22px}
h3{font-size:18px}
.small{font-size:13px;color:var(--muted)}

/* =========================
   FOOTER
   ========================= */
.footer{
  margin-top:42px;
  border-top:1px solid var(--border);
  background:#fff;
}
.footer .container{padding:18px 0}
.footerInner{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
}

/* =========================
   LISTING OFFERS (filters + cards)
   ========================= */
.pageHead{padding-top:4px}
.pageHead h1{margin:0 0 6px}

.filters{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto auto;
  gap:10px;
  align-items:center;
}

.gridJobs{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}

.jobCard{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow:var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.jobCard:hover{
  transform: translateY(-2px);
  box-shadow:var(--shadow);
  border-color: rgba(37,99,235,.28);
}

.jobTop{display:flex;justify-content:space-between;align-items:center;gap:10px}

.tag{
  display:inline-flex;align-items:center;
  padding:6px 10px;border-radius:999px;
  background:var(--accent-soft);
  color:#1e3a8a;
  font-weight:800;
  font-size:12px;
}
.jobTitle{
  margin-top:10px;
  font-size:18px;
  font-weight:900;
  letter-spacing:-.2px;
}
.jobMeta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.chip{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 10px;border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  font-size:12px;color:var(--muted);
}
.jobFooter{
  display:flex;justify-content:space-between;align-items:center;
  margin-top:12px;padding-top:10px;border-top:1px solid var(--border);
}
.arrow{font-size:18px;color:var(--accent)}

@media (max-width: 980px){
  .filters{grid-template-columns:1fr 1fr}
  .gridJobs{grid-template-columns: repeat(2,1fr)}
}
@media (max-width: 620px){
  .gridJobs{grid-template-columns:1fr}
}

/* =========================
   APPLY FORM
   ========================= */
.applyForm{display:grid;gap:12px}
.label{display:block;font-weight:800;font-size:13px;margin:2px 0 6px;color:var(--muted)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
textarea.input{resize:vertical;min-height:110px}
@media (max-width: 700px){
  .grid2{grid-template-columns:1fr}
}

/* =========================
   HOME — PREMIUM LIGHT (stable)
   ========================= */
.homeHero{
  padding:18px 0 10px;
}
.homeHeroGrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:14px;
  align-items:stretch;
}
.homeHeroText{
  background:#fff;
  border:1px solid var(--border);
  border-radius: 24px;
  padding:20px;
  box-shadow:var(--shadow-soft);
}
.homeHeroMedia{
  display:flex;
  align-items:stretch;
}

.heroBadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--accent-soft);
  color:#1e3a8a;
  border:1px solid rgba(37,99,235,.25);
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
}
.heroTitle{
  margin:12px 0 8px;
  font-size:42px;
  letter-spacing:-.8px;
  line-height:1.05;
}
.heroAccent{color:var(--accent)}
.heroSub{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.75;
  max-width:650px;
}
.heroSearch{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.heroInput{min-width:320px;flex:1}
.heroBtn{padding:12px 16px}

.heroStats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:14px;
}
.statCard{
  background:rgba(246,248,251,.8);
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
}
.statNum{font-size:24px;font-weight:900;letter-spacing:-.4px}
.statLabel{color:var(--muted);font-size:12px;margin-top:2px}
.heroTrusted{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:12px}
.dot{color:var(--muted)}

.heroImageCard{
  width:100%;
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:14px;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}
.heroImageTop{display:flex;justify-content:space-between;align-items:center;gap:10px}
.miniLogo{
  width:40px;height:40px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-weight:900;
  background:var(--accent);
  color:#fff;
}
.heroImageArt{
  position:relative;
  height:220px;
  margin-top:12px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(37,99,235,.12), rgba(2,132,199,.06));
  border:1px solid rgba(37,99,235,.20);
  overflow:hidden;
}
.artRoad{
  position:absolute;left:-20%;right:-20%;bottom:18px;height:92px;
  background:linear-gradient(0deg, rgba(15,23,42,.09), rgba(15,23,42,.02));
  transform:skewX(-10deg);
  border-top:1px dashed rgba(15,23,42,.14);
}
.artCar{
  position:absolute;left:18%;top:48%;
  width:130px;height:54px;border-radius:18px;
  background:linear-gradient(135deg, rgba(37,99,235,.96), rgba(99,102,241,.92));
  box-shadow:0 18px 38px rgba(37,99,235,.22);
}
.artCar::before{
  content:"";
  position:absolute;left:16px;top:-18px;
  width:70px;height:26px;border-radius:14px;
  background:rgba(255,255,255,.55);
}
.artCar::after{
  content:"";
  position:absolute;left:18px;bottom:-12px;
  width:22px;height:22px;border-radius:999px;
  background:rgba(15,23,42,.25);
  box-shadow:72px 0 0 rgba(15,23,42,.25);
}
.artGlow{
  position:absolute;right:-60px;top:-60px;
  width:220px;height:220px;border-radius:999px;
  background:radial-gradient(circle, rgba(37,99,235,.22), rgba(37,99,235,0));
}
.heroMiniCards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:12px;
}
.miniCard{
  background:rgba(246,248,251,.8);
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
}
.miniTitle{font-weight:900;letter-spacing:-.2px}

.homeSection{padding:18px 0}
.homeSection.soft{
  margin-top:8px;
  background:rgba(2,132,199,.04);
  border-top:1px solid rgba(15,23,42,.06);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.sectionHead{margin-bottom:12px}
.sectionHead h2{margin:0 0 6px;font-size:22px;letter-spacing:-.2px}
.sectionHead p{margin:0}

.catGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.catCard{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow:var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.catCard:hover{
  transform: translateY(-2px);
  box-shadow:var(--shadow);
  border-color: rgba(37,99,235,.28);
}
.catIcon{font-size:26px}
.catTitle{margin-top:8px;font-weight:900;font-size:16px}

.stepsGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.stepCard{
  background:#fff;border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow:var(--shadow-soft);
}
.stepNum{
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:var(--accent-soft);
  border:1px solid rgba(37,99,235,.25);
  color:#1e3a8a;
  font-weight:900;
}
.stepTitle{margin-top:10px;font-weight:900}

.ctaRow{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.centerRow{display:flex;justify-content:center;margin-top:14px}

.trustGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.trustCard{
  background:#fff;border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow:var(--shadow-soft);
}
.trustIcon{font-size:24px}
.trustTitle{margin-top:8px;font-weight:900}

.finalCTA{
  margin-top:14px;
  display:flex;justify-content:space-between;align-items:center;
  gap:12px;flex-wrap:wrap;
  background:#fff;border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow:var(--shadow-soft);
}
.finalTitle{font-weight:900;font-size:18px;letter-spacing:-.2px}
.finalBtns{display:flex;gap:10px;flex-wrap:wrap}

@media (max-width: 980px){
  .homeHeroGrid{grid-template-columns:1fr}
  .heroTitle{font-size:36px}
  .catGrid{grid-template-columns: repeat(2, 1fr)}
  .stepsGrid{grid-template-columns:1fr}
  .trustGrid{grid-template-columns:1fr}
}
@media (max-width: 620px){
  .heroInput{min-width:100%}
  .heroStats{grid-template-columns:1fr}
  .catGrid{grid-template-columns:1fr}
  .heroMiniCards{grid-template-columns:1fr}
}

/* ===== HOME FIX (Premium & centered) ===== */
.heroWrap{padding:18px 0}
.sectionWrap{padding:18px 0}
.sectionWrap.soft{
  background:rgba(2,132,199,.04);
  border-top:1px solid rgba(15,23,42,.06);
  border-bottom:1px solid rgba(15,23,42,.06);
}

.heroGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
  align-items:stretch;
}

.heroLeft{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  padding:20px;
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}

.heroBadge{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--accent-soft);
  border:1px solid rgba(37,99,235,.25);
  color:#1e3a8a;
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
}

.heroH1{
  margin:12px 0 8px;
  font-size:42px;
  letter-spacing:-.8px;
  line-height:1.05;
}
.heroH1 span{color:var(--accent)}
.heroP{margin:0;color:var(--muted);font-size:15px;line-height:1.75;max-width:650px}

.heroSearch{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.heroInput{min-width:320px;flex:1}
.heroBtn{padding:12px 16px}

.heroStats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:14px;
}
.stat{
  background:rgba(246,248,251,.85);
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
}
.statN{font-size:24px;font-weight:900;letter-spacing:-.4px}
.statL{font-size:12px;color:var(--muted);margin-top:2px}

.heroTrust{
  display:flex;gap:8px;flex-wrap:wrap;align-items:center;
  margin-top:12px;
  color:var(--muted);
  font-size:13px;
}
.heroCTA{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.heroCard{
  width:100%;
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  padding:14px;
  box-shadow:0 10px 25px rgba(15,23,42,.06);
  overflow:hidden;
}

.heroCardTop{
  display:flex;gap:10px;align-items:center;
}
.heroLogo{
  width:42px;height:42px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:var(--accent);
  color:#fff;
  font-weight:900;
}

.heroVisual{
  position:relative;
  height:240px;
  margin-top:12px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(37,99,235,.12), rgba(2,132,199,.06));
  border:1px solid rgba(37,99,235,.20);
  overflow:hidden;
}

.vGlow{
  position:absolute;right:-60px;top:-60px;
  width:220px;height:220px;border-radius:999px;
  background:radial-gradient(circle, rgba(37,99,235,.22), rgba(37,99,235,0));
}
.vRoad{
  position:absolute;left:-20%;right:-20%;bottom:18px;height:92px;
  background:linear-gradient(0deg, rgba(15,23,42,.09), rgba(15,23,42,.02));
  transform:skewX(-10deg);
  border-top:1px dashed rgba(15,23,42,.14);
}
.vCar{
  position:absolute;left:18%;top:52%;
  width:132px;height:54px;border-radius:18px;
  background:linear-gradient(135deg, rgba(37,99,235,.96), rgba(99,102,241,.92));
  box-shadow:0 18px 38px rgba(37,99,235,.22);
}
.vCar::before{
  content:"";
  position:absolute;left:16px;top:-18px;
  width:70px;height:26px;border-radius:14px;
  background:rgba(255,255,255,.55);
}
.vCar::after{
  content:"";
  position:absolute;left:18px;bottom:-12px;
  width:22px;height:22px;border-radius:999px;
  background:rgba(15,23,42,.25);
  box-shadow:72px 0 0 rgba(15,23,42,.25);
}

.heroMini{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:12px;
}
.mini{
  background:rgba(246,248,251,.85);
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px;
}

.sectionHead{margin-bottom:12px}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.tile{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  box-shadow:0 10px 25px rgba(15,23,42,.06);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tile:hover{
  transform: translateY(-2px);
  box-shadow:0 16px 34px rgba(15,23,42,.10);
  border-color: rgba(37,99,235,.28);
}
.ico{font-size:26px}
.t{margin-top:8px;font-weight:900}

@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr}
  .heroH1{font-size:34px}
  .grid3{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 620px){
  .heroInput{min-width:100%}
  .heroStats{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .heroMini{grid-template-columns:1fr}
}

/* Honeypot anti-spam (invisible proprement) */
.hp-field{
  position:absolute !important;
  width:0;
  height:0;
  overflow:hidden;
  opacity:0;
  pointer-events:none;
}
