/* Variables globales (Couleurs, typographie, espacements, ombres) */
:root {
    /* Couleurs principales */
    --primary: #F5F5F5;
    --secondary: #FFD700;
    --light: #F5F5F5;
    --dark: #353535;
    --white: #FFFFFF;
    --footer-bg: #222222;
    --blue:rgb(11 85 140 / 70%);
    --orange: #ff9700;

    /* Typographie */
    --font-title: 'Montserrat', sans-serif; /* Pour les titres */
    --font-body: 'Roboto', sans-serif; /* Pour le texte courant */
    --font-accent: 'Open Sans', sans-serif; /* Pour les citations et accentuations */
    --font-size-base: 18px;
    --font-size-large: 3rem;
    --font-size-medium: 1.25rem;

    /* Espacements */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 60px;

    /* Ombres */
    --box-shadow: 5px 4px 19px rgba(0, 0, 0, 0.2);
}

/* Réinitialisation universelle */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

/* Styles de base */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit; /* Utilisation de la couleur héritée */
}

h1, h2, h3 {
    font-family: var(--font-title);
}

p, li, span {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
}

.cta-button {
    font-family: var(--font-accent);
}

h1, h2 {
    margin: 0;
}

/* Header styles */
.header {
    position: relative; /* Position relative pour contenir l'overlay */
    height: 500px;
    background-color: transparent; /* Fond transparent par défaut */
    background-image: url("../images/bureau.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; /* L'image ne se répète pas */
    justify-content: center;
    align-items: flex-start;
  
}

/* Overlay */
.header-overlay {
    position: absolute;
    top: 0; /* L'overlay commence en haut */
    left: 0;
    right: 0;
    bottom: 0; /* L'overlay occupe toute la hauteur du header */
    background: rgb(11 85 140 / 70%);
    width: 100%; /* Largeur complète */
    height: 100%; /* Occupe toute la hauteur du header */
}

    /* Bouton de fermeture */
    .close-menu {
        display: none; /* Caché par défaut */
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
        background: none;
        border: none;
        color: var(--white);
        cursor: pointer;
        z-index: 10000; /* Devant tout le reste */
    }

    /* Afficher le bouton de fermeture lorsque le menu est ouvert */
    .navbar.open .close-menu {
        display: block;
    }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between; /* Logo à gauche et menu à droite */
    align-items: center;
    width: 100%;
    padding: 10px 20px; /* Espacement horizontal */
}


.navbar img {
    max-height: 40px; /* Limite la taille du logo */
}

.navbar ul {
    display: flex;
    list-style: none;
    padding: 0;
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    color: var(--white);
    font-size: 1.125rem;
}

/* Ajouter un peu de style au survol des liens de la navbar */
.navbar ul li a:hover {
    color: var(--primary);
}
/* Contenu du header */
.header-content h1 {
    font-size: var(--font-size-large);
}

.header-content p {
    font-size: var(--font-size-medium);
}

/* Menu Burger */
.burger-menu {
    display: none; /* Caché par défaut */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.burger-bar {
    height: 4px;
    width: 100%;
    background-color: var(--white);
    border-radius: 4px;
}


/* Footer styles */
footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: var(--spacing-md);
    text-align: center;
}

footer a {
    color: #ccc;
}

/* Section styles */
.intro {
    padding: var(--spacing-xl);
    text-align: center;
  
}

.intro h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color:var(--light) !important ;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color:var(--light) !important ;
}

.intro p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color:var(--light) ;
}

