/*
Theme Name: New Logistics Theme
Theme URI: https://blancbleucdg.com/
Author: Blanc Bleu Forwarding
Author URI: https://blancbleucdg.com/
Description: Thème WordPress sur mesure pour Blanc Bleu Forwarding : logistique internationale et dédouanement au cœur de l'aéroport Paris-Charles de Gaulle. Design B2B moderne construit avec Tailwind CSS, contenus 100 % modifiables depuis le tableau de bord.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: new-logistics-theme
Tags: business, custom-logo, custom-menu, featured-images, translation-ready
*/

/*
 * Tailwind CSS est chargé via le CDN officiel dans header.php
 * (<script src="https://cdn.tailwindcss.com"></script>).
 * Ce fichier ne garde que le strict nécessaire : polices, menu WordPress,
 * animations et petits ajustements que les utilitaires ne couvrent pas.
 */

:root {
	--nlt-ink: #0a1f33;
	--nlt-ink-deep: #071626;
	--nlt-brand: #0b6bb5;
	--nlt-accent: #f4a026;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* Le header est fixe : on décale les ancres pour ne pas les cacher. */
#services,
#about,
#process,
#contact {
	scroll-margin-top: 120px;
}

/* ------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------ */
#nlt-header {
	transition: box-shadow 0.3s ease;
}

#nlt-header.is-scrolled {
	box-shadow: 0 18px 40px -28px rgba(7, 22, 38, 0.55);
}

.nlt-topbar {
	max-height: 60px;
	overflow: hidden;
	transition: max-height 0.35s ease, opacity 0.35s ease;
}

#nlt-header.is-scrolled .nlt-topbar {
	max-height: 0;
	opacity: 0;
}

body.admin-bar #nlt-header {
	top: 32px !important;
}

@media screen and (max-width: 782px) {
	body.admin-bar #nlt-header {
		top: 46px !important;
	}
}

/* ------------------------------------------------------------------
 * Menus WordPress (classes générées par wp_nav_menu)
 * ------------------------------------------------------------------ */
