/* ============================================
   Popcorn Snack Content Studio
   Charte: #D42A23 (rouge) | #F6F2EC (creme) | #232323 (noir)
   Police: Heavitas (titres) + system-ui (corps)
   ============================================ */

@font-face {
  font-family: 'Heavitas';
  src: url('../assets/fonts/Heavitas.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --rouge: #D42A23;
  --rouge-dark: #B0221C;
  --creme: #F6F2EC;
  --noir: #232323;
  --gris: #888888;
  --gris-light: #E5E0DA;
  --glass: rgba(35, 35, 35, 0.04);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--creme);
  color: var(--noir);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--creme);
  border-bottom: 1px solid var(--gris-light);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-brand {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--noir);
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex: 1;
  justify-content: flex-end;
}

.header-nav a {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--noir);
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
  border-bottom-color: var(--rouge);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: 0.7rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--gris);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  font-family: inherit;
  font-size: inherit;
  transition: color 0.2s;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--noir);
}

.lang-sep {
  color: var(--gris);
}

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

.hero {
  padding: 8rem 4vw 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-logo {
  width: 200px;
  height: auto;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  color: var(--noir);
  letter-spacing: -0.01em;
}

.hero-title .accent {
  color: var(--rouge);
}

.hero-sub {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  letter-spacing: 0.05em;
  color: var(--noir);
}

.hero-desc {
  font-size: 1rem;
  color: var(--gris);
  max-width: 460px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  padding: 1rem 2.5rem;
  background: var(--rouge);
  border-radius: 50px;
  border: 2px solid var(--rouge);
  transition: all 0.3s;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.btn-primary:hover {
  background: transparent;
  color: var(--rouge);
}

/* Phone mockup */
.hero-right {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: var(--noir);
  border-radius: 36px;
  padding: 10px;
  border: 3px solid rgba(246, 242, 236, 0.3);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--noir);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  height: 100%;
}

.phone-thumb {
  border-radius: 8px;
  min-height: 0;
}

.phone-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--rouge);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.phone-play::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 18px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}

/* ============================================
   FEATURES
   ============================================ */

.features {
  padding: 4rem 4vw;
}

.features-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--gris-light);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.2rem;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--noir);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--gris);
  line-height: 1.5;
}

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

.about {
  padding: 5rem 4vw;
  border-top: 1px solid var(--gris-light);
}

.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-left h2 {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: var(--noir);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-left p {
  font-size: 0.95rem;
  color: var(--gris);
  line-height: 1.7;
}

.about-right h3 {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--noir);
  margin-bottom: 2rem;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.popcorn-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect x='14' y='20' width='20' height='22' rx='2' fill='none' stroke='%23D42A23' stroke-width='2'/%3E%3Cpath d='M16 20 L18 10 L30 10 L32 20' fill='none' stroke='%23D42A23' stroke-width='2'/%3E%3Ccircle cx='20' cy='14' r='3' fill='%23F6F2EC' stroke='%23D42A23' stroke-width='1.5'/%3E%3Ccircle cx='28' cy='16' r='3' fill='%23F6F2EC' stroke='%23D42A23' stroke-width='1.5'/%3E%3Ccircle cx='24' cy='12' r='3' fill='%23F6F2EC' stroke='%23D42A23' stroke-width='1.5'/%3E%3C/svg%3E");
}

.target-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='16' fill='none' stroke='%23D42A23' stroke-width='2'/%3E%3Ccircle cx='24' cy='24' r='10' fill='none' stroke='%23D42A23' stroke-width='2'/%3E%3Ccircle cx='24' cy='24' r='4' fill='%23D42A23'/%3E%3Cpath d='M36 12 L28 20' stroke='%23D42A23' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

.bolt-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M26 4 L14 26 H22 L20 44 L34 20 H24 L26 4 Z' fill='%23D42A23' stroke='%23D42A23' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pillar h4 {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--noir);
  margin-bottom: 0.3rem;
}

.pillar p {
  font-size: 0.85rem;
  color: var(--gris);
  line-height: 1.5;
}

/* ============================================
   GALLERY + CTA
   ============================================ */

