/* Trottier Vitres d'Autos — site public. Couleurs du logo : rouge, noir, blanc. */
@font-face { font-family: "Hanken Grotesk"; font-weight: 300 800; font-display: swap; src: url("hanken-grotesk-300-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 700; font-display: swap; src: url("inter-400-700.woff2") format("woff2"); }

:root {
  --rouge: #c8102e;
  --rouge-fonce: #a50d26;
  --rouge-doux: #fdecef;
  --noir: #0f1115;
  --anthracite: #181b22;
  --encre: #1b1f27;
  --texte: #4a5161;
  --pale: #8a91a0;
  --bord: #e6e8ed;
  --fond-doux: #f5f6f8;
  --blanc: #fff;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(15, 17, 21, .05), 0 8px 24px rgba(15, 17, 21, .06);
  --ombre-forte: 0 20px 50px rgba(15, 17, 21, .18);
  --titres: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --corps: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--corps); font-size: 1rem; line-height: 1.65; color: var(--texte); background: var(--blanc); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titres); color: var(--encre); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: 4px; }
section[id], #haut { scroll-margin-top: 84px; }

.conteneur { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.evitement { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--rouge); color: #fff; padding: .6rem 1rem; }
.evitement:focus { left: 1rem; top: 1rem; }

/* ------------------------------------------------------------------ boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: 10px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--corps); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.bouton svg { width: 20px; height: 20px; }
.bouton:hover { transform: translateY(-1px); }
.bouton-rouge { background: var(--rouge); color: #fff; box-shadow: 0 8px 20px rgba(200, 16, 46, .28); }
.bouton-rouge:hover { background: var(--rouge-fonce); }
.bouton-clair { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.bouton-clair:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .6); }
.bouton-noir { background: var(--noir); color: #fff; }
.bouton-noir:hover { background: #262a33; }
.bouton-contour { color: var(--encre); border-color: var(--bord); background: #fff; }
.bouton-contour:hover { border-color: var(--encre); }
.bouton-petit { padding: .55rem .95rem; font-size: .92rem; }
.bouton-petit svg { width: 17px; height: 17px; }
.bouton-grand { padding: 1.05rem 1.6rem; font-size: 1.1rem; }
.boutons { display: flex; flex-wrap: wrap; gap: .75rem; }

.surtitre { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .9rem; font: 700 .78rem/1 var(--corps); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.surtitre::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.surtitre-clair { color: #ff8a9b; }

/* ------------------------------------------------------------------ en-tête */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.entete.defile { background: rgba(15, 17, 21, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.marque { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; font: 800 1.12rem/1.1 var(--titres); letter-spacing: -.01em; }
.marque img { width: 44px; height: 44px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.6rem; }
.nav ul a { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav ul a:hover { color: #fff; border-color: var(--rouge); }
.nav-actions { display: flex; align-items: center; gap: .9rem; }
.langue { display: inline-grid; place-items: center; min-width: 40px; height: 34px; padding: 0 .55rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px;
  font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-decoration: none; color: #fff; }
.langue:hover { border-color: #fff; }
.entete-droite { display: none; align-items: center; gap: .5rem; }
.appel-entete { display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 .85rem; border-radius: 10px; background: var(--rouge); color: #fff;
  font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.appel-entete svg { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; padding: 11px 10px; }
.burger span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-ouvert .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
.menu-ouvert .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ héros */
.heros { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; padding: 140px 0 120px; background: var(--noir); color: #fff; overflow: hidden; isolation: isolate; }
.heros-photo { position: absolute; inset: 0 0 0 38%; z-index: -2; }
.heros-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.heros::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--noir) 36%, rgba(15, 17, 21, .86) 52%, rgba(15, 17, 21, .35) 78%, rgba(15, 17, 21, .15)),
              linear-gradient(0deg, rgba(15, 17, 21, .65), transparent 35%); }
.heros::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--rouge), var(--rouge) 30%, transparent); }
.heros-contenu { max-width: 1200px; }
.heros h1 { color: #fff; max-width: 19ch; text-wrap: balance; }
.heros-texte { max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .8); margin-bottom: 2rem; }
.heros-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.4rem; }
.heros-note { display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: rgba(255, 255, 255, .62); margin: 0; }
.heros-note svg { width: 18px; height: 18px; color: #ff8a9b; }

/* ------------------------------------------------------------------ atouts (sous le héros) */
.atouts { position: relative; z-index: 2; margin-top: -58px; }
.atouts-grille { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--rayon); box-shadow: var(--ombre-forte); overflow: hidden; }
.atouts-grille li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.5rem 1.4rem; }
.atouts-grille li + li { border-left: 1px solid var(--bord); }
.atouts-grille strong { display: block; color: var(--encre); font-family: var(--titres); font-size: 1.02rem; line-height: 1.25; margin-bottom: .2rem; }
.atouts-grille span:not(.pastille) { display: block; font-size: .88rem; line-height: 1.45; color: var(--texte); }
.pastille { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--rouge-doux); color: var(--rouge); flex: none; }
.pastille svg { width: 23px; height: 23px; }
.pastille-rouge { background: var(--rouge); color: #fff; }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-douce { background: var(--fond-doux); }
.section-tete { max-width: 680px; margin-bottom: 3rem; }
.section-tete p:last-child { font-size: 1.1rem; margin: 0; }
.intro { font-size: 1.08rem; }

.services-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service { position: relative; padding: 1.9rem 1.7rem 1.7rem; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.service::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--rouge); transition: width .35s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: transparent; }
.service:hover::after { width: 100%; }
.service-icone { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--noir); color: #fff; margin-bottom: 1.25rem; }
.service-icone svg { width: 27px; height: 27px; }
.service p { margin: 0; font-size: .96rem; }
.services-aussi { display: flex; align-items: center; gap: .55rem; margin: 1.75rem 0 0; font-size: .95rem; color: var(--texte); }
.services-aussi svg { width: 20px; height: 20px; color: var(--rouge); }

