@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

body {
    background-color: #1a1a1a;
    color: #f0e6d2;
    font-family: 'VT323', monospace;
    font-size: 22px;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    cursor: url('img/pickaxe_cursor.png') 4 4, auto;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

img.main-visual {
    width: 100%;
    border: 4px solid #444;
    margin-bottom: 20px;
}

h2 {
    color: #d9480f;
    border-bottom: 2px solid #555;
    padding-bottom: 5px;
}

/* CTA générique (déjà présent, on conserve) */
.cta {
    background-color: #333;
    color: #ffd700;
    text-align: center;
    padding: 20px;
    font-size: 1.2em;
    border: 2px solid #555;
    margin-top: 30px;
}

a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
}

/* Top bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #111;
    border-bottom: 2px solid #444;
    position: relative;
}
.top-bar .lang,
.top-bar .socials {
    display: flex;
    gap: 10px;
}
.top-bar img {
    height: 24px;
    width: auto;
    vertical-align: middle;
}

/* Titres : taille + ombre légère */
h2 {
    font-size: 2rem;
    margin-top: 2rem;
    text-shadow: 1px 1px 2px #000;
}

/* CTA (mise en avant) */
.cta {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Formulaire mailing (inchangé) */
.mailing-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}
.mailing-form input[type="email"],
.mailing-form select {
    padding: 0.5rem;
    font-size: 1rem;
    width: 250px;
    border-radius: 4px;
    border: 1px solid #aaa;
    background-color: #f9f9f9;
}
.mailing-form button {
    background-color: #222;
    color: white;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.mailing-form button:hover {
    background-color: #444;
}

/* ======================= */
/* AJOUTS POUR LA LANDING  */
/* ======================= */

.center { text-align: center; }

/* Boutons d’action */
.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin: 16px 0;
}
.btn {
    display: inline-block;
    padding: 12px 18px;
    border: 2px solid #555;
    border-radius: 6px;
    background: #222;
    color: #ffd700;
    font-weight: bold;
    text-align: center;
    min-width: 220px;
    transition: background-color .2s;
}
.btn:hover { background: #333; }

/* Grille des fonctionnalités */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 20px 0;
}
.features div {
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 12px;
}

/* Bloc wishlist */
.wish {
    background: #111;
    border: 2px dashed #555;
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0;
}

/* Bloc “À propos” + avatar 7:9 (140x180) */
.about {
    display: grid;
    grid-template-columns: 140px auto;
    gap: 14px;
    align-items: center;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 14px;
    margin-top: 18px;
}
.about .avatar {
    width: 140px;
    height: 180px;             /* ratio 7:9 */
    object-fit: cover;         /* cadrage propre */
    border: 2px solid #444;
    border-radius: 10px;       /* mets 50% si tu veux un avatar rond */
    image-rendering: auto;     /* surtout pas pixelated pour une photo */
    display: block;
}

/* Footer */
footer {
    border-top: 2px solid #444;
    padding: 20px 0;
    text-align: center;
    color: #aaa;
    font-size: .9em;
    margin-top: 40px;
}
footer a { color: #ffd700; }

/* Responsive */
@media (max-width: 600px) {
    .features { grid-template-columns: 1fr; }
    .about { grid-template-columns: 1fr; text-align: center; }
    .about .avatar { width: 120px; height: 154px; }
}


/* CTA newsletter (overrides ciblés, sans toucher aux autres .cta) */
.news-cta {
  background: transparent;      /* enlève le gros fond gris */
  border: 0;                    /* enlève la bordure */
  padding: 12px 0 4px;          /* compresse verticalement */
  margin: 18px 0 6px;           /* espace raisonnable */
}

.news-cta h2 {
  color: #ffd700;               /* doré de ta DA */
  margin: 0 0 6px;
  font-size: 2rem;              /* lisible sans écraser la page */
  text-shadow: 1px 1px 0 #000;  /* léger relief */
}

.news-cta p {
  color: #e5d6b5;              /* beige plus chaud que #f0e6d2 */
  font-size: 1.35rem;
  margin: 0;
  letter-spacing: 0.5px;        /* meilleure lisibilité */
  text-shadow: 1px 1px 2px #000; /* renforce le contraste sans flouter */
  opacity: 1;                   /* plus de transparence */
}

/* petite ligne séparatrice discrète */
.news-cta::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, #444, transparent);
  margin: 10px auto 0;
  max-width: 720px;
}