@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;700;800&display=swap');

/* ============================================
   SUNOVA STUDIO — CSS Principal
   ============================================ */

:root {
  --bg: #F5F0E8;
  --gold: #E8A020;
  --blue: #5BA8D0;
  --coral: #E87840;
  --rose: #E8507A;
  --dark: #111008;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
}

/* ============================================
   ANIMATIONS AU SCROLL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1; transform: none; transition: none;
  }
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: rgba(17,16,8,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: padding 0.3s ease;
}
.nav.scrolled { padding: 14px 48px; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-logo .accent { color: var(--gold); }
.nav-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.8;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--rose); }
.nav-links .nav-cta {
  color: rgba(232,80,122,0.75);
  border-bottom: 1px solid rgba(232,80,122,0.35);
  padding-bottom: 1px;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding-top: 62px;
}
.hero-left-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--rose), transparent);
  z-index: 5;
  opacity: 0.6;
}
.hero-divider {
  position: absolute;
  left: 50%; top: 80px; bottom: 60px;
  width: 1px;
  background: rgba(255,255,255,0.05);
  z-index: 2;
}
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-left {
  padding: 72px 48px 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 3;
}
.hero-tag {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 100px);
  color: #fff;
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin: 20px 0;
}
.hero-title .gold { color: var(--gold); }
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.16);
}
.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-desc-line {
  width: 24px; height: 1.5px;
  background: var(--rose);
  opacity: 0.6;
}
.hero-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 240px;
}
.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  border-radius: 40px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid rgba(232,160,32,0.5);
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, border-color 0.2s;
}
.hero-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-right {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.logo-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.logo-ring-2 {
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  position: absolute;
}
.logo-ring-1 {
  width: 175px; height: 175px;
  border-radius: 50%;
  border: 1px solid rgba(232,80,122,0.12);
  position: absolute;
}
.logo-main {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(232,160,32,0.1);
  border: 1.5px solid rgba(232,160,32,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.logo-main img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
.logo-main .logo-placeholder {
  font-family: var(--font-display);
  font-size: 10px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.5;
}
.logo-floater {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(232,80,122,0.25);
  border: 1px solid rgba(232,80,122,0.35);
  position: absolute;
  top: -8px; left: -8px;
}
.logo-pip {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(232,80,122,0.15);
  border: 1px solid rgba(232,80,122,0.28);
  position: absolute;
  bottom: -6px; right: -12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-hint {
  position: absolute;
  bottom: 28px; left: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
.scroll-hint-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.6;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.3} 50%{opacity:0.8} }
.scroll-hint-text {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ============================================
   LISERÉ
   ============================================ */

.cut {
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--rose), var(--gold));
}

/* ============================================
   PROJETS — UN PAR UN
   ============================================ */

.projets { padding: 80px 48px; background: var(--bg); }
.projets-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,18,8,0.45);
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.projets-label::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--rose);
  border-radius: 1px;
  opacity: 0.5;
}
.projet-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.projet-item:last-child { margin-bottom: 0; }
.projet-item.reverse { direction: rtl; }
.projet-item.reverse > * { direction: ltr; }
.projet-visuel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.projet-visuel:hover .projet-overlay { opacity: 1; }
.projet-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  border-radius: 20px;
}
.projet-overlay span {
  font-family: var(--font-display);
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 20px;
  border-radius: 40px;
  backdrop-filter: blur(4px);
}
.projet-visuel img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.projet-num {
  font-family: var(--font-display);
  font-size: 11px;
  color: rgba(26,18,8,0.22);
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}
.projet-titre {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--dark);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.projet-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  background: rgba(26,18,8,0.05);
  color: rgba(26,18,8,0.5);
  border: 1px solid rgba(26,18,8,0.08);
}
.projet-desc {
  font-size: 13px;
  color: rgba(26,18,8,0.5);
  line-height: 1.8;
  max-width: 300px;
  margin-bottom: 20px;
}
.projet-lien {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,160,32,0.35);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.projet-lien:hover { color: var(--rose); border-color: var(--rose); }

/* ============================================
   ABOUT
   ============================================ */

