/* ========================================
   GIP Cadres Avenir - Styles CSS
   ======================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header
   ======================================== */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 45px;
    width: auto;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 5px;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a,
.nav-list > li > span {
    display: block;
    padding: 10px 15px;
    color: #007E7F;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: #E59200;
}

/* Dropdown */
.has-submenu > a::after {
    content: " ▾";
    font-size: 10px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.submenu li a:hover {
    background: #007E7F;
    color: #fff;
}

/* Nested Submenu (3rd level) */
.has-submenu-nested {
    position: relative;
}

.has-submenu-nested > a::after {
    content: " ▸";
    font-size: 10px;
    float: right;
}

.submenu-nested {
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s;
    z-index: 101;
}

.has-submenu-nested:hover > .submenu-nested {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-nested li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.submenu-nested li a:hover {
    background: #007E7F;
    color: #fff;
}

/* Nested inside nested */
.submenu-nested .has-submenu-nested > .submenu-nested {
    left: 100%;
    top: 0;
}

/* Search Icon */
.search-icon {
    color: #007E7F;
    cursor: pointer;
    padding: 10px;
}

.search-icon:hover {
    color: #E59200;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #007E7F;
    transition: 0.3s;
}

/* ========================================
   Hero Slider
   ======================================== */
.hero-slider {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #fff;
}

/* ========================================
   Announcement Banner
   ======================================== */
.announcement-banner {
    background: #E02B20;
    color: #fff;
    text-align: center;
    padding: 25px 20px;
}

.announcement-banner p {
    margin: 5px 0;
}

.announcement-banner a {
    color: #fff;
    text-decoration: underline;
}

.announcement-banner a:hover {
    text-decoration: none;
}

/* ========================================
   Programs Section
   ======================================== */
.programs-section {
    padding: 50px 0;
    background: #fff;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.program-card {
    text-align: center;
}

.program-logo {
    max-height: 120px;
    margin-bottom: 20px;
}

.program-card h4 {
    margin-bottom: 15px;
}

.program-card h4 a {
    color: #E59200;
    font-size: 22px;
    font-weight: 700;
}

.program-card h4 a:hover {
    color: #007E7F;
}

.program-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

.program-card p a {
    color: #2EA3F2;
}

.program-card p a:hover {
    text-decoration: underline;
}

/* ========================================
   Accompagnement Section
   ======================================== */
.accompagnement-section {
    background: linear-gradient(135deg, #007E7F 0%, #005a5b 100%);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.accompagnement-section h1 {
    font-size: 32px;
    font-weight: 400;
    margin: 5px 0;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    background: #f5f5f5;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 72px;
    color: #007E7F;
    font-weight: 300;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1;
}

.stat-item h3 {
    color: #007E7F;
    font-size: 16px;
    font-weight: 600;
}

/* ========================================
   Main Content
   ======================================== */
.main-content {
    padding: 50px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-left h2 {
    color: #E59200;
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007E7F;
}

.accueil-text .text-with-image {
    overflow: hidden;
    margin-bottom: 20px;
}

.accueil-text .float-left {
    float: left;
    margin: 0 20px 15px 0;
    max-width: 200px;
    border-radius: 3px;
}

.accueil-text .float-right {
    float: right;
    margin: 0 0 15px 20px;
    max-width: 280px;
    border-radius: 3px;
}

.accueil-text .clear {
    clear: both;
}

.accueil-text p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.7;
}

.accueil-text ul {
    margin-left: 30px;
    list-style: disc;
}

.accueil-text ul li {
    margin-bottom: 5px;
}

/* Flash Info Box */
.flash-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid #007E7F;
    border-radius: 0 5px 5px 0;
}

.flash-icon {
    width: 32px;
    height: 32px;
    color: #F5A623;
}

.flash-icon svg {
    width: 100%;
    height: 100%;
}

.flash-info-box h4 a {
    color: #007E7F;
    font-size: 18px;
}

.flash-info-box h4 a:hover {
    color: #E59200;
}

/* Info Cards */
.info-card {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid #007E7F;
    margin-bottom: 15px;
    border-radius: 0 5px 5px 0;
}

.info-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.info-icon svg {
    width: 100%;
    height: 100%;
}

/* Icon colors */
.icon-etudiant {
    color: #1a237e;
}

.icon-pro {
    color: #E59200;
}

.icon-mba {
    color: #007E7F;
}

.icon-prepa {
    color: #E59200;
}

.info-content h4 {
    color: #007E7F;
    font-size: 16px;
    margin-bottom: 8px;
}

.info-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   Réussites Section
   ======================================== */
.reussites-section {
    padding: 50px 0;
    background: #f9f9f9;
}

.reussites-section h2 {
    color: #E59200;
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

.reussites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.reussite-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.reussite-card:hover {
    transform: translateY(-5px);
}

.reussite-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.reussite-card h3 {
    padding: 20px 20px 10px;
}

.reussite-card h3 a {
    color: #E59200;
    font-size: 18px;
}

.reussite-card h3 a:hover {
    color: #007E7F;
}

.reussite-card p {
    padding: 0 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    padding: 10px 20px 20px;
    color: #007E7F;
    font-size: 14px;
    font-weight: 600;
}

.read-more:hover {
    color: #E59200;
}

/* ========================================
   Actualités Section
   ======================================== */
.actualites-section {
    padding: 50px 0;
}

.actualites-section h2 {
    color: #E59200;
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.actu-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.actu-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.actu-card h3 {
    padding: 20px 20px 10px;
}

.actu-card h3 a {
    color: #E59200;
    font-size: 16px;
    line-height: 1.4;
}

.actu-card h3 a:hover {
    color: #007E7F;
}

.actu-card p {
    padding: 0 20px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.actu-card .read-more {
    padding: 10px 20px 20px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #333;
    color: #fff;
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: #E59200;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col a {
    color: #2EA3F2;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #E59200;
}

.footer-logo {
    margin-top: 20px;
    max-width: 100px;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    .programs-grid {
        gap: 40px;
    }

    .stats-grid {
        gap: 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .reussites-grid,
    .actualites-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Header Mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
    }

    .nav-list > li > a {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .submenu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 20px;
    }

    .has-submenu.open .submenu {
        display: block;
    }

    .search-icon {
        display: none;
    }

    /* Hero */
    .hero-slider {
        height: 250px;
    }

    /* Programs */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Accompagnement */
    .accompagnement-section h1 {
        font-size: 22px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Réussites & Actualités */
    .reussites-grid,
    .actualites-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Announcement */
    .announcement-banner {
        padding: 20px 15px;
        font-size: 14px;
    }
}

/* ========================================
   Page Header (Subpages)
   ======================================== */
.page-header {
    background: #007E7F url('images/geometic-bg-teal-1.jpg') center center;
    background-size: cover;
    color: #fff;
    padding: 70px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 0;
    font-style: italic;
}

/* ========================================
   Quote Section
   ======================================== */
.quote-section {
    background: #f5f5f5;
    padding: 40px 20px;
}

.quote-section .container {
    max-width: 900px;
}

.quote-text {
    text-align: center;
    font-size: 17px;
    line-height: 1.8;
    color: #E59200;
    margin-bottom: 15px;
}

.quote-cite {
    text-align: right;
    color: #007E7F;
    font-weight: 600;
    font-size: 16px;
}

/* ========================================
   Section Two Columns (Image + Content)
   ======================================== */
.section-two-cols {
    padding: 50px 0;
}

.two-cols-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.col-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.col-content {
    padding-top: 10px;
}

/* Reverse layout (content left, image right) */
.two-cols-reverse {
    grid-template-columns: 1.2fr 1fr;
}

.two-cols-reverse .col-content {
    order: 1;
}

.two-cols-reverse .col-image {
    order: 2;
}

/* Section Title with Arrow */
.section-title-arrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #007E7F;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid #007E7F;
    padding-bottom: 10px;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    color: #E59200;
    flex-shrink: 0;
}

.arrow-icon svg {
    width: 100%;
    height: 100%;
}

/* Section Title with Icon (round) */
.section-title-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #007E7F;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid #007E7F;
    padding-bottom: 15px;
}

.section-title-icon .para-icon {
    flex-shrink: 0;
}

/* Icon Paragraphs */
.icon-paragraph {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.para-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.para-icon svg {
    width: 100%;
    height: 100%;
}

.icon-lines {
    border-color: #007E7F;
    color: #007E7F;
}

.icon-grid {
    border-color: #E59200;
    color: #E59200;
}

.icon-dollar {
    border-color: #007E7F;
    color: #007E7F;
}

.icon-paragraph p {
    margin: 0 0 10px 0;
    line-height: 1.7;
    color: #555;
}

.icon-paragraph strong {
    color: #007E7F;
}

/* Highlight Bar */
.highlight-bar {
    background: #E59200;
    color: #fff;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    margin-top: 25px;
}

/* ========================================
   Section Opérateurs
   ======================================== */
.section-operateurs {
    padding: 50px 0;
    background: #fff;
}

.section-operateurs .two-cols-grid {
    align-items: center;
}

.operateurs-list {
    margin-left: 25px;
    list-style: disc;
}

.operateurs-list > li {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.operateurs-list ol {
    margin-top: 15px;
    margin-left: 25px;
    list-style: decimal;
}

.operateurs-list ol li {
    margin-bottom: 10px;
}

/* ========================================
   Section Candidater
   ======================================== */
.section-candidater {
    padding: 40px 0;
    background: #f9f9f9;
}

.candidater-list {
    margin-left: 25px;
    list-style: disc;
}

.candidater-list li {
    line-height: 1.7;
}

.candidater-list a {
    color: #2EA3F2;
    font-weight: 600;
}

.candidater-list a:hover {
    text-decoration: underline;
}

/* ========================================
   Section Conditions
   ======================================== */
.section-conditions {
    padding: 50px 0;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.condition-card {
    background: #fff;
    border-radius: 0;
    padding: 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.condition-card h3 {
    color: #E59200;
    background: transparent;
    margin: 0;
    padding: 25px 30px 15px;
    font-size: 22px;
    text-align: left;
    border-bottom: 2px solid #007E7F;
    margin-left: 30px;
    margin-right: 30px;
    padding-left: 0;
    padding-right: 0;
}

.condition-card .check-list {
    padding: 25px 30px 30px;
}

/* Check List */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
    align-items: flex-start;
}

.check-list li:last-child {
    margin-bottom: 0;
}

.check-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #E59200;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.check-icon svg {
    width: 100%;
    height: 100%;
}

.check-list li span:last-child {
    color: #555;
    padding-top: 3px;
}

/* ========================================
   Section Etapes
   ======================================== */
.section-etapes {
    padding: 50px 0;
    background: #f9f9f9;
}

.etapes-list {
    margin-top: 30px;
}

.etape {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.etape:last-child {
    margin-bottom: 0;
}

.etape-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #007E7F;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.etape-content {
    flex: 1;
    background: #fff;
    padding: 20px 25px;
    border-left: 4px solid #E59200;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.etape-content p {
    margin: 0;
    line-height: 1.7;
    color: #555;
}

.etape-content strong {
    color: #333;
}

/* ========================================
   Page Header Passeport Mobilité
   ======================================== */
.page-header-pm {
    background: #007E7F url('images/geometic-bg-teal-2.jpg') center center;
    background-size: cover;
}

/* ========================================
   Content with Sidebar Layout
   ======================================== */
.page-content-sidebar {
    padding: 50px 0;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar Menu */
.sidebar-menu {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #eee;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu li a {
    display: block;
    padding: 15px 20px;
    color: #555;
    font-size: 15px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-menu li a:hover,
.sidebar-menu li.active a {
    background: #f5f5f5;
    color: #007E7F;
    border-left-color: #E59200;
}

/* Main Content Area */
.main-content-area {
    min-width: 0;
}

.main-content-area .section-title-icon {
    margin-bottom: 30px;
}

.content-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.content-text a {
    color: #2EA3F2;
}

.content-text a:hover {
    text-decoration: underline;
}

/* Info Boxes */
.info-box {
    display: flex;
    gap: 20px;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 5px;
    align-items: flex-start;
}

.info-box-teal {
    background: rgba(0, 126, 127, 0.1);
    border-left: 4px solid #007E7F;
}

.info-box-orange {
    background: rgba(229, 146, 0, 0.1);
    border-left: 4px solid #E59200;
}

.info-letter {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.info-box-teal .info-letter {
    background: #007E7F;
}

.info-box-orange .info-letter {
    background: #E59200;
}

.info-box p {
    margin: 0;
    line-height: 1.7;
    color: #555;
}

/* Subsection Title */
.subsection-title {
    color: #007E7F;
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E59200;
}

/* References List */
.references-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.references-list li {
    margin-bottom: 15px;
}

.references-list li a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #2EA3F2;
    line-height: 1.6;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 5px;
    transition: all 0.3s;
}

.references-list li a:hover {
    background: #007E7F;
    color: #fff;
}

.references-list li a svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

/* Intro Italic Text */
.intro-italic {
    font-size: 17px;
    color: #333;
    margin-bottom: 30px;
}

/* Plaquette Link */
.plaquette-link {
    margin: 25px 0;
}

.btn-plaquette {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: #f9f9f9;
    border-radius: 5px;
    color: #2EA3F2;
    transition: all 0.3s;
}

.btn-plaquette:hover {
    background: #007E7F;
    color: #fff;
}

.btn-plaquette svg {
    flex-shrink: 0;
}

/* Sub List inside Check List */
.check-list .sub-list {
    margin-top: 15px;
    margin-left: 0;
    list-style: disc;
    padding-left: 20px;
}

.check-list .sub-list li {
    display: list-item;
    margin-bottom: 10px;
    line-height: 1.7;
    color: #555;
}

.check-list .sub-list li a {
    color: #2EA3F2;
}

.check-list .sub-list li a:hover {
    text-decoration: underline;
}

/* Note Italic */
.note-italic {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

/* Subtitle Gray */
.subtitle-gray {
    color: #666;
    font-size: 16px;
    margin-top: -15px;
    margin-bottom: 30px;
}

/* Main Section Title (h2 inside content) */
.main-section-title {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #007E7F;
}

.main-section-title:first-of-type {
    margin-top: 30px;
}

/* Orange Subtitle (h4) */
.orange-subtitle {
    color: #E59200;
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0 15px;
}

/* Icon Dollar in Title */
.icon-dollar-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-icon-dollar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #007E7F;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

/* Icon Arrow in Title */
.icon-arrow-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-icon-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #007E7F;
    color: #fff;
    border-radius: 50%;
}

.title-icon-arrow svg {
    width: 20px;
    height: 20px;
}

/* Bullet List */
.bullet-list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.bullet-list li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #555;
}

.bullet-list li a {
    color: #2EA3F2;
}

.bullet-list li a:hover {
    text-decoration: underline;
}

/* Content Text Paragraphs */
.main-content-area > p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

/* Icon Folder in Title */
.icon-folder-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-icon-folder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #007E7F;
    color: #fff;
    border-radius: 50%;
}

.title-icon-folder svg {
    width: 18px;
    height: 18px;
}

/* Icon Euro in Title */
.icon-euro-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-icon-euro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #007E7F;
    color: #fff;
    border-radius: 50%;
}

.title-icon-euro svg {
    width: 18px;
    height: 18px;
}

/* Numbered List */
.numbered-list {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
}

.numbered-list li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #555;
}

/* Passport Note */
.passport-note {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 25px 30px;
    background: #f9f9f9;
    border-radius: 5px;
    border-left: 4px solid #007E7F;
}

.passport-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    color: #007E7F;
}

.passport-icon svg {
    width: 100%;
    height: 100%;
}

.passport-note p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

/* Remboursement Section with Image */
.remboursement-section {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
    margin-top: 20px;
}

.remboursement-content {
    min-width: 0;
}

.remboursement-content .orange-subtitle {
    margin-top: 0;
}

.remboursement-image {
    text-align: center;
}

.remboursement-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.passport-caption {
    margin-top: 15px;
    color: #007E7F;
    font-size: 14px;
}

@media (max-width: 900px) {
    .remboursement-section {
        grid-template-columns: 1fr;
    }

    .remboursement-image {
        order: -1;
        margin-bottom: 20px;
    }
}

/* Check List Green */
.check-list-green {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.check-list-green li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    line-height: 1.7;
    align-items: flex-start;
}

.check-icon-green {
    background: #28a745 !important;
}

/* Data Table */
.table-responsive {
    overflow-x: auto;
    margin: 25px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table thead {
    background: #007E7F;
    color: #fff;
}

.data-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
}

.data-table th:nth-child(2),
.data-table th:nth-child(3),
.data-table th:nth-child(4) {
    text-align: center;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.data-table td:nth-child(2),
.data-table td:nth-child(3),
.data-table td:nth-child(4) {
    text-align: center;
    white-space: nowrap;
}

.data-table tbody tr:hover {
    background: #f9f9f9;
}

.data-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.data-table tbody tr:nth-child(even):hover {
    background: #f5f5f5;
}

.table-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .data-table {
        font-size: 12px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }
}

/* Contact PM Page */
.contact-pm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.contact-pm-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #007E7F;
}

.contact-card-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: #007E7F;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card-content h3 {
    color: #007E7F;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card-content p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.contact-card-content a {
    color: #2EA3F2;
}

.contact-card-content a:hover {
    text-decoration: underline;
}

.contact-pm-map h3 {
    color: #007E7F;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-pm-map .map-container {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .contact-pm-grid {
        grid-template-columns: 1fr;
    }

    .contact-pm-map {
        order: -1;
    }
}

