@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

*{ margin:0; padding:0; box-sizing:border-box }
html{ font-size:62.5%; scroll-behavior:smooth }
body{
  font-family:'Poppins',sans-serif; color:#fff; background:#000; line-height:1.5;
}

/* Header */
.site-header{
  position:sticky; top:0; z-index:1000;
  display:flex; justify-content:space-between; align-items:center;
  padding:1.2rem 9%;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(183,75,75,.25);
}
.logo{ font-size:2.4rem; font-weight:800; color:#b74b4b }
.site-nav a{
  color:#fff; margin-left:2.4rem; font-size:1.6rem;
  border-bottom:2px solid transparent; transition:.2s;
}
.site-nav a:hover{ color:#b74b4b; border-bottom-color:#b74b4b }

/* Sections */
section{ padding:5rem 9% }

/* Home */
.home{
  min-height:100vh; display:flex; align-items:center; justify-content:center; gap:6rem;
}
.home-img img{
  width:32vw; max-width:380px; border-radius:50%;
  box-shadow:0 0 25px #b74b4b;
}
.home-content h3{ font-size:3.2rem; font-weight:700; margin-bottom:.6rem }
.typing-text{ font-size:3rem; font-weight:700; min-height:3.4rem; margin-bottom:1.2rem }
.typing-text span{ position:relative }
.typing-text span::after{
  content:""; position:absolute; right:-6px; top:.15em;
  width:2px; height:1.1em; background:#b74b4b; animation:blink .7s infinite;
}
.typing-text span{
  color: #b74b4b;  
}
@keyframes blink{ 0%,50%{opacity:1} 51%,100%{opacity:0} }
.home-content p{ font-size:1.6rem; opacity:.95; margin:.6rem 0 }
.social-icons a{
  display:inline-flex; align-items:center; justify-content:center;
  width:4rem; height:4rem; margin:1.2rem 1rem 1.2rem 0;
  color:#b74b4b; border:1.5px solid #b74b4b; border-radius:50%; transition:.2s;
}
/* Icônes sociales */
.social-icons a{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4.5rem;
  height: 4.5rem;
  background-color: transparent;
  border: 0.2rem solid #b74b4b;
  font-size: 2rem;
  border-radius: 50%;
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.3s ease;
  color: #b74b4b;
}

.social-icons a:hover{
  color: black;
  background-color: #b74b4b;
  transform: scale(1.2) translateY(-5px);
  box-shadow: 0 0 25px #b74b4b;
}

/* Bouton CV */
.btn{
  display: inline-block;
  padding: 1rem 2.8rem;
  background-color: black;
  border-radius: 4rem;
  font-size: 1.6rem;
  color: #b74b4b;
  letter-spacing: 0.3rem;
  font-weight: 600;
  border: 2px solid #b74b4b;
  transition: 0.3s ease;
  cursor: pointer;
}

.btn:hover{
  transform: scale(1.08);
  background-color: #b74b4b;
  color: black;
  box-shadow: 0 0 25px #b74b4b;
}


/* Sections à cartes */
.section-cards{ background:#111 }
.section-cards h2{ text-align:center; font-size:3rem; color:#b74b4b; margin-bottom:2rem }
.cards-grid{ display:grid; gap:2rem }
.card{
  background:#1b1b1b; border:1px solid #b74b4b; border-radius:1rem; padding:2rem
}
.card h3{ color:#c8a045; margin-bottom:1rem; font-size:2rem }
.card p, .card li{ font-size:1.5rem }
.card ul{ margin:1rem 0 0 1.4rem }

/* Footer */
.site-footer{
  background:#0b0b0b; text-align:center; padding:2.4rem 1rem;
  border-top:1px solid rgba(183,75,75,.3)
}
.site-footer p{ font-size:1.4rem; margin:1rem 0 }
.footer-actions{ margin:1.6rem 0 }
.site-footer .btn{ font-size:1.6rem }

/* Responsive */
@media (min-width:900px){
  .cards-grid{ grid-template-columns:1fr 1fr }
}
@media (max-width:995px){
  .home{ flex-direction:column; gap:3rem }
  .home-img img{ width:68vw; max-width:420px }
  .site-nav a{ margin-left:1.6rem }
}
/* P sous les titres */
.section-tagline {
  text-align: center;
  margin: .4rem 0 2rem;
  opacity: .85;
  font-size: 1.5rem;
  font-style: italic;
}
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  border: 1px solid rgba(183,75,75,.35);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  /* Hack pour forcer le ratio 16/9 merci GPT */
  padding-top: 56.25%; 
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

