@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Crimson+Pro:wght@300;400;600&display=swap');

:root {
    --primary-blue: #0052CC;
    --secondary-blue: #0065FF;
    --light-blue: #E3F2FD;
    --dark-blue: #001F3F;
    --white: #FFFFFF;
    --off-white: #F8FAFB;
    --text-dark: #1A2332;
    --text-gray: #5A6C7D;
    --border-light: rgba(0, 82, 204, 0.1);
    --shadow: rgba(0, 82, 204, 0.08);
    --gradient-1: linear-gradient(135deg, #0052CC 0%, #0065FF 100%);
    --gradient-2: linear-gradient(135deg, rgba(0, 82, 204, 0.05) 0%, rgba(0, 101, 255, 0.05) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background animé */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.03) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

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

/* Header avec glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px var(--shadow);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: -1px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    padding: 10px 20px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.3);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF4757;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    padding: 100px 40px 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

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

.hero-text {
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 30px;
    letter-spacing: -2px;
}

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

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.stat:nth-child(1) { animation-delay: 0.2s; }
.stat:nth-child(2) { animation-delay: 0.3s; }
.stat:nth-child(3) { animation-delay: 0.4s; }

.stat-number {
    font-family: 'Crimson Pro', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

.hero-visual {
    position: relative;
    opacity: 0;
    animation: fadeIn 1.5s ease 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.visual-card {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 82, 204, 0.1);
    border: 1px solid var(--border-light);
}

.visual-card h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.visual-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-gray);
}

.feature-item::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
}

/* Services Section */
.services {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Crimson Pro', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

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

.service-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 82, 204, 0.15);
    border-color: var(--primary-blue);
}

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

.service-header {
    margin-bottom: 25px;
}

.service-price {
    font-family: 'Crimson Pro', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-price span {
    font-size: 20px;
    color: var(--text-gray);
}

.service-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 10px 0;
    color: var(--text-gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '→';
    color: var(--primary-blue);
    font-weight: 600;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.3);
}

/* Contact Section */
.contact-section {
    padding: 100px 40px;
    background: var(--gradient-2);
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-family: 'Crimson Pro', serif;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.contact-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-text p {
    color: var(--text-gray);
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: white;
    padding: 60px 40px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-family: 'Crimson Pro', serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateY(150%);
    transition: transform 0.5s ease;
}

.cookie-modal.show {
    transform: translateY(0);
}

.cookie-modal h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.cookie-modal p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.cookie-buttons button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--gradient-1);
    color: white;
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 204, 0.3);
}

.btn-refuse {
    background: var(--off-white);
    color: var(--text-dark);
}

.btn-refuse:hover {
    background: var(--light-blue);
}

/* Checkout Page */
.checkout-container {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 40px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.checkout-form {
    background: white;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-light);
}

.form-section {
    margin-bottom: 35px;
}

.form-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.order-summary {
    background: white;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-light);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.order-summary h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.order-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.item-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.item-price {
    color: var(--text-gray);
}

.order-total {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--border-light);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.total-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.total-amount {
    font-family: 'Crimson Pro', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Legal Pages */
.legal-page {
    max-width: 900px;
    margin: 120px auto 60px;
    padding: 0 40px;
}

.legal-page h1 {
    font-family: 'Crimson Pro', serif;
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.legal-page h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.legal-page h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.legal-page p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-page ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-page li {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-content,
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-modal {
        right: 20px;
        left: 20px;
        bottom: 20px;
        max-width: none;
    }
}