.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.photo-cadre { position: relative; margin: 0; isolation: isolate; }
.photo-cadre img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 18px; box-shadow: var(--ombre-forte); }
.photo-cadre::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--rouge); border-radius: 18px; z-index: -1; }
.photo-etiquette { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1rem; background: #fff; border-radius: 12px;
  font: 700 .95rem/1 var(--titres); color: var(--encre); box-shadow: var(--ombre); }
.photo-etiquette svg { width: 20px; height: 20px; color: var(--rouge); }
.points { display: grid; gap: 1.15rem; margin: 1.75rem 0 2rem; }
.points li { display: flex; gap: .9rem; }
.points strong { display: block; color: var(--encre); font-family: var(--titres); font-size: 1.05rem; margin-bottom: .1rem; }
.points span:not(.coche) { display: block; font-size: .95rem; }
.coche { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rouge); color: #fff; flex: none; margin-top: 2px; }
.coche svg { width: 16px; height: 16px; }
.bouton svg:last-child:not(:first-child) { width: 18px; height: 18px; }

.etapes-bloc { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.etapes { display: grid; gap: .25rem; counter-reset: etape; }
.etapes li { position: relative; display: flex; gap: 1.25rem; padding: 0 0 1.9rem; }
.etapes li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 6px; width: 2px; background: repeating-linear-gradient(var(--bord) 0 6px, transparent 6px 11px); }
.etape-num { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: #fff; border: 2px solid var(--rouge);
  color: var(--rouge); font: 800 1.15rem/1 var(--titres); }
.etapes h3 { margin: .55rem 0 .3rem; }
.etapes p { margin: 0; }
.etapes-photo { margin: 0; }
.etapes-photo img { width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover; border-radius: 18px; box-shadow: var(--ombre-forte); }

.carte-particuliers { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--ombre); padding: 0; }
.particuliers-photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.particuliers-texte { padding: clamp(2rem, 4.5vw, 3.5rem); }
.liste-coches { display: grid; gap: .6rem; margin: 1.25rem 0 1.75rem; }
.liste-coches li { display: flex; gap: .6rem; align-items: flex-start; color: var(--encre); font-weight: 500; }
.liste-coches svg { width: 20px; height: 20px; color: var(--rouge); margin-top: 3px; }

