/* Importation des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* Variables CSS pour la palette de couleurs */
:root {
    --color-bg: #191919;
    --color-accent: #FFDC00;
    --color-text: #FAFAFA;
    --color-bg-secondary: #282828;
    --color-highlight: #FF6F61;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --border-radius: 1rem;
    --border-radius-xl: 2rem;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-accent);
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-accent);
}

h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--color-text);
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-bg-secondary);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--color-highlight);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--color-accent);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-dark {
    background-color: var(--color-bg-secondary);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 60vh;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--color-accent), var(--color-highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-large);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-xl);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.btn-primary:hover {
    background-color: var(--color-highlight);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
}

/* Cartes */
.card {
    background-color: var(--color-bg-secondary);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 220, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--color-accent);
}

.card-title {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--color-text);
    opacity: 0.9;
}

/* Grilles */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--color-bg-secondary);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 220, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 220, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--color-accent);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.service-title {
    color: var(--color-accent);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-highlight);
    margin-bottom: 1rem;
}

/* Processus */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--color-accent);
    z-index: 1;
}

.process-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    border: 4px solid var(--color-bg);
}

.process-step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-step-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Témoignages */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--color-bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    border-left: 4px solid var(--color-accent);
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-accent);
}

.testimonial-company {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Formulaire */
.form-section {
    background-color: var(--color-bg-secondary);
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-accent);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-bg-secondary);
    border-radius: var(--border-radius);
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: rgba(255, 220, 0, 0.5);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 220, 0, 0.2);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(255, 220, 0, 0.1);
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-checkbox {
    margin-top: 0.2rem;
}

.form-checkbox-label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-checkbox-label a {
    color: var(--color-accent);
    text-decoration: none;
}

.form-checkbox-label a:hover {
    text-decoration: underline;
}

.form-submit {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--color-accent);
    color: var(--color-bg);
    border: none;
    border-radius: var(--border-radius-xl);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    outline: none;
}

.form-submit:hover {
    background-color: var(--color-highlight);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.form-submit:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.contact-form {
    background-color: var(--color-bg);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 3;
}

/* Footer */
.footer {
    background-color: var(--color-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--color-bg-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-bg-secondary);
    color: var(--color-text);
    opacity: 0.8;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--color-bg-secondary);
    color: var(--color-text);
    padding: 1.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-large);
    z-index: 10000;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup-content {
    margin-bottom: 1rem;
}

.cookie-popup-actions {
    display: flex;
    gap: 1rem;
}

.cookie-popup button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.cookie-decline {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.cookie-accept:hover {
    background-color: var(--color-highlight);
}

.cookie-decline:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 6rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav {
        display: none;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 8rem;
    }
    
    .hero {
        padding: 8rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out;
}

/* Utilitaires */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
} 