/* ============================================
   DESIGN BY CLOÉ — Global Stylesheet
   Colors: #afc1ed #6296f7 #f0f2f9 #f76c5e #2321bc
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

:root {
  --blue-light: #afc1ed;
  --blue-mid: #6296f7;
  --blue-pale: #f0f2f9;
  --coral: #f76c5e;
  --blue-dark: #2321bc;
  --white: #ffffff;
  --black: #1a1a2e;

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 50px;
  --radius-blob: 40% 60% 55% 45% / 50% 40% 60% 50%;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* SELECTION */
::selection {
  background: var(--coral);
  color: var(--white);
}

/* ============================================
   CURSOR BLOB (fun graphic element)
   ============================================ */
.cursor-blob {
  position: fixed;
  width: 24px;
  height: 24px;
  background: var(--coral);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.15s ease, width 0.3s, height 0.3s;
  transform: translate(-50%, -50%);
  display: none;
}
@media (pointer: fine) {
  .cursor-blob { display: block; }
}
.cursor-blob.hovering {
  width: 60px;
  height: 60px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  max-width: 65ch;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue-mid), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-coral { color: var(--coral); }
.text-blue { color: var(--blue-mid); }
.text-dark-blue { color: var(--blue-dark); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(35,33,188,0.06);
  padding: 0.8rem 2rem;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo .dot {
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--blue-dark); }

.nav-cta {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  background: var(--blue-dark) !important;
  color: var(--white) !important;
  padding: 0.7rem 1.6rem !important;
  border-radius: var(--radius-xl) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--coral) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(247,108,94,0.3) !important;
}

/* Mobile menu */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}
.nav-burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--blue-dark);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--coral); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(247,108,94,0.35);
}
.btn-secondary {
  background: var(--blue-dark);
  color: var(--white);
}
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(35,33,188,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border: 2.5px solid var(--blue-dark);
}
.btn-outline:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-3px);
}

.btn .arrow {
  transition: transform 0.3s;
}
.btn:hover .arrow {
  transform: translateX(5px);
}

/* ============================================
   DECORATIVE SHAPES
   ============================================ */
.deco-blob {
  position: absolute;
  border-radius: var(--radius-blob);
  z-index: -1;
  animation: morph 8s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; }
  25% { border-radius: 55% 45% 40% 60% / 45% 55% 50% 50%; }
  50% { border-radius: 45% 55% 60% 40% / 55% 45% 45% 55%; }
  75% { border-radius: 60% 40% 45% 55% / 40% 60% 55% 45%; }
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

.deco-squiggle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.float {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.float-delay { animation-delay: -3s; }

.spin-slow {
  animation: spin-slow 20s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  background: var(--blue-pale);
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--blue-light);
  border-radius: var(--radius-blob);
  opacity: 0.5;
  animation: morph 10s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: var(--coral);
  border-radius: var(--radius-blob);
  opacity: 0.15;
  animation: morph 12s ease-in-out infinite reverse;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(35,33,188,0.08);
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-badge .emoji { font-size: 1.1rem; }

.hero h1 {
  margin-bottom: 1.5rem;
  animation: slideUp 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero h1 .line { display: block; }
.hero h1 .highlight {
  position: relative;
  display: inline-block;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--coral);
  opacity: 0.3;
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-3deg);
}

