/* ===========================================
   PORTFOLIO - BAO
   Theme: CYBERSIGILISM - True Gothic B&W
   Sharp tribal forms, occult aesthetic
   =========================================== */

:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #c2c2c2;
    --gray-dark: #222222;
    --gray-light: #cccccc;

    /* Floral theme colors (activated on theme switch) */
    --floral-bg: #0f1f13;
    --floral-bg-light: #1a2e1f;
    --floral-primary: #4ade80;
    --floral-secondary: #22c55e;
    --floral-accent: #86efac;
    --floral-pink: #f9a8d4;
    --floral-rose: #fb7185;
    --floral-yellow: #fde047;
    --floral-orange: #fdba74;
    --floral-text: #ffffff;
    --floral-text-muted: #a7f3d0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

::selection {
    background: var(--white);
    color: var(--black);
}

::-webkit-scrollbar {
    width: 2px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--white);
}

/* ===========================================
   NAVIGATION
   =========================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    mix-blend-mode: difference;
}

.logo {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.logo:hover {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.logo::after {
    content: 'click';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--gray);
}

.logo:hover::after {
    opacity: 1;
}

body.floral-theme .logo:hover {
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.8);
}

body.floral-theme .logo::after {
    color: var(--floral-text-muted);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 1px;
    background: var(--white);
}

/* ===========================================
   HERO - CYBERSIGILISM
   =========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: transparent;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* SVG Sigil Container */
.sigil-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sigil-main {
    position: absolute;
    width: 90vmin;
    height: 90vmin;
    opacity: 0.04;
    transition: opacity 0.5s, transform 0.5s;
}

.hero:hover .sigil-main {
    opacity: 0.08;
    transform: scale(1.02);
}

/* Tribal frame lines */
.tribal-frame {
    position: absolute;
    inset: 40px;
    border: 1px solid var(--white);
    opacity: 0.1;
    pointer-events: none;
}

.tribal-frame::before,
.tribal-frame::after {
    content: '';
    position: absolute;
    background: var(--white);
}

.tribal-frame::before {
    width: 60px;
    height: 1px;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
}

.tribal-frame::after {
    width: 1px;
    height: 60px;
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
}

/* Corner sigils */
.corner-sigil {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.15;
}

.corner-sigil.tl { top: 60px; left: 60px; }
.corner-sigil.tr { top: 60px; right: 60px; transform: scaleX(-1); }
.corner-sigil.bl { bottom: 60px; left: 60px; transform: scaleY(-1); }
.corner-sigil.br { bottom: 60px; right: 60px; transform: scale(-1); }

/* Interactive canvas - Full page */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.hero-tag {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 3rem;
    display: block;
}

.hero h1 {
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero h1 .gradient-text {
    font-weight: 400;
    display: block;
    font-size: clamp(3rem, 12vw, 10rem);
    letter-spacing: 0.1em;
    margin: 0.5rem 0;
}

.hero-description {
    font-size: 0.8rem;
    color: var(--gray);
    max-width: 400px;
    margin: 0 auto 3rem;
    letter-spacing: 0.1em;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Buttons - Minimal */
.btn {
    padding: 1rem 2rem;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--white);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
    z-index: -1;
}

.btn:hover {
    color: var(--black);
}

.btn:hover::before {
    transform: scaleX(1);
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary::before {
    background: var(--black);
    transform: scaleX(1);
}

.btn-primary:hover {
    color: var(--white);
}

.btn-primary:hover::before {
    transform: scaleX(0);
}

/* ===========================================
   SECTIONS
   =========================================== */
section {
    padding: 10rem 4rem;
    background: transparent;
    position: relative;
    z-index: 2;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), transparent);
    opacity: 0.2;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-tag {
    font-size: 0.6rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 2rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 200;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-title .gradient-text {
    font-weight: 400;
}

/* ===========================================
   BTS SECTION
   =========================================== */
.bts {
    background: transparent;
}

.bts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.bts-text p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.bts-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--gray-dark);
    margin-top: 3rem;
}

.highlight-card {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    transition: background 0.3s;
    backdrop-filter: blur(5px);
}

.highlight-card:hover {
    background: rgba(34, 34, 34, 0.8);
}

.highlight-card .icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    filter: grayscale(1) brightness(2);
}

.highlight-card h4 {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    font-size: 0.7rem;
    color: var(--gray);
}

/* Sigil visual */
.bts-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.art-frame {
    border: 1px solid var(--white);
    padding: 4rem;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.art-frame::before,
.art-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--white);
}

