:root {
  --bg: #f5f1eb;
  --white: #ffffff;
  --black: #111111;
  --black-soft: #1a1a1a;
  --brown: #6f4e37;
  --brown-dark: #543a29;
  --brown-light: #8a6548;
  --text: #1f1f1f;
  --muted: #6f6f6f;
  --border: #e6ddd3;
  --shadow: 0 12px 30px rgba(17, 17, 17, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
}

.brand-text {
  font-size: 1.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.nav a:hover {
  color: var(--white);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(111, 78, 55, 0.22), transparent 25%),
    linear-gradient(135deg, #111111 0%, #181513 55%, #221a16 100%);
  color: var(--white);

  /* 🔥 AJOUT */
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 78, 55, 0.15), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 620px) minmax(320px, 520px);
  justify-content: space-between;
  gap: 60px;
  align-items: center;
  padding: 120px 0 90px;
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
}



.hero-text {
  margin: 0 0 28px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 22px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.btn-primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(111, 78, 55, 0.28);
}

.btn-primary:hover:not(:disabled) {
  background: var(--brown-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
}

.status {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  position: absolute;
  border-radius: 28px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-card-main {
  width: min(100%, 460px);
  min-height: 320px;
  background: rgba(255, 255, 255, 0.07);
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.visual-card-secondary {
  width: 300px;
  height: 220px;
  right: 10px;
  bottom: 20px;
  background: linear-gradient(135deg, rgba(111, 78, 55, 0.22), rgba(255, 255, 255, 0.04));
  z-index: 1;
}

.visual-line {
  height: 14px;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 16px;
}

.visual-line.short {
  width: 55%;
}

.visual-chip {
  display: inline-flex;
  margin-top: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(111, 78, 55, 0.32);
  color: var(--white);
  font-weight: 700;
}

/* SHARED SECTIONS */
.services,
.results-section,
.how-it-works {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* SERVICES */
.services {
  position: relative;
  margin-top: 0;
  z-index: 5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 24px;
  padding: 26px 20px;
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
  transition: 0.2s ease;
}

.service-card:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.09);
}

.service-card:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.service-card.active {
  border-color: rgba(111, 78, 55, 0.45);
  box-shadow: 0 16px 34px rgba(111, 78, 55, 0.14);
}

.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 14px;
  background: rgba(111, 78, 55, 0.1);
  font-size: 1.3rem;
}

.service-card .label {
  display: block;
  font-weight: 700;
  font-size: 1.06rem;
}

/* RESULTS */
.results-section {
  background: linear-gradient(to bottom, #f7f3ee, var(--bg));
}

.results-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.map-panel,
.list-panel {
  background: var(--white);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-panel-head,
.list-panel-head {
  padding: 24px 24px 0;
}

.map-panel-head h2,
.list-panel-head h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.map-panel-head p,
.list-panel-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

#map {
  width: 100%;
  height: 560px;
  margin-top: 18px;
  border-top: 1px solid #f1ebe5;
}

.results-list {
  padding: 18px 24px 24px;
  max-height: 560px;
  overflow: auto;
}

.empty-state {
  border: 1px dashed #d7c8ba;
  background: #faf7f3;
  border-radius: 18px;
  padding: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.result-card {
  background: #fffdfa;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  transition: 0.2s ease;
}

.result-card + .result-card {
  margin-top: 14px;
}

.result-card:hover {
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.06);
  border-color: #d8c7b7;
}

.result-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.result-top h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.result-badge.open {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #86efac;
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.16);
}

.result-badge.unknown {
  background: #f3efea;
  color: var(--brown-dark);
}

.result-meta {
  display: grid;
  gap: 8px;
  margin: 12px 0 16px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.action-btn:hover {
  transform: translateY(-1px);
}

.action-btn.primary {
  background: var(--brown);
  color: var(--white);
}

.action-btn.primary:hover {
  background: var(--brown-dark);
}

.action-btn.secondary {
  background: #f2ebe4;
  color: var(--brown-dark);
}

.action-btn.secondary:hover {
  background: #ebdfd3;
}

/* HOW IT WORKS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(111, 78, 55, 0.12);
  color: var(--brown-dark);
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* FOOTER */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.8);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.loading-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulse 1s infinite ease-in-out;
}

