@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* Initialisation */
* {
    margin: 0;
    padding: 0;
    box-sizing: 0;
}



/* Déclaration des variables */

html {
    --var-bouton-color: #8f5bff;
    --var-bouton-hover: #6e39db;
    --var-background: #0d0d0d;
    --var-background-secondary: #1a1a1a;
    --var-text: #eeeeee;
    --var-text-secondary: #bbbbbb;
    --var-border: #2a2a2a;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--var-background);
    color: var(--var-text);
}

header {
    height: 4rem;
    background-color: var(--var-background-secondary);
    padding: 0 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1rem;
}

header nav ul li a {
    display: inline-block;
    padding: 0.4rem 1rem;
    text-decoration: none;
    color: var(--var-text);
    font-weight: 500;
    border-radius: 0.3rem;
    background-color: var(--var-bouton-color);
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
}

header nav ul li a:hover {
    color: var(--var-text);
    background-color: transparent;
    border: 1px solid var(--var-bouton-hover);
}

#logo img{
    width: 100px;
    height: 100px;
}
#logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 2rem;
}
#hero a {
    display: inline-block;
    padding: 0.4rem 1rem;
    text-decoration: none;
    color: var(--var-text);
    font-weight: 500;
    border-radius: 0.3rem;
    background-color: var(--var-bouton-color);
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    margin-top: 1rem;
}
#hero a:hover {
    color: var(--var-text);
    background-color: transparent;
    border: 1px solid var(--var-bouton-hover);
}

#avantage {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
            gap: 4rem;
        }

        #avantagesdiv {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            flex: 0 0 45%;
            margin-top: 2rem;
        }

        #avantagesdiv > div {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0;
            background: transparent;
            border-radius: 0;
            box-shadow: none;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 1rem;
        }

        #avantagesdiv > div:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        #avantagesdiv i {
            font-size: 1.5rem;
            color: var(--var-bouton-color);
            width: 30px;
            text-align: center;
        }

        #avantagesdiv text {
            font-size: 1.1rem;
            color: #333;
        }

        #imgavantage {
            flex: 0 0 50%;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 1rem;
        }

        #imgavantage img {
            margin-top: 2rem;
            width: 100%;
            height: auto;
            aspect-ratio: 16/10;
            object-fit: cover;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            position: relative;
            z-index: 1;
        }

        #image-description {
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            width: 93%;
            margin: 0 auto;
            text-align: center;
            min-height: 120px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        #image-description h3 {
            color: var(--var-bouton-color);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        #image-description p {
            color: #666;
            font-size: 0.95rem;
            line-height: 1.4;
        }

        /* Version responsive */
        @media (max-width: 768px) {
            #avantage {
                flex-direction: column;
                text-align: center;
                gap: 2rem;
            }
            
            #avantagesdiv {
                flex: none;
                margin-top: 0;
            }
            
            #imgavantage {
                align-items: center;
                flex: none;
            }
        }

#infra {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 20rem;
    margin: 0 auto; /* centre horizontalement */
    text-align: center;
    margin-top: 2rem;
}

.images {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: nowrap; /* reste sur une ligne */
    align-items: stretch;
    margin-top: 2rem;
}

.image-card {
    background-color: var(--var-background);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 10px solid var(--var-background-secondary);
    width: 260px;         /* plus large */
    height: 200px;        /* moins haut */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
transform-origin: center;
will-change: transform;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-card:hover {
    transform: scale(1.05); /* zoom sans bouger les autres */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); /* effet visuel sans bordure */
}

/* Trait horizontal décoratif en bas */
.footer-line-decoration {
  width: 100%;
  height: 3px;
  background-color: var(--var-background-secondary);
  margin-bottom: 4rem;
  margin-top: 5rem;
}

.footer-content {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.footer-content a {
  display: inline-block;
    padding: 0.4rem 1rem;
    text-decoration: none;
    color: var(--var-text);
    font-weight: 500;
    border-radius: 0.3rem;
    background-color: var(--var-bouton-color);
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    margin-top: 1rem;

}

.footer-content a:hover {
    color: var(--var-text);
    background-color: transparent;
    border: 1px solid var(--var-bouton-hover);
}

#info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-right: 3rem;
  gap: 0.5rem;
}

#Offresfl {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-right: 3rem;
  gap: 0.5rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  border-top: 1px solid #333;
  margin-top: 2rem;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--var-text);
}

.payment-methods {
  display: flex;
  gap: 1rem;
}

.payment-methods i {
  font-size: 1.5rem;
  color: #666;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #666;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--var-bouton-color);
}

.footer-legal {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  padding: 1rem 3rem;
  border-top: 1px solid #333;
  margin-top: 1rem;
}

.footer-legal a {
  color: #666;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--var-bouton-color);
}





/* Section principale des offres */
#offres {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

