/*
Theme Name: Constantin Parcs et Jardins
Theme URI: https://paysagiste-constantin.ch/
Author: Webbax
Author URI: https://webbax.ch/
Description: Thème sur mesure pour Constantin Parcs et Jardins SA, paysagiste à Martigny. Réalisé d'après la maquette validée, sans constructeur de page : tout le contenu se pilote depuis le back-office.
Version: 0.7.51
Requires at least: 6.5
Requires PHP: 8.0
License: Propriétaire — usage réservé à Constantin Parcs et Jardins SA
Text Domain: constantin-pj
*/

/* =========================================================
   Constantin Parcs et Jardins SA — Maquette de style
   Palette et typographie alignées sur la mini charte graphique
   fournie (codes couleurs Constantin + famille Nexa).
   Nexa étant une police sous licence non disponible via CDN
   gratuit, elle est remplacée ici par Poppins (structure
   géométrique proche) — à substituer par les fichiers Nexa
   officiels lors de l'intégration WordPress finale.
   ========================================================= */

:root {
  --bg: #faf9f6;
  --bg-alt: #f0efe8;
  --bg-dark: #0e2019;
  --text: #1c1c1a;
  --text-muted: #625f57;
  --border: #e1dfd5;
  --accent: #04a64b;       /* Constantin Parcs & Jardins (charte) */
  --accent-dark: #00533d;  /* Constantin base (charte) */
  --accent-light: #e2f5e9;
  --white: #ffffff;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1180px;
  --radius: 14px; /* 09.10.26 - Webbax | paysagiste-constantin.ch - 2px -> 14px (modernisation) */
  --transition: 220ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 16px; color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.section {
  padding: 88px 0;
}
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--white); }
.section--dark p { color: #c9c8c2; }
.section--tight { padding: 56px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent-dark);
  color: var(--white);
}
.btn--primary:hover { background: var(--accent); }
.btn--outline {
  border-color: currentColor;
  background: transparent;
}
.btn--outline:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn--light {
  background: var(--white);
  color: var(--text);
}
.btn--light:hover { background: var(--accent); color: var(--white); }
.btn--sm { padding: 9px 18px; font-size: 0.82rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Pas de backdrop-filter ici : sur un ancêtre, il piège les descendants
     en position: fixed (le menu mobile plein écran) dans sa propre boîte
     au lieu du viewport. */
  background: rgba(250, 249, 246, 0.97);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  height: 36px;
  width: auto;
  display: block;
}
.logo-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-wordmark {
  height: 19px;
  width: auto;
  display: block;
}
.logo-tagline {
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-top: 4px;
}
/* Variante claire du logo pour fond sombre (footer) */
.site-footer .logo-icon,
.site-footer .logo-wordmark {
  filter: brightness(0) invert(1);
}
.site-footer .logo-tagline { color: #b9d9c6; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.main-nav a:not(.btn):hover,
.main-nav a.is-active {
  border-bottom-color: var(--accent);
  color: var(--accent-dark);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,24,20,0.15) 0%, rgba(15,20,16,0.72) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 64px 24px 72px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero__content .eyebrow { color: #cfe3d4; }
.hero__content h1 { color: var(--white); max-width: 780px; }
.hero__content p { color: #e7e6df; max-width: 560px; font-size: 1.05rem; }
.hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Photo placeholder (stand-in for real photography) ---------- */
.photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 14px),
    linear-gradient(135deg, #04a64b, #00754a 55%, #00533d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
}
.photo--wide { aspect-ratio: 16 / 9; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo--hero { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.photo__icon {
  width: 34px; height: 34px; opacity: 0.85;
}
.photo__tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.42);
  color: #fff;
  padding: 4px 9px;
  border-radius: var(--radius);
}

/* ---------- Portfolio grid ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--accent); }
.filter-btn.is-active {
  background: var(--accent-dark);
  color: var(--white);
  border-color: var(--accent-dark);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.project-card {
  display: block;
  cursor: pointer;
}
.project-card .photo { transition: transform 420ms ease; border-radius: 0; }
.project-card:hover .photo { transform: scale(1.015); }
.project-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  gap: 12px;
}
.project-card__title {
  font-weight: 600;
  font-size: 1.02rem;
}
.project-card__loc {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---------- Cards / services ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: var(--radius);
  height: 100%;
}
.card h3 { margin-bottom: 10px; }
.card a.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.service-row:not(:last-child) { margin-bottom: 88px; }
.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }
.service-row ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.service-row li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-muted);
}
.service-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- Stats / about band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.stat { text-align: left; }
.stat__num {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
}
.stat__label { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 30px 28px;
  border-radius: var(--radius);
  height: 100%;
}
.testimonial__stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 12px; font-size: 0.9rem; }
.testimonial__quote { font-size: 0.95rem; color: var(--text); margin-bottom: 18px; }
.testimonial__author { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }

/* ---------- News ---------- */
.news-card { display: block; }
.news-card time {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-top: 16px;
  display: block;
}
.news-card h3 { margin-top: 8px; }

/* ---------- Contact / map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: flex-start;
}
.info-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.info-list li {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
}
.info-list li:last-child { border-bottom: 1px solid var(--border); }
.info-list .label { color: var(--text-muted); }

.map-placeholder {
  aspect-ratio: 4/3;
  background:
    linear-gradient(0deg, rgba(4,166,75,0.08), rgba(4,166,75,0.08)),
    repeating-linear-gradient(0deg, #eceae1 0, #eceae1 1px, #f6f5ef 1px, #f6f5ef 32px),
    repeating-linear-gradient(90deg, #eceae1 0, #eceae1 1px, #f6f5ef 1px, #f6f5ef 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 7px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.92rem;
  background: var(--white);
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}
textarea { resize: vertical; min-height: 110px; }
.field-upload {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-alt);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--accent-dark);
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #d7e3da; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 18px 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #cfceC8;
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4,
.footer-grid .footer-titre {
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a { color: #cfcec8; transition: color var(--transition); }
.footer-grid a:hover { color: var(--white); }
.footer-logo { color: var(--white); font-weight: 600; font-size: 1.1rem; margin-bottom: 12px; }
.footer-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white) !important;
}
.footer-shop:hover { border-color: var(--accent); background: rgba(4,166,75,0.25); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.78rem;
  color: #8f8e88;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #8f8e88; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Stub page ---------- */
.stub {
  padding: 120px 24px;
  text-align: center;
}
.stub .eyebrow { display: block; margin-bottom: 16px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .service-row, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-row.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .main-nav { position: fixed; inset: 66px 0 0 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 26px; transform: translateX(100%); transition: transform var(--transition); overflow-y: auto; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 20px; }
  .main-nav a:not(.btn) { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .section { padding: 56px 0; }
}

/* =========================================================
   10.09.26 - Webbax | paysagiste-constantin.ch
   Règles ajoutées pour l'intégration WordPress
   ========================================================= */

/* Une vraie photo remplace le placeholder dans le même cadre */
.photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Première photo d'une galerie de réalisation, sur deux colonnes */
.grid .photo--wide { grid-column: span 2; }

/* Carte Google Maps intégrée */
.map-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
}

/* Contenu libre saisi dans l'éditeur WordPress */
.page-content > *:first-child { margin-top: 0; }
.page-content ul { padding-left: 20px; }
.page-content img { margin: 24px 0; }

@media (max-width: 720px) {
  .grid .photo--wide { grid-column: span 1; }
}

/* =========================================================
   10.09.26 - Webbax | paysagiste-constantin.ch
   Visionneuse des galeries de réalisation
   ========================================================= */

.photo--cliquable { cursor: zoom-in; }

.photo--cliquable:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Le fond de page ne défile plus quand la visionneuse est ouverte */
body.visionneuse-ouverte { overflow: hidden; }

.visionneuse {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 20, 15, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Indispensable : l'attribut hidden pose display:none via la feuille du navigateur,
   dont la specificite est plus faible que celle du display:flex ci-dessus. Sans cette
   regle, la visionneuse recouvre la page en permanence et avale tous les clics. */
.visionneuse[hidden] { display: none; }

.visionneuse__scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 56px 64px 72px;
}

.visionneuse__media {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 160ms ease;
  touch-action: none;
}

.visionneuse__media.est-zoome { cursor: grab; transition: none; }
.visionneuse__media.est-zoome:active { cursor: grabbing; }

.visionneuse__fermer,
.visionneuse__prec,
.visionneuse__suiv {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: background var(--transition);
}

.visionneuse__fermer:hover,
.visionneuse__prec:hover,
.visionneuse__suiv:hover { background: var(--accent); }

.visionneuse__fermer {
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 1.9rem;
  border-radius: 50%;
}

.visionneuse__prec,
.visionneuse__suiv {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 76px;
  font-size: 2.4rem;
  border-radius: var(--radius);
}

.visionneuse__prec { left: 10px; }
.visionneuse__suiv { right: 10px; }

.visionneuse__barre {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 0.82rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
}

.visionneuse__compteur {
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0.75;
}

.visionneuse__legende { opacity: 0.9; }

/* Repère visuel sur les vignettes qui sont des vidéos */
.photo--video::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-32%, -50%);
  border-left: 20px solid #fff;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.photo--video::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

@media (max-width: 720px) {
  .visionneuse__scene { padding: 52px 12px 64px; }
  .visionneuse__prec,
  .visionneuse__suiv { width: 42px; height: 60px; font-size: 1.9rem; }
  .visionneuse__legende { display: none; }
}

/* 25.09.26 - Webbax | paysagiste-constantin.ch - Vidéo de fond du bandeau d'accueil */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 02.10.26 - Webbax | paysagiste-constantin.ch - Débordement horizontal sur iPhone */
@media (max-width: 720px) {
  html, body { overflow-x: clip; }
}
@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  h1, h2 { overflow-wrap: break-word; hyphens: auto; }
}