.gallery-cta {
  padding: 4rem 4vw;
}

.gallery-cta-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 8px;
  min-height: 120px;
}

.cta-box {
  background: var(--rouge);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
}

.cta-box h2 {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: #fff;
}

.btn-white {
  display: inline-block;
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--rouge);
  text-decoration: none;
  padding: 1rem 2.5rem;
  background: #fff;
  border-radius: 50px;
  border: 2px solid #fff;
  transition: all 0.3s;
}

.btn-white:hover {
  background: transparent;
  color: #fff;
}

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

.contact {
  padding: 6rem 4vw;
  text-align: center;
  border-top: 1px solid var(--gris-light);
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 1rem;
}

.contact h2 {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  color: var(--noir);
  margin-bottom: 2rem;
}

.contact-mail {
  display: inline-block;
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--rouge);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.contact-mail:hover {
  color: var(--noir);
}

.contact-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.85rem;
  color: var(--gris);
}

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

.footer {
  padding: 3rem 4vw;
  border-top: 1px solid var(--gris-light);
  background: var(--creme);
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 0.5rem;
}

.footer-links-title {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--noir);
  margin-bottom: 0.3rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--gris);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--rouge);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gris);
  margin-top: 0.5rem;
}

.footer-social {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: block;
  background-size: 55%;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s;
}

.social-link:hover {
  transform: scale(1.1);
}

.social-link.ig {
  background-color: var(--rouge);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.5' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
}

.social-link.yt {
  background-color: #fff;
  border: 1px solid var(--gris-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.8 8.6c-.2-1-.6-1.8-1.3-2.4-.7-.7-1.5-1-2.5-1.1C15.3 5 12 5 12 5s-3.3 0-5.9.1c-1 .1-1.8.4-2.5 1.1-.7.6-1.1 1.4-1.3 2.4C2 10.5 2 12 2 12s0 1.5.3 3.4c.2 1 .6 1.8 1.3 2.4.7.7 1.5 1 2.5 1.1C8.7 19 12 19 12 19s3.3 0 5.9-.1c1-.1 1.8-.4 2.5-1.1.7-.6 1.1-1.4 1.3-2.4.3-1.9.3-3.4.3-3.4s0-1.5-.3-3.4z' fill='%23D42A23'/%3E%3Cpolygon points='10,15 15,12 10,9' fill='%23fff'/%3E%3C/svg%3E");
}

.social-link.tt {
  background-color: #fff;
  border: 1px solid var(--gris-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.6 6.6c-.3.1-.6.2-.9.2.5-.3.9-.8 1.1-1.4-.5.3-1 .5-1.6.6-.5-.5-1.1-.8-1.8-.8-1.4 0-2.5 1.1-2.5 2.5 0 .2 0 .4.1.6-2.1-.1-3.9-1.1-5.2-2.6-.2.4-.3.8-.3 1.2 0 .9.4 1.6 1.1 2.1-.4 0-.8-.1-1.1-.3v.1c0 1.2.9 2.2 2 2.4-.2.1-.4.1-.6.1-.2 0-.3 0-.5-.1.3 1 1.2 1.7 2.3 1.7-.8.6-1.9 1-3 1-.2 0-.4 0-.6 0 1.1.7 2.4 1.1 3.8 1.1 4.6 0 7.1-3.8 7.1-7.1v-.3c.5-.3.9-.8 1.2-1.3-.4.2-.9.4-1.4.5z' fill='%23232323'/%3E%3C/svg%3E");
}

.footer-tagline {
  align-items: flex-end;
  text-align: right;
}

.footer-tagline p {
  font-family: 'Heavitas', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--noir);
  line-height: 1.4;
}

/* ============================================
   ANIMATIONS
   ============================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .header-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-right {
    order: -1;
  }
  .phone-mockup {
    width: 200px;
    height: 400px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .gallery-cta-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer-col {
    align-items: center;
  }
  .footer-tagline {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .header-nav {
    display: none;
  }
  .hero {
    padding-top: 6rem;
  }
  .hero-logo {
    width: 150px;
  }
  .contact-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}
