/*
 * Enflammés Connect — front-end blocks.
 *
 * Deliberately matches the existing site: Bebas Neue headings, Montserrat body,
 * #030303 backgrounds, #e01810 logo red used as an accent only. No new visual
 * identity is introduced; the theme keeps loading the fonts.
 */

.enfc-tonight,
.enfc-tour,
.enfc-map,
.enfc-ig,
.enfc-btn,
.enfc-form {
    --enfc-black: #030303;
    --enfc-ink: #1c1c1c;
    --enfc-text: #5c5c5c;
    --enfc-red: #e01810;
    --enfc-line: #d6d6d6;
    --enfc-body: "Montserrat", Arial, Helvetica, sans-serif;
    --enfc-display: "Bebas Neue", "Montserrat", Arial, sans-serif;
    font-family: var(--enfc-body);
    color: var(--enfc-text);
}

.enfc-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ------------------------------------------------------------------ buttons */
/* Valeurs relevées sur le site d'origine (boutons Avada) : fond blanc, filet
   gris #d6d6d6, texte noir en capitales 14 px, angles vifs ; survol rouge.
   La variante « ghost » est celle des sections sombres. Le thème déclare les
   mêmes valeurs : les deux feuilles ne se contredisent jamais. */

.enfc-btn {
    display: inline-block;
    font: 400 14px/1 var(--enfc-body);
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 15px 20px;
    border: 1px solid var(--enfc-line);
    background: #fff;
    color: #000;
    cursor: pointer;
    transition: .25s;
    min-height: 48px;
    border-radius: 0;
    text-decoration: none;
    text-align: center;
}

.enfc-btn:hover,
.enfc-btn:focus-visible {
    background: linear-gradient(to top, #ff0000, #f72000);
    border-color: var(--enfc-black);
    color: #fff;
    outline: none;
}

.enfc-btn-ghost {
    background: transparent;
    color: #fff;
}

.enfc-btn-ghost:hover,
.enfc-btn-ghost:focus-visible {
    background: #fff;
    border-color: var(--enfc-black);
    color: #000;
}

/* ------------------------------------------------------------- tonight block */

.enfc-tonight {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    background: var(--enfc-black);
    color: #fff;
    padding: 18px 24px;
}

.enfc-tonight .enfc-tonight-text {
    margin: 0;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    flex: 1 1 320px;
}

.enfc-tonight strong {
    font-family: var(--enfc-display);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: .05em;
    color: #fff;
    margin-right: 6px;
}

.enfc-tonight .enfc-place {
    color: #fff;
    font-weight: 600;
}

.enfc-tonight .enfc-when {
    color: #ddd;
    white-space: nowrap;
}

.enfc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--enfc-red);
    flex: 0 0 auto;
    box-shadow: 0 0 0 0 rgba(224, 24, 16, .6);
    animation: enfc-pulse 2.4s infinite;
}

@keyframes enfc-pulse {
    70% { box-shadow: 0 0 0 12px rgba(224, 24, 16, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 24, 16, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .enfc-dot { animation: none; }
}

/* ----------------------------------------------------------------- tour table */

.enfc-tour .enfc-title {
    font: 400 32px/1.1 var(--enfc-display);
    letter-spacing: .04em;
    color: var(--enfc-ink);
    margin: 0 0 18px;
}

.enfc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.enfc-table th,
.enfc-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid var(--enfc-line);
    vertical-align: top;
}

.enfc-table thead th {
    font: 400 20px/1 var(--enfc-display);
    letter-spacing: .06em;
    color: var(--enfc-ink);
    text-transform: uppercase;
}

.enfc-table td {
    color: var(--enfc-text);
}

.enfc-table tr.enfc-today td {
    color: var(--enfc-ink);
    font-weight: 600;
}

.enfc-badge {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: var(--enfc-red);
    color: #fff;
    padding: 3px 7px;
    margin-left: 6px;
    font-weight: 600;
    vertical-align: middle;
}

.enfc-note {
    font-size: 13px;
    color: #7a7a7a;
    margin: 14px 0 0;
}

.enfc-note a {
    color: inherit;
    text-decoration: underline;
}

/* ------------------------------------------------------------------- the map */

.enfc-map {
    position: relative;
    min-height: var(--enfc-map-h, 420px);
    background: var(--enfc-black);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.enfc-map-inner {
    max-width: 520px;
}

.enfc-map strong {
    display: block;
    font-family: var(--enfc-display);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: .04em;
    color: #fff;
    margin-bottom: 10px;
}

.enfc-map p {
    color: #ddd;
    font-size: 14px;
    margin: 0 0 18px;
}

.enfc-pin {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--enfc-red);
    margin: 0 auto 16px;
}

.enfc-map iframe {
    width: 100%;
    height: var(--enfc-map-h, 420px);
    border: 0;
    display: block;
}

.enfc-map.is-loaded {
    display: block;
    padding: 0;
}

/* ------------------------------------------------------------ instagram grid */

.enfc-ig-grid {
    display: grid;
    grid-template-columns: repeat(var(--enfc-ig-cols, 3), 1fr);
    gap: 8px;
}

.enfc-ig-item {
    margin: 0;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f2f2f2;
}

.enfc-ig-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.enfc-ig-item a:hover img,
.enfc-ig-item a:focus-visible img {
    transform: scale(1.05);
}

.enfc-ig-item a:focus-visible {
    outline: 2px solid var(--enfc-red);
    outline-offset: 2px;
}

.enfc-ig-follow {
    text-align: center;
    margin: 28px 0 0;
}

/* ----------------------------------------------------------------- responsive */

@media (max-width: 782px) {
    .enfc-ig-grid { grid-template-columns: repeat(2, 1fr); }

    .enfc-tonight {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    /* En colonne, la base flexible de 320 px s'appliquerait à la HAUTEUR et
       étirerait le bandeau sur la moitié de l'écran. */
    .enfc-tonight .enfc-tonight-text { flex: 0 0 auto }

    .enfc-table thead { display: none; }

    .enfc-table tr {
        display: block;
        border-bottom: 1px solid var(--enfc-line);
        padding: 12px 0;
    }

    .enfc-table td {
        display: block;
        border: 0;
        padding: 2px 0;
    }

    .enfc-table td:first-child {
        font-family: var(--enfc-display);
        font-size: 20px;
        letter-spacing: .05em;
        color: var(--enfc-ink);
    }
}
