

/* Styles de la section WHOIS */

/*

.domain-checker {
    padding: 50px 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    text-align: center;
}

.search-bar {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.search-bar input {
    width: 70%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.search-bar button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #0056b3;
}

/* Styles de la boîte d'information WHOIS */


.info-box {
    text-align: left;
    margin-top: 30px;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.info-box i {
    font-size: 24px;
    color: #007bff;
    margin-right: 10px;
}


/*
#whois-result {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: none;
}








/* Animation de sortie */
.fade-out-left {
    animation: fadeOutLeft 0.8s ease-in forwards;
}

.fade-out-right {
    animation: fadeOutRight 0.8s ease-in forwards;
}

.fade-out-top {
    animation: fadeOutTop 0.8s ease-in forwards;
}

.fade-out-bottom {
    animation: fadeOutBottom 0.8s ease-in forwards;
}

/* Définition des animations de sortie */
@keyframes fadeOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100px);
    }
}

@keyframes fadeOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes fadeOutTop {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100px);
    }
}

@keyframes fadeOutBottom {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100px);
    }
}





/* Animation d'entrée - Tous les éléments commencent en dehors de l'écran */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInMove 1s ease-out forwards;
}

/* Animation de sortie - Les éléments sortent dans différentes directions */
.fade-out {
    animation: fadeOutMove 0.8s ease-in forwards;
}

