:root{
  --blue:#1769c2;
  --blue-dark:#0d3d73;
  --blue-soft:#eaf4ff;
  --red:#d62828;
  --red-dark:#b91f1f;
  --bg:#f5f8fc;
  --white:#ffffff;
  --text:#17202a;
  --muted:#5f6f7f;
  --border:#dbe4ec;
  --shadow:0 10px 30px rgba(13,61,115,.10);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
}

header{
  background:#fff;
  padding:14px 5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
  position:sticky;
  top:0;
  z-index:100;
}

.logo{
  font-size:27px;
  font-weight:800;
  color:var(--blue);
  text-decoration:none;
  white-space:nowrap;
}

.logo span{
  color:var(--red);
}

nav{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
}

nav a,
footer a{
  color:var(--blue-dark);
  text-decoration:none;
  font-weight:600;
}

nav a:hover,
footer a:hover{
  color:var(--red);
}

.langs{
  font-weight:700;
  color:#666;
}

main{
  min-height:75vh;
}

/* =========================
   HERO ACCUEIL
========================= */

.home-hero{
  padding:55px 5% 45px;
  background:
    radial-gradient(circle at top left, rgba(23,105,194,.10), transparent 35%),
    linear-gradient(135deg,#f7fbff 0%,#ffffff 55%,#edf5ff 100%);
}

.home-hero-inner{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:40px;
  align-items:center;
}

.hero-brand{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
}

.hero-logo{
  width:70px;
  height:70px;
  border-radius:50%;
  object-fit:contain;
  background:#fff;
  box-shadow:0 5px 15px rgba(13,61,115,.10);
  flex-shrink: 0;
}

.hero-brand-text{
  font-weight:800;
  letter-spacing:.08em;
  color:var(--blue-dark);
  font-size:14px;
  text-transform:uppercase;
}

.hero-brand-text span{
  color:var(--red);
}

.home-hero h1{
  font-size:clamp(38px,6vw,66px);
  line-height:1.05;
  margin:0 0 18px;
  color:var(--blue-dark);
  letter-spacing:-.03em;
}

.home-hero h1 .accent{
  color:var(--red);
}

.home-hero .lead{
  font-size:19px;
  max-width:720px;
  margin:0 0 26px;
  color:var(--muted);
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

.hero-visual{
  background:#fff;
  border-radius:24px;
  padding:12px;
  box-shadow:var(--shadow);
}

.hero-visual img{
  width:100%;
  border-radius:18px;
  object-fit:cover;
}

/* =========================
   RECHERCHE
========================= */

.search-panel{
  max-width:1200px;
  margin:-12px auto 0;
  padding:0 5%;
  position:relative;
  z-index:2;
}

.searchbox{
  width:100%;
  background:#fff;
  padding:18px;
  border-radius:20px;
  box-shadow:0 15px 40px rgba(13,61,115,.14);
  display:grid;
  grid-template-columns:2fr 1.4fr .8fr auto;
  gap:10px;
  border:1px solid rgba(23,105,194,.08);
}

input,
select,
textarea{
  width:100%;
  padding:14px;
  border:1px solid var(--border);
  border-radius:11px;
  font:inherit;
  background:#fff;
  color:var(--text);
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(23,105,194,.10);
}

textarea{
  min-height:120px;
  resize:vertical;
}

button,
.btn{
  display:inline-block;
  border:0;
  border-radius:11px;
  padding:13px 19px;
  background:var(--blue);
  color:white;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  transition:.2s ease;
}

button:hover,
.btn:hover{
  transform:translateY(-1px);
  background:var(--blue-dark);
}

.btn.red{
  background:var(--red);
}

.btn.red:hover{
  background:var(--red-dark);
}

.btn.light{
  background:#e7f0fb;
  color:var(--blue-dark);
}

.btn.light:hover{
  background:#d9e8f8;
}

.location-row{
  margin-top:12px;
  display:flex;
  justify-content:center;
}

/* =========================
   SECTIONS
========================= */

.wrap{
  max-width:1180px;
  margin:48px auto;
  padding:0 20px;
}

.section-heading{
  text-align:center;
  margin-bottom:26px;
}

.section-heading h2{
  margin:0 0 8px;
  font-size:clamp(28px,4vw,40px);
  color:var(--blue-dark);
}

.section-heading p{
  margin:0 auto;
  max-width:700px;
  color:var(--muted);
}

h2{
  color:var(--blue-dark);
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.card{
  background:#fff;
  border-radius:18px;
  padding:22px;
  box-shadow:0 5px 20px rgba(0,0,0,.05);
  border:1px solid rgba(13,61,115,.06);
  text-decoration:none;
  transition:.2s ease;
}

a.card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 28px rgba(13,61,115,.12);
  border-color:rgba(23,105,194,.20);
}

.category-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:85px;
}

.category-card strong{
  color:var(--blue-dark);
  font-size:17px;
}

.category-arrow{
  color:var(--red);
  font-size:22px;
  font-weight:700;
}

/* =========================
   CONFIANCE / AVANTAGES
========================= */

.trust-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.trust-card{
  background:#fff;
  border-radius:18px;
  padding:24px;
  text-align:center;
  box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.trust-icon{
  width:54px;
  height:54px;
  margin:0 auto 14px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blue-soft);
  color:var(--blue-dark);
  font-size:25px;
  font-weight:800;
}

.trust-card h3{
  margin:0 0 8px;
  color:var(--blue-dark);
}

.trust-card p{
  margin:0;
  color:var(--muted);
}

/* =========================
   COMMENT ÇA MARCHE
========================= */

.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.step{
  position:relative;
  background:#fff;
  border-radius:18px;
  padding:24px;
  box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.step-number{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  font-weight:800;
  margin-bottom:14px;
}

.step h3{
  margin:0 0 8px;
  color:var(--blue-dark);
}

.step p{
  margin:0;
  color:var(--muted);
}

/* =========================
   CTA VENDEURS
========================= */

.seller-cta{
  max-width:1180px;
  margin:50px auto;
  padding:0 20px;
}

.seller-cta-inner{
  background:linear-gradient(135deg,var(--blue-dark),var(--blue));
  color:#fff;
  border-radius:24px;
  padding:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  box-shadow:0 14px 35px rgba(13,61,115,.18);
}

.seller-cta h2{
  margin:0 0 8px;
  color:#fff;
}

.seller-cta p{
  margin:0;
  color:rgba(255,255,255,.88);
  max-width:680px;
}

/* =========================
   ÉLÉMENTS EXISTANTS
========================= */

.badge{
  display:inline-block;
  background:#e6f3ff;
  color:#075aa8;
  border-radius:20px;
  padding:6px 10px;
  font-size:13px;
  font-weight:700;
}

.notice{
  padding:12px;
  border-radius:10px;
  background:#e9f6ec;
  margin:12px 0;
}

.error{
  background:#fdeaea;
}

.profile-logo{
  width:90px;
  height:90px;
  object-fit:cover;
  border-radius:50%;
  background:#eef2f6;
}

.disclaimer{
  max-width:1000px;
  margin:25px auto 0;
  padding:14px 18px;
  background:#fff8e8;
  border:1px solid #f0d9a5;
  border-radius:12px;
  color:#72531c;
  font-size:14px;
}

footer{
  text-align:center;
  padding:30px 18px;
  background:#fff;
  margin-top:50px;
  color:#66727e;
  border-top:1px solid #edf1f5;
}

/* =========================
   MOBILE
========================= */

@media(max-width:900px){
  header{
    align-items:flex-start;
    flex-direction:column;
  }

  nav{
    gap:10px;
    font-size:14px;
  }

  .home-hero-inner{
    grid-template-columns:1fr;
  }

  .hero-visual{
    order:2;
  }

  .searchbox{
    grid-template-columns:1fr 1fr;
  }

  .searchbox button{
    grid-column:1 / -1;
  }

  .grid,
  .trust-grid,
  .steps{
    grid-template-columns:repeat(2,1fr);
  }

  .seller-cta-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media(max-width:650px){
  header{
    padding:12px 18px;
  }

  .logo{
    font-size:24px;
  }

  .home-hero{
    padding:34px 18px 30px;
  }

  .hero-brand{
    align-items:center;
  }

  .hero-logo{
    width:60px;
    height:60px;
  }

  .home-hero h1{
    font-size:38px;
  }

  .home-hero .lead{
    font-size:17px;
  }

  .search-panel{
    padding:0 18px;
  }

  .searchbox{
    grid-template-columns:1fr;
    padding:14px;
  }

  .searchbox button{
    grid-column:auto;
  }

  .grid,
  .trust-grid,
  .steps{
    grid-template-columns:1fr;
  }

  .wrap{
    margin:38px auto;
    padding:0 18px;
  }

  .seller-cta{
    padding:0 18px;
  }

  .seller-cta-inner{
    padding:26px 22px;
  }

  .hero-actions{
    flex-direction:column;
  }

  .hero-actions .btn{
    text-align:center;
    width:100%;
    /* CORRECTION LOGO ACCUEIL */
.hero-brand img.hero-logo{
  width:70px !important;
  height:70px !important;
  max-width:70px !important;
  min-width:70px !important;
  object-fit:contain !important;
  border-radius:50%;
  display:block;
  flex:0 0 70px;
}

@media(max-width:650px){
  .hero-brand img.hero-logo{
    width:55px !important;
    height:55px !important;
    max-width:55px !important;
    min-width:55px !important;
    flex-basis:55px;
  }
}
  }
}