/* =============================================================================
   FICHE PRODUIT — REFONTE MODERNE & PREMIUM
   -----------------------------------------------------------------------------
   Remplace la section 08 (FICHE DÉTAIL PRODUIT) + section 09 (complémentaires)
   du style_main.css.
   
   Structure HTML ciblée (générée par affiche_detail_article_MODELE.php) :
   
   .logo_marque_prd           → logo marque (flottant)
   .fiche_detail              → container grid 2 colonnes
     .nom_produit             → titre + meta
     .pic_produit             → image produit
     .achat                   → bloc prix + CTA + garanties
       .entreprise-entrepot-francais
       table (prix, bouton, stock, livraison, eco, étoiles)
   .detail_carac              → caractéristiques techniques
   .star-customer             → avis clients
============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --fp-green:       #6eccae;
    --fp-green-dark:  #3a76de;
    --fp-green-soft:  #e8f5e0;
    --fp-yellow:      #FDC300;
    --fp-yellow-soft: #fff7d6;
    --fp-dark:        #1a1a2e;
    --fp-gray:        #51626f;
    --fp-gray-light:  #8a95a0;
    --fp-border:      #e8e9eb;
    --fp-bg:          #f7f8fa;
    --fp-white:       #ffffff;
    --fp-red:         #e74c3c;
    --fp-font:        'Outfit', Arial, sans-serif;
    --fp-font-display:'Space Grotesk', 'Outfit', sans-serif;
    --fp-radius:      16px;
    --fp-radius-sm:   10px;
    --fp-shadow-sm:   0 1px 3px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
    --fp-shadow-md:   0 4px 16px rgba(0,0,0,.06), 0 8px 32px rgba(0,0,0,.04);
    --fp-shadow-lg:   0 12px 48px rgba(0,0,0,.08);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
}

h1 {
    font-family: var(--fp-font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--fp-dark);
    margin: 0 0 16px 30px;
    text-align: left;
    letter-spacing: -0.3px;
}

.tree_view {
    font-family: var(--fp-font);
    font-size: 14px;
    color: var(--fp-gray);
    margin: 0 0 16px 30px;
}

.milieu_page_gris, .milieu_page_blanc {
	box-sizing: border-box;
	width: 100%;
	max-width: 1624px;
	height: auto;
	min-height: 600px;
	padding-left: 10px;
	padding-right: 10px;	
	margin: 0 auto;
}

/* =============================================================================
   LOGO MARQUE (flottant avant la fiche)
============================================================================= */
.logo_marque_prd {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
    background: var(--fp-white);
    padding: 8px 14px;
    border-radius: 99px;
    box-shadow: var(--fp-shadow-sm);
    border: 1px solid var(--fp-border);
}

.logo_marque_prd img {
    max-height: 28px;
    width: auto;
    display: block;
}


/* =============================================================================
   LAYOUT FICHE PRODUIT — 2 colonnes sticky
   Colonne gauche : image sticky (~40%)
   Colonne droite : titre + achat + carac + avis (~60%)
============================================================================= */

.prd-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
    align-items: start;
    margin: 24px 0;
    font-family: var(--fp-font);
}

/* Colonne image — sticky avec offset pour le header fixe */
.prd-layout__left {
    position: sticky;
    top: 160px;
}

/* Colonne droite — scroll libre */
.prd-layout__right {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Neutre pour compatibilité */
.fiche_detail {
    font-family: var(--fp-font);
}


/* =============================================================================
   TITRE PRODUIT
============================================================================= */
.nom_produit {
    float: none;            /* override legacy */
    width: auto;
    padding: 0;
}

.nom_produit h1,
.nom_produit h2,
.nom_produit .titre_produit,
.nom_produit > span {
    font-family: var(--fp-font-display);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--fp-dark);
    margin: 0 0 12px;
    text-align: left;
    letter-spacing: -0.3px;
}

.reference_produit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    top: 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--fp-gray-light);
    background: var(--fp-bg);
    padding: 4px 10px;
    border-radius: 99px;
    border: 1px solid var(--fp-border);
}


/* =============================================================================
   IMAGE PRODUIT
============================================================================= */
.pic_produit {
    float: none;
    width: 100%;
    background: #f8f9fb;
    border-radius: 20px;
    border: 1px solid #e6e8ec;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: box-shadow .3s ease;
    box-sizing: border-box;
}

/* Halo décoratif */
.pic_produit::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(110,204,174,.10) 0%, transparent 70%);
    pointer-events: none;
}

.pic_produit:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.10);
}

.pic_produit img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: transform .4s cubic-bezier(.25,.8,.25,1);
}

.pic_produit:hover img {
    transform: scale(1.05);
}


/* =============================================================================
   BLOC ACHAT — refonte premium
============================================================================= */
.achat {
    float: none;
    width: auto;
    position: relative;
    margin: 0;
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
    box-sizing: border-box;
}

/* Barre accent en haut */
.achat::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--fp-green) 0%, var(--fp-green-dark) 100%);
}

/* Badge entreprise française — top-right absolu */
.achat .entreprise-entrepot-francais {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 2;
}

.achat .entreprise-entrepot-francais img {
    width: 52px;
    height: auto;
    opacity: .85;
    transition: opacity .2s;
}

.achat .entreprise-entrepot-francais:hover img { opacity: 1; }

/* ── Section prix ── */
.achat-prix-bloc {
    padding: 20px 24px 8px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.achat-prix-bloc .eco {
    font-size: 11px;
    color: var(--fp-gray-light);
    background: none;
    padding: 0;
    border-radius: 0;
}

/* ── Stock badge ── */
.achat-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    padding: 0 24px 14px;
}

