:root {
    --noir: #0b0e14;
    --carte: rgba(255, 255, 255, 0.03);
    --violet: #a29bfe;
    --violet-vif: #7d5fff;
    --blanc: #ffffff;
    --gris: #a0a0a0;
}

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

html {
    scroll-behavior: smooth;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #fff; 
}

.footer {
    background: #0a0a0a; 
    padding: 60px 20px 30px;
    border-top: 1px solid rgba(162, 155, 254, 0.1); 
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--violet);
}

.footer-tagline {
    color: var(--gris);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.footer-links {
    margin-bottom: 40px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--violet);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    color: #555;
    font-size: 0.75rem;
}

.mention-code {
    font-style: italic;
}


/* --- EFFETS --- */

.lueur-souris {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(162, 155, 254, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* --- NAVIGATION --- */

.en-tete {
    position: fixed;
    top: 20px;          
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; 
    padding: 0;
    display: flex;
    justify-content: center; 
}

.en-tete nav {
    background: #0f0f0f;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(228, 223, 223, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    border-radius: 100px;
}

.en-tete nav:hover {
    transform: scale(1.02);
    background: rgba(10, 10, 10, 0.95); 
    border-color: rgba(162, 155, 254, 0.3); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links a {
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block; 
}

.nav-links a:hover {
    transform: scale(1.1); 
    color: var(--violet-vif);
}


nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--blanc);
    font-size: 0.9rem;
    transition: 0.3s;
}

nav a:hover {
    color: var(--violet);
}


.logo {
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: -1px;
}

.logo span {
    color: var(--violet);
}


/* --- HERO --- */

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.texte-degrade {
    color: #a29bfe; 
}

#curseur {
    color: #a29bfe;
    font-weight: bold;
    margin-left: 5px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


.texte-degrade {
    background: linear-gradient(90deg, var(--violet), var(--violet-vif));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--gris);
    max-width: 600px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* --- BOUTONS --- */

.btn-plein {
    background: var(--violet-vif);
    color: var(--noir);
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-bordure {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--blanc);
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-plein:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(125, 95, 255, 0.3);
}

/* --- RÉALISATIONS --- */

.section-projets {
    padding: 100px 10%;
}

.grille-projets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.carte-projet {
    background: var(--carte);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.image-projet {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.survol-projet {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 20, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.carte-projet:hover .survol-projet {
    opacity: 1;
}

.btn-visiter {
    background: var(--violet);
    color: var(--noir);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.info-projet {
    padding: 1.5rem;
}

.info-projet h3 {
    margin-bottom: 0.5rem;
}

.info-projet p {
    color: var(--gris);
    font-size: 0.9rem;
}

/* --- TARIFS --- */

.grille-tarifs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}


.carte-tarif {
    background: #0f0f0f; 
    border: 1px solid rgba(162, 155, 254, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animation fluide */
    position: relative;
    overflow: hidden;
}

.carte-tarif:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(162, 155, 254, 0.5); 
    
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(162, 155, 254, 0.2); 
}


.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--violet);
    color: var(--noir);
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
}

.prix {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.liste-points {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.liste-points li {
    margin-bottom: 0.8rem;
    color: var(--gris);
    font-size: 0.9rem;
}

/* --- CONTACT --- */

.grille-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.bloc-contact {
    background: var(--carte);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--blanc);
    transition: 0.3s;
}

.bloc-contact:hover {
    border-color: var(--violet);
    background: rgba(255, 255, 255, 0.06);
}

.bloc-contact .icone .mail img {
    width: 28px;          
    height: 28px;         
    object-fit: contain;  
    display: block;       
}

.bloc-contact .icone .telegram img {
    width: 50px;          
    height: 50px;         
    object-fit: contain;  
    display: block;       
}


/* --- ANIMATIONS --- */

.titre-centre {
    text-align: center;
    margin-bottom: 3rem;
}

.sur-titre {
    color: var(--violet);
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.pied-page {
    text-align: center;
    padding: 3rem;
    color: var(--gris);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.prix-prefixe {
  display: block;
  font-size: 0.75rem;
  color: var(--gris);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: -10px; 
  font-weight: 700;
}


.section-tarifs {
  margin-bottom: 120px; 
}

.section-contact {
  padding-top: 50px;
}

.bloc-contact .icone {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.bloc-contact .icone svg {
    display: block !important;
    stroke: #a29bfe !important; 
}


/* --- ADAPTATION MOBILE --- */

@media (max-width: 768px) {

section {
    padding: 80px 5%; 
}

nav {
    flex-direction: column;
    gap: 1rem;
}

nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.en-tete {
    padding: 1rem 5%;
}


.hero h1 {
    font-size: 2.2rem; 
    letter-spacing: -1px;
}

.hero p {
    font-size: 1rem;
}


.grille-projets, 
.grille-tarifs, 
.grille-contact {
    grid-template-columns: 1fr; 
    gap: 1.5rem;
}


.carte-tarif.populaire {
    transform: none; 
}

.carte-tarif:hover {
    transform: translateY(-2px); 
}

.image-projet {
    height: 200px; 
}

.lueur-souris {
    display: none; 
}

.footer-bottom {
    flex-direction: column;
    gap: 10px;
}

.boutons-hero {
    display: flex;
    flex-direction: column; /* Force l'alignement vertical */
    gap: 15px;              /* Espace régulier entre les boutons */
    align-items: center;
    margin-top: 30px;
}

.boutons-hero .btn-plein, 
.boutons-hero .btn-bordure {
    width: 100%;            /* Ils prennent la même largeur */
    max-width: 280px;       /* Mais restent à une taille raisonnable */
    margin: 0;              /* On reset les marges parasites */
}

.hamburger {
    display: block; 
    cursor: pointer;
    z-index: 100;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #fff;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-links {
    position: absolute;   /* Au lieu de fixed */
    top: 70px;            /* Sort juste en dessous de la pilule */
    right: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    border-radius: 20px;  /* Petit arrondi pour coller au style */
    padding: 40px 0;
    display: none;        /* Caché par défaut */
    flex-direction: column;
    border: 1px solid rgba(162, 155, 254, 0.1);
}

.nav-links.active {
    display: flex;        /* S'affiche quand on clique sur le burger */
}


.nav-links li {
    margin: 20px 0;
}

.lien-nav {
    font-size: 1.5rem;
}

}



/* --- ANIMATIONS AU DÉFILEMENT --- */

.reveal {
  opacity: 0;
  transform: translateY(30px); 
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); 
  will-change: opacity, transform; 
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delai-100 { transition-delay: 0.1s; }
.delai-200 { transition-delay: 0.2s; }
.delai-300 { transition-delay: 0.3s; }