/*
Theme Name: NoviLogis
Theme URI: https://novilogis.m2lecco.fr/
Author: StratoCom Agency — Master 2 LECCO
Description: Thème de la plateforme NoviLogis (projet universitaire M2 LECCO), fidèle à la maquette Figma v2 : logements décrits point par point, boutique WooCommerce avec paiement test, articles « Conseils », pages légales. Les contenus et photos s'installent depuis Apparence > Démarrage NoviLogis.
Version: 2.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novilogis
WC requires at least: 8.0
*/

/* =========================================================================
   1. Jetons (maquette Figma v2)
   ====================================================================== */
:root {
	--nuit: #233240;
	--blanc: #ffffff;
	--gris: #e3e3e3;
	--gris-clair: #f4f4f4;
	--vert: #4cbfa6;
	--vert-clair: #ddf3ee;
	--vert-texte: #1e7a67;
	--gris-texte: #5b6670;
	--bord: #7a8691;
	--erreur: #b42318;
	--ombre: 0 8px 30px rgba(35, 50, 64, .10);
	--ombre-legere: 0 2px 10px rgba(35, 50, 64, .08);
	--police: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
	--largeur: 1280px;
	--marge: 24px;
}

/* =========================================================================
   2. Base
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--police);
	font-size: 17px;
	line-height: 28px;
	color: var(--nuit);
	background: var(--blanc);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--nuit); text-underline-offset: 3px; }
a:hover { color: var(--vert-texte); }
:focus-visible { outline: 3px solid var(--vert-texte); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
h1, h2, h3, h4 { margin: 0; color: var(--nuit); }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--gris); margin: 24px 0; }
table { border-collapse: collapse; width: 100%; }

.screen-reader-text, .nl-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.nl-evitement { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--nuit); color: #fff; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.nl-evitement:focus { top: 16px; color: #fff; }

.nl-conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding: 0 var(--marge); }
.nl-section { padding: 64px 0; }
.nl-section--gris { background: var(--gris-clair); }
.nl-section--nuit { background: var(--nuit); color: #fff; }
.nl-section--nuit h2, .nl-section--nuit h3 { color: #fff; }

/* Typographie */
.nl-hero-titre { font-size: 64px; line-height: 70px; font-weight: 800; letter-spacing: -1.5px; }
.nl-h1, .nl-page-titre { font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -1px; }
.nl-h2 { font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -.5px; }
.nl-h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.nl-corps { font-size: 17px; line-height: 28px; }
.nl-libelle { font-size: 15px; line-height: 20px; font-weight: 600; }
.nl-petit { font-size: 14px; line-height: 20px; }
.nl-surtitre { display: block; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--vert-texte); margin: 0 0 8px; }
.nl-section--nuit .nl-surtitre { color: var(--vert); }
.nl-gris { color: var(--gris-texte); }
.nl-vert { color: var(--vert-texte); }
.nl-centre { text-align: center; }
.nl-intro { font-size: 17px; line-height: 28px; color: var(--gris-texte); max-width: 680px; }

/* =========================================================================
   3. Boutons, puces, champs
   ====================================================================== */
.nl-bouton, .button, button.button, a.button, input.button, .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 16px 28px; border-radius: 999px;
	background: var(--vert); color: var(--nuit); border: 1.5px solid var(--vert);
	font-family: var(--police); font-size: 15px; line-height: 20px; font-weight: 600;
	text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap;
}
.nl-bouton:hover, .button:hover, .wp-block-button__link:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #3fae96; border-color: #3fae96; color: var(--nuit); }
.nl-bouton--secondaire, .is-style-outline .wp-block-button__link, .woocommerce a.button.nl-bouton--secondaire {
	background: #fff; color: var(--nuit); border-color: var(--nuit);
}
.nl-bouton--secondaire:hover, .is-style-outline .wp-block-button__link:hover { background: var(--gris-clair); border-color: var(--nuit); color: var(--nuit); }
.nl-bouton--sombre, .woocommerce a.button.nl-bouton--sombre { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.nl-bouton--sombre:hover, .woocommerce a.button.nl-bouton--sombre:hover { background: #31465a; border-color: #31465a; color: #fff; }
.nl-bouton--bloc { width: 100%; }
.nl-bouton--petit { min-height: 44px; padding: 10px 18px; }
.nl-bouton svg { width: 20px; height: 20px; flex: none; }
.nl-boutons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.nl-lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--vert-texte); text-decoration: none; }
.nl-lien-fleche:hover { text-decoration: underline; }
.nl-lien-fleche svg { width: 16px; height: 16px; }

.nl-puce {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
	border-radius: 999px; border: 1.5px solid var(--bord); background: #fff; color: var(--nuit);
	font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.nl-puce:hover { border-color: var(--nuit); color: var(--nuit); }
.nl-puce.est-active, .nl-puce[aria-pressed="true"], .nl-puce[aria-current="true"], input:checked + .nl-puce { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.nl-puces { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-puces input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nl-puces input:focus-visible + .nl-puce { outline: 3px solid var(--vert-texte); outline-offset: 3px; }

.nl-etiquette { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; line-height: 18px; font-weight: 500; background: var(--gris-clair); color: var(--gris-texte); white-space: nowrap; }
.nl-etiquette--declare, .nl-etiquette--verifie { background: var(--vert-clair); color: var(--vert-texte); }

label, .nl-champ > label, .woocommerce form .form-row label { display: block; font-size: 15px; line-height: 20px; font-weight: 600; margin: 0 0 8px; color: var(--nuit); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], input[type=url], input[type=date], select, textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	width: 100%; min-height: 56px; padding: 15px 18px; border-radius: 12px; border: 1.5px solid var(--bord);
	background: #fff; font-size: 17px; line-height: 24px; color: var(--nuit);
}
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: 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 1l5 5 5-5' fill='none' stroke='%23233240' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--vert); outline-offset: 1px; border-color: var(--nuit); }
.nl-aide, .woocommerce form .form-row .description { display: block; font-size: 14px; line-height: 20px; color: var(--gris-texte); margin-top: 6px; }
.nl-erreur-champ, .nl-champ.est-invalide .nl-erreur-champ { font-size: 14px; line-height: 20px; color: var(--erreur); margin-top: 6px; }
.nl-champ.est-invalide input, .nl-champ.est-invalide textarea, [aria-invalid="true"],
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--erreur) !important; }
.nl-champ { margin-bottom: 20px; }
.nl-champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.nl-case { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 22px; font-weight: 400; cursor: pointer; }
.nl-case input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--nuit); }
.nl-piege { position: absolute; left: -9999px; }

/* =========================================================================
   4. En-tête et navigation
   ====================================================================== */
