/* ================================
   VARIABLES GLOBALES
================================ */
:root {
  /* Couleurs bleues */
  --blue-0: #E9EDF9;
  --blue-1: #6587FF;
  --blue-2: #0038FD;

  /* Couleurs roses */
  --pink-0: #FEE6F3;
  --pink-1: #FDB5DA;
  --pink-2: #E2308B;

  /* Neutres */
  --grey-1: #F9F7F8;
  --black-1: #212123;
  --white-1: #FFFFFF;

  /* Typographie */
  --font-brockman: 'Brockman', serif;
  --font-bricolage: 'Bricolage Grotesque', sans-serif;
}

/* ================================
   IMPORT POLICES
================================ */

/* BROCKMANN */
@font-face {
  font-family: 'Brockman';
  src: url('../fonts/brockmann/brockmann-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Brockman';
  src: url('../fonts/brockmann/brockmann-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Brockman';
  src: url('../fonts/brockmann/brockmann-semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

/* BRICOLAGE GROTESQUE */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage_grotesque/BricolageGrotesque-VariableFont_opsz,wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

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

body {
  font-family: var(--font-brockman);
  background-color: var(--blue-1);
  color: var(--black-1);
  line-height: 1.5;
}

.page-content {
    position: relative;
    z-index: 10;
    background: var(--grey-1);
    height: 70vh;
}


/* ================================
   TYPOGRAPHIE DESKTOP
================================ */

/* ---- H1 ---- */
.h1-desktop {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 4rem; /* 84px */
  line-height: 100%;
  color: var(--black-1);
}

.h1-bold-desktop {
  font-family: var(--font-bricolage);
  font-weight: 600;
  font-size: 4rem;
  color: var(--blue-1);
}

.h1-strong-desktop {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 4rem;
  color: rgba(101,135,255,0.9);
  position: relative;
}

.h1-strong-desktop::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 20px;
  background: var(--blue-0);
  bottom: 0;
  left: 0;
  z-index: -1;
}

/* ---- H2 ---- */
.h2-desktop {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 4rem; /* 64px */
  color: var(--black-1);
  line-height: 1;
}

.h2-bold-desktop {
  font-family: var(--font-bricolage);
  font-weight: 600;
  font-size: 3rem; /* 48px */
  color: var(--blue-1);
}

.h2-strong-desktop {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 4rem;
  color: rgba(101,135,255,0.9);
  position: relative;
}

.h2-strong-desktop::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 16px;
  background: var(--blue-0);
  bottom: 0;
  left: 0;
  z-index: -1;
}

/* ---- H3 ---- */
.h3-desktop-1 {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 1.5rem; /* 24px */
  color: var(--black-1);
}

.h3-bold-desktop-1 {
  font-family: var(--font-bricolage);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--blue-1);
}

.h3-desktop-2 {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 2rem; /* 32px */
  color: var(--black-1);
  line-height: 1;
}

.h3-bold-desktop-2 {
  font-family: var(--font-bricolage);
  font-weight: 600;
  font-size: 2rem;
  color: var(--blue-1);
  line-height: 1;
}

.h3-strong-desktop-2 {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 2rem;
  color: rgba(101,135,255,0.9);
  position: relative;
  line-height: 1;
}

.h3-strong-desktop-2::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 12px;
  background: var(--blue-0);
  bottom: 0;
  left: 0;
  z-index: -1;
  line-height: 1;
}

/* ---- Paragraphes ---- */
.p-desktop-1 {
  font-family: var(--font-brockman);
  font-weight: 400;
  font-size: 1.125rem; /* 18px */
  line-height: 110%;
  color: var(--black-1);
}

.p-desktop-2 {
  font-family: var(--font-brockman);
  font-weight: 400;
  font-size: 1rem; /* 16px */
  line-height: 110%;
  color: var(--black-1);
}

.p-strong-desktop-1 {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 110%;
  color: var(--black-1);
}

.p-strong-desktop-2 {
  font-family: var(--font-brockman);
  font-weight: 600;
  font-size: 1rem;
  line-height: 110%;
  color: var(--black-1);
}

