/* Titouan moquet - 2026 - all rights reserved */

/*1.1.9*/

@font-face {
  font-family: 'sn_proextralight';
  src: url('../assets/fonts/SN_Pro/SNPro-VariableFont_wght.ttf');
  font-weight: normal;
  font-style: normal;
}

/* @font-face {
  font-family: 'sixtyfour';
  src: url('../assets/fonts/Sixtyfour/Sixtyfour-Regular-VariableFont.ttf');
  font-weight: normal;
  font-style: normal;
} */

@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins/Poppins-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/fonts/poppins/Poppins-Bold.ttf');
  font-weight: bold;
  font-style: normal;
}

/* var */

:root {
  --border-rad: 25px;
  --border-rad-winbox: 15px;
  --text-size: 1em;

  --blur: 10px;
  --more-blur: 30px;

  --bg: #020816;
  --text-color: #ecf0f3;
  --accent: #12c4e8;

  --cursor-circle-color: #ffffff4b;
  --nav-bg: #ffffff0d;
  --nav-border: #ffffff4d;
  --btn-ghost-bg: transparent;

  /*
  --bg2: #010c29;
  --bg3: #071d33; 
  --background: #040f20;
  --background: linear-gradient(117deg, #040f20 0%, #09162a 60%, #040f20 100%); 
  */
}

/* body */

body {
  margin: 0;
  padding: 0;

  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 1.1em;

  background: var(--bg);
  color: var(--text-color);

  /* background-attachment: fixed; */
}

.no-scroll {
  overflow: hidden;
  padding-right: 15px;
}

/* ==== CURSOR ==== */
.cursor {
  width: 40px;
  height: 40px;
  border: 2px solid var(--cursor-circle-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  pointer-events: none;
}

/* ==== HEADER / HERO ==== */
.hero {
  height: 96vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  margin: auto;
  text-transform: uppercase;
  font-size: 4em;
  cursor: default;
}

.accent-title {
  color: var(--accent);
}

@keyframes arrow-movement {
  0% {
    opacity: 0;
    top: 85%;
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.arrow {
  opacity: 0;
  position: absolute;
  left: 50%;
  top: 90%;
  transform-origin: 50% 50%;
  transform: translate3d(-50%, -50%, 0);
}

.arrow-first {
  animation: arrow-movement 2s ease-in-out infinite;
}

.arrow-second {
  animation: arrow-movement 2s 1s ease-in-out infinite;
}

.arrow:before,
.arrow:after {
  background: #ffffff80;
  content: '';
  display: block;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
}

.arrow:before {
  transform: rotate(45deg) translateX(-23%);
  transform-origin: top left;
}

.arrow:after {
  transform: rotate(-45deg) translateX(23%);
  transform-origin: top right;
}

.liquid-bg::before,
.liquid-bg::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  z-index: -1;
}

.liquid-bg::before {
  background: #3b82f6;
  top: 10%;
  left: 20%;
}

.liquid-bg::after {
  background: #06b6d4;
  bottom: 10%;
  right: 20%;
}

.presentation .container {
  display: flex;

}

.presentation .box-img {
  margin-left: auto;
  overflow: hidden;
  border-radius: 20px;
  height: 300px;
  box-shadow: inset 0px 0px 50px var(--accent);
}

.presentation img {
  width: 250px;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}


.presentation img:hover {
  transform: scale(1.06);
}

.presentation .presentation-text {
  width: 60%;
  justify-content: center;
  background-color: var(--bg);
  border: none;
  box-shadow: none;
  margin-right: 30px;
}

.presentation .presentation-text p {
  margin: 0;
  text-align: justify;
  font-size: 1.2em;
  /* letter-spacing: 2px; */
  line-height: 33px;
}

.presentation .help {
  cursor: help;
  text-decoration: underline dotted;
}

#alternance-btn {
  display: block;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}

/* ==== FOOTER ==== */

/* footer {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  text-align: center;
  margin-bottom: 46px;
}

footer .credits {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

footer a,
footer span {
  margin-left: 1em;
} */

footer {
  background: var(--nav-bg);
  backdrop-filter: blur(var(--blur));
  border-top: 1px solid var(--nav-border);
  padding: 3rem 0 1rem 0;
  margin-top: 4rem;
  margin-bottom: 46px;
}


.footer-main {
  max-width: 70%;
  margin: 0 auto 3rem auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  text-align: left;
}

.footer-column h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-column h4 {
  text-decoration: none;
  font-size: 1.1em;
  margin-bottom: 1.2rem;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  color: var(--text-color);
  text-decoration: none;
  opacity: 0.8;
  transition: 0.3s;
}

.footer-nav-links a:hover {
  color: var(--accent);
  opacity: 1;
  padding-left: 5px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  font-size: 1.5em;
  margin-top: 15px;
}

.footer-socials svg {
  width: 40px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 70%;
  margin: 0 auto;
  font-size: 0.9em;
}

/* Responsive */
@media screen and (max-width: 850px) {
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 90%;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    max-width: 90%;
  }
}

