/* ─────────────────────────────────────────
   EllesIT – style.css
   ───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:   #e91e8c;
  --purple: #8b2fc9;
  --blue:   #1e90d6;
  --dark:   #0f0f1a;
  --ink:    #1a1a2e;
  --soft:   #f7f7fb;
  --muted:  #7a7a9a;
  --grad: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--soft);
  color: var(--ink);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
  background: rgba(247,247,251,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,47,201,0.08);
}
.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; letter-spacing: -0.5px;
  color: var(--ink); text-decoration: none;
}
.nav-logo span {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  text-decoration: none; letter-spacing: 0.5px; transition: color .2s;
}
.nav-links a:hover { color: var(--purple); }
.nav-cta {
  font-size: 13px; font-weight: 600; padding: 10px 24px;
  background: var(--grad); color: #fff; border: none;
  border-radius: 100px; cursor: pointer; text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 60px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(233,30,140,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(30,144,214,0.07) 0%, transparent 70%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(139,47,201,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 780px; text-align: center;
}
.hero-badge {
  display: inline-block; margin-bottom: 28px;
  padding: 6px 18px; border-radius: 100px;
  border: 1px solid rgba(139,47,201,0.25);
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--purple);
  background: rgba(139,47,201,0.05);
  animation: fadeDown .7s ease both;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.1; letter-spacing: -1.5px;
  color: var(--ink); margin-bottom: 24px;
  animation: fadeDown .7s .1s ease both;
}
.hero h1 em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 17px; font-weight: 300; color: var(--muted);
  line-height: 1.7; max-width: 520px; margin: 0 auto 40px;
  animation: fadeDown .7s .2s ease both;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeDown .7s .3s ease both;
}
.btn-primary {
  padding: 14px 36px; border-radius: 100px;
  background: var(--grad); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 32px rgba(139,47,201,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(139,47,201,0.35); }
.btn-secondary {
  padding: 14px 36px; border-radius: 100px;
  border: 1.5px solid rgba(139,47,201,0.3); color: var(--purple);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-secondary:hover { background: rgba(139,47,201,0.06); border-color: var(--purple); }
.hero-tagline {
  margin-top: 60px;
  font-family: 'DM Serif Display', serif;
  font-style: italic; font-size: 15px; color: var(--muted);
  animation: fadeDown .7s .4s ease both;
}
.hero-tagline span { color: var(--pink); }
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
  animation: fadeDown .7s .6s ease both;
}
.scroll-hint::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  animation: scrollLine 1.5s ease infinite;
}
@keyframes scrollLine { 0%,100%{transform:scaleY(1);opacity:1} 50%{transform:scaleY(.5);opacity:.4} }

/* ─── STATS ─── */
.stats {
  padding: 60px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--ink);
}
.stat {
  padding: 40px 50px; text-align: center;
  background: var(--dark);
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.stat.visible { opacity: 1; transform: none; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 48px; letter-spacing: -2px;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 6px; }

/* ─── SECTION COMMUNE ─── */
.section { padding: 100px 60px; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--purple); margin-bottom: 16px;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15; letter-spacing: -1px;
  color: var(--ink); max-width: 560px;
}
.section-title em { font-style: italic; color: var(--pink); }

/* ─── SERVICES ─── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 60px;
}
.service-card {
  padding: 40px 36px; border-radius: 20px;
  background: #fff; border: 1px solid rgba(139,47,201,0.08);
  transition: transform .3s, box-shadow .3s;
  opacity: 0; transform: translateY(30px);
}
.service-card.visible { opacity: 1; transform: none; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(139,47,201,0.1); }
.service-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: linear-gradient(135deg, rgba(233,30,140,0.1), rgba(30,144,214,0.1));
}
.service-card h3 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── TIMELINE ─── */
.timeline-section {
  padding: 100px 60px;
  background: var(--ink);
  position: relative; overflow: hidden;
}
.timeline-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 90% 50%, rgba(233,30,140,0.08) 0%, transparent 60%);
}
.timeline-section .section-label { color: rgba(255,255,255,0.4); }
.timeline-section .section-title { color: #fff; }
.timeline {
  position: relative; margin-top: 70px; max-width: 900px;
}
.timeline::before {
  content: '';
  position: absolute; left: 22px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--pink), var(--purple), var(--blue), transparent);
}
.timeline-item {
  display: flex; gap: 40px; margin-bottom: 56px; position: relative;
  opacity: 0; transform: translateX(-30px);
  transition: opacity .6s ease, transform .6s ease;
}
.timeline-item.visible { opacity: 1; transform: none; }
.timeline-dot {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--dark); border: 2px solid var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; position: relative; z-index: 1;
  transition: border-color .3s, background .3s;
}
.timeline-item:hover .timeline-dot { background: var(--purple); border-color: var(--pink); }
.timeline-content { padding-top: 8px; }
.timeline-step {
  font-size: 10px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--pink); margin-bottom: 8px;
}
.timeline-content h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; color: #fff; margin-bottom: 10px; letter-spacing: -0.3px;
}
.timeline-content p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.75; max-width: 560px; }
.timeline-tag {
  display: inline-block; margin-top: 14px;
  padding: 4px 14px; border-radius: 100px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.5px;
  border: 1px solid rgba(139,47,201,0.4); color: rgba(255,255,255,0.5);
}