.about {
  padding: 96px 48px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.about-blob-1 {
  position: absolute;
  left: -80px; bottom: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.06;
  pointer-events: none;
}
.about-blob-2 {
  position: absolute;
  right: -30px; top: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.08;
  pointer-events: none;
}
.about-bg-text {
  position: absolute;
  bottom: -10px; right: -10px;
  font-family: var(--font-display);
  font-size: 130px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  pointer-events: none;
  line-height: 1;
  z-index: 1;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  z-index: 2;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-photo .photo-placeholder {
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.about-photo .photo-placeholder p {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  text-align: center;
}
.about-content { display: flex; flex-direction: column; justify-content: center; }
.about-titre {
  font-family: var(--font-display);
  font-size: 56px;
  color: #fff;
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.about-titre span { color: var(--rose); }
.about-texte {
  font-size: 14px;
  color: rgba(245,240,232,0.6);
  line-height: 1.85;
  margin-bottom: 40px;
}
.services-list { display: flex; flex-direction: column; }
.service-item {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-nom {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.04em;
}
.service-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.6;
}

/* ============================================
   BLOG
   ============================================ */

.blog { padding: 80px 48px; background: var(--bg); }
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
}
.blog-titre {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--dark);
  letter-spacing: 0.02em;
  line-height: 1;
}
.blog-voir-tout {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,160,32,0.35);
  padding-bottom: 2px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,18,8,0.1);
}
.blog-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card-img svg { position: absolute; inset: 0; }
.blog-card-body { padding: 20px; }
.blog-card-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 8px;
  display: block;
}
.blog-card-titre {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.blog-card-extrait {
  font-size: 12px;
  color: rgba(26,18,8,0.5);
  line-height: 1.65;
  margin-bottom: 14px;
}
.blog-card-lire {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
  padding: 72px 48px;
  background: #F8F4EC;
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-ghost {
  position: absolute;
  font-family: var(--font-display);
  font-size: 130px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,160,32,0.07);
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.contact-dot-1 {
  position: absolute;
  top: 24px; right: 80px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.35;
}
.contact-dot-2 {
  position: absolute;
  top: 32px; right: 66px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.2;
}
.contact-titre {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--dark);
  line-height: 0.9;
  position: relative;
  z-index: 1;
}
.contact-titre span { color: var(--rose); }
.contact-sous {
  font-size: 13px;
  color: rgba(26,18,8,0.45);
  margin-top: 10px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.contact-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  border-radius: 40px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: background 0.2s, transform 0.2s;
}
.contact-btn:hover {
  background: var(--rose);
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 20px 48px;
  background: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid;
  border-image: linear-gradient(to right, var(--gold), var(--rose)) 1;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.footer-logo .accent { color: var(--gold); }
.footer-text {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}

/* ============================================
   BLOG — PAGE LISTE
   ============================================ */

.blog-page { padding: 120px 48px 80px; min-height: 100vh; background: var(--bg); }
.blog-page-titre {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.blog-page-sous {
  font-size: 13px;
  color: rgba(26,18,8,0.45);
  margin-bottom: 56px;
}
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ============================================
   BLOG — PAGE ARTICLE
   ============================================ */

.article-page { padding: 120px 48px 80px; max-width: 760px; margin: 0 auto; }
.article-retour {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26,18,8,0.4);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}
.article-retour:hover { color: var(--gold); }
.article-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px;
  display: block;
}
.article-titre {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--dark);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.article-meta {
  font-size: 11px;
  color: rgba(26,18,8,0.35);
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(26,18,8,0.08);
}
.article-contenu { font-size: 15px; color: rgba(26,18,8,0.7); line-height: 1.85; }
.article-contenu h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--dark);
  margin: 40px 0 16px;
  letter-spacing: 0.02em;
}
.article-contenu p { margin-bottom: 20px; }
.article-contenu ul { padding-left: 20px; margin-bottom: 20px; }
.article-contenu li { margin-bottom: 8px; }
.article-contenu strong { color: var(--dark); font-weight: 700; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(17,16,8,0.97);
    padding: 24px;
    gap: 20px;
    z-index: 99;
  }
  .nav-burger { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 80px 24px 48px; }
  .hero-title { font-size: 72px; }
  .projet-item, .projet-item.reverse { grid-template-columns: 1fr; direction: ltr; gap: 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { aspect-ratio: 4/3; }
  .blog-grid, .blog-page-grid { grid-template-columns: 1fr; }
  .projets, .about, .blog, .contact { padding-left: 24px; padding-right: 24px; }
  .footer { padding: 16px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .article-page { padding: 100px 24px 60px; }
  .article-titre { font-size: 40px; }
}