.art-frame::before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.art-frame::after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

.slam-badge {
    font-size: 4rem;
    font-weight: 200;
    letter-spacing: 0.3em;
}

.slam-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--gray);
    text-transform: uppercase;
    margin-top: 1rem;
}

.floating-element {
    position: absolute;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-dark);
}

.floating-element.top-left { top: 0; left: 0; }
.floating-element.bottom-right { bottom: 0; right: 0; }

/* ===========================================
   EPREUVES SECTION
   =========================================== */
.epreuves-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--gray-dark);
    max-width: 1200px;
    margin: 0 auto;
}

.epreuve-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 3rem 2rem;
    position: relative;
    transition: background 0.3s;
    backdrop-filter: blur(5px);
}

.epreuve-card:hover {
    background: rgba(34, 34, 34, 0.8);
}

.epreuve-number {
    font-size: 3rem;
    font-weight: 200;
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.epreuve-card h3 {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.epreuve-card p {
    font-size: 0.75rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.epreuve-coef {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-dark);
    display: inline-block;
}

/* ===========================================
   ENTREPRISES
   =========================================== */
.entreprises-container {
    max-width: 900px;
    margin: 0 auto;
}

.entreprise-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--gray-dark);
}

.entreprise-logo {
    width: 100px;
    height: 100px;
    border: 1px solid var(--gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    filter: grayscale(1);
    overflow: hidden;
}

.entreprise-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.entreprise-info h3 {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.entreprise-info .role {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.entreprise-info .period {
    font-size: 0.65rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.entreprise-info p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ===========================================
   EXPERIENCES / TIMELINE
   =========================================== */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--gray-dark);
}

.timeline-item {
    padding: 0 0 4rem 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 5px;
    height: 5px;
    background: var(--white);
    transform: rotate(45deg);
}

.timeline-date {
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 1rem;
}

.timeline-item h3 {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.timeline-item h4 {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray);
    margin-bottom: 1rem;
}

.timeline-item p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ===========================================
   PROJETS
   =========================================== */
.projets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    background: transparent;
    max-width: 1200px;
    margin: 0 auto;
}

.projet-card {
    background: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid var(--gray-dark);
    overflow: hidden;
}

.projet-card:hover {
    background: rgba(34, 34, 34, 0.8);
    border-color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.projet-image {
    aspect-ratio: 16/10;
    background: rgba(34, 34, 34, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--gray-dark);
}

.projet-placeholder {
    font-size: 2rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.projet-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.projet-card:hover .projet-placeholder img {
    transform: scale(1.05);
}

.projet-content {
    padding: 2rem;
}

.projet-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.projet-tag {
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--gray-dark);
}

.projet-card h3 {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.projet-card p {
    font-size: 0.75rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.projet-links {
    display: flex;
    gap: 2rem;
}

.projet-link {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.projet-link:hover {
    color: var(--white);
}

.projet-link svg {
    width: 14px;
    height: 14px;
}

/* ===========================================
   VEILLE
   =========================================== */
.veille-content {
    max-width: 1000px;
    margin: 0 auto;
}

.veille-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.veille-intro p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
}

.veille-topics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--gray-dark);
}

.veille-topic {
    background: rgba(0, 0, 0, 0.7);
    padding: 3rem;
    transition: background 0.3s;
    backdrop-filter: blur(5px);
}

.veille-topic:hover {
    background: rgba(34, 34, 34, 0.8);
}

.topic-icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(1);
}

.veille-topic h3 {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.veille-topic p {
    font-size: 0.75rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.veille-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.source-tag {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: var(--gray);
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--gray-dark);
}

.veille-intro p {
    margin-bottom: 1rem;
}

.veille-intro p:last-child {
    margin-bottom: 0;
}

.veille-intro strong {
    color: var(--white);
}

.veille-topic p strong {
    color: var(--white);
}

.veille-conclusion {
    margin-top: 3rem;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--gray-dark);
    backdrop-filter: blur(5px);
}

.veille-conclusion h3 {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.veille-conclusion p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.9;
}

.veille-sources-section {
    margin-top: 2rem;
    padding: 2rem 3rem;
    background: rgba(34, 34, 34, 0.5);
    border: 1px solid var(--gray-dark);
}

.veille-sources-section h4 {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.sources-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.source-link {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--gray);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-dark);
    transition: all 0.3s;
}

