/* Fichier CSS global pour les styles personnalisés - Design très léger et épuré */

/* Importation de la police Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Couleurs ajustées pour être très légères et propres */
    --primary-color: #60A5FA; /* Bleu clair pour les accents */
   
    --accent-color: #E879F9; /* Fuchsia (peut rester comme point d'accent) */
    --text-color: #D1D5DB; /* Gris clair pour le texte */
    --text-dark: #111827; /* Gris très foncé */
    --bg-color: #0F172A; /* Bleu très foncé (base) */
    --card-bg: #1E293B; /* Gris-bleu foncé pour les cartes */
    --border-color: #475569; /* Gris ardoise plus clair pour les bordures */
    --section-bg-alt: #111827; /* Fond alternatif pour certaines sections */

    /* Pas de dégradés */
    /* --gradient-primary: linear-gradient(to right, var(--primary-color), var(--secondary-color)); */
    /* --gradient-secondary: linear-gradient(to right, var(--secondary-color), var(--accent-color)); */
    /* --gradient-bg: linear-gradient(180deg, #111827 0%, #1E293B 100%); */

    /* Typographie */
    --font-family-base: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family-base);
    font-weight: 400; /* Poids de police normal pour le corps */
    color: var(--text-color);
    background-color: var(--bg-color); /* Fond solide */
    line-height: 1.8; /* Espacement des lignes augmenté pour la légèreté */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500; /* Poids de police moyen pour la plupart des titres */
    color: #F9FAFB;
    margin-bottom: 0.7em;
    line-height: 1.3;
}

h1 { font-size: 3.5em; font-weight: 700; } /* H1 reste le plus audacieux, mais moins qu'avant */
h2 { font-size: 2.8em; font-weight: 600; } /* H2 un peu moins gras */
h3 { font-size: 2em; font-weight: 500; } /* H3 avec un poids moyen */
h4 { font-size: 1.6em; font-weight: 500; }


p {
    margin-bottom: 1.5em; /* Plus d'espace sous les paragraphes */
    color: var(--text-color);
    font-weight: 400;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #C084FC;
    text-decoration: underline;
}

/* Conteneurs et sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px; /* Augmenter le padding latéral */
}

section {
    padding: 120px 0; /* Beaucoup d'espace vertical */
    background-color: var(--bg-color); /* Fond solide par défaut */
}

/* Fond alternatif pour certaines sections */
.testimonials-section,
.form-section.alt-bg { /* Ajout d'une classe alt-bg pour le formulaire si besoin */
    background-color: var(--section-bg-alt);
}


.section-title {
    text-align: center;
    margin-bottom: 90px; /* Beaucoup d'espace en dessous */
    font-size: 3.5em; /* Taille ajustée */
    font-weight: 700; /* Moins audacieux que précédemment */
    color: #F9FAFB; /* Couleur de texte solide pour les titres de section */
}


/* Boutons */
.btn {
    display: inline-block;
    padding: 15px 35px; /* Plus de padding */
    border-radius: 8px;
    text-align: center;
    font-weight: 500; /* Poids de police moyen pour les boutons */
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--primary-color); /* Fond solide */
    color: #FFFFFF;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* Ombre un peu plus présente */
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color); /* Fond solide pour l'effet de survol */
    z-index: -1;
    transition: transform 0.5s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


/* Navbar */
.navbar {
    background-color: var(--bg-color);
    padding: 25px 0; /* Plus de padding */
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-weight: 700; /* Moins gras que 800 */
    color: #F9FAFB !important;
    font-size: 2.2em; /* Taille ajustée */
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 400; /* Poids normal pour les liens de navigation */
    margin-left: 35px; /* Plus d'espace */
    transition: color 0.2s ease;
    padding: 5px 0;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-nav .btn.nav-link {
    padding: 12px 30px; /* Padding spécifique pour le bouton dans la nav */
    font-size: 1em;
    font-weight: 500; /* Poids moyen pour le bouton */
}


/* Hero Section */
.hero-section {
    background-color: var(--bg-color); /* Fond solide */
    color: #FFFFFF;
    text-align: center;
    padding: 180px 0; /* Beaucoup d'espace */
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 5em; /* Très grand titre */
    font-weight: 800; /* Reste très audacieux pour l'impact */
    margin-bottom: 35px;
    color: var(--primary-color); /* Couleur solide pour le titre Hero */
}


.hero-section p {
    font-size: 1.6em;
    margin-bottom: 70px; /* Plus d'espace */
    color: var(--text-color);
    font-weight: 300; /* Poids léger pour le paragraphe d'intro */
    max-width: 1000px; /* Limiter la largeur du paragraphe */
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    margin: 0 15px;
}

/* Services Section */
.services-section .service-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 45px; /* Plus de padding */
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    /* Utiliser flexbox pour centrer le contenu verticalement si nécessaire */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer horizontalement les éléments flex */
    justify-content: flex-start; /* Aligner en haut */
    min-height: 350px; /* Ajouter une hauteur minimale pour l'uniformité */
}

