/* GENERE par build-theme.js a partir de editorial.css - ne pas modifier ici */
:root, .editor-styles-wrapper {
  --ed-bg: var(--wp--preset--color--fond); --ed-bg-alt: var(--wp--preset--color--fond-alt); --ed-surface: var(--wp--preset--color--surface);
  --ed-text: var(--wp--preset--color--texte); --ed-muted: var(--wp--preset--color--gris); --ed-accent: var(--wp--preset--color--accent);
  --ed-accent-contrast: var(--wp--preset--color--sur-accent); --ed-deep: var(--wp--preset--color--profond); --ed-deep-text: var(--wp--preset--color--sur-profond);
  --ed-border: var(--wp--custom--ed--bordure); --ed-deep-muted: var(--wp--custom--ed--gris-profond);
  --ed-font-titre: var(--wp--preset--font-family--titre); --ed-font-texte: var(--wp--preset--font-family--texte);
  --ed-titre-graisse: var(--wp--custom--ed--titre-graisse); --ed-titre-interlettre: var(--wp--custom--ed--titre-interlettre); --ed-titre-hauteur: var(--wp--custom--ed--titre-hauteur);
  --ed-h1: var(--wp--custom--ed--titre-principal); --ed-btn-rayon: var(--wp--custom--ed--bouton-rayon); --ed-btn-casse: var(--wp--custom--ed--bouton-casse);
  --ed-btn-interlettre: var(--wp--custom--ed--bouton-interlettre); --ed-btn-taille: var(--wp--custom--ed--bouton-taille);
  --ed-photo-rayon: var(--wp--custom--ed--photo-rayon); --ed-photo-hero-rayon: var(--wp--custom--ed--photo-hero-rayon);
  --ed-h2: clamp(34px, 4.6vw, 58px); --ed-eyebrow-casse: uppercase; --ed-eyebrow-interlettre: 0.18em; --ed-conteneur: 1240px; --ed-section: clamp(72px, 10vw, 136px);
}
/* =====================================================================
   Famille "Editoriale" (claire) — commerces, services, restauration,
   beaute, artisans d'art. Mise en page inspiree des sites de reference
   mesures le 02/10/2026 (Cutler, The Lane, Bastian Accounting) : fond clair
   chaud, grand titre a empattements, infos pratiques en evidence, grandes
   photos, beaucoup d'espace. Les STYLES (table, studio, cabinet, atelier)
   ne changent que les variables ci-dessous (skins.js).
   ===================================================================== */

.ed-page, .ed-page * { box-sizing: border-box; }
.ed-page {
  background: var(--ed-bg);
  color: var(--ed-text);
  font-family: var(--ed-font-texte);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.ed-page a { color: inherit; text-decoration: none; }
.ed-page img { display: block; max-width: 100%; }
.ed-conteneur { max-width: var(--ed-conteneur); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.ed-titre { font-family: var(--ed-font-titre); font-weight: var(--ed-titre-graisse); letter-spacing: var(--ed-titre-interlettre); line-height: var(--ed-titre-hauteur); margin: 0; }
.ed-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; text-transform: var(--ed-eyebrow-casse); letter-spacing: var(--ed-eyebrow-interlettre);
  color: var(--ed-muted); margin: 0 0 22px;
}
.ed-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.ed-section { padding: var(--ed-section) 0; }
.ed-section-alt { background: var(--ed-bg-alt); }
.ed-section h2 { font-size: var(--ed-h2); margin: 0 0 20px; max-width: 16ch; }
.ed-intro { color: var(--ed-muted); max-width: 52ch; margin: 0; }

.ed-page address { font-style: normal; }
.ed-page :focus-visible { outline: 2px solid var(--ed-accent); outline-offset: 3px; }

/* Protection contre les styles du theme WordPress (liens soulignes, couleurs
   de titres, marges) : la page doit rendre pareil dans WordPress et en apercu. */
.ed-page a, .ed-page a:hover, .ed-page a:focus, .ed-page a:visited { text-decoration: none !important; box-shadow: none; }
.ed-page .ed-consent a, .ed-page .ed-intro a, .ed-page .ed-faits a, .ed-page a.ed-hero-note b { text-decoration: underline !important; text-underline-offset: 3px; }
.ed-page h1, .ed-page h2, .ed-page h3, .ed-page summary { color: inherit !important; text-transform: none; }
.ed-page h1, .ed-page h2, .ed-page h3, .ed-page .ed-titre { font-family: var(--ed-font-titre) !important; font-weight: var(--ed-titre-graisse) !important; letter-spacing: var(--ed-titre-interlettre); }
.ed-page p { margin-top: 0; }
.ed-page button, .ed-page input, .ed-page select, .ed-page textarea { box-shadow: none; }
.ed-page .ed-evitement { position: absolute !important; left: -9999px !important; top: 0; z-index: 100; background: var(--ed-text); color: var(--ed-bg) !important; padding: 10px 16px; font-size: 14px; }
.ed-page .ed-evitement:focus { left: 12px !important; top: 12px; }

/* Boutons */
.ed-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; border-radius: var(--ed-btn-rayon);
  font-family: var(--ed-font-texte); font-size: var(--ed-btn-taille); font-weight: 600;
  text-transform: var(--ed-btn-casse); letter-spacing: var(--ed-btn-interlettre);
  border: 1px solid var(--ed-accent); cursor: pointer; line-height: 1.2;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.ed-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.ed-btn-plein { background: var(--ed-accent); color: var(--ed-accent-contrast) !important; }
.ed-btn-plein:hover { background: transparent; color: var(--ed-accent-texte, var(--ed-accent)) !important; }
.ed-btn-contour { background: transparent; color: var(--ed-text) !important; border-color: var(--ed-text); }
.ed-btn-contour:hover { background: var(--ed-text); color: var(--ed-bg) !important; }
.ed-lien {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  text-transform: var(--ed-btn-casse); letter-spacing: var(--ed-btn-interlettre);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}

/* En-tete */
.ed-entete { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--ed-bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ed-border); }
.ed-entete-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.ed-marque { display: flex; align-items: center; gap: 14px; line-height: 1.1; min-width: 0; }
.ed-marque-txt { display: flex; flex-direction: column; min-width: 0; }
.ed-logo { height: 44px; width: auto; max-width: 140px; object-fit: contain; }
.ed-marque-nom { font-family: var(--ed-font-titre); font-weight: var(--ed-titre-graisse); font-size: 27px; letter-spacing: var(--ed-titre-interlettre); }
.ed-marque-metier { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--ed-muted); margin-top: 4px; }
.ed-nav { display: flex; align-items: center; gap: 34px; }
.ed-nav a { font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--ed-text); position: relative; }
.ed-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .25s ease; }
.ed-nav a:hover::after { right: 0; }
.ed-entete-actions { display: flex; align-items: center; gap: 18px; }
.ed-tel { font-size: 14px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.ed-entete .ed-btn { padding: 13px 22px; }
.ed-nav a, .ed-btn, .ed-tel, .ed-marque-nom, .ed-marque-metier { white-space: nowrap; }
.ed-marque { min-width: 0; }
.ed-marque-metier { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1180px) { .ed-tel { display: none; } .ed-nav { gap: 26px; } }
@media (max-width: 1060px) { .ed-nav { display: none; } }
@media (max-width: 560px) { .ed-entete .ed-btn { display: none; } .ed-marque-nom { font-size: 23px; } }

/* Haut de page */
.ed-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(64px, 9vw, 128px); }
.ed-hero-grille { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 980px) { .ed-hero-grille { grid-template-columns: 1.08fr 0.92fr; gap: 72px; } }
.ed-hero h1 { font-size: var(--ed-h1); margin: 0 0 30px; }
.ed-hero h1 em { font-style: italic; color: var(--ed-accent-texte, var(--ed-accent)); }
.ed-hero-texte { font-size: 19px; color: var(--ed-muted); max-width: 46ch; margin: 0 0 40px; }
.ed-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ed-hero-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--ed-border); font-size: 14px; color: var(--ed-muted); }
.ed-hero-meta b { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--ed-text); margin-bottom: 4px; }
.ed-hero-visuel { position: relative; }
.ed-hero-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--ed-photo-hero-rayon); background: var(--ed-bg-alt); }
.ed-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.ed-hero-sans-photo { aspect-ratio: 4 / 5; border-radius: var(--ed-photo-hero-rayon); background: var(--ed-bg-alt); display: flex; align-items: flex-end; padding: 40px; }
.ed-hero-sans-photo span { font-family: var(--ed-font-titre); font-size: clamp(120px, 18vw, 240px); line-height: .8; color: var(--ed-accent); opacity: .9; }
.ed-hero-carte {
  position: absolute; left: -28px; bottom: 36px; background: var(--ed-surface); padding: 22px 26px; max-width: 280px;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .35); border-radius: calc(var(--ed-photo-rayon) / 2);
}
.ed-hero-carte b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--ed-muted); font-weight: 600; margin-bottom: 6px; }
.ed-hero-carte span { font-family: var(--ed-font-titre); font-size: 26px; line-height: 1.15; }
@media (max-width: 979px) { .ed-hero-carte { left: 16px; bottom: 16px; } }