.nlt-menu,
.nlt-menu-mobile {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nlt-menu li {
	position: relative;
}

.nlt-menu a {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0;
	font-size: 15px;
	font-weight: 500;
	color: #334155;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nlt-menu a:hover,
.nlt-menu a:focus-visible,
.nlt-menu .current-menu-item > a,
.nlt-menu .current_page_item > a {
	color: var(--nlt-brand);
}

.nlt-menu .current-menu-item > a::after,
.nlt-menu .current_page_item > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	border-radius: 2px;
	background: var(--nlt-accent);
}

.nlt-menu-mobile a {
	display: block;
	padding: 0.7rem 0.8rem;
	border-radius: 0.6rem;
	font-size: 1rem;
	font-weight: 500;
	color: #0f172a;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.nlt-menu-mobile a:hover,
.nlt-menu-mobile a:focus-visible {
	background: #f1f5f9;
	color: var(--nlt-brand);
}

body.nlt-menu-open {
	overflow: hidden;
}

/* ------------------------------------------------------------------
 * Contenu éditorial (The Loop / éditeur de blocs)
 * ------------------------------------------------------------------ */
.nlt-prose {
	color: #475569;
	font-size: 1.0625rem;
	line-height: 1.8;
}

.nlt-prose > * + * {
	margin-top: 1.15em;
}

.nlt-prose h2,
.nlt-prose h3 {
	font-family: "Manrope", "Inter", sans-serif;
	color: var(--nlt-ink);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.nlt-prose h2 {
	font-size: 1.75rem;
	line-height: 1.25;
}

.nlt-prose h3 {
	font-size: 1.35rem;
	line-height: 1.3;
}

.nlt-prose a {
	color: var(--nlt-brand);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nlt-prose ul,
.nlt-prose ol {
	padding-left: 1.4rem;
}

.nlt-prose ul {
	list-style: disc;
}

.nlt-prose ol {
	list-style: decimal;
}

.nlt-prose li + li {
	margin-top: 0.4em;
}

.nlt-prose blockquote {
	border-left: 3px solid var(--nlt-accent);
	padding-left: 1.25rem;
	font-style: italic;
	color: #334155;
}

.nlt-prose img {
	border-radius: 1rem;
}

/* ------------------------------------------------------------------
 * Animations d'apparition (désactivées si JS ou mouvement réduit)
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
	html.nlt-js .nlt-reveal {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	}

	html.nlt-js .nlt-reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}

/* ------------------------------------------------------------------
 * Accessibilité
 * ------------------------------------------------------------------ */
:where(a, button):focus-visible {
	outline: 2px solid var(--nlt-accent);
	outline-offset: 3px;
}

::selection {
	background: var(--nlt-accent);
	color: var(--nlt-ink);
}

/* ------------------------------------------------------------------
 * Pages service (dédouanement, transit, transport, entreposage)
 * ------------------------------------------------------------------ */
.nlt-service-content {
	font-size: 1.05rem;
}

.nlt-service-content > p.nlt-lead {
	margin-top: 1.25rem;
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1.75;
	color: #334155;
}

.nlt-service-content h2 {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e2e8f0;
	font-size: 1.9rem;
}

.nlt-service-content h2:first-of-type {
	margin-top: 1rem;
	padding-top: 0;
	border-top: 0;
}

.nlt-service-content h3 {
	margin-top: 2rem;
}

.nlt-service-content .wp-block-image {
	margin: 2rem 0;
}

.nlt-service-content .wp-block-image img {
	width: 100%;
	height: auto;
	border-radius: 1rem;
	box-shadow: 0 24px 50px -30px rgba(7, 22, 38, 0.4);
}

.nlt-service-content .wp-block-image figcaption {
	margin-top: 0.65rem;
	text-align: center;
	font-size: 0.8rem;
	color: #94a3b8;
}

.nlt-service-content .nlt-logo-strip {
	max-width: 340px;
}

.nlt-service-content .nlt-logo-strip img {
	padding: 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	background: #fff;
	box-shadow: none;
}

.nlt-service-content .nlt-timocom {
	margin: 1.5rem 0;
	padding: 1rem 1.25rem;
	border: 1px solid #e2e8f0;
	border-left: 3px solid var(--nlt-accent);
	border-radius: 0.75rem;
	background: #f8fafc;
	font-size: 0.95rem;
}

/* ------------------------------------------------------------------
 * Page Contactez-nous
 * ------------------------------------------------------------------ */
#contact-form,
#locations {
	scroll-margin-top: 120px;
}

.nlt-contact-form .wpcf7 {
	margin: 0;
}

.nlt-contact-form form {
	display: grid;
	gap: 1rem;
}

.nlt-contact-form .wpcf7-form p {
	margin: 0;
}

.nlt-contact-form input[type="text"],
.nlt-contact-form input[type="email"],
.nlt-contact-form input[type="tel"],
.nlt-contact-form input[type="url"],
.nlt-contact-form textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 0.8rem;
	background: #fff;
	color: #0f172a;
	font-size: 0.95rem;
	line-height: 1.5;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nlt-contact-form input::placeholder,
.nlt-contact-form textarea::placeholder {
	color: #94a3b8;
}

.nlt-contact-form input[type="text"]:focus,
.nlt-contact-form input[type="email"]:focus,
.nlt-contact-form input[type="tel"]:focus,
.nlt-contact-form input[type="url"]:focus,
.nlt-contact-form textarea:focus {
	outline: none;
	border-color: var(--nlt-brand);
	box-shadow: 0 0 0 3px rgba(11, 107, 181, 0.12);
}

.nlt-contact-form textarea {
	min-height: 160px;
	resize: vertical;
}

.nlt-contact-form input[type="submit"] {
	justify-self: start;
	padding: 0.9rem 1.6rem;
	border: 0;
	border-radius: 9999px;
	background: var(--nlt-accent);
	color: var(--nlt-ink);
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.nlt-contact-form input[type="submit"]:hover {
	background: var(--nlt-ink);
	color: #fff;
}

.nlt-contact-form .wpcf7-acceptance {
	font-size: 0.82rem;
	line-height: 1.6;
	color: #64748b;
}

.nlt-contact-form .wpcf7-list-item {
	margin-left: 0;
}

.nlt-contact-form .wpcf7-list-item-label {
	cursor: pointer;
}

.nlt-contact-form .wpcf7-not-valid-tip {
	margin-top: 0.35rem;
	color: #dc2626;
	font-size: 0.8rem;
}

.nlt-contact-form .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.9rem 1rem;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	font-size: 0.85rem;
}

.nlt-contact-form .wpcf7-spinner {
	display: none;
}
