/* ==========================================================================
   Murrayfield Royan — feuille de style moderne
   Palette : bleu nuit #262351 · vert anglais #1e5b2d / #2e7d32 · teal Royan #17a398 ·
             orange Murray #f4772e · sable #f6f1e7 · blanc cassé #fdfbf7
   Typo    : Playfair Display (titres) · Inter (texte)
   ========================================================================== */

:root {
  --navy: #262351;
  --navy-deep: #1b1940;
  --green: #1e5b2d;
  --green-bright: #2e7d32;
  --teal: #17a398;
  --orange: #f4772e;
  --orange-dark: #b34c10;
  --cream: #f6f1e7;
  --paper: #fdfbf7;
  --ink: #23222a;
  --muted: #6b6a75;
  --line: #e6e1d6;
  --shadow: 0 10px 30px rgba(38, 35, 81, .10);
  --shadow-lg: 0 24px 60px rgba(38, 35, 81, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

.container { width: min(1160px, 92%); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: #fff; padding: .6em 1em;
  border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; color: #fff; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

::selection { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 247, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}

.brand-logo { width: 210px; height: auto; }

.main-nav ul {
  display: flex; align-items: center; gap: .35rem;
  list-style: none; margin: 0; padding: 0;
}

.main-nav a {
  display: block; padding: .55em .85em;
  color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: .95rem;
  border-radius: 999px;
  transition: background .2s, color .2s;
}

.main-nav a:hover { background: var(--cream); color: var(--navy); }

/* Page active : pilule bleu nuit, immédiatement identifiable */
.main-nav a[aria-current="page"] {
  background: var(--navy); color: #fff; font-weight: 600;
}
.main-nav a[aria-current="page"]:hover { background: var(--green); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .5rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid; align-items: center;
  min-height: min(88vh, 780px);
  background: var(--teal);
  color: #fff;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}

.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(23, 82, 87, .82) 0%, rgba(23, 82, 87, .45) 45%, rgba(23, 82, 87, .12) 75%);
}

.hero-inner {
  position: relative; z-index: 1;
  padding: clamp(4rem, 10vh, 7rem) 0;
  max-width: 640px;
}

.hero-kicker {
  display: inline-block;
  font-size: .85rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #ffffff;
  background: #c25513;
  padding: .45em 1em; border-radius: 999px;
  margin-bottom: 1.2em;
}

/* Mobile : pilule multi-lignes moche -> label minimaliste avec filet */
@media (max-width: 640px) {
  .hero-kicker {
    background: none;
    padding: 0;
    border-radius: 0;
    color: #ffd9b8;
    font-size: .78rem;
    letter-spacing: .18em;
    line-height: 1.6;
    max-width: 24em;
  }
  .hero-kicker::before {
    content: "";
    display: block;
    width: 2.6rem; height: 3px;
    border-radius: 2px;
    background: #ffd9b8;
    margin-bottom: .8em;
  }
}

.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 em { font-style: italic; color: #ffd9b8; }

.hero-text { font-size: 1.15rem; color: rgba(255,255,255,.94); max-width: 34em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6em 0 1.4em; }

.hero-points {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  list-style: none; margin: 0; padding: 0;
  color: rgba(255,255,255,.92); font-weight: 600; font-size: .95rem;
}
.hero-points li::before { content: "✓ "; color: #ffd9b8; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: .78em 1.5em;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--orange-dark); color: #fff; box-shadow: 0 6px 18px rgba(194,85,19,.35); }
.btn-primary:hover { background: #a8480f; color: #fff; }

.btn-ghost {
  border: 2px solid rgba(255,255,255,.85); color: #fff;
}
.btn-ghost:hover { background: #fff; color: var(--teal); }

.section .btn-ghost { border-color: var(--navy); color: var(--navy); }
.section .btn-ghost:hover { background: var(--navy); color: #fff; }

.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 8vw, 5.5rem) 0; }
.section.alt { background: var(--cream); }

.section-head { max-width: 680px; margin-bottom: 2.2rem; }
/* Grands écrans : on élargit pour éviter les coupures de chapeaux longs */
@media (min-width: 1200px) {
  .section-head { max-width: 860px; }
}
.section-head p { color: var(--muted); }

.eyebrow {
  font-size: .82rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: .4em;
}

.grid-2 {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}

.intro-visual {
  margin: 0; position: relative;
}
.intro-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.intro-visual figcaption {
  margin-top: .8em; font-size: .9rem; color: var(--muted);
  text-align: center;
}

/* ---------- Sélection : grille statique ---------- */
.pick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
  list-style: none;
  margin: 0; padding: 0;
}

.pick-grid figure {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.pick-grid figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pick-grid img { aspect-ratio: 650 / 500; object-fit: cover; width: 100%; }
.pick-grid figcaption {
  padding: .75rem .9rem .85rem;
  display: flex; flex-direction: column; gap: .1em;
}
.pick-grid figcaption strong { color: var(--navy); font-size: .98rem; line-height: 1.25; }
.pick-grid figcaption span { color: var(--muted); font-size: .84rem; line-height: 1.35; }

@media (max-width: 1020px) { .pick-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .pick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)  { .pick-grid { grid-template-columns: 1fr; } }

/* ---------- Sélection de texte rétablie ---------- */
/* La sélection était impossible sur certains titres à cause de
   text-wrap: balance + sélection ::selection trop sombre ; on force
   la sélection partout (le hero utilise déjà du texte réel). */
h1, h2, h3, h4, p, figcaption, td, th, address, blockquote {
  user-select: text;
  -webkit-user-select: text;
}

/* ---------- Cartes ---------- */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem; list-style: none; margin: 0; padding: 0;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { color: var(--green); }
.card p { margin: 0; font-size: .97rem; color: var(--muted); }
.card a { font-weight: 600; }

/* ---------- Équipe ---------- */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem; list-style: none; margin: 0; padding: 0;
}
.page-team { grid-template-columns: repeat(5, 1fr); }

.member {
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.member-info { padding: 1rem 1.1rem 1.2rem; }
.member-info h3 { margin: 0 0 .1em; font-size: 1.15rem; }
.member-info p { margin: 0; color: var(--green); font-size: .92rem; font-weight: 500; }

.team-more { margin-top: 1.6rem; color: var(--muted); }

/* ---------- Bandeau CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--green) 0%, #0e7a72 100%); color: #fff; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { color: rgba(255,255,255,.92); margin: 0; }
.cta-band a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }


/* CTA band : les boutons ghost passent en blanc pour rester lisibles sur le dégradé */
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: #0e7a72; }



/* ---------- Page 404 ---------- */
.notfound { max-width: 640px; text-align: center; padding-block: 3rem 4rem; }
.notfound-code {
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--orange-dark);
  margin: 0 0 .1em;
}
.notfound h1 { margin-bottom: .6em; }
.notfound-lead { font-size: 1.05rem; color: var(--muted); }
.notfound-links {
  list-style: none; padding: 0; margin: 2rem 0;
  display: grid; gap: .55rem; text-align: left;
  max-width: 420px; margin-inline: auto;
}
.notfound-links a { font-weight: 600; }
.notfound-help { color: var(--muted); }

/* ---------- Carte OpenStreetMap ---------- */
.osm-embed { margin: 0; }
.osm-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--cream);
}
.osm-embed figcaption {
  margin-top: .8em;
  font-size: .92rem;
  color: var(--muted);
}
@media (max-width: 640px) { .osm-embed iframe { aspect-ratio: 4 / 3; } }

/* ---------- Pages internes ---------- */
.page-hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(23, 163, 152, .18), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  padding: clamp(2.6rem, 6vw, 4.2rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { margin-bottom: .3em; }
.page-lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; margin: 0; }

.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: .4em;
  list-style: none; margin: 0 0 1.2em; padding: 0;
  font-size: .88rem; color: var(--muted);
}
.breadcrumb li + li::before { content: "→ "; margin-right: .4em; color: var(--orange); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--green); font-weight: 600; }

