/* ===========================================================
   thiou.css — Les Élagueurs du Thiou (elagage-annecy)
   Structure : reset → fonts → tokens → base → composants → sections → responsive
   =========================================================== */

/* --- 1. Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- 2. Fonts (auto-hébergées) --- */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('/ui/fonts/newsreader-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 600;
  font-display: optional;
  src: url('/ui/fonts/newsreader-600italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/ui/fonts/figtree-400-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('/ui/fonts/figtree-400-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fragment Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('/ui/fonts/fragmentmono-400.woff2') format('woff2');
}

/* --- 3. Tokens --- */
:root {
  --foret: #1B4A3C;
  --foret-clair: #2E5F4E;
  --papier: #F5F2EA;
  --pierre: #7D8983;
  --cuivre: #A66C36;
  --encre: #1B1B16;

  --display: 'Newsreader', Georgia, serif;
  --body: 'Figtree', -apple-system, sans-serif;
  --mono: 'Fragment Mono', ui-monospace, monospace;

  --radius: 2px;
  --content-max: 1200px;
  --measure: 66ch;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 128px;

  --h1: 68px;
  --hero-phone: 44px;
  --h2: 40px;
  --h3: 22px;
  --body-size: 18px;
  --small: 15px;
  --mono-size: 13px;
}

@media (max-width: 720px) {
  :root {
    --h1: 36px;
    --hero-phone: 26px;
    --h2: 28px;
    --h3: 20px;
    --body-size: 16px;
    --mono-size: 12px;
    --space-6: 64px;
    --space-7: 80px;
  }
}

/* --- 4. Base --- */
body {
  font-family: var(--body);
  font-size: var(--body-size);
  line-height: 1.6;
  color: var(--encre);
  background: var(--papier);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
}

h1 { font-size: var(--h1); line-height: 1.02; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

em, i.thiouItalic { font-style: italic; }

p { max-width: var(--measure); }

.thiouMono {
  font-family: var(--mono);
  font-size: var(--mono-size);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.thiouVisuallyHidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cuivre);
  outline-offset: 2px;
}

/* --- 5. Layout helpers --- */
.thiouContainer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

@media (max-width: 720px) {
  .thiouContainer { padding: 0 var(--space-2); }
}

.thiouSectionPapier { background: var(--papier); }
.thiouSectionForet { background: var(--foret); color: var(--papier); }
.thiouSectionForet h2, .thiouSectionForet h3 { color: var(--papier); }

/* --- 6. Ligne de repère (motif 2) --- */
.thiouLigneRepere {
  width: 120px;
  height: 2px;
  background: var(--pierre);
  opacity: 0.75;
  margin-bottom: var(--space-3);
}
.thiouSectionForet .thiouLigneRepere { background: var(--cuivre); opacity: 1; }

/* --- 7. Header --- */
.thiouHeader {
  background: var(--foret);
  color: var(--papier);
  position: relative;
  z-index: 20;
}
.thiouHeaderInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}
.thiouLogo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  color: var(--papier);
  letter-spacing: 0.01em;
}
.thiouNav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.thiouNavLinks {
  display: flex;
  gap: var(--space-3);
  font-size: var(--small);
}
.thiouNavLinks a { border-bottom: 1px solid transparent; }
.thiouNavLinks a:hover { border-color: var(--cuivre); }
.thiouHeaderPhone {
  font-family: var(--mono);
  font-size: var(--mono-size);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--cuivre);
  padding-bottom: 2px;
}

@media (max-width: 860px) {
  .thiouNavLinks { display: none; }
}
@media (max-width: 480px) {
  .thiouHeaderPhone { display: none; }
}

