/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2b5f;
    --secondary-color: #7a6d8f;
    --accent-color: #4a5d9e;
    --light-bg: #f5f5f5;
    --dark-bg: #2c3e6f;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --border-color: #ddd;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.phone-number {
    background: #ff9052;
    padding: 10px 20px;
    border-radius: 5px;
    color: var(--white);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
}

/* Hero Section */
.hero-home {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-bottom: 70px;
}
 
.hero-home-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?w=1400&q=80') center/cover no-repeat;
}
 
.hero-home-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(12,28,80,0.93) 0%, rgba(12,28,80,0.76) 55%, rgba(12,28,80,0.28) 100%);
}
 
.hero-home-inner {
    position: relative;
    z-index: 2;
    padding: 3.5rem 3rem 3rem;
    max-width: 640px;
    margin-left: calc((100% - 1200px) / 2);
}
 
@media (max-width: 1240px) {
    .hero-home-inner {
        margin-left: 20px;
    }
}
 
.hero-home-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 0.5px solid rgba(255,255,255,0.22);
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
}
 
.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #60efb0;
    display: inline-block;
    flex-shrink: 0;
}
 
.hero-home-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin: 0 0 0.8rem;
}
 
.hero-home-title span {
    color: #a8c8ff;
}
 
.hero-home-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin: 0 0 2rem;
    max-width: 500px;
}
 
.hero-home-services {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2.2rem;
}
 
.hero-service-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.1);
    border: 0.5px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    padding: 8px 14px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
}
 
.hero-home-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
 
.hero-btn-start {
    background: #ff9052;
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
}
 
.hero-btn-start:hover {
    background: #ff7a33;
    transform: translateY(-2px);
    color: var(--white);
}
 
.hero-btn-learn {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 0.5px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    padding: 13px 22px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
}
 
.hero-btn-learn:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
}
 
/* Trust bar */
.hero-trust-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: rgba(10,22,65,0.55);
    border-top: 0.5px solid rgba(255,255,255,0.1);
    display: flex;
}
 
.hero-trust-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 12px;
    border-right: 0.5px solid rgba(255,255,255,0.1);
}
 
.hero-trust-item:last-child {
    border-right: none;
}
 
.hero-trust-item svg {
    flex-shrink: 0;
}
 
.hero-trust-text {
    font-size: 12px;
    color: rgba(255,255,255,0.72);
    line-height: 1.35;
}
 
.hero-trust-text strong {
    display: block;
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
}
 
@media (max-width: 768px) {
    .hero-home {
        min-height: 420px;
        padding-bottom: 0;
    }
    .hero-home-inner {
        padding: 2.5rem 1.5rem 2rem;
    }
    .hero-trust-bar {
        position: static;
        flex-wrap: wrap;
    }
    .hero-trust-item {
        flex: 1 1 50%;
        border-right: none;
        border-top: 0.5px solid rgba(255,255,255,0.1);
    }
}
 
@media (max-width: 480px) {
    .hero-trust-bar {
        display: none;
    }
}
/* Info Section */
/* Info Section */
.info-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.info-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;  /* ← AJOUT */
}

.info-card-top {
    /* Carte du dessus - plus compacte */
}

.info-card-bottom {
    /* Carte du dessous - avec onglets */
    position: relative;
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;  /* ← MODIFICATION (ajout de "0 auto") */
    font-size: 48px;
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: center;  /* ← AJOUT */
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: center;  /* ← AJOUT */
}

.subtitle {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;  /* ← AJOUT */
}

.arrow-link {
    color: var(--accent-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    margin-top: 15px;
    justify-content: center;  /* ← AJOUT */
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0;
    margin: 30px 0 20px;
    border-radius: 5px;
    overflow: hidden;
}

.tab-btn {
    flex: 1;
    padding: 15px 30px;
    border: none;
    background: var(--light-bg);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.tab-btn:first-child {
    background: #8b9dc3;
    color: var(--white);
}

.tab-btn:last-child {
    background: #8b9dc3;
    color: var(--white);
}

.tab-btn.active {
    background: var(--accent-color);
    color: var(--white);
}

.tab-content {
    display: none;
    padding-top: 20px;
    position: relative;
}

.tab-content.active {
    display: block;
}

/* Cadre grisé pour le texte */
.tab-text-box {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent-color);
}

.tab-text-box p {
    margin: 0;
    color: var(--text-dark);
}

.link-underline {
    color: var(--accent-color);
    text-decoration: underline;
    display: block;
    margin: 15px 0;
    cursor: pointer;
    font-weight: 500;
}

.link-underline:hover {
    color: var(--primary-color);
}
/* Cacher le lien "en savoir plus" quand popup active */
.link-underline.hidden {
    display: none;
}

/* Bouton Choisir stylisé en orange */
.btn-primary {
    background: #ff9052;  /* ← MODIFICATION (orange au lieu de bleu) */
    color: var(--white);
    border: none;
    padding: 12px 40px;
    border-radius: 8px;  /* ← MODIFICATION (plus arrondi) */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 144, 82, 0.3);  /* ← AJOUT (ombre orange) */
}

.btn-primary:hover {
    background: #ff7a33;  /* ← MODIFICATION (orange plus foncé au survol) */
    transform: translateY(-2px);  /* ← AJOUT (effet de levée) */
    box-shadow: 0 6px 20px rgba(255, 144, 82, 0.4);  /* ← AJOUT */
}