.bande { position: relative; padding: clamp(4rem, 8vw, 6rem) 0; color: #fff; overflow: hidden; isolation: isolate; background: var(--noir); }
.bande-photo { position: absolute; inset: 0; z-index: -2; }
.bande-photo img { width: 100%; height: 100%; object-fit: cover; }
.bande::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 17, 21, .94), rgba(15, 17, 21, .75) 55%, rgba(165, 13, 38, .55)); }
.bande-contenu { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.bande h2 { color: #fff; margin-bottom: .35rem; }
.bande p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 1.1rem; }

.contact-grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-cartes { display: grid; gap: 1rem; }
.contact-carte { display: flex; align-items: center; gap: 1.1rem; padding: 1.4rem 1.5rem; border: 1px solid var(--bord); border-radius: var(--rayon); text-decoration: none; background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s; }
.contact-carte:hover { border-color: transparent; box-shadow: var(--ombre); transform: translateY(-2px); }
.contact-carte > span:nth-child(2) { flex: 1; min-width: 0; }
.contact-carte strong { display: block; font: 700 1.05rem/1.2 var(--titres); color: var(--encre); }
.contact-carte em { display: block; font-style: normal; font: 800 1.35rem/1.3 var(--titres); color: var(--rouge); letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact-carte small { display: block; font-size: .88rem; color: var(--pale); }
.contact-carte > svg { width: 22px; height: 22px; color: var(--pale); transition: transform .2s, color .2s; }
.contact-carte:hover > svg { transform: translateX(4px); color: var(--rouge); }
.secteur { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--bord); }
.secteur h3 { display: flex; align-items: center; gap: .5rem; }
.secteur h3 svg { width: 22px; height: 22px; color: var(--rouge); }
.puces { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 1rem; }
.puces li { padding: .4rem .8rem; border-radius: 999px; background: var(--fond-doux); border: 1px solid var(--bord); font-size: .9rem; font-weight: 500; color: var(--encre); }
.secteur-fin { font-size: .92rem; color: var(--pale); margin: 0; }

/* ------------------------------------------------------------------ pied de page */
.pied { background: var(--noir); color: rgba(255, 255, 255, .65); padding: 4rem 0 0; font-size: .95rem; }
.pied-grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.pied .marque { margin-bottom: 1rem; }
.pied .marque img { width: 40px; height: 40px; }
.pied p { max-width: 380px; margin: 0; }
.pied-liens, .pied-coord { display: grid; gap: .65rem; align-content: start; }
.pied a { text-decoration: none; }
.pied a:hover { color: #fff; }
.pied-coord li { display: flex; align-items: center; gap: .6rem; }
.pied-coord svg { width: 18px; height: 18px; color: #ff8a9b; }
.pied-coord .langue { color: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .2); font-weight: 600; letter-spacing: 0; padding: 0 .75rem; }
.pied-bas { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

.barre-mobile { display: none; }

/* ------------------------------------------------------------------ apparition au défilement */
.js .apparait { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .apparait { opacity: 1; transform: none; transition: none; }
  .bouton:hover, .service:hover, .contact-carte:hover { transform: none; }
}

/* ------------------------------------------------------------------ tablette */
@media (max-width: 1080px) {
  .nav ul { gap: 1.1rem; }
  .atouts-grille { grid-template-columns: repeat(2, 1fr); }
  .atouts-grille li:nth-child(3) { border-left: 0; }
  .atouts-grille li:nth-child(n+3) { border-top: 1px solid var(--bord); }
  .services-grille { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .entete-droite { display: flex; }
  .burger { display: block; }
  .nav-actions .bouton-rouge { display: none; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 1.25rem 24px 1.75rem; background: var(--noir);
    border-top: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .menu-ouvert .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-ouvert .entete { background: var(--noir); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 1.05rem; }
  .nav-actions { justify-content: space-between; }
  .heros { min-height: 0; padding: 130px 0 120px; }
  .heros-photo { inset: 0; }
  .heros::before { background: linear-gradient(180deg, rgba(15, 17, 21, .7), rgba(15, 17, 21, .88) 45%, var(--noir)); }
  .deux-colonnes, .etapes-bloc, .contact-grille, .carte-particuliers { grid-template-columns: 1fr; }
  .photo-cadre { max-width: 560px; }
  .photo-cadre img { aspect-ratio: 16 / 11; }
  .photo-cadre::before { inset: 14px -14px -14px 14px; }
  .etapes-photo img { aspect-ratio: 16 / 10; }
  .particuliers-photo img { min-height: 0; aspect-ratio: 16 / 9; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-grille > div:first-child { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------------ téléphone */
@media (max-width: 600px) {
  .conteneur { padding: 0 18px; }
  .deux-colonnes, .etapes-bloc, .contact-grille, .carte-particuliers { grid-template-columns: minmax(0, 1fr); }
  .bouton { white-space: normal; text-align: center; }
  .appel-entete span { display: none; }
  .appel-entete { width: 40px; padding: 0; justify-content: center; }
  .entete-ligne { height: 66px; }
  .nav { inset: 66px 0 auto; padding: 1rem 18px 1.5rem; }
  .marque { font-size: 1rem; }
  .marque img { width: 38px; height: 38px; }
  .heros { padding: 110px 0 100px; }
  .heros-actions .bouton { flex: 1 1 100%; }
  .atouts { margin-top: -44px; }
  .atouts-grille { grid-template-columns: 1fr; }
  .atouts-grille li { padding: 1.1rem 1.2rem; }
  .atouts-grille li + li { border-left: 0; border-top: 1px solid var(--bord); }
  .services-grille { grid-template-columns: 1fr; }
  .service { padding: 1.5rem 1.35rem; }
  .bande-contenu .boutons, .particuliers-texte .boutons { width: 100%; }
  .bande-contenu .bouton, .particuliers-texte .bouton { flex: 1 1 0; }
  .contact-carte { padding: 1.15rem; gap: .9rem; }
  .contact-carte em { font-size: 1.15rem; }
  .pied-grille { grid-template-columns: 1fr; gap: 1.75rem; }
  .pied-bas { padding-bottom: calc(1.5rem + 76px); }
  .barre-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; inset: auto 0 0; z-index: 40; padding: .7rem 18px calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(15, 17, 21, .94); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .08); }
  .barre-mobile .bouton { padding: .8rem 1rem; }
}

/* ------------------------------------------------------------------ très petits téléphones */
@media (max-width: 360px) {
  .conteneur { padding: 0 14px; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.6rem; }
  .marque { font-size: .92rem; gap: .5rem; }
  .marque img { width: 34px; height: 34px; }
  .heros { padding: 96px 0 90px; }
  .heros-texte { font-size: 1rem; margin-bottom: 1.5rem; }
  .barre-mobile { padding-left: 14px; padding-right: 14px; }
}

/* ------------------------------------------------------------------ téléphones à l'horizontale (écran bas) */
@media (max-height: 500px) and (orientation: landscape) {
  .entete-ligne { height: 58px; }
  .nav { inset: 58px 0 auto; max-height: calc(100vh - 58px); overflow-y: auto; }
  .heros { min-height: 0; padding: 80px 0 72px; }
  .heros h1 { font-size: clamp(1.7rem, 4.2vw, 2.3rem); max-width: 24ch; margin-bottom: .4em; }
  .heros-texte { font-size: .98rem; margin-bottom: 1.1rem; max-width: 640px; }
  .heros-actions { margin-bottom: .8rem; }
  .heros-actions .bouton { flex: 0 1 auto; }
  .heros-note { display: none; }
  .atouts { margin-top: -36px; }
  .nav { gap: .6rem; padding-top: .4rem; padding-bottom: .9rem; }
  .nav ul a { padding: .5rem 0; font-size: .98rem; }
}

/* ------------------------------------------------------------------ grands écrans : tout grandit un peu */
@media (min-width: 1800px) {
  html { font-size: 17px; }
  .conteneur { max-width: 1320px; }
}
@media (min-width: 2400px) {
  html { font-size: 19px; }
  .conteneur { max-width: 1480px; }
  .entete-ligne { height: 88px; }
}
@media (min-width: 3200px) {
  html { font-size: 22px; }
  .conteneur { max-width: 1700px; }
}

/* ------------------------------------------------------------------ page 404 */
.page-404 { background: var(--noir); }
.introuvable { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 1.25rem; color: rgba(255, 255, 255, .75); }
.introuvable img { width: 88px; height: 88px; margin-bottom: 1.5rem; }
.introuvable h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.2rem); }
.introuvable .surtitre::before { display: none; }
.introuvable .boutons { justify-content: center; margin-top: 1rem; }

/* mention de l'auteur des photos sous licence Creative Commons */
.particuliers-photo { position: relative; }
.credit-photo { position: absolute; left: .6rem; bottom: .6rem; margin: 0; padding: .2rem .55rem; border-radius: 6px; background: rgba(15, 17, 21, .6);
  color: rgba(255, 255, 255, .85); font-size: .68rem; line-height: 1.4; }
.credit-photo a { color: inherit; text-decoration: none; }
.credit-photo a:hover { color: #fff; text-decoration: underline; }
.particuliers-photo img { object-position: 62% 62%; }
.pied-bas .credit-pied { color: rgba(255, 255, 255, .4); font-size: .78rem; }
.pied-bas .credit-pied a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------------ en-tête mobile et pied de page (retouches) */
.pied-nom { font: 800 1.1rem/1.2 var(--titres); color: #fff; margin: 0 0 .75rem !important; }
.pied .pied-bas { padding-top: 1.5rem; padding-bottom: 1.5rem; align-items: center; }
@media (max-width: 960px) {
  /* menu : plus de bouton de langue ni d'appel (langue dans l'en-tête, appel dans la barre du bas) */
  .nav-actions { display: none; }
  /* barre Appeler / Texto en bas sur téléphone ET tablette (aussi à l'horizontale) */
  .barre-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; inset: auto 0 0; z-index: 40;
    padding: .7rem 24px calc(.7rem + env(safe-area-inset-bottom)); background: rgba(15, 17, 21, .94); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, .08); }
  .barre-mobile .bouton { padding: .8rem 1rem; }
  .pied .pied-bas { padding-bottom: calc(1.5rem + 80px); }
}
@media (max-width: 600px) {
  .barre-mobile { padding-left: 18px; padding-right: 18px; }
  .pied .pied-bas { flex-direction: column; align-items: flex-start; gap: .6rem; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .barre-mobile { padding-top: .45rem; padding-bottom: calc(.45rem + env(safe-area-inset-bottom)); }
  .barre-mobile .bouton { padding: .55rem 1rem; }
  .pied .pied-bas { padding-bottom: calc(1.5rem + 64px); }
}
/* espacements du pied de page : plus précis que .conteneur (dont le padding est redéfini sur téléphone) */
.pied .pied-grille { padding-bottom: 3rem; }
@media (max-width: 600px) { .pied .pied-grille { padding-bottom: 2rem; } }
/* icône du menu : 3 barres centrées exactement (flex), même hauteur que le bouton de langue */
.burger { flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; padding: 0; }
.burger span { width: 22px; margin: 0; }
@media (max-width: 960px) { .burger { display: flex; } }
.langue-entete { height: 40px; min-width: 44px; }

/* espace réservé sous le pied de page = hauteur exacte de la barre Appeler / Texto (mesurée par site.js) :
   la ligne © garde le même espace au-dessus et au-dessous */
@media (max-width: 960px) {
  .pied .pied-bas { padding-bottom: 1.5rem !important; }
  .pied { padding-bottom: var(--hauteur-barre, 72px); }
}