/* --- 8. Hero (section 1) --- */
.thiouHero {
  position: relative;
  background: var(--foret);
  color: var(--papier);
  overflow: hidden;
}
.thiouHeroPhoto {
  position: absolute;
  inset: 0;
  background-image: url('/ui/img/hero-abattage-annecy-2026-03.jpg'); background-image: image-set(url('/ui/img/hero-abattage-annecy-2026-03.webp') type('image/webp'), url('/ui/img/hero-abattage-annecy-2026-03.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  background-color: var(--foret);
}
.thiouHeroVoile {
  position: absolute;
  inset: 0;
  background: rgba(27, 74, 60, 0.55);
}
.thiouHeroInner {
  position: relative;
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 460px);
  gap: var(--space-5);
  align-items: center;
  min-height: 620px;
}
.thiouHeroText h1 { color: var(--papier); }
.thiouHeroSubtitle {
  margin-top: var(--space-3);
  font-size: var(--body-size);
  max-width: 52ch;
  color: var(--papier);
}
.thiouHeroPhoneBlock { margin-top: var(--space-4); }
.thiouHeroPhoneBlock a {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--hero-phone);
  color: var(--papier);
  border-bottom: 2px solid var(--cuivre);
  white-space: nowrap;
}
.thiouHeroPhoneBlock span {
  display: block;
  margin-top: 6px;
  color: var(--papier);
}

