/* ============================================================
   ACCUEIL — accueil.css
   ============================================================ */

/* ── Reset wrapper ── */
#page-wrapper,
#content,
#page-wrapper > .row {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}
/* Dans accueil.css — REMPLACER le bloc par : */

.mob-toggle,
.mob-toggle + label,
.mob-logo {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
}

/* mob-nav séparé — garder le slide intact */
.mob-nav {
    animation: none !important;
}
/* ── Label de section ── */
.home-section-label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--color-secondary);
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 2.5rem;
}
.home-section-label::after {
    content: ''; flex: 1; max-width: 50px; height: 2px;
    background: var(--color-secondary);
}
.home-section-label--light  { color: rgba(255,255,255,0.6); }
.home-section-label--light::after  { background: rgba(255,255,255,0.3); }
.home-section-label--red    { color: var(--color-primary); }
.home-section-label--red::after    { background: var(--color-primary); }
.home-section-label--green  { color: var(--color-success); }
.home-section-label--green::after  { background: var(--color-success); }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero-fullscreen {
    position: relative;
    height: 100vh; min-height: 600px;
    overflow: hidden; z-index: 3;
}
.hero-background { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center; display: block;
}
.hero-container { position: relative; z-index: 2; height: 100%; }

.hero-right-content {
    display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center;
    height: 100%; padding: 4rem 2rem 4rem 3rem;
}

.hero-logo { margin-bottom: 2rem; }
.hero-logo-img { max-height: 140px; width: auto; }

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700;
    color: #fff; line-height: 1.1; margin-bottom: 0.75rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 1rem); font-weight: 500;
    color: rgba(255,255,255,0.88); letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 2.5rem;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

/* ── Hero actions ── */
.hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Base bouton hero */
.hero-actions .btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.65rem 0.65rem 1.25rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none !important;
    border: 2px solid;
    cursor: pointer;
    width: auto;
    white-space: nowrap;
    line-height: 1;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    border-radius: 0;
    position: relative;
}

/* Texte du bouton */
.hero-actions .btn .btn-text {
    flex: 1;
    display: block;
}

