/*-- KINAGI · ACCUEIL : HABILLAGE ------------------------------------------
  Cette feuille est chargée après style.css, uniquement par index.html.
  Elle ne change aucun texte : elle ajoute de la couleur et de la douceur
  (halos rosés, formes « en papier découpé », pétales).
  Pour revenir à l'ancien rendu, il suffit de retirer la ligne
  <link rel="stylesheet" href="./accueil.css"> dans index.html.
----------------------------------------------------------------------------*/
/*-- 01 · COULEURS DE L'HABILLAGE ------------------------------------------*/
:root {
  --home-rose: #ecd3c7;
  --home-rose-soft: #f3e3da;
  --home-sand: #ebdfcf;
  --home-petal: #e2b5a3;
}

/*-- 02 · PETIT PÉTALE DEVANT LES SURTITRES ---------------------------------*/
.eyebrow::before {
  display: inline-block;
  width: .62em;
  height: .62em;
  margin-right: .65em;
  border-radius: 70% 0 70% 0;
  background: currentColor;
  opacity: .75;
  transform: rotate(10deg) translateY(.05em);
  content: '';
}
/* Les surtitres centrés gardent leur pétale centré avec eux. */
.testimonial-heading .eyebrow::before { margin-right: .5em; }

/*-- 03 · INTRODUCTION : HALOS DE COULEUR ET IMAGE EN PAPIER DÉCOUPÉ --------*/
.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  content: '';
}
/* Halo rosé derrière la photo */
.hero::before {
  top: 2%;
  right: -12%;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(236 196 178 / 70%) 0%, rgb(236 196 178 / 0%) 66%);
}
/* Halo sable, plus discret, sous le titre */
.hero::after {
  bottom: -6%;
  left: -18%;
  width: min(620px, 60vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgb(232 218 199 / 85%) 0%, rgb(232 218 199 / 0%) 65%);
}
/* Une forme colorée décalée derrière chaque photo, comme du papier découpé. */
.hero-image { box-shadow: 24px 26px 0 0 var(--home-rose); }
.about-image { box-shadow: 22px 22px 0 0 var(--home-rose); }
.testimonial-image { box-shadow: -16px 16px 0 0 var(--home-sand); }

/*-- 04 · « UN CHEMIN DE TRANSFORMATION » : UNE BANDE DE COULEUR DOUCE ------*/
.approach {
  box-sizing: border-box;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem);
  border-radius: clamp(2rem, 6vw, 5rem) clamp(1rem, 2vw, 1.75rem) clamp(2rem, 6vw, 5rem) clamp(1rem, 2vw, 1.75rem);
  background: linear-gradient(120deg, rgb(243 227 218 / 85%), rgb(247 240 232 / 70%) 55%, rgb(235 223 207 / 55%));
}

/*-- 06 · TÉMOIGNAGES : CITATION SUR FOND ROSÉ -----------------------------*/
.testimonial-copy {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 2.5rem .9rem 2.5rem .9rem;
  background: linear-gradient(160deg, var(--home-rose-soft), rgb(248 241 234 / 70%));
}
.quote-mark { font-size: 5rem; opacity: .8; }

/*-- 07 · CONTACT : BLOC ARRONDI AVEC GRAND PÉTALE EN FILIGRANE -------------*/
.contact {
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: clamp(2rem, 6vw, 5rem) clamp(1rem, 2vw, 1.75rem) clamp(2rem, 6vw, 5rem) clamp(1rem, 2vw, 1.75rem);
  background: linear-gradient(135deg, #efe2d6, var(--home-rose-soft) 60%, #f1e3da);
}
.contact::after {
  position: absolute;
  bottom: -18%;
  left: -6%;
  width: clamp(220px, 30vw, 380px);
  aspect-ratio: 1;
  border-radius: 70% 0 70% 0;
  background: linear-gradient(135deg, rgb(226 181 163 / 45%), rgb(226 181 163 / 0%));
  transform: rotate(20deg);
  pointer-events: none;
  content: '';
}
.contact > * { position: relative; z-index: 1; }

/*-- 08 · TABLETTE ET MOBILE ------------------------------------------------*/
@media (max-width: 760px) {
  /* Sur téléphone, le halo rosé passait derrière le titre : on le retire. */
  .hero::before { display: none; }
  .hero-image { box-shadow: 14px 16px 0 0 var(--home-rose); }
  .about-image { box-shadow: 14px 14px 0 0 var(--home-rose); }
  .testimonial-image { box-shadow: -10px 10px 0 0 var(--home-sand); }
  .approach { padding: 2rem 1.25rem; }
  .testimonial-copy { padding: 1.4rem; }
  .contact::after { width: 200px; opacity: .7; }
}

/*-- 10 · SIGNATURE SOUS LA PRÉSENTATION ----------------------------------
  Police manuscrite déjà installée sur l'appareil du visiteur : aucun fichier
  à charger. Le rendu varie donc un peu selon l'appareil (Snell Roundhand sur
  iPhone et Mac, Segoe Script sur Windows, Dancing Script sur Android). */
.about p.about-signature {
  margin-top: -.9rem;
  color: var(--color-accent);
  text-align: right;
  font-family: "Snell Roundhand", "Apple Chancery", "Segoe Script", "Dancing Script", "Brush Script MT", cursive;
  font-size: clamp(1.35rem, 1.9vw, 1.6rem);
  font-style: italic;
  line-height: 1.2;
}

/*-- 09 · INTRO : LOGO ANIMÉ AU PREMIER PASSAGE ----------------------------
  Le bloc n'apparaît que si le script de l'en-tête a ajouté la classe
  « has-intro » sur <html>. Sinon, il reste invisible et la page s'affiche
  normalement. Pour supprimer l'intro, retire le bloc .site-intro de index.html.
----------------------------------------------------------------------------*/
.site-intro { display: none; }
.has-intro .site-intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-paper);
  transition: opacity .5s ease, visibility .5s ease;
  /* Sécurité si le script ne se lance pas : l'intro s'efface seule après 6 s. */
  animation: site-intro-fallback .5s ease 6s forwards;
}
.site-intro-video {
  display: block;
  width: min(300px, 70vw);
  height: auto;
  background: var(--color-paper);
}
.site-intro.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-lock body { overflow: hidden; }
@keyframes site-intro-fallback {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-intro { display: none !important; }
}