/* 02.10.26 - Webbax | paysagiste-constantin.ch - Fiche réalisation : bandeau + infos en ligne, photos en rangs (réf. atgrept.ch) */
.hero--fiche { min-height: 62vh; }
.hero--fiche .hero__content { padding-bottom: 56px; }
.fiche-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 0 0 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.fiche-infos > div { padding: 20px 24px 20px 0; }
.fiche-infos > div + div { padding-left: 24px; border-left: 1px solid var(--border); }
.fiche-infos dt {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.fiche-infos dd { margin: 0; font-weight: 600; }
.projet__medias { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.projet__media { margin: 0; min-width: 0; }
.projet__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 88vh;
  margin: 0 auto;
}
.projet__media[data-grand] { cursor: zoom-in; }
.projet__media figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.projet__texte { max-width: 980px; columns: 2; column-gap: 48px; }
.projet__texte > *:first-child { margin-top: 0; }
.projet__carte .carte-swisstopo { height: 380px; }
.projet__plus { font-size: 1.4rem; margin-bottom: 24px; }
.projet__retour { padding-bottom: 56px; }
.projet__retour a { font-weight: 500; }
.projet__rang { display: flex; gap: 32px; }
.projet__rang > .projet__media { flex-basis: 0; min-width: 0; }
.projet__rang--paire img,
.projet__rang--large img { width: 100%; max-height: none; }
@media (max-width: 720px) {
  .hero--fiche { min-height: 48vh; }
  .hero--fiche .hero__content { padding: 40px 16px 32px; }
  .fiche-infos { grid-template-columns: 1fr 1fr; margin-bottom: 24px; }
  .fiche-infos > div,
  .fiche-infos > div + div { padding: 14px 12px 14px 0; border-left: 0; }
  .fiche-infos > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--border); }
  .fiche-infos > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .projet__carte .carte-swisstopo { height: 280px; }
  .projet__medias { gap: 16px; }
  .projet__rang { flex-direction: column; gap: 16px; }
  .projet__rang > .projet__media { flex: none; }
  .projet__texte { columns: 1; }
}