.loading-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.loading-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(0.75);
    opacity: 0.5;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-grid,
  .results-layout,
  .steps {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    gap: 36px;
    padding: 110px 0 70px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .visual-card-main {
    width: 100%;
    max-width: 520px;
  }

  .visual-card-secondary {
    right: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 28px);
  }

  .nav {
    display: none;
  }

  .header-inner {
    padding: 18px 0;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 105px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700; /* au lieu de ultra bold */
  }

  .hero-text {
    font-size: 1rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .services {
    margin-top: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  #map {
    height: 380px;
  }

  .results-list {
    max-height: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.hidden {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100% - 32px));
  margin: 120px auto 0;
  background: var(--white);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border);
}

.modal-box h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.modal-box p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: #f3ede6;
  color: var(--brown-dark);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
}

.modal-close:hover {
  background: #eadfd3;
}

.city-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.city-form input {
  flex: 1 1 240px;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0 16px;
  font: inherit;
  background: #fffdfa;
  color: var(--text);
}

.city-form input:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 4px rgba(111, 78, 55, 0.12);
}

.city-error {
  margin-top: 14px !important;
  color: #b42318 !important;
  min-height: 22px;
}

@media (max-width: 640px) {
  .modal-box {
    margin-top: 80px;
    padding: 22px;
  }

  .city-form {
    flex-direction: column;
  }

  .city-form .btn {
    width: 100%;
  }
}


@media (max-width: 760px) {
  .trust-strip {
    margin-top: -24px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: auto;
  }
}
.garage-modal.hidden {
  display: none !important;
}

.garage-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.garage-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.68);
  backdrop-filter: blur(6px);
}

.garage-modal-box {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 32px));
  margin: 70px auto 0;
  background: #fffdfa;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.garage-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: #f2ebe4;
  color: var(--brown-dark);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  transition: 0.2s ease;
}

.garage-modal-close:hover {
  background: #eadfd3;
}

.garage-modal-header {
  padding: 34px 34px 24px;
  background: linear-gradient(135deg, #111111 0%, #1b1714 55%, #241c17 100%);
  color: var(--white);
}

.garage-modal-badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.garage-modal-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.garage-modal-address {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  font-size: 1rem;
}

.garage-modal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  padding: 28px 34px 34px;
}

.garage-main-card,
.garage-side-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
}

.garage-info-list {
  display: grid;
  gap: 14px;
}

.garage-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #faf7f3;
  border: 1px solid #f0e7dd;
}

.garage-info-label {
  color: var(--muted);
  font-weight: 600;
}

.garage-info-value {
  color: var(--text);
  font-weight: 800;
  text-align: right;
}

.garage-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
}

.garage-status-pill.open {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #86efac;
  box-shadow: 0 8px 18px rgba(34, 197, 94, 0.16);
}

.garage-status-pill.unknown {
  background: #f3efea;
  color: var(--brown-dark);
}

.garage-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.garage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  transition: 0.2s ease;
  text-decoration: none;
}

.garage-btn:hover {
  transform: translateY(-1px);
}

.garage-btn-primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(111, 78, 55, 0.18);
}

.garage-btn-primary:hover {
  background: var(--brown-dark);
}

.garage-btn-secondary {
  background: #f2ebe4;
  color: var(--brown-dark);
}

.garage-btn-secondary:hover {
  background: #ebdfd3;
}

.garage-side-card h3 {
  margin: 0 0 16px;
  font-size: 1.08rem;
}

.garage-points {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.garage-note-box {
  padding: 18px;
  border-radius: 18px;
  background: #faf7f3;
  border: 1px solid #f0e7dd;
}

.garage-note-box strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brown-dark);
}