.source-link:hover {
    color: var(--white);
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* Floral theme for veille additions */
body.floral-theme .veille-conclusion {
    background: linear-gradient(135deg, rgba(15, 31, 19, 0.9), rgba(26, 46, 31, 0.9));
    border-color: rgba(74, 222, 128, 0.3);
}

body.floral-theme .veille-sources-section {
    background: rgba(15, 31, 19, 0.7);
    border-color: rgba(74, 222, 128, 0.2);
}

body.floral-theme .source-link {
    border-color: rgba(74, 222, 128, 0.3);
    color: var(--floral-text-muted);
}

body.floral-theme .source-link:hover {
    border-color: var(--floral-primary);
    color: var(--floral-primary);
    background: rgba(74, 222, 128, 0.1);
}

body.floral-theme .veille-intro strong,
body.floral-theme .veille-topic p strong {
    color: var(--floral-primary);
}

/* ===========================================
   CONTACT
   =========================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-dark);
    color: var(--white);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    transition: padding-left 0.3s;
}

.contact-link:hover {
    padding-left: 1rem;
}

.contact-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.contact-form {
    border: 1px solid var(--gray-dark);
    padding: 3rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--gray-dark);
    color: var(--white);
    font-family: inherit;
    font-size: 0.85rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===========================================
   FOOTER
   =========================================== */
footer {
    padding: 3rem 4rem;
    border-top: 1px solid var(--gray-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

footer p {
    font-size: 0.65rem;
    color: var(--gray);
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.65rem;
    color: var(--gray);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

/* ===========================================
   ANIMATIONS
   =========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
    nav { padding: 1.5rem 2rem; }
    section { padding: 6rem 2rem; }

    .bts-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .epreuves-grid,
    .veille-topics {
        grid-template-columns: 1fr;
    }

    .projets-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
        opacity: 1;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        letter-spacing: 0.1em;
    }

    .hero h1 .gradient-text {
        letter-spacing: 0.05em;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .bts-highlights {
        grid-template-columns: 1fr;
    }

    .entreprise-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .entreprise-logo {
        width: 60px;
        height: 60px;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===========================================
   EXPLOSION OVERLAY
   =========================================== */
.explosion-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--floral-primary), var(--floral-secondary), var(--floral-pink));
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
}

.explosion-overlay.exploding {
    animation: explode 1.5s ease-out forwards;
}

@keyframes explode {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 300vmax;
        height: 300vmax;
        opacity: 0;
    }
}

/* ===========================================
   FLORAL THEME - Jardin Interactif
   =========================================== */
body.floral-theme {
    background: linear-gradient(135deg, var(--floral-bg) 0%, var(--floral-bg-light) 50%, var(--floral-bg) 100%);
    color: var(--floral-text);
}

/* Navigation floral */
body.floral-theme nav {
    mix-blend-mode: normal;
}

