/* ----------- CSS RESET & NORMALIZE ------------ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  height: 100%;
}
*,*:before,*:after{
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  width: 100%;
  background: #fff;
  color: #181A1B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #FAFAFA;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #163157;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #000;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

/* -------------- BRAND MONOCHROME COLOR VARIABLES ---------------- */
:root {
  --primary: #163157;
  --secondary: #8DB05A;
  --accent: #F2F4F8;
  --mono-bg-darker: #121212;
  --mono-bg-mid: #181A1B;
  --mono-bg-light: #fff;
  --mono-gray-1: #222326;
  --mono-gray-2: #383A3C;
  --mono-gray-3: #717278;
  --mono-gray-4: #BFC3C8;
  --mono-shadow: rgba(20, 22, 25, 0.10);
}

/* -------------------- TYPOGRAPHY ------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400italic,700,700italic&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #121212;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, ul, ol, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #222326;
}
blockquote {
  border-left: 3px solid var(--primary);
  margin-left: 0;
  margin-right: 0;
  padding-left: 20px;
  font-style: italic;
  color: #222326;
  background: #F7F8FA;
  border-radius: 4px;
}

strong {
  font-weight: 700;
  color: #163157;
}

/* -------------------- LAYOUT CONTAINERS ------------------- */
.container {
  width: 100%;
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--mono-bg-light);
  border-radius: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px var(--mono-shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px var(--mono-shadow);
  transform: translateY(-2px) scale(1.01);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--mono-shadow);
  margin-bottom: 24px;
  max-width: 720px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------------------- HEADER & NAV ----------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #E9E9E9;
  position: relative;
  z-index: 100;
}
header .container {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: grayscale(100%) contrast(1.15) brightness(1.18);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #181A1B;
  padding: 6px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.24s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--primary);
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}

.cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 34px;
  transition: background .18s, color .18s, border .18s, box-shadow .18s, transform .15s;
  box-shadow: 0 1.5px 6px var(--mono-shadow);
  cursor: pointer;
  margin-left: 24px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  box-shadow: 0 3px 14px var(--mono-shadow);
  transform: translateY(-1px) scale(1.01);
}

/* --------------- HERO -------------------- */
.hero {
  background: #F7F9FA;
  margin-bottom: 60px;
  padding: 54px 0 54px 0;
  border-bottom: 1px solid #E5E5E5;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  padding: 0;
  text-align: left;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.25rem;
  margin-bottom: 12px;
}
.hero p {
  color: #232426;
  font-size: 1.125rem;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}
.hero .cta-btn {
  margin-left: 0;
  margin-top: 16px;
}

/* ------------ FEATURES ----------------- */
.features {
  margin-bottom: 60px;
}
.features .content-wrapper > h2 {
  color: var(--primary);
  font-size: 2rem;
}
.features ul,
.features ol {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.features li { 
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px var(--mono-shadow);
  padding: 25px 22px 22px 22px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 360px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .18s, transform .15s;
}
.features li:hover {
  box-shadow: 0 7px 28px var(--mono-shadow);
  transform: translateY(-2px) scale(1.01);
}
.features img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: grayscale(100%) brightness(0.86) contrast(1.08);
}
.features h3 {
  color: var(--primary);
}
.features p {
  font-size: 1rem;
  color: #232426;
}

/* Checklist grid (Verification du véhicule) */
.checklist-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.checklist-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px var(--mono-shadow);
  padding: 24px 18px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.checklist-grid img {
  width: 35px;
  height: 35px;
  margin-bottom: 8px;
}

/* ------------- TESTIMONIALS ------------------ */
section.testimonials .testimonial-card {
  background: #fff;
  box-shadow: 0 1.5px 7px var(--mono-shadow);
  color: #181A1B;
  border-left: 5px solid var(--primary);
  margin-bottom: 28px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 220px;
  max-width: 660px;
  font-size: 1.15rem;
}
section.testimonials .testimonial-card blockquote {
  background: none;
  padding: 0 0 0 7px;
  border-radius: 0;
  border-left: 0;
  color: #232426;
}
section.testimonials .testimonial-card p {
  font-style: normal;
  color: #444;
  font-size: 0.98rem;
  margin-bottom: 0;
  font-family: 'Roboto', Arial, sans-serif;
}