/* Infos pratiques */
.ed-infos { background: var(--ed-bg-alt); border-top: 1px solid var(--ed-border); border-bottom: 1px solid var(--ed-border); }
.ed-infos-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.ed-info { padding: 34px 28px 34px 0; }
.ed-info + .ed-info { padding-left: 28px; border-left: 1px solid var(--ed-border); }
.ed-info b { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--ed-muted); margin-bottom: 10px; }
.ed-info span { font-family: var(--ed-font-titre); font-size: 23px; line-height: 1.3; display: block; }
.ed-info .ed-lien { margin-top: 14px; }
@media (max-width: 720px) { .ed-info + .ed-info { padding-left: 0; border-left: 0; border-top: 1px solid var(--ed-border); } }

/* Services */
.ed-tete-section { display: grid; grid-template-columns: 1fr; gap: 18px 64px; align-items: end; margin-bottom: 56px; }
@media (min-width: 900px) { .ed-tete-section { grid-template-columns: 1.1fr 0.9fr; } }
.ed-services-liste { border-top: 1px solid var(--ed-border); }
.ed-service {
  display: grid; grid-template-columns: 56px 1fr; gap: 6px 28px; padding: 34px 0; border-bottom: 1px solid var(--ed-border); align-items: start;
}
@media (min-width: 900px) { .ed-service { grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.2fr) 168px; gap: 40px; align-items: center; } }
.ed-service-num { font-family: var(--ed-font-titre); font-size: 22px; color: var(--ed-muted); }
.ed-service h3 { font-family: var(--ed-font-titre); font-weight: var(--ed-titre-graisse); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; margin: 0; letter-spacing: var(--ed-titre-interlettre); }
.ed-service h3 a { border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.ed-service h3 a:hover { border-bottom-color: currentColor; }
.ed-service h3 a::after { content: " →"; font-family: var(--ed-font-texte); font-size: .6em; color: var(--ed-muted); }
.ed-service p { color: var(--ed-muted); margin: 0; font-size: 16px; grid-column: 2; }
@media (min-width: 900px) { .ed-service p { grid-column: auto; } }
.ed-service-photo { display: none; }
@media (min-width: 900px) { .ed-sans-photo .ed-service { grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.3fr); } .ed-sans-photo .ed-service > div:last-child { display: none; } }
.ed-hero-grille > * { min-width: 0; }
@media (min-width: 900px) { .ed-service-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--ed-photo-rayon); } .ed-service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; } .ed-service:hover .ed-service-photo img { transform: scale(1.04); } }

/* A propos */
.ed-apropos-grille { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 900px) { .ed-apropos-grille { grid-template-columns: 0.9fr 1.1fr; gap: 88px; } }
.ed-apropos-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--ed-photo-rayon); }
.ed-apropos-photo img { width: 100%; height: 100%; object-fit: cover; }
.ed-apropos-texte p { font-size: 18px; color: var(--ed-muted); margin: 0 0 18px; }
.ed-faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--ed-border); }
.ed-fait span { display: block; font-family: var(--ed-font-titre); font-size: 40px; line-height: 1; margin-bottom: 8px; }
.ed-fait b { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--ed-muted); }

/* Galerie (vraies photos du client uniquement) */
/* 3 ou 6 photos : toujours des lignes pleines */
.ed-galerie-grille { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 600px) { .ed-galerie-grille { grid-template-columns: repeat(2, 1fr); } .ed-galerie-grille figure:first-child:nth-last-child(3) { grid-column: span 2; aspect-ratio: 16 / 9; } }
@media (min-width: 900px) { .ed-galerie-grille { grid-template-columns: repeat(3, 1fr); } .ed-galerie-grille figure:first-child:nth-last-child(3) { grid-column: auto; aspect-ratio: 4 / 5; } }
.ed-galerie-grille figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--ed-photo-rayon); }
.ed-galerie-grille img { width: 100%; height: 100%; object-fit: cover; }

/* Questions frequentes */
.ed-faq-grille { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .ed-faq-grille { grid-template-columns: 0.85fr 1.15fr; gap: 88px; } }
.ed-faq-liste { border-top: 1px solid var(--ed-border); }
.ed-faq-liste details { border-bottom: 1px solid var(--ed-border); }
.ed-faq-liste summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; font-family: var(--ed-font-titre); font-size: 24px; line-height: 1.25; }
.ed-faq-liste summary::-webkit-details-marker { display: none; }
.ed-faq-liste summary::after { content: '+'; font-family: var(--ed-font-texte); font-weight: 300; font-size: 26px; line-height: 1; color: var(--ed-muted); transition: transform .25s ease; }
.ed-faq-liste details[open] summary::after { transform: rotate(45deg); }
.ed-faq-liste details p { margin: -8px 0 26px; color: var(--ed-muted); max-width: 62ch; }

