/* ==========================================================================
   Mounic Motoculture : blanc pur, orange signal, géométrique.
   Polices auto-hébergées : League Spartan (titres), Kumbh Sans (texte).
   ========================================================================== */
@font-face { font-family: 'League Spartan'; src: url(/fonts/league-spartan-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Kumbh Sans'; src: url(/fonts/kumbh-sans-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Titre repli'; src: local('Arial'); size-adjust: 96%; ascent-override: 74%; descent-override: 22%; }
@font-face { font-family: 'Texte repli'; src: local('Arial'); size-adjust: 102%; }

:root {
  --blanc: #FFFFFF;
  --encre: #111418;
  --encre-2: #3B424B;
  --gris: #5F6670;
  --trait: #E3E5E9;
  --fond: #F4F5F7;
  --orange: #FF5A0A;
  --orange-txt: #B53D00;          /* orange lisible en petit texte sur blanc (5,8:1) */
  --orange-pale: #FFEDE2;
  --vert-ok: #1E7B3C;

  --f-titre: 'League Spartan', 'Titre repli', system-ui, sans-serif;
  --f-texte: 'Kumbh Sans', 'Texte repli', system-ui, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --sec: clamp(64px, 8vw, 112px);
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --r: 4px;
  --ombre: 0 1px 2px rgb(17 20 24 / .06), 0 8px 24px -8px rgb(17 20 24 / .14);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--blanc); color: var(--encre); font: 400 1.0625rem/1.62 var(--f-texte); font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-txt); }
