/* ==========================================================================
   VISITEURS — pages « Bienvenue » et « Vivre une première célébration »
   Reprend les couleurs (--primary-color / --accent-color) et les polices
   (Oswald / Montserrat / Cormorant) du thème existant.
   ========================================================================== */

.visiteurs {
    --v-navy: var(--primary-color, #2c3e50);
    --v-blue: var(--accent-color, #3498db);
    --v-ink: #34495e;
    --v-muted: #5d6d7e;
    --v-soft: #eef5fb;
    --v-line: #d6e4f0;
    color: var(--v-ink);
}

/* ---------- En-tête de page (variante de .page-header) ---------- */
.page-header.visiteurs-header {
    background-image: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), url('/assets/images/fondaccueil.png');
}

.visiteurs-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem !important;
    font-style: normal !important;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #8ec5ef !important;
    margin-bottom: 10px;
    opacity: 1 !important;
}

.page-header.visiteurs-header h1 {
    color: #fff;
    line-height: 1.1;
}

.page-header.visiteurs-header h1 .accent {
    color: #8ec5ef;
}

.page-header.visiteurs-header .visiteurs-tagline {
    font-family: 'Cormorant', serif;
    font-size: 1.5rem;
    color: #fff;
    margin-top: 12px;
}

.page-header.visiteurs-header .visiteurs-tagline::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
    vertical-align: middle;
    margin-right: 14px;
}

/* ---------- Titres de section ---------- */
.visiteurs .v-kicker {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--v-blue);
    margin-bottom: 6px;
}

.visiteurs h2.v-title,
.visiteurs h3.v-title {
    font-family: var(--font-heading) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--v-navy);
    line-height: 1.2;
}

.visiteurs h2.v-title { font-size: 1.7rem; margin-bottom: 18px; }
.visiteurs h3.v-title { font-size: 1.15rem; margin-bottom: 10px; }

.visiteurs h2.v-title .accent,
.visiteurs h3.v-title .accent { color: var(--v-blue); }

.visiteurs .v-section-title {
    font-family: var(--font-heading) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--v-navy);
    font-size: 1.6rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    position: relative;
}

.visiteurs .v-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--v-blue);
}

.visiteurs p {
    line-height: 1.75;
    margin-bottom: 14px;
}

.visiteurs .v-lead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--v-navy);
}

.visiteurs .v-serif {
    font-family: 'Cormorant', serif;
    font-style: italic;
    font-size: 1.45rem;
    line-height: 1.45;
    color: var(--v-blue);
}

.visiteurs .v-serif-block {
    border-top: 1px solid var(--v-line);
    padding-top: 18px;
    margin-top: 24px;
}

.visiteurs .v-icon {
    font-family: 'Material Symbols Outlined' !important;
    font-size: 22px;
    line-height: 1;
    vertical-align: middle;
    color: var(--v-blue);
}

/* ---------- Grilles ---------- */
.v-grid-2 {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.v-grid-2.equal { grid-template-columns: 1fr 1fr; }

.v-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ---------- Timeline « Le déroulé » ---------- */
.v-timeline-card {
    background: var(--v-soft);
    border: 1px solid var(--v-line);
    border-radius: 14px;
    padding: 30px 28px;
    position: sticky;
    top: 100px;
}

.v-timeline-card h3.v-title { margin-bottom: 22px; }

.v-timeline {
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
}

.v-timeline::before {
    content: '';
    position: absolute;
    left: 84px;
    top: 8px;
    bottom: 8px;
    border-left: 2px dashed #9cc7ea;
}

.v-timeline li {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 30px;
    margin-bottom: 20px;
    position: relative;
}

.v-timeline li:last-child { margin-bottom: 0; }

.v-timeline li::before {
    content: '';
    position: absolute;
    left: 77px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--v-blue);
}

.v-timeline li.is-key::before { background: var(--v-blue); }

.v-timeline .v-time {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--v-navy);
}

.v-timeline strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--v-navy);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.v-timeline small {
    display: block;
    font-size: 0.85rem;
    color: var(--v-muted);
    line-height: 1.5;
}

