/*
Theme Name: FDay 2026 Radical
Theme URI: https://example.com/fday-2026-radical
Author: Antigravity
Author URI: https://example.com
Description: Thème WordPress pour FDay 2026 — Servir la machine ou s'en servir ?
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fday-2026
*/

/* --- VARIABLES (Identité visuelle conservée) --- */
:root {
    --blue-vivid: #0693e3;
    /* vivid-cyan-blue */
    --purple-vivid: #9b51e0;
    /* vivid-purple */
    --midnight: #02031a;
    --text-main: #ffffff;
    --text-muted: #abb8c3;

    --bg-color: #020210;
    --panel-bg: rgba(6, 147, 227, 0.05);
    --border: #1a2a40;

    --font-mono: 'Space Mono', monospace;
    --font-serif: 'Instrument Serif', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-mono);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--blue-vivid) 0%, var(--purple-vivid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

/* --- UTILS --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border: none;
    background: linear-gradient(135deg, var(--blue-vivid) 0%, var(--purple-vivid) 100%);
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(6, 147, 227, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(155, 81, 224, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--blue-vivid);
    color: var(--blue-vivid);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--blue-vivid);
    color: #fff;
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2, 2, 16, 0.3) 0%, var(--bg-color) 95%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 4rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(6, 147, 227, 0.1);
    border: 1px solid var(--blue-vivid);
    color: var(--blue-vivid);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(3rem, 10vw, 7.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(6, 147, 227, 0.3);
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem auto;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* --- SECTIONS --- */
section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.section-label {
    color: var(--blue-vivid);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
}

/* Grid Layouts */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Card Styles */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(6, 147, 227, 0.2);
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--blue-vivid);
    background: rgba(6, 147, 227, 0.08);
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* List Styles (Constat) */
.data-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    gap: 1rem;
}

.data-list li::before {
    content: '>';
    color: var(--blue-vivid);
    font-weight: bold;
}

/* Quote Box (Probleme) */
.quote-box {
    text-align: center;
    padding: 3rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.05) 0%, rgba(155, 81, 224, 0.05) 100%);
    margin-bottom: 2rem;
}

.quote-box p {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    color: #fff;
}

/* Programme Phases */
.phase-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    transition: 0.3s;
}

.phase-item:hover {
    padding-left: 1rem;
    border-color: var(--purple-vivid);
}

.phase-num {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--blue-vivid);
    opacity: 0.5;
}

.phase-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

/* --- INSCRIPTION / IFRAME --- */
#inscription {
    background: linear-gradient(180deg, var(--bg-color) 0%, #051020 100%);
}

.eventbrite-wrapper {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-top: 3rem;
    border: 1px solid var(--border);
    min-height: 450px;
}

/* --- FOOTER --- */
footer {
    padding: 4rem 2rem;
    text-align: center;
    background: #000;
    border-top: 1px solid var(--border);
}

.footer-links a {
    margin: 0 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--blue-vivid);
}

/* --- ANIMATIONS & MEDIA --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .phase-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* --- SINGLE POST --- */
.single-hero {
    padding: 8rem 0 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(circle at center, rgba(6, 147, 227, 0.1) 0%, transparent 70%);
}

.single-hero .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 2rem;
}

.article-meta {
    font-family: var(--font-mono);
    color: var(--blue-vivid);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.meta-sep {
    margin: 0 0.5rem;
    color: var(--border);
}

.article-author {
    color: var(--text-muted);
    font-style: italic;
}

.article-container {
    max-width: 800px;
    /* Narrower for reading */
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--blue-vivid);
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--purple-vivid);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: #fff;
    background: linear-gradient(90deg, rgba(155, 81, 224, 0.1) 0%, transparent 100%);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

/* Post Navigation */
.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

.post-navigation a {
    display: block;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
}

.post-navigation a:hover {
    border-color: var(--blue-vivid);
    background: rgba(6, 147, 227, 0.05);
}

.nav-subtitle {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.nav-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: #fff;
}

@media (max-width: 768px) {
    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }
}

/* --- COMMENTS & FORMS --- */
.comment-list li {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
}

.comment-body {
    color: var(--text-muted);
}

.comment-meta {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--blue-vivid);
}

.comment-author cite {
    font-style: normal;
    font-weight: bold;
    color: #fff;
    margin-right: 0.5rem;
}

.comment-form {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    color: #fff;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--blue-vivid);
}

/* Pagination */
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 50%;
    transition: 0.3s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--blue-vivid);
    color: #fff;
    border-color: var(--blue-vivid);
}