/* Généré par outils/css_theme.py depuis outils/css/elementor.css : ne pas modifier ici. */
/* Source du pont entre le design et Elementor (WordPress). Générée dans le thème par outils/css_theme.py.
   Chargé après les styles d'Elementor : place des widgets Nethys dans Elementor, éditeur, gabarits blog et commentaires. */
/* ------------------------------------------------------------------ Base */
/* Pages au design Nethys : fond sombre derrière la scène 3D (voir body.nethys-full dans site.css). */
body.nethys.nethys-full { background: var(--ink); }
body.nethys .site-main { position: relative; z-index: 1; outline: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { position: fixed !important; left: 16px; top: 12px; z-index: 200; width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: 10px; background: var(--green); color: var(--ink); }
/* ------------------------------------------------------------------ Widgets Nethys dans Elementor */
/* Chaque widget Nethys est une section pleine largeur : aucun espacement ajouté par Elementor. */
.elementor-widget[class*="elementor-widget-nethys-"] { margin: 0 !important; width: 100%; }
.elementor-widget[class*="elementor-widget-nethys-"] > .elementor-widget-container { margin: 0; padding: 0; }
.e-con.nethys-stack, .elementor-section.nethys-stack { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --widgets-spacing: 0px; padding: 0 !important; gap: 0 !important; max-width: none; }
.e-con.nethys-stack > .e-con-inner { max-width: none; padding: 0; gap: 0; }
/* Les feuilles claires remontent sur la section précédente : elles doivent passer devant. */
/* Pas de z-index ici : les voiles des sections sombres (::before en z-index -1) doivent rester derrière les feuilles. */
/* La scène 3D est fixe : les conteneurs Elementor ne doivent pas créer de fond opaque devant elle. */
.nethys-builder .e-con.nethys-stack { background: transparent; }
/* Dans l'éditeur : tout est visible, rien n'est épinglé. */
.elementor-editor-active .xp { height: auto; display: block; padding-block: 72px; }
.elementor-editor-active .xp__panels { height: auto; display: grid; gap: 40px; }
.elementor-editor-active .xp__item { position: relative; visibility: visible; }
.elementor-editor-active .xp__item > * { opacity: 1; transform: none; }
.elementor-editor-active .xp__rail, .elementor-editor-active .xp__bar { display: none; }
.elementor-editor-active .scene { display: none; }
.elementor-editor-active .hero, .elementor-editor-active .expertises, .elementor-editor-active .page-hero { background: var(--ink) url("../img/fond-reseau.webp") center / cover; }
/* ------------------------------------------------------------------ Blog (gabarits du thème) */
body.nethys .post .post__title { font: 700 20px/1.3 var(--font-body); letter-spacing: 0; }
body.nethys .post .post__title a { text-decoration: none; }
body.nethys .post .post__title a::before { content: ""; position: absolute; inset: 0; }
body.nethys .post:hover .post__title a { color: var(--green-deep); }
body.nethys .post--featured .post__title { font: 800 clamp(30px, 3.4vw, 48px)/1.05 var(--font-display); }
body.nethys .pagination, body.nethys .pager { margin-top: 48px; }
body.nethys .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
body.nethys .nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 48px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-weight: 700; text-decoration: none; transition: border-color .25s, color .25s; }
body.nethys .nav-links .page-numbers:hover { border-color: var(--ink); }
body.nethys .nav-links .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
body.nethys .article-layout--simple { grid-template-columns: minmax(0, 1fr) 300px; }
body.nethys .article-layout--simple:not(:has(.aside)) { grid-template-columns: minmax(0, 820px); justify-content: center; }
.nethys-builder-content { position: relative; background: var(--white); }
.nethys-builder-content.sheet { padding-block: clamp(40px, 6vw, 80px); }
body.nethys .search-form { display: flex; gap: 10px; margin-top: 24px; max-width: 560px; }
body.nethys .search-form .search-field { flex: 1; min-height: 54px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font: 500 16px/1 var(--font-body); }
body.nethys .search-form .search-submit { min-height: 54px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--ink); color: var(--white); font: 700 16px/1 var(--font-body); cursor: pointer; }
/* Les anciens widgets Elementor (titres, boutons, formulaires, accordéons) gardent le style du kit du site
   tant que leurs pages ne sont pas remplacées par les modèles Nethys : pas d'habillage partiel ici. */