/* Simulateur Iframe */
.simulateur-container {
    margin-top: 30px;
}

.iframe-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.iframe-wrapper iframe {
    display: block;
    min-width: 1100px;
    border: none;
}

/* ========================================
   Article Page
   ======================================== */
.article-section {
    padding: 50px 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 30px;
}

.article-title {
    color: #E59200;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

.article-featured-image {
    margin-bottom: 40px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}

.article-body p {
    margin-bottom: 25px;
    text-align: justify;
}

.article-body h3 {
    color: #007E7F;
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
}

.article-body blockquote {
    margin: 30px 0;
    padding: 0;
    background: none;
    border: none;
}

.article-body blockquote p {
    margin: 0;
    font-style: italic;
    color: #E59200;
    text-align: justify;
}

.article-body blockquote.quote-final {
    background: linear-gradient(135deg, rgba(0, 126, 127, 0.1) 0%, rgba(229, 146, 0, 0.1) 100%);
    border-left-color: #007E7F;
}

.article-body blockquote.quote-final p {
    font-size: 18px;
    font-weight: 600;
    color: #007E7F;
}

/* Download Box */
.download-box {
    margin: 30px 0;
    text-align: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: #E59200;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-download:hover {
    background: #007E7F;
}

.btn-download svg {
    flex-shrink: 0;
}

.article-back {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #007E7F;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #E59200;
}

.btn-back svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 28px;
    }

    .article-body {
        font-size: 15px;
    }

    .article-body blockquote {
        padding: 20px;
    }

    .article-body blockquote.quote-final p {
        font-size: 16px;
    }
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: 50px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2,
.contact-map h2 {
    color: #007E7F;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-block {
    margin-bottom: 30px;
}