/* Style pour chaque carte d'offre */
#offres > div {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-size: 80px 80px;
    background-repeat: no-repeat;
    background-position: top 15px right 15px;
}

/* Images d'arrière-plan pour chaque jeu */
#minecraft {
    background-image: url('https://cdn.gamekult.com/images/gallery/75/75703/minecraft-pc-f0310f7e.jpg');
}

#discord {
    background-image: url('https://www.telecom-sudparis.eu/wp-content/uploads/2025/06/discord.jpg');
}

#fivem {
    background-image: url('https://logo-marque.com/wp-content/uploads/2021/03/FiveM-Symbole.jpg');
}

#siteweb {
    background-image: url('https://www.si-paris.fr/css/images/si-paris-creation-site-internet-professionnel-pme.jpg');
}

#novalife {
    background-image: url('https://shared.fastly.steamstatic.com/store_item_assets/steam/apps/885570/capsule_616x353.jpg?t=1716819111');
}

#projectzomboid {
    background-image: url('https://shared.fastly.steamstatic.com/store_item_assets/steam/apps/108600/capsule_616x353.jpg?t=1739309087');
}

#satisfactory {
    background-image: url('https://gaming-cdn.com/images/products/4229/orig/satisfactory-pc-jeu-steam-cover.jpg?v=1748861754');
}

#assettocorsa {
    background-image: url('https://gaming-cdn.com/images/products/1263/orig/assetto-corsa-pc-jeu-steam-cover.jpg?v=1707830876');
}

#palworld {
    background-image: url('../img/capsule_616x353.jpg');
}

#gmod {
    background-image: url('https://shared.akamai.steamstatic.com/store_item_assets/steam/apps/4000/ecae0f862ac2f087f1581122999dd1e6281ce3b5/capsule_616x353.jpg?t=1736937068');
}

#rust {
    background-image: url("https://image.api.playstation.com/vulcan/ap/rnd/202103/1609/wBzFi5s20C1I7o3A5iEFWNuI.jpg");
}

/* Effet de survol sur les cartes */
#offres > div:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

/* Effet de brillance au survol */
#offres > div::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

#offres > div:hover::before {
    opacity: 1;
    top: -100%;
    left: -100%;
}

/* Titres des offres */
#offres h2 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Couleurs spécifiques pour chaque service */
#minecraft h2 { color: #4CAF50; }
#discord h2 { color: #7289DA; }
#fivem h2 { color: #FF6B35; }
#siteweb h2 { color: #2196F3; }
#novalife h2 { color: #9C27B0; }
#projectzomboid h2 { color: #8BC34A; }
#satisfactory h2 { color: #FF9800; }
#assettocorsa h2 { color: #F44336; }
#palworld h2 { color: #00BCD4; }
#gmod h2 { color: #607D8B; }
#rust h2 { color: #795548; }

/* Boutons */
.buttonservices {
    display: inline-block;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
}

.buttonservices:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(45deg, #764ba2, #667eea);
}

.buttonservices:active {
    transform: translateY(0px);
    transition: all 0.1s ease;
}

/* Prix */
#offres p {
    color: #666;
    font-size: 1.1em;
    font-weight: 500;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Styles responsives */
@media (max-width: 768px) {
    #offres {
        grid-template-columns: 1fr;
        padding: 40px 15px;
        gap: 20px;
    }
    
    #offres > div {
        padding: 25px;
    }
    
    #offres h2 {
        font-size: 1.3em;
    }
    
    .buttonservices {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    #offres {
        padding: 30px 10px;
    }
    
    #offres > div {
        padding: 20px;
    }
    
    #offres h2 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
}



/* CSS spécifique pour les sections support et contact */
/* Utilisation de classes ou IDs plus spécifiques pour éviter les conflits */

/* Section avec les informations de support */
.support-section {
    padding: 60px 20px;
    text-align: center;
}

.support-section div {
    margin: 0 auto;
    max-width: 600px;
}

.support-section p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2.2;
}

.support-section i {
    color: var(--var-bouton-color);
    margin-right: 12px;
    width: 22px;
    display: inline-block;
    font-size: 1.1rem;
}

/* Section avec le formulaire - Version générale */
.contact-section {
    padding: 40px 20px 80px;
    text-align: center;
}

.contact-section form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-section input[type="text"],
.contact-section input[type="email"] {
    padding: 15px;
    border: 2px solid #333333;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-section input[type="text"]:focus,
.contact-section input[type="email"]:focus {
    outline: none;
    border-color: #4CAF50;
}

.contact-section textarea {
    padding: 15px;
    border: 2px solid #333333;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 1rem;
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-section textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.contact-section input::placeholder,
.contact-section textarea::placeholder {
    color: #888888;
}

.contact-section button[type="submit"] {
    padding: 15px 30px;
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-section button[type="submit"]:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.contact-section button[type="submit"]:active {
    transform: translateY(0);
}

/* CSS spécifique pour le formulaire de contact avec ID */
#contactform {
    padding: 40px 20px 80px;
    text-align: center;
}

#contactform form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contactform input[type="text"],
#contactform input[type="email"] {
    padding: 15px;
    border: 2px solid #333333;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#contactform input[type="text"]:focus,
#contactform input[type="email"]:focus {
    outline: none;
    border-color: #4CAF50;
}

#contactform textarea {
    padding: 15px;
    border: 2px solid #333333;
    border-radius: 5px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 1rem;
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

#contactform textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

#contactform input::placeholder,
#contactform textarea::placeholder {
    color: #888888;
}

