/* ========================================
   CHRONOMAX - Style Principal
   Coloré & Dynamique - Bleu
   ======================================== */

/* --- VARIABLES --- */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #7c3aed;
    --accent: #06b6d4;
    --gradient: linear-gradient(135deg, #2563eb, #7c3aed);
    --gradient-light: linear-gradient(135deg, #60a5fa, #a78bfa);
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(37, 99, 235, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- BANDEAU PROMO --- */
.promo-bar {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 10px 40px 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    z-index: 1001;
}

.promo-bar p {
    margin: 0;
}

.promo-bar a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 6px;
}

.promo-bar a:hover {
    opacity: 0.8;
}

.promo-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.promo-close:hover {
    opacity: 1;
}

.promo-bar.hidden {
    display: none;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

/* --- GRADIENT TEXT --- */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- BOUTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.logo i {
    color: var(--primary);
    margin-right: 4px;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-light);
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--gradient);
    color: white;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: 10%;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    top: 40%;
    right: 20%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease, badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 16px 6px rgba(245, 158, 11, 0.25), 0 0 0 12px rgba(245, 158, 11, 0.1); }
}

.hero-badge i {
    color: #f59e0b;
    animation: badgeStarSpin 2.5s ease-in-out infinite;
}

@keyframes badgeStarSpin {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.3) rotate(15deg); }
    50% { transform: scale(1) rotate(0deg); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-headline {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    animation: fadeInUp 0.9s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1.2s ease;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: fadeInUp 1.4s ease;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ========================================
   SECTIONS COMMUNES
   ======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   SERVICES PREVIEW (Accueil)
   ======================================== */
.services-preview {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff, #e0e7ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link:hover {
    gap: 12px;
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* ========================================
   POURQUOI NOUS
   ======================================== */
/* ========================================
   TIKTOK SECTION
   ======================================== */
.tiktok-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.tiktok-link {
    color: var(--primary);
    font-weight: 600;
}

.tiktok-link:hover {
    text-decoration: underline;
}

.tiktok-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.tiktok-card {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 9 / 16;
    position: relative;
    width: 200px;
    flex-shrink: 0;
}

.tiktok-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

@media (max-width: 992px) {
    .tiktok-grid {
        flex-wrap: wrap;
    }
    .tiktok-card {
        width: 180px;
    }
}

@media (max-width: 576px) {
    .tiktok-card {
        width: 150px;
    }
}

/* ========================================
   AVIS CLIENTS CARROUSEL
   ======================================== */
.reviews-section {
    padding: 100px 0;
    background: white;
    overflow: hidden;
}

.reviews-slider {
    overflow: hidden;
    margin-top: 10px;
}

.reviews-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
    min-width: 240px;
    max-width: 240px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.review-stars {
    color: #f59e0b;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: flex;
    gap: 2px;
}

.review-text {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 14px;
    font-style: italic;
    white-space: normal;
    word-wrap: break-word;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.8rem;
}

.review-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.reviews-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.review-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-btn:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

@media (max-width: 768px) {
    .review-card {
        min-width: 220px;
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .review-card {
        min-width: 200px;
        max-width: 200px;
    }
}

/* ========================================
   LAISSER UN AVIS
   ======================================== */
.leave-review {
    padding: 30px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.leave-review-card {
    text-align: center;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px 40px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.leave-review-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}


.leave-review-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    animation: badgePulse 2.5s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.3);
}

.leave-review-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.leave-review-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.leave-review-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.leave-review-stars i {
    font-size: 2rem;
    color: #fbbc05;
    transition: transform 0.2s;
    cursor: pointer;
    animation: starPop 0.4s ease both;
}

.leave-review-stars i:nth-child(1) { animation-delay: 0.1s; }
.leave-review-stars i:nth-child(2) { animation-delay: 0.2s; }
.leave-review-stars i:nth-child(3) { animation-delay: 0.3s; }
.leave-review-stars i:nth-child(4) { animation-delay: 0.4s; }
.leave-review-stars i:nth-child(5) { animation-delay: 0.5s; }

.leave-review-stars i:hover {
    transform: scale(1.3) rotate(15deg);
}

@keyframes starPop {
    0% { opacity: 0; transform: scale(0) rotate(-30deg); }
    60% { transform: scale(1.2) rotate(5deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.leave-review-btn {
    background: linear-gradient(135deg, #4285f4, #357ae8);
    border: none;
    font-size: 1.05rem;
    padding: 14px 32px;
}

.leave-review-btn:hover {
    background: linear-gradient(135deg, #357ae8, #2a6cd6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
}

@media (max-width: 768px) {
    .leave-review-card { padding: 35px 24px; }
    .leave-review-card h2 { font-size: 1.4rem; }
    .leave-review-stars i { font-size: 1.6rem; }
}

/* ========================================
   POURQUOI NOUS
   ======================================== */
.why-us {
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 2px solid transparent;
    background: white;
    box-shadow: var(--shadow);
}

.why-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.why-item h3 {
    font-weight: 700;
    margin-bottom: 8px;
}

.why-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   LOCALISATION & HORAIRES
   ======================================== */
.location-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.hours-card,
.map-card {
    background: white;
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
}

.hours-card:hover,
.map-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.hours-card h3,
.map-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.hours-card h3 i,
.map-card h3 i {
    margin-right: 8px;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2px 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.hours-list li span:first-child {
    font-weight: 600;
    white-space: nowrap;
}

.hours-list li span:last-child {
    text-align: right;
    white-space: nowrap;
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li.closed {
    color: #ef4444;
    font-weight: 600;
}

.map-card p {
    color: var(--text-light);
    margin-bottom: 16px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* ========================================
   PAGE HEADER (Services & Contact)
   ======================================== */
.page-header {
    padding: 80px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.page-header-compact {
    padding: 15px 0 8px;
}

.page-header-compact h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ========================================
   SERVICES DETAIL (Page Services)
   ======================================== */
.service-detail {
    padding: 80px 0;
}

.service-detail-alt {
    background: var(--bg-light);
}

.detail-header {
    text-align: center;
    margin-bottom: 50px;
}

.detail-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.2rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.detail-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.detail-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grille réparations */
.repair-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.repair-item {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.repair-item:hover {
    border-left-color: var(--primary);
    transform: translateX(4px);
}

.repair-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.repair-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.repair-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Vente features */
.sale-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sale-item {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.sale-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.sale-item i {
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.sale-item h3 {
    font-weight: 700;
    margin-bottom: 8px;
}

.sale-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Accessoires tags */
.accessories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.accessory-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 16px 28px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: default;
}

.accessory-tag i {
    color: var(--primary);
    font-size: 1.1rem;
}

.accessory-tag:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.accessory-tag:hover i {
    color: white;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item:first-child {
    padding-top: 0;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-item p {
    font-weight: 500;
}

.info-item a {
    color: var(--primary);
    font-weight: 600;
}

.info-item a:hover {
    text-decoration: underline;
}

.contact-hours-card {
    background: var(--bg-light);
    padding: 24px 30px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.contact-hours-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.contact-social h3 {
    font-weight: 700;
    margin-bottom: 12px;
}

.social-links-large a {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
}

/* Formulaire */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: white;
}

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

/* Options d'envoi formulaire */
.send-options {
    display: flex;
    gap: 12px;
}

.btn-send-option {
    flex: 1;
    justify-content: center;
}

.btn-sms-only {
    display: none;
}

@media (max-width: 768px) {
    .btn-sms-only {
        display: inline-flex;
    }

    .send-options {
        flex-direction: column;
    }
}

/* Map pleine largeur */
.map-full {
    width: 100%;
    line-height: 0;
}

.map-full iframe {
    width: 100%;
}

/* ========================================
   BOUTIQUE
   ======================================== */
.shop-filter {
    padding: 30px 0;
    background: white;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.shop-section {
    padding: 60px 0;
}

.shop-section-alt {
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: visible;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-badge.badge-promo {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: promoPulse 1.5s ease-in-out infinite;
}

@keyframes promoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.product-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 10;
    background: var(--gradient);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-image .fallback-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #333;
}

.product-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.product-specs {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 14px;
}

.product-grades {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.grade-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #e9ecf0;
    border-radius: 50px;
}

.grade-price {
    font-weight: 800;
    font-size: 0.95rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grade-item .tarif-badge {
    min-width: 80px;
    font-size: 0.65rem;
    padding: 3px 10px;
}

.price-from {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    background: none;
    -webkit-text-fill-color: var(--text-light);
    color: var(--text-light);
    margin-bottom: 2px;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.product-colors {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    transition: var(--transition);
    cursor: default;
}

.color-dot:hover {
    transform: scale(1.3);
    border-color: var(--primary);
}

.product-card .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   TARIFS REPARATION
   ======================================== */
.tarifs-selector {
    padding: 30px 0 60px;
    background: white;
}

.tarifs-selector .container {
    position: relative;
    z-index: 1;
}

/* Sélection marque */
.brand-selection {
    padding: 60px 0 80px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.brand-card-contact {
    grid-column: 3;
}

.brand-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    min-height: 160px;
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* Carte Autre marque */
.brand-card-contact {
    background: linear-gradient(135deg, #f0f7ff, #e8f0fe);
    flex-direction: column;
    gap: 6px;
    padding: 24px 20px;
}

.brand-contact-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.brand-contact-title {
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: var(--text) !important;
}

.brand-contact-sub {
    font-size: 0.7rem !important;
    color: var(--text-light) !important;
    font-weight: 400 !important;
    line-height: 1.4;
}

.brand-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 6px 16px;
    background: var(--gradient);
    color: white !important;
    border-radius: 50px;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}

.brand-card-contact:hover {
    background: var(--gradient);
}

.brand-card-contact:hover .brand-contact-icon,
.brand-card-contact:hover .brand-contact-title,
.brand-card-contact:hover .brand-contact-sub {
    color: white !important;
}

.brand-card-contact:hover .brand-contact-btn {
    background: white;
    color: var(--primary) !important;
}

.brand-logo {
    width: auto;
    height: 100px;
    max-width: 220px;
    object-fit: contain;
    transition: var(--transition);
    opacity: 0.5;
}

.brand-card:hover .brand-logo {
    opacity: 0.75;
}

.brand-logo-samsung {
    height: 140px;
    max-width: 280px;
}

.page-header .back-to-brands {
    margin-bottom: 16px;
}

.back-to-brands {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 16px;
    transition: var(--transition);
}

.back-to-brands:hover {
    color: var(--primary-dark);
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .brand-card {
        padding: 24px 12px;
        min-height: 100px;
    }

    .brand-card i {
        font-size: 2rem;
    }

    .brand-card img {
        max-height: 70px;
    }

    .brand-logo {
        height: 70px;
    }

    .brand-logo-samsung {
        height: 90px;
    }

    .brand-card-contact {
        grid-column: 1 / -1;
        flex-direction: row;
        min-height: auto;
        padding: 16px 20px;
        gap: 12px;
    }

    .brand-card-contact .brand-contact-sub {
        display: none;
    }
}

/* Barre de recherche modèle */
.search-model-wrapper {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.model-search {
    width: 100%;
    padding: 16px 20px 16px 48px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text);
    background: white;
    transition: var(--transition);
}

.model-search:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.model-search::placeholder {
    color: #9ca3af;
}

.search-model-wrapper .search-hint {
    text-align: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    animation: fadeInDown 0.5s ease;
}

.search-model-wrapper .search-hint i {
    margin-right: 6px;
    color: var(--primary);
}

.model-search.typing-animation {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
    50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.12); }
}

.search-input-wrap {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
    z-index: 2;
    pointer-events: none;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    max-height: 350px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 14px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
    font-weight: 500;
    font-size: 0.95rem;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: linear-gradient(135deg, #eff6ff, #e8f0fe);
}

.search-result-item mark {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
    border-radius: 2px;
    padding: 0 2px;
    font-weight: 700;
}

.search-no-result {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Grille visuelle modèles */
.models-visual-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
    max-width: 100%;
}

.model-visual-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px 16px 20px;
    box-shadow: var(--shadow);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.model-visual-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.model-visual-card img {
    width: auto;
    height: 140px;
    object-fit: contain;
    margin-bottom: 14px;
}

.model-visual-card span {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

@media (max-width: 992px) {
    .models-visual-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .models-visual-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .model-visual-card {
        padding: 20px 12px 16px;
    }

    .model-visual-card img {
        height: 100px;
    }

    .model-visual-card span {
        font-size: 0.85rem;
    }

    .find-model-card {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 14px 20px;
        gap: 12px;
    }

    .find-model-card .find-icon-wrap {
        width: 44px;
        height: 44px;
        margin: 0;
        flex-shrink: 0;
    }

    .find-model-card .find-icon-phone {
        font-size: 1.6rem;
    }

    .find-model-card .find-icon-search {
        font-size: 0.7rem;
    }

    .find-model-card span {
        margin-bottom: 0;
        text-align: left;
    }

    .find-subtitle {
        display: none;
    }
}

@media (max-width: 480px) {
    .models-visual-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .model-visual-card img {
        height: 80px;
    }
}

/* Trouvez mon modèle - carte */
.find-model-card {
    background: linear-gradient(135deg, #eff6ff, #e0e7ff);
    border-radius: var(--radius);
    padding: 30px 16px 20px;
    box-shadow: var(--shadow);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.find-model-card:hover {
    background: var(--gradient);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.find-model-card:hover span,
.find-model-card:hover small,
.find-model-card:hover .find-icon-search,
.find-model-card:hover .find-icon-phone {
    color: white;
}

.find-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.find-icon-phone {
    font-size: 3rem;
    color: var(--primary);
    transition: var(--transition);
}

.find-icon-search {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 1.3rem;
    color: var(--secondary);
    background: white;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.find-model-card span {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 4px;
}

.find-subtitle {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Trouvez mon modèle - modal */
.find-model-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
}

.find-model-overlay.active {
    display: flex;
}

.find-model-modal {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    padding: 24px 20px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.find-model-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.find-model-close:hover {
    background: #e2e8f0;
    color: var(--text);
}

.find-model-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.find-tab {
    padding: 8px 18px;
    border-radius: 50px;
    border: none;
    background: var(--bg-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.find-tab:hover {
    background: #e2e8f0;
}

.find-tab.active {
    background: var(--gradient);
    color: white;
}

.find-model-modal h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    line-height: 1.3;
    font-weight: 800;
}

.find-step {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition);
}

.find-step:hover {
    background: #e8f0fe;
}

.find-step:last-child {
    margin-bottom: 0;
}

.find-step-text {
    flex: 1;
}

.find-step-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 8px;
    background: var(--gradient);
    padding: 3px 10px;
    border-radius: 50px;
}

.find-step-text p {
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.6;
}

.find-step-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

@media (max-width: 480px) {
    .find-model-modal {
        padding: 30px 20px;
    }

    .find-step {
        flex-direction: column;
        text-align: center;
    }
}

.model-select {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232563eb' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    transition: var(--transition);
    text-align: center;
    text-align-last: center;
}

.model-select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.model-select:hover {
    border-color: var(--primary);
}

.model-select optgroup {
    font-weight: 700;
    color: var(--primary);
}

.model-select option {
    font-weight: 500;
    color: var(--text);
    padding: 8px;
}

.tarifs-list {
    padding: 20px 0 80px;
    position: relative;
    overflow: hidden;
}

.tarifs-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.tarifs-list .container {
    position: relative;
    z-index: 1;
}

.tarifs-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    top: 5%;
    right: -100px;
}

.tarifs-bg-shapes .shape-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    left: -80px;
}

.tarifs-bg-shapes .shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 15%;
}

.tarifs-bg-shapes .shape-4 {
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    top: 15%;
    left: 10%;
    animation: float 9s ease-in-out infinite;
}

.tarifs-bg-shapes .shape-5 {
    width: 250px;
    height: 250px;
    background: var(--secondary);
    bottom: 5%;
    right: 5%;
    animation: float 7s ease-in-out infinite reverse;
}

.tarifs-bg-shapes .shape-6 {
    width: 120px;
    height: 120px;
    background: var(--accent);
    top: 35%;
    left: -30px;
    animation: float 11s ease-in-out infinite;
}

.tarifs-bg-shapes .shape-7 {
    width: 180px;
    height: 180px;
    background: var(--gradient);
    bottom: 30%;
    right: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.tarifs-model-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.tarifs-model-title i {
    margin-right: 8px;
}

.tarifs-coming {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    padding: 60px 0;
}

/* Onglets tarifs */
.tarifs-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.tarifs-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 12px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    box-shadow: var(--shadow);
}

.tarifs-tab i {
    font-size: 1.5rem;
    transition: var(--transition);
}

.tarifs-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
}

.tarifs-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.tarifs-tab.active i {
    color: white;
}

.tarifs-tab-all {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 10px;
    padding: 14px 12px;
}

.tarifs-tab-all i {
    font-size: 1.2rem;
}

.tarifs-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tarifs-panel.active {
    display: block;
}

@media (max-width: 768px) {
    .tarifs-tabs {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .tarifs-tab {
        padding: 14px 8px;
        font-size: 0.75rem;
    }
    .tarifs-tab i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .tarifs-tabs {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .tarifs-tab {
        padding: 12px 6px;
        font-size: 0.7rem;
    }
    .tarifs-tab i {
        font-size: 1rem;
    }
}

.tarifs-category {
    margin-bottom: 30px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tarifs-cat-title {
    padding: 22px 24px;
    background: linear-gradient(135deg, #f0f7ff, #e8f0fe);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tarifs-cat-title i {
    font-size: 1.3rem;
}

.tarif-row {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    gap: 16px;
}

.tarif-row:last-child {
    border-bottom: none;
}

.tarif-row:hover {
    background: linear-gradient(135deg, #eff6ff, #e8f0fe);
    transform: scale(1.01);
}

.tarif-info {
    flex: 1;
}

.tarif-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.tarif-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.tarif-warning {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.75rem;
}

.tarif-badge {
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
    display: inline-block;
    flex-shrink: 0;
}

.badge-original {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.badge-premium {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #3730a3;
}

.badge-eco {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.badge-standard {
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    color: #1e40af;
}

.badge-excellence {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    color: #78350f;
}

.badge-saphir {
    background: linear-gradient(135deg, #60a5fa, #1e40af, #1e3a5f);
    color: #ffffff;
    position: relative;
}


.tarif-price {
    font-size: 1.15rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    min-width: 90px;
    text-align: right;
}

.tarif-price-tbd {
    font-size: 0.85rem;
    font-weight: 600;
    background: none;
    -webkit-text-fill-color: var(--text-light);
    color: var(--text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .tarif-row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px 16px;
    }

    .tarif-info {
        width: 100%;
    }

    .tarif-badge {
        order: 1;
    }

    .tarif-price {
        order: 2;
        margin-left: auto;
    }

    .model-tabs {
        gap: 6px;
    }

    .model-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: #cbd5e1;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.footer-logo i {
    color: var(--primary-light);
}

.footer-logo span {
    color: var(--primary-light);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    padding: 6px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li i {
    color: var(--primary-light);
    width: 16px;
}

.footer-col ul a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #64748b;
}

/* ========================================
   COOKIE CONSENT
   ======================================== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 24px;
    z-index: 1500;
    animation: fadeInUp 0.5s ease;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.cookie-icon {
    font-size: 1.8rem;
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 80px;
        padding: 18px;
    }
}

/* ========================================
   WHATSAPP FLOTTANT
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* Bouton Appeler flottant mobile */
.call-float {
    display: none;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
    }

    .call-float {
        display: flex;
        position: fixed;
        bottom: 16px;
        left: 16px;
        width: 54px;
        height: 54px;
        background: var(--gradient);
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.4rem;
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
        z-index: 999;
        transition: var(--transition);
        animation: callPulse 2s ease-in-out infinite;
    }

    .call-float:hover {
        transform: scale(1.1);
        color: white;
    }

    @keyframes callPulse {
        0%, 100% { box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4); }
        50% { box-shadow: 0 4px 24px rgba(37, 99, 235, 0.6), 0 0 0 12px rgba(37, 99, 235, 0.1); }
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablette */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .services-grid,
    .repair-grid,
    .sale-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        gap: 8px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 1rem;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 1.8rem;
        word-break: break-word;
    }

    .hero-headline {
        font-size: 1.1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .services-grid,
    .repair-grid,
    .sale-features {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

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

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

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

    .accessories-list {
        flex-direction: column;
    }

    .accessory-tag {
        justify-content: center;
    }

    .leave-review-card {
        padding: 24px 16px;
    }

    .leave-review-stars i {
        font-size: 1.3rem;
    }

    .tarifs-tab {
        padding: 10px 4px;
        font-size: 0.75rem;
    }

    .tarifs-tab i {
        font-size: 0.95rem;
    }

    .tarifs-tab-all {
        padding: 10px 12px;
    }
}

/* Ultra petit mobile (320px) */
@media (max-width: 360px) {
    .container {
        padding: 0 16px;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .leave-review-card {
        padding: 20px 12px;
    }

    .leave-review-stars i {
        font-size: 1.1rem;
    }

    .tiktok-card {
        width: 120px;
    }

    .tarifs-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .tarifs-tab-all {
        grid-column: 1 / -1;
    }

    .product-badge {
        top: -6px;
        right: -6px;
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}
