*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #111111;
    --bg-alt: #1a1a1a;
    --text: #ffffff;
    --text-muted: #999999;
    --accent: #e85d04;
    --input-bg: #4a4a4a;
    --input-placeholder: #b0b0b0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== HEADER ===== */
header {
    background: var(--bg);
    padding: 22px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #222;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 50px;    /* ← ajustez cette valeur selon la taille souhaitée */
    width: auto;
    display: block;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav ul a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav ul a:hover {
    color: var(--accent);
}

/* ===== GALERIE JUSTIFIED ===== */
.galerie-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

#justified-gallery {
    width: 100%;
    min-height: 200px;
}

#justified-gallery a img {
    transition: opacity 0.3s ease, transform 0.4s ease;
}

#justified-gallery a:hover img {
    opacity: 0.75;
    transform: scale(1.03);
}

.loading {
    text-align: center;
    padding: 80px 20px;
    font-size: 16px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ===== PRESENTATION ===== */
.presentation-section {
    max-width: 860px;
    margin: 0 auto;
    padding: 80px 24px 10px;
    text-align: center;
}

.presentation-titre {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 28px;
    line-height: 1.4;
}

.presentation-role {
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.presentation-texte {
    color: var(--text);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 28px;
}


/* ===== CONTACT ===== */
.contact-section {
    max-width: 560px;
    margin: 0 auto;
    padding: 80px 24px 10px;
    text-align: center;
}

.section-title {
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.email-link {
    color: var(--text);
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}

.email-link:hover {
    color: var(--accent);
}

.coordonnees {
    margin: 28px 0 40px;
    color: var(--text);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
}

.logiciels {
    color: var(--text);
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 36px;
}

/* ===== RÉSEAUX ===== */
.reseaux {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.2s, opacity 0.2s;
}

.social-icon:hover {
    transform: scale(1.1);
    opacity: 0.85;
}

.social-icon.instagram {
    background: #e1306c;
}

.social-icon.linkedin {
    background: #0077b5;
}

/* ===== FORMULAIRE ===== */
.contact-form {
    text-align: left;
}

.form-intro {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.required {
    color: var(--accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--input-bg);
    border: none;
    border-radius: 20px;
    padding: 12px 20px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: box-shadow 0.3s;
}

.form-group textarea {
    border-radius: 16px;
    resize: vertical;
    min-height: 110px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--input-placeholder);
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 2px var(--accent);
}

.btn-envoyer {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 13px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, transform 0.15s;
}

.btn-envoyer:hover {
    background: #ff6d1a;
}

.btn-envoyer:active {
    transform: scale(0.98);
}

.form-status {
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
}

.form-status.success { color: #4caf50; }
.form-status.error { color: #f44336; }

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 24px;
    color: #555;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-top: 1px solid #1e1e1e;
}

/* ===== LIGHTBOX DARK ===== */
.lb-data .lb-caption,
.lb-data .lb-number {
    color: #fff;
}

/* ===== RESPONSIVE GALERIE ===== */
@media (max-width: 900px) {
    .galerie-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .galerie-grid {
        column-count: 1;
    }
}

/* ===== LIGHTBOX - Taille du titre ===== */
.lb-data .lb-caption {
    font-size: 18px !important;   /* ← changez cette valeur (défaut était 14px) */
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 1px;
}

.lb-data .lb-number {
    font-size: 16px !important;   /* ← "Image 1 sur 12" */
    color: #aaaaaa;
}