.cta-button {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: transparent;
    color: #fff; /* Texte blanc */
    border: 2px solid #edf1f4; /* Bordure bleue */
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.cta-spacing {
    margin-top: 64px;
}

.cta-button:hover {
    background-color: var(--dark);
}

/* Conteneur principal */
.container-mention {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa; /* Légèrement gris pour adoucir le fond */
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.container-mention h1{
    font-size: 23px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Section contenant les mentions légales et la politique de confidentialité */
.legal-section {
    margin-top: 20px;
}

/* Bloc de contenu */
.legal-content {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 3px solid #333; /* Liseré sombre à gauche pour démarquer chaque section */
    background-color: #ffffff; /* Fond blanc pour garder la lisibilité */
    border-radius: 3px;
}

/* Titres */
.legal-content h2 {
    font-size: 18px;
    font-weight: bold;
    color: #111; /* Noir profond */
    margin-bottom: 10px;
}

/* Texte */
.legal-content p {
    font-size: 14px; /* Petite taille de texte */
    line-height: 1.6;
    color: #222; /* Noir légèrement atténué */
    margin-bottom: 8px;
}

/* Texte en gras */
.legal-content p strong {
    font-weight: 600;
    color: #000; /* Noir plus profond pour les éléments importants */
}

/* Liens */
.legal-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}
/* Suppression des puces des listes */
.legal-content ul {
    list-style-type: none; /* Supprime les points */
    padding-left: 0; /* Supprime l’indentation par défaut */
}

/* Optionnel : Ajout d'un espacement entre les éléments de liste */
.legal-content ul li {
    margin-bottom: 5px;
}



/* Container pour gérer l'espace et aligner les éléments */
.container_80 {
    display: flex;
    width: 80%;
    margin: 0 auto;
    height: auto;
    justify-content: center; /* Centrage horizontal */
    align-items: center; /* Centrage vertical */
    gap: 20px; /* Espace entre texte et image */
    flex-wrap: wrap; /* Permet de réorganiser les éléments en colonne sur petits écrans */
    padding: var(--spacing-sm); /* Ajout d'un padding */
}

/* Article contenant le texte */
.text-content {
    flex: 1; /* Le texte prend l'espace restant */
    max-width: 50%; /* Limite la largeur du texte à 50% */
    font-size: 1.1rem; /* Taille de texte ajustée */
    color: var(--dark); /* Couleur de texte */
    margin-right: var(--spacing-lg); /* Espace à droite du texte */
}

/* Article contenant l'image */
.image-content {
    flex: 1; /* L'image prend l'espace restant */
    max-width: 50%; /* Limite la largeur de l'image à 50% */
    display: flex;
    justify-content: center; /* Centrage de l'image horizontalement */
}

/* Responsive design : ajustement sur les petits écrans */
@media (max-width: 768px) {
    .container_80 {
        flex-direction: column; /* Les éléments passent en colonne sur petits écrans */
        gap: 20px; /* Maintien de l'espace entre les éléments */
    }

    .text-content, .image-content {
        max-width: 100%; /* Les éléments prennent toute la largeur sur mobile */
    }
}

/* Image responsive : elle ne déborde pas */
.image-content img {
    width: 100%; /* L'image prend toute la largeur de son conteneur */
    height: auto; /* Maintient le ratio de l'image */
    border-radius: 8px; /* Arrondi des bords de l'image pour un effet moderne */
}


.highlight {
    font-weight: bold; /* Gras pour attirer l'attention */
    color: inherit; /* Garde la couleur du texte pour rester subtil */
}

/***************** section atout home.html *******************/

.container_80_atout{
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background-color: var(--white);
}

/* Container des atouts */
.container_atout {
    display: flex;
    flex-direction: column; /* En colonne pour aligner les sections */
    gap: var(--spacing-lg); /* Espacement entre les sections */
    padding: var(--spacing-lg);
}

/* Introduction des atouts */
.intro-atout {
    display: flex;
    flex-direction: row; /* Organisation en colonne */
    justify-content: space-around;
    align-items: flex-start; /* Alignement à gauche */
    gap: var(--spacing-sm); /* Espacement entre les éléments */
    text-align: left;
}

.intro-content-flex-atout{
    display: flex;
    align-items: center;
    gap: 15px;
}

.intro-content-flex-atout h3 {
    text-transform: uppercase; /* Met le texte en majuscules */
    color: var(--blue); /* Applique la couleur bleue définie dans les variables */
    font-family: var(--font-title); /* Utilise la typographie des titres */
    font-size: 1.6rem; /* Taille ajustée */
    margin: 0; /* Supprime les marges par défaut */
}
.intro-content-atout h4 {
    text-transform: uppercase; /* Met le texte en majuscules */
    color: var(--dark); /* Applique la couleur bleue définie dans les variables */
    font-family: var(--font-title); /* Utilise la typographie des titres */
    font-size: 1.8rem; /* Taille ajustée */
    margin-top: -17px;
   
}

.intro-content-atout .line {
    width: 80px;
    height: 3px;
    background-color: var(--orange);
    margin-top: var(--spacing-sm);
}

.description-atout {
    font-size: 1rem;
    color: var(--dark);
    font-weight: bold;
    margin-top: var(--spacing-md);
}

.description-atout-mt{
    margin-top: -10px;
}
/* Atouts : lignes */
.row-atout-1 {
    display: flex;
    flex-direction: row; /* Les cartes sont alignées en ligne */
    justify-content: center; /* Centre les cartes dans la section */
    gap: var(--spacing-sm); /* Réduit l'espacement entre les cartes */
    flex-wrap: wrap; /* Permet de passer en colonne sur petit écran */
    margin-top: var(--spacing-lg); /* Ajoute un espacement au-dessus */
    transform: translateX(-100px); /* Décale légèrement la ligne vers la gauche */
}
.row-atout-2 {
    display: flex;
    flex-direction: row; /* Les cartes sont alignées en ligne */
    justify-content: center; /* Centre les cartes dans la section */
    gap: var(--spacing-sm); /* Réduit l'espacement entre les cartes */
    flex-wrap: wrap; /* Permet de passer en colonne sur petit écran */
    margin-top: var(--spacing-lg); /* Ajoute un espacement au-dessus */
    transform: translateX(100px); /* Décale légèrement la ligne vers la gauche */
}

/* Atouts : cartes */
.cards-atout {
    flex: 1;
    padding: var(--spacing-md);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: 8px;
    text-align: center;
    max-width: 280px; /* Réduit légèrement la largeur des cartes */
    margin: 0 10px; /* Ajoute un espace horizontal autour des cartes */
}

/* Icônes des cartes */
.cards-atout .icon-atout {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

/* Titres des cartes */
.cards-atout h5 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--orange);
}

/* Texte des cartes */
.cards-atout p {
    font-size: 0.9rem;
    color: var(--dark);
}

.icon-atout {
    width: 50px; /* Ajuste la taille de l'icône */
    height: 50px;
    margin-bottom: var(--spacing-sm); /* Espace avec le titre */
    display: inline-block;
}

/***********************************************************************/
/* Conteneur principal */
.container_100 {
    width: 100%;
    margin: 0 auto;
    height: auto;
    color: var(--dark);
    background-color: var(--light);
}

/* Section d'appel à action */
.cta-section {
    display: flex;
    flex-wrap: wrap; /* Les articles passent en colonne sur petits écrans */
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-lg);
}

