/* ============================================================
   site-anglais — style.css
   Couleur principale : bleu de Prusse #1b4d8e
   ============================================================ */

/* --- Reset & base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    color: #1a1a1a;
    background: #f9f8f6;
    line-height: 1.7;
}

a {
    color: #1b4d8e;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Typographie --- */
h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: normal;
    line-height: 1.3;
    color: #1a1a1a;
}

h1 { font-size: 1.75rem; margin-bottom: 1rem; }
h2 { font-size: 1.4rem;  margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p  { margin-bottom: 1rem; }

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* --- Mise en page générale --- */
.site-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 0 0.5px #ddd;
    min-height: 100vh;
}

.page-content {
    padding: 2rem 2.5rem;
}

/* --- Barre supérieure --- */
.topbar {
    background: #1b4d8e;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.topbar-title {
    color: #e8e0d0;
    font-family: Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.04em;
}

/* --- Navigation --- */
.main-nav {
    background: #1b4d8e;
    border-top: 0.5px solid rgba(255,255,255,0.12);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.main-nav a {
    display: block;
    color: #c8d8f0;
    font-family: system-ui, Arial, sans-serif;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #e8d5a0;
    border-bottom-color: #e8d5a0;
    text-decoration: none;
}

/* --- Bandeau hero (page d'accueil) --- */
.hero {
    background: #1b4d8e;
    padding: 2.5rem 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-text h1 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 0.4rem;
}

.hero-text p {
    color: #b8d0f0;
    font-family: system-ui, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.7;
}

/* Hero avec image de fond */
.hero-with-image {
    background-size: cover;
    background-position: center;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
}

.hero-with-image .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 77, 142, 0.72);
}

.hero-with-image .hero-text {
    position: relative;
}

/* --- Bannière colles (page d'accueil) --- */
.colles-banner {
    background: #1b4d8e;
    border-radius: 6px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    gap: 8px;
}

.colles-banner span {
    color: #e8d5a0;
    font-family: system-ui, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.colles-banner a {
    color: #ffffff;
    font-family: system-ui, Arial, sans-serif;
    font-size: 12px;
    background: rgba(255,255,255,0.15);
    padding: 5px 14px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}

.colles-banner a:hover {
    background: rgba(255,255,255,0.25);
    text-decoration: none;
}

/* --- Cartes d'entrée (page d'accueil) --- */
.entry-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 1.5rem 0;
}

.entry-card {
    border: 0.5px solid #ddd;
    border-left: 3px solid #1b4d8e;
    border-radius: 6px;
    padding: 16px;
    background: #f9f8f6;
    text-decoration: none;
    display: block;
    transition: background 0.15s;
}

.entry-card:hover {
    background: #eef3fb;
    text-decoration: none;
}

.entry-card-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    font-family: system-ui, Arial, sans-serif;
    margin-bottom: 6px;
}

.entry-card-title {
    font-size: 15px;
    color: #1a1a1a;
    font-family: Georgia, serif;
    margin-bottom: 4px;
}

.entry-card-sub {
    font-size: 12px;
    color: #666;
    font-family: system-ui, Arial, sans-serif;
}

/* --- En-tête de page intérieure --- */
.page-header {
    background: #f0f4fa;
    border-left: 4px solid #1b4d8e;
    padding: 1.25rem 2.5rem;
}

.page-header h1 {
    font-size: 1.4rem;
    color: #1b4d8e;
    margin: 0;
}

/* --- Pied de page --- */
.site-footer {
    border-top: 0.5px solid #ddd;
    padding: 14px 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.site-footer p {
    font-size: 11px;
    color: #888;
    font-family: system-ui, Arial, sans-serif;
    margin: 0;
}

/* --- Menu hamburger (mobile) --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #e8e0d0;
}

.main-nav.open ul {
    flex-direction: column;
    gap: 0;
}

/* --- Responsive mobile --- */
@media (max-width: 600px) {
    .page-content {
        padding: 1.25rem 1rem;
    }

    .topbar {
        padding: 0 1rem;
    }

    .topbar-title {
        font-size: 11.5px;
    }

    .hamburger {
        display: flex;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        padding: 0;
    }

    .main-nav.open ul {
        display: flex;
    }

    .main-nav a {
        padding: 12px 1rem;
        border-bottom: 0.5px solid rgba(255,255,255,0.08);
        border-right: none;
    }

    .hero {
        padding: 1.5rem 1rem 1.25rem;
    }

    .hero-text h1 {
        font-size: 1.3rem;
    }

    .entry-cards {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 1rem;
    }

    .site-footer {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        padding: 12px 1rem;
    }
}


    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    color: #1a1a1a;
    background: #f9f8f6;
    line-height: 1.7;
}

a {
    color: #1b4d8e;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Typographie --- */
h1, h2, h3, h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: normal;
    line-height: 1.3;
    color: #1a1a1a;
}