/* ==== NAVBAR ==== */

body>header {
  display: flex;
  justify-content: center;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 100;
}

.navbar {
  position: fixed;
  top: 25px;
  height: 50px;
  width: 55%;
  background: var(--nav-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--nav-border);
  border-radius: 50px;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  max-height: 50px;
}

.navbar.scrolled {
  top: 6px;
  /* padding: 5px 8px; */
  height: 40px;
}

.navbar.scrolled a {
  font-weight: normal;
}

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}

.links-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 20px;
  transition: 0.3s;
}

.icon-github-circled {
  font-size: 120%;
}

.navbar a:hover {
  background: rgba(255, 255, 255, 0.1);
}

#menu-toggle {
  display: none;
}

.burger {
  display: none;
  cursor: pointer;
  color: white;
  font-size: 1.5rem;
}

/* ==== ALTERNANCE === */

.alternance {
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  color: white;
  padding: 10px 0;
  font-family: 'Arial', sans-serif;
  white-space: nowrap;
  display: flex;
  position: fixed;
  z-index: 100;
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.alternance-texte {
  display: inline-block;
  animation: defilement 20s linear infinite;
}

.alternance-texte span {
  display: inline-block;
  padding-right: 50px;
}

@keyframes defilement {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.alternance:hover .texte {
  animation-play-state: paused;
}

/* info page en cours de créa */

.tooltips-info {
  position: fixed;
  top: 0;
  right: 0;
  background-color: #d12009;
  padding: 5px 10px;
  border-bottom-left-radius: 15px;
  font-weight: bold;
}

/* === SECTIONS ==== */

section {
  opacity: 0;
  transition: all 1.5s ease-out;
}

section.appear {
  opacity: 1;
}

section {
  padding: 2rem;
  max-width: 70%;
  margin: auto;
  transition: all 0.8s ease;
}

/* === TITLES ==== */
h2 {
  color: var(--accent);
  margin-top: 0;
  font-size: 2em;
  text-transform: uppercase;
  text-align: center;
}

h3 {
  margin: 0;
  font-size: 1.6em;
}

h4 {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  color: var(--text-color);
  font-size: 1.3em;
}

/* ==== TEXTS ==== */
.accent-text {
  color: var(--accent);
}

.code {
  background-color: #021014;
  font-family: monospace;
  padding: 5px;
  border-radius: 5px;
}

p {
  font-size: var(--text-size);
  color: var(--text-color);
  font-weight: normal;
}

.ghost-txt {
  color: #ffffff9c;
}

i {
  margin-left: 5px;
}

.icon-images {
  margin-left: 5px;
  width: 1.1em;
}

/* ==== ARTICLES ==== */
article {
  border-radius: var(--border-rad);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* list */

ul {
  padding-left: 1.2rem;
}

/* ==== LINKS ==== */

a {
  color: var(--accent);
}

.useful-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.useful-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 500;

  background: rgba(18, 196, 232, 0.1);
  border: 1px solid rgba(18, 196, 232, 0.3);
  border-radius: var(--border-rad);
  backdrop-filter: blur(var(--blur));

  transition: all 0.3s ease;
}


.useful-links a:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(18, 196, 232, 0.3);
}

.useful-links a i,
.useful-links a img {
  margin-left: 10px;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.useful-links a:hover img.icon-images {
  filter: invert(1);
}

/* Animation de l'icône au hover */
.useful-links a:hover i {
  transform: scale(1.2);
}


/* status */
.warning {
  border-left: orange solid 4px;
  padding-left: 10px;
  background-color: #ffa60013;
  margin-top: 1.3em;
  padding-top: 10px;
  padding-bottom: 10px;
}

.warning span:first-of-type {
  font-weight: bold;
  font-size: 1.1em;
  color: orange;
}

.note {
  border-left: #0088ff solid 4px;
  padding-left: 10px;
  background-color: #0066ff2c;
  margin-top: 1.3em;
  padding-top: 10px;
  padding-bottom: 10px;
}

.note span:first-of-type {
  font-weight: bold;
  font-size: 1.1em;
  color: #0088ff;
}

/* buttons */

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid transparent;
  font-size: 1em;
  transition: transform 0.3s ease;
  margin-left: 1em;
}

.btn:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/*
.primary {
  background: linear-gradient(90deg, var(--accent), #4dd9b1);
  color: #021014;
}
*/

.ghost {
  background: var(--btn-ghost-bg);
  color: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.148);
}