/* Contenu de la section CTA */
.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

/* Bouton avec animation au survol */
.cta-button-dark {
    position: relative; /* Nécessaire pour gérer le pseudo-élément */
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: transparent;
    border: 2px solid var(--orange);
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--blue);
    font-family: var(--font-accent);
    text-decoration: none; /* Supprime le soulignement */
    overflow: hidden; /* Cache l'animation qui dépasse */
    z-index: 1; /* Assure que le texte reste au-dessus */
    transition: color 0.3s ease; /* Transition pour la couleur du texte */
}

.cta-button-dark::before {
    content: ''; /* Nécessaire pour créer le pseudo-élément */
    position: absolute;
    top: 0;
    left: -100%; /* Commence à gauche */
    width: 100%;
    height: 100%;
    background: var(--white); /* Couleur d'animation */
    z-index: -1; /* Derrière le texte */
    transition: left 0.3s ease; /* Animation fluide */
}

.cta-button-dark:hover {
    color: var(--dark); /* Change la couleur du texte */
    font-weight: bold;
    border: 2px solid var(--blue);

}

.cta-button-dark:hover::before {
    left: 0; /* L'animation glisse de gauche à droite */
    transition: left 0.3s ease; /* Fluide et rapide */
}


.text-content-cta-section span {
    color: var(--orange); /* Applique la couleur orange définie dans les variables CSS */
    font-weight: bold; /* Optionnel : met en valeur le texte */
}




.image-content-cta-section {
    flex: 0.8; /* Les deux colonnes prennent le même espace */
    display: flex; /* Permet un alignement interne si nécessaire */
    flex-direction: column; /* Organisation verticale interne */
    justify-content: center; /* Centrer le contenu verticalement */
    align-items: center; /* Centrer horizontalement si nécessaire */
}

/* Texte aligné dans la section CTA */
.text-content-cta-section {
    flex: 1.2;
    text-align: left;
    line-height: 1.8;
    margin-top: var(--spacing-md);
    color: var(--dark);
}

.cta-section-h3 {
    text-align: center !important; /* Priorité absolue pour le centrage */
    width: 100%; /* Assure que l'élément occupe tout l'espace disponible */
    margin: 0 auto; /* Centre le texte même dans un conteneur flexible */
    color: var(--blue); /* Couleur du texte */
    margin-top: var(--spacing-xl);
  
}

/* Liste des raisons */
.reasons-list {
    list-style: disc; /* Style des puces */
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg); /* Décalage des puces */
    font-size: 1.1rem; /* Taille légèrement plus grande */
    color: var(--dark);
}

.reasons-list li strong {
    color: var(--blue); /* Applique la couleur bleue définie dans les variables */
    font-weight: 800;
}

.reasons-list li {
    margin-bottom: var(--spacing-sm); /* Espacement entre les items */
}