/* Popup pour "en savoir plus" */
.info-popup {
    display: none;
    background: var(--white);
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    padding: 30px;
    padding-bottom: 80px;  /* ← AJOUT (espace pour le bouton en bas) */
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: slideDown 0.3s ease-out;
}

.info-popup.active {
    display: block;
}

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

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 5px 10px;
}

.popup-close:hover {
    color: var(--text-dark);
}

.info-popup h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.info-popup p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
}

.info-popup p:last-child {
    margin-bottom: 0;
}
/* Features Section */
/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 60px;
}

.feature-card {
    padding: 40px 30px;
    border-right: 1px solid var(--border-color);
    text-align: center;
}

.feature-card:last-child {
    border-right: none;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin:0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.feature-icon svg {
    width: 80px;
    height: 80px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 15px;
}
.tagline {
    text-align: center;
    padding: 40px;
    background: var(--light-bg);
    border-radius: 10px;
}

.tagline p {
    font-size: 20px;
    color: var(--text-dark);
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-section h2 {
    text-align: center;
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.about-content {
    display: flex;
    gap: 40px;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.about-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Callback Section */
.callback-section {
    padding: 80px 0;
    background: var(--white);
}

.callback-card {
    background: linear-gradient(135deg, #7a6d8f 0%, #a090b0 100%);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.callback-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callback-card h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.callback-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto 15px;
}

.callback-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.btn-submit {
    width: 60px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--accent-color);
}

.form-note {
    font-size: 12px;
    opacity: 0.9;
}

/* Question Section */
.question-section {
    padding: 60px 0;
    background: var(--light-bg);
    text-align: center;
}

.question-text {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.question-subtext {
    color: var(--text-light);
}

.question-subtext a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.actualites-section {
    padding: 80px 0;
    background: #f7f8fc;
}
.actualites-section .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 16px;
}
.actualites-section .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26,43,95,0.08);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #1a2b5f;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.actualites-section .section-tag-dot {
    width: 6px;
    height: 6px;
    background: #60efb0;
    border-radius: 50%;
}
.actualites-section h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: #0f1b3d;
    margin: 0;
}
.actualites-voir-tout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1a2b5f;
    text-decoration: none;
    border-bottom: 1px solid #1a2b5f;
    padding-bottom: 2px;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.actualites-voir-tout:hover { opacity: 0.7; }
 
/* Grille articles */
.actualites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.actu-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(26,43,95,0.07);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
}
.actu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(26,43,95,0.13);
}
.actu-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #0f1b3d 0%, #1a2b5f 100%);
    color: #fff;
}
.actu-card-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5a6a8a;
    margin-bottom: 12px;
}
.actu-card.featured .actu-card-cat {
    color: #60efb0;
}
.actu-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f1b3d;
    line-height: 1.4;
    margin-bottom: 10px;
    flex-grow: 1;
}
.actu-card.featured .actu-card-title {
    font-size: 20px;
    color: #fff;
}
.actu-card-summary {
    font-size: 13.5px;
    line-height: 1.65;
    color: #666;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.actu-card.featured .actu-card-summary {
    color: rgba(255,255,255,0.7);
    -webkit-line-clamp: 4;
}
.actu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef0f7;
}
.actu-card.featured .actu-card-footer {
    border-top-color: rgba(255,255,255,0.15);
}
.actu-card-date {
    font-size: 12px;
    color: #aaa;
}
.actu-card.featured .actu-card-date {
    color: rgba(255,255,255,0.5);
}
.actu-card-read {
    font-size: 12px;
    font-weight: 600;
    color: #1a2b5f;
    display: flex;
    align-items: center;
    gap: 4px;
}
.actu-card.featured .actu-card-read {
    color: #60efb0;
}
 
/* Ligne du bas (3 petites cartes) */
.actualites-grid-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.actu-card-small {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(26,43,95,0.06);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
    border-left: 3px solid #1a2b5f;
}
.actu-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26,43,95,0.11);
}
.actu-card-small .actu-card-cat {
    margin-bottom: 8px;
}
.actu-card-small .actu-card-title {
    font-size: 13.5px;
    margin-bottom: 8px;
}
.actu-card-small .actu-card-date {
    font-size: 11px;
    color: #bbb;
    margin-top: auto;
}
 
/* Responsive */
@media (max-width: 900px) {
    .actualites-grid {
        grid-template-columns: 1fr 1fr;
    }
    .actu-card.featured {
        grid-column: span 2;
    }
    .actualites-grid-bottom {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .actualites-grid,
    .actualites-grid-bottom {
        grid-template-columns: 1fr;
    }
    .actu-card.featured {
        grid-column: span 1;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-column a:hover {
    opacity: 1;
}

.map-placeholder {
    background: var(--light-bg);
    border-radius: 5px;
    overflow: hidden;
}

.phone {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h1 span {
        font-size: 32px;
    }

    .info-section .container {
        grid-template-columns: 1fr;
    }

    .features-section .container > div:first-child {
        grid-template-columns: 1fr;
    }

    .about-content {
        flex-direction: column;
        padding: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero h1 span {
        font-size: 24px;
    }

    .info-card,
    .about-content {
        padding: 25px;
    }

    .callback-card {
        padding: 30px 20px;
    }

    .callback-form {
        flex-direction: column;
    }

    .btn-submit {
        width: 100%;
        padding: 15px;
    }
}
