/* =========================================
   FICHIER : personnel.css
   PROJET  : Hôtel NICLIB
   COULEURS : Bleu marin, blanc et doré
========================================= */

/* =========================================
   RÉINITIALISATION GÉNÉRALE
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f9;
    color: #333333;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.header {
    width: 100%;
    background-color: #061a33;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1000;
}

.navbar {
    width: 90%;
    max-width: 1250px;
    min-height: 85px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* =========================================
   LOGO
========================================= */

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #d5a62e;
    background-color: #ffffff;
}

.logo-text h1 {
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    margin-top: 4px;
    color: #d5a62e;
    font-size: 12px;
    letter-spacing: 1px;
}


/* =========================================
   MENU DE NAVIGATION
========================================= */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 13px;
    border-radius: 6px;
    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: #061a33;
    background-color: #d5a62e;
    transform: translateY(-2px);
}

.nav-menu a.active {
    color: #061a33;
    background-color: #d5a62e;
}


/* =========================================
   BANNIÈRE PERSONNEL
========================================= */

.banner-personnel {
    width: 100%;
    min-height: 450px;
    background-image: url("reception.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-overlay {
    width: 100%;
    min-height: 450px;
    background: linear-gradient(
        rgba(3, 20, 42, 0.88),
        rgba(6, 26, 51, 0.72)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

.banner-content {
    width: 100%;
    max-width: 850px;
    text-align: center;
    color: #ffffff;
}

.banner-subtitle {
    display: inline-block;
    margin-bottom: 12px;
    color: #d5a62e;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.banner-content h2 {
    margin-bottom: 18px;
    font-size: 52px;
    line-height: 1.2;
}

.banner-content p {
    max-width: 720px;
    margin: 0 auto;
    color: #e4e9ef;
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================
   SECTION PRÉSENTATION
========================================= */

.presentation-personnel {
    padding: 85px 0 55px;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
}

.section-title span {
    display: block;
    margin-bottom: 8px;
    color: #d5a62e;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    color: #061a33;
    font-size: 38px;
    line-height: 1.3;
}

.title-line {
    width: 75px;
    height: 4px;
    margin: 18px auto 28px;
    border-radius: 10px;
    background-color: #d5a62e;
}

.presentation-text {
    max-width: 850px;
    margin: 0 auto;
    color: #5c6470;
    font-size: 17px;
    line-height: 1.9;
    text-align: center;
}


/* =========================================
   SECTION LISTE DU PERSONNEL
========================================= */

.personnel-section {
    padding: 75px 0 95px;
    background-color: #f4f6f9;
}

.personnel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}


/* =========================================
   CARTE D’UN EMPLOYÉ
========================================= */

.personnel-card {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 16px;
    border-bottom: 4px solid transparent;
    box-shadow: 0 10px 28px rgba(6, 26, 51, 0.12);
    transition: transform 0.35s ease,
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

.personnel-card:hover {
    transform: translateY(-10px);
    border-bottom-color: #d5a62e;
    box-shadow: 0 18px 38px rgba(6, 26, 51, 0.22);
}


/* =========================================
   PHOTO DE L’EMPLOYÉ
========================================= */

.photo-container {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background-color: #dfe5eb;
}

.photo-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        transparent 55%,
        rgba(6, 26, 51, 0.55)
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}

.personnel-card:hover .photo-container::after {
    opacity: 1;
}

.personnel-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.personnel-card:hover .personnel-photo {
    transform: scale(1.08);
}


/* =========================================
   INFORMATIONS DE L’EMPLOYÉ
========================================= */

.personnel-info {
    padding: 26px 22px 28px;
    text-align: center;
}

.personnel-info h3 {
    margin-bottom: 7px;
    color: #061a33;
    font-size: 21px;
    line-height: 1.3;
}

.fonction {
    color: #d5a62e;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.card-line {
    width: 45px;
    height: 3px;
    margin: 16px auto;
    border-radius: 10px;
    background-color: #061a33;
    transition: width 0.35s ease,
                background-color 0.35s ease;
}

.personnel-card:hover .card-line {
    width: 75px;
    background-color: #d5a62e;
}

.description {
    color: #69717d;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   MESSAGE DE L’ÉQUIPE
========================================= */

.team-message {
    padding: 70px 0;
    background-color: #061a33;
}

.message-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    max-width: 950px;
    margin: 0 auto;
    padding: 35px 40px;
    border: 1px solid rgba(213, 166, 46, 0.45);
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.05);
}

.message-icon {
    min-width: 85px;
    height: 85px;
    border-radius: 50%;
    background-color: #d5a62e;
    color: #061a33;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.message-text h2 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 29px;
}

.message-text p {
    color: #d9e0e8;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background-color: #031126;
    color: #ffffff;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 0 50px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 45px;
}

.footer-column h3 {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 12px;
    color: #ffffff;
    font-size: 20px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    border-radius: 8px;
    background-color: #d5a62e;
}

.footer-column p {
    margin-bottom: 14px;
    color: #bbc5d1;
    font-size: 14px;
    line-height: 1.8;
}

.footer-column ul li {
    margin-bottom: 12px;
    color: #bbc5d1;
    font-size: 14px;
}

.footer-column ul li::before {
    content: "›";
    margin-right: 8px;
    color: #d5a62e;
    font-weight: bold;
}

.footer-column a {
    color: #bbc5d1;
    transition: color 0.3s ease,
                padding-left 0.3s ease;
}

.footer-column a:hover {
    color: #d5a62e;
    padding-left: 4px;
}

.footer-about p {
    max-width: 310px;
}


/* =========================================
   BAS DU FOOTER
========================================= */

.footer-bottom {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background-color: #020c1a;
}

.footer-bottom p {
    color: #aeb8c4;
    font-size: 14px;
}


/* =========================================
   RESPONSIVE TABLETTE
========================================= */

@media screen and (max-width: 1100px) {

    .navbar {
        width: 95%;
        gap: 15px;
    }

    .nav-menu {
        gap: 3px;
    }

    .nav-menu a {
        padding: 10px 8px;
        font-size: 14px;
    }

    .personnel-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================
   RESPONSIVE PETITE TABLETTE
========================================= */

@media screen and (max-width: 850px) {

    .navbar {
        padding: 18px 0;
        flex-direction: column;
    }

    .nav-menu {
        width: 100%;
        flex-wrap: wrap;
    }

    .nav-menu a {
        padding: 10px 12px;
    }

    .banner-personnel,
    .banner-overlay {
        min-height: 390px;
    }

    .banner-content h2 {
        font-size: 42px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 33px;
    }

    .personnel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .message-content {
        flex-direction: column;
        text-align: center;
    }
}


/* =========================================
   RESPONSIVE TÉLÉPHONE
========================================= */

@media screen and (max-width: 600px) {

    .container {
        width: 92%;
    }

    .logo {
        width: 55px;
        height: 55px;
    }

    .logo-text h1 {
        font-size: 21px;
    }

    .nav-menu {
        gap: 5px;
    }

    .nav-menu li {
        flex: 1 1 42%;
    }

    .nav-menu a {
        width: 100%;
        padding: 10px 6px;
        text-align: center;
        font-size: 13px;
        background-color: rgba(255, 255, 255, 0.05);
    }

    .banner-personnel,
    .banner-overlay {
        min-height: 350px;
    }

    .banner-overlay {
        padding: 40px 18px;
    }

    .banner-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .banner-content h2 {
        font-size: 34px;
    }

    .banner-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .presentation-personnel {
        padding: 60px 0 40px;
    }

    .section-title h2 {
        font-size: 29px;
    }

    .presentation-text {
        font-size: 15px;
        text-align: justify;
    }

    .personnel-section {
        padding: 55px 0 70px;
    }

    .personnel-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .personnel-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .photo-container {
        height: 320px;
    }

    .team-message {
        padding: 55px 0;
    }

    .message-content {
        padding: 30px 20px;
    }

    .message-icon {
        min-width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .message-text h2 {
        font-size: 24px;
    }

    .message-text p {
        font-size: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 55px 0 40px;
    }

    .footer-about p {
        max-width: none;
    }
}


/* =========================================
   TRÈS PETIT ÉCRAN
========================================= */

@media screen and (max-width: 380px) {

    .nav-menu li {
        flex: 1 1 100%;
    }

    .banner-content h2 {
        font-size: 29px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .photo-container {
        height: 280px;
    }
}