/* --------------- CTA SECTION --------------- */
section.cta {
  background: #181A1B;
  margin-bottom: 60px;
  padding: 40px 0;
  border-radius: 12px;
}
section.cta .content-wrapper {
  align-items: center;
}
section.cta .cta-btn {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: bold;
  box-shadow: 0 2px 12px var(--mono-shadow);
  margin: 0;
}
section.cta .cta-btn:hover,
section.cta .cta-btn:focus {
  background: var(--primary);
  color: #fff;
}

/* --------------- ABOUT / SERVICES ------------------ */
section.about, section.services {
  background: #fff;
  margin-bottom: 60px;
  border-radius: 14px;
}
section.about .content-wrapper,
section.services .content-wrapper {
  gap: 18px;
  align-items: flex-start;
}
section.about h2, section.services h2 {
  color: var(--primary);
}
section.about ul, section.services ul {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
section.about li, section.services li {
  color: #232426;
  font-size: 1.02rem;
  margin-bottom: 8px;
  padding-left: 0;
}

/* ------------- CONTACT SECTION ------------- */
section.contact .content-wrapper {
  gap: 18px;
}
section.contact ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
}
section.contact li {
  font-size: 1rem;
  color: #232426;
  display: flex;
  align-items: center;
  gap: 12px;
}
section.contact img {
  width: 22px;
  height: 22px;
  filter: grayscale(100%) brightness(0.72) contrast(1.04);
}
.map-placeholder {
  background: #F7F8FA;
  border-radius: 10px;
  padding: 20px 16px;
  color: #717278;
  font-size: 0.95rem;
  margin-top: 6px;
  width: 90%;
}

/* ------------------ THANK YOU PAGE ------------------ */
.thank-you .content-wrapper {
  align-items: center;
  gap: 28px;
  padding: 45px 0;
}
.thank-you h1 {
  color: var(--primary);
  font-size: 2.2rem;
  text-align: center;
}
.thank-you p {
  text-align: center;
}

