:root {
    --primary: #0072BC;
    --primary-dark: #005a94;
    --secondary: #333333;
    --accent: #00A3FF;
    --light: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --text: #2c2c2c;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: rgb(14, 90, 141);
}

/* logo trustpilot coté gauche */

/*.floating-trustpilot {*/
/*    position: fixed;*/
/*    left: 20px;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    background: white;*/
/*    border-radius: 8px;*/
/*    padding: 10px;*/
/*    box-shadow: 0 2px 10px rgba(0,0,0,0.15);*/
/*    z-index: 999;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.floating-trustpilot:hover {*/
/*    transform: translateY(-50%) scale(1.05);*/
/*    box-shadow: 0 4px 15px rgba(0,0,0,0.2);*/
/*}*/

/*.floating-trustpilot a {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    text-decoration: none;*/
/*}*/

/*.floating-trustpilot-logo {*/
/*    height: 33px;*/
/*    width: auto;*/
/*    margin-bottom: 5px;*/
/*}*/

/*.floating-trustpilot-text {*/
/*    font-size: 0.8rem;*/
/*    font-weight: 700;*/
/*    color: var(--secondary);*/
/*}*/

/*Bouton navbar sur mobile*/

.mobile-contact-btn {
    display: none; /* Caché par défaut */
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: auto; /* Pousse le bouton à droite */
    margin-right: 20px;
    box-shadow: 0 4px 10px rgba(0,114,188,0.3);
    transition: all 0.3s ease;
}

.mobile-contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/*Navbar*/

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgb(255, 255, 255);
    padding: 0.5rem 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container a {
    text-decoration: none;
}

.logo {
    width: 50px;
    height: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Sections */

section {
    min-height: 100vh;
    padding: 100px 8% 60px;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    z-index: -1;
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Hero Section */

.hero {
    background: linear-gradient(90deg, #0072c6, #000000);
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center; /* Ajouter cette ligne */
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/cover2.webp') center/cover no-repeat;
    opacity: 0.4;
}

.mobile-title {
    display: none;
}

.hero h1 {
    font-size: 4.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #f8f9fa;
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #f8f9fa;
    max-width: 1300px;
    margin: 0 auto 1rem;
}

.hero h3 {
    font-size: 1.9rem;
    font-weight: 500;
    color: #f8f9fa;
    max-width: 850px;
    margin: 0 auto 1.3rem;
    margin-bottom: 2.3rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--primary);
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,114,188,0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.499);
    background: var(--primary-dark);
}

/* Styles pour la section croquis */
.sketch-section {
    background: var(--gray-100);
    padding: 80px 5% 60px;
    text-align: center;
}

.example-container {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.example-item {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.example-item:hover {
    transform: translateY(-5px);
}

.example-item h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.example-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid var(--gray-200);
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.example-image:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,114,188,0.2);
}

/* Pricing Section */

.pricing {
    background: var(--light);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.price-comparison {
    display: grid;
    grid-template-columns: minmax(0, 500px);
    justify-content: center; /* Centrer la grille */
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
}

.price-card {
    padding: 3rem;
    border-radius: 20px;
    background: var(--light);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    padding-bottom: 2rem;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary);
}

.price-card.highlight::before {
    background: var(--primary) !important;
}

/* Ruban coin droit */

.corner-ribbon {
    position: absolute;
    top: -20px;
    right: -5px;
    overflow: hidden;
    width: 150px;
    height: 150px;
    z-index: 10;
}

.corner-ribbon-content {
    position: absolute;
    top: 20px;
    right: -42px;
    transform: rotate(45deg);
    width: 200px;
    background-color: #2196F3;
    color: white;
    text-align: center;
    font-size: 0.8rem; /* Taille réduite pour mieux s'adapter */
    font-weight: 700;
    letter-spacing: 0.5px; /* Espacement des lettres pour lisibilité */
    padding: 8px 0 8px 50px; /* Ajoute 20px de padding à gauche */
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2); /* Ombre du texte pour contraste */
}

