/* ==========================================================
   Corrections et améliorations – à charger APRÈS index.css
   ========================================================== */

/* Les titres sont devenus de vraies balises h1/h2 (meilleur
   référencement) : on neutralise les styles par défaut du
   navigateur pour garder exactement le même rendu qu'avant. */
h1.firstline,
h2.about-header,
h2.services-heading,
h2.skills-header,
h2.portfolio-header,
h2.blog-header,
h2.contact-header {
    margin: 0;
}
h1.firstline { font-size: inherit; }
.contact-header-caption { display: block; }

/* Boutons : même police que le reste du site */
button,
input,
textarea {
    font-family: aileron, poppins, sans-serif;
}

/* Liens téléphone et e-mail dans le bloc Informations */
.contact-info-icon-text a {
    color: inherit;
    text-decoration: none;
}
.contact-info-icon-text a:hover { text-decoration: underline; }

/* Logo toujours visible sur mobile */
@media only screen and (max-width: 550px) {
    #navigation-bar img {
        display: block !important;
        visibility: visible !important;
        height: 52px !important;
        width: auto !important;
        top: 14px;
        left: 16px;
    }
}

/* Champ piège anti-robots : invisible pour les humains */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Message de confirmation / d'erreur du formulaire */
.form-status {
    min-height: 1.4em;
    margin: 12px 0 0;
    font-size: 15px;
    text-align: center;
}
.form-status.ok    { color: #4caf7d; }
.form-status.error { color: #ff6b6b; }
form button[disabled] { opacity: .6; cursor: wait; }

/* Champ invalide après une tentative d'envoi */
form.tried input:invalid,
form.tried textarea:invalid {
    outline: 2px solid #ff6b6b;
}
