/* ========================
   RESET / BASE
======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}
p{
    font-weight: 600;
    letter-spacing: 1px;
    margin-block: 1em;
}
img {
    max-width: 100%;
    display: block;
}

header#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header#header, footer {
    background-color: #ffffff;
    box-shadow: 0 10px 10px #dddddd30;
    position: relative;
    z-index: 2;
}
header .btn-devis {
    display: inline-block;
}

.btn-devis-responsive {
    display: none;
}

header#header .logo img {
    height: 120px;
}

header#header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

header#header nav ul li a {
    font-weight: 700;
    color: #333;
    transition: 0.3s;
}

header#header nav ul li a:hover {
    color: #284958;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #000;
}
header#header .btn-devis, .btn-hero {
    padding: 10px 20px;
    background: linear-gradient(90deg, #284958, rgba(40, 73, 88, 0.71));
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
}


section#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3em;
}

section#hero .hero-container {
    max-width: 850px;
    padding-right: 2em;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1em;
}

section#hero > img {
    flex: 1;
    box-shadow: 0 0 10px #00000047;
}

H1 {
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
.big-link{
    display: flex;
    justify-content: space-between;
    gap: 0.5em;
}
.big-link a {
    position: relative;
    flex: 1;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    font-size: 2em;
    overflow: hidden;
    box-shadow: 0 0 10px inset #0000003b;
    background-size: cover;
    background-position: center;
    text-shadow: 0 0 10px black;

}
.bg-hero img{
    width: 100%;
}
.bg-hero:before{
    content: "VI";
    font-family: "Oswald", sans-serif;
    position: absolute;
    right: 0;
    top: 0;
    color: #ffffff6b;
    display: block;
    font-size: 200vw;
    font-style: italic;
    line-height: 0.09;
}
.bg-hero{
    position: relative;
    flex: 1;
    max-width: 55%;
    overflow: hidden;
}
.reassurance {
    background-color: #f8f8f8;
    padding: 80px 0;
    text-align: center;
}

.reassurance h2 {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #222;
    letter-spacing: 1px;
}

.reassurance p {
    color: #555;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.1em;
    line-height: 1.6;
    font-weight: 500
}

.stats {
    display: flex;
    justify-content: center;
    gap: 180px;
    flex-wrap: wrap;
}

.stat h3 {
    font-family: "Oswald", sans-serif;
    font-size: 4em;
    color: #284958;
    margin-bottom: 10px;
}

.stat span {
    display: block;
    font-size: 1.1em;
    color: #444;
    letter-spacing: 0.5px;
}
.cta {
    position: relative;
    background: url('../medias/vitalfit-cta.jpg') center/cover no-repeat;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.9), rgba(30,30,30,0.7));
    z-index: 1;
}
.card-img-top {
    min-height: 300px;
    object-fit: contain;
}
.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8em;
    text-align: left;
}
.cta-inner .btn-hero {
    max-width: 250px;
    width: 100%;
    text-align: center;
}
.cta h2 {
    font-family: "Oswald", sans-serif;
    font-size: 3em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #e4e4e4;
}

.cta p {
    font-size: 1.2em;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
}
section.content-text {
    font-family: "Poppins", sans-serif;
    color: #222;
    padding: 60px 20px;
    margin: 60px auto;
    border-radius: 12px;
    line-height: 1.8;
    overflow: hidden;
}

section.content-text h1,
section.content-text h2,
section.content-text h3 {
    font-family: "Oswald", sans-serif;
    color: #284958;
    margin-top: 40px;
    margin-bottom: 15px;
}

section.content-text h1 {
    font-size: 2.3rem;
    text-align: center;
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #28495820;
}

section.content-text h2 {
    font-size: 1.6rem;
    border-left: 4px solid #284958;
    padding-left: 14px;
}

section.content-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2b8a3e;
}

/* ===== IMAGES ===== */
section.content-text img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ===== PARAGRAPHES ===== */
section.content-text p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1.2rem;
    letter-spacing: 0px;
    font-size: 1.3em;
}

/* ===== BLOCS MISE EN VALEUR ===== */
section.content-text .highlight {
    background: #284958;
    color: #fff!important;
    padding: 20px;
    border-left: 4px solid #284958;
    border-radius: 6px;
    margin: 30px 0;
    font-size: 1rem;
}
section.content-text .highlight p{
    color: #fff;
    text-align: center
}

