:root {
--primary-gradient: linear-gradient(to bottom, #D0D7FF 0%, #ECEEFF 100%);
--footer-gradient: linear-gradient(to bottom, #ECEEFF 0%, #D0D7FF 100%);
--stripe-color: #B1BBFF;
--glass-bg: rgba(255, 255, 255, 0.2);
--glass-border: rgba(255, 255, 255, 0.4);
--card-bg: rgba(255, 255, 255, 0.9);
--text-primary: #1F1F1F;
--text-secondary: #222;
--text-muted: #666;
--accent-shadow: rgba(177, 187, 255, 0.6);
 
```
--font-body: "Montserrat", sans-serif;
--font-display: "Montserrat", sans-serif;
```
 
}
 
- {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }
 
html {
scroll-behavior: smooth;
}
 
body {
font-family: “Montserrat”, sans-serif;
background: linear-gradient(to bottom, #8090EE 0%, #B1BBFF 55%, #D0D7FF 100%);
background-attachment: fixed;
background-repeat: no-repeat;
overflow-x: hidden;
position: relative;
min-height: 100vh;
}
 
/* BANDES VERTICALES */
.bg-stripes {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 70vh;
z-index: -1;
pointer-events: none;
overflow: hidden;
}
 
.bg-stripes div {
position: absolute;
background: #C0CAFF;
opacity: 0.5;
border-radius: 200px;
width: 180px;
transition: transform 0.3s ease;
}
 
.bg-stripes div:nth-child(1) { height: 70vh; top: -25vh; left: 0%; }
.bg-stripes div:nth-child(2) { height: 55vh; top: -18vh; left: 20%; }
.bg-stripes div:nth-child(3) { height: 65vh; top: -22vh; left: 40%; }
.bg-stripes div:nth-child(4) { height: 50vh; top: -15vh; left: 60%; }
.bg-stripes div:nth-child(5) { height: 60vh; top: -20vh; left: 80%; }
 
/* HEADER */
header {
position: absolute;
top: 70px;
width: 100%;
display: flex;
justify-content: center;
z-index: 100;
padding: 0 20px;
}
 
.header-title-bg {
position: absolute;   /* <<< c’est ça qui fait qu’il reste en haut */
top: 0;
left: 50%;
transform: translateX(-50%);
z-index: 2;
font-family: 'Montserrat', sans-serif;
font-weight: 600;
font-size: clamp(90px, 15vw, 280px);
color: rgba(195, 202, 249, 1);
white-space: nowrap;
pointer-events: none;
user-select: none;
letter-spacing: -0.02em;
}
 
 
header nav {
background: rgba(255, 255, 255, 0.25);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 0.2px solid rgba(255, 255, 255, 0.5);
padding: 16px 35px;
border-radius: 50px;
box-shadow: 0 8px 32px rgba(208, 215, 255, 0.2);
animation: fadeInDown 0.6s ease;
}
 
 
 
nav ul {
  display: flex;
  justify-content: center;
  gap: 40px; /* espace entre les mots */
  list-style: none;
  padding: 0;
  margin: 0;
}
 
 
/* TRAIT SOUS LE LIEN ACTIF DU MENU */
nav ul li a.active {
    position: relative;
}
 
.contact-section {
  padding: 20px 0;
  margin: 0;
}
 
 
 
 
nav ul li a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px; /* distance du trait sous le mot */
    width: 100%;
    height: 2px; /* épaisseur du trait */
    background: white; /* couleur du trait */
    border-radius: 2px;
}
 
 
nav ul li a {
    font-weight: 600; /* ou 700 si tu veux encore plus épais */
}
 
 
 
 
header ul {
display: flex;
gap: 35px;
list-style: none;
align-items: center;
}
 
header a {
color: white;
text-decoration: none;
font-size: 1.1rem;
font-weight: 400;
position: relative;
transition: all 0.3s ease;
padding: 8px 0;
}
 
header a::after {
content: ‘’;
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: white;
transition: width 0.3s ease;
}
 
header a:hover {
color: #8090EE;
transform: translateY(-3px);
}
 
header a:hover::after,
header a.active::after {
width: 100%;
}
 
header a.active {
font-weight: 600;
}
 
/* HERO */
.hero {
min-height: 45vh;
display: flex;
justify-content: center;
align-items: center;
padding-top: 10px;
padding-bottom: 10px;
position: relative;
z-index: 10;
}
 
.hero-center {
text-align: center;
animation: fadeInUp 0.8s ease;
position: relative;
z-index: 10;
}
 
.laptop {
mix-blend-mode: normal;
width: 110%;
max-width: 1300px;
opacity: 1;
margin-bottom: 20px;
animation: float 3s ease-in-out infinite;
filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
position: relative;
z-index: 1;
}
 
.hero-text h1 {
font-family: “Montserrat”, sans-serif;
font-size: clamp(2rem, 5vw, 3.5rem);
color: var(–text-primary);
margin-bottom: 15px;
font-weight: 600;
}
 
.hero-text .subtitle {
font-size: clamp(1rem, 2vw, 1.2rem);
color: var(–text-secondary);
margin-bottom: 8px;
opacity: 0.9;
}
 
.hero-text .welcome {
font-size: clamp(1.1rem, 2.5vw, 1.3rem);
color: var(–text-primary);
margin-top: 25px;
line-height: 1.6;
font-weight: 300;
}
 
/* SECTION À PROPOS */
.section {
width: 90%;
max-width: 1000px;
margin: 20px auto 120px;
padding: 60px 45px;
background: #ffffff;
border-radius: 22px;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
animation: fadeIn 0.8s ease;
}
 
.section h2 {
font-family: “Montserrat”, sans-serif;
font-size: clamp(1.8rem, 4vw, 2.8rem);
color: var(–text-primary);
margin-bottom: 30px;
font-weight: 600;
}
 
.section .description {
font-size: clamp(1rem, 2vw, 1.15rem);
line-height: 1.8;
color: var(–text-secondary);
opacity: 0.9;
}
 
/* PAGE PORTFOLIO */
.portfolio-section {
width: 100%;
min-height: 100vh;
padding-top: 180px;
padding-bottom: 100px;
}
 
.portfolio-intro {
  width: 90%;
  max-width: 800px;
  margin: 80px auto 50px;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  animation: fadeIn 0.8s ease;
}
 
.portfolio-intro p {
font-size: clamp(0.95rem, 2vw, 1.05rem);
color:#ffffff
opacity: 0.9;
line-height: 1.7;
margin-bottom: 25px;
}
 
.portfolio-pdf-btn {
display: inline-block;
background: linear-gradient(135deg, rgb(208, 215, 255) 0%, #C8D0FF 100%);
color: #ffffff;
padding: 12px 30px;
border-radius: 50px;
text-decoration: none;
font-size: 0.95rem;
font-weight: 600;
box-shadow: 0 6px 20px rgba(192, 202, 255, 0.4);
transition: all 0.3s ease;
font-family: “Montserrat”, sans-serif;
}
 
.portfolio-pdf-btn:hover {
transform: translateY(-3px);
box-shadow: 0 12px 35px rgba(192, 202, 255, 0.6);
}
 
.projects-title {
text-align: center;
margin-bottom: 30px;
}
 
.projects-title h2 {
font-family: “Montserrat”, sans-serif;
font-size: clamp(1.8rem, 4vw, 2.5rem);
color: var(–text-primary);
font-weight: 600;
margin-bottom: 15px;
}
 
.projects-subtitle {
font-size: clamp(0.9rem, 2vw, 1rem);
color: var(–text-muted);
}
 
.portfolio-filters {
width: 90%;
max-width: 1200px;
margin: 0 auto 50px;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px;
animation: fadeIn 1s ease;
}
 
.filter-btn {
background: rgba(255, 255, 255, 0.9);
color: var(–text-primary);
padding: 10px 25px;
border: none;
border-radius: 25px;
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(208, 215, 255, 0.15);
font-family: “Montserrat”, sans-serif;
}
 
.filter-btn:hover,
.filter-btn.active {
background: linear-gradient(135deg, #aab7fa 0%, #7d8aff 100%);
color: white;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(192, 202, 255, 0.5);
}
 
.portfolio-grid {
width: 90%;
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 60px 40px;
padding: 20px;
}
 
.project-card {
text-align: center;
animation: fadeInUp 0.6s ease;
cursor: pointer;
transition: transform 0.3s ease;
}
 
.project-card:hover {
transform: translateY(-8px);
}
 
.project-image {
width: 100%;
height: auto;
margin-bottom: 20px;
position: relative;
display: flex;
justify-content: center;
}
 
.project-image img {
width: 40%;
border-radius: 0px;
object-fit: contain;
filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
transition: transform 0.3s ease;
}
 
.communication-image img {
    position: relative;
    z-index: 10;
}
.project-card[data-project="dh"] img {
    width: 90%;
} 
.project-card[data-project="place"] img {
    width: 100%;
}
.project-card[data-project="galerie"] img {
    width: 100%;
}
.project-card[data-project="torchons"] img {
    width: 50%;
}
.project-card[data-project="escale"] img {
    width: 50%;
}
.project-card[data-project="oracle"] img {
    width: 50%;
}
.project-card[data-project="communication"] img {
    width: 50%;
}
.ordilum img {
width: 120%;
}

 
.jazzordi img {
width: 120%;
}
 
.mot img {
width: 120%;
}
 
.tor img {
width: 120%;
}
 
.deconso img {
width: 40%;
}
 
.ryoji img {
width: 500px;
}
 
.darty img {
width: 120%;
}
 
.rome img {
width: 80%;
}
 
.marque img {
width: 40%;
}
 
.reve img {
width: 60%;
}
 
.philo img {
width: 90%;
}
 
.diamond img {
width: 50%;
}
 
.motion img {
width: 70%;
}
 
.retro img {
width: 50%;
}
 
.senso img {
width: 50%;
}
 
.cera img {
width: 70%;
}
 
.presence img {
width: 55%;
}
 
.ligne img {
width: 75%;
}
 
.utopia img {
width: 60%;
}
 
.vynil img {
width: 80%;
}
 
.orphe img {
width: 60%;
}
 
.futur img {
width: 65%;
}
 
.paysage img {
width: 65%;
}
 
.biennale img {
width: 50%;
}
 
.bb img {
width: 50%;
}
 
.ettore img {
width: 50%;
}
 
.lumin img {
width: 60%;
}
 
.snu img {
width: 90%;
}
 
.bene img {
width: 55%;
}
.project-card:hover .project-image img {
transform: scale(1.02);
}
 
.project-info {
text-align: center;
}
 
.project-info h3 {
font-family: “Montserrat”, sans-serif;
font-size: clamp(1.3rem, 3vw, 1.8rem);
color: var(–text-primary);
margin-bottom: 5px;
font-weight: 600;
}
 
.project-info p {
font-size: clamp(0.9rem, 2vw, 1rem);
color: var(–text-muted);
opacity: 0.85;
}
 
/* PAGE CV */
.cv-section {
width: 100%;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding-top: 200px;
padding-bottom: 100px;
}
 
.cv-container {
    background: transparent;
    border-radius: 0;
    padding: 0;
    max-width: 800px;
    width: 90%;
    box-shadow: none;
    text-align: center;
    animation: fadeIn 0.8s ease;
}
 
 
 
.cv-image {
width: 100%;
max-width: 700px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
margin-bottom: 30px;
}
 
.download-btn {
display: inline-block;
background: linear-gradient(135deg, #D0D7FF 0%, #C0CAFF 100%);
color: white;
padding: 16px 45px;
border-radius: 50px;
text-decoration: none;
font-size: 1.1rem;
font-weight: 600;
box-shadow: 0 10px 30px rgba(208, 215, 255, 0.5);
transition: all 0.3s ease;
font-family: “Montserrat”, sans-serif;
}
 
.download-btn:hover {
transform: translateY(-3px);
box-shadow: 0 12px 30px rgba(102, 126, 234, 0.6);
}
 
.cv-left {
left: 140px;
transform: none;
}
 
/* PAGE CONTACT - FOND BLANC */
.contact-section {
width: 100%;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding-top: 260px;
padding-bottom: 200px;
}
 
.contact-card {
background: #ffffff;
border-radius: 24px;
padding: 50px 60px;
max-width: 900px;
width: 90%;
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
position: relative;
animation: fadeIn 0.8s ease;
}
 
.contact-card h1 {
font-family: “Montserrat”, sans-serif;
font-size: clamp(2rem, 5vw, 2.8rem);
margin-bottom: 30px;
color: var(–text-primary);
font-weight: 600;
}
 
.contact-row {
display: flex;
justify-content: space-between;
gap: 40px;
margin-bottom: 40px;
flex-wrap: wrap;
}
 
.contact-block {
flex: 1;
min-width: 250px;
}
 
.contact-block h2 {
font-size: 1.3rem;
margin-bottom: 8px;
color: var(–text-primary);
font-weight: 500;
}
 
.contact-block p a {
color: var(–text-primary);
text-decoration: none;
font-size: 1.1rem;
transition: color 0.3s ease;
}
 
.contact-block p a:hover {
color: #8090EE;
text-decoration: underline;
}
 
.contact-social h2 {
font-size: 1.3rem;
margin-bottom: 15px;
color: var(–text-primary);
font-weight: 500;
}
 
.contact-icons {
display: flex;
gap: 20px;
}
 
.contact-icon {
transition: transform 0.3s ease;
}
 
.contact-icon img {
width: 40px;
height: 40px;
transition: transform 0.2s ease, filter 0.2s ease;
}
 
.contact-icon:hover {
transform: translateY(-5px);
}
 
.contact-icon:hover img {
filter: drop-shadow(0 5px 15px var(–accent-shadow));
}
 
/* FOOTER */
.footer-contact {
    position: relative;
    width: 100%;
    padding: 60px 20px 80px;
    margin-top: 0;
    background: transparent;
    overflow: hidden;
}
 
 
 
.footer-title {
position: absolute;
bottom: -140px;
left: 50%;
transform: translateX(-50%);
font-family: “Montserrat”, sans-serif;
font-weight: 600;
font-size: clamp(120px, 20vw, 360px);
color: rgba(255, 255, 255, 0.3);
white-space: nowrap;
pointer-events: none;
z-index: 3;
letter-spacing: -0.02em;
}
 
.footer-content {
position: relative;
z-index: 10;
display: flex;
justify-content: space-around;
align-items: center;
width: 90%;
max-width: 1200px;
margin: auto;
text-align: center;
flex-wrap: wrap;
gap: 40px;
}
 
.footer-block h3 {
font-size: 1.4rem;
margin-bottom: 8px;
color: var(–text-secondary);
font-weight: 500;
}
 
.footer-block p,
.footer-block p a {
font-size: 1.2rem;
opacity: 0.9;
color: var(–text-primary);
text-decoration: none;
}
 
.footer-block p a:hover {
text-decoration: underline;
}
 
.footer-icons {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 20px;
flex-wrap: nowrap;
}
 
.footer-icons img,
.footer-icons a img {
width: 40px;
height: 40px;
opacity: 0.9;
transition: all 0.3s ease;
cursor: pointer;
}
 
.footer-icons img:hover,
.footer-icons a:hover img {
opacity: 1;
transform: scale(1.1) translateY(-3px);
}
 
.footer-vertical-stripes {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 45vh;
pointer-events: none;
overflow: hidden;
z-index: 2;
}
 
.footer-vertical-stripes div {
position: absolute;
background: #C0CAFF;
opacity: 0.5;
border-radius: 200px;
}
 
.footer-vertical-stripes div:nth-child(1) { width: 140px; height: 38vh; bottom: -12vh; left: 5%; }
.footer-vertical-stripes div:nth-child(2) { width: 180px; height: 45vh; bottom: -15vh; left: 25%; }
.footer-vertical-stripes div:nth-child(3) { width: 120px; height: 40vh; bottom: -10vh; left: 48%; }
.footer-vertical-stripes div:nth-child(4) { width: 200px; height: 42vh; bottom: -16vh; left: 70%; }
.footer-vertical-stripes div:nth-child(5) { width: 160px; height: 36vh; bottom: -12vh; left: 88%; }
.footer-vertical-stripes div:nth-child(6) { width: 110px; height: 42vh; bottom: -14vh; left: -3%; }
.footer-vertical-stripes div:nth-child(7) { width: 130px; height: 48vh; bottom: -18vh; right: -3%; }
 
/* ANIMATIONS */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
 
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
 
@keyframes fadeInDown {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
 
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-15px); }
}
 
/* CORRECTION SPÉCIALE POUR LA PAGE CONTACT */
main.contact-section {
  margin: 0;
  padding: 40px 0;
  min-height: auto;
}
 
/* On évite que le footer soit trop loin */
footer {
  margin-top: 40px;
}
 
/* ESPACEMENT ÉQUILIBRÉ POUR LA PAGE CONTACT */
main.contact-section {
  margin-top: 230px;   /* espace sous le header */
  margin-bottom: 40px; /* espace avant le footer */
  padding: 0;
  min-height: auto;
}
 
body {
  margin: 0;
  padding: 0;
}
 
main.contact-section {
  padding-bottom: 0;
  margin-bottom: 0;
}
 
 
footer {
  margin-top: 0;
}
 
.contact-card {
  margin-bottom: 0;
}
 
header {
  position: relative;
}
 
/* LOGO EN HAUT À GAUCHE */
.logo img {
  height: 65px;          /* taille du logo */
  width: auto;
  display: block;
}
 
.logo {
  position: absolute;
  top: -70px;             /* distance du haut */
  left: 35px;            /* distance de la gauche */
  z-index: 1000;         /* passe au-dessus des bulles */
}
 
 
 
/* ===================================================================
   MODAL - Fenêtre projet
=================================================================== */
 
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
 
.project-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}
 
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}
 
.modal-content {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 55px;
    max-width: 780px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(177, 187, 255, 0.35);
    animation: modalSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: #C0CAFF transparent;
}
 
.modal-content::-webkit-scrollbar {
    width: 5px;
}
.modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
    background: #C0CAFF;
    border-radius: 10px;
}
 