::selection { background: var(--orange); color: var(--encre); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: #C4C8CE var(--blanc); }
input, select, textarea, button { font: inherit; color: inherit; caret-color: var(--orange); }

h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 700; line-height: 1.04; letter-spacing: -0.015em; margin: 0 0 var(--s4); text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 1.5rem + 3.7vw, 4.6rem); line-height: .98; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 1.35rem + 1.8vw, 2.85rem); }
h3 { font-size: 1.32rem; line-height: 1.15; letter-spacing: -0.005em; font-weight: 650; }
p { margin: 0 0 var(--s4); }
p, li { text-wrap: pretty; }
strong { font-weight: 650; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap--etroit { max-width: 860px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--encre); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico-star { color: var(--orange); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: var(--r);
  font: 650 1rem/1 var(--f-titre); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico-arrow, .btn:hover svg:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--orange { background: var(--orange); color: var(--encre); }
.btn--orange:hover { background: #FF7428; color: var(--encre); }
.btn--noir { background: var(--encre); color: #fff; }
.btn--noir:hover { background: #2A3038; color: #fff; }
.btn--ligne { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn--ligne:hover { background: var(--encre); color: #fff; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.08rem; }
.btn[disabled], .btn.is-envoi { opacity: .6; cursor: progress; }
.lien { display: inline-flex; align-items: center; gap: 8px; font: 650 1rem/1.3 var(--f-titre); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lien .ico { transition: transform .35s var(--ease); }
.lien:hover .ico { transform: translateX(4px); }

/* ---------- Barre haute ---------- */
.topbar { background: var(--encre); color: #D5D9DE; font-size: .84rem; }
.topbar__in { display: flex; align-items: center; gap: var(--s5); min-height: 38px; }
.topbar__statut { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.topbar__statut i { width: 8px; height: 8px; border-radius: 50%; background: #8A929C; }
.topbar__statut.is-ouvert i { background: #3FD06B; box-shadow: 0 0 0 3px rgb(63 208 107 / .25); }
.topbar__adr { display: inline-flex; align-items: center; gap: 6px; }
.topbar__liens { margin-left: auto; display: flex; gap: var(--s5); }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--orange); }

/* ---------- En-tête ---------- */
.head { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .97); border-bottom: 1px solid var(--trait); }
.head__in { display: flex; align-items: center; gap: var(--s5); min-height: var(--head-h); }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: #18222D; flex: none; }
.logo__svg { width: 150px; height: auto; }
.logo__sous { font: 600 .66rem/1 var(--f-texte); letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin: 4px 0 0 2px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 10px 11px; font: 600 1rem/1 var(--f-titre); text-decoration: none; color: var(--encre); border-radius: var(--r); position: relative; }
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--encre); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav__long, .nav__plus { display: none; }
.head__act { display: flex; align-items: center; gap: var(--s3); }
.head__tel { display: inline-flex; align-items: center; gap: 8px; font: 700 1.05rem/1 var(--f-titre); text-decoration: none; padding: 10px 6px; white-space: nowrap; }
.head__tel .ico { color: var(--orange-txt); }
.head__devis { min-height: 44px; padding: 0 18px; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 11px; cursor: pointer; }
.burger span { display: block; height: 2.5px; background: var(--encre); margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1300px) { .head__tel span { display: none; } .head__tel .ico { width: 1.4em; height: 1.4em; } }
@media (max-width: 1120px) {
  .topbar__liens { display: none; }
  .burger { display: block; }
  .head__act { margin-left: auto; }
  .nav { position: fixed; inset: calc(var(--head-h) + 38px) 0 0 0; background: #fff; padding: var(--s5) var(--pad) 120px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .nav.is-ouvert { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--trait); }
  .nav a { padding: 18px 0; font-size: 1.3rem; }
  .nav a::after { left: 0; right: auto; width: 40px; bottom: 10px; }
  .nav__court { display: none; } .nav__long, .nav__plus { display: block; }
  body.menu-ouvert { overflow: hidden; }
}
@media (max-width: 720px) {
  :root { --head-h: 64px; }
  .topbar__adr { display: none; }
  .logo__svg { width: 124px; }
  .logo__sous { font-size: .58rem; letter-spacing: .1em; }
  .head__devis { display: none; }
}

/* ---------- Fil d'Ariane ---------- */
.fil { padding-top: var(--s5); font-size: .88rem; color: var(--gris); }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fil li + li::before { content: "/"; margin-right: 6px; color: #A9AFB7; }
.fil a { color: var(--gris); text-decoration: none; }
.fil a:hover { color: var(--encre); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: var(--sec) 0; }
.section--trait { border-top: 1px solid var(--trait); }
.section--fond { background: var(--fond); }
.section + .section--trait, .section--serre { padding-top: calc(var(--sec) * .75); }
.h-sec { margin-bottom: var(--s6); }
.chapo { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: var(--encre-2); max-width: 62ch; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--s8); }
.prose h3 { margin-top: var(--s6); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--orange); }
.tete { display: flex; justify-content: space-between; align-items: end; gap: var(--s5); margin-bottom: var(--s7); flex-wrap: wrap; }
.tete h2 { margin: 0; max-width: 22ch; }
.tete p { margin: 0; max-width: 46ch; color: var(--encre-2); }

/* ---------- Accueil : héros ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero__grille { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero h1 { margin-bottom: var(--s5); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--encre); background: linear-gradient(transparent 62%, var(--orange) 62%, var(--orange) 90%, transparent 90%); padding: 0 .04em; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); line-height: 1.5; color: var(--encre-2); max-width: 54ch; margin-bottom: var(--s6); }
.hero__btns { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; }
.hero__aside { border-top: 3px solid var(--encre); padding-top: var(--s5); display: grid; gap: var(--s4); }
.hero__aside p { margin: 0; color: var(--encre-2); font-size: .98rem; }
.hero__aside .hero__tel { font: 700 clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem)/1 var(--f-titre); text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; }
.hero__aside .hero__tel .ico { color: var(--orange-txt); }
.hero__photos { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s3); margin-top: clamp(40px, 5vw, 64px); }
.hero__photos figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: var(--fond); }
.hero__photos img { width: 100%; height: clamp(240px, 32vw, 460px); object-fit: cover; }
.hero__photos figcaption { position: absolute; left: 0; bottom: 0; background: #fff; padding: 8px 14px; font: 600 .86rem/1.3 var(--f-texte); border-top-right-radius: var(--r); }

.note { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: .95rem; color: var(--encre); }
.note__etoiles { display: inline-flex; gap: 1px; }
.note:hover { color: var(--encre); text-decoration: underline; }

.rass { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); font-size: .94rem; color: var(--encre-2); }
.rass li { display: inline-flex; align-items: center; gap: 8px; }
.rass .ico { color: var(--orange-txt); }
.rass .ico-star, .rass li:last-child .ico { color: var(--orange); }

/* ---------- Gammes à la une ---------- */
.une { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: var(--s5); }
.une__item { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--encre); }
.une__item:first-child { grid-row: span 2; }
.une__media { overflow: hidden; border-radius: var(--r); background: var(--fond); }
.une__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.une__item:first-child .une__media img { aspect-ratio: 4 / 3.35; }
.une__item:hover img { transform: scale(1.035); }
.une__media--blanc { background: #fff; border: 1px solid var(--trait); }
.une__media--blanc img { object-fit: contain; padding: 5% 8%; }
.une__txt { padding-top: var(--s4); }
.une__txt h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); margin-bottom: 6px; }
.une__txt h3 .ico { color: var(--orange-txt); transition: transform .35s var(--ease); }
.une__item:hover h3 .ico { transform: translateX(5px); }
.une__txt p { color: var(--encre-2); margin: 0; max-width: 52ch; }

/* ---------- Index des gammes (liste éditoriale) ---------- */
.index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s7); border-top: 1px solid var(--trait); }
.index li { border-bottom: 1px solid var(--trait); }
.index a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nom fl" "desc fl"; gap: 4px var(--s4); padding: var(--s5) 0; text-decoration: none; color: var(--encre); align-items: center; }
.index__nom { grid-area: nom; font: 650 1.2rem/1.2 var(--f-titre); }
.index__desc { grid-area: desc; color: var(--gris); font-size: .95rem; }
.index a .ico { grid-area: fl; width: 22px; height: 22px; color: var(--encre); transition: transform .35s var(--ease), color .2s; }
.index a:hover .index__nom { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.index a:hover .ico { transform: translateX(5px); color: var(--orange-txt); }

/* ---------- Bloc deux colonnes ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.duo--inv > :first-child { order: 2; }
.duo__media { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--fond); }
.duo__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.duo__media--large img { aspect-ratio: 16 / 9; }
.duo__media--blanc { background: #fff; border: 1px solid var(--trait); }
.duo__media--blanc img { object-fit: contain; padding: 4%; }
.coches { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: 10px; }
.coches li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.coches .ico { color: var(--orange-txt); margin-top: 3px; }

/* ---------- Histoire : jalons ---------- */
.jalons { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--encre); }
.jalons li { padding: var(--s5) var(--s5) 0 0; }
.jalons b { display: block; font: 750 clamp(2.2rem, 1.6rem + 2vw, 3.4rem)/1 var(--f-titre); letter-spacing: -0.03em; color: var(--orange); margin-bottom: var(--s3); }
.jalons span { color: var(--encre-2); font-size: .98rem; display: block; max-width: 30ch; }

/* ---------- Trajets ---------- */
.trajets { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.trajets th, .trajets td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--trait); font-weight: 400; }
.trajets td { text-align: right; color: var(--encre-2); white-space: nowrap; }
.trajets a { text-decoration: none; font-weight: 600; }
.trajets a:hover { text-decoration: underline; }

/* ---------- Produits (photos détourées) ---------- */
.produits { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--s4); }
.produits figure { margin: 0; border: 1px solid var(--trait); border-radius: var(--r); overflow: hidden; background: #fff; height: 100%; }
.produits img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 10px; }
.produits--photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.produits--photos img { object-fit: cover; padding: 0; }
.produits figcaption { padding: 10px 14px 12px; font: 600 .95rem/1.3 var(--f-titre); border-top: 1px solid var(--trait); }

/* ---------- Gammes : listes de machines ---------- */
.colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--s6) var(--s7); margin-top: var(--s6); }
.colonnes h3 { padding-top: var(--s4); border-top: 3px solid var(--encre); }
.colonnes ul { margin: 0; padding-left: 1.1em; }
.colonnes li { margin-bottom: 6px; }
.colonnes li::marker { color: var(--orange); }
.colonnes p { color: var(--encre-2); }
.astuce { margin-top: var(--s6); padding: var(--s5) var(--s6); background: var(--orange-pale); border-radius: var(--r); max-width: 760px; }
.astuce strong { font-family: var(--f-titre); font-size: 1.05rem; display: block; margin-bottom: 4px; }
.astuce p:last-child { margin: 0; }

