/* ===================================================================
   Pro Sono Lumière — design tokens
   Palette pensée comme une scène : fond quasi noir, un accent ambre
   (couleur "gélatine" de projecteur) et un cyan froid en soutien.
   =================================================================== */

:root{
	--bg:        #121214;
	--surface:   #1b1b1f;
	--surface-2: #202024;
	--border:    rgba(255,255,255,.08);
	--text:      #f2f1ed;
	--muted:     #9c9ca3;
	--accent:    #ffb020;
	--accent-ink:#3a2500;
	--accent-2:  #2fd9c6;

	--font-head: 'Oswald', sans-serif;
	--font-body: 'Work Sans', sans-serif;

	--container: 1180px;
	--radius: 4px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: .01em;
	margin: 0;
}

.container{
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

:focus-visible{
	outline: 2px solid var(--accent-2);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
	*{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ===================================================================
   Topbar
   =================================================================== */

.topbar{
	background: #333
	border-bottom: 1px solid var(--border);
	font-size: .85rem;
	color: var(--muted);
}

.topbar-inner{
	max-width: var(--container);
	margin: 0 auto;
	padding: 8px 24px;
	display: flex;
	align-items: center;
	gap: 20px;
}

.topbar-social{ display: flex; gap: 14px; flex-shrink: 0; }
.topbar-social a{ display: inline-flex; color: #fff; transition: color .15s ease; }
.topbar-social a:hover{ color: #4b82ff; }

.topbar-slogan{
	margin: 0;
	flex: 1;
	text-align: center;
	color: #fff;
	font-size: 1.05rem;
}

.ic{ width: 35px; height: 23px; fill: #fff; flex-shrink: 0; }

/* ===================================================================
   Logo + recherche
   =================================================================== */

.header-main{
	background: white;
	border-bottom: 1px solid var(--border);
}

.header-main-inner{
	max-width: var(--container);
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand{ display: flex; align-items: center; flex-shrink: 0; }
.brand-logo{ height: 100px; width: auto; }
.brand-logo-footer{ height: 40px; }
.brand-name{
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text);
}

.search-form{
	display: flex;
	width: 100%;
	max-width: 420px;
}

.search-form input{
	flex: 1;
	min-width: 0;
	padding: 11px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-right: none;
	border-radius: var(--radius) 0 0 var(--radius);
	color: var(--text);
	font-family: var(--font-body);
	font-size: .92rem;
}
.search-form input::placeholder{ color: var(--muted); }
.search-form input:focus{ border-color: var(--accent-2); }

.search-form button{
	flex-shrink: 0;
	padding: 0 18px;
	background: #4b82ff;
	border: none;
	border-radius: 0 var(--radius) var(--radius) 0;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	transition: background .15s ease;
}
.search-form button:hover{ background: #ffc450; }
.search-form button .ic{ width: 18px; height: 18px; }

/* ===================================================================
   Navigation principale
   =================================================================== */

.main-nav{
	background: #333 border-bottom: 1px solid var(--border);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.main-nav-inner{
	max-width: var(--container);
	margin: 0 auto;
	padding: 4px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-menu{
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu li a{
	display: inline-block;
	padding: 8px 16px;
	font-size: .95rem;
	font-weight: 500;
	color: #fff;
	text-transform: uppercase;
	border-radius: var(--radius);
	transition: color .15s ease, background .15s ease;
}

.nav-menu li a:hover{
	color: #4b82ff;
	background: rgba(255,176,32,.08);
}

.nav-toggle{
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: #333;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	cursor: pointer;
	padding: 0;
}

.nav-toggle span{
	display: block;
	height: 2px;
	width: 20px;
	margin: 0 auto;
	background: var(--text);
	transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===================================================================
   Hero / Slider
   =================================================================== */

.hero-slider{
	position: relative;
	width: 100%;
	height: 78vh;
	min-height: 420px;
	max-height: 720px;
	overflow: hidden;
	background: var(--surface);
}

.hero-slide{
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease;
}

.hero-slide.is-active{
	opacity: 1;
	visibility: visible;
}

.hero-slide::after{
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,10,11,.15) 0%, rgba(10,10,11,.75) 100%);
}

.hero-slide-content{
	position: relative;
	z-index: 2;
	height: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px 72px;
	display: flex;
	align-items: flex-end;
}

.hero-slide-content .hero-text{
	max-width: 640px;
	color: var(--text);
}

.hero-slide-content .hero-text :is(h1,h2,h3){
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1.15;
	color: var(--text);
}

.hero-slide-content .hero-text p{
	color: var(--muted);
	margin-top: 12px;
}

.hero-cta{
	display: inline-flex;
	margin-top: 24px;
	padding: 13px 28px;
	background: #4b82ff;
	color: var(--accent-ink);
	font-weight: 600;
	border-radius: var(--radius);
	transition: transform .15s ease, background .15s ease;
}
.hero-cta:hover{ background: #ffc450; transform: translateY(-1px); }

.hero-empty{
	height: 60vh;
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--muted);
}

/* dots */
.hero-dots{
	position: absolute;
	z-index: 3;
	right: 24px;
	bottom: 26px;
	display: flex;
	gap: 8px;
}
.hero-dot{
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(242,241,237,.35);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background .2s ease, transform .2s ease;
}
.hero-dot.is-active{ background: #4b82ff; transform: scale(1.2); }

/* arrows */
.hero-arrow{
	position: absolute;
	z-index: 3;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(18,18,20,.45);
	border: 1px solid rgba(242,241,237,.25);
	color: var(--text);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}
.hero-arrow:hover{ background: rgba(18,18,20,.75); border-color: #4b82ff; }
.hero-arrow.prev{ left: 20px; }
.hero-arrow.next{ right: 20px; }
.hero-arrow svg{ width: 18px; height: 18px; fill: currentColor; }

/* ===================================================================
   Footer
   =================================================================== */

.site-footer{
	background: #0b0b0d;
	border-top: 1px solid var(--border);
	margin-top: 0;
}

.footer-top{ padding: 56px 0 40px; }

.footer-grid{
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	gap: 40px;
}

.footer-heading{
	font-size: 1rem;
	margin-bottom: 16px;
	color: var(--text);
}

.footer-tagline{
	color: var(--muted);
	margin: 14px 0 18px;
	max-width: 34ch;
}

.footer-social{ display: flex; gap: 12px; }
.footer-social a{
	width: 34px; height: 34px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--border);
	border-radius: 50%;
	color: var(--muted);
	transition: color .15s ease, border-color .15s ease;
}
.footer-social a:hover{ color: #4b82ff; border-color: #4b82ff; }

.footer-links, .footer-contact{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: var(--muted);
}

.footer-links a{ transition: color .15s ease; }
.footer-links a:hover{ color: #4b82ff; }
.footer-contact a:hover{ color: #4b82ff; }

.footer-newsletter-text{ color: var(--muted); margin: 0 0 16px; max-width: 32ch; }

.newsletter-form{ display: flex; gap: 8px; }
.newsletter-form input{
	flex: 1;
	min-width: 0;
	padding: 11px 14px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text);
	font-family: var(--font-body);
	font-size: .92rem;
}
.newsletter-form input::placeholder{ color: var(--muted); }
.newsletter-form input:focus{ border-color: var(--accent-2); }

.newsletter-form button{
	padding: 11px 18px;
	background: #4b82ff;
	color: var(--accent-ink);
	border: none;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: .92rem;
	cursor: pointer;
	transition: background .15s ease;
	white-space: nowrap;
}
.newsletter-form button:hover{ background: #ffc450; }

.newsletter-feedback{ margin: 10px 0 0; font-size: .85rem; }
.newsletter-feedback.ok{ color: var(--accent-2); }
.newsletter-feedback.error{ color: #ff6b6b; }

.footer-bottom{
	border-top: 1px solid var(--border);
	padding: 18px 24px;
	text-align: center;
	color: var(--muted);
	font-size: .85rem;
}



/* ===================================================================
   Section catégories (page d'accueil)
   =================================================================== */

.categories-section{ padding: 72px 0; }

.section-head{
	max-width: 560px;
	margin: 0 auto 40px;
	text-align: center;
}
.section-head h2{
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	color: var(--text);
}
.section-head p{
	margin: 12px 0 0;
	color: var(--muted);
}

.categories-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.category-card{
	display: block;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color .2s ease, transform .2s ease;
}
.category-card:hover{
	border-color: #4b82ff;
	transform: translateY(-4px);
}

.category-card-img{
	aspect-ratio: 4 / 3;
	background-color: var(--surface-2);
	background-size: cover;
	background-position: center;
	transition: transform .35s ease;
}
.category-card:hover .category-card-img{ transform: scale(1.06); }

.category-card-name{
	margin: 0;
	padding: 16px 18px;
	font-size: 1rem;
	color: var(--text);
	text-align: center;
}

.categories-cta{
	margin-top: 40px;
	text-align: center;
}

.btn-outline{
	display: inline-flex;
	padding: 13px 30px;
	border: 1px solid #4b82ff;
	color: #4b82ff;
	font-weight: 600;
	border-radius: var(--radius);
	transition: background .15s ease, color .15s ease;
}
.btn-outline:hover{
	background: #4b82ff;
	color: var(--accent-ink);
}

.categories-empty{
	text-align: center;
	color: var(--muted);
}

/* ===================================================================
   Section présentation (texte gauche / image ronde à droite)
   =================================================================== */

.presentation-section{ padding: 80px 0; background: var(--surface); }

.presentation-inner{
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	align-items: center;
	gap: 56px;
}

.presentation-text h2{
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	color: var(--text);
	margin-bottom: 18px;
}

/* Neutralise les styles inline (police/couleur) injectés depuis l'admin
   pour que le texte suive la charte du site */
.presentation-text p,
.presentation-text span{
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	color: var(--muted) !important;
	line-height: 1.7;
}
.presentation-text strong{ color: var(--text) !important; }

.presentation-text .btn-outline{ margin-top: 12px; }

.presentation-image{ display: flex; justify-content: center; }

.presentation-image .img-circle{
	width: min(360px, 80%);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	border: 8px solid #ffffff;
	box-shadow: 0 20px 40px rgba(0,0,0,.12);
}
.presentation-image .img-circle img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ===================================================================
   Section produits (page d'accueil) — carrousel sombre
   =================================================================== */

.produits-section{ padding: 80px 0; background: #121214; }

.produits-section .section-head h2{ color: #ffffff; }
.produits-section .section-head p{ color: rgba(255,255,255,.6); }

.produits-slider{
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
}

.produits-track{
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 4px 12px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.produits-track::-webkit-scrollbar{ display: none; }

.produit-card{
	flex: 0 0 250px;
	scroll-snap-align: start;
	display: block;
	background: #1b1b1f;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color .2s ease, transform .2s ease;
}
.produit-card:hover{
	border-color: var(--accent);
	transform: translateY(-4px);
}

.produit-card-img{
	position: relative;
	aspect-ratio: 4 / 3;
	background-color: #232327;
	background-size: cover;
	background-position: center;
	transition: transform .35s ease;
}
.produit-card:hover .produit-card-img{ transform: scale(1.06); }

.produit-price{
	position: absolute;
	top: 10px;
	right: 10px;
	background: var(--accent);
	color: var(--accent-ink);
	font-size: .8rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: var(--radius);
}

.produit-card-name{
	margin: 0;
	padding: 16px 18px;
	font-size: .95rem;
	color: #ffffff;
	text-align: center;
}

.slider-arrow{
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #4b82ff;
	border: 1px solid #4b82ff;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}
.slider-arrow:hover{ background: rgba(255,255,255,.14); border-color: var(--accent); }
.slider-arrow svg{ width: 18px; height: 18px; fill: currentColor; }

.btn-outline-light{
	border-color: #4b82ff;
	color: #4b82ff;
}
.btn-outline-light:hover{ background: #4b82ff; color: var(--accent-ink); }

/* ===================================================================
   Section "Pourquoi nous choisir" (page d'accueil)
   =================================================================== */

.features-section{ padding: 72px 0; }

.features-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.feature-card{
	text-align: center;
	padding: 8px;
}

.feature-icon{
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: rgba(75,130,255,.1);
	color: #4b82ff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.feature-icon svg{ width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.feature-card h3{
	font-size: 1.05rem;
	margin-bottom: 10px;
}

.feature-card p{
	margin: 0;
	font-size: .92rem;
	line-height: 1.6;
}

/* ===================================================================
   Bandeau d'appel à l'action (page d'accueil)
   =================================================================== */

.cta-banner{
	background: #4b82ff;
	padding: 56px 0;
}

.cta-banner-inner{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.cta-banner h2{
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	color: #fff;
	margin-bottom: 8px;
}

.cta-banner p{
	margin: 0;
	color: rgba(255,255,255,.85);
	max-width: 46ch;
}

.cta-banner-actions{
	display: flex;
	gap: 14px;
	flex-shrink: 0;
	flex-wrap: wrap;
}

.btn-solid-light{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 28px;
	background: #ffffff;
	color: #4b82ff;
	font-weight: 600;
	border-radius: var(--radius);
	transition: transform .15s ease, background .15s ease;
}
.btn-solid-light:hover{ background: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }

.btn-outline-white{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 28px;
	border: 1px solid rgba(255,255,255,.6);
	color: #fff;
	font-weight: 600;
	border-radius: var(--radius);
	transition: background .15s ease, border-color .15s ease;
}
.btn-outline-white:hover{ background: rgba(255,255,255,.12); border-color: #fff; }

/* ===================================================================
   Responsive
   =================================================================== */

@media (max-width: 960px){
	.footer-grid{ grid-template-columns: 1fr 1fr; }
	.footer-brand{ grid-column: 1 / -1; }
	.categories-grid{ grid-template-columns: repeat(2, 1fr); }
	.features-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px){

	.topbar-slogan{ display: none; }

	.header-main-inner{ flex-wrap: wrap; }
	.search-form{ max-width: none; order: 3; flex-basis: 100%; }

	.main-nav-inner{ justify-content: flex-end; }
	.nav-toggle{ display: flex; }

	.nav-menu{
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		width: min(78vw, 320px);
		background: #0b0b0d;
		border-left: 1px solid var(--border);
		flex-direction: column;
		gap: 0;
		padding: 88px 16px 24px;
		transform: translateX(100%);
		transition: transform .25s ease;
		z-index: 99;
	}
	.nav-menu.open{ transform: translateX(0); }

	.nav-menu li a{
		display: block;
		padding: 14px 12px;
		border-bottom: 1px solid var(--border);
		border-radius: 0;
	}

	.hero-slider{ height: 66vh; min-height: 380px; }
	.hero-arrow{ width: 36px; height: 36px; }
	.hero-arrow.prev{ left: 10px; }
	.hero-arrow.next{ right: 10px; }
	
	.presentation-inner{ grid-template-columns: 1fr; text-align: center; gap: 32px; }
	.presentation-image .img-circle{ width: min(260px, 70%); }	
	
	.produit-card{ flex-basis: 210px; }
	.slider-arrow{ width: 36px; height: 36px; }	

	.cta-banner-inner{ flex-direction: column; text-align: center; }
	.cta-banner-actions{ justify-content: center; }
}

@media (max-width: 560px){
	.footer-grid{ grid-template-columns: 1fr; }
	.newsletter-form{ flex-direction: column; }
	.categories-grid{ grid-template-columns: 1fr; }
	.features-grid{ grid-template-columns: 1fr; }
	.cta-banner-actions{ flex-direction: column; width: 100%; }
	.cta-banner-actions .btn-solid-light,
	.cta-banner-actions .btn-outline-white{ justify-content: center; }
}