.achat-stock-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: prd-pulse 2s infinite;
}

.achat-stock-badge--ok .achat-stock-badge__dot { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
.achat-stock-badge--ko .achat-stock-badge__dot { background: #f59e0b; box-shadow: 0 0 0 0 rgba(245,158,11,.4); animation: none; }
.achat-stock-badge--ok { color: #16a34a; }
.achat-stock-badge--ko { color: #d97706; }

@keyframes prd-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
    70%  { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* ── Bouton commande ── */
.achat-commande {
    padding: 0 24px 20px;
}

.achat-commande form,
.achat-commande > * { width: 100%; }

/* ── Séparateur ── */
.achat-sep {
    height: 1px;
    background: #f0f1f3;
    margin: 0;
}

/* ── Réassurance 2x2 ── */
.achat-reassurance {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #e8e9eb;
}

.achat-reassurance__item {
    background: #f8f9fb;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--fp-dark);
    line-height: 1.3;
}

.achat-reassurance__item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--fp-green-dark);
}

.achat-reassurance__item small {
    display: block;
    font-size: 11px;
    color: var(--fp-gray-light);
    font-weight: 400;
}

/* ── SAV (garanties) ── */
.achat-garanties {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 14px 24px;
    background: #fff;
}

.garantie-line {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fp-gray);
}

.garantie-line svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--fp-green-dark);
}

/* Legacy — neutralisé */
.achat-top { display: contents; }
.achat-prix { display: contents; }

@media (max-width: 600px) {
    .achat-commande { padding: 0 16px 16px; }
    .achat-prix-bloc { padding: 16px 16px 6px; }
    .achat-stock-badge { padding: 0 16px 12px; }
    .achat-garanties { padding: 12px 16px; }
}

/* ---- PRIX (hero) ---- */
.prix_detail {
    float: none;
    width: auto;
    padding: 0;
    margin: 0;
    font-family: var(--fp-font-display);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    color: var(--fp-dark);
    text-align: left;
    letter-spacing: -1.5px;
}

.prix_detail [itemprop="price"] {
    color: var(--fp-dark);
}

/* Prix barré (avant promo) */
.avant_promo_gros {
    display: block;
    font-family: var(--fp-font);
    font-size: 15px;
    font-weight: 400;
    color: var(--fp-gray-light);
    text-decoration: line-through;
    margin-bottom: 4px;
    letter-spacing: 0;
}

/* Eco-participation */
.eco {
    display: inline-block;
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    color: var(--fp-gray-light);
}


/* ---- BOUTON D'ACHAT ---- */
.button_achat,
.achat form button,
.achat form input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 16px 24px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d52 100%);
    color: #fff;
    border: 0;
    outline: 0;
    border-radius: 12px;
    font-family: var(--fp-font);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: opacity .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(26,26,46,.25);
    position: relative;
    overflow: hidden;
}

/* Shimmer effect on button */
.button_achat::after,
.achat form button::after,
.achat form input[type="submit"]::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
}

.button_achat:hover::after,
.achat form button:hover::after,
.achat form input[type="submit"]:hover::after {
    left: 160%;
}

.button_achat:hover,
.achat form button:hover,
.achat form input[type="submit"]:hover {
    opacity: .9;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(26,26,46,.30);
}

.button_achat:active,
.achat form button:active,
.achat form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Legacy neutralisé */
.achat td[bgcolor="ffffff"] {
    background: transparent !important;
    padding: 0;
    font-family: var(--fp-font);
}

/* ---- ÉTOILES ---- */
.achat .star {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 6px 0;
}


/* =============================================================================
   CARACTÉRISTIQUES TECHNIQUES — refonte premium
============================================================================= */
.detail_carac {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    float: none;
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
    box-sizing: border-box;
}

/* ── En-tête de la fiche carac ── */
.detail_carac h2,
.detail_carac .sous_titre {
    font-family: var(--fp-font-display);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--fp-dark) 0%, #2a2a50 100%);
    margin: 0;
    padding: 16px 24px;
    letter-spacing: .5px;
    text-transform: uppercase;
    display: block;
    border: none;
}

/* ── En-tête de section (Spécifications / Qualité) ── */
.detail_carac-section__title {
    font-family: var(--fp-font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--fp-gray);
    background: #f3f4f6;
    margin: 0;
    padding: 10px 24px;
    border-top: 1px solid #eaebee;
    border-bottom: 1px solid #eaebee;
}

/* ── Ligne clé/valeur ── */
.detail_nth {
    display: flex;
    align-items: baseline;
    padding: 11px 24px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13.5px;
    line-height: 1.4;
    background: #fff;
    gap: 0;
    transition: background .15s;
}

.detail_nth:last-child { border-bottom: none; }