/* description */

.formation {
  opacity: 1;
  background: linear-gradient(92deg, #0be9c83e 49.91%, #0abed243 99.93%);
  color: #fff;
  letter-spacing: .1em;
  border-radius: 7px;
  margin: 0 .3rem;
  padding: .3rem .6rem;
  line-height: 100%;
  font-weight: bold !important;
  display: inline-block !important;
}

/* icons skills */

.icon-skill {
  display: flex;
  flex-wrap: wrap;
}

.icon-skill figure {
  text-align: center;
  margin: 0.5em;
  transition: transform 0.5s ease;
}

.icon-skill figure:hover {
  transform: scale(1.1);
}

#competences article {
  padding: 1em;
  margin: 0;
}

#competences h3 {
  margin-bottom: 0;
  font-size: 1.4em;
  margin-left: 6px;
}

.competences-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

/* projects */

.projects p {
  font-weight: normal;
  margin-bottom: 0;
}

.projectsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(490px, 1fr));
  grid-column-gap: 40px;
  grid-row-gap: 40px;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--border-rad);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  transform: translate(0px);
}

.project-card h4 {
  text-decoration: none;
  font-size: 1.6em;
  margin: 0;

}

.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
}

.thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
}

.summary_container {
  display: flex;
  padding: 1.2em;

}

.summary {
  max-width: 58%;
}

.project-tech {
  margin-left: auto;
  margin-right: 2em;
  margin-top: auto;
  margin-bottom: auto;
  text-align: end;
}

.project-tech img {
  margin-left: 1em;
}

.project-card .btn {
  width: fit-content;
  margin: auto 2em 2em 2em;
}

.project-tooltips {
  position: absolute;
  top: 0;
  right: 0;
  background: #0070d2;
  color: white;
  border-radius: 0 0 0 20px;
  padding: 3px 1em 3px 1em;
  font-size: var(--text-size);
  font-weight: bold;


}

/* .usa-website .screenshot img {
  width: 100%;
  height: auto;
  border-radius: var(--border-rad);
} */

/* WINBOX */
.winbox {
  background: #00715500;
  border-radius: var(--border-rad-winbox);
}

.wb-title {
  margin-left: 5px;
}

.wb-body {
  color: #ecf0f3;
  padding: 2rem;
  border-radius: var(--border-rad-winbox);
  scrollbar-width: none;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);

}

.project-modal h2 {
  color: var(--accent);
}

.project-modal h3 {
  font-size: 1.8em;
}

.icons img {
  margin-right: 1em;
}

/* about & legal */

.about h1,
.legal h1 {
  margin: 4em 1em 0.5em 1em;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
}

.about h3 {
  text-align: center;
}

.about p,
.legal p {
  font-weight: normal;
}

.legal a {
  font-size: 1.1em;
}

.section-about article,
.section-legal article {
  padding: 1em;
  margin: 1em 0;
}

.section-about .article-container {
  /* display: grid;
  grid-template-columns: repeat(3, 1fr); */
  display: flex;
  flex-wrap: wrap;

  gap: 1em;
}

.section-about .article-container h3 {
  margin-bottom: 10px;
}

.section-about h3 .section-legal h3 {
  margin-bottom: 1em;
}

.section-about img {
  width: 30px;
}

.section-about .btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 250px;
  margin: 0;
  border-radius: var(--border-rad);
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
}

.section-about .inversed-icon img {
  filter: invert(1);
}

.section-about article {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-about p {
  margin-bottom: 0;
}

/* ==== GALLERIE ==== */
.gallery-container {
  display: grid;
  /* padding: 30px; */
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin-bottom: 30px;

}


.gallery-item {
  height: 200px;
  width: 400px;
  object-fit: cover;
  border-radius: var(--border-rad-winbox);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  position: relative;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(18, 196, 232, 0.15);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 8, 22, 0.9);
  backdrop-filter: blur(var(--more-blur));
  justify-content: center;
  align-items: center;
}

.modal-content-wrapper {
  max-width: 80%;
  max-height: 80%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  /* Aligne l'image et le texte verticalement */
  align-items: center;
  gap: 15px;
}