/* Wrapper flèche — boîte fixe clippée */
.hero-actions .btn .btn-arrow-wrapper {
    width: 28px; height: 28px;
    flex-shrink: 0;
    display: flex; align-items: flex-start; justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Container des deux flèches empilées */
.hero-actions .btn .btn-arrows {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Chaque flèche exactement la hauteur du wrapper */
.hero-actions .btn .btn-arrow {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hero-actions .btn .btn-arrow svg {
    width: 14px; height: 14px;
    display: block; flex-shrink: 0;
}

/* Au hover : remonte d'exactement 1 hauteur de flèche */
.hero-actions .btn:hover .btn-arrows {
    transform: translateY(-28px);
}

/* ── Bouton Participer (rouge) ── */
.hero-actions .btn-primary {
    background: var(--color-primary, #E82951);
    border-color: var(--color-primary, #E82951);
    color: #fff !important;
}
.hero-actions .btn-primary .btn-arrow-wrapper {
    background: rgba(0,0,0,0.15);
}
.hero-actions .btn-primary:hover {
    background: transparent;
    color: var(--color-primary, #E82951) !important;
    border-color: var(--color-primary, #E82951);
}
.hero-actions .btn-primary:hover .btn-arrow-wrapper {
    background: rgba(232,41,81,0.1);
}

/* ── Bouton Don (teal) ── */
.hero-actions .btn-hero-don {
    background: transparent;
    border-color: var(--color-secondary, #62B7B9);
    color: var(--color-secondary, #62B7B9) !important;
}
.hero-actions .btn-hero-don .btn-arrow-wrapper {
    background: rgba(98,183,185,0.1);
}
.hero-actions .btn-hero-don:hover {
    background: var(--color-secondary, #62B7B9);
    color: #fff !important;
}
.hero-actions .btn-hero-don:hover .btn-arrow-wrapper {
    background: rgba(0,0,0,0.12);
}

/* ── Bouton Newsletter (vert outline) ── */
.hero-actions .btn-hero-newsletter {
    background: transparent;
    border-color:#7fa40a;
    color: #7fa40a!important;
}
.hero-actions .btn-hero-newsletter .btn-arrow-wrapper {
    background: rgba(151,194,12,0.1);
}
.hero-actions .btn-hero-newsletter:hover {
    background:#7fa40a;
    color: #fff !important;
}
.hero-actions .btn-hero-newsletter:hover .btn-arrow-wrapper {
    background: rgba(0,0,0,0.12);
}

/* ── Réseaux sociaux ── */
.hero-social {
    position: absolute;
    bottom: 2.5rem; right: 2.5rem;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}
.hero-social-line {
    width: 2px; height: 50px;
    background: rgba(255,255,255,0.25);
    margin: 0 auto 0.25rem;
    align-self: center;
}
.hero-social-link {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}
.hero-social-link:hover { color: #fff !important; }
.hero-social-link svg { flex-shrink: 0; }

/* ── Logos partis ── */
.hero-parties {
    position: absolute; bottom: 2.5rem; left: 3rem;
    z-index: 4; display: flex; align-items: center; gap: 1.25rem;
}
.hero-parties::before {
    content: '';
    position: absolute; top: -1rem; left: 0; right: 0;
    height: 1px; background: rgba(255,255,255,0.15);
}
.hero-party-logo {
    display: inline-block;
    opacity: 0.7; transition: opacity 0.25s ease; flex-shrink: 0;
}
.hero-party-logo:hover { opacity: 1; }
.hero-party-logo img { height: 28px; width: auto; max-width: 80px; object-fit: contain; }

/* ── Scroll indicator ── */
.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%;
    transform: translateX(-50%); z-index: 3;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator a { color: rgba(255,255,255,0.7); display: block; }

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Animations ── */
.animate-fade-in         { animation: fadeUp 0.9s ease both; }
.animate-fade-in-delay   { animation: fadeUp 0.9s ease 0.25s both; }
.animate-fade-in-delay-2 { animation: fadeUp 0.9s ease 0.5s both; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════
   NAVBAR sur accueil (scroll)
════════════════════════════════════════════ */
body.page-template-page-hero-accueil #wrapper-navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        visibility 0s linear 0.45s;
}
body.page-template-page-hero-accueil #wrapper-navbar.nav-visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        visibility 0s linear 0s;
}
body.page-template-page-hero-accueil #main-nav {
    background: #fff !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.10);
}
body.page-template-page-hero-accueil #main-nav .nav-link {
    color: var(--color-dark) !important;
}
body.page-template-page-hero-accueil #main-nav .nav-link:hover {
    color: var(--color-primary) !important;
}
body.page-template-page-hero-accueil #main-nav .navbar-brand img {
    filter: none;
}
body.page-template-page-hero-accueil .navbar-toggler {
    border-color: var(--color-dark) !important;
}
body.page-template-page-hero-accueil .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a2535' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ════════════════════════════════════════════
   SECTION MEETING
════════════════════════════════════════════ */
.home-section-event {
    padding: 7rem 0;
    background: var(--color-dark);
    position: relative; overflow: hidden; z-index: 2;
}
.home-section-event::before {
    content: '';
    position: absolute; top: -8rem; right: -8rem;
    width: 600px; height: 600px; border-radius: 50%;
    background: var(--color-primary); opacity: 0.05;
    pointer-events: none;
}
.home-event-inner {
    max-width: 1140px; margin: 0 auto; padding: 0 2rem;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
}
.home-event-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem); color: #fff;
    line-height: 1.15; margin-bottom: 1.5rem;
}
.home-event-left h2 em { font-style: italic; color: var(--color-primary); }
.home-event-left p {
    font-family: 'Raleway', sans-serif; font-size: 1rem; font-weight: 300;
    color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 2rem;
}
.home-event-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-left: 4px solid var(--color-primary);
    padding: 2.5rem;
}
.home-event-badge {
    display: inline-block; background: var(--color-primary); color: #fff;
    font-family: 'Raleway', sans-serif; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    padding: 0.35rem 0.9rem; margin-bottom: 1.5rem;
}
.home-event-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; color: #fff; margin-bottom: 1.5rem;
}
.home-event-meta {
    display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem;
}
.home-event-meta-row { display: flex; align-items: center; gap: 0.75rem; }
.home-event-meta-row--top { align-items: flex-start; }
.home-event-icon { flex-shrink: 0; }
.home-event-icon--red   { color: var(--color-primary); }
.home-event-icon--teal  { color: var(--color-secondary); }
.home-event-icon--green { color: var(--color-success); }
.home-event-meta-text {
    font-family: 'Raleway', sans-serif; font-size: 0.9rem;
    color: rgba(255,255,255,0.7); line-height: 1.5;
}
.home-event-meta-text--strong { font-weight: 600; color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.home-event-meta-venue { color: rgba(255,255,255,0.9); display: block; }
.home-event-desc {
    font-family: 'Raleway', sans-serif; font-size: 0.88rem; font-weight: 300;
    color: rgba(255,255,255,0.6); line-height: 1.7; margin: 0;
}
.btn-event {
    display: inline-block; margin-top: 2rem; padding: 0.9rem 2rem;
    background: var(--color-primary); color: #fff !important;
    font-family: 'Raleway', sans-serif; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none !important; border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
}
.btn-event:hover { background: transparent; color: var(--color-primary) !important; }

/* ════════════════════════════════════════════
   SECTION MESSAGE
════════════════════════════════════════════ */
.home-section-message { padding: 8rem 0; background: #fff; position: relative; z-index: 2; }
.home-message-inner {
    max-width: 1140px; margin: 0 auto; padding: 0 2rem;
    display: grid; grid-template-columns: 320px 1fr;
    gap: 6rem; align-items: start;
}
.home-message-identity { position: sticky; top: 120px; text-align: center; }
.home-message-photo {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    object-position: center top; display: block; margin-bottom: 1.5rem;
}
.home-message-photo-placeholder {
    width: 100%; aspect-ratio: 4/5;
    background: linear-gradient(145deg, var(--color-dark) 0%, #3d5580 100%);
    margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center;
}
.home-message-photo-placeholder span {
    font-family: 'Playfair Display', serif; font-size: 5rem;
    color: rgba(255,255,255,0.1);
}
.home-message-name {
    font-family: 'Playfair Display', serif; font-size: 1.4rem;
    color: var(--color-dark); margin-bottom: 0.3rem;
}
.home-message-name em { font-style: italic; color: var(--color-primary); }
.home-message-role {
    font-family: 'Raleway', sans-serif; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-text-light);
}
.home-message-content { padding-top: 0.5rem; }
.home-message-quote {
    font-family: 'Playfair Display', serif; font-size: 5rem;
    color: var(--color-primary); line-height: 0.5; opacity: 0.2;
    display: block; margin-bottom: 1.5rem;
}
.home-message-text { display: flex; flex-direction: column; gap: 1.5rem; }
.home-message-text p {
    font-family: 'Raleway', sans-serif; font-size: 1.02rem; font-weight: 300;
    line-height: 1.85; color: var(--color-text); margin: 0;
}
.home-message-text strong { color: var(--color-dark); font-weight: 600; }
.home-message-axes { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.home-message-axe {
    display: flex; align-items: center; gap: 1rem;
    font-family: 'Raleway', sans-serif; font-size: 0.88rem; font-weight: 600;
    color: var(--color-dark); padding: 0.65rem 1rem;
    background: var(--color-bg-light); border-left: 3px solid transparent;
    transition: all 0.2s ease;
}
.home-message-axe:hover { border-left-color: var(--color-primary); background: #f5f5f5; }
.home-message-axe-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--color-primary); flex-shrink: 0;
}
.home-message-axe-dot--2 { background: var(--color-secondary); }
.home-message-axe-dot--3 { background: var(--color-success); }
.home-message-axe-dot--4 { background: var(--color-warning); }
.home-message-axe-dot--5 { background: var(--color-info); }
.home-message-axe-dot--6 { background: var(--color-primary); }
.home-message-axe-dot--7 { background: var(--color-secondary); }
.home-message-signature {
    margin-top: 2.5rem; padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-family: 'Raleway', sans-serif; font-size: 0.85rem; font-weight: 500;
    color: var(--color-text-light); font-style: italic;
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 991px) {

    /* ── Hero mobile ── */
    .hero-bg-image {
        object-position: center center !important;
    }
    .hero-right-content {
        padding: 19rem 1.5rem 5rem !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
        text-align: left !important;
    }

    .hero-logo {
        margin-bottom: 1rem !important;
        margin-top: 0 !important;
    }

    .hero-title {
        font-size: 1.6rem !important;
        text-align: left !important;
        margin-bottom: 0.4rem !important;            color: var(--color-text);
    }

    .hero-subtitle {
        font-size: 0.6rem !important;
        text-align: left !important;
        margin-bottom: 0 !important;            color: var(--color-text);
    }

    .hero-actions {
        display: none !important;
    }
	.hero-social-link svg {
    COLOR: var(--wp--preset--color--black)!important;
}
	        .hero-right-content {
            padding: 15rem 1.5rem 5rem !important;
        }
		  .hero-bg-image {
        object-position: 65% center !important;opacity: 0.3;
    }

    /* Réseaux sociaux */
    .hero-parties { left: 1.5rem; bottom: 7rem; }
    .hero-social { right: 1.5rem; bottom: 7rem; flex-direction: row; }
    .hero-social-line { display: none; }

    /* Autres sections */
    .home-event-inner { grid-template-columns: 1fr; gap: 3rem; }
    .home-message-inner { grid-template-columns: 1fr; gap: 3rem; }
    .home-message-identity { position: static; }
    .home-message-photo { max-width: 260px; margin: 0 auto 1.5rem; }
}

@media (max-width: 580px) {
    .hero-actions { width: 100%; }
    .hero-actions .btn { min-width: 0; width: 100%; }
    .hero-parties { display: none; }
    .hero-social { bottom: 5rem; right: 1rem; 		}
}