/* ---- Span ---- */
span-desktop-1 {
  font-family: var(--font-brockman);
  font-weight: 400;
  font-size: 1.125rem; /* 18px */
  color: var(--blue-1);
}

span-desktop-2 {
  font-family: var(--font-brockman);
  font-weight: 400;
  font-size: 1rem; /* 16px */
  color: var(--blue-1);
}

span-desktop-3 {
  font-family: var(--font-brockman);
  font-weight: 500; /* medium */
  font-size: 1.25rem; /* 20px */
  line-height: 110%;
  color: var(--black-1);
}

/* ================================
   TYPOGRAPHIE MOBILE
================================ */
@media (max-width: 768px) {
  /* H1 Mobile */
  .h1-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 2rem; /* 32px */
    line-height: 100%;
    color: var(--black-1);
  }

  .h1-bold-mobile {
    font-family: var(--font-bricolage);
    font-weight: 600;
    font-size: 2rem;
    color: var(--blue-1);
  }

  .h1-strong-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 2rem;
    color: rgba(101, 135, 255, 0.9);
    position: relative;
  }
  .h1-strong-mobile::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 12px;
    background: var(--blue-0);
    bottom: 0;
    left: 0;
    z-index: -1;
  }

  /* H2 Mobile */
  .h2-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1.75rem; /* 28px */
    color: var(--black-1);
  }

  .h2-bold-mobile {
    font-family: var(--font-bricolage);
    font-weight: 600;
    font-size: 1.75rem;
    color: var(--blue-1);
  }

  .h2-strong-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1.75rem;
    color: rgba(101,135,255,0.9);
    position: relative;
  }
  .h2-strong-mobile::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: var(--blue-0);
    bottom: 0;
    left: 0;
    z-index: -1;
  }

  /* H3 Mobile */
  .h3-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1.5rem; /* 24px */
    color: var(--black-1);
  }

  .h3-bold-mobile {
    font-family: var(--font-bricolage);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--blue-1);
  }

  .h3-strong-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1.5rem;
    color: rgba(101,135,255,0.9);
    position: relative;
  }
  .h3-strong-mobile::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background: var(--blue-0);
    bottom: 0;
    left: 0;
    z-index: -1;
  }

  /* Paragraphes Mobile */
  .p-mobile {
    font-family: var(--font-brockman);
    font-weight: 400;
    font-size: 1rem; /* 16px */
    line-height: 110%;
    color: var(--black-1);
  }

  .p-strong-mobile {
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1rem;
    line-height: 110%;
    color: var(--black-1);
  }

  /* Span Mobile */
  .span-mobile-1 {
    font-family: var(--font-brockman);
    font-weight: 400;
    font-size: 0.875rem; /* 14px */
    color: var(--blue-1);
  }

  .span-mobile-2 {
    font-family: var(--font-brockman);
    font-weight: 500; /* medium */
    font-size: 0.875rem; /* 14px */
    line-height: 110%;
    color: var(--black-1);
  }
}








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

/* Sections - couleurs temporaires repérage */
.section-1 {
  height: 100vh;
  background-color: #FF6B6B; /* rouge */
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}

.section-3 {
  height: 110vh;
  max-height: 1400px;
  background-color: #556270; /* gris foncé */
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}

.section-4 {
  height: 40vh;
  max-height: 550px;
  background-color: #C7F464; /* vert clair */
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}



.section-6 {
  height: 45vh;
  background-color: #4ECDC4; /* turquoise */
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}

.section-7 {
  height: 100vh;
  background-color: #556270; /* gris foncé */
  display: flex; justify-content: center; align-items: center;
  font-size: 2rem; color: white;
}

.container {
  /*max-width: 1440px;*/
  margin: 0 auto;
  width: 90%;
  height: 100%;
  background: var(--grey-1);
}









/* =====================================
   HERO GLOBAL
===================================== */

.hero {
    height: 75vh;
    padding: clamp(20px, 3vw, 40px);
    background: var(--grey-1);
    display: flex;
}