/* Section responsive */
@media (max-width: 768px) {
    
}


/***********************************************************************/

/* Section d'invitation au portfolio */
.portfolio-invitation {
    text-align: center; /* Texte centré pour attirer l'attention */
    padding: var(--spacing-lg);
    background-color: var(--white); /* Fond clair pour le contraste */
   
}

.portfolio-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--blue); /* Couleur principale du texte */
}

.portfolio-description {
    font-size: 1.2rem;
    color: var(--dark); /* Couleur du texte */
    margin-bottom: var(--spacing-lg);
    line-height: 1.6; /* Lisibilité améliorée */
}

.portfolio-description span{
    color: var(--orange);
    font-size: var(--font-size-medium);
}

.container_80_realisation{
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background-color: var(--white);
    height: 300px;
}






/***********************************************************/
/* Footer global */
/* Footer global */
.footer {
    background-color: var(--dark); /* Fond sombre */
    color: var(--light); /* Texte clair */
    padding: var(--spacing-lg) 0;
}

/* Conteneur principal */
.footer-container {
    display: flex;
    flex-wrap: wrap; /* Colonne sur petits écrans */
    justify-content: space-between;
    align-items: flex-start; /* Aligne le contenu de chaque section à gauche */
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Sections */
.footer-about,
.footer-links,
.footer-contact {
    flex: 1; /* Les sections prennent un espace égal */
    min-width: 200px; /* Taille minimale pour éviter trop de réduction */
    text-align: left; /* Aligne le texte à gauche */
}


/* Titres */
.footer h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

/* Liens rapides */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links ul li a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

/* Contact */
.footer-contact p {
    display: flex;
    align-items: center; /* Aligne les icônes et le texte */
    gap: var(--spacing-sm); /* Espace entre l'icône et le texte */
    margin-bottom: var(--spacing-sm);
}

.footer-contact a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
}

.social-links {
    display: flex; /* Active Flexbox */
    justify-content: center; /* Centre les éléments horizontalement */
    align-items: center; /* Centre verticalement si nécessaire */
    gap: var(--spacing-sm); /* Espace entre les icônes */
    margin-top: var(--spacing-md); /* Espacement au-dessus des liens */
}

/* Réseaux sociaux */
.social-links a img {
    width: 24px;
    height: 24px;
    margin-right: var(--spacing-sm);
    transition: transform 0.3s ease;
    
}

.social-links a:hover img {
    transform: scale(1.1); /* Zoom léger au survol */
}

/* Bas de page */
.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--light);
}

/* Titres dans le footer */
.footer h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--orange); /* Applique la couleur orange */
}



.footer-icon {
    width: 20px; /* Taille maximale de l'icône */
    height: 20px; /* Garde les proportions */
    margin-right: var(--spacing-sm); /* Espacement entre l'icône et le texte */
    vertical-align: middle; /* Aligne verticalement avec le texte */
    transition: transform 0.3s ease; /* Ajoute un effet au survol */
}

/* Icônes réseaux sociaux : Survol */
.social-links a img:hover {
    transform: scale(1.1); /* Agrandit légèrement l'icône */
    filter: brightness(1.2); /* Légèrement plus lumineux au survol */
}




/*************************PRESTATION****************************************/

.container_80_prestation{
  
        display: flex;
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
        height: auto;
        justify-content: center; /* Centrage horizontal */
        align-items: center; /* Centrage vertical */
        gap: 20px; /* Espace entre texte et image */
        flex-wrap: wrap; /* Permet de réorganiser les éléments en colonne sur petits écrans */
        padding: var(--spacing-sm); /* Ajout d'un padding */
    
}

.prestations-grid {
    display: grid;
    grid-auto-flow: column; /* Défilement horizontal */
    grid-auto-columns: 435px; /* Largeur fixe pour chaque carte */
    gap: 20px;
    scroll-snap-type: x mandatory; /* Alignement fluide des cartes */
    padding: 20px 0;
    width: 100%; /* S'assure que le conteneur occupe toute la largeur disponible */
}

.prestations-grid::-webkit-scrollbar {
    height: 3px; /* Taille réduite pour la scrollbar */
    color: #222222;
}

.prestations-grid::-webkit-scrollbar-thumb {
    background-color: var(--drak);
    border-radius: 14px;
}

