/* =========================================================
   LOCA-AUTO76 — PREMIUM CLEAN AGENCY (WHITE)
   Look: élégant, sobre, haut de gamme, beaucoup d’air
   ========================================================= */

/* Google font (premium, lisible, moderne) */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

/* ----------------- RESET ----------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body{
  margin:0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#0b1220;
  background:#ffffff;
  line-height:1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0 0 12px; }
ul{ margin:0; padding-left:18px; }
strong{ font-weight:800; }

/* ----------------- TOKENS ----------------- */
:root{
  --container: 1120px;

  --bg: #ffffff;
  --bg2:#f6f7fb;           /* gris très clair */
  --card:#ffffff;

  --text:#0b1220;
  --muted:#4b5563;

  --border:#e6e8ef;

  --brand:#1d4ed8;         /* bleu propre */
  --brand2:#0ea5e9;        /* bleu clair */
  --ink:#0b1220;

  --shadow: 0 18px 50px rgba(11,18,32,0.10);
  --shadow2: 0 10px 25px rgba(11,18,32,0.08);

  --r: 14px;
  --r2: 18px;

  --h1: clamp(2.25rem, 1.6rem + 2.3vw, 3.2rem);
  --h2: clamp(1.55rem, 1.2rem + 1.1vw, 2.15rem);
  --h3: 1.08rem;
}

/* ----------------- UTIL ----------------- */
.container{
  width:min(var(--container), calc(100% - 44px));
  margin:0 auto;
}

.muted{ color:var(--muted); }
.small{ font-size:.92rem; }

.section{
  padding: 84px 0;
  background: var(--bg);
}