/* Contact (bloc sombre) */
.ed-contact { background: var(--ed-deep); color: var(--ed-deep-text); }
.ed-contact .ed-eyebrow, .ed-contact .ed-intro { color: var(--ed-deep-muted); }
.ed-contact-grille { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 900px) { .ed-contact-grille { grid-template-columns: 0.9fr 1.1fr; gap: 96px; } }
.ed-coordonnees { margin-top: 40px; display: grid; gap: 24px; }
.ed-coordonnees b { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--ed-deep-muted); margin-bottom: 6px; }
.ed-coordonnees span, .ed-coordonnees a { font-family: var(--ed-font-titre); font-size: 24px; line-height: 1.3; }
.ed-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.ed-champ { display: flex; flex-direction: column; gap: 8px; }
.ed-champ-large { grid-column: 1 / -1; }
.ed-champ label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--ed-deep-muted); }
.ed-champ input, .ed-champ textarea, .ed-champ select {
  font: inherit; font-size: 17px; color: var(--ed-deep-text); background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .28);
  padding: 10px 0 12px; border-radius: 0; outline: none; transition: border-color .2s ease;
}
.ed-champ select option { color: #1C1A17; }
.ed-champ textarea { min-height: 120px; resize: vertical; }
.ed-champ input:focus, .ed-champ textarea:focus, .ed-champ select:focus { border-bottom-color: var(--ed-deep-text); }
.ed-consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ed-deep-muted); }
.ed-consent input { margin-top: 4px; accent-color: var(--ed-accent); }
.ed-consent a { text-decoration: underline; }
.ed-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ed-envoi { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.ed-contact .ed-btn-plein { background: var(--ed-deep-text); color: var(--ed-deep) !important; border-color: var(--ed-deep-text); }
.ed-contact .ed-btn-plein:hover { background: transparent; color: var(--ed-deep-text) !important; }
.ed-statut { margin: 0; font-size: 14.5px; min-height: 1.4em; color: var(--ed-deep-muted); }
.ed-statut.ok { color: #9AE6B4; } .ed-statut.erreur { color: #FEB2B2; }
@media (max-width: 640px) { .ed-form { grid-template-columns: 1fr; } }

/* Pied de page */
.ed-pied { background: var(--ed-bg); padding: 72px 0 0; border-top: 1px solid var(--ed-border); font-size: 15px; }
.ed-pied-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 56px; }
.ed-pied b { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--ed-muted); margin-bottom: 14px; }
.ed-pied p { margin: 0 0 6px; color: var(--ed-text); }
.ed-liens-seo:empty { display: none; }
.ed-liens-seo { padding: 0 0 40px; }
.ed-liens-seo nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.ed-liens-seo a { color: var(--ed-text); border-bottom: 1px solid var(--ed-border); }
.ed-pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0 96px; border-top: 1px solid var(--ed-border); font-size: 13px; color: var(--ed-muted); }
.ed-pied-bas nav { display: flex; gap: 22px; }
@media (min-width: 761px) { .ed-pied-bas { padding-bottom: 28px; } }

/* Barre d'appel mobile */
.ed-barre-mobile { display: none; }
@media (max-width: 760px) {
  .ed-barre-mobile { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; box-shadow: 0 -8px 30px rgba(0, 0, 0, .12); }
  .ed-barre-mobile a { padding: 17px 10px; text-align: center; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
  .ed-barre-mobile a:first-child { background: var(--ed-accent); color: var(--ed-accent-contrast); }
  .ed-barre-mobile a:last-child { background: var(--ed-surface); color: var(--ed-text); }
}

/* Pages legales */
.ed-legal { padding: clamp(56px, 8vw, 104px) 0; }
.ed-legal .ed-conteneur { max-width: 820px; }
.ed-legal h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 40px; }
.ed-legal h2 { font-family: var(--ed-font-titre); font-weight: var(--ed-titre-graisse); font-size: 26px; margin: 40px 0 10px; }
.ed-legal p { color: var(--ed-muted); margin: 0 0 10px; }

/* Note Google sous les boutons du haut de page (note reelle fournie par le client) */
.ed-hero-note { display: inline-flex; align-items: center; gap: 12px; margin: 28px 0 0; font-size: 14.5px; color: var(--ed-muted); }
.ed-hero-note b { color: var(--ed-text); font-weight: 600; font-size: 16px; }
a.ed-hero-note:hover span:last-child { color: var(--ed-text); }
.ed-etoiles { color: #C08A1E; letter-spacing: 2px; font-size: 15px; }

/* Bandeau des villes desservies */
.ed-villes { background: var(--ed-bg-alt); border-top: 1px solid var(--ed-border); border-bottom: 1px solid var(--ed-border); padding: 40px 0 44px; }
.ed-villes .ed-eyebrow { margin-bottom: 14px; }
.ed-villes-liste { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; font-family: var(--ed-font-titre); font-size: clamp(24px, 3vw, 38px); line-height: 1.2; }
.ed-villes-liste span:not(:last-child)::after { content: '·'; margin: 0 .5em; color: var(--ed-accent-texte, var(--ed-accent)); }

/* Comment ca se passe */
.ed-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: none; }
@media (min-width: 900px) { .ed-etapes { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 48px; } }
.ed-etape { border-top: 1px solid var(--ed-text); padding: 28px 0 36px; }
.ed-etape-num { display: block; font-family: var(--ed-font-titre); font-size: clamp(54px, 6vw, 80px); line-height: .9; color: var(--ed-accent-texte, var(--ed-accent)); margin-bottom: 26px; }
.ed-etape h3 { font-family: var(--ed-font-titre); font-weight: var(--ed-titre-graisse); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.15; margin: 0 0 12px; }
.ed-etape p { color: var(--ed-muted); margin: 0; max-width: 40ch; }

/* Avis clients (reels uniquement, jamais inventes) */
.ed-avis-note { display: flex; align-items: center; gap: 18px; margin: 0 0 18px; color: var(--ed-muted); font-size: 14px; line-height: 1.5; }
.ed-avis-chiffre { font-family: var(--ed-font-titre); font-size: 64px; line-height: 1; color: var(--ed-text); }
.ed-avis-grille { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .ed-avis-2, .ed-avis-4 { grid-template-columns: repeat(2, 1fr); } .ed-avis-3 { grid-template-columns: repeat(3, 1fr); } }
.ed-avis { margin: 0; background: var(--ed-surface); padding: clamp(28px, 3vw, 40px); border-radius: var(--ed-photo-rayon); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.ed-avis blockquote { margin: 0; }
.ed-avis blockquote p { margin: 0; font-family: var(--ed-font-titre); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.38; }
.ed-avis blockquote p::before { content: '“'; display: block; font-size: 72px; line-height: .6; height: 34px; color: var(--ed-accent-texte, var(--ed-accent)); }
.ed-avis-1 .ed-avis { background: transparent; padding: 0; text-align: center; align-items: center; }
.ed-avis-1 .ed-avis blockquote p { font-size: clamp(28px, 3.4vw, 44px); max-width: 30ch; margin: 0 auto; }
.ed-avis figcaption { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--ed-muted); }
.ed-avis figcaption::before { content: ''; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; }

