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

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(to bottom, #f3e6ff, #ffffff);
    color: #333;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

header {
    background-color: #4b0082;
    color: white;
    padding: 25px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header img {
    width: 140px;
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.1);
}

/* Navigation */
nav {
    background-color: #6a0dad;
    padding: 10px 0;
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: white;
    color: #4b0082;
}

/* Main Content */
main {
    padding: 40px 20px;
    text-align: center;
    max-width: 1200px;
    margin: auto;
    animation: fadeIn 1s ease-in-out;
}

main h1 {
    font-size: 2.5rem;
    color: #4b0082;
    margin-bottom: 20px;
}

main p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

main ul {
    list-style-type: none;
    padding: 0;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    text-align: left;
}

main ul li {
    margin: 10px 0;
}

code {
    font-family: monospace;
    background-color: #f3f3f3;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Table */
table {
    margin: 40px auto;
    border-collapse: collapse;
    width: 70%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

th {
    background-color: #4b0082;
    color: white;
    padding: 12px;
    font-weight: 600;
}

td {
    padding: 12px;
    border-top: 1px solid #ddd;
}

tr:hover {
    background-color: #f3e6ff;
}

/* Footer */
footer {
    background-color: #4b0082;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    table {
        width: 90%;
    }

    main h1 {
        font-size: 2rem;
    }

    main {
        padding: 20px 10px;
    }
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.card {
    background: #fff;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.card h2 {
    color: #4b0082;
    margin-bottom: 10px;
    font-size: 1.6em;
}

.card p {
    color: #444;
    font-size: 1rem;
}

/* Responsive Images */
img {
    display: block;
    margin: 30px auto;
    max-width: 90%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Mobile Nav */
@media screen and (max-width: 600px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    main {
        padding: 20px;
    }

    header img {
        width: 100px;
    }
}



/* Réinitialisation des styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles généraux du body */
body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(to right, #6a0dad, #4b0082);
    color: #ffffff;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: #4b0082;
    color: white;
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

header img {
    width: 150px;
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.1);
}

/* Navigation */
nav {
    background-color: #6a0dad;
    padding: 15px 0;
    box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: white;
    color: #4b0082;
}

/* Section principale */
main {
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin: auto;
    animation: fadeIn 1s ease-in-out;
}

/* Titre principal */
main h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Paragraphe SEO stylisé */
main p {
    font-size: 1.2rem;
    color: #f1f1f1;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Bloc rectangulaire pour chaque section SEO */
.seo-section {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seo-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.seo-section h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.seo-section ul {
    list-style-type: none;
    margin-left: 20px;
    font-size: 1.1rem;
    color: #d8d8d8;
}

.seo-section ul li {
    margin-bottom: 10px;
}

/* Tableaux optimisés */
table {
    margin: 40px auto;
    border-collapse: collapse;
    width: 80%;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

th {
    background-color: #4b0082;
    color: white;
    padding: 15px;
    font-weight: 600;
    text-align: center;
}

td {
    padding: 15px;
    border-top: 1px solid #ddd;
    text-align: center;
}

tr:hover {
    background-color: #f8f1ff;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #4b0082;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    table {
        width: 90%;
    }

    main h1 {
        font-size: 2.5rem;
    }

    main {
        padding: 20px 10px;
    }
}

/* Mobile Nav */
@media screen and (max-width: 600px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    header img {
        width: 120px;
    }

    main h1 {
        font-size: 2rem;
    }
}

/* Style de survol des sections */
.seo-section:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Bouton de retour au sommet */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4b0082;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTop:hover {
    opacity: 1;
    transform: scale(1.1);
}
.seo-section {
    background-color: rgba(255, 255, 255, 0.1);
    margin: 30px auto;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 80%; /* Ou une largeur spécifique, par exemple 60% */
    max-width: 900px; /* Limite la largeur du carré */
    display: block;
    text-align: left;
}

/* Bloc des témoignages */
.temoignages {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.temoignages:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.temoignages h1 {
    color: #4b0082;
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}

blockquote {
    font-style: italic;
    position: relative;
    padding: 25px 35px;
    margin: 20px 0;
    background-color: #f8f1ff;
    border-left: 6px solid #4b0082;
    border-radius: 12px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

blockquote::before {
    content: "“";
    font-size: 60px;
    position: absolute;
    left: 10px;
    top: -10px;
    color: #c5a3ff;
}

blockquote span {
    display: block;
    text-align: right;
    margin-top: 15px;
    font-weight: bold;
    color: #4b0082;
    font-size: 1.1rem;
}

/* Ajout d'animations au texte */
@keyframes fadeInTestimonial {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.temoignages {
    animation: fadeInTestimonial 1.2s ease-in-out;
} 
.seo-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Chaque bloc SEO dans la mise en page en colonnes */
.seo-section {
    flex: 1;
    min-width: 300px;
    max-width: 48%;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.seo-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Titre et contenu des blocs SEO */
.seo-section h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.seo-section ul {
    list-style-type: none;
    margin-left: 20px;
    font-size: 1.1rem;
    color: #d8d8d8;
}

.seo-section ul li {
    margin-bottom: 10px;
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    .seo-section {
        max-width: 100%;
    }
}