.prestations-scroll-wrapper {
    cursor: grab;       /* Curseur main fermée */
    cursor: -webkit-grab;
    user-select: none; /* Désactive la sélection de texte au survol */
    -webkit-user-select: none; /* Pour Safari/Chrome iOS */
    -moz-user-select: none;    /* Pour Firefox */
    -ms-user-select: none;   
    overflow-x: auto; /* Activation du scroll horizontal */
    white-space: nowrap;
    padding: 5px 0;
}
.prestations-scroll-wrapper.active {
    cursor: grabbing;   /* Curseur main tirant */
    cursor: -webkit-grabbing;
}

.features li {
    white-space: normal;         /* Autorise le retour à la ligne */
    word-wrap: break-word;       /* Ancien préfixe, pour Safari/IE */
    overflow-wrap: break-word;   /* Standard actuel */
    hyphens: auto;               /* Ajoute des traits d’union si besoin */
}

.card {
    background: linear-gradient(to bottom, rgb(11, 85, 140, 0.9), rgb(11, 85, 140, 0.7));
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 16px;
    width: 435px;
    box-shadow: var(--box-shadow);
    text-align: center;
    scroll-snap-align: start;
    transition: transform 0.3s ease; /* Ajoute un effet visuel */
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer; /
    
}

.card.ecommerce-card {
  
    background: linear-gradient(to bottom, rgb(244 129 0 / 90%), rgb(0 0 0 / 70%));
}

.card h2 {
    height: 45px; /* Fixe une hauteur minimale pour le titre */
    margin: 8px 0; /* Espacement uniforme */
}

.card hr{
    margin-top: 10px;
}

.card .price-container {
    height: 100px; /* Fixe une hauteur minimale pour le conteneur prix */
    display: flex;
    flex-direction: column;
 
}

.card:hover {
    border: 1px solid var(--orange);
   
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2); /* Accentue légèrement l'ombre */
}


.card .price {
    font-size: 1.6rem;
    color: var(--white);
    font-weight: bold;
    margin: 8px 0;
}

.card ul.features {
    flex-grow: 1; /* Permet à la liste de remplir l'espace disponible */
    text-align: left;
    padding: 0;
    margin: 16px 0;
    list-style: disc;
    margin-left: 20px;
}

.card .features {
    text-align: left;
    padding: 0;
    margin: 16px 0;
    list-style: disc;
    margin-left: 20px;
}

.price-text{
   
    text-align: left !important;
    font-size: 0.8rem;
    margin-top: 10px;
}
.text-wrapper {
    text-align: left; /* Texte aligné à gauche */
    width: 100%; /* Prend toute la largeur disponible */
   /* Largeur limitée pour une meilleure lisibilité */
    margin: 0 auto; /* Centré horizontalement */
}
.text-wrapper p {
    margin-bottom: 1rem; /* Espacement entre les paragraphes */
    color: var(--dark);
    font-size: 0.8rem;
    font-style: italic;
}

/* Section CTA avant le footer */
.cta-before-footer {
    background-color: var(--light);
    padding: var(--spacing-lg);
    border-top: 1px solid var(--primary);
    text-align: center;
}

.cta-content h3 {
    color: var(--blue);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.cta-button-prestation {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--blue);
    color: var(--white);
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button-prestation:hover {
    background-color: var(--orange);
    transform: scale(1.05);
}

.prestations-h1{
    margin-top: 2rem;
    color: var(--blue);
}
.prestations-h3{
    margin-top: rem;
    margin-top: 3rem;
    font-size: 3rem;
    color: var(--white);
}
.prestations-h4{
    margin-top: 2rem;
    color: var(--white);
    font-size: 3rem;
}

.footer-bottom a{
    font-size: 0.8rem !important;
}

.custom-checkbox-container {
    display: flex;
    align-items: center; /* Alignement vertical correct */
    gap: 8px; /* Espacement entre la case et le texte */
}

.custom-checkbox-container input[type="checkbox"] {
    width: 16px; /* Réduction de la taille de la case */
    height: 16px;
    margin: 0; /* Suppression des marges par défaut */
    cursor: pointer;
}

.custom-checkbox-container label {
    font-size: 13px; /* Texte légèrement réduit */
    line-height: 1.4;
    cursor: pointer;
    flex: 1; /* Permet au texte de prendre tout l'espace disponible */
}

.custom-checkbox-container a {
    color: #007bff; /* Couleur des liens */
    text-decoration: none;
}

.custom-checkbox-container a:hover {
    text-decoration: underline; /* Effet au survol */
}


/********************** Réaslisation ***************************************************

/* Section principale */
.container_80_realisation2 {
    display: flex;
    flex-wrap: wrap; /* Permet d’aller sur plusieurs lignes */
    justify-content: space-around; /* Espace uniforme entre les cards */
    gap: 5px; /* Espacement entre les cards */
    padding: 20px;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
}

/* Style des cards */
.realisation-card {
    width: 500px;
    height: 600px;
    display: flex;
    flex-direction: column; /* Aligner l'image et le lien verticalement */
    align-items: center;
    justify-content: space-between;
    background-color: #f9f9f9; /* Couleur de fond de la card */
    border: 1px solid #ddd;
    border-radius: 8px; /* Coins arrondis */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Légère ombre */
   
    text-align: center;
}

/* Image de la card */
.realisation-card img {
    width: 500px;
    height: 500px;
    object-fit: cover; /* Adapter l'image au conteneur */
    border-radius: 8px; /* Coins arrondis */
    margin-bottom: 10px;
}

/* Lien vers le site */
.realisation-card a {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: #333; /* Couleur sombre */
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
}

.realisation-card a:hover {
    background-color: #555; /* Couleur au survol */
}

.hr-realisation{
    width: 80%;
    margin: 40px auto;
  
}
.container_802 {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
    text-align: center; /* Centre le titre */
}

/* Titre centré */
.prototype-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center; /* Centrage explicite */
}

