:root {
    /* Brand Colors - Now Orange and Black */
    --brand-orange: #F0A839;       /* Vibrant Orange */
    --brand-orange-light: #F0A839; /* Amber/Light Orange */
    --brand-black: #000000;
    --brand-charcoal: #121212;
    --metaline-grey: #707a8a;
    
    /* UI Colors */
    --bg-gradient: radial-gradient(at 0% 0%, #000000 0, transparent 50%), 
                   radial-gradient(at 100% 0%, #1a1a1a 0, transparent 50%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-bright: #ffffff;
    --text-muted: #94a3b8;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #050505; /* Deep Black Base */
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-bright);
    min-height: 100vh;
    line-height: 1.6;
}

/* Header */
header {
    padding: 25px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    background: rgba(0, 0, 0, 0.7); /* Darker header */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
    /* Optional: If your logo is dark, you can use a filter to make it pop 
    filter: brightness(0) invert(1); */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0 60px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    /* Gradient using Orange and Amber */
    background: linear-gradient(to right, var(--brand-orange), var(--brand-orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding-bottom: 100px;
}

.contact-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    transition: all 0.4s ease;
}

/* Orange Glows for the cards */
.contact-card:nth-child(1):hover {
    border-color: var(--brand-orange);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.2);
}

.contact-card:nth-child(2):hover {
    border-color: var(--brand-orange-light);
    box-shadow: 0 15px 35px rgba(251, 146, 60, 0.2);
}

.contact-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
}

.contact-card i {
    font-size: 3rem;
    margin-bottom: 25px;
    display: block;
}

/* Icons use the Orange theme */
.contact-card:nth-child(1) i { color: var(--brand-orange); }
.contact-card:nth-child(2) i { color: var(--brand-orange-light); }

.contact-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-bright);
}

.contact-link {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Buttons match the Orange/Black contrast */
.contact-card:nth-child(1) .contact-link {
    background: var(--brand-orange);
    color: #000000; /* Black text for readability on orange */
}

.contact-card:nth-child(2) .contact-link {
    background: var(--brand-orange-light);
    color: #000000;
}

.contact-link:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 50px;
    color: var(--metaline-grey);
    border-top: 1px solid var(--card-border);
    font-size: 0.9rem;
}

/* --- SECTION MÉMO (Lien en haut) --- */
.memo-section {
    text-align: center;
    padding: 0 0 50px 0; /* Espace sous le bouton avant les cartes de contact */
}

.memo-big-link {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-orange);
    text-decoration: none;
    padding: 20px 45px;
    border: 3px solid var(--brand-orange);
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.memo-big-link:hover {
    background-color: var(--brand-orange);
    color: #000000; /* Texte noir sur fond orange au survol */
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(240, 168, 57, 0.4);
}

/* --- STYLES POUR LA PAGE MEMO.HTML --- */
.memo-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.memo-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(15px);
}

.memo-card h2 {
    color: var(--brand-orange);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 10px;
}

.memo-card ul {
    list-style: none;
}

.memo-card ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.memo-card ul li::before {
    content: "→";
    color: var(--brand-orange);
    position: absolute;
    left: 0;
}

.question {
    color: var(--brand-orange);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 5px;
}

.answer {
    color: #4ade80; /* Vert clair très lisible */
    font-weight: 500;
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}

.back-link:hover { color: var(--brand-orange); }