#contactform button[type="submit"] {
    padding: 15px 30px;
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#contactform button[type="submit"]:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

#contactform button[type="submit"]:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .support-section {
        padding: 40px 15px;
    }
    
    .support-section p {
        font-size: 1rem;
        text-align: center;
    }
    
    .contact-section,
    #contactform {
        padding: 30px 15px 60px;
    }
    
    .contact-section form,
    #contactform form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-section input[type="text"],
    .contact-section input[type="email"],
    .contact-section textarea,
    #contactform input[type="text"],
    #contactform input[type="email"],
    #contactform textarea {
        padding: 12px;
    }
    
    .contact-section button[type="submit"],
    #contactform button[type="submit"] {
        padding: 12px 25px;
        font-size: 1rem;
    }
}




/* =================================
   MEDIA QUERIES RESPONSIVE
   ================================= */

/* Tablettes et petits écrans (768px et moins) */
@media (max-width: 768px) {
    /* Header responsive */
    header {
        height: auto;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    header nav ul li a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    #logo img {
        width: 80px;
        height: 80px;
    }
    
    /* Hero section */
    #hero {
        padding: 0 1rem;
        margin-top: 1rem;
    }
    
    #hero h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    #hero p {
        font-size: 1rem;
        text-align: center;
    }
    
    /* Infrastructure section */
    #infra {
        max-width: 90%;
        margin-top: 1rem;
    }
    
    .images {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .image-card {
        width: 200px;
        height: 150px;
    }
    
    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    
    .payment-methods,
    .social-links {
        justify-content: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    
    #info,
    #Offresfl {
        margin-right: 0;
        text-align: center;
        align-items: center;
    }
}

/* Mobiles (480px et moins) */
@media (max-width: 480px) {
    /* Header mobile */
    header {
        padding: 0.5rem;
    }
    
    header nav ul {
        gap: 0.3rem;
    }
    
    header nav ul li a {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }
    
    #logo img {
        width: 60px;
        height: 60px;
    }
    
    /* Hero mobile */
    #hero {
        margin-top: 0.5rem;
    }
    
    #hero h1 {
        font-size: 1.5rem;
    }
    
    #hero p {
        font-size: 0.9rem;
    }
    
    #hero a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Infrastructure mobile */
    #infra {
        max-width: 95%;
    }
    
    #infra h2 {
        font-size: 1.2rem;
    }
    
    .image-card {
        width: 150px;
        height: 120px;
        border: 5px solid var(--var-background-secondary);
    }
    
    /* Footer mobile */
    .footer-bottom {
        padding: 0.5rem;
    }
    
    .footer-logo span {
        font-size: 1.2rem;
    }
    
    .payment-methods i,
    .social-links a {
        font-size: 1.2rem;
    }
    
    .footer-legal {
        padding: 0.5rem;
    }
    
    .footer-legal a {
        font-size: 0.9rem;
    }
}

/* Très petits mobiles (320px et moins) */
@media (max-width: 320px) {
    header nav ul li a {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    
    #logo img {
        width: 50px;
        height: 50px;
    }
    
    #hero h1 {
        font-size: 1.3rem;
    }
    
    #hero p {
        font-size: 0.8rem;
    }
    
    .image-card {
        width: 130px;
        height: 100px;
    }
    
    .footer-logo span {
        font-size: 1rem;
    }
}

/* Écrans larges (1200px et plus) */
@media (min-width: 1200px) {
    header {
        padding: 0 4rem;
    }
    
    #hero {
        margin-top: 3rem;
    }
    
    .images {
        gap: 3rem;
    }
    
    .image-card {
        width: 300px;
        height: 220px;
    }
    
    .footer-bottom {
        padding: 1rem 4rem;
    }
    
    .footer-legal {
        padding: 1rem 4rem;
    }
}

#signin {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

#signin a {
    text-decoration: none;
    background-color: var(--var-bouton-color); /* Violet sombre */
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
    font-weight: bold;
    font-family: sans-serif;
    text-align: center;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: 0.3s;
}

#signin a:hover {
    background-color: transparent;
    border: 1px solid var(--var-bouton-hover);
    transform: translateX(5px);
}

@media screen and (max-width: 768px) {
    #signin {
        top: auto;
        bottom: 20px;
        left: 20px;
        transform: none;
        flex-direction: row;
        gap: 10px;
    }

    #signin a {
        padding: 8px 14px;
        font-size: 14px;
    }
}