.detail_nth:hover { background: #f9fafb; }

.detail_nth__key {
    flex: 0 0 150px;
    font-weight: 600;
    font-size: 13px;
    color: var(--fp-dark);
    padding-right: 12px;
}

/* Ligne de points entre clé et valeur */
.detail_nth__key::after {
    content: '';
    display: block;
}

.detail_nth__val {
    flex: 1;
    color: var(--fp-gray);
    font-size: 13.5px;
    padding-left: 4px;
    border-left: 2px solid #eaebee;
}

/* ── Section qualité — fond légèrement différent ── */
.detail_carac-section--quality .detail_nth { background: #fafbfc; }
.detail_carac-section--quality .detail_nth:hover { background: #f3f4f6; }

/* Legacy neutralisé */
.detail_carac-list { display: block; }

.detail_carac table,
.detail_carac table td {
    width: 100% !important;
    border: 0;
    padding: 0;
    background: transparent;
    font-family: var(--fp-font);
}

.detail_carac table td[align="left"] {
    display: block;
}

/* Alternance de fond sur les lignes impaires */
.detail_carac-section:not(.detail_carac-section--quality) .detail_nth:nth-child(odd) {
    background: #f9fafb;
}
.detail_carac-section:not(.detail_carac-section--quality) .detail_nth:nth-child(even) {
    background: #fff;
}


/* =============================================================================
   AVIS CLIENTS
============================================================================= */
.star-customer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 28px 32px;
    background: var(--fp-white);
    border: 1px solid #e2e5ea;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    box-sizing: border-box;
    text-align: left;
    clear: both;
}


/* =============================================================================
   SECTIONS COMPLÉMENTAIRES (.complementaire, .accessoires)
============================================================================= */
.complementaire,
.complementaire_panier,
.accessoires {
    width: 100%;
    margin: 24px auto;
    padding: 10px;
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
    border-radius: var(--fp-radius);
    box-sizing: border-box;
    clear: both;
    overflow: visible;
    height: auto;
}

.complementaire {
    background: var(--fp-bg);
    border: 1px solid var(--fp-border);
}

.complementaire_panier {
    background: linear-gradient(135deg, var(--fp-yellow-soft) 0%, #ffefc2 100%);
    border: 1px solid rgba(253, 195, 0, 0.3);
}

.accessoires {
    background: linear-gradient(135deg, #3b5998 0%, #2c4478 100%);
    color: var(--fp-white);
    border: 0;
}

.accessoires h2,
.accessoires .sous_titre_vert {
    color: var(--fp-white) !important;
}

/* Espace client */
.form-control-register #button_input {
	margin-top:15px;
}
.dropdown_liv{
	display: none;
}
.dropdown_liv.show{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.form-control-login, .form-control-register{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.form-control-header{
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 10px;
}
.form-control-header .form-group{
	width: 100%;
	display: grid;
	align-items: center;
	grid-template-columns: 1fr 1fr;
	margin-top: 10px;
}
.liste_liens_client {
	width: 100%;
}
.liste_liens_client .item{
	display: flex;
	align-items: center;
	gap:15px;
	height: 20px;
	padding: 5px;
	width: 100%;
}
.liste_liens_client .item a{
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	color: #1d1f21;
}
.form-control-register{
	box-sizing: border-box;
	border: 1px solid #ccc;
	padding-bottom: 10px;
}
.form-control-register .couleur_sys{
	margin-top: 20px;
}
.form-control-register h2{
	background-color: #ccc;
	width: 100%;
	height: 30px;
	line-height: 30px;
	text-align: center;
	margin: 0;
}
#show_liv{
	cursor: pointer;
	margin-top: 20px;
}
#show_liv:hover{
	background-color: #999999;
	color: #fff;
}
.form-control-register .form-group label[for="form_recevoir_new_letter"]{
	justify-self: flex-start;
	/*Mozilla*/
	justify-content: flex-start;
	/*Chrome*/
	align-items: flex-start;
	text-align: left;
}
.form-control-register .form-group{
	width: 80%;
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap:10px;
	align-items: center;
	margin-top: 10px;
}

.form-control-register .form-group input{
	height: 20px;
}
.form-control-register .form-group label{
	min-width: 100px;
	text-align: right;
	font-weight: 700;
}
.form-control-register .form-group textarea{
	height: 100px;
	padding: 10px;
	resize: none;
}

#form_recevoir_new_letter{
	justify-self: flex-end;
}
.form-group.form-group-check{
	font-size: 10px;
	font-weight: 400;
}

.form-control-login .form-group{
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 2fr;
	margin-top: 10px;
}

.form-control-login .form-group{
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 2fr;
	margin-top: 10px;
}

.form-control-login .form-group input{
	width: 100%;
	height: 20px;
}

.form-control-login .form-input{
	width: 100%;
	display: flex;
	justify-content: space-between;
	gap:10px;
	margin-top: 10px;
}

.form-control-login .form-input .lien_noir_13{
	display: flex;
	align-items: center;
}

.info_champs{
	display: grid;
	grid-template-columns: 1fr 2fr;
	width: 80%;
	margin-left: 15px;
	margin-top: 5px;
}

.info_champs p{
	font-size: 12px;
	color: rgb(118, 118, 118);
	margin: 0;
}

.info_privilege{
	display: flex;
	flex-direction: column;
	max-width: 600px;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	border: 1px solid black;
}
.content{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}
.action-client{
	display: flex;
	flex-direction: column;
	width: 80%;
	border: 1px solid #ccc;
}
.action-client a{
	color:#000;
}
.historique-commande a{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 20px;
	align-items: center;
	justify-items: center;
	height: 30px;
}

.historique-commande:hover, .historique-commande:nth-child(odd):hover {
	background-color: #a9a9a9;
}

.historique-commande:nth-child(odd){
	background-color: #ccc;
}
.wrapped{
	overflow-y: scroll;
}
.wrapped p{
	text-wrap: wrap;
}
.padded{
	padding: 10px;
}

.bordered{
	box-sizing: border-box;
	/* border: 1px solid #ccc; */
	width: 500px;
	margin: auto;
	margin-top: 20px;
}

.padded a{
	display: block;
}
.green-header{
	background-color: rgb(93, 174, 43);
	color: white;
	font-size: 16px;
	padding: 10px;
}
.green-header a {
	color: white;
	display: block;
}

.links-client{
	width: 80%;
	display: flex;
	flex-direction: column;
	gap:1px;
	border: 1px solid #ccc;
}
.links-client a{
	display: block;
	padding: 10px;
	font-weight: 600;
	background-color: #7b7b7b;
	color:#fff;
}

.links-client a:hover{
	background-color: #ccc;
}

.banner-client{
	margin-top: 20px;
}
.banner-client img{
	width: 100%;
}

/*Details commande*/
.historique-commandes-header{
	box-sizing: border-box;
	width: 100%;
	height: 30px;
	padding: 5px;
	background-color: #595959;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	justify-items: center;
	align-items: center;
}
.historique-commandes-header p{
	margin: 0;
	color: #fff;
}
.historique-commandes__item{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 0px 1fr;
	box-sizing: border-box;
	border-top: 1px solid #ccc;
	justify-items: center;
	align-items: center;
}
.historique-commandes__item__link{
	background-color: rgb( 93 , 174 , 43 );
	width: 100%;
}
.historique-commandes__item__link:hover{
	background-color: rgb( 81 , 98 , 111 );
}
.historique-commandes__item__link a{
	color: #fff;
	display: block;
	padding: 5px;
	text-align: center;
}
form[name="form_retour"]{
	width: 100%;
}
form[name="form_retour"] button{
	width: 100%;
}
.command{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap:10px;
}

.detail-commande, .contact-sav, .expedition-detail, .evaluation-detail, .attached-detail{
	display: flex;
	flex-direction: column;
	border: 1px solid #ccc;

}

.contact-sav{
	max-height: 350px;
}

.detail-message{
	display: flex;
	flex-direction: column;
}

.header-detail{
	background-color: #ccc;
	padding: 10px;
}
.header-detail p{
	color: #000;
	font-size: 14px;
	font-weight: 400;
	margin: 0;
}
.encadre{
	box-sizing: border-box;
	border: 1px solid #ccc;
	width: 400px;
	height: 200px;
	margin-top: 40px;
}
.encadre h2{
	margin: 0;
	padding: 5px;
	background-color: #ccc;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--fp-font);
}
.logo_marque{
	display: flex;
	justify-content:center;
	height: 40px;
}
form[name="form_selecteur_sous_serie"]{
	margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}
form[name="form_selecteur_sous_serie"] select{
    width: 100%;
    padding: 5px;
}
form[name="form_selecteur_sous_serie"] input.button_ok{
    padding: 5px 15px;
    background-color: rgb( 93 , 174 , 43 );
    color: #fff;
    border: none;
    cursor: pointer;
}
.rouge_11 {
    color: #e74c3c;
}

.encadre .padded{
	padding: 20px;
}

.w-65{
	width: 65%;
	margin: auto;
}
.fwrap{
	flex-wrap: wrap;
}

.flex {
    display: flex;
}

.mb{
	margin-bottom: 10px;
}

.center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.button_ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 16px 0 0;
    background: var(--fp-green);
    color: var(--fp-white);
    border: 0;
    outline: 0;
    border-radius: var(--fp-radius-sm);
    font-family: var(--fp-font);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
}


/* =============================================================================
   RESPONSIVE FICHE PRODUIT
============================================================================= */

/* ---- ≤ 1100px ---- */
@media (max-width: 1100px) {
    .prd-layout {
        gap: 28px;
    }
}

/* ---- ≤ 860px : passage 1 colonne ---- */
@media (max-width: 860px) {
    .prd-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .prd-layout__left {
        position: static; /* plus de sticky en mobile */
    }

    .pic_produit {
        aspect-ratio: 4 / 3;
        padding: 28px;
        max-width: 440px;
        margin: 0 auto;
    }

    .nom_produit h1,
    .nom_produit h2,
    .nom_produit > span {
        font-size: 22px;
    }

    .prix_detail { font-size: 36px; }
}


/* ---- ≤ 600px ---- */
@media (max-width: 600px) {
    .pic_produit { padding: 20px; }

    .nom_produit h1,
    .nom_produit h2,
    .nom_produit > span {
        font-size: 20px;
    }

    .prix_detail { font-size: 32px; }

    .achat .entreprise-entrepot-francais img { width: 44px; }

    .detail_carac h2,
    .detail_carac .sous_titre { font-size: 12px; padding: 14px 18px; }

    .detail_nth { padding: 10px 18px; }
    .detail_nth__key { flex: 0 0 120px; }

    .encadre { width: 100%; }
}


/* ---- ≤ 480px ---- */
@media (max-width: 480px) {
    .nom_produit h1,
    .nom_produit h2,
    .nom_produit > span {
        font-size: 18px;
    }

    .prix_detail { font-size: 28px; }

    .detail_nth { flex-direction: column; gap: 3px; }
    .detail_nth__key { flex: none; }
    .detail_nth__val { border-left: none; padding-left: 0; padding-top: 2px; }

    .button_achat,
    .achat form button,
    .achat form input[type="submit"] {
        font-size: 14px;
        padding: 12px 20px;
    }

    .achat .entreprise-entrepot-francais {
        top: 12px;
        right: 12px;
    }

    .achat .entreprise-entrepot-francais img {
        width: 40px;
    }

    .detail_carac,
    .star-customer,
    .complementaire,
    .complementaire_panier,
    .accessoires {
        padding: 16px 14px;
        margin: 8px;
    }
}


/* ---- Support tactile ---- */
@media (hover: none) and (pointer: coarse) {
    .pic_produit:hover {
        transform: none;
        box-shadow: none;
    }
    .pic_produit:hover img {
        transform: none;
    }
    .button_achat:hover,
    .achat form button:hover {
        transform: none;
    }
    .button_achat:active {
        transform: scale(.98);
    }
}


/* =============================================================================
   PAGE CONTACT — DESIGN MODERNE
   .contact_page > .contact_grid > .contact_card (--info / --form)
============================================================================= */

.contact_page {
    font-family: var(--fp-font);
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 48px;
}

.contact_h1 {
    font-family: var(--fp-font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--fp-dark);
    margin: 0 0 28px 0;
    letter-spacing: -0.3px;
}

.contact_grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 24px;
    align-items: start;
}

