/* ================================================================
   MULTIGAN — Épaviste & Rachat de véhicules
   style.css — Design sobre, professionnel, orienté conversion
   ================================================================ */

/* ---------------------------------------------------------------
   1. VARIABLES & RESET
   --------------------------------------------------------------- */
:root {
  /* Palette : gris anthracite + orange vif (confiance + action) */
  --c-dark:    #1a1f2e;
  --c-dark-2:  #252b3b;
  --c-mid:     #3d4560;
  --c-accent:  #e8500a;       /* CTA principal */
  --c-accent-h:#c7420a;       /* hover CTA */ 
  --c-light:   #f4f3ef;       /* fond sections claires */
  --c-white:   #ffffff;
  --c-text:    #2c2c2c;
  --c-text-s:  #5a5f72;       /* texte secondaire */
  --c-border:  #e0ddd6;

  --font-head:  'Playfair Display', 'Times New Roman', serif;
  --font-body:  'Lato', Arial, sans-serif;

  --radius:    6px;
  --shadow:    0 2px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 6px 32px rgba(0,0,0,.18);

  --max-w:  1160px;
  --max-w-n: 780px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

/* ---------------------------------------------------------------
   2. UTILITAIRES
   --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: var(--max-w-n);
}

/* ---------------------------------------------------------------
   3. BOUTONS
   --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
  text-align: center;
  line-height: 1.3;
}

.btn:active { transform: scale(.98); }

.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}
.btn--primary:hover {
  background: var(--c-accent-h);
  border-color: var(--c-accent-h);
}

.btn--secondary {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.7);
}
.btn--secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--c-white);
}

.btn--large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.btn--tel {
  font-size: 1.4rem;
  padding: 18px 42px;
  letter-spacing: .02em;
}

/* Bouton Google */
.btn--google {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius);
  font-weight: 700;
  background: var(--c-white);
  color: var(--c-text);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.btn--google:hover {
  border-color: #4285F4;
  box-shadow: 0 2px 12px rgba(66,133,244,.18);
}

/* ---------------------------------------------------------------
   4. SECTIONS
   --------------------------------------------------------------- */
.section {
  padding: 72px 0;
}
.section--light {
  background: var(--c-light);
}
.section--dark {
  background: var(--c-dark);
  color: var(--c-white); 
}
.section--accent {
  background: var(--c-dark-2);
  color: var(--c-white);
}
.section--contact {
  background: var(--c-accent);
  color: var(--c-white);
}

.section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section__intro {
  font-size: 1.05rem;
  color: inherit;
  opacity: .85;
  max-width: 1120px;
  margin-bottom: 30px;
  line-height: 1.75;
}

.section--light .section__intro,
.section--light h2 {
  color: var(--c-text);
}
.section--light .section__intro { opacity: 1; color: var(--c-text-s); }

/* ---------------------------------------------------------------
   5. HERO
   --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--c-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* Fallback couleur si image absente */
  background-color: var(--c-dark);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14,18,32,.88) 0%,
    rgba(26,31,46,.72) 60%,
    rgba(232,80,10,.18) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero__surtitle {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 22px;
}
contact-address
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.18;
  font-weight: 700;
  margin-bottom: 22px;
  max-width: 1024px;
}

.hero h1 span {
  color: #f59c6e;
}

.hero__sub {
  font-size: 1.1rem;
  opacity: .9;
  max-width: 800px;
  margin-bottom: 38px;
  line-height: 1.75;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .92rem;
  opacity: .88;
  font-weight: 600;
}

/* ---------------------------------------------------------------
   6. STICKY TEL (mobile)
   --------------------------------------------------------------- */
.sticky-tel {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--c-accent);
  text-align: center;
}

.sticky-tel__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--c-white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 20px;
  width: 100%;
}

@media (max-width: 700px) {
  .sticky-tel { display: block; }
  body { padding-bottom: 52px; }
}

/* ---------------------------------------------------------------
   7. CARDS (services)
   --------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  line-height: 1;
  text-align:center;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 10px;
    text-align:center;

  color: var(--c-dark);
}

.card p {
  font-size: .95rem;
  color: var(--c-text-s);
  line-height: 1.65;
}

/* ---------------------------------------------------------------
   8. SPLIT (véhicules)
   --------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split__img img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  max-height: 420px;
}

.section--dark .split__content h3 {
  color: var(--c-white);
}

.checklist {
  list-style: none;
  margin-bottom: 26px;
}

.checklist li {
  padding: 7px 0 7px 26px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .97rem;
}

.checklist li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}

.split__note {
  font-size: .9rem;
  opacity: .8;
  margin-bottom: 20px;
  font-style: italic;
}

/* ---------------------------------------------------------------
   9. ZONES
   --------------------------------------------------------------- */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.zone-bloc {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  padding: 20px 18px;
  border-radius: var(--radius);
}

