html{
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background-color: #F5F0E8;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    background-color: #ffffff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    z-index: 1000;
}

.navbar img {
    height: 58px;
    width: auto;
    opacity: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #2a2a2a;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #E87722;
}

.nav-links li:first-child a {
    color: #E87722;
}

/* Menu burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2a2a2a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO ZONE ===== */
#hero-zone {
    height: 55vh;
    min-height: 280px;
    background-image: url('../assets/images/hero.jpeg');
    background-size: cover;
    background-position: center 20%;
    margin-top: 72px;
    position: relative;
}

.hero-zone-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
}

.hero-zone-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 0 60px 48px;
    color: white;
    max-width: 700px;
}

.hero-zone-content h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-zone-content h1 span {
    color: #F5A842;
}

.hero-zone-content p {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    opacity: 0.88;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ===== SECTION PROFILS ===== */
#profils {
    background-color: #F5F0E8;
    padding: 52px 24px 64px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: none;
}

#profils h2 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1a1008;
    font-weight: 800;
    margin-bottom: 0;
    text-align: center;
}

/* ===== GRILLE DE CARTES ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1060px;
    margin: 0 auto;
}

/* ===== CARTE — style maquette ===== */
.card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: transparent;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.card-img-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(200, 132, 26, 0.92);
    color: white;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

/* Texte sur fond sombre EN BAS de l'image */
.card-body {
    padding: 18px 20px 20px;
    background: #1c1108;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.card-role {
    font-size: 0.78rem;
    font-weight: 500;
    color: #F5A842;
    margin-bottom: 6px;
}

.card-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    flex: 1;
}

.btn-card {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 22px;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s ease;
    align-self: flex-start;
}

.btn-card:hover {
    background: #E87722;
    border-color: #E87722;
    color: white;
}

/* ===== PAGE PROFIL ===== */
#profil-container {
    background: #F5F0E8;
    min-height: 100vh;
}

.profil-hero {
    background: white;
    padding: 50px 60px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e8dcc8;
    margin: 0;
    max-width: 100%;
}

.profil-hero img {
    width: 220px;
    height: 260px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    flex-shrink: 0;
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.profil-hero-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 0;
    justify-content: center;
    max-width: 520px;
}

.profil-hero-text .card-badge {
    position: static;
    display: inline-block;
    font-size: 0.68rem;
    background: #C8841A;
    color: white;
    padding: 5px 14px;
    border-radius: 50px;
    align-self: flex-start;
}

.profil-hero-text h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #1a1008;
    line-height: 1.1;
}

.profil-role {
    font-size: 1rem;
    color: #C8841A;
    font-weight: 600;
}

.profil-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 30px 80px;
}

.profil-histoire {
    max-width: 100%;
    margin: 0 0 32px;
    padding: 0;
    line-height: 2;
    color: #3a2a10;
    font-size: 0.97rem;
}