/* Apparition douce au defilement (desactivee si mouvement reduit ; sans
   JavaScript tout reste visible : la classe ed-js n'est posee que par le script) */
@media (prefers-reduced-motion: no-preference) {
  .ed-apparait { animation: ed-monte .9s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes ed-monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .ed-hero-photo img { animation: ed-zoom 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes ed-zoom { from { transform: scale(1.07); } to { transform: none; } }
  .ed-js .ed-revele { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
  .ed-js .ed-revele.ed-vu { opacity: 1; transform: none; }
}

/* Bouton "remonter" du theme Astra : hors charte, masque */
#ast-scroll-top, .ast-scroll-top-icon { display: none !important; }

/* =====================================================================
   Adaptations du design editorial au balisage des blocs WordPress
   (groupes, paragraphes, boutons, citations, navigation).
   ===================================================================== */
body.ed-page { margin: 0; background: var(--ed-bg); color: var(--ed-text); }
.ed-page .wp-site-blocks > *, .ed-page main > .entry-content > *, .ed-page .wp-block-post-content > * { margin-block: 0; }
/* La mise en page "flux" de WordPress ajoute un espace entre blocs : retire dans les grilles du design */
.ed-hero-grille > *, .ed-infos-grille > *, .ed-services-liste > *, .ed-service > *, .ed-etapes > *, .ed-etape > *, .ed-apropos-grille > *,
.ed-galerie-grille > *, .ed-avis-grille > *, .ed-faq-grille > *, .ed-faq-liste > *, .ed-contact-grille > *, .ed-entete-in > *, .ed-entete-actions > *,
.ed-marque > *, .ed-marque-txt > *, .ed-pied-grille > *, .ed-faits > *, .ed-fait > *, .ed-coordonnees > *, .ed-coordonnees > * > *, .ed-tete-section > *,
.ed-tete-section > * > *, .ed-info > *, .ed-hero-visuel > *, .ed-hero-carte > *, .ed-actions > *, .ed-villes .ed-conteneur > * { margin-block: 0; }
.ed-page p { margin-top: 0; }
.ed-page figure.wp-block-image { margin: 0; }
.ed-page .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Etiquettes et valeurs (infos pratiques, coordonnees, faits) */
.ed-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--ed-muted); margin: 0 0 10px !important; }
.ed-valeur { font-family: var(--ed-font-titre); font-size: 23px; line-height: 1.3; margin: 0; }
.ed-valeur-petite { font-size: 19px; overflow-wrap: anywhere; }
.ed-lien-p { margin: 14px 0 0 !important; font-size: 13px; font-weight: 600; text-transform: var(--ed-btn-casse); letter-spacing: var(--ed-btn-interlettre); }
.ed-lien-p a { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.ed-gris { color: var(--ed-muted); }
.ed-contact .ed-label { color: var(--ed-deep-muted); }
.ed-coordonnees .ed-valeur { font-size: 24px; }
.ed-coordonnees .ed-valeur-petite { font-size: 20px; }

/* Boutons (bloc Boutons) */
.ed-page .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.ed-page .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 30px;
  border-radius: var(--ed-btn-rayon); font-family: var(--ed-font-texte); font-size: var(--ed-btn-taille); font-weight: 600;
  text-transform: var(--ed-btn-casse); letter-spacing: var(--ed-btn-interlettre); line-height: 1.2; border: 1px solid var(--ed-accent);
  background: var(--ed-accent); color: var(--ed-accent-contrast) !important; text-decoration: none !important; transition: background .2s ease, color .2s ease;
}
.ed-page .wp-block-button__link:hover { background: transparent; color: var(--ed-accent-texte, var(--ed-accent)) !important; }
.ed-page .wp-block-button.ed-btn-contour .wp-block-button__link { background: transparent; color: var(--ed-text) !important; border-color: var(--ed-text); }
.ed-page .wp-block-button.ed-btn-contour .wp-block-button__link:hover { background: var(--ed-text); color: var(--ed-bg) !important; }
.ed-entete .wp-block-button__link { padding: 13px 22px; white-space: nowrap; }

/* Haut de page */
.ed-titre-hero { font-size: min(var(--ed-h1), 12.5vw); margin: 0 0 30px !important; }
.ed-hero-texte { font-size: 19px; color: var(--ed-muted); max-width: 46ch; margin: 0 0 40px !important; }
.ed-hero-note { margin: 28px 0 0 !important; font-size: 14.5px; color: var(--ed-muted); }
.ed-hero-note strong { color: var(--ed-text); font-size: 16px; }
.ed-hero-carte .ed-label { margin-bottom: 6px !important; }
.ed-hero-carte-texte { font-family: var(--ed-font-titre); font-size: 26px; line-height: 1.15; margin: 0; }
.ed-hero-sans-photo p { font-family: var(--ed-font-titre); font-size: clamp(120px, 18vw, 240px); line-height: .8; color: var(--ed-accent); margin: 0; }

/* Services */
.ed-service-num { margin: 0; }
.ed-service-texte { color: var(--ed-muted); margin: 0; font-size: 16px; grid-column: 2; }
@media (min-width: 900px) { .ed-service-texte { grid-column: auto; } }
.ed-sans-photo .ed-service > *:nth-child(4) { display: none; }

/* A propos */
.ed-fait-chiffre { font-family: var(--ed-font-titre); font-size: 40px; line-height: 1; margin: 0 0 8px !important; }
.ed-fait .ed-label { margin: 0 !important; }

/* Avis (bloc Citation) */
.ed-page .wp-block-quote.ed-avis { margin: 0; border: 0; background: var(--ed-surface); padding: clamp(28px, 3vw, 40px); border-radius: var(--ed-photo-rayon); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.ed-page .wp-block-quote.ed-avis p { margin: 0; font-family: var(--ed-font-titre); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.38; font-style: normal; }
.ed-page .wp-block-quote.ed-avis p::before { content: '“'; display: block; font-size: 72px; line-height: .6; height: 34px; color: var(--ed-accent-texte, var(--ed-accent)); }
.ed-page .wp-block-quote.ed-avis cite { font-style: normal; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--ed-muted); }
.ed-avis-note { color: var(--ed-muted); font-size: 14px; margin: 0 0 12px !important; }
.ed-avis-note strong { font-family: var(--ed-font-titre); font-size: 52px; line-height: 1; color: var(--ed-text); font-weight: var(--ed-titre-graisse); margin-right: 10px; vertical-align: middle; }

/* Questions frequentes (bloc Details) */
.ed-faq-liste .wp-block-details { margin: 0; }
.ed-faq-liste .wp-block-details p { margin: -8px 0 26px; color: var(--ed-muted); max-width: 62ch; }

/* En-tete (partie modifiable) */
.ed-marque { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ed-marque .ed-logo { width: auto; }
.ed-marque .ed-logo img { height: 44px; width: auto; max-width: 140px; object-fit: contain; }
.ed-marque-nom, .ed-marque-metier { margin: 0 !important; }
.ed-entete-actions { display: flex; align-items: center; gap: 18px; }
.ed-tel { margin: 0 !important; font-size: 14px; font-weight: 600; white-space: nowrap; }
.ed-nav.wp-block-navigation { font-size: 12.5px; }
.ed-nav .wp-block-navigation__container { gap: 34px; }
.ed-nav .wp-block-navigation-item__content { font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--ed-text); }
@media (max-width: 1180px) { .ed-tel { display: none; } }
@media (max-width: 1060px) { .ed-nav.wp-block-navigation { display: none; } }
@media (max-width: 560px) { .ed-entete .wp-block-buttons { display: none; } }

/* Pied de page */
.ed-pied .ed-marque-nom { display: block; }
.ed-pied-bas { display: block; }
.ed-pied-bas a { margin: 0 4px; }

/* Pages et articles (pages legales, pages locales, articles du suivi SEO) */
.ed-article { max-width: 820px; }
.ed-article h1 { font-size: clamp(36px, 5.6vw, 64px); margin: 0 0 32px; }
.ed-article h2 { font-size: clamp(26px, 3vw, 34px); margin: 44px 0 12px; }
.ed-article h3 { font-size: 22px; margin: 30px 0 8px; }
.ed-article p, .ed-article li { color: var(--ed-text); font-size: 17.5px; }
.ed-article a { text-decoration: underline !important; text-underline-offset: 3px; }
.ed-article .wp-block-post-featured-image { margin: 0 0 32px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--ed-photo-rayon); }
.ed-article .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.ed-liste-articles { list-style: none; padding: 0; display: grid; gap: 28px; }

