/* ============================================
   RESET & VARIABLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --text-primary: #ffffff;
    --accent-color: #00bfff;
    --accent-hover: #0099cc;
    --section-padding: 80px 20px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============================================
   HEADER
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 191, 255, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background-color: rgba(0, 191, 255, 0.1);
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    padding: 10px;
    margin: 0;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: bold;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-primary);
    opacity: 0.8;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 16px;
    flex-wrap: nowrap;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    padding: 6px 10px;
    border-radius: 5px;
    white-space: nowrap;
}

nav ul li a:hover {
    color: var(--accent-color);
    background-color: rgba(0, 191, 255, 0.1);
}

/* Bouton Contact dans le menu */
nav ul li a.btn-contact {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    padding: 8px 14px;
    border-radius: 5px;
    font-weight: bold;
    transition: var(--transition);
}

nav ul li a.btn-contact:hover {
    background-color: var(--accent-hover);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */
section {
    padding: var(--section-padding);
    max-width: 1200px;
    margin: 0 auto;
}

section:first-of-type {
    margin-top: 90px;
}

section h2 {
    font-size: 28px;
    color: var(--accent-color);
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

section h3 {
    font-size: 20px;
    color: var(--accent-color);
    margin-bottom: 15px;
    margin-top: 30px;
}

/* ============================================
   SECTION INTRODUCTION - HERO
   ============================================ */
#introduction {
    text-align: center;
    padding: 180px 20px 120px;
    background: #000000;
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 !important;
    overflow: hidden;
}

/* Canvas pour l'animation du réseau neuronal */
#neuralNetwork {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100% - 100px);
    z-index: 1;
}

/* Contenu au-dessus de l'animation */
#introduction h2,
#introduction p {
    position: relative;
    z-index: 2;
}

#introduction h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

#introduction p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* ============================================
   BANNIERE AVANT PRESENTATION
   ============================================ */
#presentation-banner {
    max-width: 100%;
    padding: 10px 12px;
}

.presentation-banner-link,
#presentation-banner > img {
    display: block;
    width: 100%;
}

#presentation-banner img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

@media (max-width: 1024px) {
    #presentation-banner {
        padding: 8px 10px;
    }

    #presentation-banner img {
        max-height: 280px;
    }
}

@media (max-width: 768px) {
    #presentation-banner {
        padding: 6px 0;
    }

    #presentation-banner img {
        max-height: 220px;
        border-radius: 0;
    }
}

/* ============================================
   SECTION PRÉSENTATION
   ============================================ */
#presentation {
    background-color: rgba(255, 255, 255, 0.02);
}

.presentation-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.intro-highlight {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-primary);
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.1) 0%, rgba(0, 191, 255, 0.05) 100%);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.2);
}

.presentation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.presentation-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 40px 30px;
    border-radius: 15px;
    border: 2px solid rgba(0, 191, 255, 0.2);
    transition: var(--transition);
    text-align: center;
}

.presentation-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.08) 0%, rgba(0, 191, 255, 0.03) 100%);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 191, 255, 0.5));
}

.presentation-card h3 {
    font-size: 20px;
    color: var(--accent-color);
    margin-bottom: 15px;
    margin-top: 0;
}

.presentation-card p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
}

/* ============================================
   SECTION PRESTATIONS
   ============================================ */
.prestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.prestation-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.prestation-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.3);
}

.prestation-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 0;
}

.prestation-card p {
    font-size: 16px;
    line-height: 1.6;
}

.prestation-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.prestation-card-link:visited,
.prestation-card-link:hover,
.prestation-card-link:focus,
.prestation-card-link:active {
    color: inherit;
}

/* ============================================
   SECTION TERMES TECHNIQUES
   ============================================ */
#termes-techniques {
    background-color: rgba(255, 255, 255, 0.02);
}

.termes-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Onglets des catégories */
.termes-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    border-bottom: 2px solid rgba(0, 191, 255, 0.3);
    padding-bottom: 10px;
}

.terme-tab {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.terme-tab:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: var(--accent-color);
}

.terme-tab.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    transform: translateY(2px);
}

/* Contenu des onglets */
.terme-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.terme-tab-content.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terme-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.terme-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.terme-item h3 {
    margin-top: 0;
    font-size: 20px;
}

.terme-item h4 {
    color: var(--accent-color);
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 10px;
}

.terme-item p, .terme-item ul {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.terme-item ul {
    margin-left: 20px;
    margin-top: 10px;
}

.terme-item ul li {
    margin-bottom: 8px;
}

/* ============================================
   SECTION OCCASION PC
   ============================================ */
#occasion-pc {
    background-color: rgba(255, 255, 255, 0.02);
}