#histoire {
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
            gap: 4rem;
        }

        #histoirediv {
            background: var(--var-background-secondary);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            flex: 0 0 45%;
            margin-top: 2rem;
        }

        #histoirediv > div {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0;
            background: transparent;
            border-radius: 0;
            box-shadow: none;
            border-bottom: 1px solid var(--var-background-secondary);
            padding-bottom: 1rem;
        }

        #histoirediv > div:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        #histoirediv i {
            font-size: 1.5rem;
            color: var(--var-bouton-color);
            width: 30px;
            text-align: center;
        }

        #histoirediv text {
            font-size: 1.1rem;
            color: var(--var-text);
        }

#mentionfindepage {
    color: var(--var-border);
}

/* =================================
   AJOUTS RESPONSIVE SUPPLÉMENTAIRES
   ================================= */

/* Responsive pour la section #histoire */
@media (max-width: 768px) {
    #histoire {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }
    
    #histoirediv {
        flex: none;
        margin-top: 0;
    }
    
    #histoirediv text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #histoire {
        padding: 0.5rem;
    }
    
    #histoirediv {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    #histoirediv i {
        font-size: 1.2rem;
    }
    
    #histoirediv text {
        font-size: 0.95rem;
    }
}

/* Responsive supplémentaire pour #avantage */
@media (max-width: 1024px) {
    #avantage {
        gap: 2rem;
        padding: 1.5rem;
    }
    
    #avantagesdiv text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #avantage {
        padding: 1rem;
    }
    
    #avantagesdiv {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    #avantagesdiv i {
        font-size: 1.2rem;
    }
    
    #avantagesdiv text {
        font-size: 0.95rem;
    }
    
    #image-description {
        padding: 1rem;
        min-height: 100px;
    }
    
    #image-description h3 {
        font-size: 1.1rem;
    }
    
    #image-description p {
        font-size: 0.9rem;
    }
}

/* Responsive pour la section footer content */
@media (max-width: 1024px) {
    .footer-content {
        padding: 0 2rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 1rem;
    }
    
    #info,
    #Offresfl {
        margin-right: 0;
        gap: 0.3rem;
    }
    
    .footer-line-decoration {
        margin-bottom: 2rem;
        margin-top: 3rem;
    }
}

/* Responsive pour les variables CSS */
@media (max-width: 480px) {
    html {
        font-size: 14px; /* Réduction de la taille de base pour mobile */
    }
}

@media (max-width: 320px) {
    html {
        font-size: 13px;
    }
}

/* Responsive supplémentaire pour #signin - amélioration */
@media (max-width: 480px) {
    #signin {
        left: 10px;
        bottom: 10px;
    }
    
    #signin a {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 20px;
    }
}

@media (max-width: 320px) {
    #signin {
        flex-direction: column;
        gap: 5px;
    }
    
    #signin a {
        padding: 5px 10px;
        font-size: 11px;
        min-width: 60px;
    }
}

/* Responsive pour les titres généraux */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.7rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
}

/* Responsive pour le texte général */
@media (max-width: 768px) {
    p {
        font-size: 1rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Responsive pour l'espacement général */
@media (max-width: 768px) {
    body {
        overflow-x: hidden; /* Évite le scroll horizontal */
    }
}

/* Responsive pour les containers avec max-width */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Amélioration responsive pour les boutons généraux */
@media (max-width: 480px) {
    button,
    .button,
    a[class*="button"] {
        min-height: 44px; /* Taille tactile minimum */
        font-size: 0.9rem;
    }
}

/* Responsive pour les formulaires en général */
@media (max-width: 480px) {
    input,
    textarea,
    select {
        font-size: 16px; /* Évite le zoom sur iOS */
        min-height: 44px;
    }
}

/* Responsive pour l'accessibilité tactile */
@media (max-width: 768px) {
    a,
    button,
    input,
    textarea {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Amélioration pour les très grands écrans */
@media (min-width: 1440px) {
    header {
        padding: 0 5rem;
    }
    
    .footer-bottom {
        padding: 1rem 5rem;
    }
    
    .footer-legal {
        padding: 1rem 5rem;
    }
}


#equipe {
        padding: 40px 20px;
    }

    #equipe .team-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 20px;
    }

    #equipe .team-card {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 24px;
        display: flex;
        align-items: center;
        gap: 16px;
        transition: all 0.3s ease;
        cursor: pointer;
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    #equipe .team-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    }

    #equipe .team-avatar {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #333;
    }

    #equipe .team-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #equipe .team-avatar.gabriel {
        background: linear-gradient(45deg, #d32f2f, #b71c1c);
    }

    #equipe .team-avatar.edouard {
        background: linear-gradient(45deg, #1976d2, #0d47a1);
    }

    #equipe .team-avatar.vacant {
        background: linear-gradient(45deg, #424242, #212121);
        color: white;
        font-size: 24px;
    }

    #equipe .team-avatar.oscar {
        background: linear-gradient(45deg, #7b1fa2, #4a148c);
    }

    #equipe .team-info {
        flex: 1;
    }

    #equipe .team-name {
        font-size: 20px;
        font-weight: 600;
        color: white;
        margin-bottom: 4px;
    }

    #equipe .team-role {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 400;
    }

    #equipe .avatar-icon {
        font-size: 24px;
    }