/* Bouton fermer */
.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(192, 202, 255, 0.2);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-family: "Montserrat", sans-serif;
}
 
.modal-close:hover {
    background: linear-gradient(135deg, #D0D7FF, #ECEEFF);
    color: #ffffff;
    transform: scale(1.1) rotate(90deg);
}
 
/* En-tête modal */
.modal-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ECEEFF;
}
 
.modal-header h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 6px;
    line-height: 1.2;
}
 
.modal-header p {
    font-size: 1rem;
    color: #999;
    font-weight: 400;
    letter-spacing: 0.03em;
}
 
/* Corps modal */
.modal-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
 
/* Galerie */
.modal-gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
 
.modal-gallery img {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
}
 
.modal-gallery img:hover {
    transform: scale(1.01);
}
 
/* Description */
.modal-description {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    background: #F4F5FF;
    border-left: 4px solid #8090EE;
    padding: 18px 22px;
    border-radius: 0 12px 12px 0;
}
 
/* Détails */
.modal-details h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #aaa;
    margin-bottom: 14px;
}
 
.modal-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}
 
.modal-details ul li {
    background: #F4F5FF;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.92rem;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
 
.modal-details ul li span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8090EE;
}
 
/* Animations modal */
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
 
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
 
/* Modal responsive */
@media (max-width: 600px) {
    .modal-content {
        padding: 35px 25px;
        border-radius: 18px;
        max-height: 92vh;
    }
 
    .modal-header h2 {
        font-size: 1.4rem;
    }
 
    .modal-details ul {
        grid-template-columns: 1fr 1fr;
    }
}
 
 
/* ===================================================================
   MODAL - Fenêtre projet
=================================================================== */
 
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
 