.corner-ribbon-content span {
    display: block;
    line-height: 1.2;
}

.price-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

/* Badge Sans Engagement */

.premium-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f0c419, #f1a70e);
    color: #333;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 3px;
    margin-bottom: -10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.5rem 0;
    margin-bottom: 0.2rem;
}

.price-features {
    list-style: none;
    margin: 2rem auto;
    max-width: fit-content;
}

.price-features li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    text-align: left;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Styles pour les méthodes de paiement et le bouton*/

.payment-methods {
    margin-top: 20px;
    text-align: center;
}

.payment-methods p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 12px;
    font-weight: 500;
}

.payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.payment-icon {
    font-size: 1.5rem;
    color: #666;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/*.order-button {*/
/*    display: inline-block;*/
/*    padding: 0.8rem 2rem;*/
/*    background: var(--primary);*/
/*    color: var(--light);*/
/*    text-decoration: none;*/
/*    border-radius: 50px;*/
/*    font-weight: 600;*/
/*    font-size: 1rem;*/
/*    transition: all 0.3s ease;*/
/*    box-shadow: 0 6px 15px rgba(0,114,188,0.25);*/
/*    margin-top: 5px;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*    width: 85%;*/
/*    max-width: 280px;*/
/*}*/

/*.order-button:hover {*/
/*    transform: translateY(-3px);*/
/*    box-shadow: 0 10px 20px rgba(0,114,188,0.4);*/
/*    background: var(--primary-dark);*/
/*}*/

.email-form {
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre les éléments horizontalement */
}

.email-form input {
    width: 100%;
    max-width: 280px;
    padding: 0.8rem;
    border: 2px solid var(--primary); /* Utilise la variable couleur primaire (bleu) */
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
    background: var(--gray-100);
}

.email-form input:focus {
    outline: none;
    border-color: var(--primary-dark); /* Contour plus foncé lors du focus */
    box-shadow: 0 0 5px rgba(0,114,188,0.3); /* Légère ombre lors du focus */
    background: var(--light);
}

.email-submit-btn {
    background: var(--primary);
    color: var(--light);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px; /* La même largeur maximale que l'input */
    box-shadow: 0 6px 15px rgba(0,114,188,0.25);
}

.email-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,114,188,0.4);
    background: var(--primary-dark);
}

.cta-button2 {
    display: inline-block;
    padding: 0.7rem 1.7rem;
    background: var(--primary);
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,114,188,0.3);
}

.cta-button2:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.499);
    background: var(--primary-dark);
}

/* Portfolio Section */

.portfolio {
    background: var(--gray-100);
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changé de 3 à 2 colonnes */
    gap: 2rem; /* Augmenté pour plus d'espace entre les cartes */
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem; /* Ajout d'un padding horizontal */
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    padding: 4px; /* Augmenté de 3px à 6px pour des bordures plus épaisses */
    margin: 0 auto;
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 5px 15px rgba(0, 114, 188, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
    transform: scale(1); /* Changé de 1.02 à 1 pour éliminer les espaces */
    display: block; /* Assure que l'image ne laisse pas d'espace en dessous */
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 114, 188, 0.5);
}

.portfolio-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 10px; /* Réduit l'épaisseur de bordure*/
    overflow: hidden;
}

.portfolio-item-inner a {
    display: block;
    width: 100%;
    height: 100%;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: var(--light);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Process Section */

.process {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
    padding-top: 30px;
}

.process .section-title {
    color: var(--light);
}

.process .section-title::after {
    background: var(--light);
}

.faq-container {
    max-width: 80%;
    margin: 4rem auto 2rem;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light);
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--light);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--light);
    opacity: 0.9;
}

.faq-answer a {
    text-decoration: none;
    color: var(--light);
    font-weight: bold;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #2563EB; /* Couleur plus foncée au survol */
}