body.floral-theme .logo {
    color: var(--floral-primary);
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

body.floral-theme .nav-links a {
    color: var(--floral-text-muted);
}

body.floral-theme .nav-links a:hover {
    color: var(--floral-primary);
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

/* Hero floral */
body.floral-theme .hero {
    background: transparent;
}

body.floral-theme .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(74, 222, 128, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(249, 168, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(253, 224, 71, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 20%, rgba(251, 113, 133, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 80%, rgba(134, 239, 172, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

body.floral-theme .hero h1 {
    color: var(--floral-text);
}

body.floral-theme .gradient-text {
    background: linear-gradient(135deg, var(--floral-primary), var(--floral-pink), var(--floral-yellow), var(--floral-rose));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

body.floral-theme .hero-tag,
body.floral-theme .section-tag {
    color: var(--floral-primary);
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

body.floral-theme .hero-description {
    color: var(--floral-text-muted);
}

/* Hide tribal elements in floral */
body.floral-theme .sigil-main,
body.floral-theme .corner-sigil,
body.floral-theme .tribal-frame {
    opacity: 0;
    transition: opacity 0.5s;
}

/* Buttons floral */
body.floral-theme .btn {
    border-color: var(--floral-primary);
    color: var(--floral-primary);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.2);
}

body.floral-theme .btn::before {
    background: linear-gradient(135deg, var(--floral-primary), var(--floral-secondary));
}

body.floral-theme .btn:hover {
    color: var(--floral-bg);
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.4);
}

body.floral-theme .btn-primary {
    background: linear-gradient(135deg, var(--floral-primary), var(--floral-secondary));
    color: var(--floral-bg);
    border: none;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

body.floral-theme .btn-primary:hover {
    background: linear-gradient(135deg, var(--floral-secondary), var(--floral-primary));
    color: var(--floral-bg);
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.6);
}

/* Section titles */
body.floral-theme .section-title {
    color: var(--floral-text);
}

body.floral-theme section::before {
    background: linear-gradient(to bottom, var(--floral-primary), transparent);
    opacity: 0.5;
}

/* Cards floral */
body.floral-theme .highlight-card,
body.floral-theme .epreuve-card,
body.floral-theme .projet-card,
body.floral-theme .veille-topic {
    background: linear-gradient(135deg, rgba(15, 31, 19, 0.9), rgba(26, 46, 31, 0.9));
    border: 1px solid rgba(74, 222, 128, 0.3);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

body.floral-theme .highlight-card:hover,
body.floral-theme .epreuve-card:hover,
body.floral-theme .projet-card:hover,
body.floral-theme .veille-topic:hover {
    background: linear-gradient(135deg, rgba(26, 46, 31, 0.95), rgba(15, 31, 19, 0.95));
    border-color: var(--floral-primary);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(74, 222, 128, 0.2);
    transform: translateY(-5px);
}

body.floral-theme .highlight-card .icon {
    filter: none;
}

body.floral-theme .epreuves-grid,
body.floral-theme .veille-topics,
body.floral-theme .bts-highlights {
    background: rgba(74, 222, 128, 0.1);
    border-radius: 10px;
}

body.floral-theme .projets-grid {
    background: transparent;
}

/* Art frame floral */
body.floral-theme .art-frame {
    border-color: var(--floral-primary);
    background: linear-gradient(135deg, rgba(15, 31, 19, 0.8), rgba(26, 46, 31, 0.8));
    box-shadow:
        0 0 30px rgba(74, 222, 128, 0.2),
        inset 0 0 30px rgba(74, 222, 128, 0.1);
}

body.floral-theme .art-frame::before,
body.floral-theme .art-frame::after {
    border-color: var(--floral-primary);
}

body.floral-theme .slam-badge {
    background: linear-gradient(135deg, var(--floral-primary), var(--floral-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Tags floral */
body.floral-theme .projet-tag,
body.floral-theme .source-tag,
body.floral-theme .epreuve-coef {
    border-color: var(--floral-primary);
    color: var(--floral-primary);
    background: rgba(74, 222, 128, 0.1);
}

body.floral-theme .floating-element {
    border-color: var(--floral-primary);
    color: var(--floral-primary);
    background: rgba(15, 31, 19, 0.8);
}

/* Timeline floral */
body.floral-theme .timeline::before {
    background: linear-gradient(to bottom, var(--floral-primary), var(--floral-pink), var(--floral-primary));
}

body.floral-theme .timeline-item::before {
    background: var(--floral-primary);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

/* Contact form floral */
body.floral-theme .contact-form {
    background: linear-gradient(135deg, rgba(15, 31, 19, 0.9), rgba(26, 46, 31, 0.9));
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

body.floral-theme .form-group input,
body.floral-theme .form-group textarea {
    border-color: rgba(74, 222, 128, 0.3);
    color: var(--floral-text);
    background: rgba(15, 31, 19, 0.5);
}

body.floral-theme .form-group input:focus,
body.floral-theme .form-group textarea:focus {
    border-color: var(--floral-primary);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
    background: rgba(26, 46, 31, 0.5);
}

body.floral-theme .form-group label {
    color: var(--floral-text-muted);
}

/* Links floral */
body.floral-theme .contact-link,
body.floral-theme .projet-link {
    color: var(--floral-text-muted);
}

body.floral-theme .contact-link:hover,
body.floral-theme .projet-link:hover {
    color: var(--floral-primary);
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

body.floral-theme .contact-link {
    border-color: rgba(74, 222, 128, 0.2);
}

/* Footer floral */
body.floral-theme footer {
    background: linear-gradient(135deg, rgba(15, 31, 19, 0.95), rgba(26, 46, 31, 0.95));
    border-color: rgba(74, 222, 128, 0.3);
}

body.floral-theme .footer-links a {
    color: var(--floral-text-muted);
}

body.floral-theme .footer-links a:hover {
    color: var(--floral-primary);
}

/* Scrollbar floral */
body.floral-theme ::-webkit-scrollbar-track {
    background: var(--floral-bg);
}

body.floral-theme ::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--floral-primary), var(--floral-secondary));
}

/* Selection floral */
body.floral-theme ::selection {
    background: var(--floral-primary);
    color: var(--floral-bg);
}

/* Mobile nav floral */
@media (max-width: 768px) {
    body.floral-theme .nav-links {
        background: rgba(15, 31, 19, 0.98);
    }
}