/* ===== LISTES ===== */
section.content-text ul {
    margin: 15px 0 25px;
    padding-left: 25px;
}

section.content-text ul li {
    margin-bottom: 10px;
    position: relative;
    list-style: none;
}

section.content-text ul li::before {
    content: "›";
    color: #284958;
    font-weight: bold;
    margin-right: 8px;
}

/* ===== GRILLE DE VILLES ===== */
section.content-text .cities {
    display: flex;
    gap: 12px;
    margin: 30px 0;
    flex-wrap: wrap;
}

section.content-text .city {
    background: #284958;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: #fff;
    transition: all 0.2s ease-in-out;
    font-size: 1.5em;
    padding: 0 1.9em;
}

section.content-text .city:hover {
    background: #284958;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== LIENS ===== */
section.content-text a {
    color: #284958;
    text-decoration: none;
    transition: color 0.2s ease;
}

section.content-text a:hover {
    color: #2b8a3e;
}
.alert{
    margin: 0;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    section.content-text {
        margin: 40px 15px;
        padding: 30px 20px;
    }

    section.content-text h1 {
        font-size: 1.9rem;
    }

    section.content-text h2 {
        font-size: 1.4rem;
    }

    section.content-text img {
        height: 260px;
    }
}
section.catalogue:before{
    content: "VITALFIT";
    font-family: "Oswald", sans-serif;
    position: absolute;
    left: 0;
    top: 0;
    font-weight:800;
    color: rgba(68,130,126,0.22);
    display: block;
    font-size: 27vw;
    font-style: italic;
    line-height: 0.8;
}
section.catalogue{
    position: relative;
    box-shadow: 0 0 10px inset rgba(0,0,0,0.36);
    padding:8em 0;
    overflow: hidden
}
.card-body {
    box-shadow: 0 0 10px inset #d0dfdf;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 2em !important;
}
.cta-download {
    background: linear-gradient(135deg, #9dbbbb, #2d4d5c);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 5em auto;
}
.cta-download::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
}
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.cta-download h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.cta-download p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}
.cta-download .btn-hero{
    font-weight: 700;
    font-size: 1.5rem;
    padding: 15px 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}
body:not(#page1) header#header {
    background-color: #28495800;
    background-image: url("https://www.transparenttextures.com/patterns/concrete-wall-2.png");
    background-position: left;
}

.breadcrumb {
    font-family: "Poppins", sans-serif;
    display: inline-block;
    margin: auto;
    padding: 3em 0em 0 3em;
}

.breadcrumb ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.95rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-family: "Oswald", sans-serif;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: #aaa;
    font-weight: 600;
}

