/* =========================================================
   1) BASE — déjà présent dans ton style.css existant
   (header + footer copiés ici pour que cette feuille de
   style soit complète et autonome)
   ========================================================= */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #fffaef;
}

/* ===== HEADER (inchangé) ===== */
#header {
    background-color: #350a0a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 80px;
}

#header .logo {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

#header nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

#header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

#header nav ul li a:hover {
    color: #f3c5c5;
}

/* ===== FOOTER (inchangé) ===== */
#footer {
    background-color: #fffaef;
    color: #350a0a;
    padding: 60px 80px 30px;
    border-top: 1px solid #e0c8c8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand h4,
.footer-col h4 {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #350a0a;
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: #7a2a2a;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #350a0a;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #c07070;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b1a1a;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-socials a:hover {
    border-color: #350a0a;
    color: #350a0a;
    background-color: #f3dede;
}

.footer-divider {
    border: none;
    border-top: 1px solid #e0c8c8;
    margin-bottom: 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #a05050;
    letter-spacing: 1px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.75rem;
    color: #a05050;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #350a0a;
}


/* =========================================================
   2) NOUVEAU — propre à la page réalisation.php
   ========================================================= */

:root {
    --bordeaux: #350a0a;
    --bordeaux-mid: #6b1a1a;
    --bordeaux-soft: #7a2a2a;
    --beige: #fffaef;
    --beige-line: #e0c8c8;
    --beige-deep: #fdf6e8;
}

/* ----- Bandeau titre de page (même esprit que le bandeau de l'index) ----- */
.page-hero {
    background-color: var(--beige);
    color: var(--bordeaux);
    text-align: center;
    padding: 110px 80px 80px;
}

.page-hero .eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bordeaux-soft);
    margin-bottom: 18px;
}

.page-hero h1 {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -1px;
    margin-bottom: 22px;
}

.page-hero p {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--bordeaux-mid);
}

/* ----- Bandeau nom du logiciel (pleine largeur, fond bordeaux) ----- */
.tool-banner {
    background-color: var(--bordeaux);
    color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 90px 40px;
}

.tool-badge {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border: 1.5px solid var(--beige);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-4deg);
}

.tool-badge span {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.6rem;
}

.tool-banner h2 {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(2.5rem, 7vw, 5rem);
}

/* ----- Bloc contenu sous chaque bandeau logiciel (fond beige) ----- */
.tool-content {
    background-color: var(--beige);
    padding: 100px 80px;
}

.project {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 120px;
}

.project:last-child {
    margin-bottom: 0;
}

.project.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.project.reverse .project-media {
    order: 2;
}

.project.reverse .project-text {
    order: 1;
}

/* Emplacement réservé à la réalisation (image / gif) */
.project-media {
    aspect-ratio: 4 / 3;
    border: 1px dashed var(--beige-line);
    background-color: var(--beige-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: var(--bordeaux-soft);
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Quand l'image réelle sera intégrée : <img class="project-media" src="..." alt="..."> */
img.project-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.project-text .eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--bordeaux-soft);
    margin-bottom: 14px;
}

.project-text h3 {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--bordeaux);
    margin-bottom: 20px;
}

.project-text p {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--bordeaux-mid);
}

.project-text p + p {
    margin-top: 14px;
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
    #header { padding: 0 24px; }
    #header nav ul { gap: 20px; }

    .page-hero { padding: 70px 24px 50px; }

    .tool-banner {
        flex-direction: column;
        padding: 60px 24px;
        text-align: center;
        gap: 18px;
    }

    .tool-content { padding: 60px 24px; }

    .project,
    .project.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 70px;
    }

    .project.reverse .project-media,
    .project.reverse .project-text {
        order: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
}