.project-modal.active {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}
 
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}
 
.modal-content {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 55px;
    max-width: 780px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(177, 187, 255, 0.35);
    animation: modalSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: #C0CAFF transparent;
}
 
.modal-content::-webkit-scrollbar { width: 5px; }
.modal-content::-webkit-scrollbar-track { background: transparent; }
.modal-content::-webkit-scrollbar-thumb { background: #C0CAFF; border-radius: 10px; }
 
.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(192, 202, 255, 0.2);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-family: "Montserrat", sans-serif;
}
 
.modal-close:hover {
    background: linear-gradient(135deg, #5C6EE0, #8090EE);
    color: #ffffff;
    transform: scale(1.1) rotate(90deg);
}
 
.modal-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ECEEFF;
}
 
.modal-header h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #1F1F1F;
    margin-bottom: 6px;
    line-height: 1.2;
}
 
.modal-header p {
    font-size: 1rem;
    color: #999;
    font-weight: 400;
    letter-spacing: 0.03em;
}
 
.modal-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
 
.modal-gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
 
 
.modal-gallery img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    border-radius: 14px;
    background: #fffff;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}
 
 
 
.modal-gallery img:hover { transform: scale(1.01); }
 
.modal-description {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
    background: #F4F5FF;
    border-left: 4px solid #8090EE;
    padding: 18px 22px;
    border-radius: 0 12px 12px 0;
}
 
