/* ===== RESET ===== */
html, body, div, span, h1, h2, h3, h4, p, a, ul, li,
header, section, footer, nav {
    margin: 0; padding: 0; border: 0;
    font-size: 100%; font: inherit; vertical-align: baseline;
    box-sizing: border-box;
}
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
    --bleu-fonce: #4AC29A;
    --bleu-moyen: #2d3561;
    --bleu-accent: #4a5edc;
    --violet: #6c5ce7;
    --gris-clair: #f7f7f5;
    --noir: #111;
    --blanc: #ffffff;
    --vert: #4a7c59;
    --vert-clair: #e8f0eb;
    --or: #c9a96e;
    font-size: 16px;
}

body {
    font-family: 'Abel', sans-serif;
    background: var(--blanc);
    color: var(--noir);
}

/* ===== PAGE 1 : HEADER ===== */
header {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url("image/amy-hirschi-457525-unsplash.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay sombre pour lisibilité */
header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 31, 58, 0.72) 0%,
        rgba(26, 31, 58, 0.45) 60%,
        rgba(26, 31, 58, 0.25) 100%
    );
    z-index: 1;
}

.header_content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    animation: fadeInUp 1s ease forwards;
}

.header_name {
    /*font-family: 'Playfair Display', serif;*/
    /*font-family: "Expletus Sans", sans-serif;*/
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--blanc);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.header_name span {
    color: var(--bleu-accent);
}

.header_line {
    width: 80px;
    height: 2px;
    background: var(--blanc);
    opacity: 0.6;
}

.header_badge {
    position: relative;
    padding: 14px 60px;
}

.brush_bg {
    position: relative;
    /*font-family: 'Playfair Display', serif;*/
    font-family: "Mulish", sans-serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 600;
    color: var(--noir);
    letter-spacing: 0.1em;
    background: var(--blanc);
    padding: 12px 50px;
    display: inline-block;
    /* Effet brush irrégulier */
    clip-path: polygon(
        2% 8%, 8% 0%, 94% 2%, 100% 10%,
        98% 85%, 92% 100%, 6% 96%, 0% 88%
    );
}

.header_year {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--blanc);
    letter-spacing: 0.3em;
}

/* ===== PAGE 2 : PRÉSENTATION ===== */
#presentation {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blanc);
}

.section_inner {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.section_inner.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.separator_line {
    width: 80px;
    height: 2px;
    background: var(--noir);
    margin: 0 auto;
}

.separator_line.left {
    margin: 0 0 30px 0;
}

#presentation h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.intro_text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.9;
    color: #333;
    max-width: 700px;
    text-align: center;
}

/* ===== SECTIONS PROJET ===== */
.projet_page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.white_page {
    background: var(--blanc);
    color: var(--noir);
}

.dark_page {
    background: var(--bleu-fonce);
    color: var(--blanc);
}

.green_page {
    background: var(--vert-clair);
    color: var(--noir);
}

/* ===== TITRE PROJET ===== */
.projet_title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
}

.fictif {
    font-size: 0.5em;
    font-weight: 300;
    font-style: italic;
    color: #888;
    vertical-align: middle;
}

.dark_page .fictif {
    color: #aaa;
}

/* ===== RÉSUMÉ ===== */
.resume_block {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.green_page .resume_block {
    border-bottom-color: rgba(0,0,0,0.1);
}

.resume_label {
    font-family: 'Abel', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    min-width: 80px;
    padding-top: 4px;
    border-top: 2px solid var(--noir);
}

.resume_block p {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: #444;
}

/* ===== IMAGES PLACEHOLDER ===== */
.images_row {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.img_placeholder {
    width: 280px;
    height: 200px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: 'Abel', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #555;    
}

.img_placeholder2 {
    width: 280px;
    height: 200px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: 'Abel', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #555;    
}

.img_placeholder3 {
    width: 280px;
    height: 200px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: 'Abel', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #555;    
}

.img_placeholder4 {
    width: 280px;
    height: 200px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: 'Abel', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #555;    
}

.img_placeholder5 {
    width: 280px;
    height: 200px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: 'Abel', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #555;    
}

.img_placeholder6 {
    width: 280px;
    height: 200px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: 'Abel', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #555;    
}

.img_placeholder {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    color: #999;
    background-image: url("image/Recrutement\ 2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
}

.img_placeholder2 {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    color: #999;
    background-image: url("image/Recrutement.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
}

.img_placeholder3 {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    color: #999;
    background-image: url("image/Office\ Green\ 2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
}

.img_placeholder4 {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    color: #999;
    background-image: url("image/Office\ green.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
}

.img_placeholder5 {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    color: #999;
    background-image: url("image/Sauce&Spoon.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
}

.img_placeholder6 {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    color: #999;
    background-image: url("image/Sauce\ and\ Spoon.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;    
}

.green_placeholder {
    background: #ddeee3;
    border: 2px dashed var(--vert);
    color: var(--vert);
}

.resto_placeholder {
    background: #f5ede0;
    border: 2px dashed #c9a96e;
    color: #a07840;
}

.img_placeholder .fa {
    opacity: 0.5;
}

/* ===== PAGE DÉTAILS ===== */
.detail_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    margin-bottom: 50px;
}

.detail_item h3 {
    font-family: 'Abel', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bleu-accent);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail_item p,
.detail_item li {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
}

.detail_item li {
    padding-left: 14px;
    position: relative;
}

.detail_item li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--bleu-accent);
    font-size: 0.8em;
}

/* ===== TAGS OUTILS ===== */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(74, 94, 220, 0.2);
    border: 1px solid var(--bleu-accent);
    color: var(--blanc);
    padding: 6px 16px;
    border-radius: 30px;
    font-family: 'Abel', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

/* ===== BILAN ===== */
.bilan_box {
    border-left: 3px solid var(--bleu-accent);
    padding: 20px 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 0 6px 6px 0;
}

.bilan_box p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

/* ===== PAGE FIN ===== */
#fin {
    height: 100vh;
    min-height: 600px;
    background: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fin_content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.fin_content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 700;
    color: black;
    letter-spacing: 0.08em;
}

.fin_content .separator_line {
    background: var(--bleu-accent);
    width: 60px;
}

.contact_grid {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact_icon {
    font-size: 2rem;
    color: var(--bleu-accent);
}

.contact_label {
    font-family: 'Abel', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: black;
}

.contact_value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: black
}

/* ===== ANIMATION ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .detail_grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .resume_block {
        flex-direction: column;
        gap: 16px;
    }
    .contact_grid {
        gap: 30px;
    }
    .images_row {
        flex-direction: column;
        align-items: center;
    }
}
