/* Couleurs proches de l'image fournie */
:root{
  --pink-bg: #EB7896;       /* fond barre */
  --pink-border: #3A3A3A;   /* léger liseré sombre */
  --pill-bg: #FFFFFF;       /* pastilles blanches */
  --pill-text: #1E1E1E;     /* texte pastilles */
  --cta-bg: #D90B3F;        /* bouton CV rouge/rose vif */
  --cta-text: #FFFFFF;
}

/* Barre supérieure */
.topbar{
  background: var(--pink-bg);
  border-top: 3px solid var(--pink-border);
  border-bottom: 3px solid var(--pink-border);
}

/* Logo */
.brand-logo{
  height: 46px;             /* ajustez selon votre logo */
  width: auto;
}

/* Masquer le mot sous petit écran (on garde que le logo) */
@media (max-width: 575.98px){
  .brand-text{ display:none; }
}

/* Pastilles de navigation */
.nav-pill{
  display: inline-block;
  background: var(--pill-bg);
  color: var(--pill-text);
  padding: .55rem 1.15rem;
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.2), inset 0 0 0 1px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
  font-weight: 500;
}

.nav-pill:hover,
.nav-pill:focus{
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,.15), inset 0 0 0 1px rgba(0,0,0,.06);
}

/* Bouton CTA à droite */
.cta-btn{
  background: var(--cta-bg);
  color: var(--cta-text);
  border: none;
  box-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.cta-btn:hover,
.cta-btn:focus{
  color: var(--cta-text);
  filter: brightness(1.03);
  transform: translateY(-1px);
}

/* Ajustements de la navbar Bootstrap pour bien centrer les pastilles */
.navbar .navbar-nav .nav-link{
  padding: 20;               /* gérons l'espace via .nav-pill */
}




/* corps de la page */
/* ====== Variables de thème (proches de ta capture) ====== */
:root{
  --blue-navy: #10306D;  /* fond héro (proche de l'image) */
  --blue-night: #0A192F; /* alternative si tu préfères plus sombre */
  --pink-accent: #E40046; /* bouton */
  --pink-strip: #F08AA4;  /* liseré supérieur */
  --bubble-bg: #FFFFFF;
  --text-dark: #1C1C1C;
}

/* Bande supérieure rose */
.top-strip{
  height: 8px;
  background: linear-gradient(90deg, var(--pink-strip), var(--pink-strip));
}

/* Bloc hero */
.hero{
  background: var(--blue-navy);
  min-height: clamp(520px, 80vh, 780px);
  padding: 40px 0 24px;
  position: relative;
  overflow: hidden;
}

/* Titre */
.hero-title{
  line-height: 1.05;
  margin: 1rem 0 1.25rem;
}
.hero-title .light{
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: .3px;
}
.hero-title .bold{
  font-weight: 800;
  font-size: clamp(54px, 8vw, 92px);
  letter-spacing: .5px;
}

/* Bulle d’introduction (boîte blanche arrondie) */
.intro-bubble{
  background: var(--bubble-bg);
  color: var(--text-dark);
  border-radius: 14px;
  padding: 16px 20px;
  max-width: 520px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.45;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.06);
}