/* Carte générique */
.contact_card {
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius);
    box-shadow: var(--fp-shadow-sm);
    overflow: hidden;
}

/* En-tête de carte */
.contact_card_header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--fp-dark) 0%, #2a2a50 100%);
    color: #fff;
    font-family: var(--fp-font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .2px;
}

.contact_icon_header {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: .9;
}

/* Corps carte info */
.contact_info_body {
    padding: 24px;
}

.contact_info_intro {
    font-size: 14px;
    color: var(--fp-dark);
    margin: 0 0 10px;
    line-height: 1.5;
}

.contact_info_list {
    font-size: 13.5px;
    color: var(--fp-gray);
    line-height: 1.7;
    margin: 0 0 20px;
}

.contact_info_cta {
    margin-bottom: 24px;
}

/* Coordonnées */
.contact_info_coords {
    border-top: 1px solid var(--fp-border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact_coord_item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--fp-dark);
}

.contact_coord_item svg {
    width: 18px;
    height: 18px;
    color: var(--fp-green-dark);
    flex-shrink: 0;
}

/* Alerte erreur */
.contact_alert {
    margin: 16px 24px 0;
    padding: 12px 16px;
    background: #fff3f3;
    border: 1px solid #f5c6c6;
    border-radius: var(--fp-radius-sm);
    color: var(--fp-red);
    font-size: 13.5px;
}