.breadcrumb a {
    color: #284958;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
body:not(#page1)::before {
    content: "VITALFIT";
    font-family: "Oswald", sans-serif;
    left: -0.1em;
    top: 0.2em;
    color: rgba(0,0,0,0.04);
    display: block;
    font-size: 28vw;
    font-style: italic;
    line-height: 0.85;
    font-weight: 900;
    position: fixed;
    z-index: -1
}

.breadcrumb a:hover {
    color: #1f652f;
    text-decoration: underline;
}

.breadcrumb li:last-child {
    color: #222;
    font-weight: 600;
}
.contact-section {
    position: relative;
    background: linear-gradient(135deg, #2d4d5c, rgba(157, 187, 187, 0.79)), url('../medias/bg-homegym.jpeg') center/cover no-repeat;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}
.product-list {
    margin-top: 40px;
    margin-bottom: 60px;
}

.product-list .card {
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-list .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-list img {
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    background: #1a1a1a;
}

.product-card .card-body {
    padding: 15px 10px;
}
.product-card .btn.btn-hero {
    padding: 6px 30px;
    border: 0;
    margin-top: 1em;
}
.product-card .card-title {
    font-family: "Oswald", sans-serif;
    color: #284958;
    font-size: 1.1rem;
}

.product-card .text-muted {
    font-size: 0.85rem;
}
.contact-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.contact-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.contact-section h2 {
    font-family: "Oswald", sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: #eee;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    outline: none;
    background: rgba(255,255,255,0.9);
    color: #333;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.contact-form .btn-hero {
    align-self: center;

    background: linear-gradient(90deg, #284958, rgba(40,73,88,0.8));
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 15px 50px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.contact-form .btn-hero:hover {
    transform: translateY(-3px);
    background: linear-gradient(90deg, #3c6a7c, #284958);
}
/* ==== MODAL STRUCTURE ==== */
.modal-callback {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
    font-family: "Poppins", sans-serif;
}

.callback-box {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    width: 90%;
    max-width: 815px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.callback-image {
    flex: 1;
    background: #f0f4f5;
    position: relative;
}
.callback-image:before {
    content: "";
    background-image: url('https://vitalfit.fr/theme/assets/medias/logo.png');
    position: absolute;
    inset: 0;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
    background-repeat: no-repeat;
    background-position: center;
}

.callback-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.callback-content {
    flex: 1.2;
    padding: 40px 35px;
    position: relative;
    text-align: center;
}

.callback-content h2 {
    font-family: 'Oswald',sans-serif;
    color: #284958;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.callback-content p {
    font-size: 0.95rem;
    color: #444;
    letter-spacing: 0;
    margin-bottom: 1.8rem;
}

.close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 26px;
    color: #666;
    cursor: pointer;
}
.close:hover {
    color: #000;
}

.label-phone {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #284958;
}

.digits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1px;
    margin-bottom: 25px;
}

.digits .space {
    width: 10px;
}

.digits input {
    width: 34px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    transition: 0.2s ease;
    background-color: #fff;
    box-shadow: 0 0 10px inset #cccccc70;
}

.digits input:focus {
    border-color: #284958;
    background: #fff;
    box-shadow: 0 0 5px rgba(40, 73, 88, 0.4);
    outline: none;
}

.btn-callback {
    background: linear-gradient(90deg, #284958, rgba(40, 73, 88, 0.85));
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease;
    width: 100%;
}

.btn-callback:hover {
    background: linear-gradient(90deg, rgba(40, 73, 88, 0.85), #284958);
}

@media (max-width: 700px) {
    .callback-box {
        flex-direction: column;
        max-width: 95%;
    }
    .callback-content {
        padding: 25px 20px;
    }
    .callback-image {
        height: 160px;
    }
}
#footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
}

.footer-logo img {
    width: 320px;
    filter: brightness(0) invert(1); /* rend le logo blanc */
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.footer-links a,
.footer-legal a {
    color: #ddd;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #64b3b9;
}

.footer-info {
    color: #bbb;
    font-size: 0.95em;
    line-height: 1.8;
}

.footer-info a {
    color: #64b3b9;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2em;
    padding-top: 1.5em;
    font-size: 0.9em;
    color: #888;
}
body:not(#page1) header#header {
    background-color: #28495800;
    background-image: url("https://www.transparenttextures.com/patterns/concrete-wall-2.png");
    background-position: left;
}

/* === FIL D’ARIANE === */
.breadcrumb {
    font-family: "Poppins", sans-serif;
    display: inline-block;
    margin: auto;
    padding: 3em 0 0 3em;
}

.breadcrumb ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.95rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-family: "Oswald", sans-serif;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: #aaa;
    font-weight: 600;
}

.breadcrumb a {
    color: #284958;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #1f652f;
    text-decoration: underline;
}

.breadcrumb li:last-child {
    color: #222;
    font-weight: 600;
}

@media (max-width: 600px) {
    .breadcrumb {
        font-size: 0.9rem;
        padding: 10px 14px;
    }
    .breadcrumb li:not(:last-child)::after {
        margin: 0 6px;
    }
}

/* === SECTION PRODUIT === */
.product-detail {
    display: flex;
    gap: 40px;
    margin: 60px auto;
    max-width: 1200px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.product-gallery {
    flex: 1;
}

.main-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail-list img {
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    flex: 1;
    max-width: 200px;
}

.thumbnail-list img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.product-info {
    flex: 1;
    background: #fafafa8a;
    padding: 25px;
}

.product-title {
    margin-top: 0;
    font-size: 2em;
    color: #284958;
}

.product-description ul {
    margin: 10px 0;
    padding-left: 20px;
}

.btn-primary {
    background: linear-gradient(90deg, #284958, rgba(40, 73, 88, 0.71));
    background-size: 200% 100%;
    background-position: left;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-position 0.4s ease;
    margin-top: 20px;
}

.btn-primary:hover {
    background-position: right;
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    overflow: hidden;
    background-image: url("https://www.transparenttextures.com/patterns/concrete-wall-2.png");
    z-index: 99999999;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    max-width: 1200px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    font-family: "Poppins", sans-serif;
    color: #2c2c2c;
    animation: fadeIn 0.25s ease;
    width: 100%;
    max-height: 90%;
    overflow: auto;
}

.modal-title {
    text-align: center;
    font-size: 1.6rem;
    color: #284958;
    margin-bottom: 25px;
    font-weight: 600;
    font-family: "Oswald", sans-serif;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
    transition: color 0.2s;
}

.modal-close:hover { color: #000; }

.selected-product {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f9fafb;
    border: 1px solid #e1e5e8;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.selected-product img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
}

.selected-product h3 {
    margin: 0;
    color: #284958;
    font-size: 1rem;
    font-weight: 600;
}

.selected-product .small {
    font-size: 0.85rem;
    color: #666;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
/* ----------- Icône devis ----------- */
.quote-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    margin-right: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.quote-icon:hover {
    transform: scale(1.05);
}

/* Icône SVG */
.quote-img {
    width: 28px;
    height: auto;
    filter: grayscale(100%) brightness(0.3);
    transition: filter 0.3s ease;
}
.quote-icon:hover .quote-img {
    filter: grayscale(0%) brightness(0.1);
}

/* Nombre de produits */
.quote-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #dee3e8;
    color: #1e2d35;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 50%;
    padding: 2px 6px;
    line-height: 1;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
/* === VITALFIT PAGE DEVIS === */
.vitalfit-quote {
    font-family: "Poppins", sans-serif;
    background: #f8fafb;
    padding: 60px 0;
}
.vitalfit-quote-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}
.vitalfit-quote-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #284958;
    margin-bottom: 40px;
}

/* --- Résumé --- */
.vitalfit-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #e1e5e8;
    padding: 14px 22px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}
.vitalfit-summary-header p {
    margin: 0;
    font-weight: 500;
    color: #284958;
}

/* --- Liste produits --- */
.vitalfit-quote-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.vitalfit-quote-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e6e9;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.vitalfit-quote-left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.vitalfit-quote-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}
.vitalfit-quote-info h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #222;
}
.vitalfit-quote-info p {
    margin: 4px 0 0;
    color: #666;
    font-size: 0.9rem;
}
.vitalfit-quote-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Formulaires inline --- */
.vitalfit-inline-form {
    display: flex;
    align-items: center;
    gap: 6px;
}
.vitalfit-input-small {
    width: 65px;
    text-align: center;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* --- Boutons inline --- */
.vitalfit-btn-icon {
    background: #284958;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    transition: 0.2s;
}
.vitalfit-btn-icon:hover {
    background: #1f3b46;
}
.vitalfit-btn-danger {
    background: #f4f6f7;
    color: #c0392b;
}
.vitalfit-btn-danger:hover {
    background: #ffecec;
}

/* --- Formulaire coordonnées --- */
.vitalfit-quote-form {
    background: #fff;
    border: 1px solid #e2e6e9;
    border-radius: 12px;
    padding: 30px 30px 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-top: 50px;
}
.vitalfit-quote-form h2 {
    margin-bottom: 25px;
    color: #284958;
}
.vitalfit-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.vitalfit-form-group label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
}
.vitalfit-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

/* --- Boutons principaux --- */
.vitalfit-btn-row {
    margin-top: 30px;
    text-align: right;
}
.vitalfit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}
.vitalfit-btn-primary {
    background: #284958;
    color: #fff;
    padding: 12px 26px;
}
.vitalfit-btn-primary:hover {
    background: #1f3b46;
}
.vitalfit-btn-outline {
    background: transparent;
    color: #284958;
    border: 1px solid #284958;
    padding: 8px 18px;
}
.vitalfit-btn-outline:hover {
    background: #284958;
    color: #fff;
}

/* --- Panier vide --- */
.vitalfit-empty {
    text-align: center;
    padding: 80px 20px;
}
.vitalfit-empty img {
    width: 150px;
    margin-bottom: 25px;
    opacity: 0.85;
}
.vitalfit-empty h2 {
    color: #284958;
    margin-bottom: 10px;
}
.pd-wrapper .product-detail {
    display: flex;
    gap: 50px;
    margin: 70px auto;
    max-width: 1200px;
    flex-wrap: wrap;
    align-items: flex-start;
    font-family: "Poppins", sans-serif;
}

.pd-wrapper  .product-gallery {
    flex: 1;
    min-width: 340px;
}
.pd-wrapper  .main-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.pd-wrapper .thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.pd-wrapper .thumbnail-list img {
    height: 80px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.pd-wrapper .thumbnail-list img:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.pd-wrapper .product-info {
    flex: 1;
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e2e5e8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.pd-wrapper .product-title {
    font-size: 2rem;
    color: #284958;
    margin-bottom: 10px;
    font-weight: 700;
}
.pd-wrapper .product-reference,
.pd-wrapper .product-category {
    font-size: 0.95rem;
    color: #777;
    margin: 3px 0;
}
.pd-wrapper .product-price {
    font-size: 1.1rem;
    margin: 15px 0;
    color: #222;
}
.pd-wrapper .product-description-preview p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
}

.pd-wrapper .product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pd-wrapper .btn-custom {
    width: 100%;
    padding: 14px 0;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.pd-wrapper .btn-primary {
    background: linear-gradient(90deg, #284958, rgba(40, 73, 88, 0.85));
    color: #fff;
}
.pd-wrapper .btn-primary:hover {
    background: #1d3442;
    transform: translateY(-1px);
}
.pd-wrapper .btn-secondary {
    background: #e8ebed;
    color: #333;
}
.pd-wrapper  .btn-secondary:hover {
    background: #d8dcde;
    transform: translateY(-1px);
}

.pd-wrapper  .full-description {
    max-width: 1200px;
    margin: 60px auto 100px;
    padding: 50px 60px;
    border-radius: 14px;
    border: 1px solid rgba(224, 227, 230, 0.6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(245,247,250,0.8));
    backdrop-filter: blur(6px);
}


.pd-wrapper .full-description h2,
.pd-wrapper .full-description h3 {
    color: #284958;
    margin-bottom: 12px;
    font-weight: 600;
}
.pd-wrapper .full-description p,
.pd-wrapper .full-description li {
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
    font-size: 1rem;
}
.pd-wrapper .full-description ul {
    padding-left: 20px;
}

/* Sticky mobile bar */
.pd-wrapper .sticky-quote-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 12px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
    z-index: 10000;
}
.pd-wrapper .sticky-quote-bar .btn-custom {
    font-size: 0.9rem;
    padding: 7px 0;
    border-radius: 10px;
    margin: 0;
}
/* ----------- Encart Leasing ----------- */
.leasing-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f8fafb;
    border: 1px solid #e1e5e8;
    border-left: 5px solid #284958;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 20px 0 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    max-width: 1200px;
    margin: auto;
}
.leasing-icon {
    color: #284958;
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 4px;
}
.leasing-text h4 {
    margin: 0 0 4px;
    color: #284958;
    font-size: 1rem;
    font-weight: 600;
}
.leasing-text p {
    margin: 0;
    color: #333;
    font-size: 0.93rem;
    line-height: 1.5;
}
.leasing-text small {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 0.8rem;
}
/* ===== MODAL QR VitalFit (scopé avec .vf-modalQr_) ===== */
.vf-modalQr {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: "Poppins", sans-serif;
    animation: vfModalQr-fadeIn 0.3s ease forwards;
}

.vf-modalQr__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.vf-modalQr__content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 380px;
    padding: 40px 25px 35px;
    text-align: center;
    transform: translateY(15px);
    animation: vfModalQr-slideUp 0.35s ease forwards;
}

.vf-modalQr__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #284958;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.vf-modalQr__close:hover { transform: scale(1.15); }

.vf-modalQr__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #284958;
    margin-bottom: 6px;
}
.vf-modalQr__subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 26px;
}

/* === Buttons === */
.vf-modalQr__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vf-modalQr__btn {
    display: block;
    padding: 12px 0;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
}

/* Primary */
.vf-modalQr__btn--primary {
    background: linear-gradient(90deg, #284958, rgba(40,73,88,0.85));
    color: #fff;
    box-shadow: 0 5px 16px rgba(40,73,88,0.2);
}
.vf-modalQr__btn--primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* Outline */
.vf-modalQr__btn--outline {
    background: transparent;
    border: 2px solid #02afae;
    color: #02afae;
}
.vf-modalQr__btn--outline:hover {
    background: #02afae;
    color: #fff;
    transform: translateY(-1px);
}

/* Secondary */
.vf-modalQr__btn--secondary {
    background: #f4f6f7;
    color: #1d2b33;
    border: 1px solid #d5dadf;
}
.vf-modalQr__btn--secondary:hover {
    background: #e8ecef;
    transform: translateY(-1px);
}

/* === Animations === */
@keyframes vfModalQr-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes vfModalQr-slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* === Responsive === */
@media (max-width: 480px) {
    .vf-modalQr__content {
        padding: 30px 18px 25px;
    }
    .vf-modalQr__title { font-size: 1.4rem; }
    .vf-modalQr__btn { font-size: 0.95rem; }
}
/* ----------- Responsive ----------- */
@media (max-width: 768px) {
    .product-info .leasing-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
    }
    .leasing-icon {
        font-size: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pd-wrapper .product-detail { flex-direction: column; }
    .pd-wrapper .sticky-quote-bar { display: block; }
}
/* --- Responsive --- */
@media (max-width: 850px) {
    .vitalfit-quote-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .vitalfit-quote-right {
        align-self: flex-end;
    }
    .vitalfit-form-grid {
        grid-template-columns: 1fr;
    }
    .vitalfit-btn-row {
        text-align: center;
    }
}
/* ----------- Responsive header ----------- */
@media (max-width: 768px) {
    .quote-icon {
        margin-right: 8px;
    }
    .quote-img {
        width: 25px;
    }
    .quote-count {
        top: -5px;
        right: -5px;
        font-size: 0.65rem;
    }
}
@media (max-width: 500px) {
    .form-grid { grid-template-columns: 1fr; }
}

.buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-submit, .btn-secondary {
    flex: 1;
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.25s, transform 0.15s;
}

.btn-submit {
    background: #284958;
    color: #fff;
}

.btn-submit:hover {
    background: #1e3644;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #e1e5e8;
    color: #333;
}

.btn-secondary:hover {
    background: #cfd5d9;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -48%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}
.quote-list {
    margin-bottom: 25px;
}

.quote-list h3 {
    font-size: 1.1rem;
    color: #284958;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    font-family: "Oswald", sans-serif;
}

/* Variante compacte du bloc produit */
.selected-product.compact {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fdfdfd;
    border: 1px solid #e1e5e8;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 10px;
    transition: background 0.2s, box-shadow 0.2s;
}

.selected-product.compact:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.selected-product.compact img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.selected-product.compact h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #284958;
}

.selected-product.compact .small {
    font-size: 0.85rem;
    color: #666;
}

/* Suppression (croix) */
.delete-form {
    margin: 0;
}

.delete-item {
    background: none;
    border: none;
    color: #b20000;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
    transition: transform 0.15s ease, color 0.2s ease;
}

.delete-item:hover {
    transform: scale(1.2);
    color: #ff0000;
}

/* Petit champ quantité */
.quote-options.small {
    display: flex;
    align-items: center;
}

.quantity-mini {
    width: 60px;
    text-align: center;
    background: #f4f6f7;
    border: 1px solid #dcdfe1;
    border-radius: 6px;
    padding: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}
#catalogue .container {
    z-index: 1;
    position: relative;
}

/* --- Écrans ≤ 992px (tablette paysage) --- */
@media (max-width: 992px) {
    .product-detail {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
        align-items: center;
    }

    .product-gallery,
    .product-info {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .product-info {
        padding: 20px;
        background: #fafafa;
        border-radius: 10px;
    }

    .product-title {
        font-size: 1.6em;
        text-align: center;
    }

    .product-description {
        font-size: 0.95rem;
    }

    .btn-primary {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }
}

/* --- Écrans ≤ 768px (tablette portrait / petit laptop) --- */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 1.5em 1em;
        text-align: center;
    }

    .breadcrumb ol {
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-image {
        border-radius: 8px;
    }

    .thumbnail-list {
        justify-content: center;
        flex-wrap: wrap;
    }

    .thumbnail-list img {
        height: 70px;
        max-width: 120px;
    }

    .modal-content {
        padding: 20px;
        width: 95%;
        max-height: 90vh;
    }

    .modal-title {
        font-size: 1.3rem;
        margin-top: 10px;
    }

    .selected-product img {
        width: 60px;
        height: 60px;
    }

    .selected-product h3 {
        font-size: 1rem;
    }

    .buttons {
        flex-direction: column;
    }

    .btn-submit,
    .btn-secondary {
        width: 100%;
    }
}

/* --- Écrans ≤ 480px (smartphones) --- */
@media (max-width: 480px) {
    .product-detail {
        margin: 30px auto;
        padding: 0 10px;
    }

    .product-title {
        font-size: 1.3em;
        margin-bottom: 0.5em;
    }

    .product-info {
        padding: 15px;
    }

    .btn-primary {
        padding: 10px;
        font-size: 0.9rem;
    }

    .modal-content {
        width: 94%;
        padding: 15px;
    }

    .selected-product {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .selected-product img {
        width: 100%;
        height: auto;
        max-height: 180px;
        object-fit: contain;
    }

    .quote-list .selected-product.compact {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    input, select, textarea {
        font-size: 1rem;
    }
}

@media (max-width: 1400.98px) {
    section#hero .hero-container {
        max-width: 657px;
        padding-right: 5em;
    }
    .cta-inner{
        max-width: 1200px;
    }
}

@media (max-width: 1299.98px) {
    .bg-hero {
        max-width: 100%;
        max-height: 50vh;
    }
    .bg-hero::before {
        font-size: 160vw;
    }
    section#hero{
        flex-direction: column;
    }
    section#hero .hero-container {
        max-width:100%;
        padding-right: inherit;
        padding: 2em 6em;
    }
    .big-link a {
        flex: inherit;
        width: calc(50% - 0.125em);
    }
    .cta-inner{
        display: flex;
        flex-direction: column;
        max-width: 90%;
        text-align: center;
        gap: 0;
    }
    .big-link{
        flex-wrap: wrap;
    }
}
@media (max-width: 1199.98px) {
    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: rgba(255, 255, 255, 0.95);
        text-align: center;
        padding: 1rem 0;
        box-shadow: 0 4px 10px inset rgba(0,0,0,0.1);
        z-index: 999;
        height: calc(100vh - 120px);
        font-size: 1.3em;
        transition: all 0.3s ease;
    }
    header nav  ul {
        flex-direction: column;
        gap: 1rem;
    }

    header nav  ul li a {
        display: block;
        padding: 0.5rem 1rem;
    }

    /* Affiche le bouton burger */
    .menu-toggle {
        display: block;
    }

    /* Quand on active le menu */
    header#header nav.active {
        display: block;
    }

    /* Ajuste l’alignement général */
    .header-container {
        position: relative;
        justify-content: space-between;
        align-items: center;
    }
    /* Cache le bouton principal */
    header .btn-devis {
        display: none;
    }

    /* Affiche celui intégré dans le menu */
    .btn-devis-responsive {
        display: block;
    }
    header .btn-devis-responsive  .btn-devis{
        display: inline-block;
    }
    header#header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
        padding: 0 3em;
    }
    #catalogue .carousel-item .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