/* =================================
   MEDIA QUERIES RESPONSIVE AMÉLIORÉES
   ================================= */

/* Tablettes et petits écrans (768px et moins) */
@media (max-width: 768px) {
    /* Header responsive */
    header {
        height: auto;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
    }
    
    header nav ul li a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    #logo img {
        width: 80px;
        height: 80px;
    }
    
    /* Hero section */
    #hero {
        padding: 0 1rem;
        margin-top: 1rem;
        text-align: center;
    }
    
    #hero h1 {
        font-size: 1.8rem !important;
        text-align: center;
        line-height: 1.3;
    }
    
    #hero p {
        font-size: 1rem !important;
        text-align: center;
        margin: 1rem 0;
    }
    
    /* Avantages section */
    #avantage {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1rem;
        max-width: 100%;
    }
    
    #avantagesdiv {
        flex: none;
        margin-top: 0;
        width: 100%;
        max-width: none;
    }
    
    #imgavantage {
        align-items: center;
        flex: none;
        width: 100%;
    }
    
    #imgavantage img {
        width: 100%;
        max-width: 400px;
    }
    
    #image-description {
        width: 100%;
        max-width: 400px;
    }
    
    /* Histoire section */
    #histoire {
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
        max-width: 100%;
    }
    
    #histoirediv {
        flex: none;
        margin-top: 0;
        width: 100%;
        max-width: none;
    }
    
    /* Infrastructure section */
    #infra {
        max-width: 90%;
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .images {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .image-card {
        width: 200px;
        height: 150px;
        margin: 0 auto;
    }
    
    /* Offres section */
    #offres {
        grid-template-columns: 1fr;
        padding: 40px 15px;
        gap: 20px;
        margin: 2rem 1rem;
    }
    
    #offres > div {
        padding: 25px;
        margin: 0 auto;
        max-width: 400px;
    }
    
    /* Équipe section */
    #equipe .team-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 1rem;
    }
    
    #equipe .team-card {
        max-width: none;
        width: 100%;
    }
    
    /* Support et contact sections */
    .support-section {
        padding: 40px 15px;
    }
    
    .support-section div {
        max-width: 100%;
    }
    
    .contact-section,
    #contactform {
        padding: 30px 15px 60px;
    }
    
    .contact-section form,
    #contactform form {
        max-width: 100%;
        width: 100%;
    }
    
    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    
    .payment-methods,
    .social-links {
        justify-content: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    
    #info,
    #Offresfl {
        margin-right: 0;
        text-align: center;
        align-items: center;
        width: 100%;
    }
    
    /* Sign in buttons */
    #signin {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 20px;
        transform: none;
        flex-direction: row;
        gap: 10px;
        z-index: 999;
    }

    #signin a {
        padding: 8px 14px;
        font-size: 14px;
    }
}