h1 { font-size: 1.75rem; margin-bottom: 1rem; }
h2 { font-size: 1.4rem;  margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p  { margin-bottom: 1rem; }

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* --- Mise en page générale --- */
.site-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 0 0.5px #ddd;
    min-height: 100vh;
}

.page-content {
    padding: 2rem 2.5rem;
}

/* --- Barre supérieure --- */
.topbar {
    background: #1b4d8e;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.topbar-title {
    color: #e8e0d0;
    font-family: Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.04em;
}

/* --- Navigation --- */
.main-nav {
    background: #1b4d8e;
    border-top: 0.5px solid rgba(255,255,255,0.12);
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.main-nav a {
    display: block;
    color: #c8d8f0;
    font-family: system-ui, Arial, sans-serif;
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #e8d5a0;
    border-bottom-color: #e8d5a0;
    text-decoration: none;
}

/* --- Bandeau hero (page d'accueil) --- */
.hero {
    background: #1b4d8e;
    padding: 2.5rem 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-text h1 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 0.4rem;
}

.hero-text p {
    color: #b8d0f0;
    font-family: system-ui, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.7;
}

/* Hero avec image de fond */
.hero-with-image {
    background-size: cover;
    background-position: center;
    min-height: 200px;
    display: flex;
    align-items: flex-end;
}

.hero-with-image .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 77, 142, 0.72);
}

.hero-with-image .hero-text {
    position: relative;
}

/* --- Bannière colles (page d'accueil) --- */
.colles-banner {
    background: #1b4d8e;
    border-radius: 6px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    gap: 8px;
}

.colles-banner span {
    color: #e8d5a0;
    font-family: system-ui, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.colles-banner a {
    color: #ffffff;
    font-family: system-ui, Arial, sans-serif;
    font-size: 12px;
    background: rgba(255,255,255,0.15);
    padding: 5px 14px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}

.colles-banner a:hover {
    background: rgba(255,255,255,0.25);
    text-decoration: none;
}

/* --- Cartes d'entrée (page d'accueil) --- */
.entry-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 1.5rem 0;
}

.entry-card {
    border: 0.5px solid #ddd;
    border-left: 3px solid #1b4d8e;
    border-radius: 6px;
    padding: 16px;
    background: #f9f8f6;
    text-decoration: none;
    display: block;
    transition: background 0.15s;
}

.entry-card:hover {
    background: #eef3fb;
    text-decoration: none;
}

.entry-card-label {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    font-family: system-ui, Arial, sans-serif;
    margin-bottom: 6px;
}

.entry-card-title {
    font-size: 15px;
    color: #1a1a1a;
    font-family: Georgia, serif;
    margin-bottom: 4px;
}

.entry-card-sub {
    font-size: 12px;
    color: #666;
    font-family: system-ui, Arial, sans-serif;
}

/* --- En-tête de page intérieure --- */
.page-header {
    background: #f0f4fa;
    border-left: 4px solid #1b4d8e;
    padding: 1.25rem 2.5rem;
}

.page-header h1 {
    font-size: 1.4rem;
    color: #1b4d8e;
    margin: 0;
}

/* --- Pied de page --- */
.site-footer {
    border-top: 0.5px solid #ddd;
    padding: 14px 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.site-footer p {
    font-size: 11px;
    color: #888;
    font-family: system-ui, Arial, sans-serif;
    margin: 0;
}

/* --- Menu hamburger (mobile) --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #e8e0d0;
}

.main-nav.open ul {
    flex-direction: column;
    gap: 0;
}

/* --- Responsive mobile --- */
@media (max-width: 600px) {
    .page-content {
        padding: 1.25rem 1rem;
    }

    .topbar {
        padding: 0 1rem;
    }

    .topbar-title {
        font-size: 11.5px;
    }

    .hamburger {
        display: flex;
    }

    .main-nav ul {
        display: none;
        flex-direction: column;
        padding: 0;
    }

    .main-nav.open ul {
        display: flex;
    }

    .main-nav a {
        padding: 12px 1rem;
        border-bottom: 0.5px solid rgba(255,255,255,0.08);
        border-right: none;
    }

    .hero {
        padding: 1.5rem 1rem 1.25rem;
    }

    .hero-text h1 {
        font-size: 1.3rem;
    }

    .entry-cards {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 1rem;
    }

    .site-footer {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        padding: 12px 1rem;
    }
}
/* --- Photo d'accueil --- */
.hero-photo {
    width: 100%;
    max-height: 320px;
    overflow: hidden;
}

.hero-photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 600px) {
    .hero-photo img {
        height: 200px;
    }
}
/* --- Photo spé anglais --- */
.spe-photo {
    margin: 1.5rem 0;
    text-align: center;
}

.spe-photo img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

.photo-credit {
    font-size: 11px;
    color: #888;
    font-family: system-ui, Arial, sans-serif;
    margin-top: 6px;
    font-style: italic;
}
