/* =========================================================================
   Windows Neutre : CSS PAR SECTION (à modifier librement)
   -------------------------------------------------------------------------
   Chaque section du site a sa propre classe « vn-s-… ». Modifiez les valeurs
   ci-dessous, ou copiez un bloc dans Apparence → Personnaliser → CSS additionnel
   (recommandé : il survit aux mises à jour du thème).
   Pour une seule section d'une page : sélectionnez le bloc, onglet Avancé →
   « Classe(s) CSS additionnelle(s) », et ajoutez un utilitaire (voir la fin du fichier).
   ========================================================================= */

:root { --header-h: 79px; } /* hauteur de l'en-tête, utilisée par les sections plein écran */

/* ACCUEIL · Hero : plein écran sous l'en-tête */
.vn-s-hero, .vn-hero {
	min-height: calc(100vh - var(--header-h));
	min-height: calc(100svh - var(--header-h));
	display: flex; align-items: center;
	background-color: var(--bg-alt);
	/* background-image: url("…"); background-size: cover; background-position: center; */
}
.vn-s-hero > .vn-inner, .vn-hero > .vn-inner { width: min(100% - 2rem, var(--wide)); }

/* ACCUEIL · Trois atouts */
.vn-s-atouts { /* min-height: 100svh; display: flex; align-items: center; background-color: #fff; */ }

/* ACCUEIL · Services (liste numérotée) */
.vn-s-services { /* min-height: 100svh; display: flex; align-items: center; */ }

/* ACCUEIL · Métiers accompagnés */
.vn-s-metiers { /* text-align: center; */ }

/* ACCUEIL et RÉALISATIONS · Mur de logos clients (5 colonnes ordinateur, 3 tablette, 2 téléphone : voir .vn-logos dans style.css) */
.vn-s-clients { /* background-color: var(--bg-alt); */ }
.vn-s-clients .vn-logos { /* grid-template-columns: repeat(4, 1fr); */ }
.vn-s-clients .vn-logo img { /* filter: none; opacity: 1;  pour afficher les logos en couleur en permanence */ }

/* ACCUEIL · Réalisations (cartes, non utilisé par défaut) */
.vn-s-realisations { /* background-color: var(--bg-alt); */ }

/* ACCUEIL · Méthode en 3 étapes (bande sombre) */
.vn-s-methode { /* background-color: #1b2a45; min-height: 70svh; display: flex; align-items: center; */ }

/* ACCUEIL et pages · Appel à l'action final */
.vn-s-contact { /* min-height: 60svh; display: flex; align-items: center; */ }

/* PAGES · Bandeau de titre en haut de chaque page */
.vn-s-entete { /* min-height: 40svh; display: flex; align-items: center; */ }

/* SERVICES & OFFRES */
.vn-s-offres { /* background-color: #fff; */ }
.vn-s-services-carte { }
.vn-s-arguments { }
.vn-s-technologies { }

/* HÉBERGEMENT */
.vn-s-hebergement-formules { }
.vn-s-hebergement-comparatif { }

/* MODULES · RÉALISATIONS (liste) · CONTACT (cartes) */
.vn-s-modules-liste { }
.vn-s-realisations-liste { }
.vn-s-coordonnees { }

/* HERO PLEIN ÉCRAN AVEC IMAGE (motif « Hero plein écran ») */
.vn-s-hero-image { background-color: #243655; }

/* =========================================================================
   UTILITAIRES : à ajouter dans « Classe(s) CSS additionnelle(s) » d'un bloc
   ========================================================================= */
.vn-fullscreen { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.vn-fullscreen-nav { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; }
.vn-half { min-height: 50vh; min-height: 50svh; display: flex; flex-direction: column; justify-content: center; }
.vn-top { justify-content: flex-start; }
.vn-text-center { text-align: center; }
.vn-inner-full { width: 100% !important; max-width: none !important; padding-inline: clamp(1rem, 4vw, 3rem); }
.vn-bg-light { background-color: #fff; }
.vn-bg-alt { background-color: var(--bg-alt); }
.vn-bg-brand { background-color: var(--header-bg); color: var(--on-header); }
.vn-bg-brand h1, .vn-bg-brand h2, .vn-bg-brand h3 { color: #fff; }
.vn-round img, img.vn-round { border-radius: 50%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Image de fond : réglez l'image dans l'éditeur (bloc Groupe → Style → Arrière-plan) */
.vn-bg-image { background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; }
.vn-overlay { color: #fff; }
.vn-overlay::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(27, 42, 69, .62); pointer-events: none; }
.vn-hero.vn-overlay::before { width: auto; height: auto; top: 0; right: 0; bottom: 0; left: 0; border-radius: 0; animation: none; }
.vn-hero.vn-overlay::after { display: none; }
.vn-overlay h1, .vn-overlay h2, .vn-overlay h3, .vn-overlay p, .vn-overlay .vn-lead { color: #fff; }
.vn-overlay .vn-eyebrow { color: var(--on-header); }

/* Carte « verre » centrée sur une image (comme un message d'accueil) */
.vn-glass { background: rgba(36, 54, 85, .78); color: #fff; border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.5rem); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.vn-glass h1, .vn-glass h2, .vn-glass p { color: #fff; margin-top: 0; }
.vn-glass .wp-block-button__link { background: var(--on-header); color: var(--header-bg); }