.garage-note-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .garage-modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .garage-modal-box {
    margin-top: 30px;
    width: min(100% - 16px, 980px);
    border-radius: 22px;
  }

  .garage-modal-header {
    padding: 26px 20px 20px;
  }

  .garage-modal-grid {
    padding: 18px 20px 20px;
  }

  .garage-actions {
    flex-direction: column;
  }

  .garage-btn {
    width: 100%;
  }

  .garage-info-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .garage-info-value {
    text-align: left;
  }
}

.result-badge.closed {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.15);
}

.garage-status-pill.closed {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.result-badge.closing-soon {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.16);
}

.garage-status-pill.closing-soon {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.top-choice-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.result-card {
  transition: all 0.25s ease;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.header-inner {
  padding: 22px 24px; /* ← ajoute de l’espace sur les côtés */
}

.trust-strip {
  position: relative;
  padding: 72px 0 34px;
  background: var(--bg);
  z-index: 8;
}

.trust-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.trust-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.trust-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.trust-grid {
  display: grid;
  gap: 28px;
}

.trust-grid-doctolib {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.trust-feature {
  text-align: center;
  padding: 12px 18px;
}

.trust-feature-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9f1fb;
  font-size: 2rem;
}

.trust-feature h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.trust-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* PAGES LEGALES */
.legal-page {
  min-height: 100vh;
  background: linear-gradient(to bottom, #111111 0, #1a1512 220px, var(--bg) 220px);
}

.legal-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.legal-brand {
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.95rem;
}

.legal-back:hover {
  color: var(--white);
}

.legal-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
  padding: 34px 32px;
}

.legal-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.legal-intro {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.legal-section + .legal-section {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid #efe7de;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal-section p {
  margin: 0;
  color: var(--text);
  line-height: 1.8;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-meta {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.legal-meta strong {
  color: var(--brown-dark);
}

.legal-link {
  color: var(--brown);
  word-break: break-word;
}

.legal-link:hover {
  color: var(--brown-dark);
}

.legal-note {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  background: #faf7f3;
  border: 1px solid #efe3d7;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 760px) {
  .legal-shell {
    width: calc(100% - 20px);
    padding: 24px 0 48px;
  }

  .legal-topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 18px;
  }

  .legal-card {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .legal-section + .legal-section {
    margin-top: 22px;
    padding-top: 22px;
  }
}

.highlight {
  background: linear-gradient(90deg, #a67c52, #e6c7a3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(166, 124, 82, 0.25);
}

/* PAGE AJOUTER UN GARAGE */
.partner-page {
  background: var(--bg);
}

.partner-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at 82% 18%, rgba(111, 78, 55, 0.22), transparent 25%),
    linear-gradient(135deg, #111111 0%, #181513 55%, #221a16 100%);
  color: var(--white);
}

.partner-hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 650px) minmax(280px, 420px);
  justify-content: space-between;
  gap: 48px;
  align-items: center;
}

.partner-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.partner-hero-text {
  margin: 0 0 24px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

.partner-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.partner-hero-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.partner-hero-card {
  display: flex;
  justify-content: flex-end;
}

.partner-mini-card {
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.partner-mini-card h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
}

.partner-mini-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.partner-benefits {
  padding: 72px 0 30px;
}

.partner-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.partner-benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.partner-benefit-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(111, 78, 55, 0.1);
  font-size: 1.8rem;
}

.partner-benefit-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.partner-benefit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.partner-form-section {
  padding: 44px 0 90px;
}

.partner-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.partner-form-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.partner-form-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.partner-form-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.partner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 700;
  font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fffdfa;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 4px rgba(111, 78, 55, 0.12);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: 6px 0 2px;
}

.checkbox-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text);
}

.partner-form-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.partner-form-disclaimer {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-left strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
}