/* Définition des animations */
@keyframes fadeInMove {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutMove {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}

/* Variation des directions d’entrée pour chaque élément */
.fade-in-left {
    opacity: 0;
    transform: translateX(-100px);
    animation: fadeInLeft 1s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(100px);
    animation: fadeInRight 1s ease-out forwards;
}

.fade-in-top {
    opacity: 0;
    transform: translateY(-100px);
    animation: fadeInTop 1s ease-out forwards;
}

.fade-in-bottom {
    opacity: 0;
    transform: translateY(100px);
    animation: fadeInBottom 1s ease-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInTop {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}










/* Centrer et améliorer la section de la carte */
.map-container {
    text-align: center;
    margin: 30px auto;
    max-width: 90%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Ajustement de la carte Google Maps */
.map {
    width: 100%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Correction pour que l'iframe occupe bien toute la largeur */
.map iframe {
    width: 100%;
    height: 450px; /* Ajustable selon tes besoins */
    border: none;
}

/* Responsive pour les mobiles */
@media screen and (max-width: 600px) {
    .map-container {
        width: 95%;
        padding: 15px;
    }

    .map iframe {
        height: 300px; /* Ajustement pour mobile */
    }
}













/* Amélioration du CTA */
.cta .btn, .hero .btn {
    display: inline-block;
    background: #ff5722; /* Couleur plus vibrante */
    color: white;
    font-size: 1.3em;
    font-weight: bold;
    /padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}

.cta .btn:hover, .hero .btn:hover {
    background: #e64a19;
    transform: scale(1.05); /* Légère augmentation au survol */
}







/* 🌟 SECTION INTRODUCTION */
.intro-forfaits {
    background: #f8f9fa;
    padding: 50px 20px;
    text-align: center;
}
.intro-forfaits h2 {
    font-size: 2em;
    margin-bottom: 10px;
}
.intro-forfaits p {
    font-size: 1.2em;
    margin-bottom: 15px;
}
.intro-forfaits ul {
    list-style: none;
    padding: 0;
}
.intro-forfaits ul li {
    font-size: 1.1em;
    padding: 5px;
}

/* 🛒 FORFAITS STYLE */
.forfaits .forfait {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.forfaits h3 {
    font-size: 1.8em;
    color: #007bff;
}
.forfaits ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 15px;
}
.forfaits ul li {
    font-size: 1.1em;
    padding: 8px;
}
.price {
    font-size: 1.5em;
    font-weight: bold;
    color: #28a745;
    margin: 10px 0;
}
.payment-info {
    font-size: 1em;
    color: #666;
}

/* ❓ FAQ STYLE */
.faq-forfaits {
    background: #f1f1f1;
    padding: 40px 20px;
}
.faq-forfaits h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}
.faq-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}
.faq-question {
    background: #007bff;
    color: white;
    font-size: 1.2em;
    width: 100%;
    padding: 15px;
    border: none;
    text-align: left;
    cursor: pointer;
}
.faq-answer {
    display: none;
    padding: 15px;
    background: #fff;
}
.faq-item.active .faq-answer {
    display: block;
}

/* 📊 TABLEAU COMPARATIF */
.comparison-table {
    padding: 50px 20px;
    text-align: center;
}
.comparison-table h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.comparison-table th,
.comparison-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
}
.comparison-table th {
    background: #007bff;
    color: white;
}
.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* 📞 CTA STYLE */
.cta-forfaits {
    background: #007bff;
    color: white;
    text-align: center;
    padding: 40px 20px;
}
.cta-forfaits h2 {
    font-size: 2.2em;
}
.cta-forfaits p {
    font-size: 1.2em;
    margin-bottom: 20px;
}
.cta-forfaits .btn {
    display: inline-block;
    background: white;
    color: #007bff;
    font-size: 1.2em;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}
.cta-forfaits .btn:hover {
    background: #f1f1f1;
}













/* SECTION FORFAITS */
.forfaits {
    padding: 50px 0;
    text-align: center;
}

.forfaits .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Style des boîtes */
.forfait {
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    border: 1px solid #ddd;
    transition: transform 0.3s ease-in-out;
}

.forfait:hover {
    transform: scale(1.02);
}

/* Couleurs spécifiques pour chaque forfait */
.mini-page { background-color: #e3f2fd; } /* Bleu clair */
.page-avancee { background-color: #e8f5e9; } /* Vert clair */
.wordpress { background-color: #fff3e0; } /* Orange clair */

/* Titres des forfaits */
.forfait h3 {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 10px;
}

/* Liste des caractéristiques */
.forfait ul {
    list-style: none;
    padding: 0;
}

.forfait li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1em;
    margin-bottom: 8px;
}

/* Prix */
.price {
    font-size: 1.2em;
    font-weight: bold;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    margin-top: 15px;
}

/* Info paiement */
.payment-info {
    font-size: 0.9em;
    font-weight: bold;
    color: #666;
    text-align: center;
    margin-top: 5px;
}








/* BARRE DE RECHERCHE WHOIS */



.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 30px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 5px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* STYLE DE L'INPUT */

.search-bar input {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 1.1em;
    outline: none;
    border-radius: 30px 0 0 30px;
    background: #f8f9fa;
}

/* STYLE DU BOUTON */


.search-bar button {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 0 30px 30px 0;
    transition: background 0.3s ease-in-out;
}

.search-bar button:hover {
    background: #218838;
}

/* STYLE DES RÉSULTATS WHOIS */

#whois-result {
    margin-top: 15px;
    font-size: 1.2em;
    font-weight: bold;
}

/* COULEURS DES RÉSULTATS */


.domain-available {
    color: #28a745; 
    font-size: 1.3em;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.domain-taken {
    color: #dc3545; 
    font-size: 1.3em;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.domain-error {
    color: #ff9800; 
    font-size: 1.1em;
    margin-top: 15px;
}







/* === Assurer que le footer reste en bas === */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 15px;
    background: #222;
    color: white;
    font-size: 1em;
    width: 100%;
}

/* Conteneur des liens */
.footer-content {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espace entre les éléments */
    margin-bottom: 10px;
}

/* Liens du footer */
.footer-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1em;
}

/* Icônes SVG */
.footer-link svg {
    margin-right: 5px;
    fill: white;
    transition: 0.3s;
}

/* Effet hover */
.footer-link:hover svg {
    fill: #1e90ff;
}










/* HEADER */
header {
    background: #222;
    padding: 0px;
    text-align: center;
}

/* Image dans le header */
header img {
    max-width: 100%; /* Pour s’adapter aux petits écrans */
    height: auto; /* Garde les proportions */
    max-height: 100%; /* Ajuste la hauteur selon ton design */
}








/* MENU HORIZONTAL SLIDABLE - AJUSTEMENT */
.menu-container {
    background: #333;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.menu-wrapper {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

.menu-wrapper::-webkit-scrollbar {
    display: none;
}

.menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: max-content;
}

.menu li {
    display: inline-block;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px; /* Ajustement des marges intérieures */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    height: 40px; /* Réduction de la hauteur */
}

.menu-container {
    height: 45px; /* Ajustement global pour réduire la hauteur du menu */
}

/* Assurer que le menu touche les bords */
header {
    width: 100%;
    margin: 0;
    padding: 0;
}






/* HERO SECTION (STYLE ) */
.hero {
    background: #007bff;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5em;
}

.hero p {
    font-size: 1.2em;
}

.hero .btn {
    display: inline-block;
    background: white;
    color: #007bff;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 15px;
    border-radius: 50px;
}

/* FEATURES SECTION (STYLE  */
.features {
    padding: 50px 0;
    text-align: center;
}

.grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-box {
    background: white;
    padding: 20px;
    width: 30%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
}

/* CTA SECTION (STYL) */
.cta {
    background: #28a745;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.cta .container {
    max-width: 900px;
    margin: 0 auto;
}

.cta .btn {
    display: inline-block;
    background: white;
    color: #28a745;
    padding: 10px 20px;
    text-decoration: none;
    margin-top: 15px;
    border-radius: 50px;
}


/* ARTICLES (STYLE */
.articles {
    padding: 50px 0;
    text-align: center;
}

.articles .container {
    max-width: 900px;
    margin: 0 auto;
}

/* MENU INTERNE POUR LES ARTICLES */
.article-menu {
    background: #f1f1f1;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.article-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.article-menu li {
    display: inline;
}

.article-menu a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.article-menu a:hover {
    background: #007bff;
    color: white;
}

/* STYLE DES ARTICLES */
.article-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.article {
    background: white;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: left;
    border: 1px solid #ddd;
    transition: transform 0.3s ease-in-out;
}

.article:hover {
    transform: scale(1.02);
}

.article h3 {
    color: #007bff;
    margin-bottom: 10px;
}

.article p {
    font-size: 1em;
    margin-bottom: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-wrapper {
        display: flex;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .grid {
        flex-direction: column;
        align-items: center;
    }

    .feature-box {
        width: 80%;
        margin: 10px auto;
    }

    .forfait {
        width: 90%;
    }

    .article {
        width: 90%;
    }

    .article-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .article-menu a {
        display: block;
        width: 100%;
        text-align: center;
    }
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .faq .container {
        width: 90%;
    }
}




.faq-page {
    padding-top: 0 !important;
}







.faq {
    padding: 50px 0;
    text-align: center;
}

.faq .container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-question {
    width: 100%;
    background: #007bff;
    color: white;
    padding: 15px;
    font-size: 1.2em;
    border: none;
    text-align: left;
    cursor: pointer;
    outline: none;
    transition: background 0.3s, padding 0.3s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    text-align: left;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.faq-item.active .faq-answer {
    max-height: none;
    padding: 15px;
}






/* === STYLES SPÉCIFIQUES À LA PAGE CONTACT === */
.contact-page {
    font-family: Arial, sans-serif;
    background: #f8f9fa; /* Fond gris clair */
    color: #333;
    margin: 0;
    padding: 0;
}

/* === Conteneur de la section Contact === */
.contact {
    padding: 50px 0;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* === Infos de contact === */
.contact-info {
    text-align: left;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1.1em;
}

.contact-info a {
    color: #3498db; /* Bleu clair */
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* === Bouton Email === */
/* === Bouton Email corrigé === */
.email-btn {
    display: inline-block;
    background: #3498db !important; /* Bleu vif */
    color: white !important; /* Force le texte blanc */
    padding: 12px 24px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 50px; /* Rectangulaire */
    border: 2px solid #2980b9;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    cursor: pointer;
}

/* Effet au survol */
.email-btn:hover {
    background: #2980b9 !important;
}

/* Effet au clic */
.email-btn:active {
    background: #e74c3c !important;
    color: white !important; /* Assure que le texte reste blanc au clic */
}





/* Style général pour la section message */
#message {
    background-color: #f9f9f9;
    padding: 20px;
    max-width: 600px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

/* Titre de la section */
#message h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Style du formulaire */
#message form {
    display: flex;
    flex-direction: column;
}

/* Labels */
#message label {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/* Champs de texte et email */
#message input,
#message textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Champ textarea */
#message textarea {
    height: 120px;
    resize: vertical;
}

/* Bouton envoyer */
#message button {
    background-color: #007bff;
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 15px;
}

/* Effet hover sur le bouton */
#message button:hover {
    background-color: #0056b3;
}

/* Style du reCAPTCHA */
.g-recaptcha {
    margin-top: 15px;
    text-align: center;
}

/* Responsive (mobile) */
@media screen and (max-width: 768px) {
    #message {
        width: 90%;
        padding: 15px;
    }
    
    #message input,
    #message textarea {
        font-size: 14px;
    }
    
    #message button {
        font-size: 14px;
        padding: 10px;
    }
}
