/* ============================================
   STYLE.CSS - DIALLY CONSULTING
   Design moderne, glassmorphisme, responsive
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1A2C3E;
    background: #FFFFFF;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== NAVBAR ========== */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #0A2540 0%, #0077b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text h1 span {
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slogan-tag {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: #0077b6;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 600;
    color: #1A2C3E;
    transition: 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0077b6, #00b4d8);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #0077b6;
}

.btn-whatsapp-nav {
    background: linear-gradient(135deg, #25D366, #128C7E);
    padding: 8px 20px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(37,211,102,0.3);
}

.btn-whatsapp-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37,211,102,0.4);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #0077b6;
}

/* ========== HERO SECTION CORRIGÉE ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0A2540 0%, #0077b6 100%);
}

/* Version avec image - DÉBLOQUEZ EN SUPPRIMANT // */
/*
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.7);
    z-index: 1;
}
*/

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFB74D;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    font-family: 'Poppins', sans-serif;
    color: white;
}

.highlight {
    color: #FFB74D;
    position: relative;
    display: inline-block;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #FFB74D, #FF9800);
    color: #0A2540;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.btn-outline {
    border: 2px solid white;
    background: transparent;
    color: white;
    padding: 10px 32px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: white;
    color: #0077b6;
    transform: translateY(-3px);
}

.hero-contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

.hero-contact-info i {
    margin-right: 8px;
    color: #FFB74D;
}

.wave-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V95.8C59.71,118.11,134.79,112.52,197.37,90.3,249.53,71.58,281.32,65.81,321.39,56.44Z" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 2;
}

/* ========== SECTIONS ========== */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    font-weight: 700;
    color: #0077b6;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 12px;
    background: rgba(0,119,182,0.1);
    padding: 5px 15px;
    border-radius: 30px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #0A2540, #0077b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: #4a627a;
    max-width: 700px;
    margin: 0 auto;
}

/* ========== SERVICES ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 28px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,119,182,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(0,119,182,0.15);
    border-color: rgba(0,119,182,0.3);
}

.service-icon {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0A2540;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #4a627a;
}

.service-card li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #0077b6;
    font-weight: bold;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    background: linear-gradient(135deg, #F8FBFF 0%, #F0F7FC 100%);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: 0.3s;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    background: white;
    transition: 0.3s;
}

.faq-question:hover {
    background: #F8FBFF;
}

.faq-question i {
    transition: transform 0.4s ease;
    color: #0077b6;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.4s;
    color: #5a6e85;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px 24px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ========== AVANTAGES ========== */
.avantages {
    background: linear-gradient(135deg, #0A2540 0%, #0D3B5E 100%);
    color: white;
}

.white-header .section-subtitle {
    background: rgba(255,255,255,0.2);
    color: #FFB74D;
}

.white-header h2 {
    background: linear-gradient(135deg, #FFFFFF, #FFB74D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.avantages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.avantage-item {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 12px 28px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.avantage-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.avantage-item i {
    color: #FFB74D;
}

/* ========== CLIENTÈLE ========== */
.clientele-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.tag {
    background: linear-gradient(135deg, #F0F7FC 0%, #E6F0FA 100%);
    color: #1e4663;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tag:hover {
    transform: translateY(-3px);
    background: #0077b6;
    color: white;
}

.client-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    background: white;
    padding: 20px 35px;
    border-radius: 60px;
    font-weight: 700;
    color: #0A2540;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,119,182,0.1);
}

.stat i {
    font-size: 2rem;
    color: #0077b6;
}

/* ========== CONTACT ========== */
.contact {
    background: linear-gradient(115deg, #FFFFFF 40%, #F5FAFF 60%);
}

.contact-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-infos {
    flex: 1;
}

.contact-infos h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #0A2540, #0077b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #0077b6;
    width: 40px;
}

.contact-item a {
    text-decoration: none;
    color: #1e2a41;
    font-weight: 500;
    transition: 0.2s;
}

.contact-item a:hover {
    color: #0077b6;
}

.social-mini {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-mini i {
    font-size: 1.8rem;
    color: #0077b6;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.7;
}

.social-mini i:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background: white;
    padding: 35px;
    border-radius: 38px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e8edf3;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #0077b6;
    box-shadow: 0 0 0 4px rgba(0,119,182,0.1);
}

.btn-submit {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 40px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,119,182,0.3);
}

/* ========== FOOTER ========== */
.footer {
    background: #0A1C2C;
    color: #b0c4de;
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col h3, .footer-col h4 {
    color: white;
    margin-bottom: 18px;
}

.footer-col p, .footer-col ul {
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #b0c4de;
    text-decoration: none;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: #FFB74D;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
}

/* ========== BOUTONS FLOTTANTS ========== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1100;
}

.float-wa, .float-chat {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.float-wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-chat {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
}

.float-wa:hover, .float-chat:hover {
    transform: scale(1.1);
}

.tooltip {
    position: absolute;
    right: 75px;
    background: #1e2a41;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.float-wa:hover .tooltip, .float-chat:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

/* ========== CHATBOT WIDGET ========== */
.chatbot-widget {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    z-index: 1200;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-widget.open {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-header {
    background: linear-gradient(135deg, #0A2540, #0077b6);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.chatbot-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}

.chatbot-header button:hover {
    transform: scale(1.1);
}

.chatbot-messages {
    height: 320px;
    overflow-y: auto;
    padding: 16px;
    background: #F9FAFE;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bot-message, .user-message {
    max-width: 85%;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    line-height: 1.45;
}

.bot-message {
    background: #E8F0FE;
    color: #1A2C3E;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-message {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.suggestion-chip {
    background: #F0F4F9;
    border: none;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 500;
}

.suggestion-chip:hover {
    background: #0077b6;
    color: white;
    transform: translateY(-2px);
}

.chatbot-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid #e2e8f0;
    background: white;
    gap: 8px;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ccd7e6;
    border-radius: 30px;
    outline: none;
    font-family: 'Inter', sans-serif;
    transition: 0.2s;
}

.chatbot-input input:focus {
    border-color: #0077b6;
    box-shadow: 0 0 0 3px rgba(0,119,182,0.1);
}

.chatbot-input button {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    border: none;
    color: white;
    width: 42px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
}

.chatbot-input button:hover {
    transform: scale(1.05);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 1.5rem;
        padding: 30px;
        box-shadow: 0 20px 30px rgba(0,0,0,0.1);
        transition: 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .chatbot-widget {
        width: 340px;
        right: 15px;
        bottom: 110px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-outline {
        justify-content: center;
    }
    
    .avantage-item {
        width: 100%;
        justify-content: center;
    }
    
    .stat {
        width: 100%;
        justify-content: center;
    }
    
    .chatbot-widget {
        width: 300px;
        right: 10px;
        bottom: 100px;
    }
    
    .floating-buttons {
        right: 15px;
        bottom: 20px;
    }
}