.footer-left p,
.footer-right p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 1100px) {
  .partner-hero-grid,
  .partner-benefits-grid,
  .partner-form-grid {
    grid-template-columns: 1fr;
  }

  .partner-hero-card {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .partner-hero {
    padding: 110px 0 56px;
  }

  .partner-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .partner-form-wrap {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .partner-form-footer {
    align-items: stretch;
  }

  .partner-form-footer .btn {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== MOBILE FIX AUTOMAPS ===== */
@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 24px);
  }

  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .header-inner {
    width: calc(100% - 24px);
    margin: 0 auto;
    padding: 18px 0;
  }

  .nav {
    display: none;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .hero {
    min-height: auto;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 104px 0 42px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 14px;
    padding: 9px 14px;
    font-size: 0.86rem;
  }

  .hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
  }

  .hero-text {
    margin: 0 0 20px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
  }

  .btn {
    width: 100%;
    padding: 15px 18px;
  }

  .status {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-visual {
    min-height: 180px;
  }

  .visual-card-main {
    min-height: 180px;
    padding: 20px;
    border-radius: 22px;
  }

  .visual-card-secondary {
    width: 180px;
    height: 120px;
    right: 6px;
    bottom: 8px;
  }

  .visual-line {
    height: 10px;
    margin-bottom: 12px;
  }

  .visual-chip {
    margin-top: 14px;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .trust-strip {
    padding: 42px 0 18px;
  }

  .trust-head {
    margin: 0 auto 24px;
  }

  .trust-head h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    line-height: 1.08;
  }

  .trust-head p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .trust-grid-doctolib {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .trust-feature {
    padding: 0;
    max-width: 100%;
  }

  .trust-feature-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
  }

  .trust-feature h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .trust-feature p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .services,
  .results-section,
  .how-it-works {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-head h2 {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
    line-height: 1.08;
  }

  .section-head p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 22px 18px;
    border-radius: 22px;
    min-height: auto;
  }

  .service-card .icon {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
  }

  .service-card .label {
    font-size: 1.1rem;
  }

  .results-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .map-panel,
  .list-panel {
    border-radius: 24px;
  }

  .map-panel-head,
  .list-panel-head {
    padding: 20px 18px 0;
  }

  #map {
    height: 320px;
    margin-top: 16px;
  }

  .results-list {
    padding: 16px 18px 20px;
    max-height: none;
  }

  .result-card {
    padding: 16px;
    border-radius: 18px;
  }

  .result-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .result-top h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .result-badge {
    padding: 9px 13px;
    font-size: 0.82rem;
  }

  .result-meta {
    gap: 10px;
    font-size: 0.94rem;
  }

  .result-actions {
    flex-direction: column;
    gap: 10px;
  }

  .action-btn {
    width: 100%;
    padding: 12px 14px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .step-number {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
  }

  .step h3 {
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .step p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .modal-box {
    width: calc(100% - 20px);
    margin-top: 72px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .city-form {
    flex-direction: column;
  }

  .city-form .btn {
    width: 100%;
  }

  .garage-modal-box {
    width: calc(100% - 16px);
    margin-top: 18px;
    border-radius: 22px;
  }

  .garage-modal-header {
    padding: 24px 18px 18px;
  }

  .garage-modal-header h2 {
    font-size: 1.7rem;
    line-height: 1.08;
  }

  .garage-modal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 18px 18px;
  }

  .garage-main-card,
  .garage-side-card {
    padding: 18px;
    border-radius: 18px;
  }

  .garage-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .garage-info-value {
    text-align: left;
  }

  .garage-actions {
    flex-direction: column;
  }

  .garage-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2rem;
  }

  .trust-head h2,
  .section-head h2 {
    font-size: 1.9rem;
  }

  .service-card,
  .step,
  .result-card {
    padding: 16px;
  }
}

/* ===== MOBILE MASTER FIX ===== */
@media (max-width: 760px) {
  html, body {
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: calc(100% - 24px);
  }

  .site-header {
    width: 100%;
    top: 0;
    left: 0;
  }

  .header-inner {
    width: calc(100% - 24px);
    margin: 0 auto;
    padding: 18px 0;
  }

  .nav {
    display: none;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  /* HERO */
  .hero {
    min-height: auto;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 100px 0 40px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 14px;
    padding: 9px 14px;
    font-size: 0.84rem;
  }

  .hero h1 {
    margin: 0 0 14px;
    font-size: clamp(2.1rem, 10vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  .hero-text {
    margin: 0 0 20px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
  }

  .btn {
    width: 100%;
    padding: 15px 18px;
  }

  .status {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-visual {
    min-height: 180px;
  }

  .visual-card-main {
    min-height: 180px;
    padding: 20px;
    border-radius: 22px;
  }

  .visual-card-secondary {
    width: 180px;
    height: 120px;
    right: 6px;
    bottom: 8px;
  }

  .visual-line {
    height: 10px;
    margin-bottom: 12px;
  }

  .visual-chip {
    margin-top: 14px;
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  /* SEARCH BAR */
  .search-bar {
    flex-direction: column;
    border-radius: 20px;
    max-width: 100%;
  }

  .search-field {
    width: 100%;
    border-left: none !important;
    border-bottom: 1px solid #eee;
    padding: 14px 16px;
  }

  .search-btn {
    width: 100%;
    border-radius: 0 0 20px 20px;
    padding: 14px 18px;
  }

  /* TRUST */
  .trust-strip {
    padding: 42px 0 18px;
  }

  .trust-head {
    margin: 0 auto 24px;
  }

  .trust-head h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    line-height: 1.08;
  }

  .trust-head p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .trust-grid-doctolib {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .trust-feature {
    padding: 0;
  }

  .trust-feature-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
  }

  .trust-feature h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .trust-feature p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* SECTIONS */
  .services,
  .results-section,
  .how-it-works {
    padding: 44px 0;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-head h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    line-height: 1.08;
  }

  .section-head p {
    font-size: 1rem;
    line-height: 1.55;
  }

  /* SERVICES GRID */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 18px 16px;
    border-radius: 22px;
    min-height: 140px;
  }

  .service-card .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }

  .service-card .label {
    font-size: 1rem;
  }

  /* RESULTS */
  .results-section {
    padding-top: 32px;
  }

  .results-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .map-panel,
  .list-panel {
    border-radius: 24px;
  }

  .map-panel-head,
  .list-panel-head {
    padding: 20px 18px 0;
  }

  #map {
    height: 320px;
    margin-top: 16px;
  }

  .results-list {
    padding: 16px 18px 20px;
    max-height: none;
  }

  .empty-state {
    padding: 16px;
    border-radius: 16px;
  }

  .result-card {
    padding: 16px;
    border-radius: 18px;
  }

  .result-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .result-top h3 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .result-badge {
    padding: 9px 13px;
    font-size: 0.82rem;
  }

  .result-meta {
    gap: 10px;
    font-size: 0.94rem;
  }

  .result-actions {
    flex-direction: column;
    gap: 10px;
  }

  .action-btn {
    width: 100%;
    padding: 12px 14px;
  }

  /* STEPS */
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .step-number {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
  }

  .step h3 {
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .step p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* FOOTER */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  /* MODAL VILLE */
  .modal-box {
    width: calc(100% - 20px);
    margin-top: 72px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .city-form {
    flex-direction: column;
  }

  .city-form .btn {
    width: 100%;
  }

  /* FICHE GARAGE */
  .garage-modal-box {
    width: calc(100% - 16px);
    margin-top: 18px;
    border-radius: 22px;
  }

  .garage-modal-header {
    padding: 24px 18px 18px;
  }

  .garage-modal-header h2 {
    font-size: 1.7rem;
    line-height: 1.08;
  }

  .garage-modal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 18px 18px;
  }

  .garage-main-card,
  .garage-side-card {
    padding: 18px;
    border-radius: 18px;
  }

  .garage-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .garage-info-value {
    text-align: left;
  }

  .garage-actions {
    flex-direction: column;
  }

  .garage-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2rem;
  }

  .trust-head h2,
  .section-head h2 {
    font-size: 1.9rem;
  }

  .service-card,
  .step,
  .result-card {
    padding: 16px;
  }
}