* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f4f1e9;
  color: #171a1c;
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 5vw;
  background: #f4f1e9;
  border-bottom: 1px solid #ddd8cc;
  position: sticky;
  top: 0;
  z-index: 20;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}
.logo span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: #234187;
  color: #111;
  border-radius: 9px;
  font-weight: 800;
}
.logo strong {
  font-family: Manrope;
  font-size: 16px;
}
.nav {
  display: flex;
  gap: 27px;
  font-weight: 600;
  font-size: 14px;
}
.nav a {
  opacity: 0.65;
}
.nav a:hover,
.nav .active {
  opacity: 1;
}
.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  cursor: pointer;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: 700;
}
.header-cta {
  background: #171a1c;
  color: #fff;
  font-size: 13px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 25px;
}
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #15191b;
  color: #fff;
}
.hero-content {
  padding: 105px 8vw 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  margin: 0 0 15px;
  color: #234187;
}
.hero h1,
.page-hero h1,
h1,
h2 {
  font-family: Manrope;
  line-height: 1.08;
}
.hero h1 {
  font-size: clamp(45px, 5.5vw, 78px);
  margin: 0 0 25px;
}
.hero h1 em,
.page-hero h1 em {
  font-style: normal;
  color: #234187;
}
.hero-text {
  font-size: 18px;
  max-width: 550px;
  color: #c7cbcc;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 25px 0;
}
.btn-primary {
  background: #234187;
  color: #111;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #656a6c;
}
.btn-dark {
  background: #171a1c;
  color: #fff;
}
.btn-light {
  background: #f4f1e9;
  color: #171a1c;
}
.hero-image img,
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image {
  min-height: 520px;
}
.trust {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 18px;
}
.trust span,
.stars {
  color: #234187;
}
.trust small {
  color: #9fa5a7;
}
.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #234187;
  padding: 25px 7vw;
  gap: 30px;
}
.quick-info > div {
  display: flex;
  gap: 16px;
  align-items: center;
}
.icon {
  font-size: 25px;
}
.quick-info small {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 800;
}
.quick-info b {
  font-size: 14px;
}
.section {
  padding: 100px 7vw;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 48px;
}
.section-heading h2,
.split-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 0;
}
.text-link {
  font-weight: 800;
  border-bottom: 1px solid #171a1c;
  padding-bottom: 4px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  background: #fff;
  padding: 30px;
  min-height: 290px;
  border: 1px solid #e2ded4;
}
.service-card.featured {
  background: #171a1c;
  color: #fff;
}
.service-number {
  font-size: 12px;
  font-weight: 800;
  color: #234187;
}
.service-card h3 {
  font-family: Manrope;
  font-size: 23px;
  line-height: 1.2;
}
.service-card p {
  color: #686c6d;
  font-size: 14px;
}
.featured p {
  color: #bfc2c2;
}
.service-card a {
  font-size: 13px;
  font-weight: 800;
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #234187;
}
.split-image {
  min-height: 560px;
}
.split-content {
  padding: 85px 8vw;
}
.split-content .eyebrow {
  color: #234187;
}
.split-content p {
  max-width: 580px;
}
.check-list {
  padding: 0;
  margin: 25px 0 30px;
  list-style: none;
}
.check-list li {
  margin: 12px 0;
  font-weight: 600;
}
.check-list li:before {
  content: "✓";
  margin-right: 12px;
}
.reviews {
  background: #fff;
}
.rating {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 10px;
  align-items: center;
}
.rating strong {
  font-family: Manrope;
  font-size: 50px;
  line-height: 1;
}
.rating span {
  color: #234187;
  letter-spacing: 2px;
}
.rating small {
  grid-column: 2;
  color: #777;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-grid article {
  border: 1px solid #dedbd2;
  padding: 30px;
}
.review-grid p {
  font-size: 17px;
  min-height: 80px;
}
.review-grid b {
  font-size: 13px;
}
.fine-print,
.muted {
  font-size: 12px;
  color: #7b7d7d;
}
.cta-band {
  padding: 65px 7vw;
  background: #171a1c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-band h2 {
  margin: 0;
  font-size: 42px;
}
.cta-band .eyebrow {
  color: #234187;
}
.footer {
  background: #101315;
  color: #dfe2e2;
  padding: 65px 7vw 25px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 45px;
}
.footer .logo {
  color: #fff;
}
.footer p,
.footer a {
  color: #aeb3b4;
  font-size: 13px;
}
.footer h4 {
  color: #fff;
  margin-top: 0;
}
.footer > div:not(.footer-bottom) a,
.footer > div:not(.footer-bottom) .footer-phone {
  display: block;
  margin: 8px 0;
}
.footer-phone {
  background: none;
  border: 0;
  color: #234187;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid #303435;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #777;
}
.footer-bottom strong {
  color: #234187;
}
.page-hero {
  padding: 105px 12vw 85px;
  background: #171a1c;
  color: #fff;
}
.page-hero h1 {
  font-size: clamp(45px, 6vw, 75px);
  margin: 0 0 22px;
}
.page-hero > p:last-child {
  max-width: 600px;
  color: #bfc4c4;
  font-size: 17px;
}
.page-hero.compact {
  padding-bottom: 70px;
}
.service-list {
  display: grid;
  gap: 16px;
}
.detail-card {
  background: #fff;
  padding: 45px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  border: 1px solid #e0dcd2;
}
.detail-card > span {
  font-family: Manrope;
  font-size: 18px;
  color: #234187;
}
.detail-card h2 {
  margin: 0 0 12px;
  font-size: 31px;
}
.detail-card p:last-child {
  max-width: 800px;
  color: #686c6d;
}
.form-section {
  max-width: 1050px;
  margin: auto;
}
.form-block {
  background: #fff;
  padding: 35px;
  margin-bottom: 16px;
  border: 1px solid #dfdbd2;
}
.form-block h2 {
  font-size: 25px;
  margin: 0 0 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-block label {
  display: block;
  font-weight: 700;
  font-size: 13px;
}
.form-block input,
.form-block select,
.form-block textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid #d6d2c8;
  background: #fbfaf7;
  border-radius: 4px;
  outline: none;
}
.form-block input:focus,
.form-block select:focus,
.form-block textarea:focus {
  border-color: #234187;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 25px;
}
.checks label {
  font-weight: 500;
  background: #f7f5ef;
  padding: 13px;
}
.checks input {
  display: inline;
  width: auto;
  margin: 0 8px 0 0;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.captcha-display {
  width: 180px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #202427;
  color: #234187;
  font-family: monospace;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 6px;
  border-radius: 4px;
  user-select: none;
}
.refresh {
  height: 54px;
  width: 54px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
}
.captcha-row input {
  max-width: 250px;
}
.honeypot {
  position: absolute;
  left: -9999px;
}
.consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0;
}
.consent input {
  width: auto !important;
  margin: 3px 0 !important;
}
.submit-btn {
  font-size: 15px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card {
  background: #fff;
  padding: 40px;
  border: 1px solid #dfdbd2;
  min-height: 240px;
}
.contact-card h2 {
  font-size: 31px;
}
.email-link {
  display: block;
  font-weight: 700;
  margin: 8px 0;
  color: #234187;
}
.map-placeholder {
  min-height: 400px;
  background: linear-gradient(135deg, #d6d2c7, #aeb0aa);
  display: grid;
  place-items: center;
  text-align: center;
}
.map-placeholder > div {
  background: #171a1c;
  color: #fff;
  padding: 40px 60px;
  box-shadow: 0 20px 50px #0003;
}
.map-placeholder h2 {
  font-size: 35px;
}
.map-placeholder .eyebrow {
  color: #234187;
}
@media (max-width: 900px) {
  .site-header {
    padding: 0 5vw;
    position: sticky;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    background: #f4f1e9;
    border-bottom: 1px solid #ddd8cc;
    padding: 12px 6vw 18px;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid #e2ded4;
  }
  .nav a:last-child {
    border-bottom: 0;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: block;
    min-width: 44px;
    min-height: 44px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-image {
    height: 390px;
    min-height: 0;
  }
  .quick-info,
  .service-grid,
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-image {
    min-height: 350px;
  }
  .footer {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    grid-column: 1/-1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .hero-content {
    padding: 70px 7vw;
  }
  .hero h1 {
    font-size: 45px;
  }
  .quick-info,
  .service-grid,
  .review-grid,
  .form-grid,
  .checks {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 70px 6vw;
  }
  .section-heading {
    display: block;
  }
  .section-heading .text-link {
    display: inline-block;
    margin-top: 20px;
  }
  .cta-band {
    display: block;
  }
  .cta-band h2 {
    font-size: 34px;
    margin-bottom: 25px;
  }
  .footer {
    grid-template-columns: 1fr;
    padding: 50px 7vw 25px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin: 8px 0;
  }
  .page-hero {
    padding: 70px 7vw;
  }
  .detail-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .captcha-row {
    flex-wrap: wrap;
  }
  .captcha-row input {
    max-width: none;
    flex: 1;
    min-width: 180px;
  }
}

/* =========================================================
   MENU MOBILE — CORRECTION
   ========================================================= */
@media (max-width: 900px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 72px;
  }

  .site-header .menu-toggle {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    margin-left: 10px;
    border: 1px solid #d8d3c8;
    border-radius: 7px;
    background: #171a1c;
    color: #fff;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    z-index: 1002;
  }

  .site-header .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 6vw 22px;
    background: #f4f1e9;
    border-top: 1px solid #ddd8cc;
    border-bottom: 1px solid #d5d0c5;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
    z-index: 1001;
  }

  .site-header .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header .nav a {
    display: block;
    width: 100%;
    padding: 17px 8px;
    border-bottom: 1px solid #ded9ce;
    color: #171a1c;
    opacity: 1;
    font-size: 16px;
    font-weight: 700;
  }

  .site-header .nav a:last-child {
    border-bottom: 0;
  }

  .site-header .nav a.active {
    color: #234187;
  }

  .site-header .header-cta {
    display: none;
  }
}

@media (min-width: 901px) {
  .site-header .menu-toggle {
    display: none !important;
  }

  .site-header .nav {
    display: flex !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
}

.service-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
  margin: 0 0 42px;
}
.service-gallery div {
  height: 230px;
  overflow: hidden;
  background: #ddd;
}
.service-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-gallery div:hover img {
  transform: scale(1.04);
}
.contact-gallery {
  height: 420px;
  overflow: hidden;
}
.contact-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.appointment-image {
  position: relative;
  height: 390px;
  overflow: hidden;
}
.appointment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.appointment-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08));
}
.appointment-image > div {
  position: absolute;
  z-index: 1;
  left: 7vw;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}