.hours-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  font-size: 1rem;
}
.hours-table caption {
  text-align: left; font-weight: 700; padding: 0 0 .6em;
  color: var(--navy); caption-side: top;
}
.hours-table th, .hours-table td {
  text-align: left; padding: .9em 1.2em;
  border-bottom: 1px solid var(--line);
}
.hours-table thead th { background: var(--cream); color: var(--navy); font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
.hours-table tbody tr:last-child th, .hours-table tbody tr:last-child td { border-bottom: 0; }
.hours-table tbody th { font-weight: 700; color: var(--green); width: 38%; }
.hours-note { font-size: .85rem; color: var(--muted); }
.hours-sep { color: var(--orange); font-weight: 700; }

.tip {
  background: #fff7ec; border-left: 4px solid var(--orange);
  padding: .9em 1.1em; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .95rem;
}

.addr-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow); font-style: normal;
  margin-bottom: 1.2rem;
}
.addr-card.big { font-size: 1.1rem; }

.contact-list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.contact-list li {
  display: flex; gap: 1rem; align-items: baseline;
  padding: .7em 0; border-bottom: 1px dashed var(--line);
}
.c-label {
  min-width: 92px; font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.contact-list a { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.3rem; margin-bottom: .8rem;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy);
  font-family: var(--font-title); font-size: 1.08rem;
}
.faq details[open] summary { margin-bottom: .5em; }
.faq p:last-child { margin-bottom: 0; }