/* Formulaire classique (home + contact) */
.thiouFormCard {
  background: var(--papier);
  color: var(--encre);
  border-top: 4px solid var(--cuivre);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: 0 10px 30px rgba(27, 27, 22, 0.18);
}
.thiouFormTitle {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: var(--space-2);
}
.thiouFormGrid,
.thiouContactForm .thiouFormRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px var(--space-2);
}
.thiouField { display: flex; flex-direction: column; gap: 6px; }
.thiouField--full { grid-column: 1 / -1; }
.thiouField label {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--encre);
}
.thiouField input,
.thiouField select,
.thiouField textarea {
  width: 100%;
  border: 1px solid rgba(27, 27, 22, 0.35);
  border-radius: var(--radius);
  background: #fff;
  padding: 11px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--encre);
}
.thiouField textarea { resize: vertical; min-height: 84px; }
.thiouField input:focus,
.thiouField select:focus,
.thiouField textarea:focus {
  outline: 2px solid var(--cuivre);
  outline-offset: 1px;
  border-color: var(--cuivre);
}
.thiouField input::placeholder,
.thiouField textarea::placeholder { color: var(--pierre); }
.thiouSubmit {
  display: block;
  width: 100%;
  margin-top: var(--space-3);
  background: var(--cuivre);
  color: var(--papier);
  border: none;
  border-radius: var(--radius);
  padding: 14px 24px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
.thiouSubmit:hover { background: #8f5c2c; }
.thiouFormNote {
  margin-top: 10px;
  font-size: 13px;
  color: var(--pierre);
  text-align: center;
}
.thiouHoneypot { position: absolute; left: -9999px; top: -9999px; }

@media (max-width: 960px) {
  .thiouHeroInner { grid-template-columns: 1fr; min-height: 0; }
}
@media (max-width: 720px) {
  .thiouHeroInner { padding-top: var(--space-4); padding-bottom: var(--space-4); gap: var(--space-3); }
  .thiouFormGrid,
  .thiouContactForm .thiouFormRow { grid-template-columns: 1fr; }
  .thiouHeroPhoneBlock { margin-top: var(--space-3); }
}

/* --- 9. Réassurance (section 2) --- */
.thiouFacts {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: var(--space-2) 0;
}
.thiouFacts li {
  flex: 1 1 0;
  text-align: center;
  padding: 0 var(--space-2);
  border-left: 1px solid var(--pierre);
  font-size: var(--small);
}
.thiouFacts li:first-child { border-left: none; }
.thiouFacts strong { color: var(--cuivre); font-weight: 600; }

@media (max-width: 720px) {
  .thiouFacts { flex-direction: column; gap: var(--space-1); }
  .thiouFacts li { border-left: none; border-top: 1px solid var(--pierre); padding-top: var(--space-1); }
  .thiouFacts li:first-child { border-top: none; }
}

/* --- 10. Services (section 3) --- */
.thiouServices { padding: var(--space-6) 0; }
.thiouServicesHead { margin-bottom: var(--space-4); }
.thiouServicesList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.thiouServiceItem--01 { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-4); align-items: center; }
.thiouServiceItem--02 { grid-column: 1 / 2; }
.thiouServiceItem--03 { grid-column: 2 / 3; }
.thiouServiceNum {
  font-family: var(--mono);
  color: var(--cuivre);
  font-size: 14px;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: var(--space-1);
}
.thiouServicePhoto {
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  background-color: var(--foret-clair);
  border-radius: var(--radius);
}
.thiouServiceItem--01 .thiouServicePhoto { background-image: url('/ui/img/sous-service-abattage-corde-annecy-2026-02.jpg'); background-image: image-set(url('/ui/img/sous-service-abattage-corde-annecy-2026-02.webp') type('image/webp'), url('/ui/img/sous-service-abattage-corde-annecy-2026-02.jpg') type('image/jpeg')); }
.thiouServiceItem--02 .thiouServicePhoto { background-image: url('/ui/img/hero-taille-haie-annecy-2026-05.jpg'); background-image: image-set(url('/ui/img/hero-taille-haie-annecy-2026-05.webp') type('image/webp'), url('/ui/img/hero-taille-haie-annecy-2026-05.jpg') type('image/jpeg')); aspect-ratio: 4 / 3; margin-bottom: var(--space-2); }
.thiouServiceItem--03 .thiouServicePhoto { background-image: url('/ui/img/sous-service-dessouchage-cran-gevrier-2026-03.jpg'); background-image: image-set(url('/ui/img/sous-service-dessouchage-cran-gevrier-2026-03.webp') type('image/webp'), url('/ui/img/sous-service-dessouchage-cran-gevrier-2026-03.jpg') type('image/jpeg')); aspect-ratio: 4 / 3; margin-bottom: var(--space-2); }
.thiouServiceText p { margin-top: var(--space-2); }
.thiouServiceText a { border-bottom: 1px solid var(--cuivre); color: var(--cuivre); }

@media (max-width: 860px) {
  .thiouServicesList { grid-template-columns: 1fr; }
  .thiouServiceItem--01 { grid-template-columns: 1fr; }
  .thiouServiceItem--02, .thiouServiceItem--03 { grid-column: 1 / -1; }
}

/* --- 11. Signature (section 4) --- */
.thiouSignatureHaie {
  position: relative;
  height: 48px;
  color: var(--pierre);
}
.thiouSignatureHaie svg { width: 100%; height: 100%; display: block; }

@media (max-width: 720px) {
  .thiouSignatureHaie { height: 32px; }
}

/* --- 12. Spécificités (section 5) --- */
.thiouSpecifics { padding: var(--space-6) 0; position: relative; }
.thiouSpecificsGrid {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: var(--space-5);
  align-items: start;
}
.thiouSpecificsPhoto {
  aspect-ratio: 4 / 5;
  background-image: url('/ui/img/zone-coteau-semnoz-annecy-2026-05.jpg'); background-image: image-set(url('/ui/img/zone-coteau-semnoz-annecy-2026-05.webp') type('image/webp'), url('/ui/img/zone-coteau-semnoz-annecy-2026-05.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  background-color: var(--foret-clair);
  border-radius: var(--radius);
  transform: translateY(var(--space-3));
}
.thiouSpecificsText p + p { margin-top: var(--space-2); }

@media (max-width: 960px) {
  .thiouSpecificsGrid { grid-template-columns: 1fr; }
  .thiouSpecificsPhoto { order: -1; transform: none; aspect-ratio: 16/9; }
}

/* --- 13. Réalisations (section 6) --- */
.thiouRealisations { padding: var(--space-6) 0; }
.thiouRealisationsGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--space-2);
}
.thiouRealisationsGrid .thiouRealItem--main {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.thiouRealItem {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--foret-clair);
}
.thiouRealItem--main { background-image: url('/ui/img/hero-abattage-annecy-2026-03.jpg'); background-image: image-set(url('/ui/img/hero-abattage-annecy-2026-03.webp') type('image/webp'), url('/ui/img/hero-abattage-annecy-2026-03.jpg') type('image/jpeg')); background-size: cover; background-position: center; }
.thiouRealItem--a { background-image: url('/ui/img/apres-abattage-chene-meythet-2026-02.jpg'); background-image: image-set(url('/ui/img/apres-abattage-chene-meythet-2026-02.webp') type('image/webp'), url('/ui/img/apres-abattage-chene-meythet-2026-02.jpg') type('image/jpeg')); background-size: cover; background-position: center; }
.thiouRealItem--b { background-image: url('/ui/img/apres-taille-haie-conifere-poisy-2026-04.jpg'); background-image: image-set(url('/ui/img/apres-taille-haie-conifere-poisy-2026-04.webp') type('image/webp'), url('/ui/img/apres-taille-haie-conifere-poisy-2026-04.jpg') type('image/jpeg')); background-size: cover; background-position: center; }
.thiouRealItem--c { background-image: url('/ui/img/apres-dessouchage-argonay-2026-03.jpg'); background-image: image-set(url('/ui/img/apres-dessouchage-argonay-2026-03.webp') type('image/webp'), url('/ui/img/apres-dessouchage-argonay-2026-03.jpg') type('image/jpeg')); background-size: cover; background-position: center; }
.thiouRealItem--d { background-image: url('/ui/img/realisation-chantier-seynod-2026-04.jpg'); background-image: image-set(url('/ui/img/realisation-chantier-seynod-2026-04.webp') type('image/webp'), url('/ui/img/realisation-chantier-seynod-2026-04.jpg') type('image/jpeg')); background-size: cover; background-position: center; }
.thiouRealCaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-1) var(--space-2);
  background: rgba(27, 74, 60, 0.72);
  color: var(--papier);
}
.thiouRealisationsEmpty {
  padding: var(--space-4);
  border: 1px solid var(--pierre);
  border-radius: var(--radius);
  text-align: center;
}