/* Mobiles (480px et moins) */
@media (max-width: 480px) {
    /* Base responsive */
    body {
        overflow-x: hidden;
    }
    
    /* Header mobile */
    header {
        padding: 0.5rem;
    }
    
    header nav ul {
        gap: 0.3rem;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    header nav ul li a {
        padding: 0.25rem 0.6rem;
        font-size: 0.8rem;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #logo img {
        width: 60px;
        height: 60px;
    }
    
    /* Hero mobile */
    #hero {
        margin-top: 0.5rem;
        padding: 0 0.5rem;
    }
    
    #hero h1 {
        font-size: 1.5rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    #hero p {
        font-size: 0.9rem !important;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    #hero a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Avantages mobile */
    #avantage {
        padding: 0.5rem;
        gap: 1.5rem;
    }
    
    #avantagesdiv {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    #avantagesdiv i {
        font-size: 1.2rem;
    }
    
    #avantagesdiv text {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    #image-description {
        padding: 1rem;
        min-height: 100px;
    }
    
    #image-description h3 {
        font-size: 1.1rem;
    }
    
    #image-description p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    /* Histoire mobile */
    #histoire {
        padding: 0.5rem;
        gap: 1.5rem;
    }
    
    #histoirediv {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    #histoirediv i {
        font-size: 1.2rem;
    }
    
    #histoirediv text {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    /* Infrastructure mobile */
    #infra {
        max-width: 95%;
        padding: 0 0.5rem;
    }
    
    #infra h2 {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .image-card {
        width: 150px;
        height: 120px;
        border: 5px solid var(--var-background-secondary);
        margin: 0;
    }
    
    /* Offres mobile */
    #offres {
        margin: 1rem 0.5rem;
        padding: 30px 10px;
    }
    
    #offres > div {
        padding: 20px;
        max-width: none;
    }
    
    #offres h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .buttonservices {
        padding: 10px 25px;
        font-size: 0.9rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Équipe mobile */
    #equipe {
        padding: 20px 10px;
    }
    
    #equipe .team-container {
        padding: 0 0.5rem;
    }
    
    #equipe .team-card {
        padding: 16px;
        flex-direction: row;
        align-items: center;
    }
    
    #equipe .team-avatar {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    
    #equipe .team-name {
        font-size: 18px;
    }
    
    #equipe .team-role {
        font-size: 13px;
    }
    
    /* Support et contact mobile */
    .support-section {
        padding: 20px 10px;
    }
    
    .support-section p {
        font-size: 1rem;
        text-align: center;
        line-height: 1.5;
    }
    
    .contact-section,
    #contactform {
        padding: 20px 10px 40px;
    }
    
    .contact-section input[type="text"],
    .contact-section input[type="email"],
    .contact-section textarea,
    #contactform input[type="text"],
    #contactform input[type="email"],
    #contactform textarea {
        padding: 12px;
        font-size: 16px; /* Évite le zoom sur iOS */
        border-radius: 8px;
    }
    
    .contact-section button[type="submit"],
    #contactform button[type="submit"] {
        padding: 12px 25px;
        font-size: 1rem;
        min-height: 44px;
    }
    
    /* Footer mobile */
    .footer-bottom {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .footer-logo span {
        font-size: 1.2rem;
    }
    
    .payment-methods i,
    .social-links a {
        font-size: 1.2rem;
    }
    
    .footer-legal {
        padding: 0.5rem;
    }
    
    .footer-legal a {
        font-size: 0.9rem;
    }
    
    .footer-content {
        padding: 0 0.5rem;
    }
    
    #info,
    #Offresfl {
        margin-right: 0;
        gap: 0.3rem;
    }
    
    .footer-line-decoration {
        margin-bottom: 2rem;
        margin-top: 2rem;
    }
    
    /* Sign in mobile */
    #signin {
        left: 10px;
        bottom: 10px;
        flex-direction: row;
        gap: 5px;
    }
    
    #signin a {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 20px;
        min-height: 36px;
        min-width: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Très petits mobiles (320px et moins) */
@media (max-width: 320px) {
    /* Header très petit mobile */
    header nav ul li a {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
        min-height: 32px;
    }
    
    #logo img {
        width: 50px;
        height: 50px;
    }
    
    /* Hero très petit mobile */
    #hero h1 {
        font-size: 1.3rem !important;
    }
    
    #hero p {
        font-size: 0.8rem !important;
    }
    
    #hero a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Infrastructure très petit mobile */
    .image-card {
        width: 130px;
        height: 100px;
        border: 3px solid var(--var-background-secondary);
    }
    
    /* Footer très petit mobile */
    .footer-logo span {
        font-size: 1rem;
    }
    
    /* Sign in très petit mobile */
    #signin {
        flex-direction: column;
        gap: 3px;
        left: 5px;
        bottom: 5px;
    }
    
    #signin a {
        padding: 5px 8px;
        font-size: 11px;
        min-width: 50px;
        min-height: 30px;
    }
    
    /* Réduction générale des espacements */
    #avantage,
    #histoire,
    #infra {
        padding: 0.25rem;
        gap: 1rem;
    }
    
    #avantagesdiv,
    #histoirediv {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    #offres {
        margin: 0.5rem 0.25rem;
        padding: 20px 5px;
    }
    
    #offres > div {
        padding: 15px;
    }
}

/* Écrans larges (1200px et plus) */
@media (min-width: 1200px) {
    header {
        padding: 0 4rem;
    }
    
    #hero {
        margin-top: 3rem;
    }
    
    .images {
        gap: 3rem;
    }
    
    .image-card {
        width: 300px;
        height: 220px;
    }
    
    .footer-bottom {
        padding: 1rem 4rem;
    }
    
    .footer-legal {
        padding: 1rem 4rem;
    }
    
    #avantage,
    #histoire {
        padding: 3rem;
    }
}

/* Très grands écrans (1440px et plus) */
@media (min-width: 1440px) {
    header {
        padding: 0 5rem;
    }
    
    .footer-bottom {
        padding: 1rem 5rem;
    }
    
    .footer-legal {
        padding: 1rem 5rem;
    }
    
    #avantage,
    #histoire {
        padding: 4rem;
        gap: 5rem;
    }
}

