@import url('theme.css');

/* Importer la police BMCI */
@font-face {
    font-family: 'BNPP Sans';
    src: url('../Fonts/bnpp-sans 2/bnpp-sans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 15px !important;
    scroll-behavior: smooth;
}

body {
    background-color: var(--ia-bg-deep);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(45, 255, 138, 0.08), transparent),
        linear-gradient(180deg, var(--ia-bg-deep) 0%, var(--ia-bg) 100%);
    min-height: 100vh;
}

.custom-input {
    font-size: 1rem;
    /* Taille de police uniforme */
    padding: 10px;
    /* Espacement interne */
    border-radius: 8px;
    /* Coins arrondis */
    border: 1px solid #ccc;
    /* Bordure uniforme */
    background-color: #f9f9f9;
    /* Couleur de fond douce */
    box-sizing: border-box;
    /* Inclut padding et bordure dans la largeur */
}

.custom-input:focus {
    border-color: #007bff;
    /* Changement de bordure au focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    /* Ombre au focus */
}

.d-flex {
    background-color: white;
    border-radius: 8px;
    color: #999999;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
}

.form-label {
    margin-right: 10px;
}

/* Style global */
body,
h1,
h2,
h3,
p,
a,
button {
    margin: 0;
    padding: 0;
    font-family: var(--font-main) !important;
    line-height: 1.6;
    color: var(--ia-text);
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header */
header {
    background: rgba(5, 24, 18, 0.95);
    border-bottom: 1px solid var(--ia-border);
    color: var(--ia-text);
    text-align: center;
    padding: 16px 20px 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.header-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

header .lg {
    height: 52px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.05);
}

header .lg:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 0 12px var(--ia-neon-glow));
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 10px 10px 0;
}

nav ul li {
    margin: 0 12px;
}

nav ul li a {
    text-decoration: none !important;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

nav ul li a:hover {
    color: var(--ia-neon);
    text-shadow: 0 0 20px var(--ia-neon-glow);
}

/* Hero */
.hero {
    position: relative;
    min-height: 72vh;
    max-height: 820px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--ia-border);
}

.hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(2, 12, 8, 0.35) 0%,
        rgba(2, 12, 8, 0.55) 45%,
        rgba(5, 24, 18, 0.97) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 24px 56px;
    max-width: 900px;
}

.hero__eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero__title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.15;
    margin-bottom: 28px;
}

/* Animation futuriste — https://codepen.io/malavigne/pen/RwERyLK */
.animated-title {
    display: inline-block;
    width: 100%;
    margin: 0;
    text-align: center;
    animation: textGlitch 3s ease-in-out 1 forwards;
}

.animated-title .animated-word {
    display: inline-block;
}

.animated-title .animated-element {
    display: inline-block;
    min-width: 0.2em;
}

.animated-word {
    opacity: 0;
}

.animated-title--eyebrow {
    color: var(--ia-neon);
}

.animated-title--eyebrow .animated-word.is-animating .animated-element {
    opacity: 0;
    transform: translateY(3px);
    animation: displayLetterEyebrow 0.55s ease-in-out forwards;
}

.animated-title--title {
    color: #ffffff;
    animation-duration: 3.5s;
    animation-delay: 0.5s;
}

.animated-title--title .animated-word.is-animating .animated-element {
    opacity: 0;
    transform: translateY(3px);
    animation: displayLetterTitle 0.55s ease-in-out forwards;
}

@keyframes displayLetterEyebrow {
    0% {
        transform: translateY(2px);
        color: #1a9e55;
        opacity: 0;
    }
    10% {
        opacity: 1;
        color: #ffffff;
    }
    20% {
        opacity: 0;
        color: var(--ia-neon);
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        color: #ffffff;
        transform: translateY(1px);
    }
    60% {
        opacity: 1;
        color: var(--ia-neon);
        transform: translateY(1px);
    }
    100% {
        transform: translateY(0);
        color: var(--ia-neon);
        opacity: 1;
    }
}

@keyframes displayLetterTitle {
    0% {
        transform: translateY(2px);
        color: #ffffff;
        opacity: 0;
    }
    10% {
        opacity: 1;
        color: var(--ia-neon);
    }
    20% {
        opacity: 0;
        color: #ffffff;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        color: #1a9e55;
        transform: translateY(1px);
    }
    60% {
        opacity: 1;
        color: #ffffff;
        transform: translateY(1px);
    }
    100% {
        transform: translateY(0);
        color: #ffffff;
        opacity: 1;
    }
}