/* ------------------ FOOTER ------------------ */
footer {
  background: #161617;
  color: #D2D6DC;
  font-size: 0.97rem;
  border-top: 1px solid #222326;
  margin-top: 60px;
  padding: 48px 0 30px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.footer-nav {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 0;
  justify-content: center;
}
.footer-nav a {
  color: #BFC3C8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.97rem;
  transition: color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.contact-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.contact-footer img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  filter: grayscale(100%) brightness(0.72) contrast(1.06);
  vertical-align: middle;
}
footer p {
  color: #BFC3C8;
  font-size: 0.97rem;
  margin-bottom: 0;
  text-align: center;
}

/* -------------- MOBILE BURGER MENU ------------- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  display: none;
  cursor: pointer;
  margin-left: 10px;
  width: 46px; height: 46px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  transition: background .12s;
  z-index: 901;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F2F4F8;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #161617ee;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.74,.14,.22,1) 0s;
  box-shadow: 4px 0 24px 0 rgba(16,24,40,.11);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform .3s cubic-bezier(.74,.14,.22,1) 0s;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  cursor: pointer;
  padding: 20px;
  margin-left: auto;
  align-self: flex-end;
  z-index: 1002;
  transition: color .16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 24px 36px;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  text-align: left;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color .18s, background .14s;
  padding: 13px 6px;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: #232426;
}

@media (max-width: 1024px) {
  header .container {
    gap: 10px;
  }
  .main-nav a {
    font-size: 0.98rem;
  }
  .cta-btn {
    padding: 9px 24px;
    font-size: 0.97rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .footer-nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  header .container {
    padding: 12px 8px;
    flex-direction: row;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  footer .container {
    gap: 24px;
    padding: 0 7px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 13px;
  }
  .section, section.about, section.services {
    padding: 30px 6px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 25px 0 32px 0;
  }
  .features ul, .features ol {
    flex-direction: column;
    gap: 18px;
  }
  .features li, .checklist-grid > div {
    min-width: 0;
    max-width: 100%;
    padding: 20px 9px;
  }
  .contact-footer {
    gap: 4px;
  }
  .testimonial-card {
    padding: 18px 9px;
    font-size: 1rem;
  }
  .checklist-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .testimonials .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .thank-you .content-wrapper {
    gap: 18px;
    padding: 32px 0 30px 0;
  }
}

@media (max-width: 500px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.21rem; }
  h3 { font-size: 1.04rem; }
  .cta-btn, .main-nav a { font-size: 0.97rem; }
}

/* ---------------- COOKIE CONSENT BANNER ------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #181A1B;
  color: #fff;
  box-shadow: 0 -2px 18px 1px var(--mono-shadow);
  padding: 24px 7% 24px 7%;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadein 0.4s ease;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s;
}
@keyframes fadein {
  0% { opacity: 0; transform: translateY(100px); }
  60% { opacity: 0.8; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-content {
  width: 100%;
  max-width: 880px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
  justify-content: space-between;
}
.cookie-banner p {
  color: #fff;
  margin: 0;
  font-size: 1rem;
}
.cookie-btns {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookie-btns button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 34px;
  font-size: 0.98rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  padding: 8px 24px;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: background .18s, color .18s, border .18s;
}
.cookie-btns button.accept {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.cookie-btns button.reject {
  background: none;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btns button.settings {
  background: none;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-btns button:hover, .cookie-btns button:focus {
  opacity: 0.87;
  background: var(--mono-gray-4);
  color: #181A1B;
}
.cookie-btns button.accept:hover, .cookie-btns button.accept:focus {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary);
}
.cookie-btns button.reject:hover, .cookie-btns button.reject:focus,
.cookie-btns button.settings:hover, .cookie-btns button.settings:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 30, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  transition: opacity .18s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #181A1B;
  padding: 32px 20px 22px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 18px var(--mono-shadow);
  max-width: 370px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category .toggle {
  margin-left: 8px;
}
.cookie-modal .cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal .toggle input[type=checkbox] {
  appearance: none;
  width: 34px;
  height: 22px;
  background: #b8bbc1;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background .16s;
}
.cookie-modal .toggle input[type=checkbox]:checked {
  background: var(--secondary);
}
.cookie-modal .toggle input[type=checkbox]::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left .14s;
}
.cookie-modal .toggle input[type=checkbox]:checked::after {
  left: 14px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  padding: 8px 19px;
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  transition: background .16s, color .16s, border .12s;
}
.cookie-modal .modal-actions button.save {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: #f7f7f7;
  border: 2px solid var(--primary);
  color: var(--primary);
  outline: none;
}
.cookie-modal .modal-actions button.save:hover, .cookie-modal .modal-actions button.save:focus {
  background: #fff;
  color: var(--primary);
}

@media (max-width: 540px) {
  .cookie-banner {
    padding: 18px 4% 18px 4%;
  }
  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie-modal {
    padding: 18px 5px 12px 5px;
    border-radius: 9px;
  }
}

/* --------- MICRO-INTERACTIONS & TRANSITIONS ----------- */
button, .cta-btn, a {
  transition: color .15s, background .15s, box-shadow .14s, border .16s, transform .14s;
}

/* ----------- SCROLLBAR STYLE (subtle, dark on light bg) ------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #F2F4F8;
}
::-webkit-scrollbar-thumb {
  background: #BFC3C8;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8c939b;
}

/* ============= REMOVE FORBIDDEN PROPERTIES ============= */
/* No grid, no columns, no absolute for content! */

/* -------------- END OF STYLE --------------- */