.contact-block h3 {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-block p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.map-container {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
}

/* ========================================
   Responsive - Subpages
   ======================================== */
@media (max-width: 992px) {
    .two-cols-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .two-cols-reverse {
        grid-template-columns: 1fr;
    }

    .two-cols-reverse .col-content {
        order: 1;
    }

    .two-cols-reverse .col-image {
        order: 2;
    }

    .col-image {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .quote-text {
        font-size: 15px;
    }

    .section-title-arrow {
        font-size: 20px;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
    }

    .etape {
        flex-direction: column;
        gap: 15px;
    }

    .etape-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .icon-paragraph {
        flex-direction: column;
        gap: 10px;
    }

    .para-icon {
        width: 36px;
        height: 36px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info h2,
    .contact-map h2 {
        font-size: 24px;
    }

    .map-container iframe {
        height: 350px;
    }

    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar-menu {
        order: 2;
    }

    .main-content-area {
        order: 1;
    }

    .info-box {
        flex-direction: column;
        gap: 15px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo img {
        height: 45px;
    }

    .hero-slider {
        height: 200px;
    }

    .programs-section,
    .main-content,
    .reussites-section,
    .actualites-section {
        padding: 30px 0;
    }

    .accueil-text .float-left,
    .accueil-text .float-right {
        float: none;
        display: block;
        margin: 0 auto 20px;
        max-width: 100%;
    }

    .content-left h2,
    .reussites-section h2,
    .actualites-section h2 {
        font-size: 22px;
    }

    .program-card h4 a {
        font-size: 18px;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-number {
        font-size: 48px;
    }
}

/* ========================================
   FAQ Styles
   ======================================== */
.faq-content {
    max-width: 900px;
}

.faq-section-title {
    color: #007E7F;
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 25px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #E59200;
}

.faq-content .faq-section-title:first-child {
    margin-top: 0;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    color: #E59200;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
}

.faq-item p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}

.faq-item ul {
    list-style: disc;
    margin-left: 25px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.faq-item ul li {
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .faq-section-title {
        font-size: 18px;
    }

    .faq-question {
        font-size: 16px;
    }
}

/* Article Images Gallery */
.article-images {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-images img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ========================================
   Legal Pages (Mentions légales, Politique)
   ======================================== */
.legal-section {
    padding: 50px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-intro {
    font-size: 18px;
    color: #007E7F;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.legal-content h2 {
    color: #E59200;
    font-size: 22px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    color: #007E7F;
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content a {
    color: #2EA3F2;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #007E7F;
}

.legal-content ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-content ul li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-content strong {
    color: #333;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 30px 0 50px;
    }

    .legal-content h2 {
        font-size: 20px;
    }

    .legal-intro {
        font-size: 16px;
    }
}

/* ========================================
   External Links
   ======================================== */
.external-link {
    color: #2EA3F2 !important;
    text-decoration: underline;
}

.external-link:hover {
    color: #007E7F !important;
}

/* ========================================
   Article with Side Image
   ======================================== */
.article-intro-with-image {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.article-image-side {
    width: 200px;
    min-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-intro-text {
    flex: 1;
}

.article-intro-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .article-intro-with-image {
        flex-direction: column;
        align-items: center;
    }

    .article-image-side {
        width: 180px;
        min-width: auto;
        margin-bottom: 20px;
    }
}

/* ========================================
   Nos Réussites Page
   ======================================== */
.reussites-page-section {
    padding: 50px 0 80px;
}

.reussites-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reussites-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.reussites-page-grid .reussite-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reussites-page-grid .reussite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.reussites-page-grid .reussite-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.reussites-page-grid .reussite-card h3 {
    padding: 20px 20px 10px;
    margin: 0;
}

.reussites-page-grid .reussite-card h3 a {
    color: #E59200;
    font-size: 18px;
    transition: color 0.3s ease;
}

.reussites-page-grid .reussite-card h3 a:hover {
    color: #007E7F;
}

.reussites-page-grid .reussite-card p {
    padding: 0 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.reussites-page-grid .reussite-card .read-more {
    display: block;
    padding: 15px 20px 20px;
    color: #007E7F;
    font-weight: 600;
    font-size: 14px;
}

.reussites-page-grid .reussite-card .read-more:hover {
    color: #E59200;
}

/* Placeholder pour les profils sans image */
.reussite-card-no-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #007E7F 0%, #00a5a7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

/* Bouton Voir tout */
.reussites-section .voir-tout-container {
    text-align: center;
    margin-top: 40px;
}

.btn-voir-tout {
    display: inline-block;
    padding: 12px 30px;
    background: #007E7F;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-voir-tout:hover {
    background: #E59200;
    color: #fff;
}

@media (max-width: 992px) {
    .reussites-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .reussites-page-grid {
        grid-template-columns: 1fr;
    }

    .reussites-intro {
        font-size: 16px;
        padding: 0 10px;
    }
}