/* ---------- Marques ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem; list-style: none; margin: 0; padding: 0;
}

.brand-grid li {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 1.6rem 1.4rem; min-height: 130px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.brand-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.brand-grid img { max-height: 84px; width: auto; max-width: 100%; object-fit: contain; }
.brand-note { margin-top: 1.6rem; color: var(--muted); }

.photo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; list-style: none; margin: 0; padding: 0;
}
.photo-grid img {
  border-radius: var(--radius-sm);
  aspect-ratio: 650 / 500; object-fit: cover; width: 100%;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.photo-grid img:hover { transform: scale(1.015); box-shadow: var(--shadow-lg); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.85);
  margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.4rem; padding: 3.2rem 0 2.2rem;
}
.site-footer h3 {
  color: #fff; font-size: 1.02rem; margin-bottom: .9em;
  font-family: var(--font-body); font-weight: 700;
}
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #ffd9b8; text-decoration: underline; }
.f-brand p { font-size: .95rem; color: rgba(255,255,255,.7); }
.socials { list-style: none; display: flex; gap: .6rem; margin: 1rem 0 0; padding: 0; }
.socials a {
  border: 1px solid rgba(255,255,255,.35);
  padding: .35em 1em; border-radius: 999px; font-size: .88rem;
}
address { font-style: normal; line-height: 1.8; font-size: .95rem; }
.footnote { font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.2rem 0 1.4rem;
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer-bottom p { margin: 0; }


/* ---------- Liens : soulignés + icône externe ---------- */
main p a,
main li a,
main td a,
main figcaption a,
main address a,
main details p a,
.faq summary a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
main .btn { text-decoration: none; } /* les boutons restent sans souligné */

/* Icône "carré avec flèche" sur les liens sortants */
.ext-link::after {
  content: "";
  display: inline-block;
  width: .72em; height: .72em;
  margin-left: .28em;
  vertical-align: -2%;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .15s;
}
.ext-link:hover::after { transform: translate(1px, -1px); }

/* ---------- Pages légales ---------- */
.legal { max-width: 800px; }
.legal h2 { margin-top: 1.6em; font-size: 1.35rem; }
.legal p { color: var(--ink); }
.legal-note { color: var(--muted); font-size: .85em; font-style: normal; }
.legal ul { padding-left: 1.2em; }

.legal-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--radius-sm);
  overflow: hidden; box-shadow: var(--shadow);
  margin: 1rem 0 1.5rem; font-size: .98rem;
}
.legal-table th, .legal-table td {
  text-align: left; padding: .8em 1.1em;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.legal-table tbody tr:last-child th, .legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table th { width: 34%; color: var(--green); font-weight: 700; }

/* ---------- Galerie Murray Art (page dédiée) ---------- */
.art-gallery-lg {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.art-gallery-lg figure { margin: 0; }
.art-gallery-lg img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 6; object-fit: cover; width: 100%;
  transition: transform .25s, box-shadow .25s;
}
.art-gallery-lg figure:hover img { transform: scale(1.015); box-shadow: var(--shadow-lg); }
.art-gallery-lg figcaption {
  text-align: center; font-size: .9rem; color: var(--muted);
  padding: .6em 0 0;
}
.art-credit-line { margin-top: 1.6rem; color: var(--muted); font-size: .92rem; }

@media (max-width: 900px) { .art-gallery-lg { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .art-gallery-lg { grid-template-columns: 1fr; } }

.footer-bottom-flex {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-legal { margin: 0; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }


/* ---------- Badge avis Google ---------- */
.hero-rating {
  margin-top: 1.4em;
  display: flex; align-items: center; gap: .5em; flex-wrap: wrap;
  font-size: .98rem;
  color: rgba(255,255,255,.95);
}
.hero-rating strong { font-size: 1.08rem; color: #fff; }
/* Étoiles : SVG inline (4 pleines + 5e à 62% = note 4,6/5), géométrie exacte */
.stars {
  display: inline-flex; align-items: center; gap: 2px;
  height: 1em; line-height: 0;
}
.stars svg { width: 1.05em; height: 1.05em; display: block; }
.stars .full { fill: #ffb937; }
.stars .part-fg { fill: #ffb937; }
.stars .part-bg { fill: rgba(38,35,81,.22); }
.contact-rating .stars .part-bg { fill: #c9c3b4; }
.contact-rating { color: var(--muted); }
.contact-rating strong { color: var(--navy); }
.hero-rating-link { font-weight: 600; color: #ffffff; }
.contact-rating a { color: var(--green); }


/* Opt-out Matomo (footer-bottom) */
.footer-matomo { margin: 0; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-matomo a {
  color: rgba(255,255,255,.75);
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-matomo a:hover { color: #ffd9b8; }
.footer-matomo a[data-state="out"] { color: #ffd9b8; }

/* ---------- Accessibilité mouvement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .page-team { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .grid-2 { grid-template-columns: 1fr; }
  .art-gallery { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; }
  .main-nav ul {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: .8rem 4%;
    display: none;
  }
  .main-nav ul.open { display: flex; }
  .main-nav a { padding: .8em 1em; border-radius: var(--radius-sm); }
  .brand-logo { width: 170px; height: auto; }
  .hero-inner { max-width: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .team-grid, .page-team { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .art-gallery { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .car-track { grid-auto-columns: 78vw; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}