#modal-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-rad-winbox);
  border: 1px solid var(--nav-border);
  box-shadow: 0 0 30px rgba(18, 196, 232, 0.2);
}

.modal-caption {
  color: white;
  font-size: 1.1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  /* Optionnel : fond semi-transparent */
  padding: 5px 15px;
  border-radius: 5px;
}


.modal-close,
.modal-prev,
.modal-next {
  position: absolute;
  color: var(--text-color);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--nav-border);
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close {
  top: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 25px;
}

.modal-prev,
.modal-next {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 15px;
  font-size: 20px;
}

.modal-prev {
  left: 5%;
}

.modal-next {
  right: 5%;
}

.modal-close:hover,
.modal-prev:hover,
.modal-next:hover {
  background: var(--accent);
  color: var(--bg);
}


/*responsive*/

@media screen and (max-width: 1070px) {
  .competences-container {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width:855px) {
  .projectsGrid {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width:500px) {
  :root {
    --text-size: 1em;
  }

  section {
    padding: 1em !important;
    max-width: auto !important;
  }
}

@media screen and (max-width:1020px) {
  main header div {
    margin-right: 10px;
    margin-left: 10px;
    width: 90%;
  }

  main header h1 {
    font-size: 3em;
  }

  p {
    font-size: 1em;
  }
}

@media screen and (max-width:480px) {
  main header h1 {
    font-size: 2em;
  }
}

@media screen and (max-width: 550px) {
  footer .credits {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  footer a {
    margin-left: 0;

  }

  footer div {
    display: flex;
    flex-direction: column;
  }

  .liquid-bg::before,
  .liquid-bg::after {
    width: 100px;
    height: 100px;
  }
}


@media screen and (max-width: 850px) {

  .navbar {
    width: 90%;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    top: 6px;
  }


  .nav-header {
    width: 100%;
    padding-top: 5px;
  }

  .navbar.scrolled .nav-header {
    padding-top: 0;
  }

  .burger {
    display: block;
    margin-right: 10px;
  }

  .navbar.scrolled .burger {
    margin-right: 5px;
  }

  .links-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px;
  }

  .navbar:has(#menu-toggle:checked) {

    height: 272px;
    max-height: 400px;
    border-radius: 30px;

    backdrop-filter: blur(var(--more-blur));
    -webkit-backdrop-filter: blur(var(--more-blur));
  }

  .navbar:has(#menu-toggle:checked).scrolled {
    height: 277px;
  }

  .navbar:has(#menu-toggle:checked) .links-container {
    opacity: 1;
    pointer-events: auto;
  }
}

@media screen and (max-width: 1355px) {

  .navbar {
    width: 90%;
  }
}

@media screen and (max-width: 1280px) {

  .box-img {
    display: none;
  }

  .presentation .presentation-text {
    width: 100%;
    margin: 0;
  }

}

@media screen and (max-width: 660px) {

  .hero h1 {
    font-size: 2em;
  }

  .liquid-bg::before,
  .liquid-bg::after {
    width: 200px;
    height: 200px;
  }
}



@media (any-pointer: coarse) {
  .cursor {
    display: none;
  }
}


/* ==== FORMATION ==== */

.formation-section {
  padding: 2rem;
  max-width: 70%;
  margin: auto;
}

.formation-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.formation-card {
  padding: 1.5rem;
  border-radius: var(--border-rad);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Effet au survol similaire à vos cartes de projets */
.formation-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(18, 196, 232, 0.1);
}

.formation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}

.formation-card h3 {
  color: #fff;
  font-size: 1.4em;
  font-weight: bold;
}

.formation-card .date {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95em;
  background: rgba(18, 196, 232, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(18, 196, 232, 0.2);
}

.formation-card .lieux {
  display: block;
  color: #ffffff9c;
  /* Identique à votre classe .ghost-txt */
  font-size: 0.95em;
  margin-bottom: 15px;
  font-style: italic;
}

.formation-card .lieux::before {
  content: "📍 ";
  font-style: normal;
}

.formation-card .description {
  margin: 0;
  line-height: 1.6;
  color: var(--text-color);
  text-align: justify;
  font-size: 0.95em;
}

.formation-card .description strong {
  color: var(--accent);
  font-weight: 500;
}

/* Responsive pour les tablettes et smartphones */
@media screen and (max-width: 768px) {
  .formation-section {
    max-width: 90%;
    padding: 1rem;
  }

  .formation-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .formation-card .date {
    align-self: flex-start;
  }
}