/* Formulaire */
.contact_form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact_field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact_field label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fp-dark);
}

.contact_required {
    color: var(--fp-red);
}

.contact_field input[type="email"],
.contact_field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--fp-border);
    border-radius: var(--fp-radius-sm);
    font-family: var(--fp-font);
    font-size: 14px;
    color: var(--fp-dark);
    background: var(--fp-bg);
    transition: border-color .18s, box-shadow .18s;
    resize: vertical;
    outline: none;
}

.contact_field input[type="email"]:focus,
.contact_field textarea:focus {
    border-color: var(--fp-green-dark);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(58,118,222,.12);
}

.contact_field input::placeholder,
.contact_field textarea::placeholder {
    color: var(--fp-gray-light);
}

/* Bouton envoi */
.contact_submit {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact_btn_send {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--fp-green-dark) 0%, #1a5cc8 100%);
    color: #fff;
    border: none;
    border-radius: 99px;
    font-family: var(--fp-font-display);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s;
    box-shadow: 0 4px 14px rgba(58,118,222,.35);
}

.contact_btn_send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58,118,222,.45);
}

.contact_btn_send:active {
    transform: scale(.97);
}

.contact_btn_send svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.contact_required_note {
    font-size: 12px;
    color: var(--fp-gray-light);
    margin: 0;
}

/* Responsive */
@media (max-width: 680px) {
    .contact_grid {
        grid-template-columns: 1fr;
    }

    .contact_h1 {
        font-size: 22px;
    }
}


/* =============================================================================
   PAGE QUI SOMMES-NOUS — DESIGN MODERNE
   .qsn_page > .qsn_card / .qsn_grid_2
============================================================================= */

.qsn_page {
    font-family: var(--fp-font);
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qsn_h1 {
    font-family: var(--fp-font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--fp-dark);
    margin: 0;
    letter-spacing: -0.3px;
}

/* Carte générique */
.qsn_card {
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius);
    box-shadow: var(--fp-shadow-sm);
    overflow: hidden;
}

/* En-tête de carte — même style que contact */
.qsn_card_header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--fp-dark) 0%, #2a2a50 100%);
    color: #fff;
    font-family: var(--fp-font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .2px;
}

.qsn_icon_header {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: .9;
}

/* Corps de carte */
.qsn_body {
    padding: 24px;
}

.qsn_body--legal {
    font-size: 13.5px;
    color: var(--fp-gray);
    line-height: 1.8;
}

/* Textes */
.qsn_text_lg {
    font-size: 15px;
    color: var(--fp-dark);
    line-height: 1.7;
    margin: 0 0 14px;
}

.qsn_text {
    font-size: 14px;
    color: var(--fp-gray);
    line-height: 1.7;
    margin: 0 0 12px;
}

.qsn_text--notice {
    font-style: italic;
    color: var(--fp-gray-light);
    font-size: 13px;
    margin: 0;
}

/* Badges "100% française" / "expédition" */
.qsn_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.qsn_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--fp-bg);
    border: 1.5px solid var(--fp-border);
    border-radius: 99px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--fp-dark);
}

.qsn_badge svg {
    width: 16px;
    height: 16px;
    color: var(--fp-green-dark);
    flex-shrink: 0;
}

/* Photos */
.qsn_photos {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
    justify-content: center;
}

.qsn_photos img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: var(--fp-radius-sm);
    border: 1px solid var(--fp-border);
    box-shadow: var(--fp-shadow-sm);
    object-fit: cover;
    transition: transform .2s, box-shadow .2s;
}

