/* Base Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #4f46e5;
    --accent-color: #e11d48;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #22c55e;
    
    --font-main: 'Poppins', sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    padding-top: 8rem; /* Ajout de padding pour la navigation fixe */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 2rem;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

section {
    padding: 5rem 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: padding 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2.4rem;
    margin-bottom: 0;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 500;
}

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

.main-nav a.btn-primary {
    color: white;
    background: linear-gradient(45deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 30px;
    padding: 1rem 2rem;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.4rem;
}

.main-nav a.btn-primary:hover {
    color: white;
    background: linear-gradient(45deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.main-nav a.contact-btn {
    background: linear-gradient(45deg, var(--success-color) 0%, var(--primary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.main-nav a.contact-btn:hover {
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--success-color) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.main-nav a.contact-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.main-nav a.contact-btn:hover:before {
    left: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem 0;
}

.hero-content {
    max-width: 700px;
}

.hero h2 {
    font-size: 4.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.hero h3 {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
}

/* Social Proof Section */
.social-proof {
    background-color: white;
    text-align: center;
    padding: 4rem 0;
}

.client-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.client-logo {
    padding: 2rem;
    opacity: 0.7;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 5px;
}

.client-logo:hover {
    opacity: 1;
}

/* Problem/Solution Section */
.problem-solution {
    background-color: #f5f7fa;
    text-align: center;
}

.problem, .solution {
    margin-top: 4rem;
    text-align: left;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.solution {
    margin-top: 3rem;
    border-top: 4px solid var(--success-color);
}

.problem h4, .solution h4 {
    margin-bottom: 2rem;
    color: var(--dark-color);
    text-align: center;
    font-size: 2.4rem;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 100%;
    overflow-x: hidden;
}

.challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.challenge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.challenge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.challenge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: #f0f0f0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.challenge-icon i {
    font-size: 2rem;
}

.money-icon i {
    color: #22c55e;
}

.time-icon i {
    color: #6366f1;
}

.warning-icon i {
    color: #facc15;
}

.thumbs-icon i {
    color: #ef4444;
}

.challenge-content {
    flex: 1;
}

.challenge-content h5 {
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.challenge-content p {
    margin-bottom: 0;
    line-height: 1.5;
}

.problem ul, .solution ul {
    display: grid;
    gap: 1.5rem;
}

.problem li, .solution li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.problem i, .solution i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-top: 0.3rem;
}

.solution i {
    color: var(--success-color);
}

/* Offers Preview Section */
.offers-preview {
    text-align: center;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.offer-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.offer-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.offer-tag {
    position: absolute;
    top: -1.2rem;
    left: 0;
    right: 0;
    background: linear-gradient(45deg, #e11d48, #f43f5e);
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 0.7rem 0;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-header {
    background: var(--dark-color);
    color: white;
    padding: 3rem;
    text-align: center;
}

.offer-header h3 {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 0;
}

.price span {
    font-size: 1.6rem;
    font-weight: 400;
}

.offer-body {
    padding: 3rem;
}

.offer-target {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.offer-body ul {
    margin-bottom: 3rem;
    text-align: left;
}

.offer-body li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0;
    display: flex;
    align-items: center;
}

.offer-body li::before {
    content: "";
    display: none;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Process Section */
.process {
    background-color: #f5f7fa;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.process-step {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    background: var(--primary-color);
    color: white;
    font-size: 2.4rem;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 2rem;
}

/* Testimonials Section */
.testimonials {
    text-align: center;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-author img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.5rem;
}

.author-info p {
    margin-bottom: 0;
    color: var(--gray-color);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

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

.cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary::before {
    background: none;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 6rem 0 2rem;
}

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

.footer-column h3 {
    color: white;
    margin-bottom: 2rem;
}

.footer-column ul {
    display: grid;
    gap: 1rem;
}

.footer-column a {
    color: #b3b3b3;
}

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

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #b3b3b3;
}

/* Bouton "Retour en haut" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    html {
        font-size: 58%;
    }
    
    .hero {
        height: auto;
        padding: 12rem 0 6rem;
    }
    
    .hero h2 {
        font-size: 3.6rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons a {
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        padding: 8rem 2rem 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 3rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .offer-card.featured {
        transform: none;
    }
    
    .offers-grid, .process-steps, .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 6rem 0;
    }
    
    .hero h2 {
        font-size: 3rem;
    }
    
    .hero h3 {
        font-size: 2rem;
    }
    
    .problem, .solution {
        padding: 2rem;
        max-width: 95%;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        width: 95%;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
    }
}