.hero-conteneur {
    height: 95vh;
    width: 100%;
    background: #ffffff;
    border-radius: 32px;
    padding: 2vw 4vw; /* Réduit le padding vertical */
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =====================================
   NAV
===================================== */

.hero-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 60px);
  font-weight: 500;
  background-image: url("../images/autres/fond_nav.png");
  background-position: center 0;
  background-size: 100%;
  width: 60%;
  height: 7vh;
  position: absolute;
  top: 0;
  background-repeat: no-repeat;
}

.hero-nav a {
  text-decoration: none;
  color: var(--black-1);
  font-family: var(--font-brockman);
  font-size: 1.1vw;
  font-weight: 400;
}

/* =====================================
   TITRE
===================================== */

.hero-titre {
  max-width: 1000px;
  line-height: 0.8;
}

/* "bras droit" */
.hero-highlight {
  display: inline-block;
  color: var(--blue-2);
  border: 3px solid var(--blue-2);
  background-color: var(--blue-0);
  padding: 0.05em 0.3em;
  transform: rotate(2deg);
}


.hero-highlight {
  position: relative; /* Indispensable pour que les points se calent dessus */
  display: inline-block;
  color: var(--blue-2);
  border: 3px solid var(--blue-2);
  background-color: var(--blue-0);
  padding: 0.1em 0.4em;
  transform: rotate(2deg);
  border-radius: 4px;
}

/* Style commun aux 4 points */
.dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--blue-0);
  border: 3px solid var(--blue-2);
  /* On centre le point exactement sur l'angle */
}

.dot-rose {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--pink-0);
  border: 3px solid var(--pink-2);
}

/* Positionnement aux 4 coins */
.tl { top: -12px; left: -12px; }    /* Top Left */
.tr { top: -12px; right: -12px; }   /* Top Right */
.bl { bottom: -12px; left: -12px; } /* Bottom Left */
.br { bottom: -12px; right: -12px; }/* Bottom Right */




/* "alternance." */
.hero-accent {
  color: var(--pink-2);
  font-family: var(--font-bricolage);
}


.s3-sub {
    font-size: 0.9vw;
    letter-spacing: 0.1vw;
    color: var(--black-1);
    opacity: 0.8;
    margin-top: 8.5vw; 
}

.hero-titre {
    max-width: 70vw;
    margin-top: 12vh;
    margin-bottom: 2vh;
    height: 23vh;
}


.hero-cartes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2vw;
    width: 100%; /* Utilise toute la largeur du container parent */
    margin-top: 2vw;
}

