/* =========================================
   1. IMPORT DES POLICES LOCALES (.ttf)
   ========================================= */

/* Montserrat Regular (Poids: 400) - Texte standard */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    /* Le chemin suppose que les fichiers sont dans un dossier "fonts" */
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-display: swap;
}

/* Montserrat SemiBold (Poids: 600) - Boutons et menus */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-display: swap;
}

/* Montserrat Bold (Poids: 700) - Gros titres et Logo */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/Montserrat-Bold.ttf') format('truetype');
    font-display: swap;
}

/* =========================================
   2. VARIABLES & RESET
   ========================================= */
:root {
    /* Couleurs */
    --bg-color: #121212;       /* Noir profond */
    --text-color: #ffffff;     /* Blanc */
    --accent-color: #DC143C;   /* Rouge Canon (Crimson) */
    --secondary-bg: #1e1e1e;   /* Gris très foncé pour les sections alternées */
    
    /* Typographie */
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Gestion simplifiée des largeurs */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6; /* Espacement des lignes pour la lisibilité */
    font-weight: 400; /* Poids par défaut (Regular) */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* =========================================
   3. CLASSES UTILITAIRES
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto; /* Centre le contenu */
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

h1, h2 {
    text-transform: uppercase;
    font-weight: 700; /* Utilise Montserrat Bold */
    letter-spacing: 1px;
}

/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
header {
    background-color: rgba(18, 18, 18, 0.95); /* Fond semi-transparent */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700; /* Utilise Bold (au lieu de Black 900) */
    color: var(--text-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600; /* SemiBold pour le menu */
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Bouton "Me contacter" dans le menu */
.cta-nav {
    border: 2px solid var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--accent-color);
    transition: 0.3s;
}

.cta-nav:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* =========================================
   5. HERO SECTION (ACCUEIL)
   ========================================= */
.hero {
    height: 100vh; /* 100% de la hauteur de l'écran */
    /* Fond avec dégradé sombre + image */
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.8)), url('./assets/2.jpg');
    background-size: cover;
    background-position: center;
    display: flex; /* Flexbox pour centrer le contenu */
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700; /* Bold */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #ddd;
    font-weight: 400; /* Regular */
}

/* Bouton Principal */
.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    font-weight: 700; /* Bold pour l'impact */
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.3); /* Lueur rouge */
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #ff1e48;
    transform: translateY(-2px);
}

/* =========================================
   6. BIO SECTION (À PROPOS)
   ========================================= */
.bio-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.bio-image {
    flex: 1;
    min-width: 300px;
}

.bio-image img {
    width: 100%;
    border-radius: 5px;
    filter: grayscale(100%);
    transition: 0.5s;
    border-bottom: 4px solid var(--accent-color);
}

.bio-image img:hover {
    filter: grayscale(0%);
}

.bio-text {
    flex: 1;
    min-width: 300px;
}

.bio-text h2 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 2rem;
}

.bio-text p {
    margin-bottom: 20px;
    color: #ccc;
    font-size: 1.05rem;
}

/* Stats ou infos clés */
.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.stats strong {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700; /* Bold */
    display: block;
    margin-bottom: 5px;
}

/* =========================================
   7. PORTFOLIO (WIDGET INSTAGRAM)
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600; /* SemiBold */
}

.instagram-feed-container {
    /* On s'assure que le widget ne dépasse pas */
    width: 100%;
    min-height: 400px;
    background-color: #1a1a1a; /* Fond gris si le widget ne charge pas tout de suite */
    border: 1px solid #333;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Style du placeholder (icône SVG) */
.placeholder-message {
    text-align: center;
    color: #555;
}

.icon-instagram {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    color: #333;
    fill: currentColor;
    transition: 0.3s;
}

.placeholder-message:hover .icon-instagram {
    color: #E1306C;
}

/* Correction pour le Widget Behold s'il ajoute des marges */
figure {
    margin: 0 auto !important;
}

/* Bouton Secondaire (Outline) */
.btn-secondary {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600; /* SemiBold */
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

/* =========================================
   8. CONTACT SECTION
   ========================================= */
.contact-section {
    background-color: var(--secondary-bg);
    text-align: center;
}

.form-group-honey {
    display: none !important;
    visibility: hidden;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600; /* SemiBold */
    color: var(--accent-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #121212;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(220, 20, 60, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #fff;
    color: #000;
    border: none;
    font-weight: 700; /* Bold */
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Messages de retour (JS) */
#form-feedback {
    margin-top: 15px;
    font-weight: 600;
    display: none;
    text-align: center;
}
.success-msg { color: #4CAF50; }
.error-msg { color: #FF5252; }

/* =========================================
   9. FOOTER
   ========================================= */
footer {
    text-align: center;
    padding: 40px;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #222;
    background-color: #0e0e0e;
}

footer a {
    color: #777;
    font-weight: 600;
}

.footer-icon {
    fill: #999999;
    height: 1em;
    vertical-align: -10%;
    display: inline-block;
    margin: 0 2px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-socials a {
    display: inline-block;
    width: 32px;  /* Légèrement plus grand pour le style outline */
    height: 32px;
    color: #777;  /* Couleur grise des traits par défaut */
    transition: all 0.3s ease;
}

/* C'est la modification principale : on cible le trait (stroke) */
.footer-socials svg {
    width: 100%;
    height: 100%;
    stroke: currentColor; /* Le trait prend la couleur du lien parent */
    fill: none; /* On s'assure qu'il n'y a pas de remplissage */
}

/* Effet au survol */
.footer-socials a:hover {
    color: var(--accent-color); /* Le trait devient rouge Canon */
    transform: translateY(-3px);
}

footer p a:hover {
   color: var(--accent-color);
}

/* =========================================
   10. RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 768px) {
    
    .hero h1 {
        font-size: 2.2rem;
    }

    /* On cache le menu classique sur mobile */
    .nav-links {
        display: none; 
    }

    .bio-grid {
        flex-direction: column;
        gap: 30px;
    }

    .bio-text {
        padding: 0 10px;
        text-align: left;
    }

    .bio-image img {
        max-width: 100%;
        height: auto;
    }
    
    .section-padding {
        padding: 50px 0;
    }
}