/* --- FONT --- */
@font-face {
    font-family: "American Captain";
    src: url("fonts/american_captain/American Captain.ttf") format("truetype");
}

/* --- VARIABLES GLOBALES --- */
:root {
    --primary-main-color: rgba(255, 187, 0, 0.996);
    --primary-bg-color: radial-gradient(circle at top, #2a3142, #0f131c);
    --primary-index-color: #ffffffc2;
    --primary-griscard-color: rgba(236, 236, 236, 0.5);
    --primary-text-color: #fbfbfbf1;
    --primary-other-color: #903cfff1;
    --primary-grisargent-color: #b7b4b4;
    --primary-black-color: black;
    --primary-degrade-cardcompetence: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.03)
    );
}

/* --- BODY GLOBAL --- */
body {
    margin: 0;
    background: var(--primary-bg-color);
    color: var(--primary-text-color);
}

/* --- HEADER FIXE --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    z-index: 1000;
    font-size: 30px;
}

header nav {
    display: flex;
    gap: 45px;
}

header nav a {
    font-family: "American Captain", sans-serif;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 500;
    transition: 0.3s ease;
}

header nav a:hover {
    background: var(--primary-main-color);
    border-radius: 30px;
}

/* --- HEADER AU SCROLL --- */
header.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
}

header.scrolled nav a {
    color: white;
}

/* --- SECTION VEILLE --- */
.veille {
    max-width: 1300px;
    margin: 140px auto 60px auto;
    padding: 0 40px;
    color: var(--primary-text-color);
}

.veille h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-main-color);
    font-family: "Inter", system-ui, sans-serif;
}

.veille-tools {
    display: flex;
    gap: 25px;
    margin-bottom: 60px;
    font-size: 22px;
    opacity: 0.7;
}

.veille-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.veille-column {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    
}

.veille-column h2 {
    margin-bottom: 25px;
    color: var(--primary-grisargent-color);
    font-family: "Inter", system-ui, sans-serif;
}

.veille-card {
    position: relative;
    display: flex;
    flex-direction: column;

    gap: 14px;
    padding: 18px 22px;

    /* 🔥 même base que compétences */
    background: var(--primary-griscard-color);

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;

    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(12px);

    cursor: pointer;
    overflow: hidden;

    transition: transform 0.8s ease, box-shadow 0.8s ease;
}

.veille-card h3 {
    color: var(--primary-main-color);
    font-size: 16px;
    margin-bottom: 5px;
    font-family: "Inter", system-ui, sans-serif;
}

.veille-card p {
    font-size: 14px;
    color: #fbfbfbf1;
    opacity: 0.9;
    line-height: 1.6;
    font-family: "Inter", system-ui, sans-serif;
}

.veille-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(255, 187, 0, 0.25);
}
.card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}
/* ===== OUTILS VEILLE ===== */

.veille-tools-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin: 30px 0 20px 0;
    flex-wrap: wrap;
}

/* gauche outils */
.tools-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.85;
    transition: 0.3s;
}

.tool-item img {
    object-fit: contain;
}

.logo-feedly {
    width: 300px;
    height: auto;
    transform: translate(150px, -80px);
    
}

.logo-google {
    width: 120px;
    height: auto;
    margin-left: 250px;
    transform: translateY(-80px);
}

.tool-item span {
    font-size: 16px;
}

.tool-item:hover {
    opacity: 1;
    transform: translateX(5px);
}

/* droite iphone */
.tools-right img {
    width: 340px;
    height: auto;
    transform: translate(40px, -60px); /* droite + haut */
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.6));
    transition: 0.4s ease;
}
.tools-right {
    display: flex;
    justify-content: center; /* pousse à droite */
    align-items: flex-start;   /* monte l’image */
    flex: 1;
}

.tools-right img:hover {
    transform: translate(40px, -60px) scale(1.05);
}

/* texte description */
.veille-desc {
    max-width: 750px;
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 50px;
}
.veille-card,
.veille-column,
.veille-tools-container {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.veille-card.show,
.veille-column.show,
.veille-tools-container.show {
    opacity: 1;
    transform: translateY(0);
}
.veille-card.show:hover {
    transform: translateY(-8px);

    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(255, 187, 0, 0.25);
}
#veille-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 60px;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 3000;
}

#veille-modal.active {
    opacity: 1;
    pointer-events: auto;
}

#veille-modal .modal-content {
    background: #f0f0f0;
    color: black;

    width: 90%;
    max-width: 900px;
    max-height: 85vh;

    overflow-y: auto;

    padding: 40px;
    border-radius: 15px;
}

#veille-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 10px;
}
#footer {
    position: relative; /* ← change fixed en relative */
    bottom: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgb(255, 187, 0);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    padding: 14px 30px;
}

.footer-copy {
    font-size: 12px;
    color: var(--primary-text-color);
    margin: 0;
    font-family: "Inter", sans-serif;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-nav a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-family: "American Captain.ttf", sans-serif;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: rgba(255, 187, 0, 0.95);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}
.veille-intro {
    font-size: 15px;
    color: var(--primary-text-color);
    opacity: 0.8;
    line-height: 1.8;
    max-width: 750px;
    margin-bottom: 40px;
    font-family: "Inter", system-ui, sans-serif;
}

.veille-intro strong {
    color: var(--primary-main-color);
    opacity: 1;
}