/* =========================================================
   VELM — Stylesheet (v2)
   Banner-driven design matching the brand mockup
   ========================================================= */

:root {
  /* Brand colors */
  --color-ink: #0A0F1C;
  --color-blue: #2563EB;
  --color-teal: #22D3A6;
  --color-lavender: #8B93FF;
  --color-cloud: #F2F4F7;
  --color-white: #FFFFFF;

  /* Derived shades */
  --color-ink-soft: #141a2e;
  --color-ink-text: #1b2238;
  --color-muted: #6b7280;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: #e5e7eb;

  /* Typography */
  --font-display: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding-y: clamp(4rem, 8vw, 7rem);
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-md: 0 10px 30px rgba(10, 15, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 15, 28, 0.14);
}

/* =========================================================
   RESET & BASE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-ink-text);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-teal);
  color: var(--color-ink);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(34, 211, 166, 0.35);
}

.btn-small {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

/* =========================================================
   NAVIGATION (white sticky bar at the top)
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 1px 3px rgba(10, 15, 28, 0.04);
  /* Critical: allow the oversized logo to overflow above and below */
  overflow: visible;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  /* Nav stays at fixed 110px regardless of the absolutely-positioned logo */
  height: 110px;
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
}

.logo-link {
  display: block;
  flex-shrink: 0;
  /* Reserve horizontal space in the flex flow for the floating logo */
  width: 340px;
  height: 110px;
  position: relative;
  /* Shift the logo ~2 cm to the left */
  margin-left: -76px;
}

.logo-img {
  height: 220px;
  width: auto;
  display: block;
  /* Centered vertically inside the nav, overflowing equally above and below */
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 60;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-ink);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-blue);
}

/* =========================================================
   BANNERS (Hero + Who We Help)
   Images full-width avec texte intégré
   ========================================================= */

.hero-banner,
.who-banner {
  width: 100%;
  position: relative;
  background-color: var(--color-ink);
  line-height: 0;
}

.banner-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* On donne un min-height au hero pour qu'il occupe une bonne partie de l'écran */
.hero-banner {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-banner .banner-image {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
}

.who-banner {
  overflow: hidden;
}

.who-banner .banner-image {
  width: 100%;
  height: auto;
}

/* =========================================================
   SECTION TAGS & HEADINGS
   ========================================================= */

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 1rem;
  max-width: 760px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 640px;
  margin-bottom: 3rem;
}

/* =========================================================
   WHAT WE DO
   ========================================================= */

.what-we-do {
  padding: var(--section-padding-y) 0;
  background-color: var(--color-cloud);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--color-border-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Vary the icon gradient for each service card to showcase the full palette */
.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, var(--color-teal), var(--color-lavender));
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, var(--color-lavender), var(--color-blue));
}

.service-icon i {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-muted);
  font-size: 0.97rem;
}

/* Service card as a clickable link */
.service-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  color: var(--color-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-card-arrow i {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.service-card-link:hover .service-card-arrow {
  color: var(--color-teal);
  gap: 0.7rem;
}

.service-card-link:hover .service-card-arrow i {
  transform: translateX(2px);
}

/* =========================================================
   SERVICE DETAIL PAGE (influencer-partnerships.html, etc.)
   ========================================================= */

.page-hero {
  background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-ink-soft) 100%);
  color: var(--color-cloud);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.18), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(34, 211, 166, 0.12), transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  color: rgba(242, 244, 247, 0.7);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  transition: color 0.15s ease, gap 0.15s ease;
}

.back-link:hover {
  color: var(--color-teal);
  gap: 0.7rem;
}

.back-link i {
  width: 18px;
  height: 18px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  font-weight: 900;
  color: var(--color-cloud);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  max-width: 900px;
}

.page-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(242, 244, 247, 0.8);
  max-width: 720px;
  margin: 0;
}

.service-detail {
  padding: var(--section-padding-y) 0;
  background-color: var(--color-cloud);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--color-border-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon i {
  width: 26px;
  height: 26px;
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, var(--color-teal), var(--color-lavender));
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, var(--color-lavender), var(--color-blue));
}

.feature-card:nth-child(4) .feature-icon {
  background: linear-gradient(135deg, var(--color-blue), var(--color-lavender));
}

.feature-card:nth-child(5) .feature-icon {
  background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
}

