/* accueil.css — page d'accueil auto.sorps.com (refonte 2026-11, maquette validée)
   Jetons : assets/shared.css (bleu #0071e3, gris Apple). Pas d'animation décorative. */

.ac-wrap { max-width: var(--max-w, 1200px); margin: 0 auto; padding: 0 32px; box-sizing: border-box; }
.ac-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ac-narrow { max-width: 860px; }
main h1, main h2, main h3 { font-family: var(--ff-titre); color: var(--encre); }

/* Boutons */
.ac-btn, .ac-btn-s, .ac-btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; font-family: inherit; box-sizing: border-box;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.ac-btn { background: var(--or); color: #fff; border: 0; }
.ac-btn:hover { background: #0077ed; color: #fff; }
.ac-btn-s { border: 1px solid var(--or); color: var(--or-fonce); background: #fff; min-height: 44px; font-size: .95rem; }
.ac-btn-s:hover { background: var(--bg-or); }
.ac-btn-dark { border: 1px solid #6e6e73; color: #f5f5f7; }
.ac-btn-dark:hover { border-color: #f5f5f7; color: #fff; }
.ac-btn:focus-visible, .ac-btn-s:focus-visible, .ac-btn-dark:focus-visible { outline: 3px solid rgba(0,113,227,.45); outline-offset: 2px; }

/* En-tête */
.ac-hero { background: var(--bg-alt); padding-top: var(--nav-h, 64px); }
.ac-hero .ac-two { padding-top: 56px; padding-bottom: 48px; }
.ac-hero-txt { display: flex; flex-direction: column; gap: 20px; }
.ac-kicker { margin: 0; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--or-fonce); }
.ac-hero h1 { margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.07; letter-spacing: -.025em; font-weight: 700; }
.ac-lead { margin: 0; font-size: 1.15rem; line-height: 1.55; color: #3a3a3c; }
.ac-hero-img { border-radius: var(--radius-lg); overflow: hidden; background: #e8e8ed; aspect-ratio: 4 / 3; }
.ac-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 92%; display: block; }

/* Recherche */
.ac-search { background: #fff; border-radius: 22px; box-shadow: 0 12px 40px rgba(0,0,0,.08); padding: 24px; margin-bottom: 72px; }
.ac-search-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.8fr) minmax(0,1.3fr) minmax(0,.8fr) auto; gap: 12px; align-items: end; }
.ac-field label { display: block; font-size: .8rem; font-weight: 600; color: #3a3a3c; margin-bottom: 6px; }
.ac-field input { width: 100%; box-sizing: border-box; height: 48px; border: 1px solid #c7c7cc; border-radius: 12px; padding: 0 12px; font: inherit; font-size: 1rem; color: var(--encre); background: #fff; }
.ac-field input:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(0,113,227,.18); }
.ac-search-note { margin: 14px 0 0; font-size: .875rem; color: #5f5f64; }

/* Atouts */
.ac-atouts { border-bottom: 1px solid #e5e5ea; }
.ac-atouts-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 26px; padding-bottom: 26px; font-size: .95rem; font-weight: 500; color: var(--encre); }
.ac-atouts-in span { display: flex; align-items: center; gap: 10px; }
.ac-atouts svg, .ac-checks svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--or); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.ac-sec { padding: 88px 0; }
.ac-alt { background: var(--bg-alt); }
.ac-sec h2, .ac-contact h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -.02em; line-height: 1.1; font-weight: 700; }
.ac-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.ac-sub { margin: 0; font-size: 1.05rem; color: #5f5f64; }
.ac-note { font-size: .875rem; color: #5f5f64; }

/* Flotte */
.ac-fleet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ac-fleet-msg { grid-column: 1 / -1; margin: 0; padding: 32px; text-align: center; color: #5f5f64; background: var(--bg-alt); border-radius: 18px; }
.ac-car { display: flex; flex-direction: column; border: 1px solid #e5e5ea; border-radius: 22px; overflow: hidden; background: #fff; }
.ac-car-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.ac-car-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 92%; display: block; }
.ac-car-img svg { width: 64px; height: 64px; fill: none; stroke: #b0b0b5; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ac-car-body { display: flex; flex-direction: column; gap: 12px; padding: 20px; flex: 1; }
.ac-car-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 8px; }
.ac-cat { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5f5f64; }
.ac-dispo { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ac-dispo.ok { background: #e9f7ee; color: #1d6b38; }
.ac-dispo.ko { background: #fff4e5; color: #8a4b00; }
.ac-car h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.01em; }
.ac-specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; color: #3a3a3c; }
.ac-price { margin-top: auto; padding-top: 12px; border-top: 1px solid #f0f0f2; }
.ac-price small { display: block; font-size: .85rem; color: #5f5f64; }
.ac-price strong { display: block; margin: 2px 0 14px; font-size: 1.25rem; font-family: var(--ff-titre); }
.ac-price strong span { font-size: .875rem; font-weight: 500; color: #5f5f64; }
.ac-price .ac-btn, .ac-price .ac-btn-s { width: 100%; }

/* Étapes */
.ac-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ac-steps li { background: #fff; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ac-num { width: 40px; height: 40px; border-radius: 50%; background: var(--or); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ac-steps h3 { margin: 0; font-size: 1.25rem; }
.ac-steps p, .ac-conds p, .ac-faq p { margin: 0; font-size: 1rem; line-height: 1.55; color: #3a3a3c; }

/* Location au mois */
.ac-mois-txt { display: flex; flex-direction: column; gap: 16px; }
.ac-mois-txt h2, .ac-mois-txt p { margin: 0; }
.ac-checks { list-style: none; margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 16px; background: var(--bg-alt); border-radius: 22px; font-size: 1rem; color: var(--encre); }
.ac-checks li { display: flex; gap: 12px; align-items: flex-start; }
.ac-checks svg { stroke-width: 2; }

/* Conditions */
.ac-conds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.ac-conds > div { background: #fff; border-radius: 18px; padding: 24px; }
.ac-conds h3 { margin: 0 0 8px; font-size: 1.05rem; }
.ac-more { margin: 20px 0 0; }
.ac-more a, .ac-faq a { color: var(--or-fonce); }

/* FAQ */
.ac-faq details { border-bottom: 1px solid #e5e5ea; padding: 18px 0; }
.ac-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--encre); }
.ac-faq summary::-webkit-details-marker { display: none; }
.ac-faq summary::after { content: "+"; color: var(--or); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.ac-faq details[open] summary::after { content: "–"; }
.ac-faq details p { margin-top: 12px; }

/* Contact */
.ac-contact { background: #1d1d1f; color: #f5f5f7; padding: 72px 0; }
.ac-contact h2 { color: #f5f5f7; }
.ac-contact p { margin: 0; font-size: 1.05rem; color: #c7c7cc; }
.ac-contact-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bouton fixe en bas (téléphone) */
.ac-sticky { display: none; }

@media (max-width: 1000px) {
  .ac-fleet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-search-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .ac-go { grid-column: 1 / -1; }
  .ac-two { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .ac-wrap { padding: 0 16px; }
  .ac-hero .ac-two { padding-top: 28px; padding-bottom: 20px; }
  .ac-hero-img { aspect-ratio: 16 / 10; border-radius: 20px; }
  .ac-search { padding: 18px; margin-bottom: 32px; border-radius: 20px; }
  .ac-atouts-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: .875rem; }
  .ac-sec { padding: 48px 0; }
  .ac-fleet { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 8px; }
  .ac-car { flex: 0 0 82%; scroll-snap-align: start; }
  .ac-fleet-msg { flex: 1 0 100%; }
  .ac-steps, .ac-conds { grid-template-columns: 1fr; gap: 12px; }
  .ac-steps li { padding: 20px; }
  .ac-contact { padding: 48px 0 56px; }
  .ac-contact-btns > a { flex: 1 1 100%; }
  .ac-sticky {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
    align-items: center; justify-content: center; min-height: 52px; border-radius: 999px;
    background: var(--or); color: #fff; font-weight: 600; text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  .ac-sticky.cache { transform: translateY(120%); opacity: 0; pointer-events: none; }
  .site-footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ac-sticky, .ac-btn, .ac-btn-s { transition: none; }
}