/* ---------- En-tête de page intérieure ---------- */
.ph { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
.ph__grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ph h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4rem); max-width: 16ch; }
.ph .chapo { margin-bottom: var(--s6); }
.ph__media { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--fond); }
.ph__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.ph__media--blanc { background: #fff; border: 1px solid var(--trait); }
.ph__media--blanc img { object-fit: contain; padding: 6%; }
.ph--simple .ph__grille { grid-template-columns: 1fr; }
.bandeau { margin: 0; border-radius: var(--r); overflow: hidden; }
.bandeau img { width: 100%; height: clamp(160px, 22vw, 300px); object-fit: cover; }

/* ---------- Bande CTA (orange) ---------- */
.cta { background: var(--orange); color: var(--encre); padding: clamp(48px, 6vw, 80px) 0; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--s6) var(--s8); align-items: center; }
.cta h2 { margin-bottom: var(--s3); max-width: 20ch; }
.cta p { margin: 0; max-width: 58ch; font-size: 1.08rem; color: #2B1406; }
.cta p a { color: var(--encre); text-decoration-color: var(--encre); }
.cta__act { display: flex; flex-direction: column; gap: var(--s4); align-items: flex-start; }
.cta__tel { display: inline-flex; align-items: center; gap: 10px; font: 700 1.5rem/1 var(--f-titre); text-decoration: none; color: var(--encre); }
.cta__tel:hover { color: var(--encre); text-decoration: underline; text-decoration-color: var(--encre); }

/* ---------- FAQ ---------- */

.faq__in { max-width: 860px; }
.faq__liste { border-top: 3px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 650 1.16rem/1.3 var(--f-titre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.5px solid var(--encre); border-bottom: 2.5px solid var(--encre); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--orange-txt); }
.faq__r { padding: 0 0 var(--s5); color: var(--encre-2); max-width: 68ch; }
.faq__r p:last-child { margin: 0; }

/* ---------- À compléter ---------- */
.a-completer { display: inline-block; background: repeating-linear-gradient(-45deg, #FFF6D6, #FFF6D6 8px, #FFEFB8 8px, #FFEFB8 16px); color: #5C4400; border: 1px dashed #C9A100; padding: 2px 10px; border-radius: 3px; font: 600 .86rem/1.5 var(--f-texte); }

/* ---------- Horaires ---------- */
.horaires { border-collapse: collapse; width: 100%; max-width: 380px; font-size: .95rem; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--trait); font-weight: 400; }
.horaires td { text-align: right; }
.horaires .is-auj th, .horaires .is-auj td { font-weight: 700; }

/* ---------- Contact / formulaire ---------- */
.contact__grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.form { display: grid; gap: var(--s5); }
.form__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.champ { display: grid; gap: 8px; }
.champ label, .champ legend { font: 650 .98rem/1.3 var(--f-titre); }
.champ small { color: var(--gris); font-size: .86rem; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #B9BEC5; border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; }
.champ textarea { min-height: 140px; resize: vertical; }
.champ input::placeholder, .champ textarea::placeholder { color: #6B727C; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--encre-2); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgb(255 90 10 / .45); }
.champ [aria-invalid="true"] { border-color: #C0262D; }
.rgpd { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .92rem; color: var(--encre-2); align-items: start; }
.rgpd input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { padding: 14px 18px; border-radius: var(--r); font-weight: 600; }
.form__msg:empty { display: none; }
.form__msg.is-ok { background: #E7F5EC; color: var(--vert-ok); }
.form__msg.is-err { background: #FCE9EA; color: #9E1C22; }
.form__note { font-size: .88rem; color: var(--gris); margin: 0; }
.fiche { border-top: 3px solid var(--encre); padding-top: var(--s5); display: grid; gap: var(--s5); }
.fiche h2 { font-size: 1.5rem; margin: 0; }
.fiche address { font-style: normal; line-height: 1.7; }
.fiche__tel { font: 700 1.7rem/1 var(--f-titre); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.fiche__tel .ico { color: var(--orange-txt); }
.carte { border: 0; width: 100%; height: 360px; border-radius: var(--r); background: var(--fond); display: block; }

/* ---------- Conseils ---------- */
.conseils { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.conseils a { display: grid; gap: var(--s4); text-decoration: none; color: var(--encre); }
.conseils .duo__media img { aspect-ratio: 3 / 2; transition: transform .8s var(--ease); }
.conseils a:hover img { transform: scale(1.035); }
.conseils h3 { margin: 0; font-size: 1.3rem; }
.conseils a:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sommaire { border-top: 3px solid var(--encre); padding-top: var(--s4); font-size: .96rem; }
.sommaire ol { margin: 0; padding-left: 1.2em; }
.sommaire li { margin-bottom: 4px; }

/* ---------- Plan du site ---------- */
.plan { columns: 2 280px; column-gap: var(--s8); }
.plan section { break-inside: avoid; margin-bottom: var(--s6); }
.plan h2 { font-size: 1.3rem; border-top: 3px solid var(--encre); padding-top: var(--s3); }
.plan ul { padding-left: 1.1em; margin: 0; }
.plan li { margin-bottom: 6px; }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--trait); padding: var(--s8) 0 0; font-size: .95rem; color: var(--encre-2); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr 1.1fr; gap: var(--s7); }
.logo--foot .logo__svg { width: 160px; margin-bottom: var(--s4); }
.foot__h { font: 700 1.02rem/1.2 var(--f-titre); color: var(--encre); margin: 0 0 var(--s4); letter-spacing: .01em; }
.foot__h--2 { margin-top: var(--s6); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; color: var(--encre); }
.foot address { font-style: normal; line-height: 1.7; margin-bottom: var(--s3); }
.foot__lien { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--encre); }
.foot .horaires { margin-top: var(--s4); font-size: .88rem; }
.foot__releve { font-size: .82rem; color: var(--gris); margin-top: 6px; }
.foot__bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s8); padding-top: var(--s5); padding-bottom: var(--s6); border-top: 1px solid var(--trait); font-size: .86rem; color: var(--gris); }
.foot__bas p { margin: 0; }
.foot__liens { display: flex; flex-wrap: wrap; gap: var(--s5); align-items: center; }

/* ---------- Barre d'appel mobile ---------- */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.5fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--trait); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -6px 20px -10px rgb(17 20 24 / .25); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--r); font: 700 1rem/1 var(--f-titre); text-decoration: none; }
  .mbar__tel { background: var(--encre); color: #fff; }
  .mbar__devis { background: var(--orange); color: var(--encre); }
  .mbar a:hover { color: inherit; }
  body { padding-bottom: 76px; }
}

/* ---------- Animation d'arrivée (unique, sur le héros) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .ph h1 { animation: monte .9s var(--ease) both; }
  .hero__lead, .ph .chapo { animation: monte .9s .08s var(--ease) both; }
  .hero__photos figure { animation: devoile 1.1s .15s var(--ease) both; }
  .hero__photos figure + figure { animation-delay: .25s; }
  @keyframes monte { from { opacity: .001; transform: translateY(14px); } }
  @keyframes devoile { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grille, .ph__grille, .duo, .contact__grille, .cta__in { grid-template-columns: 1fr; }
  .duo--inv > :first-child { order: 0; }
  .une { grid-template-columns: 1fr 1fr; }
  .une__item:first-child { grid-column: span 2; grid-row: auto; }
  .jalons { grid-template-columns: 1fr 1fr; row-gap: var(--s5); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .conseils { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 1.03rem; }
  .index { grid-template-columns: 1fr; }
  .une { grid-template-columns: 1fr; }
  .une__item:first-child { grid-column: auto; }
  .hero__photos { grid-template-columns: 1fr; }
  .hero__photos figure + figure { display: none; }
  .form__ligne { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .conseils { grid-template-columns: 1fr; }
  .jalons { grid-template-columns: 1fr 1fr; column-gap: var(--s4); }
  .jalons li { padding-right: 0; }
  .produits { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .produits--photos { grid-template-columns: 1fr; }
  .hero__btns .btn { width: 100%; }
  .tete { margin-bottom: var(--s6); }
}

/* Photos panoramiques de l'ancien site (1920 × 330) : format large pour rester nettes */
.ph__media img[src*="tracteur-de-pente-debroussaillage"], .duo__media img[src*="tracteur-de-pente-debroussaillage"],
.ph__media img[src*="magasin-broyeur-robot"], .duo__media img[src*="magasin-broyeur-robot"],
.duo__media img[src*="quads-devant-magasin"], .conseils img[src*="tracteur-de-pente"] { aspect-ratio: 16 / 9; }
