body {
  margin:0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0d1f1a, #132d25, #1a3d30);
  color:#fff;
}

/* nav */
nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 80px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

nav .logo {
  font-family: 'DM Serif Display', serif;
  font-size:24px;
  background: linear-gradient(90deg, #2ecc8e, #00d4ff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

nav ul {
  display:flex;
  gap:30px;
  list-style:none;
  padding:0;
  margin:0;
}

nav ul a {
  color:rgba(255,255,255,0.55);
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  transition: color 0.2s;
}

nav ul a:hover {
  color:#fff;
}

/* HERO */
.hero {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:80px;
  gap:50px;
}

.hero-left h1 {
  font-family: 'DM Serif Display', serif;
  font-size:60px;
  background: linear-gradient(90deg, #2ecc8e, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing:-1px;
}

.slogan {
  font-size:22px;
  font-weight:600;
  margin:15px 0;
  color:#ccefff;
}

.desc {
  font-size:16px;
  line-height:1.7;
  color:#dfefff;
}

.hero-points li {
  margin:8px 0;
  list-style:none;
}

.hero-points li::before {
  content:"•";
  margin-right:10px;
  color:#2ecc8e;
}

/*badge 100% gratuit*/
.hero-badge {
  display:inline-block;
  background: rgba(46,204,142,0.12);
  border: 1px solid rgba(46,204,142,0.35);
  color:#2ecc8e;
  font-size:12px;
  font-weight:600;
  letter-spacing:0.07em;
  padding:5px 14px;
  border-radius:100px;
  margin-bottom:20px;
}

/*bouton principal*/
.btn-hero {
  margin-top:20px;
  background: linear-gradient(90deg, #1a6b52, #2ecc8e);
  color:#fff;
  border:none;
  padding:13px 28px;
  border-radius:100px;
  font-family:'Poppins',sans-serif;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  transition: all 0.25s;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(46,204,142,0.4);
}

.hero-right {
  width:40%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(15px);
  padding:25px;
  border-radius:20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  color:#fff;
  border: 1px solid rgba(46,204,142,0.15);
  /* legere rotation pour effet carte */
  transform: rotate(1.5deg);
  transition: transform 0.3s;
}

.hero-right:hover {
  transform: rotate(0deg) scale(1.01);
}

/*exemple*/
.hero-right-label {
  font-size:11px;
  font-style:italic;
  color:rgba(255,255,255,0.4);
  margin-bottom:12px;
}

/* TITLES */
.section-title {
  text-align:center;
  padding:60px 20px;
}

.section-title h2 {
  font-family: 'DM Serif Display', serif;
  font-size:36px;
  margin-bottom:8px;
}

.section-title p {
  color:#bbb;
}

/* FEATURES */
.features {
  display:flex;
  justify-content:center;
  gap:25px;
  padding:40px;
}

.card {
  background: rgba(46,204,142,0.06);
  padding:25px;
  border-radius:15px;
  backdrop-filter: blur(10px);
  transition:0.3s;
  width:200px;
  text-align:center;
  border: 1px solid rgba(46,204,142,0.12);
  /* pseudo-element lueur interne */
  position:relative;
  overflow:hidden;
}

/* lueur de fond au hover */
.card::before {
  content:'';
  position:absolute;
  bottom:-40px;
  right:-40px;
  width:100px;
  height:100px;
  background: radial-gradient(circle, rgba(46,204,142,0.15), transparent);
  border-radius:50%;
  transition: transform 0.3s;
}

.card:hover {
  transform:translateY(-10px) scale(1.05);
  border-color: rgba(46,204,142,0.4);
  background: rgba(46,204,142,0.1);
}

.card:hover::before {
  transform: scale(2);
}

/* STEPS */
.steps {
  display:flex;
  justify-content:center;
  gap:30px;
  padding:50px;
}

.step {
  width:250px;
  padding:25px;
  border-radius:15px;
  background: linear-gradient(145deg, #0f2218, #162e22);
  border: 1px solid rgba(46,204,142,0.12);
  transition: border-color 0.3s;
}

.step:hover {
  border-color: rgba(46,204,142,0.3);
}

/*num de step */
.step-num {
  width:40px;
  height:40px;
  background: rgba(46,204,142,0.15);
  border: 1px solid rgba(46,204,142,0.3);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:16px;
  color:#2ecc8e;
  margin-bottom:14px;
}

.container {
  display:flex;
  gap:20px;
  padding:40px;
}

.formulaire {
  width:40%;
  background: rgba(255,255,255,0.04);
  padding:25px;
  border-radius:20px;
  border: 1px solid rgba(255,255,255,0.07);
  /* formulaire fixe pendant le scroll */
  position:sticky;
  top:20px;
  align-self:flex-start;
}

.formulaire h3 {
  font-size:11px;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#2ecc8e;
  margin:18px 0 6px;
}

/* wrapper de l'apercu cv */
.cv-wrapper {
  width:60%;
  background:#dde5e2;
  border-radius:20px;
  padding:16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.cv-wrapper-label {
  font-size:10px;
  font-weight:600;
  letter-spacing:0.07em;
  text-transform:uppercase;
  color:#7a9088;
  margin-bottom:10px;
}

.cv {
  width:100%;
  background:white;
  color:black;
  padding:30px;
  border-radius:14px;
  border-top:6px solid var(--c);
  box-sizing:border-box;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.cv-header {
  text-align:center;
  border-bottom:3px solid var(--c);
  padding-bottom:14px;
  margin-bottom:14px;
}

/* nom dans le cv */
.cv-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size:28px;
  color:#111;
  margin-bottom:4px;
}

.cv-header p {
  font-size:13px;
  color:#555;
  margin:2px 0;
}

.section {
  margin-bottom:18px;
}

.section h3 {
  color: var(--c);
  font-size:12px;
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  /* separateur sous les titres de section */
  border-bottom: 1px solid var(--c);
  padding-bottom:4px;
  margin-bottom:8px;
  opacity:0.9;
}

.section p {
  font-size:13px;
  color:#333;
  line-height:1.6;
  margin:4px 0;
}

/* THEMES */
.theme0 { --c:#000; }
.theme1 { --c:#2f404a; }
.theme2 { --c:#01360f; }
.theme3 { --c:#311810; }

/* INPUTS */
input, textarea {
  width:100%;
  margin:8px 0;
  padding:12px;
  border-radius:10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.07);
  color:white;
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
  font-family:'Poppins',sans-serif;
}

input:focus, textarea:focus {
  border-color: rgba(46,204,142,0.5);
}

input::placeholder, textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

select {
  background: rgba(255,255,255,0.07);
  color:white;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius:10px;
  padding:10px;
  width:100%;
  margin:8px 0;
  outline:none;
  font-family:'Poppins',sans-serif;
}

select option {
  color:black;
}

/* BUTTON */
button {
  background: rgba(46,204,142,0.15);
  color:#2ecc8e;
  border: 1px solid rgba(46,204,142,0.3);
  padding:12px;
  border-radius:10px;
  cursor:pointer;
  transition: all 0.2s;
  font-family:'Poppins',sans-serif;
  font-weight:500;
}

button:hover {
  background: rgba(46,204,142,0.25);
  transform: translateY(-2px);
}

.btn-dl {
  background: linear-gradient(90deg, #1a6b52, #2ecc8e);
  color:#fff;
  border:none;
  width:100%;
  padding:13px;
  font-size:14px;
  font-weight:600;
  border-radius:10px;
  margin-top:4px;
}

.btn-dl:hover {
  box-shadow: 0 8px 20px rgba(46,204,142,0.35);
  transform: translateY(-2px);
}

.btn-group {
  display:flex;
  gap:10px;
  margin-top:10px;
}

/*champs dynamiques*/
.dynamic-field {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius:10px;
  padding:10px;
  margin-bottom:8px;
  position:relative;
}

/*btn supprimer champ*/
.rm-btn {
  position:absolute;
  top:8px;
  right:8px;
  background: rgba(220,50,50,0.2);
  border:none;
  color:rgba(255,100,100,0.9);
  width:20px;
  height:20px;
  border-radius:5px;
  cursor:pointer;
  font-size:12px;
  padding:0;
}

.rm-btn:hover {
  background: rgba(220,50,50,0.4);
  transform:none;
  box-shadow:none;
}

/*suggestions soft skills */
#suggestions {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:8px 0;
}

#suggestions span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color:rgba(255,255,255,0.7);
  padding:4px 12px;
  border-radius:100px;
  font-size:12px;
  cursor:pointer;
  transition: all 0.2s;
}

#suggestions span:hover {
  background: rgba(46,204,142,0.14);
  color:#2ecc8e;
  border-color:rgba(46,204,142,0.3);
}

/* PHOTO */
.photo {
  width:110px;
  height:110px;
  border-radius:50%;
  border:4px solid var(--c);
  box-shadow:0 0 15px var(--c);
  /* cachee par defaut si pas de photo */
  display:none;
}

/* FOOTER */
.footer {
  text-align:center;
  padding:40px;
  background:#061410;
  border-top: 1px solid rgba(46,204,142,0.1);
}

/* PRINT */
@media print {
  body * { visibility:hidden; }
  .cv, .cv * { visibility:visible; }
  .cv {
    position:absolute;
    left:0;
    top:0;
    width:100%;
    border-radius:0;
    box-shadow:none;
  }
}