.feature-card:nth-child(6) .feature-icon {
  background: linear-gradient(135deg, var(--color-lavender), var(--color-teal));
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--color-muted);
  font-size: 0.97rem;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Bullet list with check icons on light backgrounds */
.who-list-dark {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.who-list-dark li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--color-ink-text);
}

.who-list-dark li i {
  width: 20px;
  height: 20px;
  color: var(--color-teal);
  flex-shrink: 0;
}

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

.about {
  padding: var(--section-padding-y) 0;
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-content h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  gap: 1rem;
}

.stat {
  background: linear-gradient(135deg, var(--color-ink), var(--color-ink-soft));
  color: var(--color-cloud);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--color-teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Alternate stat number colors to show the full palette */
.stat:nth-child(2) .stat-number {
  color: var(--color-lavender);
}

.stat:nth-child(3) .stat-number {
  color: var(--color-blue);
}

.stat-label {
  display: block;
  color: rgba(242, 244, 247, 0.78);
  font-size: 0.95rem;
}

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

.contact {
  padding: var(--section-padding-y) 0;
  background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-ink-soft) 100%);
}

.contact-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(139, 147, 255, 0.1) 50%, rgba(34, 211, 166, 0.08));
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  border: 1px solid var(--color-border);
  max-width: 880px;
  margin: 0 auto;
}

.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-cloud);
  margin-bottom: 1rem;
}

.contact-card p {
  color: rgba(242, 244, 247, 0.78);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

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

.contact-form {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(242, 244, 247, 0.85);
  letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--color-cloud);
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(242, 244, 247, 0.4);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-teal);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(34, 211, 166, 0.18);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
  font-family: var(--font-body);
}

.form-submit {
  margin-top: 0.5rem;
  width: 100%;
}

.form-fallback {
  text-align: center;
  font-size: 0.9rem !important;
  color: rgba(242, 244, 247, 0.55) !important;
  max-width: none !important;
  margin: 1.5rem auto 0 !important;
}

.form-fallback a {
  color: var(--color-teal);
  font-weight: 600;
  text-decoration: none;
}

.form-fallback a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Honeypot field for spam protection (must be invisible to humans) */
.hidden-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Success state after form submission */
.contact-success {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}

.contact-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-blue));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 12px 30px rgba(34, 211, 166, 0.35);
}

.contact-success-icon i {
  width: 38px;
  height: 38px;
}

.contact-success h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--color-cloud);
  margin: 0 0 1rem;
}

.contact-success p {
  color: rgba(242, 244, 247, 0.78) !important;
  font-size: 1.05rem;
  margin: 0 !important;
  max-width: 460px !important;
}

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

.site-footer {
  background-color: var(--color-ink);
  color: rgba(242, 244, 247, 0.6);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  mix-blend-mode: lighten;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(242, 244, 247, 0.45);
}

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

/* Burger button — hidden on desktop, visible on mobile */
.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  color: var(--color-ink);
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* CTA inside the mobile menu — hidden on desktop */
.nav-cta-mobile {
  display: none;
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    min-height: 50vh;
  }

  .hero-banner .banner-image {
    min-height: 50vh;
    object-position: left center;
  }

  /* Header allows the sticky absolute mobile menu to anchor */
  .site-header {
    position: sticky;
    overflow: visible;
  }

  /* Compact mobile nav */
  .nav {
    height: 72px;
    gap: 0.75rem;
  }

  /* Logo in natural flow, normal size */
  .logo-link {
    width: auto;
    height: auto;
    margin-left: 0;
    position: static;
  }

  .logo-img {
    position: static;
    transform: none;
    height: 88px;
    width: auto;
  }

  /* Hide desktop CTA button on mobile */
  .nav > .btn-primary {
    display: none;
  }

  /* Show burger */
  .nav-burger {
    display: inline-flex;
  }

  /* Nav links become a dropdown panel */
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1.25rem;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border-light);
    box-shadow: 0 12px 24px rgba(10, 15, 28, 0.08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    padding: 0;
  }

  .nav-links li a:not(.btn) {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  /* Show CTA at the bottom of the mobile menu */
  .nav-cta-mobile {
    display: block;
    padding: 1rem 1.5rem 0;
  }

  .nav-cta-mobile .btn {
    width: 100%;
  }
}