/* ---------------------------------------------------------------------------
 * Mises en page de l'accueil (choisies par le modele ou le formulaire)
 * Inspirations : sites a grande photo d'ouverture, photo noir et blanc a
 * touche de couleur, motif de lignes fines, bandeau de couleur vive.
 * ------------------------------------------------------------------------- */
/* Grande photo plein ecran, texte clair sur un voile sombre */
:is(.ed-hero--plein, .is-style-hero-plein) { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; padding: 140px 0 clamp(56px, 8vw, 104px); overflow: hidden; isolation: isolate; }
:is(.ed-hero--plein, .is-style-hero-plein) > .ed-hero-grille { display: block; position: static; width: 100%; }
:is(.ed-hero--plein, .is-style-hero-plein) .ed-hero-visuel { position: absolute; inset: 0; z-index: -1; }
:is(.ed-hero--plein, .is-style-hero-plein) .ed-hero-visuel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .42) 55%, rgba(0, 0, 0, .22) 100%); }
:is(.ed-hero--plein, .is-style-hero-plein) .ed-hero-photo, :is(.ed-hero--plein, .is-style-hero-plein) .ed-hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; margin: 0; }
:is(.ed-hero--plein, .is-style-hero-plein) .ed-hero-carte { display: none; }
:is(.ed-hero--plein, .is-style-hero-plein) .ed-apparait { max-width: 820px; }
:is(.ed-hero--plein, .is-style-hero-plein), :is(.ed-hero--plein, .is-style-hero-plein) h1, :is(.ed-hero--plein, .is-style-hero-plein) .ed-eyebrow, :is(.ed-hero--plein, .is-style-hero-plein) .ed-hero-note strong { color: #FFFFFF; }
:is(.ed-hero--plein, .is-style-hero-plein) h1 em { color: inherit; }
:is(.ed-hero--plein, .is-style-hero-plein) .ed-hero-texte, :is(.ed-hero--plein, .is-style-hero-plein) .ed-hero-note { color: rgba(255, 255, 255, .86); }
.ed-page :is(.ed-hero--plein, .is-style-hero-plein) .wp-block-button.ed-btn-contour .wp-block-button__link { color: #FFFFFF !important; border-color: rgba(255, 255, 255, .8) !important; background: transparent !important; }
.ed-page :is(.ed-hero--plein, .is-style-hero-plein) .wp-block-button.ed-btn-contour .wp-block-button__link:hover { color: #111111 !important; background: #FFFFFF !important; border-color: #FFFFFF !important; }
/* Bandeau de couleur (couleur secondaire du modele) */
:is(.ed-hero--couleur, .is-style-hero-couleur) { background: var(--ed-bg-alt); }
:is(.ed-hero--couleur, .is-style-hero-couleur) .ed-hero-photo { box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .45); }
/* Photos noir et blanc, couleur au survol */
.ed-nb .wp-block-image img { filter: grayscale(1) contrast(1.06); transition: filter .6s ease; }
.ed-nb .wp-block-image:hover img { filter: none; }
@media (prefers-reduced-motion: reduce) { .ed-nb .wp-block-image img { transition: none; } }
/* Motif de lignes fines */
.ed-lignes > .ed-section { border-top: 1px solid var(--ed-border); }
.ed-lignes .ed-eyebrow::before, .ed-lignes .ed-label::before { content: ''; display: inline-block; width: 34px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 12px; opacity: .7; }
/* En-tete : ombre legere une fois la page defilee */
.ed-entete { transition: box-shadow .3s ease; }
body.ed-defile .ed-entete { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
/* Services sur telephone : numero a gauche, nom puis description a droite
   (placement explicite, sinon le nom glissait dans la colonne du numero) */
@media (max-width: 899px) {
  .ed-service > .ed-service-num { grid-column: 1; grid-row: 1; }
  .ed-service > h3 { grid-column: 2; grid-row: 1; min-width: 0; }
  .ed-service > .ed-service-texte { grid-column: 2; grid-row: 2; }
}

/* ---------------------------------------------------------------------------
 * Lecture des articles, pages de services et pages legales : texte plus
 * grand, interligne aere, respiration avant chaque intertitre
 * ------------------------------------------------------------------------- */
.ed-article .wp-block-post-content { font-size: 18px; line-height: 1.75; }
.ed-article .wp-block-post-content > * { margin-block: 0 !important; }
.ed-article .wp-block-post-content > p, .ed-article .wp-block-post-content > ul, .ed-article .wp-block-post-content > ol,
.ed-article .wp-block-post-content > .wp-block-html > p { margin: 0 0 1.15em !important; }
.ed-article .wp-block-post-content p, .ed-article .wp-block-post-content li { font-size: 18px; line-height: 1.75; color: var(--ed-text); }
.ed-article .wp-block-post-content h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin: 2.2em 0 .6em !important; }
.ed-article .wp-block-post-content h3 { font-size: clamp(20px, 2vw, 23px); line-height: 1.25; margin: 1.7em 0 .45em !important; }
.ed-article .wp-block-post-content ul, .ed-article .wp-block-post-content ol { padding-left: 1.3em; }
.ed-article .wp-block-post-content li { margin: .45em 0; }
.ed-article .wp-block-post-content li::marker { color: var(--ed-accent-texte, var(--ed-accent)); }
.ed-article .wp-block-post-content > p:first-child { font-size: 20px; line-height: 1.65; }
.ed-article .wp-block-post-content strong { font-weight: 600; }
.ed-article .wp-block-post-date { margin-bottom: 18px !important; }
/* Sections de l'accueil bord a bord (pas d'espace automatique de WordPress
   entre elles : il laissait une ligne du fond entre deux bandeaux colores) */
.ed-accueil > * { margin-block: 0 !important; }

/* ---------------------------------------------------------------------------
 * Pages plus vivantes : bandeau d'appel a l'action, boutons en relief,
 * services reactifs, halo derriere le titre, etiquette, FAQ en cartes
 * ------------------------------------------------------------------------- */
/* Bandeau d'appel a l'action (couleur principale du site) */
.ed-appel { position: relative; overflow: hidden; isolation: isolate; background: var(--ed-accent); color: var(--ed-accent-contrast); padding: clamp(52px, 7vw, 92px) 0; }
.ed-appel::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .22), transparent 42%), radial-gradient(circle at 6% 110%, rgba(0, 0, 0, .14), transparent 45%); }
.ed-appel-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.ed-appel-in > * { margin-block: 0 !important; }
.ed-appel-texte > * { margin-block: 0 !important; }
.ed-page .ed-appel h2.ed-appel-titre { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; color: var(--ed-accent-contrast) !important; }
.ed-appel-sous { margin-top: 12px !important; font-size: 17px; opacity: .92; }
.ed-appel-sous a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ed-page .ed-appel .wp-block-button.ed-btn-plein .wp-block-button__link { background: var(--ed-accent-contrast) !important; color: var(--ed-accent) !important; border-color: var(--ed-accent-contrast) !important; }
.ed-page .ed-appel .wp-block-button.ed-btn-contour .wp-block-button__link { background: transparent !important; color: var(--ed-accent-contrast) !important; border-color: var(--ed-accent-contrast) !important; }
.ed-page .ed-appel .wp-block-button.ed-btn-contour .wp-block-button__link:hover { background: var(--ed-accent-contrast) !important; color: var(--ed-accent) !important; }

