/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs CDEX - Bleu et Jaune foncé comme demandé */
    --primary-blue: #1a365d;       /* Bleu marine profond - couleur dominante */
    --secondary-gold: #d4a017;     /* Jaune foncé / Or CDEX - couleur d'accent */
    --accent-blue: #2a5c9e;        /* Bleu plus clair pour les interactions */
    --light-blue: #e6f0fa;         /* Bleu très clair pour arrière-plans */
    
    /* Couleurs neutres pour le texte (noir et nuances) */
    --text-black: #212529;         /* Noir pour le texte principal */
    --text-dark: #343a40;          /* Gris foncé */
    --text-medium: #6c757d;        /* Gris moyen */
    --text-light: #adb5bd;         /* Gris clair */
    
    /* Couleurs d'interface */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    
    /* Effets et transitions */
    --shadow: 0 5px 15px rgba(26, 54, 93, 0.08);
    --shadow-hover: 0 10px 25px rgba(26, 54, 93, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-black);      /* Texte en noir comme demandé */
    background-color: var(--white);
    overflow-x: hidden;
}

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

section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-black);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-black);
}

.highlight {
    color: var(--secondary-gold);
}

/* ===== BOUTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ===== NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 15px 0;
}

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

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-subtext {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-black);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a:not(.nav-cta):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-gold);
    transition: var(--transition);
}

.nav-menu a:not(.nav-cta):hover:after {
    width: 100%;
}

.nav-cta {
    background-color: var(--secondary-gold);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 30px;
}

.nav-cta:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 5px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
    background: linear-gradient(135deg, 
                rgba(26, 54, 93, 0.9) 0%, 
                rgba(26, 54, 93, 0.85) 100%),
                url('https://images.unsplash.com/photo-1556761175-b413da4baf72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
                rgba(26, 54, 93, 0.8) 0%, 
                rgba(212, 160, 23, 0.2) 100%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--white);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.leadership-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
    z-index: 2;
}

.leadership-badge i {
    color: var(--secondary-gold);
    font-size: 1.2rem;
}

.floating-elements {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.floating-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
    transition: var(--transition);
}

.floating-icon:nth-child(1) { animation-delay: 0s; }
.floating-icon:nth-child(2) { animation-delay: 1s; }
.floating-icon:nth-child(3) { animation-delay: 2s; }

.floating-icon:hover {
    transform: scale(1.1);
    color: var(--secondary-gold);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== FOUNDER SECTION ===== */
.founder-section {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-black);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.founder-image {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.portrait-frame {
    width: 100%;
    height: 600px;
    background: linear-gradient(rgba(26, 54, 93, 0.1), rgba(26, 54, 93, 0.2)),
                url('../../image/dg.jpeg');
    background-size: cover; /* Remplit le cadre mais peut couper l'image */
    background-position: center center; /* Centre l'image */
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.portrait-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-blue);
    box-shadow: var(--shadow);
}

.portrait-badge i {
    color: var(--secondary-gold);
}

.founder-quote {
    background-color: var(--light-blue);
    border-left: 4px solid var(--secondary-gold);
    padding: 30px;
    border-radius: var(--border-radius);
}

.founder-quote i {
    color: var(--secondary-gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
}

.founder-quote p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-black);
    margin-bottom: 10px;
}

.founder-quote span {
    color: var(--text-medium);
    font-weight: 600;
}