/* Paragraphe centré et justifié */
.prototype-description {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify; /* Justification du texte */
}


/* Section principale des prototypes */
.container_prototype {
    display: flex;
    flex-wrap: wrap; /* Permet d’aller sur plusieurs lignes */
    justify-content: space-around; /* Espace uniforme entre les cards */
    gap: 5px; /* Espacement entre les cards */
    padding: 20px;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
}





/* Responsive : Tablette */
@media (max-width: 1024px) {
    
    .realisation-card {
        width: 400px;
        height: 500px;
    }
    

    .realisation-card img{
        width: 400px;
        height: 400px;
    }
    

}

/* Responsive : Téléphone */
@media (max-width: 768px) {
    .container_80_realisation2 {
        justify-content: center; /* Centrer les cards sur téléphone */
    }

    .realisation-card{
        width: 300px;
        height: 500px;
    }

    .realisation-card img{
        width: 300px;
        height: 300px;
    }

    .realisation-card a {
        font-size: 14px;
        padding: 8px 16px;
    }


    .prototype-title {
        font-size: 20px;
    }

    .prototype-description {
        font-size: 14px;
    }

    
}
@media (max-width: 686px) {
    .realisation-card {
        width: 300px;
        height: 387px;
    }

    .prototype-title {
        font-size: 18px;
    }

    .prototype-description {
        font-size: 12px;
    }


   
}

/************************ contact **************************************/

/* Formulaire principal */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(45deg, skyblue, var(--blue));
    padding: 30px;
    width: 600px;
    border-radius: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    transition: background 0.3s ease;
    margin: 20px auto; /* Centrage horizontal */
  }


  /* Regrouper les champs sur la même ligne */