/* Boutons : relief et ombre de la couleur du site, fleche qui glisse */
.ed-page .wp-block-button__link { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease !important; }
.ed-page .wp-block-button.ed-btn-plein .wp-block-button__link::after { content: '→'; display: inline-block; margin-left: .55em; transition: transform .2s ease; }
.ed-page .wp-block-button.ed-btn-plein .wp-block-button__link:hover { transform: translateY(-2px); background: var(--ed-accent) !important; color: var(--ed-accent-contrast) !important; box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--ed-accent) 75%, transparent); }
.ed-page .ed-appel .wp-block-button.ed-btn-plein .wp-block-button__link:hover { background: var(--ed-accent-contrast) !important; color: var(--ed-accent) !important; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }
.ed-page .wp-block-button.ed-btn-plein .wp-block-button__link:hover::after { transform: translateX(4px); }
.ed-page .wp-block-button.ed-btn-contour .wp-block-button__link:hover { transform: translateY(-2px); }

/* Services : la ligne s'eclaire au survol */
.ed-service { transition: background-color .25s ease, margin .25s ease, padding .25s ease; border-radius: max(6px, calc(var(--ed-photo-rayon) / 2)); }
.ed-service h3 a::after { display: inline-block; transition: transform .2s ease; }
@media (hover: hover) {
  .ed-service:hover { background: color-mix(in srgb, var(--ed-accent) 8%, transparent); margin-inline: -18px; padding-inline: 18px; }
  .ed-service:hover .ed-service-num { color: var(--ed-accent-texte, var(--ed-accent)); }
  .ed-service:hover h3 a::after { transform: translateX(6px); }
}

/* Halo de couleur derriere le titre */
.ed-hero:not(.ed-hero--plein):not(.is-style-hero-plein) { position: relative; isolation: isolate; overflow: hidden; }
.ed-hero:not(.ed-hero--plein):not(.is-style-hero-plein)::before { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; right: -18vw; top: -32vw; background: radial-gradient(circle, color-mix(in srgb, var(--ed-accent) 20%, transparent), transparent 66%); }

/* Etiquette du surtitre (sauf modeles a lignes fines) */
.ed-accueil:not(.ed-lignes) .ed-hero .ed-eyebrow { display: inline-block; padding: 7px 15px; border-radius: 999px; background: color-mix(in srgb, var(--ed-accent) 14%, transparent); color: var(--ed-text); }
.ed-accueil:not(.ed-lignes) :is(.ed-hero--plein, .is-style-hero-plein) .ed-eyebrow { background: rgba(255, 255, 255, .16); color: #FFFFFF; }
.ed-accueil:not(.ed-lignes) .ed-hero .ed-eyebrow::before { display: none; }

/* FAQ en cartes (sauf modeles a lignes fines) */
.ed-accueil:not(.ed-lignes) .ed-faq-liste .wp-block-details { background: var(--ed-surface); border: 1px solid var(--ed-border); border-radius: max(10px, calc(var(--ed-photo-rayon) / 2)); padding: 0 24px; margin: 0 0 12px !important; transition: border-color .2s ease, box-shadow .2s ease; }
.ed-accueil:not(.ed-lignes) .ed-faq-liste .wp-block-details:hover { border-color: color-mix(in srgb, var(--ed-accent) 55%, transparent); }
.ed-accueil:not(.ed-lignes) .ed-faq-liste .wp-block-details[open] { box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .35); }
.ed-accueil:not(.ed-lignes) .ed-faq-liste summary { padding: 22px 0; }

