/* Kredit Officiel - Styles principaux */
:root {
    --primary: #1a3b5c;
    --secondary: #2c5f8a;
    --accent: #e67e22;
    --light: #f8f9fa;
    --dark: #2c3e50;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fafbfc;
    padding-top: 80px;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.navbar-brand {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.navbar-brand i {
    color: var(--accent);
    margin-right: 8px;
    font-size: 30px;
}

.navbar-collapse {
    display: flex !important;
    flex-grow: 0;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    margin: 0 5px;
}

.nav-link {
    color: #444 !important;
    font-weight: 500;
    padding: 8px 15px !important;
    border-radius: 30px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    background: var(--accent);
    color: white !important;
}

.navbar-toggler {
    display: none;
    border: none;
    background: transparent;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 5px;
}

.lang-switcher a {
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.lang-switcher a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.lang-switcher a.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Mobile styles */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block;
    }
    .navbar-collapse {
        display: none !important;
    }
    .navbar-collapse.show {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .navbar-nav {
        flex-direction: column;
    }
    .nav-item {
        margin: 5px 0;
    }
    .lang-switcher {
        margin: 15px 0 0;
        justify-content: center;
    }
}

/* Breadcrumb */
.breadcrumb {
    margin-top: 20px;
    margin-bottom: 0;
    background: transparent;
    padding: 10px 0;
}

.breadcrumb-item.active {
    color: var(--accent) !important;
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent);
}

/* Carousel */
.carousel-item {
    transition: transform 10s ease;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    bottom: 120px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.carousel-item {
    transition: transform 10s ease;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title .separator {
    width: 80px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 20px;
    position: relative;
}

.section-title .separator::before,
.section-title .separator::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.section-title .separator::before {
    left: -15px;
}

.section-title .separator::after {
    right: -15px;
}

/* Cards */
.card-hover {
    transition: all 0.3s;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-offer {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
}

.card-offer:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-offer img {
    height: 200px;
    object-fit: cover;
}

/* Stats Bar */
.stats-bar {
    background: var(--primary);
    color: white;
    padding: 30px 0;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Features */
.feature-box {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    height: 100%;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

/* Forms */
.form-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-control, .form-select {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(230,126,34,0.25);
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230,126,34,0.3);
}

.btn-outline-primary {
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 25px;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--accent);
    color: white;
}

/* Social Share Widget */
.social-share-widget {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 40px 0;
    border: 1px solid #f0f0f0;
}

.social-share-widget h5 {
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.share-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-icons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s;
}

.share-icons a:hover {
    transform: translateY(-5px);
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-linkedin { background: #0a66c2; }
.share-whatsapp { background: #25d366; }

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    margin-top: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 40px;
    color: var(--accent);
    margin-right: 10px;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
}

.footer-lang-switcher {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-lang-switcher a {
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.footer-lang-switcher a:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.footer-lang-switcher a.active {
    background: white;
    color: var(--primary);
    border-color: white;
}

.footer-widget h5 {
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h5::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-widget a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    text-align: center;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    height: 100%;
    border: 1px solid #f0f0f0;
}

/* Table styles */
.table-dark {
    background-color: var(--primary);
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
}

.whatsapp-widget a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    font-size: 32px;
    transition: all 0.3s;
}

.whatsapp-widget a:hover {
    background: #128C7E;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-widget a {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}