.carte {
    background: #F8F8F8;
    border-radius: 1.8vw;
    padding: 2vw 0 0 0; /* IMPORTANT : 0 padding sur les côtés et le bas */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 18vw;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* On centre le contenu texte puisqu'il n'y a plus de padding latéral sur la carte */
.badge, .h3-titre {
    padding-left: 1vw;
    padding-right: 1vw;
}

.h3-titre {
    font-size: 1.4vw;
    margin-top: 0.5vw;
    margin-bottom: auto; /* Pousse le texte vers le haut */
    padding-bottom: 2vw;
}

.img-logos {
    width: 100%;
    height: auto;
    display: block;
    margin-top: auto; /* Colle l'image en bas */
    border-bottom-left-radius: 1.8vw; /* Pour épouser l'arrondi de la carte */
    border-bottom-right-radius: 1.8vw;
}

/* Survol & État actif */
.carte:hover {
    transform: translateY(-5px);
    background: #F3F3F3;
}

.carte-bleue {
    border: 2px solid var(--blue-2);
    background: #F4F7FF; /* Un fond très légèrement bleuté pour la sélection */
}

/* =====================================
   CARTES PROJETS
===================================== */

.infoshero {
    height: clamp(0px, 15vh, 130px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-description {
  max-width: 800px;
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

  .hero-conteneur {
    border-radius: 24px;
  }

  .hero-nav {
    display: none;
  }

  .hero-titre {
    font-size: 2rem;
  }

  .hero-cartes {
    height: 340px;
  }

  .carte {
    width: 130px;
  }

}


@media (min-width: 3500px) {
  .hero-nav {
    height: 8vh;
    width: 50%;
    gap: clamp(20px, 4vw, 100px);
  }

  .hero-cartes {
    width: 50vw;
  }

  .hero-nav a {
    font-size: 0.9vw;
  }
  .hero-titre {
    height: 12vh;
  }
}




/* =====================================
   FIN DE SECTION 1 ACCUEIL - DÉBUT SECTION 2
===================================== */



/* FORMULAIRE CONTACT */
/* =====================================
   FORMULAIRE CONTACT (CORRIGÉ)
===================================== */

.contact {
    position: relative;
    width: 90vw;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    height: 60vh;
    justify-content: center;
    gap: 3vw;
}

/* --- PARTIE GAUCHE (INFOS) --- */
.entetecontact {
    width: 30%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 1.5vw;
    padding: 0; 
    text-align: left;
}

.textecontact {
    font-family: var(--font-brockman); /* Utilisation de ta variable */
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--black-1);
    margin: 0;
}

.textecontact strong {
    font-family: var(--font-brockman);
    font-weight: 600;
    color: var(--pink-2);
}


/* Lien email en bleu */
.textecontact strong.envoimail a {
    font-family: var(--font-brockman);
    font-weight: 600;
    color: var(--blue-2);
    text-decoration: underline;
}


/* Bouton Télécharger CV (Bleu roi selon maquette) */
.boutoncontact {
    all: unset;
    display: flex;
    width: fit-content;
    padding: 12px 30px;
    background-color: var(--blue-2);
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.boutoncontact button {
    all: unset;
    color: var(--white-1);
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1rem;
}

.boutoncontact:hover {
    transform: scale(1.05);
}

.textereseaux {
    font-family: var(--font-bricolage); /* Titre en Bricolage */
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-top: 1vw;
    color: var(--black-1);
}


.textereseaux2 {
    font-family: var(--font-brockman);
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1.2;
    color: var(--black-1);
}

    

.logosreseaux {
    width: auto;
    height: auto;
    display: flex;
    gap: 1vw;
    align-items: center;
    justify-content: center;
}

.logo-social {
    width: 2.2vw;
    transition: transform 0.2s ease;
}

.logo-social path {
    fill: var(--black-1); 
}

.logo-link:hover .logo-social {
    transform: translateY(-3px);
}

.logo-link:hover p{
    color: var(--pink-2);
    transform: translateY(-3px);
    transition: transform 0.2s ease;
}

.logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    gap: 1vw;
}

.logo-link:hover .logo-social path {
    fill: var(--pink-2); /* Hover rose sur les icônes */
}

/* --- PARTIE DROITE (FORMULAIRE) --- */
.formulaire-infos {
    width: 60%;
    height: auto;
    position: relative;
}

/* Style général des inputs */
.form-control {
    background-color: var(--white-1);
    border-radius: 12px;
    padding: 0 1.5vw;
    font-family: var(--font-brockman);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Couleurs spécifiques des bordures (Mockup style) */
#name, #email {
    border: 2px solid var(--pink-1);
}

#firstname, #phone, #message {
    border: 2px solid var(--blue-1);
}

.nom-prenom, .mail-telephone {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5vw;
}

#name {
    width: 46%; 
    height: 4vw;
    border: double 2px transparent;
    border-radius: 0.7vw;
    background-image: linear-gradient(#fbfbfb, #fbfbfb), linear-gradient(to right, #6587FF, #FDB5DA) !important;
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

#firstname {
    width: 52%; 
    height: 4vw;
    border: double 2px transparent;
    border-radius: 0.7vw;
    background-image: linear-gradient(#fbfbfb, #fbfbfb), linear-gradient(to right, #FDB5DA, #6587FF) !important;
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

#email{
    width: 54%;
    height: 4vw;
    border: double 2px transparent;
    border-radius: 0.7vw;
    background-image: linear-gradient(#fbfbfb, #fbfbfb), linear-gradient(to right, #6587FF, #FDB5DA) !important;
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

#phone {
    width: 44%;
    height: 4vw;
    border: double 2px transparent;
    border-radius: 0.7vw;
    background-image: linear-gradient(#fbfbfb, #fbfbfb), linear-gradient(to right, #FDB5DA, #6587FF) !important;
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

#message {
    margin-top: 0;
    width: 100%;
    height: 10vw;
    padding-top: 1.5vw;
    resize: none;
    border: 2px solid var(--blue-1);
    border: double 2px transparent;
    border-radius: 0.7vw;
    background-image: linear-gradient(#fbfbfb, #fbfbfb), linear-gradient(to right, #6587FF, #FDB5DA, #6587FF);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* État Focus */
.form-control:focus {
    border-color: var(--black-1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Placeholder */
.form-control::placeholder {
    font-family: var(--font-brockman);
    color: var(--black-1);
    opacity: 0.5;
}

/* Bouton Envoyer (Rose selon maquette) */
.bouton-envoi {
    width: 100%;
    height: auto;
    margin-top: 1vw;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.formulaire-envoi {
    height: 3.5vw;
    width: 100%;
    background-color: var(--pink-1);
    color: var(--white-1);
    border: none;
    border-radius: 8px;
    font-family: var(--font-brockman);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.formulaire-envoi:hover {
    background-color: var(--pink-2);
    transform: translateY(-2px);
}


@media screen and (min-width: 2100px) {
  .hero-titre {
    height: 18vh;
  }
  .textecontact {
    font-size: 2rem !important;
  }
}





































/* FOOTER */

/* 1. SECTION CTA (Le bloc blanc qui remonte) */
.cta-section {
    position: relative;
    z-index: 2; /* Passe par-dessus le footer */
    background: #fff;
    padding: 80px 5% 120px;
    border-radius: 0 0 50px 50px; /* Arrondi bas pour l'effet de décollement */
}

.contact-card {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 30px;
    border: 1px solid #eee;
    border-radius: 40px;
    background: #fff;
}

.cta-title { 
    font-size: clamp(22px, 4vw, 45px); 
    margin: 25px 0; 
    line-height: 1.2;
}

.pink-box {
    color: var(--pink-2);
    border: 2px solid var(--pink-2);
    padding: 0 15px;
    display: inline-block;
}

.cta-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    font-weight: 500;
}

.btn-outline {
    display: inline-block;
    padding: 14px 30px;
    border: 2px solid var(--blue-2);
    color: var(--blue-2);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
}

/* 2. FOOTER REVEAL (La zone bleue en dessous) */
.footer-reveal {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    z-index: 1; 
    background: var(--blue-1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 3;
    margin-top: 7vw;
}

.giant-txt {
    position: absolute;
    bottom: -19vw;
    transform: translateX(-50%);
    font-size: 15.3vw;
    font-weight: 900;
    opacity: 0.15;
    white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-reveal { height: 300px; position: relative; z-index: 3; } /* On désactive l'effet sur mobile pour la fluidité */
    .cta-section { border-radius: 0; padding-bottom: 60px; }
}




.footer-reveal .legal a {
    color: inherit;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.footer-reveal .legal a:hover {
    opacity: 1;
    text-decoration: underline;
}

.giant-txt {
    pointer-events: none;
}

/* ================================
   SCROLLBAR PERSONNALISÉE
================================ */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--blue-2) transparent;
}

/* Chrome / Safari / Edge */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--blue-2);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-1);
}

/* ================================
   SÉLECTION DE TEXTE
================================ */
::selection {
    background: var(--pink-2);
    color: var(--white-1);
}

/* Pour Firefox */
::-moz-selection {
    background: var(--pink-2);
    color: var(--white-1);
}

/* ================================
   CURSEUR PERSONNALISÉ
================================ */
*, body {
    cursor: none !important;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--blue-2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 2px solid var(--blue-2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.12s ease, width 0.25s ease, height 0.25s ease, border-color 0.2s ease, background 0.2s ease;
    opacity: 0.6;
}

/* Hover sur éléments cliquables : anneau se remplit */
.cursor-ring.is-hovering {
    width: 52px;
    height: 52px;
    background: rgba(0, 56, 253, 0.08);
    border-color: var(--blue-1);
    opacity: 1;
}

/* Hover sur éléments roses (boutons primaires) */
.cursor-ring.is-pink {
    border-color: var(--pink-2);
    background: rgba(226, 48, 139, 0.08);
}

.cursor-dot.is-pink {
    background: var(--pink-2);
}