/* ===================================================
    Fichier de style CSS pour la page de présentation
   ================================================= */


:root {
    --primary-color: #0056b3;
    --secondary-color: #f8f9fa;
    --accent-color: #e74c3c;
    --text-color: #333;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f4f7f6;
    overflow-x: hidden;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar ul li {
    margin-left: 20px;
}

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

.index-btn,
.presentation-btn,
.rdv-btn,
.expression-btn {
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.index-btn:hover {
    background: #ffd99c;
    color: #ff8800;
}

.presentation-btn:hover {
    background: #e0f7fa;
    color: #0091ff;
}

.rdv-btn:hover {
    background: #f1f8e9;
    color: #33691e;
}

.expression-btn:hover {
    background: #ff9393;
    color: #ff0000;
}

.login-icon {
    cursor: pointer;
    transition: transform 0.2s;
}

.login-icon:hover {
    transform: scale(1.2);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-content span {
    display: block;
    padding: 10px 15px;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

.dropdown-content a {
    color: black;
    padding: 10px 15px;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.show {
    display: block;
}

/* =============================================
   HERO
   ============================================= */
.pres-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 70px 5% 60px;
    background: linear-gradient(135deg, #6973ff 1%, #003d7a 80%);
    color: white;
    flex-wrap: wrap;
}

.pres-hero-content {
    max-width: 600px;
}

.pres-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #90caf9;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.12);
    padding: 5px 12px;
    border-radius: 20px;
}

.pres-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #fff;
}

.pres-hero-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 30px;
    max-width: 520px;
}

.pres-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #e74c3c;
    color: white;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.3s, transform 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.pres-hero-badge {
    flex-shrink: 0;
}

.badge-ring {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 16px;
}

.badge-number {
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.badge-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    line-height: 1.4;
}

/* =============================================
   SECTION COMMUNE
   ============================================= */
.section {
    padding: 50px 5%;
}

/* =============================================
   INTRO : Qu'est-ce que ce site ?
   ============================================= */
.pres-intro {
    background: #f4f7f6;
}

.pres-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.pres-intro-text h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.pres-intro-text p {
    color: #444;
    margin-bottom: 14px;
    line-height: 1.7;
}

.pres-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pres-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: white;
    padding: 18px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s;
}

.pres-feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pres-feature-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.pres-feature-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

/* =============================================
   QUI SOMMES-NOUS ?
   ============================================= */
.pres-who {
    background: linear-gradient(135deg, #003d7a 0%, #0056b3 100%);
    color: white;
    padding: 60px 5%;
}

.pres-who-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.pres-who h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
    text-align: center;
}

.pres-who-sub {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.pres-who-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pres-who-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px 24px;
    transition: background 0.3s, transform 0.2s;
}

.pres-who-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.who-card-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.pres-who-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.pres-who-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

/* =============================================
   ÉQUIPE pHARe
   ============================================= */
.pres-team {
    background: #f4f7f6;
}

.pres-team h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 10px;
    text-align: center;
}

.pres-team-intro {
    text-align: center;
    color: #555;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.pres-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.pres-team-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 16px;
    display: flex;
    /* Aligne verticalement l'avatar et le texte au centre */
    gap: 15px;
    /* Espace entre l'avatar et le texte */
    border-left: 5px solid var(--primary-color);
    transition: transform 0.2s;
}

.pres-team-card:hover {
    transform: translateY(-4px);
}

.team-card-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-card-info h3 {
    font-size: 1rem;
    color: #222;
    margin-bottom: 6px;
}

.team-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    background: #e3f2fd;
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.team-card-info p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.team-mail {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.team-mail:hover {
    text-decoration: underline;
}

.pres-roles {
    background: white;
    border-radius: 12px;
    padding: 36px 40px;
    box-shadow: var(--shadow);
}

.pres-roles h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 24px;
    text-align: center;
}

.pres-roles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.pres-role-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.role-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.pres-role-item strong {
    display: block;
    color: #222;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.pres-role-item p {
    font-size: 0.83rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* =============================================
   NUMÉROS URGENCE
   ============================================= */
.emergency-call {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 0.95rem;
    color: #333;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
    text-align: center;
    padding: 50px;
}

.contact h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.btn-contact {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #c0392b;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: #222;
    color: #fff;
    padding: 50px 5% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #64b5f6;
}

.footer-section p {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #bbb;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 850px) {
    .navbar {
        flex-direction: column;
        padding: 1.5rem 1rem;
    }

    .navbar ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navbar ul li {
        margin-left: 0;
    }

    .pres-hero {
        flex-direction: column;
        text-align: center;
        padding: 50px 5% 40px;
    }

    .pres-hero-content p {
        margin: 0 auto 28px;
    }

    .pres-hero-btns {
        justify-content: center;
    }

    .pres-hero-badge {
        display: none;
    }

    .pres-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .pres-who-cards {
        grid-template-columns: 1fr;
    }

    .pres-team-grid {
        grid-template-columns: 1fr;
    }

    .pres-roles-list {
        grid-template-columns: 1fr;
    }

    .pres-roles {
        padding: 24px 20px;
    }

    .pres-team-card {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .contact {
        padding: 30px 20px;
    }
}