:root {
    --brand-orange: #F68B1F;
    --brand-green: #BED62F;
    --brand-pink: #EC008C;

    --black: #111111;
    --gray-700: #495057;
    --gray-600: #6c757d;
    --gray-300: #dee2e6;
    --gray-100: #f5f6f7;
    --white: #ffffff;

    --radius: .375rem;
}

/* ========================= */
/* BASE */
/* ========================= */

body {
    font-family: 'Inter', sans-serif;
    background: var(--gray-100);
    color: var(--black);
}

section {
    padding: 80px 0;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 700;
    color: var(--black);
}

.section-title {
    font-weight: 700;
}

/* ========================= */
/* LIENS */
/* ========================= */

a {
    color: var(--brand-pink);
    text-decoration: none;
    transition: .2s ease;
}

a:hover {
    color: #c40074;
}

/* ========================= */
/* BOUTON PRINCIPAL */
/* ========================= */

.btn-main {
    background: var(--brand-orange);
    border: none;
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    transition: .2s ease;
}

.btn-main:hover {
    background: #d97700;
    transform: translateY(-2px);
}

/* ================================
   Hero Slider
   ================================ */
section#heroSlider {
    padding-bottom: 0px !important;
}

#heroSlider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Hauteur définie sur carousel-inner pour que les enfants aient un parent de référence */
#heroSlider .carousel-inner {
    width: 100%;
    height: 500px; /* Hauteur fixe — ajuste selon tes besoins */
}

/* NE PAS toucher display sur .carousel-item : Bootstrap le gère */
#heroSlider .carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Image en plein écran dans le slide */
#heroSlider .slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay sombre optionnel pour lisibilité du texte */
#heroSlider .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Contenu textuel superposé à l'image */
#heroSlider .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 900px;
    padding: 0 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Titre */
#heroSlider h1.display-5 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

/* Accroche */
#heroSlider p.lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Bouton CTA */
#heroSlider .btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#heroSlider .btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

/* Indicators */
#heroSlider .carousel-indicators {
    z-index: 3;
}

#heroSlider .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

#heroSlider .carousel-indicators .active {
    background-color: #fff;
}

/* Flèches */
#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    z-index: 3;
}

#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

/* Responsive */
@media (max-width: 992px) {
    #heroSlider .carousel-inner {
        height: 380px;
    }
}

@media (max-width: 768px) {
    #heroSlider .carousel-inner {
        height: 280px;
    }

    #heroSlider h1.display-5 {
        font-size: 1.6rem;
    }

    #heroSlider p.lead {
        font-size: 0.95rem;
    }

    #heroSlider .btn {
        font-size: 0.85rem;
        padding: 0.45rem 0.9rem;
    }
}
/* ========================= */
/* ALTERNANCE FONDS */
/* ========================= */

.bg-white-section {
    background: var(--white);
}

.bg-light-section {
    background: var(--gray-100);
}

.bg-green-section {
    background: var(--brand-green);
}
.color-green {
    color: var(--brand-green);
}
.bg-pink-section {
    background: var(--brand-pink);
}
.color-pink {
    color: var(--brand-pink);
}

.bg-orange-section {
    background: var(--brand-orange);
}
.color-orange {
    color: var(--brand-orange);
}

/* ========================= */
/* CARTES */
/* ========================= */

.card-hover {
    border-radius: var(--radius);
    transition: .3s;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

/* ========================= */
/* PRODUITS */
/* ========================= */

.product-card {
    border-radius: var(--radius);
    background: var(--white);
    transition: .3s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0,0,0,.08);
}

.badge-stock {
    background: var(--brand-green);
    color: var(--black);
    font-weight: 600;
    border-radius: var(--radius);
    padding: 6px 12px;
    font-size: .75rem;
}

.product-card strong {
    font-size: 1.1rem;
}

.product-card .btn-primary {
    background: var(--brand-orange);
    border: none;
    border-radius: var(--radius);
}

.product-card .btn-primary:hover {
    background: #d97700;
}

/* ========================= */
/* HOW IT WORKS */
/* ========================= */

.step-box {
    position: relative;
    background: #f8f9fa;
    padding: 30px 20px 30px 70px; /* espace pour la bande */
    border-radius: var(--radius);
    overflow: hidden;
    text-align: left;
}

/* Bande verticale */
.step-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    background: var(--brand-orange);
    opacity: 0.08; /* léger, élégant */
}

/* Chiffre */
.step-number {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-orange);
}

/* Icône */
.step-icon {
    font-size: 1.8rem;
    color: var(--brand-pink);
    margin-bottom: 10px;
}


/* ========================= */
/* REPAIR */
/* ========================= */

.repair-list {
    list-style: none;
    padding: 0;
}

.repair-list li {
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--gray-700);
}

.repair-list i {
    color: var(--brand-green);
    margin-right: 10px;
}

.repair-image-wrapper {
    background: var(--white);
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
    transition: .3s ease;
}

.repair-image-wrapper:hover {
    transform: translateY(-5px);
}

/* ========================= */
/* TEMOIGNAGES */
/* ========================= */

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    transition: 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.testimonial-role {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ========================= */
/* FOOTER */
/* ========================= */

.footer-modern {
    background: #f8f9fa;
    border-top: 1px solid var(--gray-300);
}

.footer-title {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--brand-pink);
}

.footer-bottom {
    border-top: 1px solid var(--gray-300);
    font-size: 0.85rem;
    color: var(--gray-600);
}
/* PANIER SLIDE */
#cartButton {
    margin-top: 2px;
}
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px; /* caché par défaut */
    width: 350px;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}
/* Modale flat */
.modal-content {
    background-color: var(--white);
}

.modal-header .btn-close {
    filter: invert(0.3);
}

.modal-title {
    color: var(--black);
}

.modal-body label {
    font-weight: 500;
}

.btn-main {
    background-color: var(--brand-orange);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
}

.btn-main:hover {
    background-color: #d97700;
}
.password-toggle {
position: absolute;
top: 72%;
right: 10px;
transform: translateY(-50%);
cursor: pointer;
}
.password-toggle i {
    font-size: 1.1rem;
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.password-toggle:hover i {
    color: var(--brand-pink);
}
/* Bottom bar mobile */
.mobile-bottom-bar {
    z-index: 1050; /* au-dessus du contenu */
}

/* Badge du panier */
.cart-badge {
    font-size: 0.65rem;
    padding: 0.25em 0.45em;
}

.see-all-link {
font-size: 0.9rem;
text-decoration: none;
color: var(--main-color);
font-weight: 500;
transition: 0.2s ease;
}

.see-all-link:hover {
opacity: 0.7;
}