.section-alt{
  background: linear-gradient(180deg, var(--bg2), #fff);
}

.section-head{
  max-width: 820px;
  margin-bottom: 28px;
  display:grid;
  gap: 10px;
}

.section-head h2{
  font-size: var(--h2);
  line-height:1.12;
  letter-spacing:-0.02em;
  margin:0;
}

.section-head p{
  margin:0;
  color:var(--muted);
  font-size:1.04rem;
}

/* ----------------- TOPBAR ----------------- */
.topbar{
  background:#fff;
  border-bottom:1px solid var(--border);
}

.topbar-inner{
  padding: 10px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 14px;
  color: var(--muted);
  font-weight:600;
  font-size:.95rem;
}

.topbar-link{
  font-weight:800;
  color: var(--text);
}

.topbar-link:hover{ text-decoration: underline; }

/* ----------------- HEADER ----------------- */
.header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.header-inner{
  padding: 16px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.logo{
  display:flex;
  align-items:center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* ✅ LOGO TEXTE PLUS GROS */
.logo-text{
  font-size: 1.55rem;   /* augmente si besoin */
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* Option : encore plus gros sur desktop */
@media (min-width: 980px){
  .logo-text{ font-size: 1.75rem; }
}

/* Option : agrandir le bloc logo (si tu veux) */
.logo-mark{
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  border: 1px solid var(--border);
  background:
    radial-gradient(120px 60px at 30% 30%, rgba(29,78,216,.14), transparent 60%),
    radial-gradient(120px 60px at 70% 70%, rgba(14,165,233,.10), transparent 60%),
    #fff;
  box-shadow: var(--shadow2);
}

.nav{
  display:flex;
  align-items:center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a{
  font-weight: 800;
  font-size: .93rem;
  color: #111827;
  opacity: .78;
  padding: 10px 10px;
  border-radius: 10px;
  transition: .15s ease;
  letter-spacing: .02em;
}

.nav a:hover{
  opacity: 1;
  background: var(--bg2);
}

.nav a.active{
  opacity: 1;
  color: var(--brand);
  background: rgba(29,78,216,0.08);
  border: 1px solid rgba(29,78,216,0.14);
}

.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 900;
  cursor:pointer;
}

/* ----------------- BUTTONS ----------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .01em;
  border:1px solid transparent;
  cursor:pointer;
  transition: .15s ease;
  white-space: nowrap;
}

.btn-primary{
  color:#fff;
  background: linear-gradient(135deg, var(--brand), #0b5bd3);
  box-shadow: 0 12px 24px rgba(29,78,216,0.22);
}

.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(29,78,216,0.26);
}

.btn-outline{
  color: var(--text);
  background:#fff;
  border:1px solid var(--border);
}

.btn-outline:hover{
  background: var(--bg2);
  transform: translateY(-1px);
}

/* ----------------- HERO ----------------- */
.hero{
  padding: 88px 0 54px;
  background:
    radial-gradient(900px 520px at 18% 20%, rgba(29,78,216,0.12), transparent 60%),
    radial-gradient(900px 520px at 80% 30%, rgba(14,165,233,0.10), transparent 62%),
    linear-gradient(180deg, var(--bg2), #fff);
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items:center;
}

.badge{
  width: fit-content;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid var(--border);
  background:#fff;
  color: #111827;
  font-weight: 800;
  font-size:.92rem;
  opacity: .92;
}

.hero h1{
  margin: 14px 0 12px;
  font-size: var(--h1);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-text{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.07rem;
  max-width: 60ch;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}

.hero-trust{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #111827;
  font-weight: 800;
  font-size: .93rem;
  opacity: .92;
}

.hero-media{
  border-radius: var(--r2);
  border: 1px solid var(--border);
  background:#fff;
  box-shadow: var(--shadow);
  overflow:hidden;
  position: relative;
}

.hero-media img{
  height: 460px;
  width: 100%;
  object-fit: cover;
}

.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(255,255,255,0.85));
  pointer-events:none;
}

/* ----------------- PAGE HERO ----------------- */
.page-hero{
  padding: 52px 0;
  border-bottom:1px solid var(--border);
  background: linear-gradient(180deg, var(--bg2), #fff);
}

.page-hero h1{
  margin:0 0 10px;
  font-size: clamp(1.9rem, 1.35rem + 1.5vw, 2.55rem);
  line-height:1.08;
  letter-spacing:-0.03em;
}

.page-hero p{
  margin:0;
  color: var(--muted);
  font-size:1.05rem;
  max-width: 78ch;
}

/* ----------------- GRID / CARDS ----------------- */
.grid{ display:grid; gap: 16px; }
.grid-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow2);
  position: relative;
}

.card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width: 4px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, rgba(29,78,216,.55), rgba(14,165,233,.45));
  opacity: .35;
}

.card h2, .card h3{
  margin:0 0 10px;
  letter-spacing:-0.02em;
  line-height:1.2;
}

.card h3{
  font-size: var(--h3);
  font-weight: 900;
}

.card p{
  color: var(--muted);
  margin:0 0 12px;
}

/* Link */
.link{
  color: var(--brand);
  font-weight: 900;
  display:inline-flex;
  gap: 8px;
  align-items:center;
}
.link:hover{ text-decoration: underline; }

/* ----------------- LIST ----------------- */
.list{
  margin: 12px 0 16px;
  color:#111827;
  line-height: 1.7;
}

.list li{ margin: 6px 0; }

/* ----------------- BEFORE / AFTER ----------------- */
.before-after{
  border-radius: var(--r2);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow2);
  background:#fff;
}

.before-after img{
  height: 320px;
  width: 100%;
  object-fit: cover;
}

.before-after figcaption{
  padding: 12px 14px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  font-weight: 900;
}

/* ----------------- PRICING ----------------- */
.pricing .price{
  margin: 8px 0 12px;
  color: #111827;
  font-weight: 800;
}

.pricing.featured{
  border-color: rgba(29,78,216,0.22);
  box-shadow: 0 18px 44px rgba(29,78,216,0.14);
}

.pricing.featured::before{
  opacity: .55;
}

