/* ═══════════════════════════════════════════════════════════
   PAGE FESTIVAL BERLIOZ — mise en page éditoriale
   ═══════════════════════════════════════════════════════════ */

.fest-hero {
    position: relative;
    padding: 150px var(--container-padding) 70px;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(74, 50, 30, 0.5) 0%, transparent 65%),
        linear-gradient(180deg, #1a0f08 0%, #241509 45%, #1a0f08 100%);
    color: var(--parchment);
}

.fest-hero__inner {
    max-width: 860px;
    margin: 0 auto;
}

.fest-hero__kicker {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.fest-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 4vw, 2.9rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.fest-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fest-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    opacity: 0.9;
    margin-bottom: 16px;
}

.fest-lead strong { color: var(--gold-light); font-weight: 500; }

.fest-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.fest-cta a {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 15px 30px;
    border: 1px solid var(--gold);
    color: var(--gold);
    transition: background 0.4s ease, color 0.4s ease;
}

.fest-cta a.plein { background: var(--gold); color: var(--ink); }
.fest-cta a:hover { background: var(--gold-light); color: var(--ink); }

/* --- Corps de page --- */
.fest-corps {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px var(--container-padding) 90px;
}

.fest-corps h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 600;
    color: var(--ink);
    margin: 56px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 168, 83, 0.35);
}

.fest-corps h2:first-child { margin-top: 0; }

.fest-corps h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--gold-texte);
    margin: 32px 0 12px;
}

.fest-corps p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink-light);
    margin-bottom: 16px;
}

.fest-corps ul {
    margin: 0 0 20px;
    padding-left: 22px;
    color: var(--ink-light);
}

.fest-corps li { margin-bottom: 9px; line-height: 1.7; }

.fest-corps a:not(.fest-cta a) {
    color: var(--gold-texte);
    text-decoration: underline;
    text-decoration-color: rgba(212, 168, 83, 0.4);
    text-underline-offset: 3px;
}

/* --- Sommaire --- */
.fest-toc {
    background: #faf8f4;
    border-left: 2px solid var(--gold);
    padding: 22px 26px;
    margin-bottom: 20px;
}

.fest-toc p {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-texte);
    margin-bottom: 12px;
}

.fest-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 30px;
}

.fest-toc li { margin-bottom: 7px; }

/* --- Tableaux --- */
.fest-table-wrap { overflow-x: auto; margin: 0 0 26px; }

.fest-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.97rem;
    min-width: 480px;
}

.fest-table th,
.fest-table td {
    padding: 11px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 168, 83, 0.22);
    color: var(--ink-light);
    vertical-align: top;
}

.fest-table th {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-texte);
    background: #f3efe6;
    white-space: nowrap;
}

.fest-table tbody th { background: transparent; }

/* --- Encadrés --- */
.fest-encadre {
    background: #faf8f4;
    border: 1px solid rgba(212, 168, 83, 0.3);
    padding: 24px 26px;
    margin: 26px 0;
}

.fest-encadre p:last-child { margin-bottom: 0; }

.fest-encadre--fort {
    background: linear-gradient(135deg, #fdf8ea, #faf3e2);
    border-left: 3px solid var(--gold);
}

.fest-note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--ink-light);
    opacity: 0.8;
}

.a-completer {
    background: #fdf3d7;
    border-bottom: 1px solid var(--gold-dark);
    padding: 0 4px;
    font-style: normal;
    font-weight: 600;
    color: var(--ink);
}

/* --- Les trois hébergements --- */
.fest-logements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 26px 0 10px;
}

@media (max-width: 820px) {
    .fest-logements { grid-template-columns: 1fr; }
}

.fest-logement {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(212, 168, 83, 0.28);
    overflow: hidden;
}

.fest-logement img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.fest-logement__corps {
    padding: 18px 18px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fest-logement h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: var(--ink);
}

.fest-logement__type {
    font-family: var(--font-heading);
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-texte);
    margin-bottom: 14px;
}

.fest-logement ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    font-size: 0.87rem;
}

.fest-logement li {
    padding: 4px 0 4px 18px;
    position: relative;
    margin: 0;
}

.fest-logement li::before {
    content: '~';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-family: var(--font-medieval);
}

.fest-logement__prix {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(212, 168, 83, 0.2);
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--ink);
}

.fest-logement__prix span {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-light);
    opacity: 0.7;
}

.fest-logement__cta {
    display: block;
    margin-top: 16px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-texte) !important;
    border: 1px solid var(--gold-dark);
    padding: 12px;
    text-decoration: none !important;
    transition: background 0.4s ease, color 0.4s ease;
}

.fest-logement__cta:hover {
    background: var(--gold);
    color: var(--ink) !important;
}

/* --- FAQ --- */
.fest-faq details {
    border-bottom: 1px solid rgba(212, 168, 83, 0.22);
    padding: 16px 0;
}

.fest-faq summary {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 28px;
}

.fest-faq summary::-webkit-details-marker { display: none; }

.fest-faq summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: -2px;
    color: var(--gold-texte);
    font-size: 1.3rem;
    line-height: 1;
}

.fest-faq details[open] summary::after { content: '−'; }

.fest-faq details p {
    margin: 14px 0 0;
    font-size: 1rem;
}

/* --- Bloc de conversion final --- */
.fest-final {
    background: var(--ink);
    color: var(--parchment);
    padding: 60px var(--container-padding);
    text-align: center;
}

.fest-final h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    color: var(--gold-light);
    border: none;
    margin: 0 0 16px;
}

.fest-final p {
    max-width: 560px;
    margin: 0 auto 26px;
    color: var(--parchment);
    opacity: 0.85;
    line-height: 1.75;
}

.fest-final .fest-cta { justify-content: center; }

.fest-final__contact {
    margin-top: 26px;
    display: flex;
    gap: 26px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

@media (max-width: 700px) {
    .fest-toc ul { columns: 1; }
    .fest-hero { padding-top: 120px; }
}