/* ---------- Bande sombre « Première visite » ---------- */
.v-dark {
    background: var(--v-navy);
    color: #dfe7ee;
    position: relative;
    overflow: hidden;
}

.v-dark::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.v-dark .container { position: relative; z-index: 1; }
.v-dark .v-kicker { color: #8ec5ef; }
.v-dark h2.v-title { color: #fff; }
.v-dark p { color: #dfe7ee; }
.v-dark .v-serif { color: #fff; }
.v-dark .v-serif .accent { color: #8ec5ef; }

.v-kit {
    background: #fff;
    color: var(--v-ink);
    border-radius: 14px;
    padding: 30px 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.v-kit .v-kicker { color: var(--v-blue); }
.v-kit h3.v-title { font-size: 1.6rem; }
.v-kit p { color: var(--v-ink); }

.v-kit ul {
    list-style: none;
    margin: 18px 0;
    padding: 0;
}

.v-kit li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 0;
    font-weight: 600;
    color: var(--v-navy);
}

.v-kit li .v-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--v-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.v-kit .v-note {
    border-top: 1px dashed var(--v-line);
    padding-top: 14px;
    margin: 0;
    font-size: 0.85rem;
    color: var(--v-muted);
}

/* ---------- Page « Première célébration » ---------- */
.v-intro {
    border-left: 4px solid var(--v-blue);
    padding-left: 25px;
}

.v-subhead {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 12px;
}

.v-subhead h3.v-title { margin: 0; }

.v-quote {
    background: var(--v-soft);
    border-left: 4px solid var(--v-blue);
    border-radius: 0 10px 10px 0;
    padding: 20px 24px;
    margin: 20px 0 0;
}

.v-quote p {
    font-family: 'Cormorant', serif;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.45;
    color: var(--v-navy);
    margin-bottom: 8px;
}

.v-quote cite {
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--v-muted);
}

.v-bible-box {
    background: var(--v-soft);
    border-radius: 12px;
    padding: 24px 26px;
    margin-top: 18px;
}

.v-bible-box h4 {
    font-family: var(--font-heading);
    color: var(--v-blue);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.v-bible-box p { font-size: 0.95rem; }
.v-bible-box p:last-child { margin-bottom: 0; }

.v-card {
    background: #fff;
    border: 1px solid var(--v-line);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.v-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(44, 62, 80, 0.1);
}

.v-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.v-card-head .v-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: var(--v-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.v-card-head h3.v-title { margin: 0; font-size: 1.05rem; }

.v-card-head small {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--v-blue);
}

.v-card p { font-size: 0.93rem; margin-bottom: 10px; }
.v-card p:last-child { margin-bottom: 0; }

.v-card .v-card-quote {
    font-family: 'Cormorant', serif;
    font-style: italic;
    font-size: 1.12rem;
    line-height: 1.45;
    color: var(--v-navy);
}

.v-card .v-card-quote cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--v-muted);
}

.v-cards-top { margin-bottom: 25px; }

.v-practical h3.v-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v-practical p { font-size: 0.95rem; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .v-grid-2,
    .v-grid-2.equal { grid-template-columns: 1fr; gap: 35px; }
    .v-timeline-card { position: static; }
    .v-grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .v-grid-3 { grid-template-columns: 1fr; }
    .page-header.visiteurs-header h1 { font-size: 2rem; }
    .visiteurs .v-section-title { font-size: 1.35rem; }
    .v-timeline::before { left: 70px; }
    .v-timeline li { grid-template-columns: 56px 1fr; }
    .v-timeline li::before { left: 63px; }
    .v-kit, .v-timeline-card { padding: 24px 20px; }
}

/* ---------- Lien vers la page suivante ---------- */
.v-next {
    background: var(--v-soft);
    padding: 28px 0;
    text-align: center;
}

.v-next-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--v-navy);
    text-decoration: none;
    transition: color 0.3s, gap 0.3s;
}

.v-next-link:hover { color: var(--v-blue); gap: 16px; }