@keyframes textGlitch {
    0%, 88% {
        opacity: 1;
        transform: translateX(0);
    }
    90% {
        opacity: 0.35;
        transform: translateX(-2px);
    }
    92% {
        opacity: 1;
        transform: translateX(2px);
    }
    94% {
        opacity: 0.35;
        transform: translateX(-1px);
    }
    96%, 100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 32px;
}

.hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ia-text);
    font-size: 1rem;
    font-weight: 500;
}

.hero__meta-item i {
    color: var(--ia-neon);
    font-size: 1.1rem;
    filter: drop-shadow(0 0 8px var(--ia-neon-glow));
}

.hero__line {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ia-neon), transparent);
    margin: 0 auto 24px;
    box-shadow: 0 0 16px var(--ia-neon-glow);
}

/* À propos */
#about {
    padding: 70px 20px;
    text-align: center;
    background: var(--ia-bg);
    border-top: 1px solid var(--ia-border);
    border-bottom: 1px solid var(--ia-border);
}

.content-center {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.section-title {
    text-align: center;
    color: #fff !important;
    font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px !important;
}

.section-title__text {
    display: inline-block;
    background-image: linear-gradient(
        110deg,
        #ffffff 0%,
        #ffffff 36%,
        rgba(255, 255, 255, 0.45) 46%,
        #ffffff 50%,
        rgba(255, 255, 255, 0.45) 54%,
        #ffffff 64%,
        #ffffff 100%
    );
    background-size: 280% 100%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: section-title-text-shimmer 3.2s ease-in-out infinite;
}

@keyframes section-title-text-shimmer {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--ia-neon);
    margin: 16px auto 32px;
    box-shadow: 0 0 12px var(--ia-neon-glow);
}

#about p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ia-text-muted);
    margin-bottom: 40px;
    text-align: justify;
}

#about img {
    max-width: 70%;
    border-radius: 12px;
    border: 1px solid var(--ia-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.image-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.image-container img {
    width: 80%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Intervenants */
#intervenants {
    padding: 70px 20px;
    text-align: center;
    background: var(--ia-bg-deep);
}

.speakers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.speaker {
    display: flex;
    min-width: 0;
}

.speaker-card {
    background: var(--ia-bg-card);
    border: 1px solid var(--ia-border);
    border-radius: 16px;
    padding: 24px 16px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.speaker-card:hover {
    border-color: var(--ia-border-strong);
    box-shadow: 0 0 24px rgba(45, 255, 138, 0.12);
}

.speaker img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid var(--ia-neon);
    object-fit: cover;
    box-shadow: 0 0 20px var(--ia-neon-glow);
    transition: transform 0.3s ease;
}

.speaker img:hover {
    transform: scale(1.05);
}

.speaker-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.speaker-info h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 14px 0 6px;
}

.speaker-info p {
    color: var(--ia-text-muted);
    font-size: 0.9rem;
    margin: 0 0 4px;
    line-height: 1.45;
}

/* Programme */
#programme {
    padding: 70px 20px;
    background: var(--ia-bg);
    border-top: 1px solid var(--ia-border);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

h2 {
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.schedule {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: var(--ia-bg-card);
    border: 1px solid var(--ia-border);
    border-radius: 12px;
    padding: 18px 20px;
    transition: border-color 0.2s ease;
}

.event:hover {
    border-color: var(--ia-border-strong);
}

.time {
    font-weight: 700;
    color: var(--ia-neon);
    width: 140px;
    margin-right: 20px;
    font-size: 0.85rem;
    line-height: 1.4;
    flex-shrink: 0;
}

.content {
    flex: 1;
}

.event-title {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
}

.event-speaker {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
    align-items: start;
    padding: 10px 0 10px 12px;
    margin-bottom: 2px;
    border-left: 2px solid var(--ia-neon);
    background: linear-gradient(90deg, rgba(45, 255, 138, 0.06) 0%, transparent 100%);
    border-radius: 0 8px 8px 0;
}

.event-speaker + .event-speaker {
    margin-top: 4px;
}

.event-speaker__name {
    grid-column: 1 / -1;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

.event-speaker__name::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--ia-neon);
    box-shadow: 0 0 8px var(--ia-neon-glow);
    vertical-align: middle;
    transform: translateY(-1px);
}

