/* ==========================================================================
   ELOVYRN — home.css (page d'accueil)
   ========================================================================== */

section { position: relative; }
.section { padding: clamp(5.5rem, 12vw, 10.5rem) 0; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5.5rem; overflow: hidden;
  background: radial-gradient(60% 60% at 78% 45%, rgba(216, 196, 162, .07), transparent 70%), var(--midnight);
}
.hero__art {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(92vw, 980px); aspect-ratio: 1;
  right: -16vw; top: 50%; transform: translateY(-48%);
}
.hero__svg { width: 100%; height: 100%; overflow: visible; }
.ring { stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 3.2s var(--ease) .2s forwards; }
.ring--b { animation-delay: .5s; }
.swoosh { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s var(--ease) 1s forwards; }
.swoosh--b { animation-delay: 1.3s; }
.spark { opacity: 0; filter: drop-shadow(0 0 5px rgba(216, 196, 162, .7)); animation: fadeIn 1.2s ease 2.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.hero__eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--champagne); }
.hero__title { font-size: clamp(2rem, 8.4vw, 7.4rem); margin-left: -.04em; }
.hero__title .line { display: block; }
.hero__title .line--2 { padding-left: clamp(0rem, 6vw, 5.5rem); }
.hero__lead {
  max-width: 34ch; margin: clamp(1.8rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem) clamp(0rem, 6vw, 5.5rem);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(242, 235, 221, .82); line-height: 1.7;
}
.hero__cta { margin-left: clamp(0rem, 6vw, 5.5rem); }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 2rem; z-index: 1;
  display: flex; align-items: center; gap: .9rem;
  font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--silver);
}
.hero__scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--champagne), transparent); animation: drip 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) {
  .hero { align-items: flex-end; padding-bottom: 6rem; }
  .hero__art { width: 150vw; right: -62vw; top: 38%; opacity: .75; }
  .hero__scroll { display: none; }
}

/* ---------- À propos ---------- */
.about { background: var(--midnight); }
.about__head {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 2.5rem var(--gutter); align-items: end;
}
.about__title-wrap { grid-column: 1 / span 7; }
.about__title { font-size: clamp(1.9rem, 4.4vw, 3.9rem); }
.about__text { grid-column: 8 / span 5; color: rgba(242, 235, 221, .8); display: grid; gap: 1.2rem; font-size: 1.02rem; }
.about__label { margin-bottom: 1.6rem; display: flex; align-items: center; gap: 1rem; }
.about__label::before { content: ""; width: 44px; height: 1px; background: var(--champagne); }

.expertise { margin-top: clamp(3.5rem, 8vw, 6.5rem); border-bottom: 1px solid rgba(216, 196, 162, .22); }
.expertise__item {
  position: relative; display: grid; grid-template-columns: 5rem 3rem 1fr 1.1fr; gap: 1.5rem; align-items: center;
  padding: clamp(1.5rem, 3vw, 2.3rem) 0; border-top: 1px solid rgba(216, 196, 162, .22);
  transition: padding-left .5s var(--ease);
}
.expertise__item::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--champagne);
  transition: width .7s var(--ease);
}
.expertise__item:hover::before { width: 100%; }
.expertise__item:hover { padding-left: .8rem; }
.expertise__num { font-family: var(--serif); font-size: 1.1rem; color: var(--champagne); letter-spacing: .12em; }
.expertise__icon { width: 30px; height: 30px; color: var(--champagne); }
.expertise__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.15; }
.expertise__desc { color: var(--silver); font-size: .95rem; max-width: 46ch; }
@media (max-width: 900px) {
  .about__title-wrap, .about__text { grid-column: 1 / -1; }
  .expertise__item { grid-template-columns: 3.4rem 1fr; grid-template-areas: "num name" ". desc"; gap: .4rem 1rem; align-items: baseline; }
  .expertise__num { grid-area: num; } .expertise__name { grid-area: name; } .expertise__desc { grid-area: desc; }
  .expertise__icon { display: none; }
}

/* ---------- Projets ---------- */
.projects { background: var(--midnight-2); border-top: 1px solid rgba(216, 196, 162, .1); }
.projects__head { max-width: 62rem; }
.projects__title { font-size: clamp(1.9rem, 4.4vw, 3.9rem); margin: 1.6rem 0 1.6rem; }
.projects__text { max-width: 52ch; color: rgba(242, 235, 221, .8); font-size: 1.05rem; }
.projects__note {
  margin-top: 1.8rem; display: inline-flex; align-items: center; gap: .8rem;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--silver);
}
.projects__note::before { content: ""; width: 7px; height: 7px; border: 1px solid var(--champagne); border-radius: 50%; flex: none; }

.showcase { margin-top: clamp(3.5rem, 8vw, 6rem); display: grid; grid-template-columns: repeat(12, 1fr); gap: 3.5rem var(--gutter); align-items: start; }
.proj { display: block; }
.proj--atelier { grid-column: 1 / span 6; }
.proj--noir { grid-column: 7 / span 6; margin-top: clamp(0rem, 9vw, 8rem); }
.proj__media {
  position: relative; padding: clamp(1.2rem, 3vw, 2.2rem) clamp(1.2rem, 3vw, 2.2rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden; transition: transform .8s var(--ease);
}
.proj--atelier .proj__media { background: linear-gradient(160deg, #F7E6D1, #E8CCB1); }
.proj--noir .proj__media { background: #0C0C0C; box-shadow: inset 0 0 0 1px rgba(228, 84, 12, .55); }
.proj__main { width: 68%; box-shadow: 0 24px 50px rgba(0, 0, 0, .25); transition: transform .9s var(--ease); }
.proj__second {
  position: absolute; right: clamp(1.2rem, 3vw, 2.2rem); bottom: clamp(1rem, 2.5vw, 1.8rem); width: 36%;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .35); transition: transform .9s var(--ease) .05s;
}
.proj:hover .proj__main { transform: translateY(-8px); }
.proj:hover .proj__second { transform: translateY(8px) translateX(4px); }
.proj__body { padding-top: 1.6rem; display: grid; gap: .75rem; }
.tag {
  justify-self: start; font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--champagne); border: 1px solid rgba(216, 196, 162, .5); padding: .38rem .8rem; border-radius: 999px;
}
.proj__name { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .03em; }
.proj__type { font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--silver); }
.proj__desc { color: rgba(242, 235, 221, .8); max-width: 44ch; }
.proj__cta { margin-top: .6rem; color: var(--champagne); }
@media (max-width: 900px) {
  .proj--atelier, .proj--noir { grid-column: 1 / -1; margin-top: 0; }
}

/* ---------- Contact ---------- */
.contact { background: var(--midnight); overflow: hidden; text-align: left; }
.contact__art { position: absolute; right: -22vw; top: 50%; width: min(80vw, 720px); transform: translateY(-50%); opacity: .55; pointer-events: none; }
.contact__inner { position: relative; z-index: 1; }
.contact__title { font-size: clamp(2rem, 5.6vw, 5rem); max-width: 15ch; }
.contact__text { margin: 1.8rem 0 2.6rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: rgba(242, 235, 221, .85); }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.2rem; }
.contact__insta { display: inline-flex; flex-direction: column; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--silver); }
.contact__insta strong { color: var(--ivory); font-weight: 500; letter-spacing: .08em; font-size: .98rem; text-transform: none; margin-top: .25rem; transition: color .3s; }
.contact__insta:hover strong { color: var(--champagne); }
.contact__mail { margin-top: 1.6rem; font-size: .95rem; color: var(--silver); }
.contact__mail a { color: var(--ivory); border-bottom: 1px solid var(--champagne); }
