:root { 
    --bg-color: #ffffff; 
    --text-color: #1a1a1a; 
    --accent-color: #333333; 
    --white: #ffffff; 
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    --x: 50vw; 
    --y: 50vh; 
} 

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

html { 
    scroll-behavior: smooth; 
} 

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

/* NAVIGATION */ 
.navbar { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center; 
    padding: 30px 5%; 
    z-index: 1000; 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(10px); 
    transition: var(--transition); 
} 

.logo { display: flex; justify-content: flex-start; }
.logo img { height: 40px; width: auto; } 

.nav-links { 
    grid-column: 2;
    display: flex; 
    list-style: none; 
    gap: 40px; 
    align-items: center; 
} 

.nav-links a { 
    text-decoration: none; 
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    color: var(--text-color); 
    font-weight: 500; 
    font-size: 1.2rem; 
    transition: var(--transition); 
} 

.nav-links a:hover { color: #666; }

.cta-nav { 
    grid-column: 3;
    justify-self: flex-end;
    border: 1.5px solid var(--text-color); 
    border-radius: 8px;
    padding: 10px 25px; 
    text-decoration: none; 
    color: var(--text-color); 
    font-weight: 700; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    transition: var(--transition); 
} 

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

/* DROPDOWN */
.dropdown { position: relative; } 
.dropdown-content { 
    display: none; 
    position: absolute; 
    background-color: #fff; 
    min-width: 260px; 
    box-shadow: 0px 20px 40px rgba(0,0,0,0.08); 
    padding: 15px 0; 
    top: 100%; 
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #eee; 
} 
.dropdown-content a { padding: 10px 20px; display: block; font-size: 0.85rem; font-weight: 400; } 
.dropdown-content a:hover { background-color: #f9f9f9; color: var(--text-color); }
.dropdown-divider { border: 0; border-top: 1px solid #eee; margin: 8px 0; }
.dropdown:hover .dropdown-content { display: block; } 

/* HERO SECTION - DOUBLE IMAGES SPOTS */ 
.hero { 
    height: 100vh; 
    background-color: var(--bg-color); /* Fond Blanc */
    position: relative; 
    padding: 0 5%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    text-align: center; 
} 

.hero-container { 
    position: relative; 
    width: 100%; 
    height: auto; 
} 

.hero-content { 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
} 

/* Taille idéale demandée */
.logo-spotlight-wrapper {
    position: relative;
    width: 100%;
    max-width: min(750px, 90%); 
    margin: 0 auto;
    display: inline-block; 
}

.hero-logo-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle; 
    user-select: none;
    -webkit-user-drag: none;
}

/* 1. Base du logo : Ton image customisée (Texte blanc, bords gris) */
.logo-base { 
    position: relative; 
    z-index: 1; 
    display: block; 
} 
.logo-base .hero-logo-img { 
    opacity: 1; /* Pleinement visible */
}

/* 2. Révélation au survol : L'image pleine d'origine apparaît dans le cercle */
.logo-reveal { 
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0;
    bottom: 0;
    z-index: 2; 
    pointer-events: none; 
    display: block;
    -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), black 100px, transparent 180px); 
    mask-image: radial-gradient(circle at var(--x) var(--y), black 100px, transparent 180px); 
    -webkit-mask-repeat: no-repeat; 
    mask-repeat: no-repeat; 
} 
.logo-reveal .hero-logo-img { 
    width: 100%; 
    height: auto; 
    opacity: 1; 
}
/* SECTIONS GLOBALES */ 
.section { padding: 120px 10%; } 
.container { width: 100%; max-width: 1400px; margin: 0 auto; } 
.light-bg { background-color: #666; } 
.section-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.3em; margin-bottom: 40px; color: #999; } 
.large-text { font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif"; font-size: 25px; font-weight: 400; max-width: 90%; line-height: 1.1; letter-spacing: 0.02em; } 

/* SERVICES GRID & CARDS (Modifié pour 4 colonnes propres) */ 
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 1px; 
    background-color: rgba(0, 0, 0, 0.08); 
    margin-top: 60px; 
    border: 1px solid rgba(0, 0, 0, 0.08); 
} 
.services-grid a { text-decoration: none; color: inherit; }
.service-card { background-color: var(--bg-color); padding: 60px 30px; transition: var(--transition); height: 100%; } 
.service-card:hover { background-color: #fbfbfb; transform: translateY(-4px); } 
.service-num { font-size: 0.8rem; font-weight: 700; color: #bbb; display: block; margin-bottom: 30px; } 
.service-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.02em; } 
.service-card p { color: #666; font-size: 0.95rem; line-height: 1.6; } 

/* DETAILS DES SERVICES */
.services-details-container { margin-top: 100px; display: flex; flex-direction: column; gap: 60px; }
.service-detailed-item { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; border-top: 1px solid #eee; padding-top: 40px; scroll-margin-top: 120px; }
.service-detailed-item .detailed-meta { display: flex; flex-direction: column; gap: 10px; }
.service-detailed-item .detailed-meta h3 { font-size: 1.8rem; font-weight: 700; letter-spacing: -0.02em; }
.service-detailed-item .detailed-text p { font-size: 1.1rem; color: #555; line-height: 1.7; }

/* SECTION TEMPORAIRE - WORK IN PROGRESS */ 
.wip-wrapper { 
    background: #ffffff; 
    border: 1px solid #eee; 
    max-width: 750px; 
    margin: 40px auto 0 auto; 
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
} 

.wip-icon-box {
    margin-bottom: 25px;
}

.spinning-nut {
    width: 70px;
    height: 70px;
    color: #1a1a1a; /* Reste sobre pour coller à l'identité k-pulsar */
    animation: spin 6s linear infinite;
}

.wip-wrapper h3 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.wip-wrapper p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 30px;
}

.wip-tag {
    display: inline-block;
    background: #f5f5f5;
    color: #888;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #eef0f2;
}

/* L'animation de rotation de l'écrou */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* FORMULAIRE DE CONTACT */ 
.contact-container { display: flex; flex-direction: column; align-items: center; justify-content: center; } 
.contact-intro { text-align: center; color: #666; max-width: 500px; margin: -20px auto 30px auto; font-size: 1rem; } 
.centered-form { width: 100%; max-width: 600px; margin: 0 auto; } 
.minimal-form { display: flex; flex-direction: column; gap: 30px; } 
.minimal-form input, .minimal-form textarea { border: none; border-bottom: 1px solid #ccc; padding: 15px 0; font-size: 1rem; outline: none; background: transparent; } 
.minimal-form input:focus, .minimal-form textarea:focus { border-bottom-color: var(--text-color); } 
.submit-btn { background: var(--text-color); color: white; border: none; padding: 20px; font-weight: 700; text-transform: uppercase; margin-top: 20px; transition: var(--transition); cursor: pointer; } 
.submit-btn:hover { opacity: 0.8; } 

/* FOOTER */
.site-footer { background-color: #111111; color: #ffffff; padding: 80px 0 0 0; font-size: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-container { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 60px; padding-left: 10%; padding-right: 10%; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-logo { height: 35px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); }
.site-footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.2em; color: #ffffff; margin-bottom: 25px; font-weight: 700; }
.footer-contact, .footer-info { display: flex; flex-direction: column; gap: 12px; }
.footer-link { color: #aaa; text-decoration: none; transition: var(--transition); width: fit-content; }
.footer-link:hover { color: #ffffff; }
.cgv-notice { color: #888; line-height: 1.6; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 30px 10%; }
.footer-bottom-container { display: flex; justify-content: space-between; align-items: center; }
.copyright { color: #666; font-size: 0.8rem; }
.footer-legal-links { display: flex; gap: 30px; }
.footer-legal-links a { color: #666; text-decoration: none; font-size: 0.8rem; transition: var(--transition); }
.footer-legal-links a:hover { color: #aaa; }

/* ANIMATIONS */ 
.reveal { opacity: 0; transform: translateY(30px); } 
.reveal.active { opacity: 1; transform: translateY(0); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); } 

/* RESPONSIVE */ 
@media (max-width: 768px) { 
    .logo-reveal { -webkit-mask-image: none; mask-image: none; position: relative; left: 0; right: 0; } 
    .logo-base { display: none; } 
    .logo-reveal .hero-logo-img { filter: none; opacity: 1; }
    .navbar { display: flex; justify-content: space-between; } 
    .menu-toggle { display: flex; flex-direction: column; gap: 6px; z-index: 1001; cursor: pointer; } 
    .menu-toggle .bar { width: 25px; height: 2px; background-color: var(--text-color); transition: var(--transition); } 
    .desktop-only { display: none; } 
    .large-text { font-size: 1.8rem; } 
    .section { padding: 80px 5%; } 
    .nav-links { position: fixed; right: -100%; top: 0; flex-direction: column; background: white; width: 80%; height: 100vh; padding: 120px 40px; transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.05); align-items: flex-start; } 
    .nav-links.active { right: 0; } 
    .nav-links a { font-size: 1.5rem; font-weight: 700; } 
    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; } 
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); } 
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } 
    .dropdown-content { position: static; box-shadow: none; padding-left: 20px; display: none; border: none; transform: none; left: 0; } 
    .dropdown.active .dropdown-content { display: block; } 
    .service-detailed-item { grid-template-columns: 1fr; gap: 15px; }
    .service-detailed-item .detailed-meta h3 { font-size: 1.4rem; }
    .simulator-body { grid-template-columns: 1fr; gap: 40px; padding: 25px; } 
    .simulator-tabs { flex-direction: column; } 
    .tab-btn { border-bottom: 1px solid #eee; } 
    .footer-container { grid-template-columns: 1fr; gap: 40px; padding-left: 5%; padding-right: 5%; }
    .footer-bottom-container { flex-direction: column; gap: 15px; text-align: center; }
    .footer-legal-links { justify-content: center; }
    .simulator-wrapper { width: 100%; margin-top: 20px; }
}