/* Variables CSS */
:root {
    --bleu-fonce: #0D3A63;
    --bleu-moyen: #267CC5;
    --bleu-clair: #65B9E9;
    --bleu-tres-clair: #A8D8F0;
    --gris-clair: #F8F9FA;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Logo Navbar */
.navbar-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* Section Hero */
.hero-section {
    background: linear-gradient(135deg, rgba(13, 58, 99, 0.85) 0%, rgba(38, 124, 197, 0.85) 100%), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 58, 99, 0.1);
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-primary-custom {
    background-color: var(--bleu-clair);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(101, 185, 233, 0.4);
}

.btn-primary-custom:hover {
    background-color: var(--bleu-tres-clair);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(101, 185, 233, 0.6);
}

.btn-secondary-custom {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background-color: white;
    color: var(--bleu-moyen);
}

/* Section Avantages */
.avantages-section {
    padding: 80px 0;
    background-color: var(--gris-clair);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bleu-fonce);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 4rem;
}

.avantage-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.avantage-card:hover {
    transform: translateY(-10px);
    border-color: var(--bleu-clair);
    box-shadow: 0 10px 30px rgba(38, 124, 197, 0.2);
}

.avantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bleu-moyen), var(--bleu-clair));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
}

.avantage-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bleu-fonce);
    margin-bottom: 15px;
}

/* Section Services */
.services-section {
    padding: 80px 0;
    background: white;
}

.service-item {
    display: flex;
    align-items: start;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background-color: var(--gris-clair);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bleu-clair);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: white;
    font-size: 1.5rem;
}

/* Section Tarifs */
.tarifs-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--gris-clair) 0%, white 100%);
}

/* Section Formulaire de Contact */
.contact-form-section {
    padding: 80px 0;
    background-color: var(--gris-clair);
}

.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-label {
    font-weight: 600;
    color: var(--bleu-fonce);
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--bleu-clair);
    box-shadow: 0 0 0 0.2rem rgba(101, 185, 233, 0.25);
}

.form-control::placeholder {
    color: #aaa;
}

#formSuccess {
    border-radius: 10px;
    border-left: 5px solid #28a745;
}

/* Section Tarifs */
.tarif-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.tarif-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(38, 124, 197, 0.2);
}

.tarif-card.populaire {
    border-color: var(--bleu-moyen);
    transform: scale(1.05);
}

.tarif-badge {
    background-color: var(--bleu-moyen);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.tarif-nom {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bleu-fonce);
    margin-bottom: 10px;
}

.tarif-prix {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bleu-moyen);
    margin-bottom: 5px;
}

.tarif-prix small {
    font-size: 1.2rem;
    color: #666;
}

.tarif-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.tarif-features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.tarif-features li:last-child {
    border-bottom: none;
}

.tarif-features li i {
    color: var(--bleu-clair);
    margin-right: 10px;
}

/* Section CTA */
.cta-section {
    background: linear-gradient(135deg, var(--bleu-moyen) 0%, var(--bleu-fonce) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--bleu-fonce);
    color: white;
    padding: 40px 0 20px;
}

.footer a {
    color: var(--bleu-clair);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--bleu-moyen);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--bleu-clair);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .tarif-card.populaire {
        transform: scale(1);
    }
}

/* Animation au scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Styles pour les pages de services et CGV */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu-moyen) 100%);
    color: white;
    padding: 120px 0 60px;
    margin-bottom: 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background-color: white;
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    padding: 8px 0;
    line-height: 1.8;
}

/* Feature Box */
.feature-box {
    background: var(--gris-clair);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bleu-moyen), var(--bleu-clair));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: white;
}

.feature-item {
    margin-bottom: 20px;
}

.feature-item h5 {
    color: var(--bleu-fonce);
    margin-bottom: 10px;
}

/* Process Steps */
.process-step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(38, 124, 197, 0.2);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bleu-moyen), var(--bleu-clair));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h4 {
    color: var(--bleu-fonce);
    margin-bottom: 15px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--bleu-moyen) 0%, var(--bleu-fonce) 100%);
    color: white;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
}

.cta-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Approach Card */
.approach-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--gris-clair);
    border-radius: 15px;
    height: 100%;
}

.approach-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bleu-clair);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.approach-card h4 {
    color: var(--bleu-fonce);
    margin-bottom: 15px;
}

/* Style Card */
.style-card {
    background: white;
    border: 2px solid var(--bleu-clair);
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
}

.style-card:hover {
    background-color: var(--bleu-clair);
    color: white;
    transform: translateY(-5px);
}

.style-card h5 {
    color: var(--bleu-fonce);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.style-card:hover h5 {
    color: white;
}

/* Pillar Card */
.pillar-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.pillar-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bleu-moyen);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: white;
}

.pillar-card h4 {
    color: var(--bleu-fonce);
    margin-bottom: 15px;
}

.pillar-card ul {
    padding-left: 20px;
}

.pillar-card ul li {
    padding: 5px 0;
    color: #666;
}

/* Support Cards */
.support-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.support-card.featured {
    border: 3px solid var(--bleu-moyen);
    transform: scale(1.05);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(38, 124, 197, 0.2);
}

.support-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--bleu-moyen);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.support-header {
    padding: 25px 20px;
    text-align: center;
}

.support-body {
    padding: 25px 20px;
}

.support-body ul li {
    padding: 10px 0;
}

/* Contact Method */
.contact-method {
    text-align: center;
    padding: 30px 20px;
    background: var(--gris-clair);
    border-radius: 15px;
    height: 100%;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bleu-moyen), var(--bleu-clair));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.contact-method h5 {
    color: var(--bleu-fonce);
    margin-bottom: 10px;
}

/* CGV Content */
.cgv-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
}

.cgv-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.cgv-section:last-child {
    border-bottom: none;
}

.cgv-section h2 {
    color: var(--bleu-fonce);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cgv-section h3 {
    color: var(--bleu-moyen);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
}

.cgv-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.cgv-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.cgv-section ul li {
    padding: 5px 0;
    line-height: 1.8;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .cta-box {
        padding: 40px 20px;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
    
    .cgv-content {
        padding: 20px;
    }
}

/* Section Réalisations */
.realisations-section {
    padding: 80px 0;
    background-color: white;
}

.realisation-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.realisation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(38, 124, 197, 0.3);
}

.realisation-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bleu-clair), var(--bleu-moyen));
}

.realisation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.realisation-card:hover .realisation-image img {
    transform: scale(1.1);
}

.realisation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 58, 99, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.realisation-card:hover .realisation-overlay {
    opacity: 1;
}

.btn-view-project {
    background-color: var(--bleu-clair);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-view-project:hover {
    background-color: white;
    color: var(--bleu-moyen);
    transform: scale(1.05);
}

.realisation-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.realisation-tag {
    display: inline-block;
    background-color: var(--bleu-clair);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.realisation-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bleu-fonce);
    margin-bottom: 15px;
}

.realisation-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.realisation-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.realisation-stats span {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--bleu-moyen);
    font-weight: 600;
}

.realisation-stats i {
    font-size: 1rem;
}

/* Responsive pour les réalisations */
@media (max-width: 768px) {
    .realisation-image {
        height: 250px;
    }
    
    .realisation-stats {
        flex-direction: column;
        gap: 10px;
    }
}