.modal-details h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #aaa;
    margin-bottom: 14px;
}
 
.modal-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}
 
.modal-details ul li {
    background: #F4F5FF;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.92rem;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
 
.modal-details ul li span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8090EE;
}
 
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
 
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
 
@media (max-width: 600px) {
    .modal-content {
        padding: 35px 25px;
        border-radius: 18px;
        max-height: 92vh;
    }
    .modal-header h2 { font-size: 1.4rem; }
    .modal-details ul { grid-template-columns: 1fr 1fr; }
}
 
 
 
 
/* ── LOGO : remonté, sans toucher le bord ── */
.logo {
    position: absolute;
    top: -60px !important;
    left: 35px !important;
    z-index: 1000;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    text-decoration: none !important;
}
 
.logo img {
    height: 60px !important;
    width: auto;
    display: block;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}
 
/* ── PAGE INDEX : texte remonté, sans fond blanc ── */
.hero {
    min-height: 30vh !important;
    padding-top: 10px !important;
    padding-bottom: 0px !important;
}
 
.section {
    margin-top: -20px !important;
    margin-bottom: 40px !important;
    padding: 40px 45px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
}
 
.section h2 {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
 
.section p,
.section .description {
    color: white !important;
    opacity: 0.95;
    text-shadow: 0 1px 6px rgba(0,0,0,0.1);
}
 
/* ── LIENS MODAL ── */
.modal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}
 