.qsn_photos img:hover {
    transform: translateY(-3px);
    box-shadow: var(--fp-shadow-md);
}

/* Grille 2 colonnes */
.qsn_grid_2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Adresse */
.qsn_adresse {
    font-size: 14px;
    color: var(--fp-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.qsn_map_wrap {
    border-radius: var(--fp-radius-sm);
    overflow: hidden;
    border: 1px solid var(--fp-border);
}

.qsn_map_wrap iframe {
    display: block;
}

/* Carte contact (bas de page) */
.qsn_card--contact .qsn_contact_body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.qsn_contact_cta {
    margin-top: 16px;
}

.qsn_contact_coords {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 24px;
    border-left: 2px solid var(--fp-border);
}

/* Responsive */
@media (max-width: 700px) {
    .qsn_grid_2 {
        grid-template-columns: 1fr;
    }

    .qsn_card--contact .qsn_contact_body {
        grid-template-columns: 1fr;
    }

    .qsn_contact_coords {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--fp-border);
        padding-top: 20px;
    }

    .qsn_h1 {
        font-size: 22px;
    }

    .qsn_photos img {
        max-width: 100%;
    }
}


/* =============================================================================
   PAGE GARANTIE / SAV — notices + contenu juridique
============================================================================= */

/* Notices retour */
.sav_notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--fp-radius-sm);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.sav_notice svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.sav_notice--warning {
    background: #fffbe6;
    border: 1.5px solid #f5d000;
    color: #6b4d00;
}

.sav_notice--warning svg { color: #e6b800; }

.sav_notice--danger {
    background: #fff3f3;
    border: 1.5px solid #f5c6c6;
    color: #7a1a1a;
}

.sav_notice--danger svg { color: var(--fp-red); }

/* Corps garantie */
.garantie_body {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.garantie_section {
    padding: 24px 0;
    border-bottom: 1px solid var(--fp-border);
}

.garantie_section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.garantie_section_title {
    font-family: var(--fp-font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--fp-dark);
    margin: 0 0 14px;
    padding-left: 12px;
    border-left: 3px solid var(--fp-green-dark);
}

.garantie_section p {
    font-size: 13.5px;
    color: var(--fp-gray);
    line-height: 1.75;
    margin: 0 0 10px;
}

.garantie_section strong {
    color: var(--fp-dark);
}

.garantie_list {
    font-size: 13.5px;
    color: var(--fp-gray);
    line-height: 1.75;
    padding-left: 20px;
    margin: 8px 0 12px;
}

.garantie_list li {
    margin-bottom: 6px;
}

.garantie_list ul {
    margin-top: 6px;
    padding-left: 18px;
}

.garantie_article {
    background: var(--fp-bg);
    border-left: 3px solid var(--fp-border);
    border-radius: 0 var(--fp-radius-sm) var(--fp-radius-sm) 0;
    padding: 12px 16px;
    margin: 12px 0;
}

.garantie_article_ref {
    font-family: var(--fp-font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--fp-green-dark);
    margin: 0 0 6px !important;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ============================================================
   FICHE PRODUIT — refonte 2026
   nom_produit__pills · fp-pill · achat-prix-bloc
   achat-stock-badge · achat-reassurance · fp-atouts-strip
   detail_carac-section · detail_nth__key / __val
   ============================================================ */

/* ── Pills (type / brand / stock) ── */
.nom_produit__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.fp-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 1.5;
}

.fp-pill--type {
    background: #e8eaf6;
    color: #3949ab;
}

.fp-pill--brand {
    background: #fce4ec;
    color: #c62828;
}

.fp-pill--stock-ok {
    background: #e8f5e9;
    color: #2e7d32;
}

.fp-pill--stock-ko {
    background: #fff3e0;
    color: #e65100;
}

/* ── Référence fabricant ── */
.nom_produit__ref {
    font-size: 13px;
    color: var(--fp-text-muted);
    margin: 4px 0 8px;
}

/* ── Stars dans nom_produit ── */
.nom_produit__stars {
    margin-top: 6px;
}

/* ── Strip atouts (sous fiche_detail) ── */
.fp-atouts-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0;
    font-family: var(--fp-font);
}

.fp-atout {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius);
    padding: 14px 16px;
    box-shadow: var(--fp-shadow-sm);
}

.fp-atout svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--fp-green-dark);
    margin-top: 2px;
}

.fp-atout strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--fp-dark);
    margin-bottom: 2px;
}

.fp-atout span {
    font-size: 11px;
    color: var(--fp-text-muted);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .fp-atouts-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
    .fp-atouts-strip { grid-template-columns: 1fr; }
    .achat-reassurance { grid-template-columns: 1fr; }
}

/* ===== Liste produits — affiche_article_sous_serie_modele ===== */

/* Titre de la carte */
#titre {
    width: 100%;
    flex: 0 0 100%;
    margin: 0 0 14px 0;
    padding: 0 0 10px 0;
    font-family: var(--fp-font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--fp-dark);
    letter-spacing: -0.2px;
    border-bottom: 1px solid var(--fp-border);
}

/* Carte — conteneur principal */
.rayon_interieur {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius);
    margin-bottom: 12px;
    padding: 16px 20px;
    box-shadow: var(--fp-shadow-sm);
    transition: box-shadow 250ms ease, transform 250ms ease, border-color 250ms ease;
    position: relative;
    overflow: hidden;
    font-family: var(--fp-font);
}

/* Trait coloré animé à gauche */
.rayon_interieur::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--fp-green) 0%, var(--fp-green-dark) 100%);
    border-radius: 3px 0 0 3px;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 250ms ease;
}