/* Contenu WordPress classique */
body.nethys .prose .alignleft { float: left; margin: .4em 1.4em 1em 0; }
body.nethys .prose .alignright { float: right; margin: .4em 0 1em 1.4em; }
body.nethys .prose .aligncenter { margin-inline: auto; }
body.nethys .prose .wp-caption-text, body.nethys .prose figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
/* Commentaires (gabarit de Hello Elementor) */
body.nethys .comments-area { position: relative; background: var(--white); padding: 0 var(--gutter) clamp(64px, 8vw, 110px); }
body.nethys .comments-area > * { max-width: 820px; margin-inline: auto; }
body.nethys .comments-area .comment-reply-title, body.nethys .comments-area .title-comments { font: 700 clamp(26px, 2.6vw, 36px)/1.1 var(--font-display); margin-bottom: 12px; }
body.nethys .comment-form { display: grid; gap: 16px; }
body.nethys .comment-form p { display: grid; gap: 6px; margin: 0; }
body.nethys .comment-form label { font-weight: 600; font-size: 14px; }
body.nethys .comment-form .comment-notes, body.nethys .comment-form .logged-in-as { color: var(--muted); font-size: 15px; }
body.nethys.nethys.nethys .comment-form input[type="text"], body.nethys.nethys.nethys .comment-form input[type="email"], body.nethys.nethys.nethys .comment-form input[type="url"], body.nethys.nethys.nethys .comment-form textarea {
	width: 100%; min-height: 54px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--white);
	font: 500 16px/1.4 var(--font-body); color: var(--ink);
}
body.nethys.nethys.nethys .comment-form textarea { min-height: 150px; }
body.nethys.nethys.nethys .comment-form input:focus, body.nethys.nethys.nethys .comment-form textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 4px rgba(113, 191, 68, .2); }
body.nethys .comment-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
body.nethys.nethys.nethys .comment-form .comment-form-cookies-consent input { margin-top: 4px; accent-color: var(--green-deep); }
body.nethys .comment-form .submit { justify-self: start; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--ink); color: var(--white); font: 700 16px/1 var(--font-body); cursor: pointer; transition: background-color .3s; }
body.nethys .comment-form .submit:hover { background: var(--green-deep); }
body.nethys .comment-list { list-style: none; padding: 0; display: grid; gap: 16px; margin-bottom: 40px; }
body.nethys .comment-list .comment-body { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
body.nethys .single-post .sheet.section:has(+ .comments-area) { padding-bottom: clamp(40px, 5vw, 64px); }
/* Formulaires du thème : champ piège invisible pour les humains, message d'erreur. */
body.nethys .nx-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.nethys .form__status.is-error { color: #b42318; }
body.nethys .on-dark .form__status.is-error { color: #ffb4a8; }
/* Sous-titre mis en avant (gras, vert foncé sur clair, vert du logo sur sombre). */
body.nethys .sub.sub--strong { font: 700 20px/1.35 var(--font-body); color: var(--green-deep); }
body.nethys .on-dark .sub.sub--strong { color: var(--green); }
/* Bouton seul et texte libre dans les pages converties. */
body.nethys .nx-btnrow { margin-top: clamp(24px, 3vw, 36px); }
body.nethys .shead + .prose, body.nethys .prose + .prose { margin-top: 0; }
/* Annuaire de liens (villes par département). */
body.nethys .dir__intro { max-width: 70ch; color: var(--muted); margin-bottom: clamp(24px, 3vw, 36px); }
body.nethys .dir__intro a { color: var(--green-deep); font-weight: 700; }
body.nethys .dir__card h3 { font: 700 19px/1.3 var(--font-body); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
body.nethys .dir__card h3 a { text-decoration: none; }
body.nethys .dir__card h3 a:hover { color: var(--green-deep); }
body.nethys .dir__count { font-size: 13px; font-weight: 700; color: var(--muted); }
body.nethys .dir .pills, body.nethys .dir__chips .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
body.nethys .dir__chips + .dir__chips { margin-top: 18px; }
/* Bloc de texte : paragraphe mis en avant (blanc sur sombre, noir sur clair). */
body.nethys .feat__lead { font-size: 19px; color: var(--ink); }
body.nethys .on-dark .feat__lead { color: var(--white); }
/* Blocs Nethys qui se suivent dans une même section : espace automatique (un espace réglé dans le widget l'emporte). */
.elementor-widget[class*="elementor-widget-nethys-"]:not(.elementor-widget-nethys-heading) + .elementor-widget-nethys-heading .shead { margin-top: clamp(64px, 8vw, 112px); }
.elementor-widget[class*="elementor-widget-nethys-"]:not(.elementor-widget-nethys-heading) + .elementor-widget[class*="elementor-widget-nethys-"]:not(.elementor-widget-nethys-heading):not(.elementor-widget-nethys-expand):not(.elementor-widget-nethys-button) > .wrap > :first-child { margin-top: clamp(48px, 6vw, 80px); }