.services-section .service-item:hover {
    transform: translateY(-12px); /* Mouvement au survol */
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4); /* Ombre au survol plus prononcée */
}

.services-section .service-item > i { /* Cible uniquement l'icône directe de service */
    font-size: 4.5em; /* Icônes plus grandes */
    color: var(--primary-color); /* Couleur ajustée (Bleu clair) */
    margin-bottom: 30px; /* Plus d'espace */
}

.services-section .service-item h3 {
    font-size: 2em; /* Taille ajustée */
    margin-bottom: 18px;
    color: #F9FAFB;
    font-weight: 500; /* Poids de police réduit pour les titres de service */
}

.services-section .service-item p {
    color: var(--text-color);
    font-weight: 400;
    flex-grow: 1; /* Permet au paragraphe de prendre l'espace restant */
}

/* Social Icons - Couleurs spécifiques */
.social-icons {
    margin-top: 30px; /* Plus d'espace */
    /* Utiliser flexbox pour centrer les icônes */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permettre aux icônes de passer à la ligne sur mobile */
}

/* Règle spécifique pour les icônes sociales DANS les cartes de service */
.services-section .service-item .social-icons i {
    font-size: 3em; /* Taille augmentée pour les icônes sociales dans les cartes */
    margin: 0 10px; /* Ajuster l'espacement si nécessaire */
    /* Les couleurs spécifiques aux plateformes sont déjà définies plus bas et s'appliqueront ici */
}


/* Règle générale pour les icônes sociales (utilisée dans le footer) */
.social-icons i {
    font-size: 2.2em; /* Taille UNIFORME pour toutes les icônes sociales (par défaut, notamment dans le footer) */
    margin: 0 12px; /* Espacement ajusté */
    color: var(--text-color); /* Couleur par default si non spécifiée */
    transition: opacity 0.2s ease;
}