/* Bouton CTA */
.cta-btn{
  background: var(--pink-accent);
  color: #fff;
  padding: 12px 22px;
  font-size: clamp(14px, 1.7vw, 18px);
  border: none;
  box-shadow: 0 6px 18px rgba(255, 42, 106, .36);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.cta-btn:hover{
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 12px 28px rgba(255, 42, 106, .45);
}

/* Portrait : occupe bien la hauteur sans déformer */
.hero-portrait{
  max-height: 700vh;
  object-fit: contain;
  /* pour mimer l'alignement bas dans la capture */
  transform: translateY(10px);
}

/* Ajustements responsives */
@media (max-width: 991.98px){
  .intro-bubble{ margin-top: .5rem; }
  .hero-portrait{ max-height: 56vh; }
}
@media (max-width: 575.98px){
  .hero{ padding-top: 28px; }
  .intro-bubble{ border-radius: 12px; }
}




/* Pied de page */
/* ===== Couleurs proches de la capture ===== */
:root{
  /* Dégradé bleu -> rose */
  --grad-top:  #8faee9;  /* bleu doux */
  --grad-mid:  #BE9ACB;  /* mauve léger */
  --grad-bot:  #f280a3;  /* rose bas */
  /* CTA */
  --cta-bg:   #e40046;   /* bouton CV */
  --cta-text: #FFFFFF;
}
/* Section footer */
.contact-footer{
  background: linear-gradient(to bottom, var(--grad-top) 0%, var(--grad-mid) 50%, var(--grad-bot) 100%);
  border-top: 2px solid rgba(0,0,0,.35);   /* léger liseré comme sur la capture */
  border-bottom: 2px solid rgba(0,0,0,.35);
  overflow: hidden;
}

/* Logo */
.footer-logo{
  max-width: 150px;
  height: auto;
}

/* Bouton CV */
.btn-cta{
  background: var(--cta-bg);
  color: var(--cta-text);
  border: none;
  border-radius: 16px;
  min-width: 320px;
  text-align: center;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn-cta:hover{
  color: var(--cta-text);
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 8px 24px rgba(226, 12, 84, .35);
}

/* Liste de contact (centrée et large comme la capture) */
.contact-list{
  max-width: 960px;
  font-size: clamp(16px, 2vw, 26px);
  text-align: center;
}
.contact-list li{
  margin: .35rem 0;
  line-height: 1.35;
  letter-spacing: .2px;
  color: #fff;
}
.contact-list i{
  font-size: 1em; /* suit la taille du texte */
  vertical-align: -2px;
  opacity: .95;
}

/* Icônes réseaux (ronds colorés) */
.socials .social-btn{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.2);
  transition: transform .15s ease, filter .15s ease;
  color: #fff;
  font-size: 34px; /* taille de l’icône */
  text-decoration: none;
}
.socials .social-btn:hover{
  transform: translateY(-3px);
  filter: brightness(1.08);
}

/* Couleurs brand (halo léger via gradient) */
.socials .linkedin{  background: radial-gradient(60% 60% at 50% 50%, #0A66C2 0%, #0A66C2 70%, rgba(10,102,194,.85) 100%); }
.socials .instagram{ background: radial-gradient(60% 60% at 40% 40%, #FEDA77 0%, #F58529 35%, #DD2A7B 65%, #8134AF 85%); }
.socials .facebook{  background: radial-gradient(60% 60% at 50% 50%, #1877F2 0%, #1877F2 80%, rgba(24,119,242,.85) 100%); }
.socials .tiktok{    background: radial-gradient(60% 60% at 50% 50%, #000 0%, #000 70%, rgba(0,0,0,.9) 100%); }

/* Responsive */
@media (max-width: 767.98px){
  .btn-cta{ min-width: 260px; }
  .footer-logo{ max-width: 140px; margin-bottom: .5rem; }
}





/* Section “À propos” */
:root{
  --accent: #D90B3F;          /* rose/rouge du cartouche */
  --title:  #0F0F0F;
  --text:   #222;
  --pill:   #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
}

/* Liseré haut */
.top-rail{
  height: 6px;
  background: var(--accent);
}

/* Bloc général */
.about-section{
  background: #fff;
  padding: 40px 0 64px;
}

/* Titres */
.section-title{
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 44px);
  color: var(--title);
  margin-bottom: 18px;
}
.section-subtitle{
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  color: var(--title);
}

/* Cartouche rouge “intro” */
.intro-card{
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 16px 18px;
  max-width: 820px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  text-align: left;
  font-size: clamp(14px, 1.6vw, 16.5px);
}

/* Portrait */
.about-portrait{
  max-height: 420px;
  object-fit: contain;
}

/* Cartes compétences */
.skill{
  background: var(--pill);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 12px 14px;
  width: min(330px, 100%);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 10px;
}
.skill .icon{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #A0E1FF 0%, #EED2FF 100%);
  color: #1f2a44;
  font-size: 22px;
}
.skill .label{
  color: var(--text);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .2px;
  font-size: clamp(14px, 1.6vw, 16px);
}

/* Bouton CV mini (bas droit) */
.btn-cv-mini{
  position: absolute;
  right: 12px;
  bottom: -8px;
  background: #1E3A8A;   /* bleu foncé comme sur la capture */
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(30,58,138,.35);
  transition: transform .15s ease, filter .15s ease;
}
.btn-cv-mini:hover{ color:#fff; transform: translateY(-2px); filter: brightness(1.05); }

/* Responsive tweaks */
@media (max-width: 991.98px){
  .about-portrait{ max-height: 360px; }
  .skill{ width: 100%; }
}
@media (max-width: 575.98px){
  .intro-card{ text-align: left; }
}






/* Section “Projets” */
:root{
  --accent: #E20C54;     /* rose du bouton */
  --card-bg: #ffffff;
  --title:  #0E0E0E;
  --text:   #333;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(0,0,0,.08);
}

.projects-section{
  background: #fff;
  padding: 36px 0 56px;
}

/* Titre principal */
.section-title{
  font-weight: 800;
  font-size: clamp(28px, 5vw, 48px);
  color: var(--title);
  margin-bottom: 18px;
}

/* Carte projet */
.project-card{
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.project-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* Image */
.project-card .thumb{
  width: 100%;
  overflow: hidden;
}
.project-card .thumb img{
  width: 100%;
  height: 170px;            /* proche de la maquette */
  object-fit: cover;
  display: block;
}

/* Contenu */
.project-card .content{
  padding: 14px 16px 16px;
}
.project-card .title{
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--title);
  margin: 2px 0 8px;
}
.project-card p{
  color: var(--text);
  font-size: .95rem;
  line-height: 1.35;
  margin: 0 0 6px;
}

/* Bouton CTA */
.btn-primary{
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(226,12,84,.35);
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn-primary:hover{
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(226,12,84,.45);
}

/* Petits ajustements responsive */
@media (min-width: 768px){
  .project-card .thumb img{ height: 180px; }
}
@media (min-width: 1200px){
  .project-card .thumb img{ height: 190px; }
}






/* Section “Liste de projets” */
:root{
  --bg:      #F6F7F9;                 /* fond gris très clair */
  --card:    #FFFFFF;
  --title:   #0E0E0E;
  --text:    #222;
  --muted:   #666;
  --radius:  12px;
  --shadow1: 0 10px 22px rgba(0,0,0,.08);     /* ombre douce */
  --shadow2: 0 22px 40px rgba(0,0,0,.10);     /* ombre portée */
  --border:  1px solid rgba(0,0,0,.08);
}

html,body{ background:#fff; }

/* Section */
.projects-list-section{
  background: #fff;
  padding: 28px 0 56px;
}

/* Titre */
.section-title{
  font-weight: 800;
  font-size: clamp(26px, 5.4vw, 44px);
  color: var(--title);
  margin-bottom: 16px;
}

/* Pile de cartes au centre (max ~mobile large/tablette étroite comme la capture) */
.container-sm{ max-width: 680px; }

.stack{
  display: grid;
  gap: 18px;
}

/* Carte projet style “feuille” */
.project-card{
  background: var(--card);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow1);
  overflow: hidden;
  position: relative;
}

/* Petite ombre étagée comme si la carte “flottait” */
.project-card::after{
  content:"";
  position:absolute;
  left:12px; right:12px; bottom:-8px;
  height:16px; border-radius: 12px;
  box-shadow: var(--shadow2);
  z-index:-1;
}

/* Titre de carte */
.project-title{
  margin: 0;
  padding: 12px 14px 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--title);
}

/* Corps de carte */
.project-body{
  padding: 8px 14px 14px;
  color: var(--text);
  font-size: .97rem;
  line-height: 1.42;
}
.project-body p{ margin-bottom: .35rem; }
.project-body ul{
  margin: 0 0 .6rem 1.1rem;
}
.project-body li{
  margin: .15rem 0;
}

/* Responsive : souffle un peu sur les grands écrans */
@media (min-width: 992px){
  .container-sm{ max-width: 760px; }
}







/* Section “Services & Compétences” */

:root{
  --accent: #D90B3F;             /* rouge/rose cartouche */
  --accent-cta: #E20C54;         /* bouton/pourcentage */
  --title:  #0D0D0D;
  --text:   #222;
  --tool-bg: #0F2E5E;            /* fond cartes outils */
  --tool-grad: linear-gradient(180deg, #0F346B 0%, #0F2E5E 100%);
  --panel: #ffffff;
  --shadow: 0 12px 26px rgba(0,0,0,.10);
  --radius: 14px;
}

/* Section */
.services-section{
  background: #fff;
  padding: 36px 0 56px;
}

/* Titres */
.section-title{
  font-weight: 800;
  font-size: clamp(28px, 5vw, 44px);
  color: var(--title);
  margin-bottom: 10px;
}
.lead-mini{
  font-weight: 700;
  font-size: clamp(16px, 2.6vw, 22px);
  color: var(--title);
  margin: 4px 0 10px;
}

/* Cartouche rouge – liste des services */
.services-card{
  background: var(--accent);
  color: #fff;
  max-width: 680px;
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
}
.services-list{
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.services-list li{
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
  line-height: 1.35;
  font-size: clamp(14px, 1.7vw, 16px);
}
.services-list li::before{
  content: "";
  position: absolute;
  left: 8px; top: .5em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2B76FF; /* puce bleue */
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
}

/* Titre outils */
.tools-title{
  font-weight: 800;
  font-size: clamp(22px, 4vw, 32px);
  color: var(--title);
}

/* Board blanc contenant les cartes */
.tools-board{
  background: var(--panel);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow);
}

/* Carte outil */
.tool-card{
  background: var(--tool-grad);
  border-radius: 16px;
  padding: 12px 10px 10px;
  color: #fff;
  box-shadow: 0 10px 20px rgba(15,46,94,.28);
  border: 1px solid rgba(255,255,255,.06);
  display: grid;
  grid-template-rows: auto auto auto;
  align-items: start;
}

/* Icône dans un carré blanc arrondi */
.tool-icon{
  width: 56px;
  height: 56px;
  margin: 2px auto 8px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.16);
  overflow: hidden;
}
.tool-icon img{
  max-width: 70%;
  max-height: 70%;
}

/* Nom + pourcentage */
.tool-name{
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.1;
}
.tool-level{
  margin-top: 8px;
}
.tool-level span{
  display: inline-block;
  background: var(--accent-cta);
  color: #fff;
  padding: 4px 10px;
  font-size: .85rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(226,12,84,.35);
}

/* Responsive */
@media (max-width: 575.98px){
  .tools-board{ padding: 12px; }
  .tool-icon{ width: 52px; height: 52px; }
}





/* Section “Contact” */
:root{
  --title:   #0B0B0B;
  --field-bg:#FFFFFF;
  --field-bd:#D9D9DF;
  --field-bd-focus:#8BA7FF;
  --placeholder:#9AA0A6;
  --btn-bg:  #1E3A8A;   /* bleu du bouton */
  --btn-bg-h:#2045A8;
  --btn-text:#FFFFFF;
  --radius:  12px;
  --shadow:  0 10px 24px rgba(0,0,0,.10);
}

/* Section */
.contact-section{
  background:#fff;
  padding: 36px 0 56px;
}

/* Titre */
.section-title{
  font-weight: 900;
  font-size: clamp(28px, 6vw, 56px);
  color: var(--title);
  letter-spacing: .3px;
  margin-bottom: 16px;
}

/* Cadre carte */
.map-frame{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(0,0,0,.25);
  box-shadow: var(--shadow);
  background:#f4f6f9;
  aspect-ratio: 16/9;        /* garde un beau ratio */
}
.map-frame img,
.map-frame iframe{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  border:0;
}

/* Formulaire */
.contact-form{
  display: grid;
  gap: 14px;
}
.contact-form .form-control{
  background: var(--field-bg);
  border: 1px solid var(--field-bd);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 1rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.02) inset;
}
.contact-form .form-control::placeholder{
  color: var(--placeholder);
}
.contact-form .form-control:focus{
  border-color: var(--field-bd-focus);
  box-shadow: 0 0 0 3px rgba(139,167,255,.25);
  outline: 0;
}

/* Bouton */
.btn-send{
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(30,58,138,.3);
  width: fit-content;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn-send:hover{
  color: var(--btn-text);
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(30,58,138,.35);
}

/* Petits écrans : on empile proprement */
@media (max-width: 991.98px){
  .map-frame{ aspect-ratio: 16/10; }
}
@media (max-width: 575.98px){
  .map-frame{ aspect-ratio: 4/3; }
}

