/* =========================================
   Style 2026 — basé sur ton style.css
   Objectif : minimal, grille fine, header fixe, drawer panier
========================================= */

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@400;500;700&display=swap");

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

html:focus-within {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: #fff;
	color: #000;
	font-size: 14px;
	line-height: 1.4;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

a:hover {
	opacity: 0.7;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Accessibilité */
.skip-link {
	position: absolute;
	top: -40px;
	left: 10px;
	background: #000;
	color: #fff;
	padding: 10px 12px;
	z-index: 10000;
}

.skip-link:focus {
	top: 10px;
}

.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* =========================================
   Header & menu
========================================= */
/* --- VARIABLES --- */
:root {
    --header-bg: #ffffff;
    --header-text: #000000;
    --header-height: 60px;
    --drawer-width: 100%; /* Plein écran sur mobile, modifiable */
    --transition-speed: 0.4s;
}

@media (min-width: 768px) {
    :root {
        --drawer-width: 400px; /* Largeur fixe sur tablette/desktop */
    }
}

/* --- HEADER GLOBAL --- */
.site-header {

    position:relative;
    background: var(--header-bg);
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);

    transition: all 0.3s ease;
    border-bottom: 1px solid black;

    background-color: #fff;
    height: calc(var(--header-height) + 20px);
}

.header-inner {

    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;

    display: flex;
    justify-content: flex-end;

    align-items: center;
    height: var(--header-height);
    padding: 0 20px;

    border: 1px solid black;
    /*background-color: blueviolet;*/

    z-index: 902;

    border: 1px solid #fff;
    mix-blend-mode: difference;
}

.spacer-menuheight {
    display: block;
    height: var(--header-height);
}

/* --- LOGO --- */
.header-branding {
    width: calc(100% - 20px);

    background: orangered;
    background: white;
    height: var(--header-height);

    position: fixed;
    align-content: center;
    top: 10px;
    left: 10px;
    right: 10px;


    z-index: 900;
}

.header-branding img {
    max-width: 160px;
    width: auto;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--header-text);
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .header-inner {
        padding: 0 2px;
    }
    .header-branding {
        padding: 5px;
    }
}

/* --- NAV DESKTOP --- */
.desktop-navigation ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.desktop-navigation a {
    text-decoration: none;
    color: var(--header-text);
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
}

/* --- ACTIONS (Cart + Burger) --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.burger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.burger-line {
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

.header-cart {
    position: relative;
}

.header-cart::before {
    content: "";
    display: block;
    height: var(--header-height);
    border-right: 1px solid black;
    position: absolute;
    top: -10px;
    left: -8px;
}

@media (max-width: 800px) {
    .header-actions {
        gap: 8px;
        padding: 5px;
    }

    .ac-cart-trigger-btn {
        padding: 5px;
        gap: 1px;
        border-radius: 7px;
    }

    .header-cart::before {
        top: -14px;
        left: -13px;
    }

}


/* --- MOBILE & RESPONSIVE --- */
/* Masquer la nav desktop sur mobile */
@media (max-width: 991px) {
    .desktop-navigation { display: none; }
}
/* Masquer le burger sur desktop si on veut (ici je le laisse pour le drawer) */
@media (min-width: 992px) {
    .burger-btn { display: none; } /* On affiche le menu classique */
    .desktop-navigation { display: block; }
}


/* --- DRAWER (Le Tiroir) --- */

/* L'Overlay sombre */
.drawer-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
    z-index: 998;
    backdrop-filter: blur(2px);
}
.drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* Le Panneau glissant */
.mobile-drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--drawer-width);
    height: 100vh; /* Toute la hauteur */
    background: #fff;
    z-index: 999;
    transform: translateX(100%); /* Caché à droite */
    transition: transform var(--transition-speed) cubic-bezier(0.77, 0, 0.175, 1);
    
    /* Layout Flex Vertical pour le sticky footer */
    display: flex;
    flex-direction: column;
}

.mobile-drawer-panel.is-open {
    transform: translateX(0);
}