/* 02.10.26 - Webbax | paysagiste-constantin.ch - Pied de page : rangée d'en-tête commune (logo / titres), texte de présentation aligné et éclairci */
.footer-grid h4, .footer-grid .footer-titre { line-height: 36px; margin-bottom: 16px; }
.footer-grid .logo--pied { margin-bottom: 16px; }
.footer-grid > div:first-child p { color: #cfcec8; font-size: 0.9rem; line-height: 1.6; max-width: 320px; margin: 0; }
.footer-shop { margin-top: 22px; }

/* 02.10.26 - Webbax | paysagiste-constantin.ch - Coordonnées : valeurs sur plusieurs lignes alignées à droite (horaires) */
.info-list li > span:last-child { text-align: right; }

/* 02.10.26 - Webbax | paysagiste-constantin.ch - Filtres : couleur et police explicites (Safari iOS colore les <button> en bleu système) */
.filter-btn { color: var(--text); font-family: inherit; -webkit-appearance: none; appearance: none; }

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Barre du bas : logo membre JardinSuisse Valais, monochrome blanc */
.footer-membre { display: inline-flex; align-items: center; gap: 16px; }
.footer-membre__label { font-size: 0.68rem; font-weight: 600; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: #8f8e88; }
.footer-membre img { display: block; width: 96px; height: auto; filter: brightness(0) invert(1); opacity: 0.75; transition: opacity var(--transition); }
.footer-membre:hover img { opacity: 1; }

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Pied de page : lien Instagram dans la colonne Contact */
.footer-insta a { display: inline-flex; align-items: center; gap: 8px; }

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Carte swisstopo de la fiche réalisation : calques Leaflet sous l'en-tête collant */
.carte-swisstopo { position: relative; z-index: 0; isolation: isolate; background: #eef0ea; }
.carte-swisstopo .carte-repere { background: none; border: 0; }
.carte-swisstopo .carte-repere svg { display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)); }

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Fiche réalisation : types de prestation en pastilles, dernière case (2 colonnes en desktop, pleine largeur en mobile) */
.fiche-pastilles { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.fiche-pastilles li { padding: 4px 10px; border-radius: 999px; background: var(--accent-light); color: var(--accent-dark); font-size: 0.8rem; font-weight: 600; line-height: 1.3; }
.fiche-infos > div.fiche-infos__prestations { grid-column: span 2; }
@media (max-width: 720px) {
  .fiche-infos > div.fiche-infos__prestations { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
}

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Page Réalisations et accueil : photos uniformisées (contraste + voile vert en lumière douce) ; vraies couleurs au survol (mobile : au centre de l'écran, cf. site.js) */
:is(.page-id-12, .home) .project-card .photo__img { filter: contrast(1.15) saturate(0.88) brightness(1.03); transition: filter 450ms ease; }
:is(.page-id-12, .home) .project-card .photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,83,61,0.25); mix-blend-mode: soft-light; pointer-events: none; transition: opacity 450ms ease; }
:is(.page-id-12, .home) .project-card:hover .photo__img,
:is(.page-id-12, .home) .project-card.est-en-couleur .photo__img { filter: none; }
:is(.page-id-12, .home) .project-card:hover .photo::before,
:is(.page-id-12, .home) .project-card.est-en-couleur .photo::before { opacity: 0; }

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Fiche réalisation : même étalonnage que la liste (contraste + voile vert en lumière douce), sans triangle ni logo */
.single-realisation .photo--hero .photo__img,
.single-realisation .hero__video,
.single-realisation .projet__cadre img,
.single-realisation .grid .photo__img,
.single-realisation .visionneuse__media { filter: contrast(1.15) saturate(0.88) brightness(1.03); }
.single-realisation .projet__cadre { position: relative; display: block; width: fit-content; max-width: 100%; margin: 0 auto; }
.single-realisation .photo--hero::before,
.single-realisation .projet__cadre::before,
.single-realisation .grid .photo:not(.photo--video)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,83,61,0.25); mix-blend-mode: soft-light; pointer-events: none; }

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Page Prestations « parcours » : numéros géants, pictos, puces en pastilles, ligne entre les étapes, apparition au défilement */
.parcours__etape { position: relative; scroll-margin-top: 110px; }
.parcours__etape:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -76px; height: 64px; border-left: 2px dashed var(--accent); opacity: 0.45; }
.parcours__visuel { position: relative; }
.parcours__visuel::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 0; background: var(--accent-light); z-index: 0; transition: transform 400ms ease; }
.parcours__etape.reverse .parcours__visuel::before { inset: 18px 18px -18px -18px; }
.parcours__etape:hover .parcours__visuel::before { transform: translate(-6px, -6px); }
.parcours__visuel .photo { position: relative; z-index: 1; border-radius: 0; }
.parcours__texte { position: relative; z-index: 0; }
.parcours__num { position: absolute; top: -0.55em; right: 0; font-size: 7.5rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--accent-light); pointer-events: none; z-index: -1; }
.parcours__picto { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 16px; background: var(--accent-dark); color: #fff; transform: rotate(-6deg); }
.parcours .service-row ul { display: flex; flex-wrap: wrap; gap: 8px; }
.parcours .service-row li { margin: 0; padding: 7px 14px 7px 32px; border-radius: 999px; background: var(--accent-light); color: var(--accent-dark); font-size: 0.88rem; font-weight: 500; }
.parcours .service-row li::before { left: 13px; top: 50%; width: 10px; height: 6px; margin-top: -4px; border: solid var(--accent); border-width: 0 0 2px 2px; border-radius: 0; background: none; transform: rotate(-45deg); }
.parcours .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; padding: 11px 20px; border-radius: 999px; background: var(--accent-dark); color: #fff !important; font-weight: 600; text-decoration: none; transition: background 250ms ease, transform 250ms ease; }
.parcours .card-link:hover { background: var(--accent); transform: translateX(4px); }
.js-apparition .parcours__etape { opacity: 0; transform: translateY(36px); transition: opacity 700ms ease, transform 700ms ease; }
.js-apparition .parcours__etape.est-visible { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .parcours__etape:not(:last-child)::after { display: none; }
}
@media (max-width: 720px) {
  .parcours__num { font-size: 5rem; }
  .parcours__visuel::before, .parcours__etape.reverse .parcours__visuel::before { inset: 12px -10px -12px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .js-apparition .parcours__etape { opacity: 1; transform: none; transition: none; }
}

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Modernisation : boutons en pilule */
/* 16.10.26 - Webbax | paysagiste-constantin.ch - Photos carrées (plus d'arrondi) */
.photo, .photo--hero { border-radius: 0; }
.projet__cadre { border-radius: 0; overflow: hidden; }
.projet__media img { border-radius: 0; }
.btn, .footer-shop { border-radius: 999px; }

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Page Prestations : en-tête visuel (texte + mosaïque des 4 prestations, cercle vert en fond comme la page L'entreprise) */
.prestations-entete__grille { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.prestations-entete__texte p { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; }
.prestations-entete__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.etapes { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.etapes::before { content: ""; position: absolute; top: 50%; left: 50%; width: 92%; aspect-ratio: 1; border-radius: 50%; background: var(--accent-light); transform: translate(-50%, -50%); z-index: -1; }
.etapes__item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0; background: var(--accent-dark); color: #fff; text-decoration: none; box-shadow: 0 18px 36px -24px rgba(14,32,25,0.6); transition: transform 350ms ease, box-shadow 350ms ease; }
.etapes__item:nth-child(even) { transform: translateY(36px); }
.etapes__item:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -22px rgba(14,32,25,0.7); }
.etapes__item:nth-child(even):hover { transform: translateY(30px); }
.etapes__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.etapes__item:hover .etapes__img { transform: scale(1.06); }
.etapes__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,32,25,0.85) 0%, rgba(14,32,25,0.1) 55%, rgba(14,32,25,0) 100%); }
.etapes__picto { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,0.92); color: var(--accent-dark); transition: background 300ms ease, color 300ms ease, transform 300ms ease; }
.etapes__item:hover .etapes__picto { background: var(--accent); color: #fff; transform: rotate(-8deg); }
.etapes__legende { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
.etapes__num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: #9fe3b8; }
.etapes__titre { font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.etapes__titre::after { content: " \2193"; opacity: 0; transition: opacity 300ms ease; }
.etapes__item:hover .etapes__titre::after { opacity: 1; }
@media (max-width: 960px) {
  .prestations-entete__grille { grid-template-columns: 1fr; gap: 40px; }
  .etapes { max-width: 560px; margin-bottom: 60px; }
}
@media (max-width: 720px) {
  .etapes { gap: 12px; }
  .etapes__item { aspect-ratio: 1; }
  .etapes__item:nth-child(even), .etapes__item:nth-child(even):hover { transform: translateY(48px); }
  .etapes__picto { width: 36px; height: 36px; top: 10px; left: 10px; }
  .etapes__titre { font-size: 1rem; }
}

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Formulaires : chevron des listes décalé du bord arrondi, retraits alignés, focus en halo */
input, select, textarea { padding: 13px 16px; line-height: 1.4; transition: border-color var(--transition), box-shadow var(--transition); }
input:hover, select:hover, textarea:hover { border-color: #c9c6b9; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-light); }
input::placeholder, textarea::placeholder { color: #9a978d; opacity: 1; }
select { -webkit-appearance: none; appearance: none; padding-right: 46px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2300533d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px; cursor: pointer; }
select::-ms-expand { display: none; }
button { font-family: inherit; }

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Bandeau d'appel à l'action : alternative par e-mail */
.cta-banner .cta-banner__mail { margin: 16px auto 0; font-size: 0.9rem; opacity: 0.85; }
.cta-banner__mail a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cta-banner__mail a:hover { opacity: 0.8; }

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Page Contact : message plus haut, carte plus basse, pour équilibrer les 2 colonnes */
.contact-grid--page textarea { min-height: 320px; }
.contact-grid--page iframe { display: block; width: 100%; height: 260px; }
@media (max-width: 960px) {
  .contact-grid--page textarea { min-height: 200px; }
}

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Page Devis : formulaire plus long, message plus court et carte plus haute pour garder les 2 colonnes équivalentes */
.contact-grid--devis textarea { min-height: 200px; }
.contact-grid--devis iframe { height: 328px; }

/* 09.10.26 - Webbax | paysagiste-constantin.ch - Visionneuse de la fiche : même voile vert que la photo d'origine (photos seulement) */
.single-realisation .visionneuse__scene:has(img.visionneuse__media)::after { content: ""; position: absolute; inset: 0; background: rgba(0,83,61,0.25); mix-blend-mode: soft-light; pointer-events: none; }

/* 16.10.26 - Webbax | paysagiste-constantin.ch - Logo officiel complet (en-tête + pied de page) */
.site-header__inner { padding-top: 12px; padding-bottom: 12px; }
.logo-complet { display: block; height: 60px; width: auto; }
.site-footer .logo-complet { height: 120px; filter: brightness(0) invert(1); }
@media (max-width: 720px) {
  .site-header__inner { padding-top: 10px; padding-bottom: 10px; }
  .logo-complet { height: 44px; }
  .main-nav { inset: 65px 0 0 0; }
}

/* 16.10.26 - Webbax | paysagiste-constantin.ch - Accueil : chiffres clés plus présents (graisse, taille, filet vert) + compteur animé (site.js) */
.stats { gap: 28px; margin-top: 52px; }
.stat { position: relative; padding-top: 18px; }
.stat::before { content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 3px; background: var(--accent); transform-origin: left; transition: width 900ms cubic-bezier(0.16, 1, 0.3, 1); }
.stat:hover::before { width: 56px; }
.stat__num { font-size: clamp(2.6rem, 4vw, 3.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: #2fc46f; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat__suffixe { margin-left: 2px; font-size: 0.6em; font-weight: 700; vertical-align: 0.6em; color: #9fe3b8; }
.stat__label { display: block; margin-top: 10px; font-size: 0.88rem; font-weight: 500; line-height: 1.35; color: #cfcec8; }
.stats--anim .stat { opacity: 0; transform: translateY(18px); }
.stats--anim .stat::before { width: 0; }
.stats--anim.est-visible .stat { opacity: 1; transform: none; transition: opacity 600ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--i) * 140ms); }
.stats--anim.est-visible .stat::before { width: 32px; transition-delay: calc(var(--i) * 140ms + 200ms); }

/* 16.10.26 - Webbax | paysagiste-constantin.ch - Accueil, bloc contact : carte à la même hauteur que le texte de gauche */
.contact-grid--accueil { align-items: stretch; }
.contact-grid--accueil .map-embed iframe { height: 100%; aspect-ratio: auto; }
@media (max-width: 960px) {
  .contact-grid--accueil .map-embed iframe { height: 360px; }
}

/* 16.10.26 - Webbax | paysagiste-constantin.ch - Liens dans les textes saisis en back-office (pages, fiches) : visibles */
.page-content a:not(.btn), .projet__texte a:not(.btn) { color: var(--accent-dark); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(0, 83, 61, 0.35); text-underline-offset: 3px; transition: color var(--transition), text-decoration-color var(--transition); }
.page-content a:not(.btn):hover, .projet__texte a:not(.btn):hover { color: var(--accent); text-decoration-color: currentColor; }

/* 16.10.26 - Webbax | paysagiste-constantin.ch - Mobile : bouton « Devis gratuit » du menu à la taille des liens, menu burger en croix, zones tactiles */
.section--dark .eyebrow { color: #9fe3b8; }
.nav-toggle span { transition: transform 250ms ease, opacity 200ms ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 720px) {
  .nav-toggle { padding: 12px; margin-right: -12px; }
  .main-nav .btn { position: absolute; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); margin: 0; padding: 13px 28px; font-size: 1rem; box-shadow: 0 10px 24px -10px rgba(14, 32, 25, 0.5); }
  .footer-grid li { margin-bottom: 4px; }
  .footer-grid li a { padding: 4px 0; }
  .footer-grid li:not(.footer-insta) a { display: inline-block; }
}

/* 16.10.26 - Webbax | paysagiste-constantin.ch - Page Prestations : lien de chaque prestation en bouton */
.service-row__btn { margin-top: 10px; }

/* 16.10.26 - Webbax | paysagiste-constantin.ch - Fiche réalisation : bouton Retour en haut et en bas */
.btn--retour { padding: 10px 22px; font-size: 0.88rem; }
.projet .btn--retour { margin-bottom: 28px; }

/* 21.10.26 - Webbax | paysagiste-constantin.ch - Fiche réalisation : photos des paires et des rangs larges sur toute leur colonne */
.single-realisation .projet__rang--paire .projet__cadre,
.single-realisation .projet__rang--large .projet__cadre { width: 100%; }

/* 21.10.26 - Webbax | paysagiste-constantin.ch - Fiche réalisation : types de prestation en liste à puces ; desktop : sur la ligne des infos, 3 puces par colonne, taille ajustée par site.js */
.fiche-pastilles { display: block; columns: 3 150px; column-gap: 28px; margin: 0; padding: 0 0 0 1.1em; list-style: disc; }
.fiche-pastilles li { padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; font-weight: inherit; line-height: 1.6; break-inside: avoid; }
@media (min-width: 1000px) {
  .fiche-infos:has(.fiche-infos__prestations) { display: flex; }
  .fiche-infos:has(.fiche-infos__prestations) > div { flex: 0 0 auto; }
  .fiche-infos > div.fiche-infos__prestations { flex: 1 1 auto; min-width: 0; }
  .fiche-pastilles { display: grid; grid-auto-flow: column; grid-template-rows: repeat(var(--rangs, 3), auto); justify-content: start; column-gap: 24px; padding: 0; font-size: var(--taille, 1em); }
  .fiche-pastilles li { margin-left: 1.1em; white-space: nowrap; }
}
@media (min-width: 721px) and (max-width: 999px) {
  .fiche-infos > div.fiche-infos__prestations { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
}

/* 21.10.26 - Webbax | paysagiste-constantin.ch - Fiche réalisation : bandeau, voile limité au bas (sous le titre) + ombre du texte, photo bien visible */
.hero--fiche .hero__bg::after { background: linear-gradient(0deg, rgba(15,20,16,0.62) 0%, rgba(15,20,16,0.28) 28%, rgba(15,20,16,0) 50%); }
.hero--fiche .hero__content .eyebrow,
.hero--fiche .hero__content h1 { text-shadow: 0 1px 2px rgba(0,0,0,0.45), 0 2px 20px rgba(0,0,0,0.35); }

/* 30.10.26 - Webbax | paysagiste-constantin.ch - Fiche réalisation : noms longs sur plusieurs lignes ; liste des prestations sous les infos si elle ne tient pas sur la ligne (site.js) ; mobile : case seule en pleine largeur */
@media (min-width: 1000px) {
  .fiche-infos:has(.fiche-infos__prestations) > div { flex: 0 1 auto; max-width: 14em; }
  .fiche-infos > div.fiche-infos__prestations { flex: 1 1 auto; max-width: none; }
  .fiche-infos.fiche-infos--empile { flex-wrap: wrap; }
  .fiche-infos.fiche-infos--empile > div.fiche-infos__prestations { flex-basis: 100%; padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 720px) {
  .fiche-infos > div:not(.fiche-infos__prestations):nth-child(odd):is(:last-child, :has(+ .fiche-infos__prestations)) { grid-column: 1 / -1; }
}

/* 30.10.26 - Webbax | paysagiste-constantin.ch - Fiche réalisation : fiche technique repliable en mobile (site.js), barre masquée en bureau */
.fiche-details__titre { display: none; }
@media (max-width: 720px) {
  .fiche-details { margin-bottom: 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  /* 30.10.26 - Webbax | paysagiste-constantin.ch - Discret : « Voir le détail » en gris + flèche fine */
  .fiche-details__titre { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 0; font-weight: 600; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
  .fiche-details__titre::-webkit-details-marker { display: none; }
  .fiche-details__action { margin-left: auto; font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
  .fiche-details__masquer, .fiche-details[open] .fiche-details__voir { display: none; }
  .fiche-details[open] .fiche-details__masquer { display: inline; }
  .fiche-details__titre::after { content: ""; flex: none; width: 7px; height: 7px; margin: 0 4px 0 2px; border-right: 1.5px solid var(--text-muted); border-bottom: 1.5px solid var(--text-muted); transform: translateY(-2px) rotate(45deg); transition: transform var(--transition); }
  .fiche-details[open] > .fiche-details__titre::after { transform: translateY(2px) rotate(-135deg); }
  .fiche-details .fiche-infos { margin-bottom: 0; border-top: 0; border-bottom: 0; }
}

/* 30.10.26 - Webbax | paysagiste-constantin.ch - Fiche réalisation, tablette : 4 cases sur une ligne, 5 = 3 + 2, 6 = 3 + 3 (plus de case seule) */
@media (min-width: 721px) and (max-width: 999px) {
  .fiche-infos { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .fiche-infos > div { grid-column: span 4; }
  .fiche-infos--n4 > div { grid-column: span 3; }
  .fiche-infos--n5 > div:nth-child(n+4):not(.fiche-infos__prestations) { grid-column: span 6; }
  .fiche-infos:not(.fiche-infos--n4) > div:nth-child(4):not(.fiche-infos__prestations) { padding-left: 0; border-left: 0; }
  .fiche-infos:not(.fiche-infos--n4) > div:nth-child(n+4) { border-top: 1px solid var(--border); }
}

/* 30.10.26 - Webbax | paysagiste-constantin.ch - Tablette (721-960) : menu burger comme en mobile, le menu complet écrasait le logo */
@media (min-width: 721px) and (max-width: 960px) {
  .main-nav { position: fixed; inset: 85px 0 0 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 36px 40px; gap: 26px; transform: translateX(100%); transition: transform var(--transition); overflow-y: auto; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 22px; }
  .main-nav a:not(.btn) { font-size: 1.2rem; }
  .nav-toggle { display: flex; padding: 12px; margin-right: -12px; }
  .main-nav .btn { position: absolute; right: 40px; bottom: calc(32px + env(safe-area-inset-bottom)); margin: 0; padding: 13px 28px; font-size: 1rem; box-shadow: 0 10px 24px -10px rgba(14, 32, 25, 0.5); }
}

/* 16.11.26 - Webbax | paysagiste-constantin.ch - Fiche réalisation, mobile : tableau attribut | valeur bien séparé (plus de case seule) */
@media (max-width: 720px) {
  .fiche-infos { grid-template-columns: minmax(0, 1fr); border: 1px solid var(--border); }
  .fiche-details .fiche-infos { border: 1px solid var(--border); margin-bottom: 16px; }
  .fiche-infos > div:nth-child(n) { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); grid-column: auto; padding: 0; border-left: 0; border-top: 1px solid var(--border); }
  .fiche-infos > div:first-child { border-top: 0; }
  .fiche-infos > div:nth-child(n) > dt { margin: 0; padding: 14px 12px 12px; border-right: 1px solid var(--border); line-height: 1.4; }
  .fiche-infos > div:nth-child(n) > dd { padding: 12px 14px; font-size: 0.95rem; line-height: 1.4; }
  .fiche-pastilles { columns: 1; padding-left: 1em; font-size: 0.92rem; }
  .fiche-pastilles li { line-height: 1.4; margin-bottom: 4px; }
}

@media (max-width: 720px) {
  .visionneuse__prec,
  .visionneuse__suiv,
  .visionneuse__prec:hover,
  .visionneuse__suiv:hover { width: 44px; height: 44px; font-size: 1.6rem; border-radius: 50%; background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
  .visionneuse__prec { left: 18px; }
  .visionneuse__suiv { right: 18px; }
  .visionneuse__fermer:hover { background: rgba(255, 255, 255, 0.1); }
}
