/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 80px; /* Compensation pour le header fixe */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #1F2633;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1F2633 0%, #2A3441 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6F61;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #D1D1D1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #FF6F61;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1F2633 0%, #2A3441 50%, #1F2633 100%);
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,111,97,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(143,227,207,0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text .highlight {
    color: #FF6F61;
    background: linear-gradient(45deg, #FF6F61, #FCE77D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #D1D1D1;
    margin-bottom: 2rem;
}

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

.hero-image {
    position: relative;
    transform: rotate(3deg);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #FF6F61, #FCE77D);
    color: #1F2633;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,111,97,0.3);
}

.btn-secondary {
    background: transparent;
    color: #8FE3CF;
    border: 2px solid #8FE3CF;
}

.btn-secondary:hover {
    background: #8FE3CF;
    color: #1F2633;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 4rem 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #FFFFFF;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #D1D1D1;
    margin-bottom: 3rem;
}

/* Avantages */
.advantages-section {
    background: linear-gradient(135deg, #2A3441 0%, #1F2633 100%);
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transform: skew(-2deg);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.advantage-card:hover {
    transform: skew(0deg) translateY(-10px);
}

.advantage-card:nth-child(even) {
    transform: skew(2deg);
}

.advantage-card:nth-child(even):hover {
    transform: skew(0deg) translateY(-10px);
}

.advantage-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.advantage-card h3 {
    color: #FF6F61;
    margin-bottom: 1rem;
}

/* Services */
.services-section {
    background: linear-gradient(135deg, #1F2633 0%, #2A3441 50%, #1F2633 100%);
}

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

.service-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-card:nth-child(even) {
    transform: rotate(1deg);
}

.service-card:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card.featured {
    transform: rotate(0deg) scale(1.1);
    border: 2px solid #FF6F61;
}

.service-header {
    padding: 1.5rem;
    background: linear-gradient(45deg, #FF6F61, #FCE77D);
    color: #1F2633;
    text-align: center;
}

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-features {
    padding: 2rem;
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #D1D1D1;
}

.service-features li:before {
    content: '✓';
    color: #8FE3CF;
    font-weight: bold;
    margin-right: 10px;
}

/* Approche */
.approach-section {
    background: linear-gradient(135deg, #2A3441 0%, #1F2633 100%);
}

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

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    transform: skew(-1deg);
    transition: transform 0.3s ease;
}

.step:nth-child(even) {
    transform: skew(1deg);
}

.step:hover {
    transform: skew(0deg);
}

.step-number {
    background: linear-gradient(45deg, #FF6F61, #FCE77D);
    color: #1F2633;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: #8FE3CF;
    margin-bottom: 0.5rem;
}

/* Témoignages */
.testimonials-section {
    background: linear-gradient(135deg, #1F2633 0%, #2A3441 100%);
}

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

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 20px;
    transform: rotate(1deg);
    transition: transform 0.3s ease;
    border-left: 4px solid #8FE3CF;
}

.testimonial-card:nth-child(even) {
    transform: rotate(-1deg);
}

.testimonial-card:hover {
    transform: rotate(0deg);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
    color: #D1D1D1;
}

.testimonial-author strong {
    color: #FF6F61;
}

/* FAQ */
.faq-section {
    background: linear-gradient(135deg, #2A3441 0%, #1F2633 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 15px;
    transform: skew(-1deg);
    transition: transform 0.3s ease;
}

.faq-item:nth-child(even) {
    transform: skew(1deg);
}

.faq-item:hover {
    transform: skew(0deg);
}

.faq-item h3 {
    color: #FCE77D;
    margin-bottom: 1rem;
}

/* Contact */
.contact-section {
    background: linear-gradient(135deg, #1F2633 0%, #2A3441 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 20px;
    transform: rotate(-1deg);
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #8FE3CF;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: #FFFFFF;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6F61;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
}

.form-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
}

.checkbox-label a {
    color: #8FE3CF;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
}

.contact-info {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 20px;
    transform: rotate(1deg);
    height: fit-content;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item strong {
    color: #FF6F61;
    display: block;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1F2633 0%, #0F1419 100%);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-section h4 {
    color: #FF6F61;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #D1D1D1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8FE3CF;
}

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

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(45deg, #1F2633, #2A3441);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept {
    background: linear-gradient(45deg, #FF6F61, #FCE77D);
    color: #1F2633;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cookie-accept:hover {
    transform: translateY(-2px);
}

.cookie-info {
    color: #8FE3CF;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 60px; /* Réduire pour mobile */
        overflow-x: hidden; /* Empêcher le défilement horizontal */
    }
    
    body {
        overflow-x: hidden; /* Empêcher le défilement horizontal */
        max-width: 100vw; /* Limiter la largeur à la viewport */
    }
    
    .header {
        padding: 0.5rem 0; /* Réduction de la hauteur du header */
        width: 100%;
        max-width: 100vw;
    }
    
    .hero-section {
        padding: 8rem 0 4rem; /* Augmentation du padding-top pour éviter le chevauchement */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem; /* Padding supplémentaire pour le contenu */
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 50px; /* Encore plus réduit pour très petits écrans */
        overflow-x: hidden; /* Empêcher le défilement horizontal */
    }
    
    body {
        overflow-x: hidden; /* Empêcher le défilement horizontal */
        max-width: 100vw; /* Limiter la largeur à la viewport */
    }
    
    .container {
        padding: 0 15px;
        max-width: 100vw; /* Assurer que le container ne déborde pas */
    }
    
    .hero-section {
        padding: 8rem 0 2rem; /* Augmentation du padding-top pour éviter le chevauchement */
    }
    
    .hero-content {
        padding-top: 3rem; /* Padding supplémentaire pour très petits écrans */
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

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

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.advantage-card,
.service-card,
.testimonial-card,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1F2633;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #FF6F61, #8FE3CF);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #8FE3CF, #FF6F61);
} 