/* 1. Header du Drawer (Fixe visuellement) */
.drawer-header {
    flex: 0 0 auto; /* Ne rétrécit pas */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
}
.drawer-title { font-size: 14px; text-transform: uppercase; color: #888; }
.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* 2. Contenu du Drawer (Scrollable) */
.drawer-content {
    flex: 1 1 auto; /* Prend tout l'espace restant */
    overflow-y: auto; /* Scroll si trop long */
    padding: 40px 30px;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.mobile-menu-list li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
}
/* Animation d'apparition des items */
.mobile-drawer-panel.is-open .mobile-menu-list li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-list a {
    font-size: 28px;
    font-weight: 300;
    color: #000;
    text-decoration: none;
    display: block;
}

/* CTA Shop */
.drawer-cta .btn-shop {
    display: block;
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 20px;
}

/* 3. Footer du Drawer (Fixe en bas) */
.drawer-footer {
    flex: 0 0 auto; /* Ne rétrécit pas */
    padding: 30px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.drawer-socials {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.drawer-socials a {
    font-size: 14px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.drawer-credits p {
    margin: 0;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}
.drawer-credits a {
    color: #000;
    text-decoration: none;
}





/* ---- catalogue titre ----- */
.ac-catalogue-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    margin-top: 40px;
    margin-bottom: 20px;

    line-height: 1.2;
    font-weight: 700;

    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 12px;
}

h2.ac-catalogue-title {
    font-size: 1.6em;
    font-size: 12px;
    position: sticky;

    top: -1px;
    height: calc(var(--header-height) + 20px);

    max-width: 100%;
    margin: 0;
    padding: 11px 10px 10px;
    
    display: flex;
    align-items: center;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background: #ffffff;
    z-index: 901;
}

/* -------- banner cover ---------- */
.wp-block-cover {
    position: relative;
}

.has-black-background-color {
  background-color: var(--wp--preset--color--black) !important;
  padding: 20px;
}

.wp-block-cover p {
    font-size: 0.8em;
    color: grey;
}



/* --------- content centre et big -------- */
.wp-block-group {
    border: 1px solid red; /* Pour debug */

    width: 100%;

    border-top: 1px solid blue;
    margin-top: -1px;
}

.wp-block-group > * {
    border: 1px solid green; 

        max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.wp-block-group h3 {
    border: 1px solid purple; 
    font-size: 40px;
    font-weight: bold;
    padding: 10px;
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.wp-block-group h4 {
    border: 1px solid orange; 
    font-size: 40px;
    font-weight: bold;
    padding: 10px;
    margin-bottom: -40px;
    position: relative;
    z-index: 1;
}

.short-description {
  font-size: 40px;
  font-weight: bold;
  padding: 10px;
  margin-top: -40px;
  position: relative;
  z-index: 1;
}



/* block plugin catalogue */
.ac-catalogue-grid {
    margin: 0 0px;

    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff;
    color: #000;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;


    gap: 1px !important;
    background-color: #000;
    border: none;
    border-bottom: 1px solid black;
}

.ac-card-wrapper {
    padding-bottom: 0px;
    background: #fff;
}

.ac-card-info {
    padding: 0px 15px;
    text-align: left !important;;
}

.ac-card-image {
    margin-bottom: 15px !important;
}

.ac-card-title {
    font-size: 11px !important;
    color: #000000;
    font-weight: 400 !important;
    margin: 0 0 1px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
}

.ac-card-price {
    font-size: 12px !important;
    font-weight: 400 !important;
    margin: 0 0 2px 0 !important;
    text-transform: uppercase !important;
}

.ac-card {
    margin-bottom: 1px;
}

.ac-card-wrapper a:hover{
    opacity: 0.9;
}

.ac-card:hover .ac-card-image img {
    transform: scale(1.0);
}

.ac-add-to-cart-card {
    font-size: 10px !important;
    font-weight: 400 !important;
    margin: 0 0 2px 0 !important;
    text-transform: uppercase !important;
    text-align: left;

    padding: 10px 9px !important;
    margin: 7px !important;
    
    width: calc(100% - 22px) !important;
}

@media (max-width: 800px) {
    .ac-catalogue-grid {
        gap: 0px !important;
    }
}

/* ----------- pré footer ----------- */
.cover-section {
  position: relative;
  width: 100%;
  height: 50vh;
  max-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
} 



/* Footer */
.mir-footer {
	border-top: 1px solid #000;
	padding: 30px 20px;
}

.mir-footer-inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.mir-footer-nav a {
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.8px;
	margin-right: 14px;
}

.mir-footer-copy {
	margin: 0;
	font-size: 11px;
	color: #666;
}

/* =========================================
   Mobile responsive
========================================= */

@media (max-width: 768px) {
	.burger-menu {
		display: flex;
	}

	.brut_menu-main {
		position: fixed;
		top: 60px;
		left: 0;
		width: 100%;
		background: #fff;
		border-bottom: 1px solid #000;
		padding: 20px;
		transform: translateY(-150%);
		transition: transform 0.3s ease;
		z-index: 900;
	}

	.brut_menu-main.active {
		transform: translateY(0);
	}

	.brut_menu-main .menu {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}

	.mir-sticky-title {
		font-size: 10px;
		padding: 10px;
	}

	.mir-h1 {
		font-size: 12px;
	}
}