/* ─── APPROCHE ─── */
.approach { padding: 100px 60px; background: #fff; }
.approach-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; margin-top: 60px;
}
.approach-visual {
  position: relative; height: 380px;
  opacity: 0; transform: translateX(-30px);
  transition: opacity .7s ease, transform .7s ease;
}
.approach-visual.visible { opacity: 1; transform: none; }
.approach-circle { position: absolute; border-radius: 50%; }
.circle-1 {
  width: 280px; height: 280px; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border: 1.5px solid rgba(233,30,140,0.2);
  animation: rotate 20s linear infinite;
}
.circle-2 {
  width: 200px; height: 200px; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border: 1.5px solid rgba(139,47,201,0.3);
  animation: rotate 14s linear infinite reverse;
}
.circle-3 {
  width: 120px; height: 120px; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: linear-gradient(135deg, rgba(233,30,140,0.1), rgba(30,144,214,0.1));
  border: 1.5px solid rgba(30,144,214,0.3);
  display: flex; align-items: center; justify-content: center;
}
.circle-center {
  font-family: 'DM Serif Display', serif;
  font-size: 28px; font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.orbit-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad); top: 50%; left: 50%;
}
.orbit-dot-1 { animation: orbit1 20s linear infinite; }
.orbit-dot-2 { animation: orbit2 20s linear infinite; }
.orbit-dot-3 { animation: orbit3 20s linear infinite; }
@keyframes orbit1 { from{transform:translate(-50%,-50%) rotate(0deg) translateX(140px)} to{transform:translate(-50%,-50%) rotate(360deg) translateX(140px)} }
@keyframes orbit2 { from{transform:translate(-50%,-50%) rotate(120deg) translateX(140px)} to{transform:translate(-50%,-50%) rotate(480deg) translateX(140px)} }
@keyframes orbit3 { from{transform:translate(-50%,-50%) rotate(240deg) translateX(140px)} to{transform:translate(-50%,-50%) rotate(600deg) translateX(140px)} }
@keyframes rotate { from{transform:translate(-50%,-50%) rotate(0deg)} to{transform:translate(-50%,-50%) rotate(360deg)} }

.approach-text {
  opacity: 0; transform: translateX(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.approach-text.visible { opacity: 1; transform: none; }
.approach-text p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-top: 24px; }
.value-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.value-item { display: flex; align-items: flex-start; gap: 14px; }
.value-bullet {
  flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad); margin-top: 8px;
}
.value-item strong { font-size: 14px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 2px; }
.value-item span { font-size: 13px; color: var(--muted); }

/* ─── CTA ─── */
.cta-section {
  padding: 100px 60px; text-align: center;
  background: var(--dark); position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(233,30,140,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(30,144,214,0.12) 0%, transparent 60%);
}
.cta-section h2 {
  position: relative; z-index: 1;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px,5vw,60px); color: #fff; letter-spacing: -1.5px; margin-bottom: 20px;
}
.cta-section h2 em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-section p { position: relative; z-index: 1; color: rgba(255,255,255,0.45); font-size: 16px; margin-bottom: 40px; }
.cta-section .btn-primary { position: relative; z-index: 1; }

/* ─── FOOTER ─── */
footer {
  padding: 40px 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink); border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { font-family: 'DM Serif Display', serif; font-size: 18px; color: #fff; }
.footer-logo span {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
footer p { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--pink); }

/* ─── ANIMATIONS ─── */
@keyframes fadeDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:none} }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .stats { grid-template-columns: 1fr; padding: 0; }
  .section, .timeline-section, .approach, .cta-section { padding: 70px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
  footer { flex-direction: column; gap: 20px; text-align: center; padding: 32px 24px; }
}