.rayon_interieur:hover {
    box-shadow: var(--fp-shadow-md);
    transform: translateY(-2px);
    border-color: #d0d4da;
}

.rayon_interieur:hover::before {
    transform: scaleY(1);
}

/* --- Image produit --- */
.rayon_produit {
    flex: 0 0 160px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px 8px 4px;
    background: var(--fp-bg);
    border-radius: var(--fp-radius-sm);
    margin-right: 20px;
}

.rayon_produit a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rayon_produit img {
    max-width: 140px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 300ms cubic-bezier(.25,.8,.25,1), opacity 200ms ease;
}

.rayon_produit img:hover {
    transform: scale(1.06);
    opacity: 0.92;
}

/* --- Spécifications techniques --- */
.spec_tech {
    flex: 1 1 260px;
    min-width: 200px;
    font-size: 13px;
    color: var(--fp-gray);
    padding-right: 20px;
}

.spec_tech span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px solid #f2f3f5;
    line-height: 1.4;
}

.spec_tech span:last-child {
    border-bottom: none;
}

.spec_tech span .fa-angle-right {
    color: var(--fp-green);
    font-size: 11px;
    flex-shrink: 0;
}

.spec_tech p {
    font-size: 13px;
    color: var(--fp-gray);
    margin: 6px 0 0 0;
}

/* --- Prix --- */
.prix_detail {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    font-family: var(--fp-font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--fp-dark);
    margin: 0 0 6px 0;
    letter-spacing: -1px;
}

.avant_promo_gros {
    font-size: 15px;
    font-weight: 400;
    color: var(--fp-gray-light);
    text-decoration: line-through;
    letter-spacing: 0;
}

.avant_promo {
    font-size: 13px;
    color: var(--fp-gray-light);
    text-decoration: line-through;
    letter-spacing: 0;
}

.apres_promo {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--fp-red);
    background: rgba(231, 76, 60, .08);
    border-radius: 99px;
    padding: 2px 10px;
    letter-spacing: 0;
}

.rayon_prix {
    display: inline-block;
    font-family: var(--fp-font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--fp-dark);
    letter-spacing: -0.5px;
}

/* --- Icônes dispo / livraison --- */
.fa-check-square-o,
.fa-truck {
    color: var(--fp-green);
}

.fa-times {
    color: var(--fp-red);
}

/* --- Zone commande --- */
.rayon_commande {
    flex: 0 0 210px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    padding-left: 20px;
    border-left: 1px solid var(--fp-border);
}

.rayon_commande p {
    font-size: 12px;
    margin: 0;
    color: var(--fp-gray-light);
    line-height: 1.4;
}

.rayon_commande form {
    width: 100%;
}

.rayon_commande span {
    font-size: 12px;
    color: var(--fp-gray);
}

.rayon_commande button {
    display: block;
    width: 100%;
    font-family: var(--fp-font);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--fp-green) 0%, var(--fp-green-dark) 100%);
    border: none;
    border-radius: var(--fp-radius-sm);
    padding: 11px 16px;
    cursor: pointer;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(110, 204, 174, .30);
    transition: filter 200ms ease, transform 150ms ease, box-shadow 200ms ease;
}

.rayon_commande button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(110, 204, 174, .40);
}

.rayon_commande button:active {
    transform: translateY(0);
    filter: brightness(0.97);
}

/* Lien titre */
.lien_noir_14_bold {
    font-family: var(--fp-font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--fp-dark);
    text-decoration: none;
    transition: color 180ms ease;
}

.lien_noir_14_bold:hover {
    color: var(--fp-green-dark);
}

/* Pagination */
.lien_12 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    font-family: var(--fp-font);
    font-size: 13px;
    font-weight: 500;
    color: var(--fp-gray);
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: 8px;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.lien_12:hover {
    background: var(--fp-green);
    color: #fff;
    border-color: var(--fp-green);
}

#liste_complete {
    clear: both;
}

/* =====================================================
   PAGE ACCUEIL — chargeurdeportable
   ===================================================== */

/* ----- Hero banner — pleine largeur ----- */
.banner-hero {
    /* Sortie du conteneur max-width vers pleine largeur */
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 520px;

    background:
        radial-gradient(ellipse 60% 80% at 70% 50%, rgba(93,174,43,.18) 0%, transparent 65%),
        radial-gradient(ellipse 40% 60% at 20% 30%, rgba(58,118,222,.12) 0%, transparent 60%),
        linear-gradient(160deg, #0d1309 0%, #16201a 40%, #0e1a0b 100%);

    overflow: hidden;
    margin-bottom: 32px;
}

/* Grille de points décorative en fond */
.banner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* Ligne lumineuse horizontale */
.banner-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(93,174,43,.2) 30%, rgba(93,174,43,.5) 50%, rgba(93,174,43,.2) 70%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Colonne gauche — texte */
.banner-hero .left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 2;
    padding: 80px 60px 80px 8vw;
}

.banner-hero .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--fp-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--fp-green);
    background: rgba(110, 204, 174, .10);
    border: 1px solid rgba(110, 204, 174, .22);
    border-radius: 99px;
    padding: 6px 16px;
    width: fit-content;
}

.banner-hero .tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fp-green);
    animation: blink-led 2s ease-in-out infinite;
}

