:root {
    --CouleurPrimaire: #1f354d;
    --CouleurSecondaire: #03989e;
    --CouleurAccent: #FF8C42;
    --FontFamily: "Khand", sans-serif;
    --BoxShadow: rgba(31, 53, 77, 0.1);
    --FontSizeREG: clamp(16px, 1.1vw, 18px);
    --FontSizeBIG: clamp(28px, 4vw, 42px);
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

/* ===== HERO SECTION ===== */
#HeroSection {
    position: relative;
    padding: 80px 5% 60px;
    overflow: hidden;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(31, 53, 77, 0.95) 0%,
        rgba(3, 152, 158, 0.85) 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-family: var(--FontFamily);
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
}

.hero-badge .material-symbols-outlined {
    font-size: 18px;
}

#HeroSection h1 {
    font-family: var(--FontFamily);
    font-size: var(--FontSizeBIG);
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--FontFamily);
    font-size: clamp(18px, 1.5vw, 22px);
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 20px 0;
}

.effective-date {
    display: inline-block;
    padding: 8px 20px;
    background: var(--CouleurAccent);
    border-radius: 8px;
    font-family: var(--FontFamily);
    font-size: 14px;
    font-weight: 600;
    color: white;
}

/* ===== MAIN CONTENT ===== */
#MainContent {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 5% 60px;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--BoxShadow);
    margin-bottom: 24px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.content-section:hover {
    box-shadow: 0 8px 30px rgba(31, 53, 77, 0.12);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(31, 53, 77, 0.03), rgba(3, 152, 158, 0.05));
    border-bottom: 1px solid rgba(31, 53, 77, 0.08);
}

.section-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--CouleurSecondaire), rgba(3, 152, 158, 0.8));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.section-header h2 {
    font-family: var(--FontFamily);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
    margin: 0;
}

.section-content {
    padding: 25px;
}

.section-content p {
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    color: #555;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-intro {
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    color: #555;
    line-height: 1.7;
    padding: 0 25px;
    margin: 20px 0;
}

/* ===== HIGHLIGHT SECTION (Engagement Mutuel) ===== */
.highlight-section {
    background: linear-gradient(135deg, rgba(3, 152, 158, 0.03), rgba(255, 140, 66, 0.03));
    border: 2px solid rgba(3, 152, 158, 0.15);
}

.highlight-section .section-header {
    background: linear-gradient(135deg, rgba(3, 152, 158, 0.08), rgba(255, 140, 66, 0.05));
}

/* ===== COMMITMENT GRID ===== */
.commitment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 25px 25px;
}

.commitment-card {
    background: white;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(31, 53, 77, 0.08);
}

.commitment-card h3 {
    font-family: var(--FontFamily);
    font-size: clamp(18px, 1.4vw, 20px);
    font-weight: 600;
    color: var(--CouleurPrimaire);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--CouleurSecondaire);
}

.commitment-card.our-commitment {
    border-left: 4px solid var(--CouleurSecondaire);
}

.commitment-card.your-commitment {
    border-left: 4px solid var(--CouleurAccent);
}

.commitment-card.your-commitment h3 {
    border-bottom-color: var(--CouleurAccent);
}

.commitment-intro {
    font-family: var(--FontFamily);
    font-size: 15px;
    color: #666;
    margin: 0 0 16px 0;
}

.commitment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.commitment-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--FontFamily);
    font-size: var(--FontSizeREG);
    color: #444;
    line-height: 1.5;
}

.commitment-list .emoji {
    font-size: 22px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.commitment-note {
    font-family: var(--FontFamily);
    font-size: 13px;
    color: #888;
    font-style: italic;
    margin: 16px 0 0 0;
    padding-top: 12px;
    border-top: 1px dashed rgba(31, 53, 77, 0.15);
}

/* ===== INFO BOX ===== */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(3, 152, 158, 0.08);
    border-radius: 12px;
    margin-top: 20px;
    border-left: 4px solid var(--CouleurSecondaire);
}

.info-box .material-symbols-outlined {
    font-size: 28px;
    color: var(--CouleurSecondaire);
    flex-shrink: 0;
}

.info-box strong {
    display: block;
    font-family: var(--FontFamily);
    font-size: 16px;
    font-weight: 600;
    color: var(--CouleurPrimaire);
    margin-bottom: 6px;
}