.event-speaker__role {
    grid-column: 1 / -1;
    padding-left: 16px;
    color: var(--ia-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.event-detail {
    margin-top: 8px;
    padding: 8px 0 8px 14px;
    color: var(--ia-text-muted);
    font-size: 0.88rem;
    font-style: italic;
    border-left: 2px solid rgba(45, 255, 138, 0.2);
}

strong {
    color: var(--ia-neon-soft);
}


/* Formulaire d'inscription */
.inscription-section {
    background: var(--ia-bg-deep);
    background-image:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(45, 255, 138, 0.06), transparent),
        url('../img/Image03.jpg');
    background-size: cover;
    background-position: center;
    padding: 70px 20px;
    text-align: center;
    border-top: 1px solid var(--ia-border);
}

.inscription-inner {
    max-width: 760px;
    margin: 0 auto;
}

.inscription-section h2 {
    color: #fff;
    font-size: 2.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 12px;
}

.inscription-lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0 auto 28px;
    max-width: 520px;
}

.inscription-card {
    background: rgba(5, 24, 18, 0.92);
    border: 1px solid var(--ia-border-strong);
    border-radius: 16px;
    padding: 32px 36px 36px;
    box-shadow: 0 0 40px rgba(45, 255, 138, 0.08);
    text-align: left;
    backdrop-filter: blur(8px);
}

.inscription-card--closed {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.inscription-closed-message {
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.65;
    margin: 0;
}

#form-inscription {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 18px;
    margin-bottom: 22px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    color: #e8f5e9;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.form-field .required {
    color: var(--ia-neon);
}

.form-field .optional {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    font-size: 0.8rem;
}

#form-inscription input[type="text"],
#form-inscription input[type="email"],
#form-inscription input[type="tel"],
#form-inscription input[type="url"] {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: #fff;
    color: #1a2e1f;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#form-inscription input::placeholder {
    color: #8a9a8e;
}

#form-inscription input:focus {
    border-color: var(--ia-neon);
    outline: none;
    box-shadow: 0 0 0 3px var(--ia-neon-glow);
}

.photo-upload {
    position: relative;
    display: block;
    width: 100%;
    min-height: 120px;
    padding: 24px 44px 24px 20px;
    border: 2px dashed rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
}

/* Masquer le sélecteur natif (surtout sur mobile) */
.photo-upload__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    font-size: 0;
}

.photo-upload:hover,
.photo-upload:focus {
    border-color: var(--ia-neon);
    background: rgba(45, 255, 138, 0.08);
    outline: none;
}

.photo-upload--has-file {
    border-style: solid;
    border-color: var(--ia-neon);
    background: rgba(45, 255, 138, 0.06);
}

.photo-upload__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    pointer-events: none;
}

.photo-upload__icon {
    font-size: 1.75rem;
    color: var(--ia-neon);
}

.photo-upload__text {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
}

.photo-upload__hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
    max-width: 100%;
}

.photo-upload--has-file .photo-upload__hint {
    display: none;
}

.photo-upload__remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: background 0.2s ease;
}

.photo-upload__remove:hover {
    background: rgba(220, 53, 69, 0.85);
}

.form-terms {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0 28px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.form-terms input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--ia-neon);
    cursor: pointer;
}

.form-terms label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.45;
    margin: 0;
    cursor: pointer;
}

.form-terms a {
    color: var(--ia-neon-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-terms a:hover {
    color: var(--ia-neon);
}

.btn-inscription {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border: 1px solid var(--ia-neon);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(45, 255, 138, 0.25) 0%, rgba(26, 158, 85, 0.35) 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 24px var(--ia-neon-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-inscription:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 0 32px var(--ia-neon-glow);
    background: linear-gradient(135deg, rgba(45, 255, 138, 0.35) 0%, rgba(26, 158, 85, 0.5) 100%);
}

.btn-inscription:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-inscription__icon {
    font-size: 0.9rem;
}

/* Contact */
#contact {
    padding: 70px 0 50px !important;
    background: var(--ia-bg) !important;
    border-top: 1px solid var(--ia-border);
}

#contact .contact-title {
    font-weight: 800;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

#contact .contact-subtitle {
    text-align: center;
    margin-bottom: 32px;
    color: var(--ia-neon);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
}

#contact iframe {
    filter: grayscale(30%) contrast(1.05);
    border-top: 1px solid var(--ia-border) !important;
    border-bottom: 1px solid var(--ia-border) !important;
}

.fullwidth-image {
    display: none;
}

/* Footer */
.site-footer {
    background: var(--ia-bg-deep);
    border-top: 1px solid var(--ia-border);
    padding: 48px 20px 36px;
    color: var(--ia-text);
}