/* Supprimer le marqueur des details */

details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

/* Contact Section */

.contact {
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 8rem;
    width: 100%; /* Assure que la section prend toute la largeur disponible */
}

.desktop-only {
    display: block;
}

.contact-container {
    max-width: 600px;
    width: 80%; /* Définir une largeur relative à la section parente */
    margin: 0 auto;
    background: var(--light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact .section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 2.5rem;
}

.contact h3 {
    font-size: 2.4rem;
}

/*.precision {*/
/*    text-align: center;*/
/*    margin-top: -2rem;*/
/*    margin-bottom: 1.5rem;*/
/*    color: var(--secondary);*/
/*}*/

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary);
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--gray-100);
    margin-bottom: 15px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--light);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-button {
    background: var(--primary);
    color: var(--light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0,114,188,0.3);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,114,188,0.4);
    background: var(--primary-dark);
}

.alternative-contact {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--secondary);
    font-size: 0.95rem;
}

.alternative-contact a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.alternative-contact a:hover {
    color: var(--primary-dark);
}

/* Floating Elements */

.floating-element {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.float-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.float-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

/* Styles de navigation */

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-contact {
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--light) !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,114,188,0.3);
}

.nav-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-contact::after {
    display: none;
}

/* Styles du footer */

.footer {
    background: var(--secondary);
    color: var(--light);
    /*padding: 4rem 8% 2rem;*/
    padding: 1rem 8%;
}

.footer-bottom {
    /*padding-top: 2rem;*/
    padding-top: 0; /* Supprime le padding supérieur */
    /*border-top: 1px solid rgba(255,255,255,0.1);*/
    border-top: none; /* Supprime la bordure supérieure si elle existe */
    text-align: center;
    color: var(--gray-200);
    font-size: 0.9rem;
}

/* Floating Elements */