.appointment-image h2 {
  font-size: 42px;
  margin: 0;
  line-height: 1.08;
}
.appointment-image .eyebrow {
  color: #234187;
}
@media (max-width: 900px) {
  .service-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .service-gallery div:first-child {
    grid-column: 1/-1;
  }
  .contact-gallery {
    height: 330px;
  }
}
@media (max-width: 600px) {
  .service-gallery {
    grid-template-columns: 1fr;
  }
  .service-gallery div:first-child {
    grid-column: auto;
  }
  .service-gallery div {
    height: 210px;
  }
  .contact-gallery {
    height: 250px;
  }
  .appointment-image {
    height: 320px;
  }
  .appointment-image h2 {
    font-size: 32px;
  }
}

/* =========================================================
   CONTRASTE PREMIUM — BLEU #234187
   ========================================================= */
:root {
  --brand: #234187;
  --brand-light: #dfe8ff;
  --brand-pale: #eef3ff;
  --navy: #171a1c;
  --ink: #171a1c;
  --paper: #f4f1e9;
}
.logo span {
  background: var(--brand);
  color: #fff;
}
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
  color: #dfe8ff;
}
.hero h1 em,
.page-hero h1 em {
  color: #b8c9ff;
}
.hero .trust span,
.hero .trust .stars {
  color: #b8c9ff;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(35, 65, 135, 0.25);
}
.btn-primary:hover {
  background: #2d4e9c;
}
.quick-info {
  background: var(--brand);
  color: #fff;
}
.quick-info small {
  color: #dfe8ff;
}
.quick-info b {
  color: #fff;
}
.split-section {
  background: var(--brand);
  color: #fff;
}
.split-content {
  color: #fff;
}
.split-content .eyebrow {
  color: #dfe8ff;
}
.split-content p {
  color: #f4f7ff;
}
.split-content .check-list li {
  color: #fff;
}
.split-content .check-list li:before {
  color: #dfe8ff;
}
.service-detail.dark .num {
  color: #b8c9ff;
}
.service-detail.dark li:before {
  color: #b8c9ff;
}
.services-bottom .content {
  color: #fff;
}
.services-bottom .content .eyebrow {
  color: #dfe8ff;
}
.services-bottom .content p {
  color: #f4f7ff;
}
.services-bottom .content .btn-dark {
  background: #fff;
  color: var(--brand);
}
.services-bottom .content .btn-dark:hover {
  background: #eef3ff;
}
.cta-band .eyebrow {
  color: #dfe8ff;
}
.footer-phone,
.footer-bottom strong {
  color: #b8c9ff;
}
.captcha-display {
  color: #b8c9ff;
}