.flex-row {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Espace entre les colonnes */
  }
  
  .flex-row .mb-3 {
    flex: 1; /* Les champs prennent une largeur égale */
  }
  
  .flex-row .mb-3:first-child {
    margin-right: 10px; /* Espacement supplémentaire pour le premier champ */
  }
  
  form:hover {
    background: linear-gradient(45deg, ver(blue), skyblue);
  }
  
  ::placeholder {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  }
  
  /* Champs de formulaire */
  .mb-3 {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  .mb-3 > label {
    color: white;
    font-weight: 600;
  }
  
  input, textarea, select {
    border: 1.5px solid #ecedec;
    border-radius: 1em;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    transition: 0.2s ease-in-out;
    background-color: white;
    font-size: 1rem;
    width: 100%;
  }
  
  textarea {
    border-radius: 10px;
    height: auto;
    padding: 15px;
  }
  
  input:focus, textarea:focus, select:focus {
    outline: none;
    border: 1.5px solid orange;
  }
  
  /* Bouton d'envoi */
  button[type="submit"] {
    align-self: flex-end;
    display: inline-block;
    padding: 15px 30px;
    text-align: center;
    letter-spacing: 1px;
    text-decoration: none;
    background: transparent;
    transition: ease-out 0.5s;
    border: 2px solid;
    border-radius: 10em;
    box-shadow: inset 0 0 0 0 blue;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    height: 50px;
    width: 100%;
  }
  
  button[type="submit"]:hover {
    color: white;
    box-shadow: inset 0 -100px 0 0 royalblue;
  }
  
  button[type="submit"]:active {
    transform: scale(0.9);
  }
  
  /* Messages d'erreur et de succès */
  .alert {
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
  }
  
  .alert-success {
    background-color: #d4edda;
    color: #155724;
  }
  

  .text-danger, .errorlist {
    color: #ff8c01;
    font-weight: 700;
    font-size: 0.9rem; /* Taille des messages d'erreur */
    font-style: italic; /* Italique pour différencier du contenu normal */
    margin-top: 5px; /* Espace entre le champ et le message d'erreur */
}


.container_80 h2 span {
    color: var(--orange);
    font-size: 1.5rem;
}




/***********************************************************************/
/* Réduction de la taille des polices pour les écrits */
@media (max-width: 1241px) {
    /* Titres dans .intro-content-flex-atout */
    .intro-content-flex-atout h3 {
        font-size: 1.4rem; /* Réduction de la taille des titres */
    }

    /* Titres dans .intro-content-atout */
    .intro-content-atout h4 {
        font-size: 1.6rem; /* Réduction de la taille des sous-titres */
    }

    /* Ligne dans .intro-content-atout */
    .intro-content-atout .line {
        width: 60px; /* Ajuste la largeur de la ligne */
        height: 2px; /* Réduit l'épaisseur */
    }

    /* Description des atouts */
    .description-atout {
        font-size: 0.9rem; /* Réduction de la taille du texte descriptif */
    }

    /* Titres des cartes */
    .cards-atout h5 {
        font-size: 1.1rem; /* Réduction de la taille des titres dans les cartes */
    }

    /* Texte des cartes */
    .cards-atout p {
        font-size: 0.8rem; /* Réduction de la taille du texte descriptif dans les cartes */
    }
    .row-atout-1 {
       transform: translateX(-50px);
    }
    .row-atout-2 {
        transform: translateX(50px);
     }
     .intro h1 {
        font-size: 2.8rem;
       
    }
}


/* Réduction de la taille des polices pour les écrits */
@media (max-width: 1067px) {
    /* Titres dans .intro-content-flex-atout */
    .intro-content-flex-atout h3 {
        font-size: 1.1rem; /* Réduction de la taille des titres */
    }

    /* Titres dans .intro-content-atout */
    .intro-content-atout h4 {
        font-size: 1.3rem; /* Réduction de la taille des sous-titres */
        margin-top: 0px;
    }

    /* Ligne dans .intro-content-atout */
    .intro-content-atout .line {
        width: 60px; /* Ajuste la largeur de la ligne */
        height: 2px; /* Réduit l'épaisseur */
    }
    .intro h1 {
        font-size: 2.6rem;
    }
    .intro p {
        font-size: 1rem;
    }

    .intro-atout {
        flex-direction: column;
        justify-content: space-between;
    }
    /* Description des atouts */
    .description-atout {
        font-size: 0.9rem; /* Réduction de la taille du texte descriptif */
    }

    /* Titres des cartes */
    .cards-atout h5 {
        font-size: 1.1rem; /* Réduction de la taille des titres dans les cartes */
    }

    /* Texte des cartes */
    .cards-atout p {
        font-size: 0.8rem; /* Réduction de la taille du texte descriptif dans les cartes */
    }
    .row-atout-1 {
       transform: translateX(0px);
    }
    .row-atout-2 {
        transform: translateX(0px);
     }
     .container_80 {
        width: 90%;
        margin: 80px auto;
    }
    .prestations-h1{
        font-size: 1.3rem;
    }
    .prestations-h2{
        font-size: 1.2rem;
    }
    .prestations-h3{
      
        font-size: 2rem;
      
    }
    .prestations-h4{
       
    
        font-size: 2rem;
    }
}


@media (max-width: 928px) {
    .intro h1 {
        font-size: 2.3rem;
    }
}
@media (max-width: 830px) {

    .prestations-grid{
        display: flex;
        overflow-x: auto;
        
        /* margin: -1rem; */
        scroll-snap-type: x proximity;
    }

    .card{
        scroll-snap-align: center;
        min-width: 400px;
    }

  


 
  
   
   
}

/* Responsive design */
@media (max-width: 768px) {
    .row-atout-1 {
        flex-direction: column; /* Les cartes s'empilent sur petits écrans */
        gap: var(--spacing-md);
        width: 90%;
        margin: 0 auto; /* Centre les cartes */
        transform: translateX(0); /* Annule le décalage pour mobile */
    }
    .row-atout-2 {
        flex-direction: column; /* Les cartes s'empilent sur petits écrans */
        gap: var(--spacing-md);
        width: 90%;
        margin: 0 auto; /* Centre les cartes */
        transform: translateX(0); /* Annule le décalage pour mobile */
    }

    .cards-atout {
        max-width: 100%; /* Les cartes prennent toute la largeur disponible */
        margin-bottom: var(--spacing-md); /* Espacement vertical entre les cartes */
    }

    .intro-atout {
        text-align: center; /* Texte centré sur petit écran */
        align-items: center;
    }
    /* Masquer la navigation classique */
    .navbar ul {
        visibility: hidden; /* Masquer visuellement */
        opacity: 0; /* Rendre transparent */
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        background-color: rgba(11, 85, 140, 1);
        height: 100%;
        width: 250px;
        padding: 50px 20px;
        gap: 20px;
        transform: translateX(100%); /* Cacher le menu à droite */
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        z-index: 9999; /* S'assurer qu'il est devant */
    }

    .container_80 {
        width: 95%;
        margin: 80px auto;
    }
    .image-content img {
        width: 95%;
    }
    /* Navbar avec classe open */
    .navbar.open ul {
        visibility: visible; /* Rendre visible */
        opacity: 1; /* Pleine opacité */
        transform: translateX(0); /* Faire glisser de droite à gauche */
    }

    /* Afficher le menu burger */
    .burger-menu {
        display: flex;
    }



    /* Afficher le menu lorsque le burger est cliqué */
    .navbar.open ul {
        transform: translateX(0); /* Ouvrir le menu de gauche à droite */
    }

    .navbar ul li a {
        font-size: 1.5rem;
        color: var(--white);
    }

    .navbar ul li a:hover {
        color: var(--primary);
    }
    .cta-section {
        flex-direction: column; /* Les articles passent en colonne */
        text-align: center; /* Texte centré pour mobile */
    }

    .text-content-cta-section {
        max-width: 100%; /* Texte en pleine largeur */
        text-align: left; /* Toujours aligné à gauche */
    }

    .image-content-cta-section {
        max-width: 100%; /* Image en pleine largeur */
        margin-bottom: var(--spacing-md);
    }
    .intro h1 {
        font-size: 2rem;
    }
    .intro p {
        font-size: 0.8rem;
        margin-bottom: var(--spacing-sm);
        color: var(--light);
    }
   
}

@media (max-width: 620px){

    form {
        
        gap: 10px;
        padding: 10px;
        width: 500px;
      }
}



@media (max-width: 550px){
    .intro h1 {
        font-size: 2rem;
    }
    .intro p {
        font-size: 0.75rem;
        margin-bottom: var(--spacing-sm);

    }
    .image-content img {
        width: 100%;
        margin-top: 10px;
    }

    .prestations-grid {
        margin: 0;
        padding: 0;
        /* padding: 20px 0; */
        width: 390px;
    }
    .card{
        scroll-snap-align: center;
        min-width: 322px;
    }
    form {
        
        gap: 10px;
        padding: 10px;
        width: 98%;
      }
    
    .prestations-h3{
        margin-top: 0;
    }

    .container-mention {
        width: 98%;
        padding: 2px; 
       
    }
    .header{
        height: 400px;
    }
    .cta-button {
        font-weight: 400;
        font-size: 1.1rem;
       
    }
    
}

@media (max-width: 420px){

    .navbar img {
        max-height: 23px;
    }

    .intro h1 {
        font-size: 1.35rem;
    }
    .intro p {
        font-size: 0.8rem;
        margin-top: 0px;
  
    }
    .cta-spacing {
        margin-top: 25px;
    }
    .cta-button {
        font-weight: 400;
        font-size: 0.8rem;
       
    }
    .container_atout {
        width: 100%;  
        padding: 0; 
    }
    .container_80_realisation {
        height: 360px;
    }
    .image-content-cta-section img {
        max-width: 100%; /* L'image ne dépasse pas la largeur de son conteneur */
        height: auto; /* Conserve les proportions */
    }
    .prestations-h1{
        font-size: 1rem;
    }
    .prestations-h3{
        color: var(--white);
       
    }
    .prestations-h4{
        color: var(--white);
        
    }
    .custom-checkbox-container label {
        font-size: 9px;
        line-height: 1.4;
        cursor: pointer;
        flex: 1;
    }

}

@media (max-width: 400px){

    .header {
        position: relative;
        height: 60vh;
    }
    .container_80_realisation {
        height: 430px;
    }
}



.container-404 {
    text-align: center;
    padding: 50px;
}

.container-404 h1 {
    font-size: 2.5rem;
    color: #333;
}

.container-404 p {
    font-size: 1.2rem;
    color: #666;
}

.btn-404 {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ff4500;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-404:hover {
    background-color: #e63e00;
}