@media (max-width: 720px) {
  .thiouRealisationsGrid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); }
  .thiouRealisationsGrid .thiouRealItem--main { grid-column: 1 / 3; grid-row: 1 / 2; }
}

/* --- 14. Histoire (section 7) --- */
.thiouHistory { padding: var(--space-6) 0; }
.thiouHistoryInner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.thiouHistoryInner p { margin: 0 auto; }
.thiouHistoryInner .thiouThiou { font-style: italic; }

/* --- 15. Zone (section 8) --- */
.thiouZone { padding: var(--space-6) 0; }
.thiouZoneGrid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-5);
  align-items: start;
}
.thiouZoneCities a {
  color: var(--cuivre);
  border-bottom: 1px solid var(--cuivre);
}
.thiouZoneCities { margin-top: var(--space-2); }
.thiouGbp {
  border: 1px solid rgba(27,27,22,0.15);
  border-radius: var(--radius);
  overflow: hidden;
}
.thiouGbp iframe { width: 100%; height: 320px; border: 0; display: block; }
.thiouGbpActions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
  font-size: var(--small);
}
.thiouGbpActions a { border-bottom: 1px solid var(--cuivre); color: var(--cuivre); }

@media (max-width: 860px) {
  .thiouZoneGrid { grid-template-columns: 1fr; }
}

/* --- 16. Avis (section 9) --- */
.thiouReviews { padding: var(--space-6) 0; }
.thiouReviewsGrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-4);
}
.thiouReviewsGrid > div {
  padding-left: var(--space-3);
  border-left: 1px solid rgba(125,137,131,0.35);
}
.thiouReviewsGrid > div:first-child { border-left: none; padding-left: 0; }
.thiouReviewsEmpty a { color: var(--cuivre); border-bottom: 1px solid var(--cuivre); }

@media (max-width: 860px) {
  .thiouReviewsGrid { grid-template-columns: 1fr; }
  .thiouReviewsGrid > div { border-left: none; padding-left: 0; border-top: 1px solid rgba(125,137,131,0.35); padding-top: var(--space-2); }
  .thiouReviewsGrid > div:first-child { border-top: none; padding-top: 0; }
}

/* --- 17. FAQ (section 10) --- */
.thiouFaq { padding: var(--space-6) 0; }
.thiouFaqList { margin-top: var(--space-3); }
.thiouFaqItem {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid rgba(125,137,131,0.25);
}
.thiouFaqItem:last-child { border-bottom: 1px solid rgba(125,137,131,0.25); }
.thiouFaqItem h3 { font-size: var(--h3); }
.thiouFaqItem p { max-width: 60ch; }

@media (max-width: 720px) {
  .thiouFaqItem { grid-template-columns: 1fr; gap: var(--space-1); }
}