.site-footer__inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 48px;
    margin-bottom: 36px;
}

.site-footer__meta-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.site-footer__meta-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--ia-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ia-neon);
    font-size: 1.15rem;
    box-shadow: 0 0 16px rgba(45, 255, 138, 0.2);
}

.site-footer__meta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.35;
    text-transform: lowercase;
}

.site-footer__meta-text span:first-child {
    text-transform: none;
}

.site-footer__meta-highlight {
    color: var(--ia-neon) !important;
    font-weight: 600;
    font-size: 1rem;
}

.site-footer__logos-card {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 0;
    background: transparent;
}

.site-footer__logo-main {
    max-height: 80px;
    width: auto;
    max-width: min(320px, 85%);
    object-fit: contain;
}

.site-footer__contact {
    margin-bottom: 28px;
}

.site-footer__contact p {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
}

.site-footer__email {
    color: var(--ia-neon);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-footer__email:hover {
    color: var(--ia-neon-soft);
    text-shadow: 0 0 20px var(--ia-neon-glow);
}

.site-footer__note {
    padding: 18px 22px;
    margin-bottom: 32px;
    background: var(--ia-bg-card);
    border: 1px solid var(--ia-border-strong);
    border-radius: 12px;
    color: var(--ia-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: center;
}

.site-footer__note strong {
    color: var(--ia-neon);
    font-weight: 700;
}

.site-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s ease;
}

.site-footer__nav a:hover {
    color: var(--ia-neon);
}


ul {
    margin-bottom: 0px !important;
}


@media screen and (max-width: 992px) and (min-width: 769px) {
    .speakers {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .event-speaker,
    .event-detail {
        width: 100%;
    }

    .speakers {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .inscription-card {
        padding: 24px 20px 28px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-field--full {
        grid-column: auto;
    }

    .inscription-section h2 {
        font-size: 1.75rem;
    }

    .inscription-lead {
        font-size: 0.95rem;
        padding: 0 4px;
    }

    .photo-upload {
        padding: 20px 40px 20px 16px;
        min-height: 130px;
    }

    .photo-upload__text {
        font-size: 0.9rem;
        padding: 0 4px;
    }

    .photo-upload__hint {
        font-size: 0.75rem;
        padding: 0 8px;
    }

    .photo-upload--has-file .photo-upload__text {
        font-size: 0.85rem;
    }

    #programme {
        padding: 40px 10px 40px 10px;
    }

    .event {
        display: block;
    }

    header {
        padding: 20px 20px 20px 20px;
    }

    .site-footer__logo-main {
        max-height: 64px;
        max-width: 90%;
    }

    .site-footer__meta {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .site-footer__meta-item {
        width: 100%;
        max-width: 280px;
    }

    .site-footer__nav ul {
        flex-direction: column;
        gap: 12px;
    }
}

/* SweetAlert2 — charte sombre IA */
.swal2-popup {
    background: var(--ia-bg-card) !important;
    color: var(--ia-text) !important;
    border: 1px solid var(--ia-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55) !important;
    font-family: var(--font-main) !important;
}

.swal2-title {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.swal2-html-container {
    color: var(--ia-text) !important;
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
}

.swal2-html-container p {
    color: var(--ia-text) !important;
    margin: 0 0 1rem !important;
    text-align: left !important;
}

.swal2-html-container p:last-child {
    margin-bottom: 0 !important;
}

.swal2-html-container strong {
    color: var(--ia-neon) !important;
}

.swal2-close {
    color: var(--ia-text-muted) !important;
}

.swal2-close:hover {
    color: var(--ia-neon) !important;
}

.swal2-confirm {
    background: var(--ia-neon) !important;
    color: var(--ia-bg-deep) !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    padding: 10px 28px !important;
    box-shadow: 0 0 18px var(--ia-neon-glow) !important;
}

.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(45, 255, 138, 0.35) !important;
}

.swal2-confirm:hover {
    background: var(--ia-neon-soft) !important;
}

.swal2-icon.swal2-success {
    border-color: var(--ia-neon) !important;
    color: var(--ia-neon) !important;
}

.swal2-success .swal2-success-ring {
    border-color: rgba(45, 255, 138, 0.35) !important;
}

.swal2-success [class^='swal2-success-line'] {
    background-color: var(--ia-neon) !important;
}

.swal2-icon.swal2-error {
    border-color: #ff6b6b !important;
    color: #ff6b6b !important;
}

.swal2-x-mark-line-left,
.swal2-x-mark-line-right {
    background-color: #ff6b6b !important;
}