/* Améliorations pour l'accessibilité tactile */
@media (max-width: 768px) {
    /* Taille minimum pour les éléments tactiles */
    a,
    button,
    input,
    textarea,
    select {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Espacement minimum entre les éléments tactiles */
    header nav ul li {
        margin: 2px;
    }
    
    /* Amélioration des formulaires */
    input,
    textarea,
    select {
        font-size: 16px; /* Évite le zoom automatique sur iOS */
    }
}

/* Correction pour éviter le scroll horizontal */
@media (max-width: 768px) {
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container,
    section,
    div {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Améliorations spécifiques pour les textes */
@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    p {
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.7rem !important;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.3rem !important;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.1rem !important;
        line-height: 1.3;
    }
    
    p {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }
}











/* RESPONSIVE DESIGN */

/* Tablettes (768px et moins) */
@media (max-width: 768px) {
  .footer-line-decoration {
    margin-bottom: 2rem;
    margin-top: 3rem;
  }

  .footer-content {
    justify-content: center;
    gap: 3rem;
    padding: 0 1rem;
  }

  #info, #Offresfl {
    margin-right: 0;
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-logo span {
    font-size: 1.3rem;
  }

  .payment-methods {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-links {
    justify-content: center;
  }

  .footer-legal {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-align: center;
  }
}

/* Mobiles (480px et moins) */
@media (max-width: 480px) {
  .footer-line-decoration {
    margin-bottom: 1.5rem;
    margin-top: 2rem;
  }

  .footer-content {
    gap: 2rem;
    padding: 0 0.5rem;
  }

  .footer-content a {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }

  #info, #Offresfl {
    gap: 0.8rem;
    flex: 1;
  }

  .footer-bottom {
    padding: 0.5rem;
    gap: 1rem;
  }

  .footer-logo span {
    font-size: 1.2rem;
  }

  .payment-methods i {
    font-size: 1.3rem;
  }

  .social-links a {
    font-size: 1.1rem;
  }

  .footer-legal {
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .footer-legal a {
    font-size: 0.9rem;
    padding: 0.3rem 0;
  }
}

/* Très petits écrans (320px et moins) */
@media (max-width: 320px) {
  .footer-content {
    gap: 1rem;
    justify-content: space-around;
  }

  #info, #Offresfl {
    flex: 1;
    margin-right: 0;
  }

  .footer-content a {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }

  .payment-methods {
    gap: 0.5rem;
  }

  .payment-methods i {
    font-size: 1.2rem;
  }

  .social-links {
    gap: 0.5rem;
  }

  .social-links a {
    font-size: 1rem;
  }

  .footer-legal {
    gap: 0.3rem;
  }

  .footer-legal a {
    font-size: 0.8rem;
  }
}


/* --- Language Switcher --- */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem; /* Ajustez si nécessaire */
}

.language-switcher a {
    text-decoration: none;
    color: var(--var-text-secondary);
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--var-border);
    border-radius: 0.3rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.language-switcher a:hover {
    color: var(--var-text);
    background-color: var(--var-bouton-hover);
    border-color: var(--var-bouton-hover);
}

.language-switcher a.active {
    color: var(--var-text);
    background-color: var(--var-bouton-color);
    border-color: var(--var-bouton-color);
    cursor: default;
}

/* Responsive pour le switcher */
@media (max-width: 768px) {
    header {
        position: relative; /* Nécessaire pour positionner le switcher */
    }
    .language-switcher {
        position: absolute;
        top: 1rem;
        right: 1rem;
        margin-left: 0;
    }
}


/* =================================
   DESIGN RESPONSIVE GLOBAL
   ================================= */

/* --- Écrans larges (1440px et plus) --- */
@media (min-width: 1440px) {
    header, .footer-bottom, .footer-legal {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    #avantage, #histoire {
        padding: 4rem;
        gap: 5rem;
    }
}

/* --- Écrans standards et portables (1200px et plus) --- */
@media (min-width: 1200px) {
    header, .footer-bottom, .footer-legal {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    #hero {
        margin-top: 3rem;
    }

    .images {
        gap: 3rem;
    }

    .image-card {
        width: 300px;
        height: 220px;
    }
}

/* =================================
   Tablettes (1024px et moins)
   ================================= */
@media (max-width: 1024px) {
    #avantage, #histoire {
        gap: 2rem;
        padding: 1.5rem;
    }

    #avantagesdiv text, #histoirediv text {
        font-size: 1rem;
    }

    .footer-content {
        padding: 0 2rem;
    }
}


/* =================================
   Tablettes & Mobiles (768px et moins)
   ================================= */