.founder-info h3 {
    color: var(--text-black);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.founder-info p {
    color: var(--text-black);
    line-height: 1.7;
    margin-bottom: 20px;
}

.founder-attributes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.attribute {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.attribute-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.attribute-text h4 {
    color: var(--text-black);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.attribute-text p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== MESSAGE SECTION ===== */
.message-section {
    background-color: var(--light-gray);
}

.message-header {
    text-align: center;
    margin-bottom: 70px;
}

.message-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.message-image {
    display: flex;
    justify-content: center;
}



.signature {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 54, 93, 0.9));
    color: var(--white);
    padding: 30px 20px 20px;
    text-align: center;
}

.signature .name {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.signature .title {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.message-header-text h3 {
    color: var(--text-black);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.message-date {
    color: var(--text-medium);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-date i {
    color: var(--secondary-gold);
}

.message-body p {
    color: var(--text-black);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.message-signature {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--light-blue);
}

.signature-block {
    flex: 1;
}

.signature-block strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--text-black);
    margin-bottom: 5px;
}

.signature-block p {
    color: var(--text-medium);
    margin-bottom: 0;
}

.signature-logo {
    flex-shrink: 0;
    margin-left: 40px;
}

.mini-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mini-logo span:first-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.mini-logo span:last-child {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-section {
    background-color: var(--white);
}

.philosophy-header {
    text-align: center;
    margin-bottom: 70px;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.philosophy-text p {
    color: var(--text-black);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.leadership-principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.principle-card {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--secondary-gold);
    transition: var(--transition);
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.principle-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.principle-card h4 {
    color: var(--text-black);
    margin-bottom: 10px;
}

.principle-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.philosophy-quote {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quote-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow-hover);
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
}

.quote-card blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 25px;
    color: var(--white);
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-line {
    width: 40px;
    height: 2px;
    background-color: var(--secondary-gold);
}

.quote-author span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background-color: var(--light-gray);
}

.team-header {
    text-align: center;
    margin-bottom: 70px;
}

.team-strengths {
    margin-bottom: 70px;
}

.team-strengths h3 {
    text-align: center;
    color: var(--text-black);
    margin-bottom: 50px;
    font-size: 1.8rem;
}

.strength-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.strength-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.strength-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.strength-card h4 {
    color: var(--text-black);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.strength-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.team-departments {
    margin-bottom: 70px;
}

.team-departments h3 {
    text-align: center;
    color: var(--text-black);
    margin-bottom: 50px;
    font-size: 1.8rem;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.department-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-gold);
}

.department-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.department-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.department-info h4 {
    color: var(--text-black);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.department-info p {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.team-commitment {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--shadow);
}

.commitment-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.commitment-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.commitment-text h3 {
    color: var(--text-black);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.commitment-text p {
    color: var(--text-black);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background-color: #ffffff;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-content,
    .founder-content,
    .message-content,
    .philosophy-content,
    .commitment-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .leadership-principles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-hover);
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .founder-attributes {
        grid-template-columns: 1fr;
    }
    
    .message-signature {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .signature-logo {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .floating-elements {
        display: none;
    }
}


/* ===== SECTION MOT DU PDG ===== */
.dg-message-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* Effet de fond décoratif */
.dg-message-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(26, 54, 93, 0.03) 0%, transparent 100%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.dg-message-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, transparent 0%, rgba(26, 54, 93, 0.03) 100%);
    border-radius: 50%;
    transform: translate(-30%, 30%);
}

/* Conteneur principal centré */
.dg-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* En-tête centré */
.dg-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 1.5rem;
    position: relative;
}

.dg-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a365d, #2d4a7a);
    border-radius: 2px;
}

.dg-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2935;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.dg-highlight {
    color: #1a365d;
    position: relative;
    display: inline-block;
}

.dg-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(26, 54, 93, 0.15);
    z-index: -1;
    border-radius: 4px;
}

.dg-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Contenu wrapper - layout côte à côte */
.dg-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Version desktop : côte à côte */
@media (min-width: 992px) {
    .dg-content-wrapper {
        flex-direction: row;
        gap: 3rem;
        padding: 4rem;
    }
}

/* Côté gauche : Profile */
.dg-profile-side {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 992px) {
    .dg-profile-side {
        flex: 0 0 35%;
        align-items: flex-start;
    }
}

.dg-portrait-frame {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dg-photo-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.2);
    position: relative;
    overflow: hidden;
}

.dg-photo-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.dg-initials {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    opacity: 0.8;
}

.dg-identity {
    padding: 0 1rem;
}

.dg-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2935;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.dg-position {
    font-size: 1.1rem;
    color: #1a365d;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    background: rgba(26, 54, 93, 0.08);
    border-radius: 50px;
    display: inline-block;
}

/* Côté droit : Message */
.dg-message-side {
    flex: 1;
}

.dg-message-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.dg-greeting {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a2935;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.dg-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

.dg-icon {
    color: #1a365d;
}

/* Contenu du message */
.dg-message-content {
    margin-bottom: 3rem;
}

.dg-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.dg-paragraph:first-letter {
    font-size: 1.4em;
    font-weight: 700;
    color: #1a365d;
    float: left;
    line-height: 1;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

/* Bloc signature */
.dg-signature-block {
    margin-top: 3rem;
    padding-top: 2rem;
    position: relative;
}

.dg-signature-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, #1a365d, #2d4a7a);
    border-radius: 1px;
}

.dg-signature-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

@media (min-width: 576px) {
    .dg-signature-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.dg-signature-text {
    flex: 1;
}

.dg-signature-name {
    display: block;
    font-size: 1.4rem;
    color: #1a2935;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dg-signature-title {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.dg-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #1a365d 0%, #2d4a7a 100%);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.2);
}

.dg-logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}

.dg-logo-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991px) {
    .dg-main-title {
        font-size: 2rem;
    }
    
    .dg-content-wrapper {
        padding: 2rem;
    }
    
    .dg-greeting {
        font-size: 1.3rem;
    }
    
    .dg-photo-placeholder {
        height: 250px;
    }
    
    .dg-initials {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .dg-message-section {
        padding: 3rem 1rem;
    }
    
    .dg-main-title {
        font-size: 1.7rem;
    }
    
    .dg-content-wrapper {
        padding: 1.5rem;
    }
    
    .dg-name {
        font-size: 1.5rem;
    }
    
    .dg-paragraph {
        font-size: 1rem;
    }
    
    .dg-logo-container {
        padding: 0.8rem 1.2rem;
    }
}

