@media (prefers-reduced-motion: reduce) {
  .ed-page .wp-block-button__link, .ed-service, .ed-service h3 a::after { transition: none !important; }
  .ed-page .wp-block-button__link:hover { transform: none !important; }
}
/* Le cadre du bouton reste transparent (seul le lien porte la couleur) */
.ed-page .wp-block-button.ed-btn-plein, .ed-page .wp-block-button.ed-btn-contour { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
/* En-tete : un intitule long ne fait jamais passer le menu sur deux lignes */
.ed-entete-in > .ed-marque { min-width: 0; flex: 0 1 auto; }
.ed-marque-txt { min-width: 0; }
.ed-page .ed-marque-metier { max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-entete .ed-nav, .ed-entete .ed-nav .wp-block-navigation__container { flex-wrap: nowrap !important; white-space: nowrap; }
@media (max-width: 1180px) { .ed-page .ed-marque-metier { max-width: 200px; } }
/* Telephone : case de consentement assez grande pour le doigt (24 px mini),
   petites etiquettes lisibles (12 px) */
.ed-consent input[type="checkbox"] { width: 22px; height: 22px; min-width: 22px; margin-top: 0; cursor: pointer; }
.ed-consent { align-items: center; }
.ed-consent label, .ed-consent span { cursor: pointer; }
.ed-page .ed-label, .ed-page .ed-marque-metier { font-size: 12px; }

/* Page "Conseils" et encadre auteur des articles */
.ed-blog .ed-conteneur { max-width: var(--ed-conteneur, 1240px); }
.ed-blog-intro { color: var(--ed-muted); font-size: 18px; margin: -16px 0 40px !important; }
.ed-blog-grille { gap: 36px 28px !important; }
@media (max-width: 900px) { .ed-blog-grille { grid-template-columns: 1fr !important; } }
.ed-blog-grille > li { display: grid; gap: 10px; align-content: start; }
.ed-blog-grille > li > * { margin-block: 0 !important; }
.ed-blog-image img { border-radius: var(--ed-photo-rayon); transition: transform .5s ease; }
.ed-blog-image { overflow: hidden; border-radius: var(--ed-photo-rayon); }
.ed-blog-grille > li:hover .ed-blog-image img { transform: scale(1.03); }
.ed-blog-titre { font-size: clamp(22px, 2.2vw, 26px) !important; line-height: 1.2; }
.ed-blog-titre a { text-decoration: none !important; }
.ed-blog .wp-block-post-excerpt__more-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ed-auteur { margin-top: 2.6em; padding: 22px 24px; border: 1px solid var(--ed-border); border-radius: max(8px, calc(var(--ed-photo-rayon) / 2)); background: var(--ed-surface); }
.ed-auteur p { margin: 0 !important; font-size: 16px !important; color: var(--ed-text); }
.ed-auteur .ed-auteur-titre { font-family: var(--ed-font-titre); font-size: 20px !important; margin-bottom: 6px !important; }

/* Fil d'Ariane visible (pages et articles) */
.ed-ariane { margin: 0 0 18px; font-size: 14px; color: var(--ed-muted); }
.ed-ariane ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.ed-ariane li { display: inline-flex; align-items: center; min-width: 0; }
.ed-ariane li + li::before { content: '›'; margin: 0 9px; opacity: .7; }
.ed-ariane a { color: var(--ed-text); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; padding: 6px 0; }
.ed-ariane a:hover { text-decoration-color: currentColor; }
.ed-ariane span[aria-current] { max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Page "Zones d'intervention" : une carte par ville */
.ed-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 1.6em 0 0 !important; padding: 0 !important; list-style: none; }
.ed-zones li { margin: 0 !important; padding: 18px 20px; border: 1px solid var(--ed-border); border-radius: max(8px, calc(var(--ed-photo-rayon) / 2)); background: var(--ed-surface); }
.ed-zones a { display: block; font-family: var(--ed-font-titre); font-size: 19px; color: var(--ed-text); text-decoration: none; }
.ed-zones a:hover { color: var(--ed-accent); }
.ed-zones span { display: block; margin-top: 6px; font-size: 15px; color: var(--ed-muted); }

/* "A lire aussi" en fin d'article */
.ed-aussi { margin-top: 1.6em; }
.ed-article .ed-aussi .ed-aussi-titre { font-family: var(--ed-font-titre); font-size: 22px !important; line-height: 1.3; margin: 0 0 12px !important; color: var(--ed-text); }
.ed-aussi ul { margin: 0 !important; padding: 0 !important; list-style: none; display: grid; gap: 8px; }
.ed-aussi li { margin: 0 !important; }
.ed-article .ed-aussi a { display: block; padding: 12px 16px; border: 1px solid var(--ed-border); border-radius: max(8px, calc(var(--ed-photo-rayon) / 2)); color: var(--ed-text); text-decoration: none !important; }
.ed-aussi a::after { content: ' →'; color: var(--ed-accent); }
.ed-article .ed-aussi a:hover { border-color: var(--ed-accent); }

/* Page "Nos realisations" : toutes les photos du client, legendees */
.ed-galerie-page { margin-top: 1.4em; }
.ed-galerie-page figure { aspect-ratio: auto !important; overflow: visible !important; border-radius: 0 !important; }
.ed-galerie-page img { aspect-ratio: 4 / 3; height: auto !important; border-radius: var(--ed-photo-rayon); }
.ed-galerie-page figcaption { margin: 8px 0 0; font-size: 15px; line-height: 1.4; color: var(--ed-muted); text-align: left; }
.ed-galerie-suite { margin-top: 26px; justify-content: center; }

/* Haut de page "titre geant" (facon affiche) : accroche en tres grand sur
 * toute la largeur, texte et boutons dessous, photo large en bas */
.is-style-hero-geant > .ed-hero-grille { display: block; }
.is-style-hero-geant .ed-apparait { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 56px; }
.is-style-hero-geant .ed-apparait > .ed-eyebrow { justify-self: start; }
.is-style-hero-geant .ed-actions { flex-wrap: wrap; }
@media (min-width: 980px) {
  .is-style-hero-geant .ed-apparait { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; }
  .is-style-hero-geant .ed-apparait > .ed-eyebrow, .is-style-hero-geant .ed-apparait > h1 { grid-column: 1 / -1; }
  .is-style-hero-geant .ed-apparait > .ed-actions { justify-content: flex-end; margin-bottom: 40px; }
  .is-style-hero-geant .ed-apparait > .ed-hero-note { grid-column: 1 / -1; }
}
.is-style-hero-geant h1.ed-titre-hero { font-size: min(clamp(48px, 8.6vw, 140px), 12.5vw) !important; line-height: .92; letter-spacing: -.03em; margin-bottom: 34px !important; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
.is-style-hero-geant.ed-titre-court h1.ed-titre-hero { font-size: min(clamp(56px, 11.5vw, 188px), 15vw) !important; }
.is-style-hero-geant.ed-titre-long h1.ed-titre-hero { font-size: min(clamp(42px, 6.4vw, 104px), 11vw) !important; }
.is-style-hero-geant .ed-hero-visuel { margin-top: clamp(36px, 5vw, 64px); }
.is-style-hero-geant .ed-hero-photo { aspect-ratio: 4 / 3; }
@media (min-width: 700px) { .is-style-hero-geant .ed-hero-photo { aspect-ratio: 21 / 9; } }
.is-style-hero-geant :is(.ed-hero-carte, .ed-hero-sans-photo) { display: none; }

/* Haut de page "titre puis grande photo" : bandeau fonce, titre centre,
 * grande photo arrondie qui sort du bandeau */
.is-style-hero-dessus { background: var(--ed-deep); color: var(--ed-deep-text); padding-bottom: 0 !important; }
.is-style-hero-dessus:not(:has(.ed-hero-photo)) { padding-bottom: clamp(56px, 8vw, 104px) !important; }
.is-style-hero-dessus > .ed-hero-grille { display: block; text-align: center; }
.is-style-hero-dessus .ed-apparait { max-width: 900px; margin: 0 auto; }
.is-style-hero-dessus :is(h1, .ed-eyebrow, .ed-hero-note strong) { color: var(--ed-deep-text) !important; }
.is-style-hero-dessus h1 em { color: inherit !important; }
.is-style-hero-dessus :is(.ed-hero-texte, .ed-hero-note) { color: var(--ed-deep-muted) !important; margin-left: auto !important; margin-right: auto !important; }
.is-style-hero-dessus .ed-actions { justify-content: center; }
.ed-accueil:not(.ed-lignes) .is-style-hero-dessus .ed-eyebrow { background: rgba(255, 255, 255, .14); }
.is-style-hero-dessus .ed-hero-visuel { margin-top: clamp(40px, 6vw, 72px); }
.is-style-hero-dessus .ed-hero-photo { aspect-ratio: 4 / 3; border-radius: var(--ed-photo-hero-rayon) var(--ed-photo-hero-rayon) 0 0; }
@media (min-width: 700px) { .is-style-hero-dessus .ed-hero-photo { aspect-ratio: 16 / 7; } }
.is-style-hero-dessus :is(.ed-hero-carte, .ed-hero-sans-photo) { display: none; }
.is-style-hero-dessus::before { display: none; }
.ed-page .is-style-hero-dessus .wp-block-button.ed-btn-contour .wp-block-button__link { color: var(--ed-deep-text) !important; border-color: color-mix(in srgb, var(--ed-deep-text) 70%, transparent) !important; background: transparent !important; }
.ed-page .is-style-hero-dessus .wp-block-button.ed-btn-contour .wp-block-button__link:hover { color: var(--ed-deep) !important; background: var(--ed-deep-text) !important; }

/* ---------------------------------------------------------------------------
 * Effets inspires des sites primes (Awwwards / classement Adveris), en
 * version legere : aucun script en plus, rien si le visiteur demande moins
 * d'animations, et rien ne bloque l'affichage (Google : vitesse inchangee).
 * ------------------------------------------------------------------------- */
/* Bandeau defilant des prestations (styles vivants) */
.ed-bandeau { overflow: hidden; background: var(--ed-accent); color: var(--ed-accent-contrast); padding: clamp(14px, 2vw, 22px) 0; }
.ed-bandeau-piste { display: flex; width: max-content; white-space: nowrap; font-family: var(--ed-font-titre); font-weight: var(--ed-titre-graisse, 600); font-size: clamp(22px, 3.2vw, 42px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.ed-bandeau-piste > span, .ed-bandeau-piste::after { padding-right: .5em; }
.ed-bandeau-piste::after { content: attr(data-texte); }
@keyframes ed-defilement { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .ed-bandeau-piste { animation: ed-defilement 32s linear infinite; }
  .ed-bandeau:hover .ed-bandeau-piste { animation-play-state: paused; }
}
/* Photo du haut : leger effet de profondeur au defilement (navigateurs recents) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ed-hero-photo img { scale: 1.08; animation: ed-zoom 1.6s cubic-bezier(.2, .7, .2, 1) both, ed-profondeur linear both; animation-timeline: auto, view(); animation-range: normal, exit; }
    @keyframes ed-profondeur { from { translate: 0 0; } to { translate: 0 7%; } }
  }
}
/* Photos : zoom doux au survol */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ed-galerie-grille figure img, .ed-apropos-grille .wp-block-image img { transition: scale .9s cubic-bezier(.2, .7, .2, 1); }
  .ed-galerie-grille figure:hover img, .ed-apropos-grille .wp-block-image:hover img { scale: 1.05; }
  .ed-apropos-grille .wp-block-image { overflow: hidden; }
}
/* Galerie de l'accueil sur telephone : defilement horizontal au doigt */
@media (max-width: 599px) {
  .ed-accueil .ed-galerie-grille:not(.ed-galerie-page) { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; scrollbar-width: none; }
  .ed-accueil .ed-galerie-grille:not(.ed-galerie-page)::-webkit-scrollbar { display: none; }
  .ed-accueil .ed-galerie-grille:not(.ed-galerie-page) > figure { flex: 0 0 82%; scroll-snap-align: center; }
}
.ed-accueil:not(.ed-avec-bandeau) .ed-bandeau { display: none; }

/* Services en cartes avec photo (photo trouvee pour chaque service) */
.ed-services-cartes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 8px; }
@media (min-width: 640px) { .ed-services-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .ed-services-cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ed-services-cartes.ed-cartes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ed-services-cartes.ed-cartes-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ed-carte-service { display: flex; flex-direction: column; background: var(--ed-surface); border: 1px solid var(--ed-border); border-radius: max(10px, var(--ed-photo-rayon)); overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.ed-carte-service > * { margin-block: 0 !important; }
.ed-carte-service .ed-carte-photo { margin: 0 !important; width: 100%; align-self: stretch; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0; }
@media (min-width: 640px) { .ed-carte-service .ed-carte-photo { aspect-ratio: 4 / 3; } }
.ed-carte-service .ed-carte-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-carte-service h3 { font-family: var(--ed-font-titre); font-weight: var(--ed-titre-graisse); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.15; letter-spacing: var(--ed-titre-interlettre); margin: 20px 22px 8px !important; }
.ed-carte-service h3 a { color: inherit; text-decoration: none; }
.ed-carte-service .ed-service-texte { color: var(--ed-muted); font-size: 15.5px; line-height: 1.55; margin: 0 22px 16px !important; }
.ed-carte-service .ed-carte-lien { margin: auto 22px 22px !important; font-weight: 600; font-size: 15px; }
.ed-carte-service .ed-carte-lien a { color: var(--ed-text); text-decoration: none; border-bottom: 2px solid var(--ed-accent); padding-bottom: 2px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ed-carte-service:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .45); }
  .ed-carte-service .ed-carte-photo img { transition: scale .9s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
  .ed-carte-service:hover .ed-carte-photo img { scale: 1.05; }
}
/* A propos sans photo : texte centre sur une colonne */
.ed-apropos-grille.ed-apropos-sans-photo { grid-template-columns: minmax(0, 1fr) !important; max-width: 820px; }