.occasion-presentation {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
    align-items: stretch;
}

.occasion-presentation-photo {
    min-height: 220px;
    max-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 2px solid rgba(0, 191, 255, 0.3);
}

.occasion-presentation-photo img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-height: 340px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 8px;
}

.occasion-stock-message {
    margin-top: 14px;
    padding: 12px 16px;
    border-left: 4px solid var(--accent-color);
    background: rgba(0, 191, 255, 0.08);
    border-radius: 6px;
    font-size: 16px;
}

.occasion-filters {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 191, 255, 0.25);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 30px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.occasion-filters .form-group {
    margin-bottom: 0;
}

.occasion-filters .form-group label {
    color: var(--accent-color);
    font-size: 14px;
    margin-bottom: 6px;
}

.occasion-filters .form-group input,
.occasion-filters .form-group select {
    width: 100%;
    padding: 10px 12px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 14px;
}

.occasion-filters .form-group select option {
    background: #222;
    color: #fff;
}

.occasion-filter-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.occasion-filter-actions .btn {
    padding: 10px 18px;
    font-size: 14px;
}

.btn-reset-filter {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.btn-reset-filter:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.occasion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.occasion-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 2px solid rgba(0, 191, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.occasion-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 191, 255, 0.25);
}

.occasion-card-photo {
    height: 190px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.occasion-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.occasion-photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #9aa4aa;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.occasion-card-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.occasion-card-content h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.occasion-specs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.occasion-specs li {
    margin-bottom: 8px;
    font-size: 15px;
}

.occasion-description {
    margin-top: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.occasion-card-bottom {
    margin-top: auto;
    padding-top: 8px;
}

.occasion-prix {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
}

.occasion-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    min-height: 0;
}

.occasion-promo-badge {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.95), rgba(200, 80, 0, 0.9));
    border-radius: 6px;
    align-self: center;
    line-height: 1.3;
}

.btn-occasion-info {
    flex: 0 0 auto;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    margin-left: auto;
}

.occasion-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #999;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

/* ============================================
   SECTION PARTENAIRES
   ============================================ */
.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partenaire-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.partenaire-card:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.partenaire-card img {
    max-width: 100%;
    max-height: 100px;
    filter: grayscale(100%) brightness(2);
    transition: var(--transition);
}

.partenaire-card:hover img {
    filter: grayscale(0%) brightness(1);
}

/* ============================================
   SECTION TESTIMONIALS
   ============================================ */
