/* ========================================
   RELOADY - STYLE MODERNE OKLCH
   Design: Tech Startup / Mobile-First
======================================== */

/* === VARIABLES OKLCH (Couleurs futur CSS) === */
:root {
    /* Couleurs principales */
    --primary-blue: oklch(45% 0.19 260);        /* Cobalt profond */
    --accent-yellow: oklch(85% 0.21 85);        /* Jaune Cyber */
    --vibrant-cyan: oklch(70% 0.16 230);        /* Cyan vif */
    --bg-white: oklch(99% 0.01 260);            /* Blanc pur */
    
    /* Nuances */
    --primary-blue-light: oklch(55% 0.15 260);
    --primary-blue-dark: oklch(35% 0.20 260);
    --gray-50: oklch(97% 0.01 260);
    --gray-100: oklch(94% 0.01 260);
    --gray-200: oklch(88% 0.01 260);
    --gray-700: oklch(45% 0.01 260);
    --gray-900: oklch(20% 0.01 260);
    
    /* Espacements */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 64px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px oklch(20% 0.01 260 / 0.08);
    --shadow-md: 0 4px 16px oklch(20% 0.01 260 / 0.12);
    --shadow-lg: 0 8px 32px oklch(20% 0.01 260 / 0.16);
    --shadow-xl: 0 16px 48px oklch(20% 0.01 260 / 0.20);
    
    /* Typography */
    --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* === CONTAINER === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === HEADER === */
.header {
    background: var(--bg-white);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    background: oklch(99% 0.01 260 / 0.95);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    color: var(--primary-blue);
}

.logo i {
    font-size: 28px;
    color: var(--accent-yellow);
}

.nav {
    display: flex;
    gap: var(--spacing-md);
}

.nav a {
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav a:hover {
    color: var(--primary-blue);
    background: var(--gray-50);
}

.btn-header {
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-header:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === HERO SECTION === */
.hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.highlight {
    color: var(--primary-blue);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--accent-yellow);
    opacity: 0.3;
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.badge i {
    color: var(--vibrant-cyan);
    font-size: 18px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--gray-900);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: oklch(82% 0.21 85);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

/* === HERO IMAGE & ANIMATIONS === */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.technician {
    max-width: 90%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(var(--shadow-lg));
}

.floating-icon {
    position: absolute;
    font-size: 48px;
    color: var(--vibrant-cyan);
    opacity: 0.7;
    z-index: 1;
}

.icon-1 {
    top: 10%;
    left: 5%;
    animation: float 4s ease-in-out infinite;
}

.icon-2 {
    top: 20%;
    right: 10%;
    animation: float 5s ease-in-out infinite 0.5s;
    color: var(--accent-yellow);
}

.icon-3 {
    bottom: 20%;
    left: 10%;
    animation: float 4.5s ease-in-out infinite 1s;
}

.icon-4 {
    bottom: 10%;
    right: 5%;
    animation: float 5.5s ease-in-out infinite 1.5s;
    color: var(--primary-blue);
}

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

/* === SIMULATEUR === */
.simulateur {
    padding: var(--spacing-xl) 0;
    background: var(--primary-blue);
}

.simulateur-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.simulateur-card h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.simulateur-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 14px;
}

.form-select {
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px oklch(45% 0.19 260 / 0.1);
}

.form-select:disabled {
    background: var(--gray-50);
    cursor: not-allowed;
}

.price-display {
    background: linear-gradient(135deg, var(--accent-yellow), oklch(82% 0.21 85));
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-md);
}

.price-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

.price-value {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-900);
}

.simulateur-note {
    text-align: center;
    margin-top: var(--spacing-md);
    color: var(--gray-700);
    font-size: 14px;
}

.simulateur-note i {
    color: var(--vibrant-cyan);
}

/* === TARIFS === */
.tarifs {
    padding: var(--spacing-xl) 0;
    background: var(--gray-50);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.tarif-category {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.tarif-marque {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tarif-marque i {
    color: var(--accent-yellow);
}

.tarif-table {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.tarif-row {
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    transition: all 0.3s ease;
}

.tarif-row:hover {
    background: var(--gray-100);
    transform: translateX(4px);
}

.tarif-modele {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.tarif-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tarif-item {
    font-size: 14px;
    color: var(--gray-700);
}

.tarif-item strong {
    color: var(--primary-blue);
    font-size: 16px;
}

/* === SERVICES === */
.services {
    padding: var(--spacing-xl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--vibrant-cyan), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.service-icon i {
    font-size: 36px;
    color: white;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--gray-700);
    line-height: 1.6;
}

/* === BOUTIQUE === */
.boutique {
    padding: var(--spacing-xl) 0;
    background: var(--gray-50);
}

.boutique-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.boutique-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-block {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.info-block i {
    font-size: 32px;
    color: var(--vibrant-cyan);
    flex-shrink: 0;
}

.info-block h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.info-block p {
    color: var(--gray-700);
    line-height: 1.6;
}

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

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

.boutique-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

/* === CTA FINAL === */
.cta-final {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
    background: var(--gray-900);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-yellow);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

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

.footer-col ul li {
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-col ul li:hover {
    opacity: 1;
}

.footer-col ul li a:hover {
    color: var(--accent-yellow);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: oklch(30% 0.01 260);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--vibrant-cyan);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid oklch(30% 0.01 260);
    padding-top: var(--spacing-md);
    text-align: center;
    opacity: 0.6;
    font-size: 14px;
}

/* === ANIMATIONS DE RÉVÉLATION === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .boutique-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: var(--spacing-sm);
        border-top: 1px solid var(--gray-200);
    }
    
    .simulateur-form {
        grid-template-columns: 1fr;
    }
    
    .tarifs-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}