.zone-bloc h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--c-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.zone-bloc p {
  font-size: .9rem;
  color: var(--c-text-s);
  line-height: 1.6;
}

.zones__note {
  background: var(--c-dark);
  color: var(--c-white);
  padding: 18px 22px;
  border-radius: var(--radius);
  font-size: .95rem;
  line-height: 1.7;
  opacity: .95;
}

/* ---------------------------------------------------------------
   10. RÉASSURANCE
   --------------------------------------------------------------- */
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.reassurance-item {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 26px 22px;
  background: rgba(255,255,255,.04);
  text-align:center;
  transition: background .2s;
}

.reassurance-item:hover {
  background: rgba(255,255,255,.08);
}

.reassurance-item__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.reassurance-item h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--c-white);
  margin-bottom: 8px;
}

.reassurance-item p {
  font-size: .92rem;
  opacity: .78;
  line-height: 1.65;
}

/* ---------------------------------------------------------------
   11. ÉTAPES
   --------------------------------------------------------------- */
.steps {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-bottom: 48px;
}

.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-border);
  align-items: flex-start;
}

.step:last-child {
  border-bottom: none;
}

.step__num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-head);
}

.step__content h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--c-dark);
  margin-bottom: 8px;
}

.step__content p {
  font-size: .97rem;
  color: var(--c-text-s);
  line-height: 1.7;
}

.process-img {
  text-align: center;
}

.process-img img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 auto 10px;
}

.process-img figcaption {
  font-size: .88rem;
  color: var(--c-text-s);
  font-style: italic;
}

/* ---------------------------------------------------------------
   12. FAQ
   --------------------------------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
}

.faq__item:first-child { padding-top: 0; }
.faq__item:last-child  { border-bottom: none; }

.faq__item dt {
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-white);
  margin-bottom: 8px;
  font-family: var(--font-head);
  cursor: default;
}

.faq__item dd {
  font-size: .95rem;
  opacity: .8;
  line-height: 1.7;
  padding-left: 0;
}

/* ---------------------------------------------------------------
   13. AVIS
   --------------------------------------------------------------- */
#avis {
  text-align: center;
}

#avis .section__intro {
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------------------
   14. CONTACT
   --------------------------------------------------------------- */
.section--contact h2 {
  color: var(--c-white);
}

.section--contact .section__intro {
  color: rgba(255,255,255,.9);
  opacity: 1;
}

.contact-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.contact-block__tel {
  text-align: center;
  padding-top: 20px;
}

.contact-block__horaires {
  margin-top: 12px;
  font-size: .88rem;
  opacity: .85;
}

.contact-block__sep {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-style: italic;
  opacity: .6;
  height: 100%;
  min-height: 80px;
}

/* Formulaire */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group label {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

.form__group input,
.form__group textarea {
  padding: 12px 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: .97rem;
  transition: border-color .2s, background .2s;
  resize: vertical;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(255,255,255,.45);
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--c-white);
  background: rgba(255,255,255,.18);
}

.form .btn--primary {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: var(--c-white);
}
.form .btn--primary:hover {
  background: var(--c-dark-2);
}

/* Adresse contact */
.contact-address {
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 24px;
  font-size: 1.1rem;
  opacity: .85;
  line-height: 1.8;
  text-align: center;
}

.contact-address a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------
   15. FOOTER
   --------------------------------------------------------------- */
.footer {
  background: var(--c-dark);
  color: rgba(255,255,255,.6);
  padding: 32px 0;
  font-size: .88rem;
  line-height: 1.8;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.footer__links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  color: rgba(255,255,255,.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .15s;
}

.footer__links a:hover { color: var(--c-white); }

.footer strong {
  color: var(--c-white);
}

.footer__legal {
  font-size: .82rem;
  opacity: .6;
}

.footer__legal a {
  color: inherit;
  text-decoration: underline;
}

/* ---------------------------------------------------------------
   16. RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split__img { order: -1; }

  .contact-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-block__sep { min-height: auto; }

  .contact-block__tel { padding-top: 0; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }

  .hero { min-height: 100svh; }

  .hero__cta {
    flex-direction: column;
    gap: 10px;
  }

  .hero__cta .btn { width: 100%; justify-content: center; }

  .hero__badges {
    flex-direction: column;
    gap: 6px;
  }

  .btn--tel {
    font-size: 1.1rem;
    padding: 16px 24px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .zones-grid {
    grid-template-columns: 1fr;
  }

  .reassurance-grid {
    grid-template-columns: 1fr;
  }

  .step {
    gap: 16px;
  }

  .step__num {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

/* ---------------------------------------------------------------
   17. ACCESSIBILITÉ
   --------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