/* MODAL IMAGE */
.img-modal {
    display: none; /* caché par défaut */
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(3px);
    transition: opacity 0.3s ease;
}

/* IMAGE DANS LE MODAL */
.img-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    animation: zoomIn 0.3s ease;
}

/* ANIMATION D'OUVERTURE */
@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* BOUTON DE FERMETURE */
.img-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 42px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.img-close:hover {
    color: #ccc;
    transform: scale(1.1);
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .img-modal-content {
        max-width: 95%;
        max-height: 80vh;
    }
    .img-close {
        top: 10px;
        right: 20px;
        font-size: 36px;
    }
    body:not(#page1)::before {
        top: 1em;
    }
}

@media (max-width: 991.98px) {
    .stats{
        gap: 100px;
    }
}

@media (max-width: 767.98px) {
    .cta{
        font-size: 0.75em;
    }
    .cta-download h2{
        font-size: 2rem;
    }
    .cta-download p {
        font-size: 1rem;
    }
    .product-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .breadcrumb ol {
        font-size: 0.9em;
    }
    #catalogue .carousel-item .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    header#header .container{
        padding: 0 1em;
    }
    header#header .logo img {
        height: 120px;
        object-position: -40px;
    }
    section#hero .hero-container{
        padding: 2em 1em;
    }
    .big-link a{
        width: 100%;
    }
    .cta{
        padding: 6em 0;
    }
    .cta-download .btn-hero{
        font-size: 1rem;
    }

    .footer-links ul, .footer-legal ul {
        margin: 0;
        flex-direction: column;
        padding: 3em 0;

        text-align: left;
    }
    .footer-links{
        width: 100%;
    }
}