/* Galerie officielle du Garage du Toucas : photos issues de la fiche Top Garage */
.photo-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 12px;
  margin-top: 55px;
}
.photo-gallery a {
  display: block;
  overflow: hidden;
  background: #dfe2e5;
  border-radius: 8px;
  min-height: 230px;
}
.photo-gallery a:first-child {
  min-height: 340px;
}
.photo-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.photo-gallery a:first-child img {
  min-height: 340px;
}
.photo-gallery a:hover img {
  transform: scale(1.035);
}
.photo-gallery figcaption {
  display: none;
}
.photo-credit {
  margin: 12px 0 0;
  color: #747878;
  font-size: 11px;
}
.service-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 12px;
  margin: 0 0 45px;
}
.service-gallery div {
  height: 270px;
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
}
.service-gallery div:first-child {
  height: 360px;
}
.service-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-gallery div:hover img {
  transform: scale(1.04);
}
.contact-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 12px;
  padding: 0 7vw 70px;
}
.contact-gallery a {
  display: block;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
}
.contact-gallery a:first-child {
  height: 390px;
}
.contact-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.contact-gallery a:hover img {
  transform: scale(1.035);
}
.appointment-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 12px;
  padding: 0 7vw 70px;
}
.appointment-gallery a {
  display: block;
  height: 260px;
  overflow: hidden;
  border-radius: 8px;
}
.appointment-gallery a:first-child {
  height: 340px;
}
.appointment-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.appointment-gallery a:hover img {
  transform: scale(1.035);
}
@media (max-width: 900px) {
  .photo-gallery,
  .service-gallery,
  .contact-gallery,
  .appointment-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .photo-gallery a:first-child,
  .contact-gallery a:first-child,
  .appointment-gallery a:first-child {
    min-height: 270px;
    height: 320px;
  }
  .photo-gallery a,
  .contact-gallery a,
  .appointment-gallery a {
    height: 240px;
  }
  .service-gallery div:first-child {
    height: 270px;
  }
  .service-gallery div {
    height: 240px;
  }
}
@media (max-width: 600px) {
  .photo-gallery,
  .service-gallery,
  .contact-gallery,
  .appointment-gallery {
    grid-template-columns: 1fr;
  }
  .photo-gallery a:first-child,
  .photo-gallery a,
  .contact-gallery a:first-child,
  .contact-gallery a,
  .appointment-gallery a:first-child,
  .appointment-gallery a {
    height: 260px;
    min-height: 0;
  }
  .service-gallery div:first-child,
  .service-gallery div {
    height: 280px;
  }
  .photo-gallery {
    margin-top: 35px;
  }
  .contact-gallery,
  .appointment-gallery {
    padding-left: 6vw;
    padding-right: 6vw;
    padding-bottom: 50px;
  }
}