.nl-entete { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--gris); }
.admin-bar .nl-entete { top: 32px; }
.nl-entete__ligne { display: flex; align-items: center; gap: 40px; min-height: 94px; }
.nl-logo { display: inline-flex; align-items: center; text-decoration: none; }
.nl-logo img, .custom-logo { width: auto; height: 40px; }
.nl-nav { flex: 1; }
.nl-menu { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nl-menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--nuit); }
.nl-menu a:hover { background: var(--gris-clair); color: var(--nuit); }
.nl-menu .current-menu-item > a, .nl-menu .current_page_item > a, .nl-menu .current-menu-ancestor > a, .nl-menu .nl-actif > a { background: var(--nuit); color: #fff; }
.nl-menu .sub-menu { display: none; }
.nl-entete__actions { display: flex; align-items: center; gap: 8px; }
.nl-pilule { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--gris); background: #fff; color: var(--nuit); font-size: 15px; font-weight: 600; text-decoration: none; position: relative; }
.nl-pilule:hover { border-color: var(--nuit); color: var(--nuit); }
.nl-pilule.est-actif { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.nl-pilule svg { width: 20px; height: 20px; }
.nl-pilule--langue { padding: 10px 14px; }
.nl-panier__nombre:not(:empty) { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--vert); color: var(--nuit); font-size: 12px; line-height: 1; font-weight: 700; }
.nl-langues { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nl-langues a { display: inline-flex; min-height: 48px; align-items: center; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--gris); text-decoration: none; font-weight: 600; font-size: 15px; text-transform: uppercase; }
.nl-langues .current-lang a { border-color: var(--nuit); }

/* Barre d'onglets mobile */
.nl-onglets { display: none; }

/* =========================================================================
   5. Pied de page
   ====================================================================== */
.nl-pied { background: var(--gris-clair); padding: 64px 0 40px; font-size: 14px; line-height: 20px; }
.nl-pied__colonnes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--gris); }
.nl-pied__titre { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0 0 12px; }
.nl-pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.nl-pied a { text-decoration: none; color: var(--nuit); font-size: 13px; }
.nl-pied a:hover { text-decoration: underline; color: var(--vert-texte); }
.nl-pied p { color: var(--gris-texte); margin: 0 0 10px; max-width: 280px; }
.nl-pied__mention { padding-top: 24px; color: var(--gris-texte); margin: 0; font-size: 14px; }

/* =========================================================================
   6. Composants
   ====================================================================== */
/* Recherche en pilule */
.nl-recherche { display: flex; align-items: center; max-width: 960px; margin: 0 auto; min-height: 80px; padding: 8px 8px 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--gris); box-shadow: var(--ombre); }
.nl-recherche__seg { flex: 1; position: relative; padding: 6px 24px; display: flex; flex-direction: column; min-width: 0; }
.nl-recherche__seg + .nl-recherche__seg::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--gris); }
.nl-recherche__seg label { font-size: 15px; line-height: 20px; font-weight: 600; margin: 0; }
.nl-recherche__seg input, .nl-recherche__seg select { min-height: 0; border: 0; padding: 2px 0; border-radius: 0; font-size: 14px; line-height: 20px; color: var(--gris-texte); background-color: transparent; }
.nl-recherche__seg select { background-position: right 0 center; padding-right: 20px; }
.nl-recherche__seg input::placeholder { color: var(--gris-texte); opacity: 1; }
.nl-recherche__seg input:focus, .nl-recherche__seg select:focus { outline: none; }
.nl-recherche__seg:focus-within { background: var(--gris-clair); border-radius: 999px; }
.nl-recherche .nl-bouton { min-height: 60px; padding: 16px 28px; }

/* Encadré */
.nl-encadre { background: #fff; border: 1px solid var(--gris); border-radius: 20px; padding: 28px; }
.nl-encadre h3, .nl-encadre .nl-h3 { margin: 0 0 10px; }
.nl-encadre p { color: var(--gris-texte); margin: 0; }
.nl-encadre p + p { margin-top: 10px; }
.nl-encadre svg.nl-icone { width: 28px; height: 28px; margin-bottom: 14px; }
.nl-encadre--menthe { background: var(--vert-clair); border-color: var(--vert-clair); }
.nl-encadre--gris { background: var(--gris-clair); border-color: var(--gris-clair); }
.nl-encadre--erreur { border: 1.5px solid var(--erreur); }
.nl-encadre--erreur .nl-surtitre { color: var(--erreur); }
.nl-grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nl-grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nl-entete-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }

/* Carte logement */
.nl-carte-logement { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--nuit); }
.nl-carte-logement__photo { position: relative; aspect-ratio: 300 / 285; border-radius: 16px; overflow: hidden; background: var(--gris-clair); margin-bottom: 14px; }
.nl-carte-logement__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nl-carte-logement:hover .nl-carte-logement__photo img { transform: scale(1.03); }
.nl-carte-logement__badge { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; line-height: 16px; font-weight: 500; box-shadow: var(--ombre-legere); }
.nl-carte-logement__ville { font-size: 13px; line-height: 18px; }
.nl-carte-logement__titre { font-size: 17px; line-height: 26px; font-weight: 500; color: var(--gris-texte); margin: 2px 0; }
.nl-carte-logement__titre a { text-decoration: none; color: inherit; }
.nl-carte-logement__titre a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.nl-carte-logement__resume { font-size: 14px; line-height: 20px; color: var(--gris-texte); }
.nl-carte-logement__prix { font-size: 13px; line-height: 18px; margin-top: 2px; }
.nl-carte-logement__confirmer { font-size: 14px; line-height: 20px; color: var(--vert-texte); margin-top: 2px; }
.nl-carte-appel { border-radius: 16px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; aspect-ratio: auto; align-self: start; }
.nl-carte-appel h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.nl-carte-appel p { color: var(--gris-texte); margin: 0; }
.nl-carte-appel--menthe { background: var(--vert-clair); }
.nl-carte-appel--gris { background: var(--gris-clair); }

