@charset "utf-8";

/* --- VARIABLES --- */
:root {
    --blue-dark: #2c3e50;
    --blue-main: #3498db;
    --blue-light: #5dade2;
    --gray-light: #f4f7f6;
    --text-color: #333;
    --white: #ffffff;
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* --- NEUTRALISATION RADICALE DES LIENS --- */
/* Les liens ressemblent à du texte normal partout sur le site */
a {
    text-decoration: none !important;
    color: inherit !important;
    cursor: default; /* Flèche normale par défaut */
}

a:hover, a:focus, a:active, a:visited {
    text-decoration: none !important;
    color: inherit !important;
    outline: none;
}

/* Exceptions : On garde le curseur "main" (pointer) pour les éléments d'action */
.nav-links a, 
.btn-main, 
.btn-nav, 
.btn-submit, 
#toTop, 
.menu-burger,
.logo-link {
    cursor: pointer !important;
}

/* --- STRUCTURE --- */
.container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.bg-light { background-color: var(--gray-light); }
.bg-blue { background-color: var(--blue-dark); color: white; }

/* --- NAVIGATION --- */
header { 
    background: var(--white); 
    border-bottom: 1px solid #eee; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

.nav-flex { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 20px !important;
}

.logo-img { height: 50px; width: auto; display: block; }

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
    align-items: center;
}

.nav-links a { 
    font-weight: 600; 
    font-size: 0.95rem;
    color: var(--blue-dark) !important; /* Couleur forcée pour le menu */
}

/* --- BOUTON CONTACT SPECIFIQUE --- */
.btn-nav { 
    background: var(--blue-main) !important; 
    color: white !important; /* Force le blanc malgré la neutralisation des liens */
    padding: 10px 20px; 
    border-radius: 5px; 
    transition: background 0.3s ease;
    cursor: pointer !important;
}

.btn-nav:hover { 
    background: var(--blue-dark) !important; 
    color: white !important; 
}

/* --- HERO SECTION --- */
#hero { 
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://nissa-grafik.com/agence-web-referencement-SEO-Nice.webp') center/cover no-repeat;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; padding: 20px; }

#hero h1 { font-size: 3.2rem; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
#hero h1 span { color: var(--blue-light); }
#hero p { font-size: 1.3rem; max-width: 800px; margin: 0 auto 30px; color: #ecf0f1; }

.btn-main {
    display: inline-block;
    background: var(--blue-main);
    color: white !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}
.btn-main:hover { transform: scale(1.05); }

/* --- SECTION PRESENTATION --- */
#presentation h2 { margin-bottom: 30px; position: relative; padding-bottom: 30px; }
#presentation h2::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 4px; background: var(--blue-main);
}
.text p { margin-bottom: 20px; font-size: 1.1rem; color: #555; text-align: justify; }

.stats-box-bg {
    position: relative; width: 100%; min-height: 400px; display: flex; align-items: center; justify-content: center;
    background: url('https://nissa-grafik.com/nissa-grafik-webmastering-Nice.webp') center/cover no-repeat;
    border-radius: 15px; overflow: hidden;
}
.stats-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1; }
.stats-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 30px; padding: 40px; }
.stat-item-white { text-align: center; color: var(--white); }
.stat-item-white strong { display: block; font-size: 3rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.stat-item-white p { font-weight: 700; color: var(--blue-main); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }

/* --- GRIDS & CARDS --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
h3 { color: var(--blue-main); margin-bottom: 15px; }

/* --- AVIS --- */
.testimonial-card {
    display: flex; flex-direction: column; justify-content: space-between; text-align: center;
    padding: 40px 35px !important; border-top: 4px solid var(--blue-main);
}
.stars { color: #f1c40f; font-size: 1.2rem; margin-bottom: 15px; }
.quote { font-style: italic; font-size: 1.05rem; color: #444; margin-bottom: 20px; }
.author { font-weight: 700; color: var(--blue-dark); text-transform: uppercase; font-size: 0.9rem; }

/* --- FORMULAIRE --- */
.contact-form { max-width: 800px; margin: 0 auto; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.contact-form input, .contact-form textarea {
    width: 100%; padding: 18px 20px; border: 2px solid transparent; border-radius: 8px;
    background: rgba(255, 255, 255, 0.1); color: white; font-size: 1.05rem; font-family: inherit; transition: 0.3s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.7); }

.contact-form input:focus, .contact-form textarea:focus {
    outline: none; background: white; color: var(--blue-dark); border-color: var(--blue-main);
}
.contact-form textarea { min-height: 180px; resize: vertical; }
.cf-turnstile { margin: 25px 0; display: flex; justify-content: center; }

.btn-submit { 
    background: var(--blue-main); color: white !important; border: none; padding: 20px 40px;
    border-radius: 8px; width: 100%; font-size: 1.2rem; font-weight: 700; text-transform: uppercase; transition: 0.3s;
}
.btn-submit:hover { background: var(--white); color: var(--blue-dark) !important; }

/* --- MESSAGES --- */
.msg { max-width: 700px; margin: 0 auto 25px; padding: 20px; border-radius: 8px; text-align: center; font-weight: 600; animation: fadeInDown 0.5s ease-out; }
.msg-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.msg-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* --- FOOTER --- */
footer { text-align: center; padding: 40px 20px; background: #eee; font-size: 0.9rem; }

/* --- RESPONSIVE & MENU BURGER --- */
.menu-burger { display: none; flex-direction: column; gap: 5px; z-index: 1001; }
.menu-burger span { width: 30px; height: 3px; background: var(--blue-dark); transition: 0.3s; }

@media (max-width: 768px) {
    #hero h1 { font-size: 2.2rem; }
    .grid-2, .form-row { grid-template-columns: 1fr; }
    #presentation h2 { text-align: center; }
    #presentation h2::after { left: 50%; transform: translateX(-50%); }
    .menu-burger { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 75%; background: var(--white);
        flex-direction: column; justify-content: center; gap: 30px; transition: 0.4s; z-index: 1000; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .menu-burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-burger.active span:nth-child(2) { opacity: 0; }
    .menu-burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* --- TO TOP --- */
#toTop {
    display: none; position: fixed; bottom: 30px; right: 30px; z-index: 999;
    width: 50px; height: 50px; background: var(--blue-main); color: white !important;
    border-radius: 50%; align-items: center; justify-content: center; font-size: 1.5rem; transition: 0.3s;
}
#toTop:hover { background: var(--blue-dark); transform: translateY(-5px); }
html { scroll-behavior: smooth; }