#testimonials {
    background: linear-gradient(135deg, rgba(0, 10, 20, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
    overflow: hidden;
}

.testimonials-container {
    margin-top: 40px;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: opacity 0.5s ease;
}

.testimonial-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Délais d'animation pour les 6 cartes */
.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 191, 255, 0.4);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.3) 0%, rgba(0, 100, 150, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: #00bfff;
    border: 2px solid rgba(0, 191, 255, 0.4);
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h3 {
    margin: 0;
    font-size: 18px;
    color: #00bfff;
    font-weight: bold;
}

.testimonial-position {
    margin: 5px 0 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-rating {
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin: 0;
}

/* Responsive Tablette */
@media (max-width: 992px) {
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-info h3 {
        font-size: 16px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
}

/* ============================================
   SECTION CONTACT
   ============================================ */
#contact {
    background-color: rgba(255, 255, 255, 0.02);
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
}

.contact-form .btn {
    display: block;
    margin: 0 auto;
}

.message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.message.success {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

.message.error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff0000;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: rgba(0, 0, 0, 0.95);
    border-top: 2px solid var(--accent-color);
    padding: 40px 20px 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    margin-top: 0;
}

.footer-section p,
.footer-section a {
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    color: var(--accent-color);
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    /* Logo plus petit en mobile */
    .logo-img {
        width: 70px;
        height: 70px;
    }
    
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 400px;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    nav ul li {
        margin-bottom: 15px;
    }

    nav ul li a {
        display: block;
        padding: 10px;
    }

    #introduction {
        padding: 120px 20px 60px;
        min-height: 50vh;
    }

    /* L'animation commence sous le header en responsive */
    #neuralNetwork {
        top: 90px;
        height: calc(100% - 90px);
    }

    #introduction::before {
        background-size: 150% 150%, 180% 180%, 140% 140%, 160% 160%, 170% 170%;
    }

    #introduction h2 {
        font-size: 20px;
    }

    #introduction p {
        font-size: 16px;
    }

    section h2 {
        font-size: 24px;
    }

    .prestations-grid {
        grid-template-columns: 1fr;
    }

    .presentation-cards {
        grid-template-columns: 1fr;
    }

    .intro-highlight {
        font-size: 18px;
        padding: 20px;
    }

    .presentation-card {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section a {
        display: block;
        margin: 0 auto;
    }
    
    .contact-info {
        justify-content: center;
        align-items: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    /* Termes Techniques - Onglets responsive */
    .termes-tabs {
        gap: 8px;
        margin-bottom: 25px;
        justify-content: center;
        flex-wrap: wrap;
        border-bottom: 2px solid rgba(0, 191, 255, 0.3);
        padding-bottom: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .termes-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .terme-tab {
        padding: 10px 16px;
        font-size: 13px;
        flex: 0 0 auto;
        min-width: fit-content;
        white-space: nowrap;
        border-radius: 20px;
        border: 2px solid rgba(0, 191, 255, 0.3);
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }
    
    .terme-tab:hover {
        background: rgba(0, 191, 255, 0.15);
        transform: translateY(-2px);
    }
    
    .terme-tab.active {
        background: var(--accent-color);
        color: #000;
        border-color: var(--accent-color);
        box-shadow: 0 4px 12px rgba(0, 191, 255, 0.4);
        transform: translateY(-2px);
    }
    
    .terme-item {
        padding: 15px;
    }
    
    .terme-item h3 {
        font-size: 18px;
    }
    
    .terme-item h4 {
        font-size: 15px;
    }
    
    .terme-item p,
    .terme-item ul {
        font-size: 14px;
    }

    .occasion-presentation {
        grid-template-columns: 1fr;
    }

    .occasion-presentation-photo {
        min-height: 180px;
    }

    .occasion-presentation-photo img {
        min-height: 160px;
    }

    .occasion-filters {
        padding: 14px;
    }

    .occasion-filter-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   BANNIÈRE PROMOTIONNELLE
   ============================================================ */
#banniere-promo {
    position: relative;
    width: 100%;
    background: #0a0a0a;
    padding: 0 50px;
    box-sizing: border-box;
}

/* ── Carrousel ──────────────────────────────────────────────────────────── */
.banniere-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banniere-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.banniere-slide {
    flex: 0 0 100%;
    position: relative;
    display: block;
    overflow: hidden;
    background: #111;
}

/* Lien wrappant le slide */
a.banniere-slide,
a.banniere-slide:visited {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.banniere-slide:hover .banniere-img-wrap img {
    transform: scale(1.03);
}

/* Image responsive via <picture> */
.banniere-img-wrap {
    width: 100%;
    height: 336px;          /* ≈ ratio 4.06:1 sur 1366px */
    overflow: hidden;
    position: relative;
}
.banniere-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;   /* préserve le texte baked-in côté gauche */
    transition: transform 0.6s ease;
    display: block;
}

/* Overlay dégradé */
.banniere-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.25) 55%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

/* Contenu texte — centré verticalement dans le slide */
.banniere-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    max-width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 20px 68px 28px;
    z-index: 2;
}

.banniere-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    align-self: flex-start;     /* ne prend que la largeur du texte */
}

.banniere-texte {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    margin: 0;
}

/* ── Contrôles de navigation ────────────────────────────────────────────── */
.banniere-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.25s, border-color 0.25s;
    padding: 0;
}
.banniere-nav:hover {
    background: rgba(0, 191, 255, 0.5);
    border-color: #00bfff;
}
.banniere-nav.prev { left: 14px; }
.banniere-nav.next { right: 14px; }

/* ── Indicateurs (dots) ─────────────────────────────────────────────────── */
.banniere-dots {
    position: absolute;
    bottom: 12px;
    right: 20px;
    display: flex;
    gap: 7px;
    z-index: 10;
}
.banniere-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    padding: 0;
}
.banniere-dot.active {
    background: #00bfff;
    border-color: #00bfff;
    transform: scale(1.3);
}

/* ── Responsive — tablette (768 – 1024px) : comportement conservé ───────── */
@media (max-width: 1024px) {
    .banniere-img-wrap { height: 320px; }
    .banniere-content  { padding: 20px 28px; }
    .banniere-texte    { font-size: 18px; }
}

/* ── Responsive — mobile (< 480px) : comportement conservé ─────────────── */
@media (max-width: 480px) {
    #banniere-promo     { padding: 0; }          /* pleine largeur sur mobile */
    .banniere-img-wrap  { height: 260px; }
    .banniere-content   { padding: 14px 18px; max-width: 100%; }
    .banniere-texte     { font-size: 15px; }
    .banniere-badge     { font-size: 10px; padding: 3px 8px; }
    .banniere-nav       { width: 34px; height: 34px; font-size: 14px; }
}