/* Carte produit */
.nl-produits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.nl-produits--3 { grid-template-columns: repeat(3, 1fr); }
.nl-carte-produit { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--gris-clair); border-radius: 24px; padding: 24px 24px 28px; height: 100%; }
.nl-section--gris .nl-carte-produit, .nl-section--nuit .nl-carte-produit { background: #fff; }
.nl-carte-produit__image { width: 100%; aspect-ratio: 1; background: #fff; border-radius: 16px; overflow: hidden; display: grid; place-items: center; margin-bottom: 18px; }
.nl-carte-produit__image img { width: 100%; height: 100%; object-fit: contain; }
.nl-carte-produit__titre { font-size: 20px; line-height: 28px; font-weight: 500; margin: 0 0 12px; color: var(--nuit); }
.nl-carte-produit__titre a { text-decoration: none; color: inherit; }
.nl-carte-produit__titre a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.nl-carte-produit__prix { font-size: 13px; line-height: 18px; margin-bottom: 12px; color: var(--nuit); }
.nl-carte-produit__lien { font-size: 13px; line-height: 18px; color: var(--vert-texte); display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.nl-carte-produit__lien svg { width: 14px; height: 14px; color: var(--nuit); }
.nl-carte-produit:hover .nl-carte-produit__lien { text-decoration: underline; }
.nl-produits [hidden] { display: none; }

/* Carte article */
.nl-carte-article { position: relative; display: flex; flex-direction: column; }
.nl-carte-article__image { aspect-ratio: 300 / 375; border-radius: 16px; overflow: hidden; background: var(--gris-clair); margin-bottom: 14px; }
.nl-carte-article__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nl-carte-article:hover img { transform: scale(1.03); }
.nl-carte-article__titre { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0 0 8px; }
.nl-carte-article__titre a { text-decoration: none; color: var(--nuit); }
.nl-carte-article__titre a::after { content: ""; position: absolute; inset: 0; }
.nl-carte-article__meta { font-size: 14px; line-height: 20px; color: var(--gris-texte); }
.nl-carte-article--carre .nl-carte-article__image { aspect-ratio: 1; }

/* Fil d'Ariane */
.nl-ariane ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; line-height: 20px; color: var(--gris-texte); }
.nl-ariane li + li::before { content: "›"; margin-right: 8px; }
.nl-ariane a { color: var(--gris-texte); text-decoration: none; }
.nl-ariane a:hover { text-decoration: underline; color: var(--nuit); }

/* Notices */
.nl-alerte { border: 1.5px solid var(--erreur); border-radius: 16px; padding: 18px 20px; margin-bottom: 24px; background: #fff; }
.nl-alerte strong, .nl-alerte h2 { color: var(--erreur); font-size: 15px; line-height: 20px; font-weight: 600; display: block; margin-bottom: 4px; }
.nl-alerte ul { margin: 0; padding-left: 18px; font-size: 14px; }
.nl-alerte a { color: var(--nuit); }
.nl-succes { background: var(--vert-clair); border-radius: 16px; padding: 18px 20px; margin-bottom: 24px; }

/* =========================================================================
   7. Accueil
   ====================================================================== */
.nl-accueil-hero { padding: 72px 0 24px; text-align: center; }
.nl-accueil-hero .nl-hero-titre { max-width: 820px; margin: 0 auto 28px; }
.nl-accueil-hero p { color: var(--gris-texte); max-width: 640px; margin: 0 auto 28px; }
.nl-accueil-photo { margin-top: 28px; border-radius: 24px; overflow: hidden; aspect-ratio: 1280 / 560; }
.nl-accueil-photo img { width: 100%; height: 100%; object-fit: cover; }
.nl-besoins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nl-besoin { display: flex; align-items: center; gap: 16px; padding: 14px 20px 14px 14px; background: var(--gris-clair); border-radius: 20px; text-decoration: none; color: var(--nuit); transition: background .15s; }
.nl-besoin:hover { background: var(--gris); color: var(--nuit); }
.nl-besoin img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; }
.nl-besoin__texte { flex: 1; display: flex; flex-direction: column; }
.nl-besoin__titre { font-size: 15px; line-height: 20px; font-weight: 600; }
.nl-besoin__sous { font-size: 14px; line-height: 20px; color: var(--gris-texte); }
.nl-besoin svg { width: 16px; height: 16px; color: var(--vert-texte); flex: none; }
.nl-logements-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.nl-bande-boutique { padding: 96px 0 88px; text-align: center; }
.nl-bande-boutique .nl-h1 { color: #fff; margin: 0 auto 28px; }
.nl-bande-boutique > .nl-conteneur > p { color: #e8edf1; max-width: 640px; margin: 0 auto 40px; }
.nl-bande-boutique .nl-produits { text-align: center; margin-bottom: 40px; }
.nl-bande-boutique .nl-carte-produit__titre { font-size: 20px; }
.nl-infos h2 { margin-bottom: 32px; max-width: 640px; }

/* =========================================================================
   8. Logements
   ====================================================================== */
.nl-logements-entete { padding: 24px 0 8px; }
.nl-filtres-logement { margin: 28px 0 0; }
.nl-tri { display: inline-flex; align-items: center; position: relative; }
.nl-tri select { min-height: 44px; padding: 8px 40px 8px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; border-color: var(--bord); }
.nl-resultats { padding: 40px 0 72px; }
.nl-resultats h1 { margin-bottom: 16px; }
.nl-resultats .nl-intro { margin-bottom: 28px; }
.nl-vide { padding: 40px; border-radius: 20px; background: var(--gris-clair); text-align: center; }

/* Fiche */
.nl-fiche { padding: 32px 0 64px; }
.nl-fiche__lieu { display: flex; align-items: center; gap: 8px; color: var(--gris-texte); margin: 16px 0 28px; }
.nl-fiche__lieu svg { width: 18px; height: 18px; color: var(--nuit); }
.nl-galerie { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 225px 225px; gap: 8px; border-radius: 24px; overflow: hidden; margin-bottom: 40px; }
.nl-galerie a, .nl-galerie figure { display: block; margin: 0; overflow: hidden; background: var(--gris-clair); }
.nl-galerie a:first-child { grid-row: 1 / 3; }
.nl-galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nl-galerie a:hover img { transform: scale(1.03); }
.nl-galerie--1 { grid-template-columns: 1fr; }
.nl-fiche__colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; align-items: start; }
.nl-fiche__resume { font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -.5px; padding-bottom: 20px; border-bottom: 1px solid var(--gris); }
.nl-points { list-style: none; margin: 0; padding: 20px 0; border-bottom: 1px solid var(--gris); display: grid; gap: 16px; }
.nl-points li { display: flex; gap: 16px; }
.nl-points svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.nl-points strong { display: block; font-size: 15px; line-height: 22px; font-weight: 600; }
.nl-points span { color: var(--gris-texte); }
.nl-fiche__description { padding-top: 20px; }
.nl-fiche__description > * + * { margin-top: 12px; }
.nl-fiche h2.nl-h2 { margin: 32px 0 20px; }
.nl-acces__source { font-size: 13px; color: var(--gris-texte); margin: -8px 0 12px; }
.nl-acces { list-style: none; margin: 0; padding: 0; }
.nl-acces li { display: grid; grid-template-columns: 24px 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--gris); }
.nl-acces svg { width: 22px; height: 22px; }
.nl-acces__titre { display: block; font-size: 13px; line-height: 18px; }
.nl-acces__valeur { color: var(--gris-texte); }
.nl-carte-lieu { border-radius: 16px; overflow: hidden; aspect-ratio: 800 / 300; background: var(--gris-clair); }
.nl-carte-lieu img { width: 100%; height: 100%; object-fit: cover; }
.nl-fiche__note { font-size: 13px; color: var(--gris-texte); margin-top: 16px; }
.nl-contact-carte { position: sticky; top: 120px; padding: 28px; border: 1px solid var(--gris); border-radius: 20px; box-shadow: var(--ombre); background: #fff; }
.nl-contact-carte__prix { font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -1px; }
.nl-contact-carte__charges { font-size: 13px; color: var(--gris-texte); margin: 12px 0 24px; }
.nl-contact-carte .nl-bouton { width: 100%; margin-bottom: 12px; }
.nl-contact-carte__note { font-size: 13px; line-height: 18px; color: var(--gris-texte); margin: 8px 0 0; }
.nl-details-plus { margin-top: 24px; }
.nl-details-plus h3 { font-size: 15px; margin: 16px 0 6px; }
.nl-details-plus p { color: var(--gris-texte); white-space: pre-line; font-size: 15px; line-height: 24px; }

/* =========================================================================
   9. Boutique
   ====================================================================== */
.nl-boutique-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: 56px 0 40px; }
.nl-boutique-hero h1 { font-size: 64px; line-height: 70px; font-weight: 800; letter-spacing: -1.5px; }
.nl-boutique-hero__sous { font-size: 30px; line-height: 38px; font-weight: 700; color: var(--gris-texte); max-width: 760px; letter-spacing: -.5px; }
.nl-boutique-hero__aide { font-size: 14px; line-height: 20px; text-align: left; padding-bottom: 10px; }
.nl-boutique-hero__aide strong { display: block; font-weight: 600; }
.nl-boutique-hero__aide a { color: var(--vert-texte); text-decoration: none; }
.nl-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nl-categorie { position: relative; background: var(--gris-clair); border-radius: 20px; padding: 16px 16px 24px; text-decoration: none; color: var(--nuit); display: flex; flex-direction: column; }
.nl-categorie:hover { background: var(--gris); color: var(--nuit); }
.nl-categorie__image { aspect-ratio: 270 / 180; background: #fff; border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
.nl-categorie__image img { width: 100%; height: 100%; object-fit: contain; }
.nl-categorie__titre { font-size: 20px; line-height: 28px; font-weight: 600; }
.nl-categorie__sous { font-size: 14px; color: var(--gris-texte); margin: 4px 0 6px; }
.nl-categorie__nombre { font-size: 14px; font-weight: 600; color: var(--vert-texte); }
.nl-blocs-vitrine { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.nl-vitrine { border-radius: 24px; padding: 40px 40px 0; overflow: hidden; display: flex; flex-direction: column; background: var(--gris-clair); }
.nl-vitrine--nuit { background: var(--nuit); color: #fff; }
.nl-vitrine--nuit h2 { color: #fff; }
.nl-vitrine--nuit .nl-surtitre { color: var(--vert); }
.nl-vitrine h2 { font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -1px; margin-bottom: 12px; }
.nl-vitrine p { color: var(--gris-texte); }
.nl-vitrine--nuit p { color: #e8edf1; }
.nl-vitrine .nl-boutons { margin-bottom: 28px; }
.nl-vitrine__image { margin-top: auto; border-radius: 16px 16px 0 0; overflow: hidden; aspect-ratio: 560 / 300; background: #fff; }
.nl-vitrine__image img { width: 100%; height: 100%; object-fit: cover; }
.nl-filtres-rapides { margin-bottom: 24px; }

/* Catégorie */
.nl-cat-banniere { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; background: var(--vert-clair); margin: 24px 0 40px; min-height: 300px; }
.nl-cat-banniere__texte { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.nl-cat-banniere h1 { font-size: 64px; line-height: 70px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.nl-cat-banniere p { color: var(--nuit); max-width: 520px; margin: 0; }
.nl-cat-banniere__image img { width: 100%; height: 100%; object-fit: cover; }
.nl-cat { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; padding-bottom: 72px; }
.nl-filtres h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 18px; }
.nl-filtres fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.nl-filtres legend { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--vert-texte); margin-bottom: 8px; padding: 0; }
.nl-filtres .nl-case { padding: 6px 0; font-size: 17px; color: var(--nuit); }
.nl-filtres .nl-case input { width: 20px; height: 20px; border-radius: 4px; }
.nl-cat__barre { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.nl-cat__compte { font-size: 15px; font-weight: 600; }
.nl-cat__actifs { margin-bottom: 20px; }
.nl-cat__actifs .nl-puce { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.nl-cat__associes { margin-top: 48px; }
.nl-cat__associes h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 20px; }

/* Fiche produit */
.nl-produit { padding: 24px 0 64px; }
.nl-produit__haut { display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 72px; align-items: start; }
.nl-produit__image { border-radius: 28px; overflow: hidden; background: #fff; aspect-ratio: 720 / 560; border: 1px solid var(--gris-clair); }
.nl-produit__image img { width: 100%; height: 100%; object-fit: contain; }
.nl-produit__vignettes { display: flex; gap: 12px; margin-top: 12px; }
.nl-produit__vignettes button { width: 170px; height: 128px; padding: 0; border-radius: 16px; overflow: hidden; border: 2px solid transparent; background: #fff; cursor: pointer; }
.nl-produit__vignettes button[aria-current="true"] { border-color: var(--nuit); }
.nl-produit__vignettes img { width: 100%; height: 100%; object-fit: cover; }
.nl-produit__infos h1 { font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -1px; margin: 0 0 16px; }
.nl-produit__desc { color: var(--gris-texte); }
.nl-produit__prix { font-size: 30px; line-height: 38px; font-weight: 700; margin: 8px 0 12px; }
.nl-produit__prix del { font-size: 20px; color: var(--gris-texte); font-weight: 500; }
.nl-produit__prix ins { text-decoration: none; }
.nl-produit__constat { font-size: 13px; line-height: 18px; color: var(--gris-texte); padding-bottom: 16px; border-bottom: 1px solid var(--gris); margin-bottom: 16px; }
.nl-produit form.cart { display: grid; gap: 16px; margin: 0 0 12px; }
.nl-produit .quantity { display: flex; align-items: center; gap: 16px; }
.nl-produit .nl-produit__question { width: 100%; }
.nl-produit .single_add_to_cart_button { width: 100%; }
.nl-produit__test { margin-top: 12px; background: var(--vert-clair); border-radius: 16px; padding: 18px 20px; font-size: 13px; line-height: 20px; }
.nl-produit__test strong { display: block; font-size: 15px; margin-bottom: 4px; }
.nl-produit__indispo { padding: 16px 20px; border-radius: 16px; background: var(--gris-clair); font-size: 15px; margin-bottom: 12px; }
.nl-carac { margin-top: 64px; }
.nl-carac h2 { margin-bottom: 20px; }
.nl-carac table { border-top: 0; }
.nl-carac th, .nl-carac td { text-align: left; vertical-align: top; padding: 18px 0; border-bottom: 1px solid var(--gris); }
.nl-carac th { width: 33%; font-size: 15px; font-weight: 600; }
.nl-carac td { color: var(--gris-texte); }
.nl-carac td a { color: var(--vert-texte); }
.nl-produit__encadres { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.nl-produit__associes { margin-top: 64px; }
.nl-produit__associes h2 { margin-bottom: 24px; }

/* Sélecteur de quantité */
.nl-qte { display: inline-flex; align-items: center; height: 52px; border: 1.5px solid var(--bord); border-radius: 999px; padding: 0 6px; background: #fff; }
.nl-qte button { width: 40px; height: 40px; border: 0; background: transparent; border-radius: 999px; font-size: 18px; font-weight: 600; cursor: pointer; color: var(--nuit); }
.nl-qte button:hover { background: var(--gris-clair); }
.nl-qte input.qty, .nl-qte input[type=number] { width: 44px; min-height: 0; height: 40px; border: 0; padding: 0; text-align: center; font-size: 15px; font-weight: 600; -moz-appearance: textfield; background: transparent; }
.nl-qte input::-webkit-outer-spin-button, .nl-qte input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nl-qte input:focus { outline: none; }
.nl-qte:focus-within { outline: 3px solid var(--vert); outline-offset: 1px; }
.nl-qte--petit { height: 44px; }
.nl-qte--petit button { width: 34px; height: 34px; }

/* =========================================================================
   10. Panier, commande, confirmation, compte
   ====================================================================== */
.nl-wc-page { padding: 40px 0 80px; }
.nl-wc-page h1 { margin-bottom: 8px; }
.nl-wc-sous { color: var(--gris-texte); margin-bottom: 40px; }
.nl-panier { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; }
.nl-panier__ligne { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--gris); }
.nl-panier__ligne:first-child { padding-top: 0; }
.nl-panier__image { width: 140px; height: 140px; border-radius: 16px; overflow: hidden; background: #fff; }
.nl-panier__image img { width: 100%; height: 100%; object-fit: contain; }
.nl-panier__titre { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0 0 6px; }
.nl-panier__titre a { text-decoration: none; }
.nl-panier__ref { font-size: 13px; color: var(--gris-texte); margin-bottom: 12px; }
.nl-panier__actions { display: flex; align-items: center; gap: 20px; }
.nl-panier__retirer { font-size: 15px; font-weight: 600; color: var(--vert-texte); text-decoration: none; }
.nl-panier__retirer:hover { text-decoration: underline; }
.nl-panier__prix { font-size: 20px; font-weight: 600; white-space: nowrap; }
.nl-recap { background: var(--gris-clair); border-radius: 24px; padding: 28px; }
.nl-recap h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 20px; }
.nl-recap__ligne { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: var(--gris-texte); }
.nl-recap__ligne strong { color: var(--nuit); font-size: 15px; font-weight: 600; text-align: right; }
.nl-recap__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; margin: 18px 0 20px; border-top: 1px solid var(--gris); font-weight: 600; font-size: 15px; }
.nl-recap__total strong { font-size: 20px; }
.nl-recap .nl-bouton { width: 100%; }
.nl-recap__note { font-size: 13px; line-height: 18px; color: var(--gris-texte); margin: 16px 0 0; }
.nl-recap .woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; text-align: right; }
.nl-panier-vide { text-align: center; padding: 56px 24px; border: 1px solid var(--gris); border-radius: 24px; }
.nl-panier-vide h2 { margin-bottom: 12px; }
.nl-panier-vide p { color: var(--gris-texte); }

/* Commande */
.nl-etapes { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 32px; list-style: none; padding: 0; }
.nl-etapes li { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--bord); font-size: 15px; font-weight: 600; }
.nl-etapes li span { color: var(--vert-texte); }
.nl-etapes li.est-fait { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.nl-etapes li.est-fait span { color: var(--vert); }
.nl-commande { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; }
.nl-commande h2.nl-bloc-titre { font-size: 20px; line-height: 28px; font-weight: 600; margin: 8px 0 16px; }
.nl-commande .form-row { margin: 0 0 20px; padding: 0; }
.nl-commande .form-row-first, .nl-commande .form-row-last { width: calc(50% - 10px); float: left; }
.nl-commande .form-row-last { margin-left: 20px; }
.nl-commande .form-row-wide { clear: both; }
.nl-commande .woocommerce-billing-fields__field-wrapper::after, .nl-champs-groupe::after { content: ""; display: table; clear: both; }
.nl-commande .required { color: var(--nuit); text-decoration: none; border: 0; }
.nl-commande .optional { font-weight: 400; color: var(--gris-texte); }
.woocommerce-checkout #payment, .woocommerce-checkout #payment.woocommerce-checkout-payment { background: transparent; border-radius: 0; }
#payment ul.payment_methods { list-style: none; margin: 0 0 20px; padding: 0; border: 0; }
#payment ul.payment_methods > li { margin: 0; }
#payment ul.payment_methods > li > input, #payment ul.payment_methods > li > label { display: none; }
#payment ul.payment_methods > li:only-child > label { display: none; }
#payment div.payment_box { background: var(--vert-clair) !important; border-radius: 16px; padding: 20px 24px; margin: 0; color: var(--nuit); font-size: 15px; }
#payment div.payment_box::before { display: none; }
#payment div.form-row.place-order { padding: 0; margin: 24px 0 0; }
.nl-test-box h3 { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.nl-test-box p { font-size: 13px; line-height: 20px; color: var(--nuit); margin: 0 0 16px; }
.nl-test-box .nl-champs-3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.nl-test-box label { font-size: 15px; margin-bottom: 6px; }
.nl-test-box input { background: #fff; }
.nl-test-box .nl-aide { color: var(--nuit); }
.nl-test-cartes { font-size: 13px; line-height: 20px; margin-top: 12px; }
.nl-test-cartes code { background: #fff; padding: 2px 6px; border-radius: 6px; font-size: 13px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 14px; color: var(--gris-texte); margin-bottom: 16px; }
.woocommerce-privacy-policy-text p { font-size: 13px; line-height: 18px; color: var(--gris-texte); }
#place_order { min-width: 240px; }
.nl-resume-commande { background: var(--gris-clair); border-radius: 24px; padding: 28px; position: sticky; top: 120px; }
.nl-resume-commande h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 20px; }
.nl-resume-commande__article { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; margin-bottom: 14px; font-size: 13px; line-height: 18px; }
.nl-resume-commande__article img { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: #fff; }
.nl-resume-commande__article strong { font-size: 15px; white-space: nowrap; }
.nl-resume-commande .nl-recap__ligne:first-of-type { padding-top: 16px; border-top: 1px solid var(--gris); }
.nl-resume-commande .woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; }
.nl-resume-commande .woocommerce-shipping-methods label { display: inline; font-weight: 600; font-size: 15px; margin: 0; }

/* Notices WooCommerce */
.woocommerce-error, .woocommerce-message, .woocommerce-info, .woocommerce-NoticeGroup .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 24px; padding: 18px 20px; border-radius: 16px; font-size: 15px; line-height: 22px; background: #fff; border: 1.5px solid var(--gris); color: var(--nuit);
}
.woocommerce-error { border-color: var(--erreur); }
.woocommerce-error::before { content: "Des informations sont à corriger"; display: block; color: var(--erreur); font-weight: 600; margin-bottom: 4px; }
.woocommerce-error li { font-size: 14px; }
.woocommerce-error a { color: var(--nuit); }
.woocommerce-message, .woocommerce-info { background: var(--vert-clair); border-color: var(--vert-clair); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 44px; padding: 10px 18px; order: 2; background: var(--nuit); color: #fff; border-color: var(--nuit); }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce form .form-row .input-text::placeholder { color: #8b949c; }
.woocommerce-form__label-for-checkbox { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.woocommerce form .password-input { position: relative; display: block; }
.woocommerce form .show-password-input { position: absolute; right: 16px; top: 16px; border: 0; background: transparent; cursor: pointer; }
.woocommerce form .show-password-input::after { content: "Afficher"; font-size: 13px; color: var(--gris-texte); }

/* Confirmation */
.nl-merci { text-align: center; padding: 72px 0 80px; }
.nl-merci svg { width: 52px; height: 52px; margin: 0 auto 20px; }
.nl-merci h1 { margin-bottom: 14px; }
.nl-merci > .nl-conteneur > p { color: var(--gris-texte); }
.nl-merci .nl-recap { max-width: 640px; margin: 24px auto 24px; text-align: left; }
.nl-merci .nl-boutons { justify-content: center; }

/* Mon compte */
.nl-compte { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; padding: 48px 0 80px; }
.nl-compte__bonjour { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 12px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--nuit); }
.woocommerce-MyAccount-navigation a:hover { background: var(--gris-clair); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--nuit); color: #fff; }
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { font-size: 30px; line-height: 38px; margin: 0 0 16px; }
.nl-compte__titre { font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -1px; margin-bottom: 24px; }
.woocommerce-orders-table, .woocommerce-table--order-details, .shop_table.order_details, .woocommerce-MyAccount-content table.shop_table {
	width: 100%; border: 1px solid var(--gris); border-radius: 20px; border-collapse: separate; border-spacing: 0; overflow: hidden; margin-bottom: 24px; font-size: 15px;
}
.woocommerce-MyAccount-content table th, .woocommerce-MyAccount-content table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--gris); }
.woocommerce-MyAccount-content table thead th { background: var(--gris-clair); font-weight: 600; font-size: 15px; }
.woocommerce-MyAccount-content table tr:last-child td, .woocommerce-MyAccount-content table tr:last-child th { border-bottom: 0; }
.woocommerce-orders-table .button { min-height: 0; padding: 0; background: none; border: 0; color: var(--vert-texte); font-size: 14px; }
.woocommerce-orders-table .button::after { content: " →"; }
.nl-statut-failed { color: var(--erreur); }
.nl-note-equipe { background: var(--vert-clair); border-radius: 16px; padding: 18px 20px; font-size: 13px; line-height: 20px; margin-top: 16px; }
.nl-note-equipe strong { display: block; font-size: 15px; margin-bottom: 4px; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-Address { background: var(--gris-clair); border-radius: 20px; padding: 24px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; }
.woocommerce-Address-title h2 { font-size: 20px !important; line-height: 28px !important; }
.woocommerce-Address address { font-style: normal; color: var(--gris-texte); }
.nl-connexion { padding: 48px 0 80px; }
.nl-connexion__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.nl-connexion .nl-encadre { padding: 32px; }
.nl-connexion h2 { font-size: 30px; line-height: 38px; margin-bottom: 20px; }
.nl-connexion .form-row { margin-bottom: 18px; }
.nl-connexion .woocommerce-form-login__rememberme { margin-bottom: 12px; }
.nl-connexion .lost_password a { font-size: 14px; color: var(--gris-texte); }
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row, .woocommerce-address-fields .form-row { margin-bottom: 18px; }
.woocommerce-MyAccount-content fieldset { border: 1px solid var(--gris); border-radius: 16px; padding: 20px; margin: 24px 0; }

/* =========================================================================
   11. Conseils et articles
   ====================================================================== */
.nl-conseils-hero { padding: 56px 0 24px; }
.nl-conseils-hero h1 { font-size: 64px; line-height: 70px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.nl-rubriques { display: flex; gap: 32px; border-bottom: 1px solid var(--gris); margin: 32px 0 40px; overflow-x: auto; list-style: none; padding: 0; }
.nl-rubriques a { display: inline-block; padding: 12px 0; font-size: 15px; color: var(--gris-texte); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.nl-rubriques a:hover { color: var(--nuit); }
.nl-rubriques a[aria-current="page"] { color: var(--nuit); font-weight: 600; border-bottom-color: var(--vert); }
.nl-articles-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 24px; padding-bottom: 80px; }
.nl-pagination { display: flex; justify-content: center; gap: 8px; padding-bottom: 80px; }
.nl-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--bord); text-decoration: none; font-weight: 600; }
.nl-pagination .current { background: var(--nuit); color: #fff; border-color: var(--nuit); }

.nl-article { padding: 32px 0 72px; }
.nl-article__colonnes { display: grid; grid-template-columns: minmax(0, 760px) 360px; justify-content: space-between; gap: 64px; align-items: start; }
.nl-article__titre { font-size: 44px; line-height: 52px; font-weight: 700; letter-spacing: -1px; margin-bottom: 20px; }
.nl-auteur { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--gris); margin-bottom: 20px; font-size: 14px; color: var(--gris-texte); }
.nl-auteur__avatar { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--vert-clair); color: var(--vert-texte); font-size: 13px; font-weight: 700; flex: none; overflow: hidden; }
.nl-auteur__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nl-article__image { margin: 0 0 40px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; }
.nl-article__image img { width: 100%; height: 100%; object-fit: cover; }
.nl-prose { font-size: 18px; line-height: 31px; }
.nl-prose > * { margin: 0 0 20px; }
.nl-prose > .nl-chapo, .nl-prose .nl-chapo { font-size: 21px; line-height: 34px; color: var(--nuit); }
.nl-prose h2 { font-size: 30px; line-height: 38px; font-weight: 700; letter-spacing: -.5px; margin: 40px 0 16px; scroll-margin-top: 120px; }
.nl-prose h3 { font-size: 20px; line-height: 28px; font-weight: 600; margin: 28px 0 10px; }
.nl-prose ul, .nl-prose ol { padding-left: 24px; }
.nl-prose li { margin-bottom: 6px; }
.nl-prose a { color: var(--vert-texte); }
.nl-prose figure { margin: 32px 0; }
.nl-prose figure img { width: 100%; border-radius: 16px; aspect-ratio: 16 / 9; object-fit: cover; }
.nl-prose figcaption, .nl-prose .wp-element-caption { font-size: 13px; line-height: 18px; color: var(--gris-texte); margin-top: 10px; text-align: left; }
.nl-prose .wp-block-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0; }
.nl-prose .wp-block-gallery figure.wp-block-image { margin: 0; width: auto !important; }
.nl-prose .wp-block-gallery figure.wp-block-image img { aspect-ratio: 245 / 300; height: 100%; }
.nl-prose .wp-block-gallery > figcaption { grid-column: 1 / -1; margin-top: 0; }
.nl-prose blockquote, .nl-prose .wp-block-pullquote, .nl-citation { margin: 40px 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--vert); font-size: 24px; line-height: 34px; font-weight: 600; color: var(--nuit); }
.nl-prose blockquote p { margin: 0; }
.nl-prose blockquote cite { display: block; font-size: 14px; font-weight: 400; color: var(--gris-texte); margin-top: 8px; font-style: normal; }
.nl-note-m2 { background: var(--gris-clair); border-radius: 16px; padding: 20px 24px; margin-top: 40px !important; }
.nl-note-m2 > * { margin: 0 !important; }
.nl-note-m2 h3, .nl-note-m2 .nl-note-m2__titre { font-size: 15px !important; line-height: 20px; font-weight: 600; margin: 0 0 6px !important; }
.nl-note-m2 p { font-size: 14px; line-height: 22px; color: var(--gris-texte); }
.nl-etape { display: grid; grid-template-columns: 44px 1fr; gap: 6px 20px; margin: 28px 0 !important; counter-increment: nl-etape; }
.nl-prose { counter-reset: nl-etape; }
.nl-etape::before { content: counter(nl-etape); grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--vert-clair); color: var(--vert-texte); font-weight: 700; font-size: 20px; }
.nl-etape > * { grid-column: 2; margin: 0 !important; }
.nl-etape h2 { font-size: 20px !important; line-height: 28px !important; font-weight: 600 !important; letter-spacing: 0 !important; margin-top: 8px !important; }
.nl-etape p { font-size: 17px; line-height: 28px; color: var(--gris-texte); }
.nl-video { position: relative; border-radius: 16px; overflow: hidden; margin: 0 0 32px !important; }
.nl-video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0 !important; filter: brightness(.82); }
.nl-video__lecture { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%); width: 76px; height: 76px; border-radius: 999px; background: #fff; display: grid; place-items: center; box-shadow: var(--ombre); }
.nl-video__lecture svg { width: 28px; height: 28px; margin-left: 4px; }
.nl-video__barre { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px; background: rgba(35, 50, 64, .85); color: #fff; font-size: 13px; }
.nl-video figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 !important; padding: 14px 20px; background: rgba(35, 50, 64, .85); color: #fff !important; }
.nl-transcription { background: var(--gris-clair); border-radius: 16px; padding: 24px 28px; }
.nl-transcription > * { margin: 0 0 10px; }
.nl-article__produits { margin-top: 56px; }
.nl-article__produits h2 { margin-bottom: 24px; }
.nl-cote { display: grid; gap: 24px; position: sticky; top: 120px; }
.nl-sommaire { background: var(--gris-clair); border-radius: 20px; padding: 24px; }
.nl-sommaire ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.nl-sommaire a { display: grid; grid-template-columns: 30px 1fr; font-size: 14px; line-height: 20px; text-decoration: none; color: var(--nuit); }
.nl-sommaire a span { font-size: 15px; font-weight: 600; color: var(--vert-texte); }
.nl-sommaire a:hover { color: var(--vert-texte); }
.nl-sommaire a.est-actif { font-weight: 600; }
.nl-lire-aussi h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 14px; }
.nl-lire-aussi ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.nl-lire-aussi a { display: grid; grid-template-columns: 104px 1fr; gap: 14px; text-decoration: none; color: var(--nuit); font-size: 14px; line-height: 20px; }
.nl-lire-aussi img { width: 104px; height: 78px; border-radius: 10px; object-fit: cover; }
.nl-lire-aussi .nl-surtitre { margin: 0 0 2px; }
.nl-lire-aussi a:hover strong { text-decoration: underline; }
.nl-lire-aussi strong { font-weight: 500; }
.nl-appel-nuit { background: var(--nuit); color: #fff; border-radius: 20px; padding: 28px; }
.nl-appel-nuit .nl-surtitre { color: var(--vert); }
.nl-appel-nuit h2 { color: #fff; font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 12px; }
.nl-appel-nuit p { font-size: 14px; line-height: 20px; color: #e8edf1; margin-bottom: 20px; }

/* =========================================================================
   12. Pages
   ====================================================================== */
.nl-page { padding: 48px 0 80px; }
.nl-page__titre { margin-bottom: 16px; }
.nl-page .nl-prose { max-width: 860px; }
.nl-apropos-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 56px 0 72px; }
.nl-apropos-hero h1 { font-size: 64px; line-height: 70px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 20px; }
.nl-apropos-hero p { color: var(--gris-texte); }
.nl-apropos-hero__image { border-radius: 24px; overflow: hidden; aspect-ratio: 600 / 440; }
.nl-apropos-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.nl-equipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; align-items: start; }
.nl-membre { border: 1px solid var(--gris); border-radius: 20px; padding: 24px; }
.nl-membre__initiales { width: 64px; height: 64px; border-radius: 999px; display: grid; place-items: center; background: var(--vert-clair); color: var(--vert-texte); font-size: 20px; font-weight: 600; margin-bottom: 18px; overflow: hidden; }
.nl-membre__initiales img { width: 100%; height: 100%; object-fit: cover; }
.nl-membre__nom { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.nl-membre__role { font-size: 13px; font-weight: 700; color: var(--vert-texte); text-transform: uppercase; letter-spacing: .3px; margin: 0 0 10px; }
.nl-membre p:last-child { font-size: 14px; line-height: 20px; color: var(--gris-texte); margin: 0; }
.nl-appel-section { padding: 72px 0; text-align: center; }
.nl-appel-section h2 { margin-bottom: 12px; }
.nl-appel-section p { margin-bottom: 24px; }
.nl-section--nuit.nl-appel-section p { color: #e8edf1; }

.nl-contact { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 72px; align-items: start; padding: 48px 0 80px; }
.nl-contact .nl-intro { margin-bottom: 24px; }
.nl-contact__cote { display: grid; gap: 16px; }
.nl-contact__cote .nl-encadre { padding: 22px 24px; }
.nl-contact__cote p { font-size: 14px; line-height: 20px; }
.nl-contact fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.nl-contact legend { font-size: 15px; font-weight: 600; margin-bottom: 10px; padding: 0; }

.nl-faq-hero { text-align: center; padding: 56px 0 40px; }
.nl-faq-hero h1 { font-size: 64px; line-height: 70px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 12px; }
.nl-faq-hero p { color: var(--gris-texte); }
.nl-faq-hero .nl-puces { justify-content: center; margin-top: 20px; }
.nl-faq { max-width: 880px; margin: 0 auto; padding-bottom: 72px; display: grid; gap: 12px; }
.nl-faq details, .nl-faq .wp-block-details { border: 1px solid var(--gris); border-radius: 20px; padding: 0; background: #fff; margin: 0; }
.nl-faq details[open] { background: var(--gris-clair); border-color: var(--gris-clair); }
.nl-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px; font-size: 20px; line-height: 28px; font-weight: 600; cursor: pointer; }
.nl-faq summary::-webkit-details-marker { display: none; }
.nl-faq summary::after { content: "+"; font-size: 28px; font-weight: 600; color: var(--vert-texte); line-height: 1; }
.nl-faq details[open] summary::after { content: "–"; }
.nl-faq details > :not(summary) { padding: 0 24px; margin: -8px 0 24px; color: var(--gris-texte); }
.nl-faq [hidden] { display: none; }

.nl-legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; padding: 48px 0 80px; }
.nl-legal__nav .nl-surtitre { margin-bottom: 10px; }
.nl-legal__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nl-legal__nav a { display: block; padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--nuit); }
.nl-legal__nav a:hover { background: var(--gris-clair); }
.nl-legal__nav a[aria-current="page"] { background: var(--vert-clair); }
.nl-legal__maj { font-size: 13px; color: var(--gris-texte); margin: 4px 0 24px; }
.nl-legal .nl-prose { font-size: 17px; line-height: 28px; max-width: 860px; }
.nl-legal .nl-prose h2 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: 0; margin: 28px 0 10px; }
.nl-legal .nl-prose p, .nl-legal .nl-prose li { color: var(--gris-texte); }

.nl-404 { text-align: center; padding: 96px 0; }

/* Blocs WordPress génériques */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-image img { border-radius: 16px; }
.alignwide { max-width: var(--largeur); }
.has-text-align-center { text-align: center; }

/* =========================================================================
   13. Responsive
   ====================================================================== */
@media (max-width: 1200px) {
	.nl-entete__ligne { gap: 20px; }
	.nl-pilule__texte { display: none; }
	.nl-produits, .nl-logements-grille, .nl-categories, .nl-grille-4 { grid-template-columns: repeat(3, 1fr); }
	.nl-equipe { grid-template-columns: repeat(3, 1fr); }
	.nl-article__colonnes { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
	.nl-produit__haut { gap: 40px; grid-template-columns: 1fr 1fr; }
	.nl-fiche__colonnes { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
}
@media (max-width: 960px) {
	.nl-hero-titre, .nl-boutique-hero h1, .nl-conseils-hero h1, .nl-faq-hero h1, .nl-cat-banniere h1, .nl-apropos-hero h1 { font-size: 44px; line-height: 50px; letter-spacing: -1px; }
	.nl-h1, .nl-page-titre, .nl-article__titre, .nl-produit__infos h1, .nl-vitrine h2, .nl-compte__titre { font-size: 34px; line-height: 42px; }
	.nl-besoins, .nl-grille-3 { grid-template-columns: 1fr 1fr; }
	.nl-produits, .nl-logements-grille, .nl-categories, .nl-grille-4, .nl-produits--3, .nl-articles-grille { grid-template-columns: 1fr 1fr; }
	.nl-blocs-vitrine, .nl-produit__haut, .nl-produit__encadres, .nl-fiche__colonnes, .nl-article__colonnes, .nl-panier, .nl-commande, .nl-contact, .nl-apropos-hero, .nl-cat-banniere, .nl-connexion__grille, .nl-legal, .nl-compte, .nl-cat { grid-template-columns: 1fr; }
	.nl-cote, .nl-contact-carte, .nl-resume-commande { position: static; }
	.nl-boutique-hero { flex-direction: column; align-items: flex-start; }
	.nl-pied__colonnes { grid-template-columns: 1fr 1fr; }
	.nl-cat-banniere__image { max-height: 260px; }
	.nl-filtres { border: 1px solid var(--gris); border-radius: 20px; padding: 20px; }
}
@media (max-width: 782px) {
	.admin-bar .nl-entete { top: 0; }
}
@media (max-width: 720px) {
	:root { --marge: 20px; }
	body { padding-bottom: 76px; }
	.nl-entete__ligne { min-height: 68px; gap: 12px; }
	.nl-nav { display: none; }
	.nl-entete__actions { margin-left: auto; }
	.nl-entete__actions .nl-pilule--compte, .nl-langues, .nl-pilule--langue { display: none; }
	.nl-onglets { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--gris); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
	.nl-onglets a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; font-size: 11px; line-height: 14px; font-weight: 600; text-decoration: none; color: var(--gris-texte); border-radius: 12px; }
	.nl-onglets a svg { width: 24px; height: 24px; }
	.nl-onglets a[aria-current="page"] { color: var(--nuit); }
	.nl-onglets a[aria-current="page"] svg { color: var(--vert-texte); }
	.nl-section { padding: 44px 0; }
	.nl-hero-titre, .nl-boutique-hero h1, .nl-conseils-hero h1, .nl-faq-hero h1, .nl-cat-banniere h1, .nl-apropos-hero h1 { font-size: 36px; line-height: 42px; }
	.nl-h2, .nl-fiche__resume, .nl-boutique-hero__sous { font-size: 24px; line-height: 32px; }
	.nl-accueil-hero { padding: 36px 0 12px; }
	.nl-recherche { flex-direction: column; align-items: stretch; border-radius: 24px; padding: 8px; }
	.nl-recherche__seg { padding: 10px 14px; }
	.nl-recherche__seg + .nl-recherche__seg::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; }
	.nl-recherche .nl-bouton { width: 100%; margin-top: 6px; }
	.nl-accueil-photo { aspect-ratio: 4 / 3; border-radius: 20px; }
	.nl-besoins, .nl-grille-3, .nl-equipe, .nl-champs-2 { grid-template-columns: 1fr; }
	.nl-logements-grille, .nl-articles-grille { grid-template-columns: 1fr; }
	.nl-produits, .nl-produits--3, .nl-categories, .nl-grille-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.nl-carte-produit { padding: 12px 12px 18px; border-radius: 18px; }
	.nl-carte-produit__titre { font-size: 15px; line-height: 21px; }
	.nl-entete-section { flex-direction: column; align-items: flex-start; }
	.nl-galerie { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px 110px; }
	.nl-galerie a:first-child { grid-column: 1 / 3; grid-row: 1; }
	.nl-galerie a:nth-child(n+4) { display: none; }
	.nl-galerie a:nth-child(2), .nl-galerie a:nth-child(3) { grid-row: 2 / 4; }
	.nl-acces li { grid-template-columns: 22px 1fr; }
	.nl-acces .nl-etiquette { grid-column: 2; justify-self: start; }
	.nl-panier__ligne { grid-template-columns: 88px 1fr; }
	.nl-panier__image { width: 88px; height: 88px; }
	.nl-panier__prix { grid-column: 2; }
	.nl-commande .form-row-first, .nl-commande .form-row-last { width: 100%; float: none; margin-left: 0; }
	.nl-test-box .nl-champs-3 { grid-template-columns: 1fr 1fr; }
	.nl-test-box .nl-champs-3 > :first-child { grid-column: 1 / -1; }
	.nl-vitrine { padding: 28px 24px 0; }
	.nl-cat-banniere__texte { padding: 28px; }
	.nl-pied__colonnes { grid-template-columns: 1fr; }
	.nl-produit__vignettes button { width: 110px; height: 84px; }
	.woocommerce-Addresses { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-content table { font-size: 14px; }
	.woocommerce-MyAccount-content table th, .woocommerce-MyAccount-content table td { padding: 12px; }
	.nl-prose .wp-block-gallery { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
}

/* Impression */
@media print {
	.nl-entete, .nl-pied, .nl-onglets, .nl-cote { display: none !important; }
}

/* =========================================================================
   14. Ajustements d'intégration (v2)
   ====================================================================== */
.nl-menu a, .nl-pilule { white-space: nowrap; }
.nl-logo img, .custom-logo { height: 52px; }
.nl-pied p.nl-pied__mention { max-width: none; }
.nl-js .nl-js-cache { display: none !important; }
.nl-grille-3 > *, .nl-grille-4 > *, .nl-equipe > *, .nl-besoins > *, .nl-produits > *, .nl-categories > * { margin: 0; }
.nl-section--nuit .nl-carte-produit__titre, .nl-section--nuit .nl-carte-produit__titre a { color: var(--nuit); }
/* Ces blocs sont aussi des .nl-conteneur : on ne touche qu'aux marges verticales. */
.nl-logements-entete { padding: 24px var(--marge) 8px; }
.nl-contact, .nl-legal { padding: 48px var(--marge) 80px; }
.nl-compte { padding: 48px 0 80px; }
fieldset { min-width: 0; }
.nl-apropos-hero h1 { font-size: 56px; line-height: 62px; }
.nl-marge-titre { margin-bottom: 28px; }
.nl-page-blocs .nl-section > .nl-conteneur > .nl-h2 { margin-bottom: 28px; }
.nl-appel-section .wp-block-buttons { justify-content: center; }
.nl-equipe__note { margin-top: 20px; }
.nl-membre > p { margin: 0; }
.nl-contact__cote .nl-encadre h3 { font-size: 20px; line-height: 28px; }
.nl-contact__cote .nl-encadre p a { color: var(--vert-texte); }
/* Commande : les messages d'erreur occupent toute la largeur, le pays (France seule) est masqué. */
.nl-commande > .woocommerce-NoticeGroup, .nl-commande > .woocommerce-error { grid-column: 1 / -1; }
#billing_country_field { display: none !important; }
.nl-commande .form-row .description { display: block; }
.nl-resume-livraison { width: 100%; margin: 0 0 12px; }
.nl-resume-livraison th, .nl-resume-livraison td { padding: 0; font-weight: 400; text-align: left; color: var(--gris-texte); vertical-align: top; }
.nl-resume-livraison td { text-align: right; color: var(--nuit); font-weight: 600; font-size: 15px; }
.nl-resume-livraison ul { list-style: none; margin: 0; padding: 0; }
.nl-resume-livraison label { display: inline; margin: 0; font-weight: 600; }
.nl-commande h2.nl-bloc-titre:first-child { margin-top: 0; }
.nl-test-box .form-row { margin: 0 !important; }
.nl-panier__maj { padding-top: 16px; }
@media (max-width: 720px) {
	.nl-bande-boutique .nl-carte-produit__titre { font-size: 15px; line-height: 21px; }
	.nl-contact-carte__prix { font-size: 34px; line-height: 42px; }
	.nl-apropos-hero h1 { font-size: 36px; line-height: 42px; }
	.nl-equipe { grid-template-columns: 1fr 1fr; }
}
.nl-prose .blocks-gallery-caption { text-align: left; }