.modal-links-title {
    width: 100%;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #aaa;
    margin-bottom: 6px;
}
 
.modal-link-btn {
    display: inline-block;
    background: linear-gradient(135deg, #5f73fb 0%, #6c81f7 100%);
    color: white;
    padding: 9px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(92,110,224,0.4);
}
 
.modal-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92,110,224,0.6);
}
 
.modal-description p {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
}
.modal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}
 
.modal-links-title {
    width: 100%;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #aaa;
    margin-bottom: 6px;
}
 
.modal-link-btn {
    display: inline-block;
    background: linear-gradient(135deg, #b9c4fe 0%, #909bfe 100%);
    color: white;
    padding: 9px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(92,110,224,0.4);
}
 
.modal-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92,110,224,0.6);
    color: white;
}
 
.modal-description p {
    font-size: 1rem;
    line-height: 1.75;
    color: #444;
}

/* ===================================================================
   RESPONSIVE MOBILE  (tout ce qui est au-dessus = ton CSS d'origine, non modifié)
=================================================================== */

/* ---------- Tablette / mobile ---------- */
@media (max-width: 768px) {

  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  html, body { max-width: 100%; overflow-x: hidden; }
  img { max-width: 100%; }
  .logo img, .footer-icons img { max-width: none; }

  /* Fond dégradé fixe : "background-attachment: fixed" est ignoré par iOS,
     on le remplace par un calque fixe au rendu identique */
  body { background: none; background-color: #B1BBFF; }
  body::before {
    content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background: linear-gradient(to bottom, #8090EE 0%, #B1BBFF 55%, #D0D7FF 100%);
  }

  /* Bandes décoratives proportionnelles à l'écran */
  .bg-stripes div { width: 14vw; }

  /* En-tête : logo + menu + mot géant */
  header { top: 58px; padding: 0 12px; }
  .logo { top: -46px !important; left: 16px !important; }
  .logo img { height: 40px !important; }
  header nav { padding: 11px 28px; border-radius: 40px; }
  nav ul, header ul { gap: 22px; }
  header a { font-size: 0.95rem; padding: 6px 0; white-space: nowrap; }

  .header-title-bg,
  .header-title-bg.cv-left {
    font-size: 15vw; top: 4px; left: 50%; transform: translateX(-50%);
  }

  /* Page À propos */
  .hero { min-height: 0 !important; padding: 56px 0 10px !important; }
  .hero-center { width: 100%; }
  .laptop { display: block; width: 100%; max-width: 560px; margin: 0 auto 10px; }

  .section {
    width: 88% !important; margin: 0 auto 30px !important;
    padding: 20px 4px !important; text-align: center;
  }
  .section h2 { font-size: 1.7rem; margin-bottom: 18px; }
  .section .description { font-size: 0.98rem; line-height: 1.7; }

  /* Pages portfolio */
  .portfolio-section { min-height: 0; padding-top: 84px; padding-bottom: 50px; }
  .portfolio-intro { width: 88%; margin: 20px auto 34px; text-align: center; }
  .portfolio-intro p { font-size: 0.95rem; line-height: 1.65; margin-bottom: 20px; }
  .portfolio-pdf-btn { padding: 12px 26px; font-size: 0.9rem; }

  .projects-title { margin-bottom: 22px; padding: 0 20px; }
  .projects-title h2 { font-size: 1.7rem; margin-bottom: 8px; }
  .projects-subtitle { font-size: 0.9rem; }

  .portfolio-filters { width: 92%; gap: 8px; margin-bottom: 34px; }
  .filter-btn { padding: 8px 16px; font-size: 0.82rem; }

  .portfolio-grid {
    grid-template-columns: 1fr; gap: 46px;
    width: 88%; max-width: 520px; padding: 0;
  }
  .project-info h3 { font-size: 1.25rem; }
  .project-info p { font-size: 0.9rem; }
  .project-image { margin-bottom: 14px; }
  .project-image img { max-width: 100%; height: auto; }

  /* Page CV */
  .cv-section { min-height: 0; align-items: flex-start; padding-top: 92px; padding-bottom: 50px; }
  .cv-container { width: 90%; }
  .cv-image { border-radius: 8px; margin-bottom: 22px; }
  .download-btn { padding: 13px 32px; font-size: 1rem; }

  /* Contact (si la page est utilisée) */
  .contact-card { padding: 32px 22px; }
  .contact-row { flex-direction: column; gap: 22px; }
  .contact-block { min-width: 0; }

  /* Pied de page */
  .footer-contact { padding: 48px 20px 80px; min-height: 0; }
  .footer-title { font-size: 19vw; bottom: -0.48em; }
  .footer-content { flex-direction: column; justify-content: center; gap: 24px; width: 100%; }
  .footer-block h3 { font-size: 1.1rem; margin-bottom: 6px; }
  .footer-block p, .footer-block p a { font-size: 1rem; overflow-wrap: anywhere; }
  .footer-icons { gap: 18px; }
  .footer-icons img, .footer-icons a img { width: 36px; height: 36px; }
  .footer-vertical-stripes div:nth-child(1) { width: 14vw; }
  .footer-vertical-stripes div:nth-child(2) { width: 19vw; }
  .footer-vertical-stripes div:nth-child(3) { width: 12vw; }
  .footer-vertical-stripes div:nth-child(4) { width: 20vw; }
  .footer-vertical-stripes div:nth-child(5) { width: 16vw; }
  .footer-vertical-stripes div:nth-child(6) { width: 11vw; }
  .footer-vertical-stripes div:nth-child(7) { width: 13vw; }

  /* Fenêtre projet */
  .project-modal { padding: 12px; }
  .modal-content {
    padding: 54px 18px 24px; border-radius: 18px;
    max-height: 92vh; max-height: 92dvh;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .modal-close { top: 10px; right: 10px; width: 36px; height: 36px; }
  .modal-header { margin-bottom: 18px; padding-bottom: 14px; }
  .modal-header h2 { font-size: 1.3rem; padding-right: 40px; }
  .modal-gallery img { height: auto; max-height: 340px; }
  .modal-description { padding: 14px 16px; font-size: 0.95rem; line-height: 1.65; }
  .modal-details ul { grid-template-columns: 1fr; }
  .modal-link-btn { padding: 9px 18px; }
}

/* ---------- Petit téléphone ---------- */
@media (max-width: 380px) {
  header nav { padding: 10px 20px; }
  nav ul, header ul { gap: 16px; }
  header a { font-size: 0.88rem; }
  .filter-btn { padding: 7px 13px; font-size: 0.78rem; }
  .section h2, .projects-title h2 { font-size: 1.5rem; }
}

/* Écrans tactiles : pas d'effet de survol "collé" */
@media (hover: none) {
  .project-card:hover { transform: none; }
  .project-card:hover .project-image img { transform: none; }
}

/* ---------- Téléphone : boutons et images plus gros ---------- */
@media (max-width: 768px) {
  header nav { padding: 13px 30px; }
  nav ul, header ul { gap: 24px; }
  header a { font-size: 1.05rem; padding: 8px 0; }

  .portfolio-grid { width: 94%; max-width: 560px; }

  .filter-btn { padding: 12px 22px; font-size: 0.95rem; }
  .portfolio-filters { gap: 10px; }
  .portfolio-pdf-btn { padding: 15px 36px; font-size: 1.05rem; }
  .download-btn { padding: 17px 42px; font-size: 1.1rem; }
  .footer-icons { gap: 22px; }
  .footer-icons img, .footer-icons a img { width: 46px; height: 46px; }
  .modal-close { width: 44px; height: 44px; font-size: 1.7rem; }
  .modal-link-btn { padding: 12px 24px; font-size: 1rem; }
  .project-info h3 { font-size: 1.4rem; }
  .project-info p { font-size: 1rem; }
}
@media (max-width: 380px) {
  header nav { padding: 12px 22px; }
  nav ul, header ul { gap: 18px; }
  header a { font-size: 0.98rem; }
  .filter-btn { padding: 11px 17px; font-size: 0.88rem; }
}

/* ---------- Téléphone : textes alignés à gauche + footer compact (style "liste") ---------- */
@media (max-width: 768px) {
  /* Textes : alignement normal à gauche, colonne plus large = moins de lignes */
  .section { width: 90% !important; padding: 6px 0 !important; text-align: left; }
  .section h2 { text-align: left; font-size: 1.6rem; margin-bottom: 14px; }
  .section .description { font-size: 0.97rem; line-height: 1.6; text-align: left; }
  .portfolio-intro { width: 90%; text-align: left; margin: 18px auto 28px; }
  .portfolio-intro p { line-height: 1.6; margin-bottom: 18px; }

  /* Footer : tout aligné à gauche, blocs empilés, icônes en ligne */
  .footer-contact { padding: 40px 6% 74px; }
  .footer-content {
    width: 100%; max-width: none; margin: 0;
    align-items: flex-start; justify-content: flex-start;
    text-align: left; gap: 18px; padding-bottom: 0;
  }
  .footer-block { width: 100%; text-align: left; }
  .footer-block h3 { font-size: 1.05rem; margin-bottom: 4px; }
  .footer-block p, .footer-block p a { font-size: 1rem; }
  .footer-icons { justify-content: flex-start; gap: 20px; margin-top: 6px; }
  .footer-icons img, .footer-icons a img { width: 42px; height: 42px; }
}
@media (max-width: 768px) {
  .footer-block h3 { margin: 0 0 4px; }
  .footer-block p { margin: 0; }
  .footer-content { gap: 16px; }
}

/* ---------- Téléphone : mise en page "texte" et "footer" calquée sur la maquette ---------- */
@media (max-width: 768px) {
  /* Texte : colonne étroite à gauche (marges ~9 %), gros caractères, interligne aéré */
  .section, .portfolio-intro { width: 82% !important; margin-left: auto !important; margin-right: auto !important; text-align: left; }
  .section h2 { font-size: 1.7rem; text-align: left; margin-bottom: 16px; }
  .section .description,
  .portfolio-intro p { font-size: 1.08rem; line-height: 1.8; text-align: left; letter-spacing: 0.01em; }
  .portfolio-intro p { margin-bottom: 22px; }

  /* Footer : lignes de séparation entre les blocs, gros libellés, icônes en rangée */
  .footer-contact { padding: 26px 9% 70px; }
  .footer-content { gap: 0; align-items: stretch; }
  .footer-block { width: 100%; padding: 22px 0; border-bottom: 2px solid rgba(255,255,255,0.65); text-align: left; }
  .footer-block:last-child { border-bottom: 0; padding-bottom: 6px; }
  .footer-block h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 6px; }
  .footer-block p, .footer-block p a { font-size: 1.05rem; margin: 0; }
  .footer-icons { justify-content: flex-start; gap: 18px; margin-top: 14px; flex-wrap: nowrap; }
  .footer-icons img, .footer-icons a img { width: 44px; height: 44px; }
}
@media (max-width: 380px) {
  .footer-icons { gap: 12px; }
  .footer-icons img, .footer-icons a img { width: 40px; height: 40px; }
}

/* ===== IMAGES DES PROJETS — même cadre pour tous (téléphone) =====
   Chaque image est contenue dans un cadre identique, sans déformation.
   Pour un cadre plus large que haut, remplace "1 / 1" par "4 / 3" ; plus haut : "3 / 4". */
@media (max-width: 768px) {
  .portfolio-grid .project-image { aspect-ratio: 1 / 1; width: 100%; align-items: center; }
  .portfolio-grid .project-image img { width: 100%; height: 100%; max-width: 100%; max-height: none; object-fit: contain; }
}

/* ===== PAGE À PROPOS — ordinateur portable plus grand (téléphone) ===== */
@media (max-width: 768px) {
  .laptop { display: block; width: 125%; max-width: none; margin: 0 0 10px -12.5%; }
  .hero { padding-top: 50px; }
}

/* ===== AJUSTEMENTS D'IMAGES (téléphone) ===== */
@media (max-width: 768px) {
  /* Ordinateur de la page À propos : parfaitement centré (le conteneur centre aussi ce qui dépasse) */
  .hero-center { display: flex; justify-content: center; width: 100%; }
  .laptop { flex: 0 0 auto; width: 125%; max-width: none; margin: 0 0 10px 0; }

  /* Portfolio > Interfaces : images plus grandes, cadre libre (hauteur automatique), dépassent un peu de la colonne */
  .portfolio-grid .project-image.ordilum { aspect-ratio: auto; overflow: visible; }
  .portfolio-grid .project-image.ordilum img { flex: 0 0 auto; width: 120%; height: auto; max-width: none; }
  .portfolio-grid .project-image.jazzordi { aspect-ratio: auto; overflow: visible; }
  .portfolio-grid .project-image.jazzordi img { flex: 0 0 auto; width: 120%; height: auto; max-width: none; }
  .portfolio-grid .project-image.darty { aspect-ratio: auto; overflow: visible; }
  .portfolio-grid .project-image.darty img { flex: 0 0 auto; width: 120%; height: auto; max-width: none; }
  .portfolio-grid .project-image.mot { aspect-ratio: auto; overflow: visible; }
  .portfolio-grid .project-image.mot img { flex: 0 0 auto; width: 120%; height: auto; max-width: none; }
  .portfolio-grid .project-image.tor { aspect-ratio: auto; overflow: visible; }
  .portfolio-grid .project-image.tor img { flex: 0 0 auto; width: 120%; height: auto; max-width: none; }

  /* Un peu plus petites (échelle dans le cadre commun) */
  .portfolio-grid .project-image.presence img { width: 85%; height: 85%; }
  .portfolio-grid .project-image.cera img { width: 85%; height: 85%; }
  .portfolio-grid .project-image.orphe img { width: 85%; height: 85%; }
  .portfolio-grid .project-image.futur img { width: 85%; height: 85%; }
}

/* ===== STAGE : maquette Galerie, identité visuelle "Destination Hérault", maquette "La place créative" — plus grandes ===== */
@media (max-width: 768px) {
  .portfolio-grid .project-card[data-project="galerie"] .project-image,
  .portfolio-grid .project-card[data-project="place"] .project-image,
  .portfolio-grid .project-card[data-project="dh"] .project-image { aspect-ratio: auto; overflow: visible; }
  .portfolio-grid .project-card[data-project="galerie"] .project-image img,
  .portfolio-grid .project-card[data-project="place"] .project-image img { flex: 0 0 auto; width: 125%; height: auto; max-width: none; max-height: none; }
  .portfolio-grid .project-card[data-project="dh"] .project-image img { flex: 0 0 auto; width: 100%; height: auto; max-width: none; max-height: none; }
}

/* ===== Mot géant en arrière-plan en haut de page : supprimé sur téléphone ===== */
@media (max-width: 768px) {
  .header-title-bg { display: none; }
}