/* ----------------- CTA ----------------- */
.cta{
  padding: 66px 0;
  background:
    radial-gradient(900px 500px at 20% 50%, rgba(29,78,216,0.10), transparent 62%),
    linear-gradient(180deg, #fff, var(--bg2));
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cta h2{
  margin:0 0 8px;
}

.cta p{ margin:0; color: var(--muted); }

.cta-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ----------------- FORMS ----------------- */
.form label{
  display:grid;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 900;
  color:#111827;
  font-size: .95rem;
}

input, select, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border:1px solid var(--border);
  background:#fff;
  color: var(--text);
  outline:none;
  font: inherit;
  transition: .15s ease;
}

input::placeholder, textarea::placeholder{ color:#9aa3b2; }

input:focus, select:focus, textarea:focus{
  border-color: rgba(29,78,216,0.45);
  box-shadow: 0 0 0 4px rgba(29,78,216,0.10);
}

textarea{ min-height: 120px; resize: vertical; }

/* ----------------- GALLERY ----------------- */
.gallery{
  padding:0;
  overflow:hidden;
  border-radius: var(--r2);
}

.gallery img{
  height: 230px;
  width:100%;
  object-fit: cover;
}

.gallery img + img{
  border-top:1px solid var(--border);
}

.gallery figcaption{
  padding: 12px 14px;
  background: var(--bg2);
  border-top:1px solid var(--border);
  font-weight: 900;
}

/* ----------------- FOOTER ----------------- */
.footer{
  background:#0b1220; /* footer noir premium */
  color:#e5e7eb;
  padding: 52px 0 0;
  margin-top: 0;
}

.footer .muted{ color: rgba(229,231,235,0.72); }

.footer-inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
  padding-bottom: 22px;
}

.footer a{ color:#e5e7eb; opacity:.9; }
.footer a:hover{ opacity:1; text-decoration: underline; }

.footer-logo{
  margin:0 0 8px;
  font-size: 1.05rem;
}

.footer-links{
  display:grid;
  gap: 10px;
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 14px 0;
}

/* ----------------- RESPONSIVE ----------------- */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-media img{ height: 360px; }
  .grid-3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px){
  .topbar-inner{ flex-direction: column; align-items:flex-start; }

  .nav-toggle{ display:inline-flex; }

  /* Mobile nav via body.nav-open (ton JS) */
  .nav{ display:none; }
  body.nav-open .nav{
    display:grid;
    gap: 8px;
    width: 100%;
    padding-top: 10px;
  }

  .header-inner{ flex-wrap: wrap; }
  .grid-2, .grid-3{ grid-template-columns: 1fr; }
  .hero{ padding-top: 64px; }
  .hero-media img{ height: 290px; }

  .footer-inner{ grid-template-columns: 1fr; }
}
/* =========================================================
   RESPONSIVE BOOST (smartphone + tablette)
   Ajoute ce bloc à la FIN du fichier
   ========================================================= */

/* Empêche les débordements horizontaux */
body { overflow-x: hidden; }

/* Tablettes */
@media (max-width: 1024px){
  .container{ width: min(var(--container), calc(100% - 32px)); }

  .header-inner{ padding: 14px 0; }
  .nav a{ padding: 10px 9px; }

  .hero{ padding: 72px 0 44px; }
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-media img{ height: 360px; }

  .grid-3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
}

/* Smartphones */
@media (max-width: 700px){
  .container{ width: min(var(--container), calc(100% - 24px)); }

  .topbar-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Menu burger visible */
  .nav-toggle{ display: inline-flex; }

  /* Menu en dropdown */
  .nav{
    display: none;
    width: 100%;
    padding-top: 10px;
  }

  body.nav-open .nav{
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .header-inner{ flex-wrap: wrap; }

  /* On enlève la mise en forme "btn" du lien Contact dans le menu mobile
     pour éviter qu'il prenne toute la place (optionnel) */
  .nav a.btn{ justify-content: flex-start; }

  /* Hero */
  .hero{ padding: 58px 0 34px; }
  .hero-actions{ gap: 10px; }
  .hero-media img{ height: 260px; }

  /* Grilles */
  .grid-2, .grid-3{ grid-template-columns: 1fr; }

  /* Images */
  .before-after img{ height: 260px; }
  .gallery img{ height: 210px; }

  /* Footer */
  .footer-inner{ grid-template-columns: 1fr; }
}

/* Très petits écrans */
@media (max-width: 380px){
  .btn{ width: 100%; }
  .hero-actions{ flex-direction: column; }
  .logo-text{ font-size: 1.35rem; }
}
