@import 'general.css';


@import url('https://fonts.googleapis.com/css2?family=Playlist+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
/* presentation.css */

/* — Reset & base — */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Lato', sans-serif;
  background: #f7f7f7;
}

/* — SECTION Présentation — */
#presentation {
  background: transparent;
}
.presentation-container {
  position: relative;        /* ajouté pour le positionnement absolu de #philo */
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* — Bannière “Ma Philosophie” — */
#philo {
  position: absolute;        /* colle en haut à droite */
  top: 0;
  right: 0;
  margin: 0;
  background: #03738b;
  color: white;
  padding: 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
}

/* — Grille Texte ? Illustrations — */
.presentation-content {
  margin-top: 3rem;          /* décale le grid sous #philo */
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .presentation-content {
    grid-template-columns: 1fr;
  }
}

/* — Colonne Texte — */
.presentation-text {
  margin-left: 8em;          /* décale tout le texte de 8em */
  text-align: left;
}
.intro {
  color: #f3396e;
  font-weight: bold;
  font-family: 'Patrick Hand', cursive;
  font-size: 1.2em;
  margin-bottom: 1.5rem;
}
.presentation-paragraph {
  margin-top: 1.5rem;
  color: #2d435b;
  line-height: 1.7;
}

/* — Titre animé “Émerveiller pour inspirer” — */
.titre-emerveiller {
  position: relative;
  margin: 2rem 0 3rem;
  font-family: 'Playlist Script', cursive;
  color: #03738b;
  line-height: 1;
}
.titre-emerveiller .word {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.titre-emerveiller .word.emerveiller,
.titre-emerveiller .word.inspirer {
  font-size: 6.4rem;
}
.titre-emerveiller .word.pour {
  font-size: 4rem;
  margin: 1rem 0 0.5rem 4.8rem;
  color: #8fbac1;             /* plus proche de la maquette */
}
.word.visible {
  opacity: 1;
  transform: translateY(0);
}

/* — Colonne Illustrations — */
.presentation-coffre {
  position: relative;
  min-height: 300px;
}
.illu {
  position: absolute;
  max-width: 100%;
}
.nuage1 { top: 0;    left: 10%; width: 60%; }
.avion   { top: 15%; right: 15%; transform: rotate(-10deg); }
.oiseau  { top: 10%; right: 2%;  width: 60%; }
.coffre  { bottom: 0; right: 0;   width: 60%; }

/* — Étoiles scintillantes — */
.star {
  position: absolute;
  opacity: 0;
  z-index: 0;
}
.star.yellow {
  width: 32px; top: -28px; left: 372px;
  animation: twinkleYellow 2.2s infinite ease-in-out;
}
.star.blue {
  width: 25px; top: 22px;  left: 420px;
  animation: twinkleBlue 2.5s infinite ease-in-out;
}
.star.pink {
  width: 20px; top: 90px;  left: 340px;
  animation: twinklePink 3s infinite ease-in-out;
}
@keyframes twinkleYellow {0%,100%{opacity:0;}50%{opacity:1;}}
@keyframes twinkleBlue   {0%,100%{opacity:0;}50%{opacity:1;}}
@keyframes twinklePink   {0%,100%{opacity:0;}50%{opacity:1;}}

/* — SECTION Profil (intégrée) — */
#profil {
  margin: 0;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2rem;
  padding: 2rem 2rem 4rem;
}
.roles {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}
.roles span {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: bold;
}
.concepteur   { background-color: #03738b; color: white; }
.artiste      { background-color: #ffcc00; color: #000;   }
.realisateur  { background-color: #f3396e; color: white; }
.profil-content {
  flex: 0 0 100%;
  position: relative;
  margin-top: -1.5rem;
  padding-top: 1.5rem;
  background: #ad999f url("../assets/img/nuages/treasure.png") no-repeat top left;
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 1;
}
.profil-text h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #2d435b;
}
.profil-text p {
  font-size: 1rem;
  color: #2d435b;
  margin-bottom: 1rem;
}
.parcours {
  list-style: none;
  padding: 0;
  margin: 0;
}
.parcours li {
  background: #ffcc00;
  margin-bottom: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.95rem;
}
