﻿:root {
  --bg: #eef1f5;
  --bg-deep: #e6ebf2;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --text: #161a22;
  --muted: #5f6876;
  --border: #d8dee8;
  --border-strong: #c7cfdb;
  --dark: #0e131c;
  --dark-soft: #171f2c;
  --accent: #f97316;
  --accent-dark: #dd620f;
  --radius: 14px;
  --container: 1160px;
  --shadow-sm: 0 8px 20px rgba(17, 22, 30, 0.06);
  --shadow-md: 0 14px 36px rgba(17, 22, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  background:
    radial-gradient(circle at 10% -10%, #ffffff 0%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 95% 0%, #f4f7fb 0%, rgba(244, 247, 251, 0) 34%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.5rem;
  border-radius: 8px;
  z-index: 100;
}

.container {
  width: min(100% - 2.25rem, var(--container));
  margin-inline: auto;
}

.topbar {
  background: linear-gradient(90deg, #0c1119, #121927);
  color: #fff;
  padding: 0.62rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
}

.topbar p {
  margin: 0;
}

.topbar-phone {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(15, 19, 26, 0.06);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: contain;
  padding: 4px;
  border: 1px solid var(--border-strong);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
}

.brand-main {
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.83rem;
}

.header-phone {
  margin-left: auto;
  margin-right: 0.2rem;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.05rem;
  text-decoration: none;
  background: linear-gradient(180deg, #fff8f1, #ffeedc);
  color: #9a3412;
  border: 1px solid #f7b57d;
  border-radius: 12px;
  padding: 0.48rem 0.78rem;
  line-height: 1.15;
}

.header-phone span {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.header-phone strong {
  font-size: 1.08rem;
  font-weight: 900;
}

.nav-toggle {
  background: #fff;
  border: 1px solid var(--border-strong);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
}

.sr-only {
  position: absolute;
  left: -9999px;
}

.main-nav {
  position: absolute;
  top: 100%;
  right: 1rem;
  width: min(290px, calc(100% - 2rem));
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.05rem;
  box-shadow: var(--shadow-md);
}

.main-nav.open {
  display: flex;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0.72rem;
  border-radius: 9px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: #edf2f8;
}

.main-nav a.is-active {
  background: #e8eff8;
  color: #101826;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.18rem;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-warning {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

.btn-warning:hover,
.btn-warning:focus-visible {
  background: var(--accent-dark);
}

.main-nav a.btn-warning:hover,
.main-nav a.btn-warning:focus-visible {
  background: #c94f08;
  color: #fff;
}

.btn-outline {
  border-color: #1d2432;
  color: #1d2432;
  background: #fff;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: #1d2432;
  color: #fff;
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

h1,
h2 {
  margin: 0 0 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.005em;
}

h1 {
  font-size: clamp(1.72rem, 3.6vw, 2.55rem);
}
h2 {
  font-size: clamp(1.34rem, 3.1vw, 2rem);
}
p {
  font-size: 1.04rem;
}

.hero {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: 0 0 1rem;
}

.hero-shell {
  position: relative;
  z-index: 8;
  margin-top: -190px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(249, 251, 253, 0.96)
  );
  border: 1px solid #cfd7e3;
  border-radius: calc(var(--radius) + 2px);
  padding: 0.95rem;
  box-shadow: 0 20px 46px rgba(13, 18, 26, 0.26);
  backdrop-filter: blur(3px);
}

.hero-grid {
  display: grid;
  gap: 0.8rem;
  align-items: start;
}

.hero-content,
.hero-panel {
  background: var(--surface-soft);
  border: 1px solid #e1e7f0;
  border-radius: 12px;
  padding: 1.18rem;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--accent-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.hero-content p {
  margin: 0 0 0.9rem;
  max-width: 64ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-panel-title {
  margin: 0 0 0.72rem;
  font-size: 1rem;
  font-weight: 800;
}

.hero-points {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.3rem;
}

.hero-photo-band {
  position: relative;
  padding: 0 0 2.2rem;
}

.hero-photo-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23eef1f5' d='M0 38C120 92 240 2 360 38C480 78 600 8 720 38C840 70 960 2 1080 38C1200 78 1320 8 1440 38V120H0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 72px;
  background-position: bottom center;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  border-top: 1px solid #d6dde8;
  border-bottom: 1px solid #d6dde8;
  min-height: 300px;
  box-shadow: 0 8px 22px rgba(13, 18, 26, 0.16);
  z-index: 1;
}

.hero-photo-frame img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  color: #fff;
  padding: 1.2rem 0 0.9rem;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 18, 0.58),
    rgba(8, 12, 18, 0.68)
  );
}

.hero-photo-content {
  width: min(100% - 2.25rem, var(--container));
  margin-inline: auto;
  text-align: center;
  background-color: #00000075;
  max-width: 560px;
  padding: 20px;
  border-radius: 8px;
  margin-top: 7%;
}

.hero-photo-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f5c6a3;
}

.hero-photo-overlay h2 {
  margin: 0;
  max-width: 30ch;
  margin-inline: auto;
}

.hero-photo-overlay p {
  margin: 0;
  max-width: 70ch;
  margin-inline: auto;
}

.section {
  padding: 1.7rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #edf1f6, #e8edf4);
  border-top: 1px solid #dee5ef;
  border-bottom: 1px solid #dee5ef;
}

.section-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.expert-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.expert-text p {
  max-width: 70ch;
}

.expert-media {
  margin: 0;
  border: 1px solid #d7deea;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f7fb url("../images/depannage-auto-libre.png") center center /
    cover no-repeat;
  box-shadow: var(--shadow-sm);
  min-height: 320px;
  position: relative;
}

.expert-media figcaption {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  margin: 0;
  background: rgba(10, 16, 24, 0.66);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.32rem 0.55rem;
  border-radius: 8px;
}

.cards,
.services-grid,
.contact-grid,
.cta-grid,
.footer-grid {
  display: grid;
  gap: 0.9rem;
}

.contact-grid {
  align-items: start;
}

.card,
.service-card,
.contact-form-wrap,
.contact-infos,
.avis,
.page-head .container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.card,
.service-card {
  position: relative;
}

.card::before,
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--accent), #ffb171);
}

.contact-infos {
  height: fit-content;
}

.card p,
.service-card p,
.avis p,
.contact-infos li,
.section-block p {
  max-width: 74ch;
}

.service-family-grid {
  display: grid;
  gap: 0.95rem;
}

.service-family-card {
  background: linear-gradient(160deg, #ffffff, #f5f7fb);
  border: 1px solid #d7e0ec;
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
}

.service-family-kicker {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.76rem;
  font-weight: 800;
  color: #9a3412;
}

.service-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.36rem;
  color: #313948;
}

.center {
  text-align: center;
  margin-top: 0.8rem;
}

.cta-band {
  background: linear-gradient(135deg, #0f1520, #1a2231);
  color: #fff;
  padding: 1.55rem 0;
  border-top: 1px solid #252f40;
  border-bottom: 1px solid #252f40;
}

.cta-grid .btn {
  justify-self: start;
  width: auto;
  min-width: 200px;
}

.cta-emergency-btn {
  justify-self: end;
  text-decoration: none;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon label"
    "icon number";
  column-gap: 0.55rem;
  row-gap: 0.12rem;
  align-items: center;
  min-width: 260px;
  padding: 0.68rem 0.95rem 0.78rem;
  border-radius: 12px;
  border: 1px solid #ff9a4a;
  background: linear-gradient(180deg, #ff8a30, #e7650d);
  color: #fff;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.3);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.cta-emergency-icon {
  grid-area: icon;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.cta-emergency-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.cta-emergency-btn:hover,
.cta-emergency-btn:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #f9781f, #c94f08);
  box-shadow: 0 14px 28px rgba(201, 79, 8, 0.35);
}

.cta-emergency-label {
  grid-area: label;
  justify-self: end;
  text-align: right;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.95;
  font-weight: 700;
}

.cta-emergency-btn strong {
  grid-area: number;
  justify-self: end;
  text-align: right;
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.google-mark {
  display: inline-block;
  margin-bottom: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  font-weight: 700;
}

.page-head {
  padding: 2.2rem 0 0;
}

.legal-head .container {
  background: linear-gradient(165deg, #ffffff, #f8fafd);
  border: 1px solid #d8e1ed;
}

.legal-grid {
  display: grid;
  gap: 1.35rem;
  align-items: start;
}

.legal-grid-wide {
  grid-template-columns: 1fr;
}

.legal-card {
  position: relative;
  border-color: #d9e1ec;
  background: linear-gradient(180deg, #ffffff, #f9fbfe);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.legal-card:hover,
.legal-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(17, 22, 30, 0.11);
}

.legal-card p {
  margin: 0 0 0.72rem;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--accent), #ffb171);
}

.legal-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.legal-page .page-head h1,
.legal-page .legal-card h2 {
  color: #b45309;
}

.legal-toc {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.legal-toc a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1d2432;
  background: #fff;
  border: 1px solid #d8e1ed;
  border-radius: 999px;
  padding: 0.42rem 0.74rem;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: #fff2e7;
  border-color: #f3b585;
  color: #9a3412;
}

.legal-card a {
  color: #1f3d7a;
  font-weight: 700;
}

.legal-card a:hover,
.legal-card a:focus-visible {
  color: #0f2859;
}

.contact-infos ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.contact-form-wrap form {
  display: grid;
  gap: 0.72rem;
}

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c7ced8;
  border-radius: 10px;
  padding: 0.72rem 0.82rem;
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(249, 115, 22, 0.2);
  border-color: var(--accent);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.alert {
  border-radius: 10px;
  padding: 0.8rem 1rem;
}

.alert-success {
  background: #e8f7ea;
  border: 1px solid #9ccda8;
}

.alert-error {
  background: #fff2f2;
  border: 1px solid #efb1b1;
}

body.modal-lock {
  overflow: hidden;
}

.status-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.status-modal.is-open {
  display: block;
}

.status-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 14, 23, 0.62);
}

.status-modal-card {
  position: relative;
  width: min(92vw, 520px);
  margin: min(12vh, 92px) auto 0;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 14px;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 22px 56px rgba(10, 16, 24, 0.3);
}

.status-modal-card h2 {
  margin-bottom: 0.55rem;
}

.status-modal-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-modal-kicker-success {
  color: #0f7a3d;
}

.status-modal-kicker-error {
  color: #9b1c1c;
}

.status-modal-card .btn {
  margin-top: 0.45rem;
}

.site-footer {
  background: linear-gradient(180deg, #0e131c, #141b29);
  color: #e2e7ef;
  padding: 2.4rem 0 1.2rem;
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 800;
}
.footer-title {
  font-weight: 700;
}
.footer-zones {
  color: #bcc5d2;
  font-size: 0.92rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.footer-links a,
.footer-credit a {
  color: #fff;
}

.footer-credit {
  text-align: center;
  margin: 1.75rem 1rem 0;
  font-size: 0.92rem;
  color: #c7d0dd;
}

.avis-simple {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
}

.google-review-logo {
  max-width: 210px;
  height: auto;
}

.visual-grid {
  display: grid;
  gap: 0.9rem;
}

.visual-grid-compact {
  max-width: 920px;
  margin-inline: auto;
}

.visual-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.visual-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
  background: #f2f5f9;
  max-height: 280px;
}

.visual-card figcaption {
  padding: 0.72rem 0.92rem 0.86rem;
}

.visual-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.depannage-highlight {
  display: grid;
  gap: 0.95rem;
  align-items: stretch;
}

.depannage-media {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #f2f5f9;
}

.depannage-media img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center center;
}

.depannage-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.depannage-content h2 {
  margin-bottom: 0.6rem;
}

.depannage-content p {
  margin-top: 0;
}

.depannage-icons {
  display: grid;
  gap: 0.65rem;
}

.depannage-icon-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid #e1e7f0;
  border-radius: 10px;
  background: #f9fbff;
  padding: 0.58rem 0.65rem;
}

.depannage-icon-item p {
  margin: 0;
  font-size: 0.95rem;
}

.depannage-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9a3412;
  background: #ffefe1;
}

.depannage-icon svg {
  width: 19px;
  height: 19px;
}

.trust-layout {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.trust-content p:last-child {
  margin-bottom: 0;
}

.trust-media {
  margin: 0;
  justify-self: end;
  width: min(100%, 320px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d8dee8;
  box-shadow: var(--shadow-sm);
  background: #f2f5f9;
}

.trust-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center center;
}

.mobile-call {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 95;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  padding: 0.82rem;
  box-shadow: 0 10px 28px rgba(15, 19, 25, 0.3);
}

.mobile-call-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-call-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.38s ease,
    transform 0.38s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    width: auto;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .header-phone {
    align-items: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
  }

  .hero {
    margin-top: 0;
  }

  .hero-shell {
    margin-top: -220px;
  }

  .hero-photo-band {
    padding-bottom: 2.8rem;
  }

  .hero-panel {
    border-left: 3px solid #dbe3ef;
  }

  .hero-photo-frame,
  .hero-photo-overlay {
    min-height: 340px;
  }

  .cards,
  .visual-grid,
  .expert-grid,
  .service-family-grid,
  .legal-grid,
  .contact-grid,
  .cta-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .depannage-highlight {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .depannage-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-layout {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .mobile-call {
    display: none;
  }
}

@media (max-width: 759px) {
  .topbar {
    display: none;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .header-phone {
    padding: 0.34rem 0.58rem;
    margin-right: 0.1rem;
  }

  .header-phone span {
    display: none;
  }

  .header-phone strong {
    font-size: 0.92rem;
  }

  .cta-grid .btn {
    width: 100%;
    min-width: 0;
  }
  .cta-emergency-btn {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
    align-items: center;
  }
  .hero {
    margin-top: 0;
  }
  .hero-shell {
    margin-top: -120px;
  }
  .hero-photo-band {
    padding-bottom: 1.8rem;
  }
  .hero-photo-frame,
  .hero-photo-overlay {
    min-height: 250px;
  }

  .visual-grid-compact {
    max-width: 100%;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .legal-toc {
    gap: 0.4rem;
  }

  .legal-toc a {
    width: 100%;
    text-align: center;
  }

  .visual-card img {
    max-height: 220px;
  }

  .trust-media {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
  }

  .trust-media img {
    height: 190px;
  }
  body {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .service-family-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid.services-grid-large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1.2fr 0.8fr;
  }

  .section {
    padding: 2.8rem 0;
  }
}