.info-box p {
    font-family: var(--FontFamily);
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ===== SUBSECTION CARDS ===== */
.subsection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.subsection-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--CouleurSecondaire);
}

.subsection-card h4 {
    font-family: var(--FontFamily);
    font-size: 17px;
    font-weight: 600;
    color: var(--CouleurPrimaire);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subsection-card h4 .material-symbols-outlined {
    font-size: 20px;
    color: var(--CouleurSecondaire);
}

.subsection-card p {
    font-family: var(--FontFamily);
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.subsection-card p:last-child {
    margin-bottom: 0;
}

.subsection-card.online {
    border-left-color: var(--CouleurAccent);
}

.subsection-card.online h4 .material-symbols-outlined {
    color: var(--CouleurAccent);
}

/* ===== TOOL CARDS (Nos outils) ===== */
.tools-category {
    margin-top: 28px;
}

.tools-category:first-child {
    margin-top: 0;
}

.tools-category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--FontFamily);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--CouleurAccent);
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 140, 66, 0.2);
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.tool-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(31, 53, 77, 0.08);
    display: flex;
    flex-direction: column;
}

.tool-card-name {
    font-family: var(--FontFamily);
    font-size: 18px;
    font-weight: 700;
    color: var(--CouleurPrimaire);
    margin: 0 0 10px 0;
}

.tool-usage-label {
    font-family: var(--FontFamily);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--CouleurSecondaire);
    margin: 0 0 4px 0;
}

.tool-usage-text {
    font-family: var(--FontFamily);
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 14px 0;
}

.tool-protection {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(3, 152, 158, 0.08);
    border-radius: 10px;
    border-left: 3px solid var(--CouleurSecondaire);
    margin-top: auto;
}

.tool-protection .material-symbols-outlined {
    font-size: 18px;
    color: var(--CouleurSecondaire);
    flex-shrink: 0;
}

.tool-protection p {
    font-family: var(--FontFamily);
    font-size: 13.5px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TOOLS TABLE (Nos outils) ===== */
.tools-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: 12px;
    border: 1px solid rgba(31, 53, 77, 0.1);
}

.tools-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

@media only screen and (max-width: 700px) {
    .tools-table {
        min-width: 640px;
    }
}

.tools-table thead th {
    font-family: var(--FontFamily);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    background: var(--CouleurPrimaire);
    text-align: left;
    padding: 14px 16px;
}

.tools-table tbody td {
    font-family: var(--FontFamily);
    font-size: 14.5px;
    color: #555;
    line-height: 1.5;
    padding: 16px;
    border-bottom: 1px solid rgba(31, 53, 77, 0.08);
    vertical-align: top;
    overflow-wrap: break-word;
    word-break: break-word;
}

.tools-table tbody tr:last-child td {
    border-bottom: none;
}

.tools-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.tool-logo {
    display: block;
    width: 100px;
    height: 100px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.tool-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(31, 53, 77, 0.06);
    color: var(--CouleurPrimaire);
    font-size: 28px;
}

.tool-name-cell {
    text-align: center;
    overflow-wrap: break-word;
}

.tool-protection-cell {
    vertical-align: middle;
}

.tool-protection-chip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(13, 110, 155, 0.09);
    border-radius: 12px;
    padding: 10px 14px;
    min-width: 0;
}

.tool-protection-chip .material-symbols-outlined {
    font-size: 17px;
    color: #ffffff;
    background: linear-gradient(135deg, #1f6fa8, #03989e);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.tool-protection-chip p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #2c4a5e;
    min-width: 0;
    overflow-wrap: break-word;
}

@media only screen and (max-width: 480px) {
    .tool-logo {
        width: 32px;
        height: 32px;
    }
}

/* ===== RESPONSIVE ===== */
@media only screen and (max-width: 768px) {
    #HeroSection {
        padding: 60px 5% 40px;
    }

    .commitment-grid {
        grid-template-columns: 1fr;
    }

    .subsection-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        padding: 16px 20px;
    }

    .section-content {
        padding: 20px;
    }

    .section-intro {
        padding: 0 20px;
    }

    .commitment-grid {
        padding: 0 20px 20px;
    }

    .info-box {
        flex-direction: column;
        gap: 12px;
    }
}

@media only screen and (max-width: 480px) {
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .section-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .commitment-card {
        padding: 18px;
    }

    .commitment-list .emoji {
        font-size: 20px;
        width: 24px;
    }
}