/* Couleurs spécifiques aux plateformes (s'appliquent à toutes les icônes sociales) */
.social-icons .fa-facebook { color: #1877F2; }
.social-icons .fa-instagram {
    color: transparent;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.social-icons .fa-tiktok { color: #69C9D0; }
.social-icons .fa-twitter { color: #1DA1F2; }
.social-icons .fa-youtube { color: #FF0000; }
.social-icons .fa-linkedin-in { color: #0A66C2; }
.social-icons .fa-whatsapp { color: #25D366; }


.social-icons i:hover {
    opacity: 0.8;
}


/* Pricing Table Section */
.pricing-table .pricing-plan {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 50px; /* Plus de padding */
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 580px; /* Hauteur minimale augmentée pour l'uniformité */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.pricing-table .pricing-plan:hover {
     transform: translateY(-12px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.4);
}


.pricing-table .plan-header h3 {
    font-size: 2.2em; /* Taille ajustée */
    margin-bottom: 12px;
    color: #F9FAFB;
    font-weight: 600;
}
.pricing-table .plan-header p {
    color: var(--text-color);
    font-size: 1.05em;
    margin-bottom: 30px;
    font-weight: 400;
}


.pricing-table .plan-price {
    font-size: 4em; /* Taille ajustée */
    font-weight: 700; /* Moins audacieux */
    margin-bottom: 35px;
    color: var(--secondary-color); /* Couleur solide pour le prix */
}

.pricing-table .plan-price span {
    font-size: 0.35em; /* Taille ajustée */
    font-weight: 400;
    color: var(--text-color);
}

.pricing-table .plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 45px; /* Plus d'espace */
    flex-grow: 1;
    text-align: left;
}

.pricing-table .plan-features li {
    margin-bottom: 18px; /* Espacement ajusté */
    color: var(--text-color);
    font-size: 1.15em;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.pricing-table .plan-features li i {
    color: #34D399;
    margin-right: 15px;
    font-size: 1.4em; /* Taille de l'icône */
}
.pricing-table .plan-features li.text-muted i {
     color: #6B7280;
}


.pricing-table .plan-cta .btn {
    width: 100%;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--section-bg-alt); /* Utilise le fond alternatif */
    padding: 120px 0;
}

.testimonials-section .testimonial-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 45px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    font-style: italic;
    color: var(--text-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.testimonials-section .testimonial-item .client-info {
    margin-top: 35px; /* Plus d'espace */
    font-style: normal;
    font-weight: 500; /* Poids moyen */
    color: #F9FAFB;
    font-size: 1.2em;
}

.testimonials-section .testimonial-item .client-info span {
    font-weight: 400;
    color: var(--text-color);
    display: block;
    font-size: 1em;
    margin-top: 5px;
}

/* Carousel pour les témoignages (Bootstrap) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}
.carousel-indicators [data-bs-target] {
    background-color: var(--text-color);
}
.carousel-indicators .active {
    background-color: var(--accent-color);
}


/* Contact and Order Forms */
.form-section {
    padding: 120px 0;
    background-color: var(--bg-color); /* Fond solide */
}

.form-section .form-container {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 55px; /* Plus de padding */
    border: 1px solid var(--border-color);
    max-width: 850px; /* Limiter la largeur du formulaire */
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); /* Ombre plus présente */
}

.form-section .form-label {
    color: #F9FAFB;
    font-weight: 500; /* Poids moyen */
    margin-bottom: 8px;
    display: block;
}

.form-section .form-control {
    background-color: #374151;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 15px 22px; /* Plus de padding */
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    font-size: 1em;
}

.form-section .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(192, 132, 252, 0.3);
    background-color: #1F2937;
    color: #F9FAFB;
    outline: none;
}

.form-section textarea.form-control {
    min-height: 200px; /* Hauteur minimale */
    resize: vertical;
}

.form-section .btn-submit {
    width: 100%;
    margin-top: 35px; /* Plus d'espace */
    font-weight: 500; /* Poids moyen */
}

/* Alert messages (Bootstrap) */
.alert {
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 15px;
}
.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border-color: #A7F3D0;
}
.alert-danger {
    background-color: #FEE2E2;
    color: #991B1B;
    border-color: #FECACA;
}
.alert ul {
    margin-bottom: 0;
    padding-left: 20px;
}


/* Footer */
.footer {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 70px 0; /* Plus de padding */
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    margin-bottom: 15px;
    font-size: 1em;
    font-weight: 300; /* Poids léger dans le footer */
}

.footer .social-icons {
    margin-bottom: 35px; /* Plus d'espace */
}

.footer .social-icons i {
    font-size: 2.2em; /* Taille UNIFORME pour toutes les icônes sociales */
    margin: 0 12px;
}

.footer a {
    color: var(--text-color);
    margin: 0 15px; /* Espacement ajusté */
    transition: color 0.2s ease;
    font-size: 0.95em;
    font-weight: 300; /* Poids léger */
}

a.footer-link:hover { /* Style spécifique pour les liens du footer au survol */
    color: var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    h1 { font-size: 3em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.6em; }
    .section-title { font-size: 2.8em; margin-bottom: 70px;}
    .hero-section { padding: 140px 0; }
    .hero-section h1 { font-size: 4em; }
    .hero-section p { font-size: 1.4em; margin-bottom: 50px; }
    section { padding: 90px 0; }
    .navbar-nav .nav-link { margin-left: 25px; }
    .pricing-table .pricing-plan { min-height: auto; }
    .form-section .form-container { padding: 45px; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }
    .section-title { font-size: 2.2em; margin-bottom: 60px;}
    .hero-section { padding: 120px 0; }
    .hero-section h1 { font-size: 3.5em; }
    .hero-section p { font-size: 1.3em; margin-bottom: 40px; }
    section { padding: 70px 0; }
    .navbar-brand { font-size: 2em; }
    .navbar-nav .nav-link { margin-left: 0; text-align: center; padding: 10px 0; }
     .navbar-nav .btn.nav-link { margin-top: 10px; }
    .hero-buttons .btn {
        width: 90%;
        max-width: 350px;
        padding: 12px 25px;
    }
    .services-section .service-item,
    .pricing-table .pricing-plan,
    .testimonials-section .testimonial-item {
        padding: 35px;
    }
    .pricing-table .plan-price { font-size: 3.5em; }
    .pricing-table .plan-features { text-align: left; }
    .pricing-table .plan-features li { justify-content: flex-start; }
    .form-section .form-container { padding: 35px; }
    .form-section .btn-submit { padding: 12px 25px; }
    .footer { padding: 50px 0; }
    .footer .social-icons i { font-size: 1.8em; margin: 0 10px;}
    .footer a { margin: 0 10px; font-size: 0.9em;}
}

/* Fade-in effect */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
