/* ============================================================
   Accueil — Page d'accueil
   ============================================================ */

/* ---- Hero — plein écran ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* hero-bottom-actions reste en bas */
  overflow: hidden;
  background-image: url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.30) 0%,
    rgba(10,10,10,0.10) 45%,
    rgba(10,10,10,0.70) 100%
  );
  z-index: 1;
}

/* Bloc titre grid : RAOUX Lino/BUT MMI + PORTFOLIO + IUT Toulon/2025-2026 */
.hero-title-block {
  position: absolute;
  left: 72px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  width: max-content;
  row-gap: 6px;
  column-gap: 0;
}

.hero-tl {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: end;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(247,247,255,0.75);
  padding-bottom: 0;
}

.hero-tr {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: end;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(247,247,255,0.75);
  padding-bottom: 0;
}

.hero-name {
  grid-column: 1 / 3;
  grid-row: 2;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(90px, 10vw, 160px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 -18px 0;
  white-space: nowrap;
}

.hero-bl {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  align-self: start;
  font-size: 12px;
  color: rgba(247,247,255,0.7);
  letter-spacing: 0.05em;
  padding-top: 0;
}

.hero-br {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  align-self: start;
  font-size: 12px;
  color: rgba(247,247,255,0.7);
  letter-spacing: 0.05em;
  padding-top: 0;
}

/* CTA À propos — 4e ligne de la grille */
.hero-cta {
  grid-column: 1 / 3;
  grid-row: 4;
  justify-self: start;
  margin-top: 20px;
}

/* Barre d'actions en bas du hero */
.hero-bottom-actions {
  position: relative;
  z-index: 2;
  padding: 0 72px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-role {
  font-size: 13px;
  font-style: italic;
  color: rgba(247,247,255,0.65);
}

/* Icônes mail + linkedin en rose */
.hero-social { display: flex; gap: 12px; }

.hero-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #0a0a0a;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(251,156,228,0.35);
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
}

.hero-social a::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.45) 50%,
    transparent 100%
  );
  transform: skewX(-15deg);
  animation: btn-shimmer 7s infinite;
  animation-delay: 1.5s;
}

.hero-social a:hover {
  background: var(--pink-dark);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 22px rgba(251,156,228,0.55);
}

/* ---- Sections home ---- */
.home-section { padding: 52px 72px; }

.section-heading {
  font-family: var(--font-sub);
  font-size: 26px;
  font-weight: normal;
  margin-bottom: 28px;
  color: var(--white);
  letter-spacing: 0.03em;
}

.section-cta { margin-top: 28px; }

/* ---- À propos — sans rectangle gauche ---- */
.about-section {
  position: relative;
  padding: 52px 72px 0;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/apropos-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.about-section > * { position: relative; z-index: 1; }

/* Colonne unique centrée — plus de grille 2 colonnes */
.about-content {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 52px;
}

.about-question {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  text-align: center;
  text-transform: uppercase;
  color: var(--white);
}

.about-card {
  background: rgba(15,15,15,0.80);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 24px 28px;
}

.about-card-name {
  font-family: var(--font-sub);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  color: var(--white);
}

.about-card p {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 10px;
}

.about-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
  text-align: center;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.skill-tag {
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-light);
  background: rgba(247,247,255,0.04);
}

.about-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- Footer intégré à la section à propos ---- */
.footer-about {
  position: relative;
  z-index: 1;
  margin: 0 20px 20px;
}

@media (max-width: 800px) {
  .hero-top { padding: 24px 20px 0; }
  .hero-bottom-block { padding: 0 20px 28px; }
  .home-section { padding: 40px 20px; }
  .about-section { padding: 40px 20px 0; }
  .about-content { max-width: 100%; }
}

@media (max-width: 580px) {
  /* Image cadrée à gauche sur mobile */
  .hero {
    background-position: left center;
  }

  /* Titre centré sur mobile */
  .hero-title-block {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    grid-template-columns: 1fr 1fr;
  }

  .hero-cta {
    justify-self: center;
  }

  .hero-bottom-actions {
    padding: 0 20px 32px;
  }
}