/* --- 18. Contact CTA (section 11) --- */
.thiouContact {
  padding: var(--space-6) 0;
  text-align: center;
}
.thiouContactInner { max-width: 640px; margin: 0 auto; }
.thiouContactInner p { margin: var(--space-2) auto; color: var(--papier); }
.thiouContactActions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-3);
  flex-wrap: wrap;
}
.thiouContactPhone {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--h2);
  color: var(--papier);
  border-bottom: 2px solid var(--cuivre);
}
.thiouButton {
  display: inline-block;
  background: var(--cuivre);
  color: var(--papier);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
}
.thiouButton:hover { background: #8f5c2c; }

/* --- 19. Footer (section 12) --- */
.thiouFooter {
  padding: var(--space-6) 0 var(--space-4);
  border-top: 1px solid rgba(125,137,131,0.3);
}
.thiouFooterGrid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: var(--space-4);
}
.thiouFooter h3 {
  font-size: 17px;
  color: var(--papier);
  margin-bottom: var(--space-2);
}
.thiouFooter p, .thiouFooter address, .thiouFooter li { color: rgba(245,242,234,0.9); font-size: var(--small); }
.thiouFooterFaq dt { font-weight: 600; margin-top: var(--space-2); color: var(--papier); }
.thiouFooterFaq dt:first-child { margin-top: 0; }
.thiouFooterFaq dd { margin-top: 4px; color: rgba(245,242,234,0.9); }
.thiouFooterList li { margin-top: 6px; }
.thiouFooterList a:hover, .thiouFooter address a:hover { color: var(--papier); text-decoration: underline; }
.thiouFooterAddress { margin-top: var(--space-2); }
.thiouFooterHours { margin-top: var(--space-2); font-family: var(--mono); font-size: var(--mono-size); }
.thiouFooterCta { margin-top: var(--space-2); }
.thiouFooterCta a { color: var(--cuivre); border-bottom: 1px solid var(--cuivre); }
.thiouFooterBottom {
  margin-top: var(--space-5);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(125,137,131,0.3);
  font-size: 13px;
  color: rgba(245,242,234,0.7);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-1);
}

@media (max-width: 860px) {
  .thiouFooterGrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .thiouFooterGrid { grid-template-columns: 1fr; }
}

/* --- 20. CTA sticky (mobile) --- */
.thiouSticky {
  display: none;
}
@media (max-width: 720px) {
  .thiouSticky {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: 56px;
    background: var(--foret);
    border-top: 2px solid var(--cuivre);
    z-index: 30;
  }
  .thiouSticky a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--papier);
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.03em;
    min-height: 44px;
  }
  .thiouSticky a:first-child { border-right: 1px solid rgba(245,242,234,0.25); }
  .thiouSticky svg { width: 18px; height: 18px; flex-shrink: 0; }
  body { padding-bottom: 56px; }
}

.thiouStickyDesktop {
  display: none;
}
@media (min-width: 721px) {
  .thiouStickyDesktop {
    display: flex;
    position: fixed;
    right: var(--space-3);
    bottom: var(--space-3);
    background: var(--foret);
    border: 1px solid var(--cuivre);
    border-radius: var(--radius);
    padding: 10px 16px;
    gap: var(--space-2);
    z-index: 30;
    box-shadow: none;
  }
  .thiouStickyDesktop a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--papier);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.05em;
  }
  .thiouStickyDesktop svg { width: 16px; height: 16px; }
  .thiouStickyDesktop span.thiouStickyDivider { color: rgba(245,242,234,0.4); }
}

/* --- 21b. Utilitaires d'espacement (remplacent le style inline) --- */
.thiouMt1 { margin-top: var(--space-1); }
.thiouMt2 { margin-top: var(--space-2); }
.thiouMt3 { margin-top: var(--space-3); }
.thiouMt5 { margin-top: var(--space-5); }
.thiouMeasureNone { max-width: none; }
.thiouTextLeft { text-align: left; }
.thiouTextCuivre { color: var(--cuivre); }

/* --- 22. Fil d'Ariane (pages hors home) --- */
.thiouBreadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(245,242,234,0.75);
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}
.thiouBreadcrumb a { color: rgba(245,242,234,0.9); border-bottom: 1px solid rgba(245,242,234,0.35); }
.thiouBreadcrumb a:hover { border-color: var(--cuivre); }
.thiouSectionPapier .thiouBreadcrumb { color: var(--pierre); }
.thiouSectionPapier .thiouBreadcrumb a { color: var(--encre); border-bottom-color: var(--pierre); }