.hero-text {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: #555;
  margin-bottom: 2rem;
  animation: slideUp 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: slideUp 0.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper {
  width: 420px;
  height: 500px;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(35,33,188,0.15);
  animation: morph 10s ease-in-out infinite, slideUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* floating deco elements around hero image */
.hero-deco-1 {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--coral);
  border-radius: 50%;
  animation: float 5s ease-in-out infinite;
  z-index: 3;
}
.hero-deco-2 {
  position: absolute;
  bottom: 30px;
  left: -30px;
  width: 60px;
  height: 60px;
  background: var(--blue-mid);
  border-radius: 30% 70% 60% 40% / 50% 30% 70% 50%;
  animation: float 6s ease-in-out infinite reverse;
  z-index: 3;
}
.hero-deco-3 {
  position: absolute;
  top: 50%;
  right: -50px;
  width: 100px;
  height: 100px;
  border: 4px solid var(--blue-dark);
  border-radius: 50%;
  animation: spin-slow 15s linear infinite;
  opacity: 0.3;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   STATS BAR (marquee)
   ============================================ */
.stats-bar {
  background: var(--blue-dark);
  color: var(--white);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
}
.stats-track {
  display: flex;
  gap: 4rem;
  animation: scroll-left 25s linear infinite;
  width: max-content;
}
.stats-track .stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  font-family: var(--font-display);
}
.stat-item .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--coral);
}
.stat-item .label {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.9;
}
.stat-item .separator {
  font-size: 1.5rem;
  opacity: 0.3;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
  padding: var(--space-xl) 2rem;
  position: relative;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title {
  margin-bottom: 1.5rem;
}
.section-desc {
  color: #666;
  margin-bottom: 3rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(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; }

/* ============================================
   SERVICES CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border: 2px solid var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(35,33,188,0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.service-icon.strat,
.service-icon.idv,
.service-icon.social,
.service-icon.print { background: var(--blue-light); }

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--blue-dark);
}
.service-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.service-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s;
}
.service-card:hover .service-link { gap: 0.8rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--blue-pale);
  overflow: hidden;
}
.testimonials-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.testimonials-slider::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.testimonial-text {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-dark);
}
.testimonial-stars {
  color: var(--coral);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--blue-dark);
  color: var(--white);
  text-align: center;
  padding: var(--space-xl) 2rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--blue-mid);
  border-radius: var(--radius-blob);
  opacity: 0.15;
  animation: morph 10s ease-in-out infinite;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: var(--coral);
  border-radius: var(--radius-blob);
  opacity: 0.1;
  animation: morph 12s ease-in-out infinite reverse;
}
.cta-section h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}
.cta-section p {
  position: relative;
  z-index: 1;
  margin: 0 auto 2.5rem;
  opacity: 0.85;
  font-size: 1.15rem;
}
.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
}
.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 3px solid var(--coral);
  transform: translate(15px, 15px);
  z-index: -1;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--blue-pale);
  transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-5px); }
.value-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* About stats grid */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-item:hover img {
  transform: scale(1.08);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35,33,188,0.9), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 {
  color: var(--white);
  margin-bottom: 0.3rem;
}
.portfolio-overlay span {
  color: var(--blue-light);
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
}

/* Featured portfolio */
.portfolio-featured {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.portfolio-featured .portfolio-item:first-child {
  aspect-ratio: auto;
  min-height: 400px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 1rem 1.2rem;
  border: 2px solid var(--blue-pale);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  color: var(--black);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 4px rgba(98,150,247,0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.contact-info h3 {
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail-text {
  font-size: 0.95rem;
  opacity: 0.9;
}
.contact-detail-text strong {
  display: block;
  font-family: var(--font-display);
  opacity: 1;
}

.contact-socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1.1rem;
}
.social-link:hover {
  background: var(--coral);
  transform: translateY(-3px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--coral);
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 0.8rem;
  transition: opacity 0.3s, color 0.3s;
}
.footer-col a:hover {
  opacity: 1;
  color: var(--coral);
}
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
  padding: 10rem 2rem 4rem;
  background: var(--blue-pale);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--blue-light);
  border-radius: var(--radius-blob);
  opacity: 0.3;
  animation: morph 10s ease-in-out infinite;
}
.page-header h1 {
  position: relative;
  z-index: 1;
}
.page-header p {
  position: relative;
  z-index: 1;
  margin: 1rem auto 0;
  color: #666;
  font-size: 1.15rem;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 2rem;
  text-align: center;
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--blue-light);
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}
.process-step h4 {
  color: var(--blue-dark);
  margin-bottom: 0.8rem;
}
.process-step p {
  font-size: 0.9rem;
  color: #666;
  margin: 0 auto;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--coral);
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(247,108,94,0.15);
}
.pricing-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-xl);
}
.pricing-card:hover {
  border-color: var(--blue-mid);
  transform: translateY(-5px);
}
.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}
.pricing-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
}
.pricing-price span {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.6;
}
.pricing-features {
  text-align: left;
  margin-bottom: 2rem;
}
.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #555;
}
.pricing-features li::before {
  content: '✓';
  color: var(--coral);
  font-weight: 800;
  font-size: 0.85rem;
}

/* ============================================
   SQUIGGLE / HAND-DRAWN SVG DECORATIONS
   ============================================ */
.squiggle-container {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.squiggle-container svg {
  width: 100%;
  height: 100%;
}
.draw-in {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawLine 2s ease forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--blue-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.6s, visibility 0.6s;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
}
.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar-fill {
  width: 0;
  height: 100%;
  background: var(--coral);
  border-radius: 2px;
  animation: loadBar 1.2s ease forwards;
}
@keyframes loadBar {
  to { width: 100%; }
}

/* ============================================
   SPECIAL: BOLD GRAPHIC ACCENTS
   ============================================ */
.graphic-accent {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.wavy-line {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wavy-line svg {
  width: 100%;
  height: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { justify-content: center; margin-top: 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-img-wrapper { width: 320px; height: 380px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-featured { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; text-align: center; }
  .about-hero .about-img { max-width: 400px; margin: 0 auto; }
  .about-hero .about-img img { height: 400px; }
  .about-hero p { margin-left: auto; margin-right: auto; }
  .about-hero .about-text { display: flex; flex-direction: column; align-items: center; }
  .about-hero .about-text .section-label { justify-content: center; }
  .about-hero .about-text .btn { align-self: center; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .about-stats-grid { gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-5px); }
  .nav-logo img { height: 40px !important; }
}

@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-burger { display: flex !important; }
}

@media (max-width: 600px) {
  .hero { padding: 7rem 1.2rem 3rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero-img-wrapper { width: 260px; height: 310px; }
  .section { padding: 3.5rem 1.2rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-hero .about-img img { height: 300px; }
  .about-hero .about-img { max-width: 100%; }
  .about-hero .about-img::after { transform: translate(8px, 8px); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .process-steps { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 300px; }
  .nav-logo img { height: 100px !important; }
  .nav { padding: 0.8rem 1rem; }
  .nav.scrolled { padding: 0.5rem 1rem; }
}