@keyframes blink-led {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

.banner-hero h2 {
    font-family: var(--fp-font-display);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -2px;
}

.banner-hero h2 span {
    background: linear-gradient(90deg, var(--fp-green) 0%, #a8f5b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-hero p {
    font-family: var(--fp-font);
    font-size: 16px;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin: 0;
    max-width: 400px;
}

/* Groupe de boutons CTA */
.banner-hero .cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.banner-hero .cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fp-font);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--fp-green) 0%, #4cde80 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 32px;
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
    box-shadow: 0 4px 24px rgba(93,174,43,.4), 0 0 0 0 rgba(93,174,43,.3);
    transition: transform 180ms ease, box-shadow 200ms ease, filter 180ms ease;
}

.banner-hero .cta:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(93,174,43,.55), 0 0 0 6px rgba(93,174,43,.08);
}

/* Colonne droite — visuel */
.banner-hero .right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 520px;
    z-index: 1;
}

.banner-hero .grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(93,174,43,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(93,174,43,.07) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Halo lumineux derrière le SVG */
.banner-hero .circle-bg {
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(93,174,43,.22) 0%, rgba(93,174,43,.06) 40%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.1); opacity: 0.7; }
}

.banner-hero .charger-svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 48px rgba(0,0,0,.6));
    animation: float-charger 6s ease-in-out infinite;
}

@keyframes float-charger {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

/* ----- Trust strip ----- */
.trust-strip {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto 32px auto;
    padding: 0 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: var(--fp-radius-sm);
    padding: 16px 22px;
    flex: 1 1 200px;
    max-width: 300px;
    box-shadow: var(--fp-shadow-sm);
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.trust-item:hover {
    box-shadow: var(--fp-shadow-md);
    transform: translateY(-2px);
}

.trust-item .trust-icon {
    font-size: 22px;
    color: var(--fp-green);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fp-green-soft);
    border-radius: 10px;
}

.trust-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-item strong {
    font-family: var(--fp-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--fp-dark);
}

.trust-item span {
    font-size: 12px;
    color: var(--fp-gray-light);
}

/* ----- Grille catégories ----- */
.grid_accueil {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.grid_item {
    border-radius: 14px;
    overflow: hidden;
    transition: transform 250ms ease, box-shadow 250ms ease;
    box-shadow: var(--fp-shadow-sm);
}

.grid_item:hover {
    transform: translateY(-3px);
    box-shadow: var(--fp-shadow-md);
}

.grid_banniere {
    background: #fff;
    display: flex;
    align-items: stretch;
}

.grid_banniere a {
    display: flex;
    width: 100%;
}

.grid_banniere img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.grid_card {
    box-sizing: border-box;
    background: #fff;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--fp-border);
    grid-column: span 2;
}

.grid-card-icon {
    font-size: 28px;
    color: var(--fp-green);
    margin-bottom: 4px;
}

.grid_card h2 {
    font-family: var(--fp-font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--fp-dark);
    margin: 0;
}

.grid_card p {
    font-family: var(--fp-font);
    font-size: 14px;
    color: var(--fp-gray);
    line-height: 1.6;
    margin: 0;
}

/* ----- Bons plans ----- */
.bon_plans {
    max-width: 1400px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.section-title {
    font-family: var(--fp-font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--fp-dark);
    margin: 0 0 20px 0;
    padding-left: 14px;
    border-left: 4px solid var(--fp-green);
    line-height: 1.2;
}

.bon_plans .complementaire {
    width: 100%;
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    padding-bottom: 10px;
}

/* ----- Marques carousel ----- */
.titre_marque {
    max-width: 1400px;
    margin: 0 auto 16px auto;
    padding: 0 20px;
}

.marque_accueil {
    max-width: 1400px;
    margin: 0 auto 50px auto;
    overflow: hidden;
    padding: 0 20px;
}

.marque-track {
    overflow: hidden;
    position: relative;
}

.marque-track::before,
.marque-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.marque-track::before {
    left: 0;
    background: linear-gradient(to right, var(--fp-bg), transparent);
}

.marque-track::after {
    right: 0;
    background: linear-gradient(to left, var(--fp-bg), transparent);
}

.marque-list {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: scroll-marques 28s linear infinite;
    width: max-content;
}

.marque-list:hover {
    animation-play-state: paused;
}

@keyframes scroll-marques {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.card-accueil {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fp-white);
    border: 1px solid var(--fp-border);
    border-radius: 12px;
    padding: 14px 22px;
    width: 130px;
    height: 70px;
    transition: box-shadow 200ms ease, border-color 200ms ease;
}

.card-accueil:hover {
    box-shadow: var(--fp-shadow-md);
    border-color: #c0c8d0;
}

.card-accueil img {
    max-height: 38px;
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) opacity(.7);
    transition: filter 200ms ease;
}

.card-accueil:hover img {
    filter: grayscale(0) opacity(1);
}

.bon_plans_list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .banner-hero { grid-template-columns: 1fr; min-height: auto; }
    .banner-hero .left { padding: 60px 8vw 40px; text-align: center; align-items: center; }
    .banner-hero .right { min-height: 280px; }
    .banner-hero .charger-svg { width: 160px; height: auto; }
    .banner-hero .circle-bg { width: 240px; height: 240px; }
}

@media (max-width: 680px) {
    .banner-hero .left { padding: 48px 24px 32px; }
    .banner-hero .right { display: none; }
    .banner-hero p { max-width: 100%; }
    .banner-hero .cta-group { justify-content: center; }
    .grid_card { grid-column: span 1; }
}

@media (max-width: 600px) {
    .trust-strip { flex-direction: column; align-items: stretch; }
    .trust-item { max-width: 100%; }
    .grid_accueil { grid-template-columns: 1fr 1fr; }
}