.floating-element {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.float-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.float-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

/* Responsive Design */

@media (max-width: 1200px) {
    
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    
    section {
        padding: 80px 5% 40px;
    }
    
    /*.floating-trustpilot {*/
    /*    display: none;*/
    /*}*/
    
    .mobile-contact-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .price-comparison {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 2rem;
        margin: 2rem auto;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    
    /*.floating-trustpilot {*/
    /*    display: none;*/
    /*}*/
    
    .mobile-contact-btn {
        display: block;
    }
    
    .navbar {
        padding: 1rem 3%;
    }

    .logo-container {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .logo {
        width: 50px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-contact {
        width: 100%;
        text-align: center;
    }
    
    /*.hero {*/
    /*    background: none;*/
    /*}*/

    .desktop-title {
        display: none;
    }
    
    .mobile-title {
        display: block;
        font-size: 1.8rem !important;
        font-weight: 700;
        margin-top: -1.9rem;
        margin-bottom: 2rem;
        color: #f8f9fa;
        line-height: 1.2;
    }

    .hero h2 {
        font-size: 1.4rem;
        color: #f8f9fa;
        max-width: 850px;
        margin: 0 auto 0.1rem;
        /*display:none;*/
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .order-button {
        display: inline-block;
        padding: 0.8rem 2rem;
        background: var(--primary);
        color: var(--light);
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        box-shadow: 0 6px 15px rgba(0,114,188,0.25);
        margin-top: 5px;
        border: none;
        cursor: pointer;
        width: 90%;
        max-width: 340px;
    }
    
    .order-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,114,188,0.4);
        background: var(--primary-dark);
    }
    
    .sketch-section {
        display:none;
    }
    
    .price-comparison {
        margin-bottom: 50px; /* Ajuste cette valeur selon l'espace que vous souhaitez */
    }
    
    .process {
        padding-bottom: 30px; /* Réduire le padding inférieur sur mobile */
        min-height: auto; /* Supprimer la hauteur minimale si définie */
    }
    
    .faq-container {
        margin-bottom: 1rem; /* Réduire la marge inférieure du conteneur FAQ */
    }
    
    .process .section-title {
        margin-bottom: 1.5rem; /* Réduire l'espace après le titre */
    }
    
    .faq-grid {
        gap: 0.8rem; /* Réduire l'espace entre les éléments FAQ */
    }
    
    .faq-container {
        max-width: 90%;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: 1.5rem; /* Espacement réduit entre les cartes */
    }
    
    .portfolio-item {
        width: 100%; /* S'assurer que la largeur est 100% */
        max-width: calc(100vw - 30px); /* Éviter le débordement horizontal */
        margin: 0 auto; /* Centrer la carte */
    }
    
    .portfolio-item img {
        height: 220px; /* Hauteur légèrement réduite sur mobile */
    }
    
    .contact {
        min-height: auto !important; /* Supprime toute hauteur minimale */
        padding-top: 70px !important; /* Réduit l'espace au-dessus */
        padding-bottom: 70px !important; /* Réduit l'espace en-dessous */
    }
    
    /*.desktop-only {*/
    /*    display: none;*/
    /*}*/
    
    /* Uniquement réduire les marges verticales du conteneur */
    .contact-container {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .contact h3 {
        font-size: 2rem;
    }

    .floating-element {
        display: none;
    }
    
    .modal-content {
        width: 98%; /* Augmenté de 95% à 98% */
        height: 80vh; /* Augmenté de 70vh à 80vh */
        margin: 8% auto; /* Réduit de 15% à 8% */
    }
}

@media (min-width: 400px) and (max-width: 768px) {
    
    .price-card {
        margin-bottom: 0 !important;
    }
    
    .pricing + .process {
        margin-top: -20px;
    }
    
    .hero, .portfolio {
        margin-bottom: initial;
        padding-bottom: initial;
    }
}

@media (max-width: 480px) {
    
    section {
        padding: 60px 4% 30px;
    }
    
    /*.floating-trustpilot {*/
    /*    display: none;*/
    /*}*/
    
    .navbar {
        padding: 0.8rem 2%; /* Réduction du padding horizontal de 3% à 2% */
    }
    
    .logo {
        width: 40px; /* Réduction facultative de la taille du logo */
    }
    
    .logo-text {
        font-size: 1rem; /* Réduction facultative de la taille du texte */
    }
    
    .mobile-contact-btn {
        margin-right: 10px; /* Réduction de la marge droite de 20px à 10px */
    }
    
    .mobile-contact-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .desktop-title {
        display: none;
    }
    
    .hero-all {
        margin-bottom: 50px;
    }
    
    .mobile-title {
        display: block;
        font-size: 2.5rem !important;
        font-weight: 700;
        margin-top: -1.9rem;
        margin-bottom: 2rem;
        color: #f8f9fa;
        line-height: 1.2;
        max-width: 600px;
    }

    .hero h2 {
        font-size: 1.3rem;
        color: #f8f9fa;
        max-width: 700px;
        margin: 0 auto 0.1rem;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    
    .hero h3 {
        font-size: 1.8rem;
        /*color: #f8f9fa;*/
        /*max-width: 850px;*/
        /*margin: 0 auto 1.3rem;*/
        margin-bottom: 2rem;
    }
    
    .pricing h2 {
        font-size: 2rem;
    }

    .price-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .order-button {
        display: inline-block;
        padding: 0.8rem 2rem;
        background: var(--primary);
        color: var(--light);
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        box-shadow: 0 6px 15px rgba(0,114,188,0.25);
        margin-top: 5px;
        border: none;
        cursor: pointer;
        width: 90%;
        max-width: 340px;
    }
    
    .order-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,114,188,0.4);
        background: var(--primary-dark);
    }
    
    .portfolio-grid {
        padding: 0 0.5rem; /* Padding réduit */
    }

    .portfolio-item img {
        height: 200px;
    }
    
    .portfolio-overlay {
        display: none;
    }

    .contact-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .submit-button {
        padding: 1rem 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
    
    .process {
        padding-bottom: 85px;
    }
    
    .faq-container {
        max-width: 95%;
    }
    
    .faq-question {
        padding: 1.2rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .contact {
        min-height: auto !important; /* Supprime toute hauteur minimale */
        padding-top: 70px !important; /* Réduit l'espace au-dessus */
        padding-bottom: 70px !important; /* Réduit l'espace en-dessous */
    }
    
    /* Uniquement réduire les marges verticales du conteneur */
    .contact-container {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .contact h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 400px) {
    
    .hero-all {
        margin-bottom: 25px;
    }
    
    .mobile-title {
        display: block;
        font-size: 2.2rem !important;
        font-weight: 700;
        margin-top: -1.9rem;
        margin-bottom: 2rem;
        color: #f8f9fa;
        line-height: 1.2;
        max-width: 600px;
    }

    .hero h2 {
        font-size: 1.2rem;
        color: #f8f9fa;
        max-width: 700px;
        margin: 0 auto 0.1rem;
        margin-top: 35px;
        margin-bottom: 20px;
    }
    
    .hero h3 {
        font-size: 1.6rem;
        /*color: #f8f9fa;*/
        /*max-width: 850px;*/
        /*margin: 0 auto 1.3rem;*/
        margin-bottom: 2rem;
    }
    
    .order-button {
        display: inline-block;
        padding: 0.8rem 1rem;
        background: var(--primary);
        color: var(--light);
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        box-shadow: 0 6px 15px rgba(0,114,188,0.25);
        margin-top: 5px;
        border: none;
        cursor: pointer;
        width: 100%;
        max-width: 340px;
    }
    
    .order-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,114,188,0.4);
        background: var(--primary-dark);
    }
}

@media (max-width: 387px) {
    
    /*.mobile-title {*/
    /*    display: block;*/
    /*    font-size: 2rem !important;*/
    /*    font-weight: 700;*/
    /*    margin-top: -1.9rem;*/
    /*    margin-bottom: 2rem;*/
    /*    color: #f8f9fa;*/
    /*    line-height: 1.2;*/
    /*    max-width: 600px;*/
    /*}*/

    /*.hero h2 {*/
    /*    font-size: 1.2rem;*/
    /*    color: #f8f9fa;*/
    /*    max-width: 300px;*/
    /*    margin: 0 auto 0.1rem;*/
    /*}*/
    
    .email-submit-btn {
        font-size: 0.9rem;
    }
}

    /* Modal */
    
    .modal {
        display: none;
        position: fixed;
        z-index: 1100;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.7);
        animation: fadeIn 0.3s;
    }
    
    .modal-content {
        position: relative;
        background-color: #fefefe;
        margin: 2% auto; /* Réduit de 5% à 2% pour la placer plus haut */
        padding: 0;
        width: 95%; /* Augmenté de 90% à 95% */
        max-width: 1400px; /* Augmenté de 1200px à 1400px */
        height: 85vh; /* Augmenté de 80vh à 85vh */
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        overflow: hidden;
    }
    
    .close-modal {
        position: absolute;
        top: 10px;
        right: 15px;
        width: 36px;
        height: 36px;
        background-color: #e74c3c;
        border-radius: 6px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .close-modal:hover {
        background-color: #c0392b;
        transform: scale(1.05);
    }
    
    .close-modal::before,
    .close-modal::after {
        content: "";
        position: absolute;
        width: 20px;
        height: 2px;
        background-color: white;
    }
    
    .close-modal::before {
        transform: rotate(45deg);
    }
    
    .close-modal::after {
        transform: rotate(-45deg);
    }
    
    #modalIframe {
        width: 100%;
        height: 100%;
        border: none;
    }
    
    @keyframes fadeIn {
        from {opacity: 0}
        to {opacity: 1}
    }