.profil-citation {
    max-width: 100%;
    margin: 0 0 32px;
    padding: 24px 32px;
    border-left: 4px solid #C8841A;
    background: linear-gradient(135deg, #fdf3e3, #f5e6c8);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #5a3a10;
    font-size: 1.05rem;
    line-height: 1.75;
    position: relative;
}

.profil-citation::before {
    content: '\201C';
    font-size: 4rem;
    color: #C8841A;
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 18px;
    font-style: normal;
    line-height: 1;
}

.profil-body .btn-card {
    display: inline-block;
    margin-top: 8px;
    border-color: #C8841A;
    color: #C8841A;
    background: transparent;
}

.profil-body .btn-card:hover {
    background: #C8841A;
    color: white;
}

/* ===== FOOTER maquette ===== */
footer {
    background: #F5F0E8;
    border-top: 1px solid #e0d8cc;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

footer img.footer-logo {
    height: 48px;
    opacity: 0.85;
}

.footer-socials {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #c8a87a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a6040;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.footer-socials a:hover {
    background: #C8841A;
    border-color: #C8841A;
    color: white;
}

.footer-copy {
    font-size: 0.75rem;
    color: #9a8060;
}

/* ===== SECTION CONTACT ===== */
#contact-section {
    background: linear-gradient(135deg, #1a1008 0%, #3a2010 100%);
    padding: 64px 24px;
    text-align: center;
}

.contact-inner {
    max-width: 560px;
    margin: 0 auto;
}

.contact-inner h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: white;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.contact-inner p {
    color: #c8a87a;
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.btn-contact {
    display: inline-block;
    padding: 14px 40px;
    background: #E87722;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(232,119,34,0.35);
}

.btn-contact:hover {
    background: #d06618;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE TABLETTE ===== */
@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .profil-hero {
        gap: 28px;
    }

    .profil-hero img {
        width: 180px;
        height: 220px;
    }
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 600px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 16px 24px 24px;
        gap: 16px;
        box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .burger {
        display: flex;
    }

    #hero-zone {
        height: 35vw;
        min-height: 180px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #profils {
        padding: 36px 16px 48px;
    }

    .profil-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 20px;
    }

    .profil-hero img {
        width: 160px;
        height: 190px;
    }

    .profil-hero-text .card-badge {
        align-self: center;
    }

    .profil-body {
        padding: 32px 16px 60px;
    }
}

/* ===== PAGE PROFIL — STYLE ÉDITORIAL ===== */

/* Hero cover pleine largeur */
.profil-cover {
    position: relative;
    width: 100%;
    height: 92vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 72px;
}

.profil-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.profil-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.0) 20%,
        rgba(0,0,0,0.85) 100%
    );
}

.profil-cover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 64px 56px;
    color: white;
    max-width: 860px;
}

.profil-cover-badge {
    display: inline-block;
    background: #E87722;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.profil-cover-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.0;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    letter-spacing: -0.02em;
}

.profil-cover-role {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: #F5A842;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Zone éditoriale */
.profil-editorial {
    max-width: 780px;
    margin: 0 auto;
    padding: 64px 32px 80px;
}

/* Citation pull-quote style magazine */
.profil-pull-quote {
    border-top: 2px solid #C8841A;
    border-bottom: 2px solid #C8841A;
    padding: 28px 0;
    margin-bottom: 52px;
    text-align: center;
}

.profil-pull-quote blockquote {
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-style: italic;
    color: #3a2a10;
    line-height: 1.6;
    font-weight: 500;
    position: relative;
}

.profil-pull-quote blockquote::before {
    content: '\201C';
    font-size: 5rem;
    color: #C8841A;
    opacity: 0.18;
    position: absolute;
    top: -20px;
    left: -16px;
    font-style: normal;
    line-height: 1;
}

/* Texte de l'histoire */
.profil-story p {
    font-size: 0.97rem;
    line-height: 2.0;
    color: #3a2a10;
    margin-bottom: 20px;
}

/* Photos éditoriaux intercalées */
.profil-img-edito {
    margin: 40px 0;
    position: relative;
}

.profil-img-edito.left {
    float: left;
    width: 46%;
    margin-right: 32px;
    margin-bottom: 12px;
}

.profil-img-edito.right {
    float: right;
    width: 46%;
    margin-left: 32px;
    margin-bottom: 12px;
}

.profil-img-edito img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    display: block;
    filter: grayscale(15%);
    transition: filter 0.4s ease;
}

.profil-img-edito img:hover {
    filter: grayscale(0%);
}

.img-caption {
    display: block;
    font-size: 0.72rem;
    color: #9a8060;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 8px;
    padding-left: 2px;
}

/* Clearfix pour les floats */
.profil-story::after {
    content: '';
    display: table;
    clear: both;
}

/* Bouton retour */
.profil-back-wrap {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e0d8cc;
    clear: both;
}

.btn-retour {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid #C8841A;
    border-radius: 50px;
    color: #C8841A;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-retour:hover {
    background: #C8841A;
    color: white;
}

/* Responsive mobile */
@media (max-width: 600px) {
    .profil-cover {
        height: 75vh;
    }

    .profil-cover-content {
        padding: 0 24px 40px;
    }

    .profil-editorial {
        padding: 40px 20px 60px;
    }

    .profil-img-edito.left,
    .profil-img-edito.right {
        float: none;
        width: 100%;
        margin: 28px 0;
    }

    .profil-img-edito img {
        height: 240px;
    }
}