@media (max-width: 768px) {
    /* --- Structure générale --- */
    body {
        overflow-x: hidden; /* Empêche le scroll horizontal */
    }

    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.2rem !important; }
    p { font-size: 1rem !important; line-height: 1.5; }

    /* --- Header --- */
    header {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }

    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    #logo img {
        width: 80px;
        height: 80px;
    }
    
    .language-switcher {
        position: absolute;
        top: 1rem;
        right: 1rem;
        margin-left: 0;
    }

    /* --- Sections principales --- */
    #hero {
        margin-top: 1rem;
        padding: 0 1rem;
        text-align: center;
    }

    #avantage, #histoire {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1rem;
    }
    
    #avantagesdiv, #histoirediv {
        flex: 1;
        width: 100%;
        margin-top: 0;
    }
    
    #imgavantage {
        align-items: center;
        width: 100%;
    }

    /* --- Infrastructure --- */
    #infra {
        max-width: 90%;
        margin-top: 1rem;
    }
    
    .images {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .image-card {
        width: 200px;
        height: 150px;
    }

    /* --- Offres & Équipe --- */
    #offres, #equipe .team-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 15px;
    }

    /* --- Formulaires --- */
    .support-section, .contact-section, #contactform {
        padding: 40px 15px;
    }

    .contact-section form, #contactform form {
        max-width: 100%;
    }

    /* --- Footer --- */
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    #info, #Offresfl {
        margin-right: 0;
        text-align: center;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem;
    }

    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }

    /* --- Boutons flottants --- */
    #signin {
        flex-direction: row;
        top: auto;
        bottom: 20px;
        left: 20px;
        transform: none;
    }

    #signin a {
        padding: 8px 14px;
        font-size: 14px;
    }

    /* --- Accessibilité tactile --- */
    a, button, input, textarea, select {
        min-height: 44px;
        min-width: 44px;
    }
}


/* =================================
   Mobiles (480px et moins)
   ================================= */
@media (max-width: 480px) {
    /* --- Base et typographie --- */
    html { font-size: 14px; }
    h1 { font-size: 1.7rem !important; }
    h2 { font-size: 1.3rem !important; }
    h3 { font-size: 1.1rem !important; }
    p { font-size: 0.9rem !important; line-height: 1.4; }

    /* --- Header --- */
    header { padding: 0.5rem; }
    header nav ul { gap: 0.3rem; }
    header nav ul li a {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }
    #logo img {
        width: 60px;
        height: 60px;
    }

    /* --- Sections --- */
    #hero { margin-top: 0.5rem; }
    #hero a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }

    #avantage, #histoire { padding: 1rem 0.5rem; }
    #avantagesdiv, #histoirediv {
        padding: 1.5rem;
        gap: 1rem;
    }
    #avantagesdiv i, #histoirediv i { font-size: 1.2rem; }
    #avantagesdiv text, #histoirediv text { font-size: 0.95rem; }

    #image-description { padding: 1rem; min-height: 100px; }
    #image-description h3 { font-size: 1.1rem; }
    #image-description p { font-size: 0.9rem; }

    /* --- Infrastructure --- */
    #infra { max-width: 95%; }
    .image-card {
        width: 150px;
        height: 120px;
        border-width: 5px;
    }

    /* --- Offres & Équipe --- */
    #offres {
        padding: 30px 10px;
        margin-top: 1rem;
    }
    #offres > div { padding: 20px; }
    #offres h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    .buttonservices {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    #equipe .team-card { padding: 16px; }
    #equipe .team-avatar { width: 48px; height: 48px; }
    #equipe .team-name { font-size: 18px; }
    #equipe .team-role { font-size: 13px; }

    /* --- Formulaires --- */
    .contact-section, #contactform { padding: 30px 15px 60px; }
    input, textarea, select {
        font-size: 16px; /* Empêche le zoom sur iOS */
    }
    .contact-section input, .contact-section textarea,
    #contactform input, #contactform textarea {
        padding: 12px;
    }
    .contact-section button, #contactform button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* --- Footer --- */
    .footer-line-decoration {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }
    .footer-content { gap: 2rem; padding: 0 0.5rem; }
    #info, #Offresfl { gap: 0.3rem; }
    .footer-bottom { padding: 0.5rem; gap: 1rem; }
    .footer-logo span { font-size: 1.2rem; }
    .payment-methods i, .social-links a { font-size: 1.2rem; }
    .footer-legal { padding: 0.5rem; gap: 0.5rem; }
    .footer-legal a { font-size: 0.9rem; }

    /* --- Boutons flottants --- */
    #signin {
        left: 10px;
        bottom: 10px;
        gap: 5px;
    }
    #signin a {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 20px;
    }
}

/* =================================
   Très petits mobiles (320px et moins)
   ================================= */
@media (max-width: 320px) {
    html { font-size: 13px; }

    header nav ul li a {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    #logo img {
        width: 50px;
        height: 50px;
    }
    #hero h1 { font-size: 1.3rem !important; }
    #hero p { font-size: 0.8rem !important; }

    .image-card {
        width: 130px;
        height: 100px;
    }
    .footer-logo span { font-size: 1rem; }

    #signin {
        flex-direction: column;
        gap: 5px;
    }
    #signin a {
        padding: 5px 10px;
        font-size: 11px;
        min-width: 60px;
    }
}