/* --- 23. Hero de page (sous-service, contact) --- */
.thiouPageHero {
  background: var(--foret);
  color: var(--papier);
  padding: var(--space-5) 0 var(--space-4);
}
.thiouPageHero h1 { color: var(--papier); max-width: 820px; }
.thiouPageHeroIntro {
  margin-top: var(--space-3);
  max-width: 62ch;
  font-size: var(--body-size);
  color: var(--papier);
}

/* --- 24. Sommaire ancré (archétype P2) --- */
.thiouSommaire {
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(125,137,131,0.25);
}
.thiouSommaireList {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
}
.thiouSommaireList a { color: var(--cuivre); border-bottom: 1px solid transparent; }
.thiouSommaireList a:hover { border-color: var(--cuivre); }

/* --- 25. Corps de guide (quand/pourquoi/comment) --- */
.thiouGuide { padding: var(--space-6) 0; }
.thiouGuideBlock + .thiouGuideBlock { margin-top: var(--space-5); }
.thiouGuideBlock p { margin-top: var(--space-2); }
.thiouGuideBlock p + p { margin-top: var(--space-2); }

.thiouSteps { margin-top: var(--space-3); counter-reset: thiouStep; }
.thiouSteps li {
  counter-increment: thiouStep;
  position: relative;
  padding-left: 44px;
  padding-top: var(--space-1);
  padding-bottom: var(--space-1);
  border-top: 1px solid rgba(125,137,131,0.25);
  max-width: var(--measure);
}
.thiouSteps li:first-child { border-top: none; }
.thiouSteps li::before {
  content: counter(thiouStep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--space-1);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--cuivre);
}

.thiouErreurs { margin-top: var(--space-3); }
.thiouErreurs li {
  position: relative;
  padding-left: var(--space-3);
  padding-top: 6px;
  padding-bottom: 6px;
  max-width: var(--measure);
}
.thiouErreurs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 1.5px;
  background: var(--cuivre);
}

/* --- 26. Maillage services sœurs --- */
.thiouSoeurs { padding: var(--space-5) 0; }
.thiouSoeursList {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.thiouSoeursItem {
  border-top: 1px solid rgba(125,137,131,0.3);
  padding-top: var(--space-2);
}
.thiouSoeursItem a { color: var(--cuivre); border-bottom: 1px solid var(--cuivre); }
.thiouSoeursItem p { margin-top: 6px; font-size: var(--small); }

@media (max-width: 720px) {
  .thiouSoeursList { grid-template-columns: 1fr; }
}

/* --- 27. Page contact (formulaire complet + coordonnées) --- */
.thiouContactPage { padding: var(--space-6) 0; }
.thiouContactGrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: start;
}
.thiouContactAlerte {
  display: none;
  margin-bottom: var(--space-2);
  padding: var(--space-2);
  border: 1px solid var(--cuivre);
  border-radius: var(--radius);
  font-size: var(--small);
}
.thiouContactAlerte:target { display: block; }
.thiouContactInfoBlock + .thiouContactInfoBlock { margin-top: var(--space-4); }
.thiouContactInfoBlock h2 { font-size: var(--h3); }
.thiouContactInfoBlock address { margin-top: var(--space-2); }
.thiouContactInfoBlock .thiouFooterHours { color: var(--encre); margin-top: var(--space-2); }

@media (max-width: 860px) {
  .thiouContactGrid { grid-template-columns: 1fr; }
}

/* --- 28. Page texte simple (confidentialité, merci, 404) --- */
.thiouTextPage { padding: var(--space-6) 0; }
.thiouTextPage h2 { margin-top: var(--space-4); }
.thiouTextPage p, .thiouTextPage li { margin-top: var(--space-2); }
.thiouTextPage ul { list-style: disc; padding-left: 1.2em; }
.thiouTextPage ul li { margin-top: var(--space-1); }

.thiou404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: var(--space-6) 0;
}
.thiou404 p { margin: var(--space-3) auto 0; }
.thiou404Actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.thiouMerci { text-align: center; }
.thiouMerci .thiouLigneRepere { margin-left: auto; margin-right: auto; }

/* --- 21. Animation hero (§ 11, sobre, zéro JS) --- */
.thiouHeroPhoto {
  animation: thiouHeroZoom 4s ease-out both;
}
@keyframes thiouHeroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .thiouHeroPhoto { animation: none; }
}
