/* ===========================================================
   Assistimmo - Style principal
   Palette fidèle au site existant (taupe / or / crème)
   =========================================================== */

:root {
  --taupe: #9B8A72;
  --taupe-dark: #7a6b56;
  --taupe-light: #B9A98F;
  --cream: #F5F2E9;
  --cream-dark: #EDE6D4;
  --dark: #0C0C0C;
  --grey: #6b6b6b;
  --grey-light: #e8e4dc;
  --white: #ffffff;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px rgba(12, 12, 12, 0.08);
  --shadow-lg: 0 30px 80px rgba(12, 12, 12, 0.12);
  --transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-serif: 'Tenor Sans', 'Inter', serif;
  --font-sans: 'DM Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

.accent { color: var(--taupe); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--taupe);
  font-weight: 500;
  margin-bottom: 18px;
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
}
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1rem; }

.section { padding: 120px 0; position: relative; }
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 70px;
}
.section-head h2 { margin-bottom: 18px; }
.section-lead {
  color: var(--grey);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 20px auto 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition);
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--taupe);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--taupe-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(155, 138, 114, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: rgba(12, 12, 12, 0.18);
}
.btn-ghost:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-logo img {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.7; }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(12, 12, 12, 0.05);
  padding: 14px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--dark);
}
.nav ul {
  display: flex;
  list-style: none;
  gap: 42px;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  color: var(--dark);
  transition: color 0.3s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--taupe);
  transition: width 0.35s ease;
}
.nav a:hover { color: var(--taupe); }
.nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 6px;
}
.menu-toggle span {
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

.accent-light { color: var(--cream); }
.eyebrow-light { color: var(--cream); }

.btn-light {
  background: var(--white);
  color: var(--taupe-dark);
}
.btn-light:hover {
  background: var(--cream);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, #FAF7EF 50%, var(--cream-dark) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(155, 138, 114, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(155, 138, 114, 0.12) 0%, transparent 50%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-text { max-width: 580px; }
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.4rem;
  color: var(--taupe);
  font-family: var(--font-serif);
  margin-bottom: 28px;
  font-style: italic;
}
.hero-desc {
  color: var(--grey);
  font-size: 1.05rem;
  margin-bottom: 42px;
  max-width: 500px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Visual */
.hero-visual {
  position: relative;
  height: 560px;
}
.visual-frame {
  position: absolute;
  inset: 6% 8% 6% 8%;
  background: var(--taupe);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
  clip-path: inset(100% 0 0 0);
  animation: maskReveal 1.4s cubic-bezier(0.77, 0, 0.175, 1) 0.3s forwards,
             floaty 6s ease-in-out 1.7s infinite;
}
@keyframes maskReveal {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
.visual-frame-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12,12,12,0.35) 100%);
  pointer-events: none;
}
.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kenburns {
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.15) translate(-2%, -2%); }
}
.visual-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(155,138,114,0.15), transparent 40%, rgba(0,0,0,0.2));
  pointer-events: none;
}
.visual-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 2;
}
.visual-badge img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.visual-badge span {
  font-family: var(--font-serif);
  color: var(--dark);
  font-size: 0.95rem;
}
.hero-blob {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(155,138,114,0.35) 0%, transparent 70%);
  border-radius: 50%;
  top: -60px;
  right: -60px;
  filter: blur(40px);
  z-index: -1;
  animation: blobMove 10s ease-in-out infinite;
}
@keyframes blobMove {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.1); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  animation: floaty 5s ease-in-out infinite;
}
.float-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--dark);
}
.float-card small {
  color: var(--grey);
  font-size: 0.78rem;
}
.float-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--taupe);
  box-shadow: 0 0 0 4px rgba(155, 138, 114, 0.2);
}
.dot-2 { background: #C5A979; box-shadow: 0 0 0 4px rgba(197, 169, 121, 0.2); }
.dot-3 { background: #7a6b56; box-shadow: 0 0 0 4px rgba(122, 107, 86, 0.2); }

.card-1 { top: 8%; left: -8%; animation-delay: 0.2s; }
.card-2 { top: 45%; right: -10%; animation-delay: 1s; }
.card-3 { bottom: 8%; left: 5%; animation-delay: 1.8s; }

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 1.5px solid var(--taupe);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-indicator span {
  width: 3px;
  height: 8px;
  background: var(--taupe);
  border-radius: 2px;
  animation: scroll 1.6s ease-in-out infinite;
}
@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ===== About ===== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  color: var(--grey);
  font-size: 1.02rem;
  margin-bottom: 20px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--dark); font-weight: 600; }

/* Collage */
.about-collage {
  position: relative;
  height: 560px;
}
.collage-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 72%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.collage-main:hover img { transform: scale(1.08); }
.collage-side {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 50%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 3;
  border: 8px solid var(--white);
}
.collage-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.collage-side:hover img { transform: scale(1.08); }
.collage-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 14px 20px;
  border-radius: 12px;
  max-width: 220px;
  z-index: 4;
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.collage-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--taupe);
  line-height: 1;
}
.collage-badge span {
  font-size: 0.78rem;
  color: var(--grey);
  line-height: 1.3;
  display: block;
  margin-top: 4px;
}
.collage-dot {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--taupe);
  box-shadow: 0 0 0 6px rgba(155,138,114,0.2),
              0 0 0 14px rgba(155,138,114,0.1);
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 6px rgba(155,138,114,0.2), 0 0 0 14px rgba(155,138,114,0.08); }
  50% { box-shadow: 0 0 0 10px rgba(155,138,114,0.25), 0 0 0 22px rgba(155,138,114,0.05); }
}

/* ===== Stats band ===== */
.stats-band {
  background: var(--taupe);
  color: var(--white);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08), transparent 50%);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
}
.stat-item {
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.25);
}
.stat-item .stat-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-item .stat-label {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
}

/* ===== Showcase parallax ===== */
.showcase {
  position: relative;
  padding: 180px 0;
  overflow: hidden;
  color: var(--white);
}
.showcase-bg {
  position: absolute;
  inset: -10% 0;
  z-index: -2;
}
.showcase-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,12,12,0.75) 0%, rgba(122,107,86,0.55) 60%, rgba(155,138,114,0.45) 100%);
  z-index: -1;
}
.showcase-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
}
.showcase-inner h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  margin-bottom: 28px;
}
.showcase-text {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Marquee ===== */
.marquee {
  background: var(--dark);
  color: var(--white);
  padding: 28px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--dark), transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.9);
}
.marquee-track .dot-sep {
  color: var(--taupe);
  font-size: 1.5rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Process / pillars ===== */
.process {
  background: var(--cream);
  position: relative;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--taupe);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.pillar:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar .num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--taupe);
  opacity: 0.4;
  margin-bottom: 20px;
}
.pillar h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
}
.pillar p {
  color: var(--grey);
  font-size: 0.92rem;
}

/* ===== Services ===== */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service {
  padding: 40px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--grey-light);
  transition: var(--transition);
  background: var(--white);
}
.service:hover {
  transform: translateY(-8px);
  border-color: var(--taupe);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taupe);
  margin-bottom: 24px;
  transition: var(--transition);
}
.service:hover .service-icon {
  background: var(--taupe);
  color: var(--white);
}
.service-icon svg { width: 28px; height: 28px; }
.service h3 { margin-bottom: 12px; }
.service p {
  color: var(--grey);
  font-size: 0.94rem;
}

/* ===== Network / Réseau ===== */
.network {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.network::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(155, 138, 114, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.network::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(155, 138, 114, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.network-item {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.network-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cream) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.network-item:hover {
  transform: translateY(-6px);
  border-color: var(--taupe);
  box-shadow: 0 14px 32px rgba(155, 138, 114, 0.18);
}
.network-item:hover::before { opacity: 1; }

.network-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taupe);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.network-item:hover .network-icon {
  background: var(--taupe);
  color: var(--white);
  transform: rotate(-6deg) scale(1.08);
}
.network-icon svg { width: 26px; height: 26px; }

.network-item span {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

/* Stagger for network items */
.network-grid .network-item:nth-child(1) { transition-delay: 0s; }
.network-grid .network-item:nth-child(2) { transition-delay: 0.05s; }
.network-grid .network-item:nth-child(3) { transition-delay: 0.1s; }
.network-grid .network-item:nth-child(4) { transition-delay: 0.15s; }
.network-grid .network-item:nth-child(5) { transition-delay: 0.2s; }
.network-grid .network-item:nth-child(6) { transition-delay: 0.25s; }
.network-grid .network-item:nth-child(7) { transition-delay: 0.3s; }
.network-grid .network-item:nth-child(8) { transition-delay: 0.35s; }
.network-grid .network-item:nth-child(9) { transition-delay: 0.4s; }
.network-grid .network-item:nth-child(10) { transition-delay: 0.45s; }
.network-grid .network-item:nth-child(11) { transition-delay: 0.5s; }
.network-grid .network-item:nth-child(12) { transition-delay: 0.55s; }
.network-grid .network-item:nth-child(13) { transition-delay: 0.6s; }
.network-grid .network-item:nth-child(14) { transition-delay: 0.65s; }
.network-grid .network-item:nth-child(15) { transition-delay: 0.7s; }

.network-cta {
  margin-top: 60px;
  padding: 40px 50px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.network-cta p {
  color: var(--grey);
  font-size: 1rem;
  max-width: 620px;
  margin: 0;
}
.network-cta strong {
  color: var(--taupe-dark);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .network-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .network-grid { grid-template-columns: repeat(3, 1fr); }
  .network-cta { flex-direction: column; text-align: center; padding: 32px 28px; }
}
@media (max-width: 560px) {
  .network-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .network-item { padding: 22px 14px; }
}

/* ===== Apps ===== */
.apps {
  background: linear-gradient(180deg, var(--cream) 0%, #FAF7EF 100%);
  position: relative;
}

.app-featured {
  display: block;
  background: linear-gradient(135deg, var(--taupe) 0%, var(--taupe-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: var(--white);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.app-featured-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.app-featured-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  mix-blend-mode: luminosity;
  transform: scale(1.05);
  transition: transform 1.4s ease, opacity 0.6s ease;
}
.app-featured:hover .app-featured-bg img {
  transform: scale(1.12);
  opacity: 0.28;
}
.app-featured::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.app-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 100px rgba(122, 107, 86, 0.4);
}
.app-featured-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.app-featured-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.app-featured h3 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.app-featured h3 .accent { color: var(--cream); }
.app-featured > .app-featured-content > div > p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 460px;
}
.app-points {
  list-style: none;
  margin-bottom: 34px;
}
.app-points li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
}
.app-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 2px;
  background: var(--cream);
}
.app-featured .btn-primary {
  background: var(--white);
  color: var(--taupe-dark);
}
.app-featured .btn-primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* mockup */
.app-featured-visual { position: relative; }
.mockup {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.3);
  transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.6s ease;
}
.app-featured:hover .mockup {
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}
.mockup-bar {
  display: flex;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey-light);
}
.mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grey-light);
}
.mockup-body { padding-top: 18px; }
.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}
.mockup-row .bar {
  height: 8px;
  background: linear-gradient(90deg, var(--taupe), var(--taupe-light));
  border-radius: 4px;
  flex: 1;
  max-width: 60%;
}
.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-40 { width: 40%; }
.w-90 { width: 90%; }
.mockup-row .val {
  font-family: var(--font-serif);
  color: var(--taupe-dark);
  font-size: 0.9rem;
}
.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 90px;
  padding-top: 20px;
  border-top: 1px solid var(--grey-light);
  margin-top: 14px;
}
.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--taupe), var(--taupe-light));
  border-radius: 4px 4px 0 0;
  height: var(--h);
  animation: chartGrow 1.2s ease-out;
}
@keyframes chartGrow {
  from { height: 0; }
  to { height: var(--h); }
}

/* app grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.app-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 34px;
  position: relative;
  transition: var(--transition);
  border: 1px solid transparent;
  display: block;
}
.app-card:hover {
  transform: translateY(-8px);
  border-color: var(--taupe);
  box-shadow: var(--shadow);
}
.app-status {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--cream);
  color: var(--taupe-dark);
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.app-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taupe);
  margin-bottom: 24px;
  transition: var(--transition);
}
.app-card:hover .app-icon {
  background: var(--taupe);
  color: var(--white);
}
.app-icon svg { width: 28px; height: 28px; }
.app-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.app-card p {
  color: var(--grey);
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.app-link {
  color: var(--taupe);
  font-weight: 500;
  font-size: 0.9rem;
  transition: 0.3s;
}
.app-card:hover .app-link {
  color: var(--taupe-dark);
  letter-spacing: 0.03em;
}
.app-card-soon {
  background: transparent;
  border: 2px dashed rgba(155, 138, 114, 0.4);
}
.app-card-soon:hover { background: var(--white); }

/* ===== Contact ===== */
.contact {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-deco {
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  z-index: 0;
  opacity: 0.08;
  pointer-events: none;
}
.contact-deco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: grayscale(30%);
}
.contact .container { position: relative; z-index: 1; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-text h2 { margin-bottom: 22px; }
.contact-text > p {
  color: var(--grey);
  margin-bottom: 42px;
  max-width: 440px;
}
.contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.ci-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--taupe);
  flex-shrink: 0;
}
.ci-icon svg { width: 22px; height: 22px; }
.contact-info strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--taupe);
  margin-bottom: 4px;
}
.contact-info span, .contact-info a {
  font-size: 0.96rem;
  color: var(--dark);
}
.contact-info a:hover { color: var(--taupe); }

.contact-form {
  background: var(--cream);
  padding: 46px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--taupe-dark);
  letter-spacing: 0.05em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--dark);
  transition: border-color 0.3s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--taupe);
}
.contact-form button {
  margin-top: 10px;
  align-self: flex-start;
}
.consent-line {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px !important;
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 4px;
}
.consent-line input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--taupe);
  cursor: pointer;
}
.consent-line span {
  font-weight: 400 !important;
  color: var(--grey) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.45;
}
.consent-line a {
  color: var(--taupe-dark);
  text-decoration: underline;
}
.form-status {
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 10px;
  margin: 0;
  min-height: 0;
  transition: all 0.3s ease;
}
.form-status:empty { padding: 0; }
.form-status.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.form-status.error {
  background: #fef4f4;
  color: #b42318;
  border: 1px solid #fde0dc;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
}
.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.94rem;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col li, .footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--taupe-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  font-size: 0.82rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.6); }
.footer-bottom a:hover { color: var(--taupe-light); }

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Section stagger: delay children of a revealed grid */
.pillars .pillar:nth-child(1) { transition-delay: 0s; }
.pillars .pillar:nth-child(2) { transition-delay: 0.12s; }
.pillars .pillar:nth-child(3) { transition-delay: 0.24s; }
.pillars .pillar:nth-child(4) { transition-delay: 0.36s; }

.services-grid .service:nth-child(1) { transition-delay: 0s; }
.services-grid .service:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service:nth-child(4) { transition-delay: 0.3s; }
.services-grid .service:nth-child(5) { transition-delay: 0.4s; }
.services-grid .service:nth-child(6) { transition-delay: 0.5s; }

.apps-grid .app-card:nth-child(1) { transition-delay: 0s; }
.apps-grid .app-card:nth-child(2) { transition-delay: 0.12s; }
.apps-grid .app-card:nth-child(3) { transition-delay: 0.24s; }

.stats-inner .stat-item:nth-child(1) { transition-delay: 0s; }
.stats-inner .stat-item:nth-child(2) { transition-delay: 0.1s; }
.stats-inner .stat-item:nth-child(3) { transition-delay: 0.2s; }
.stats-inner .stat-item:nth-child(4) { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
  .stat-item + .stat-item::before { display: none; }
  .stats-inner .stat-item:nth-child(2n+1)::before { display: none; }
}

@media (max-width: 980px) {
  .section { padding: 90px 0; }
  .hero { padding: 130px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: 420px; max-width: 480px; margin: 0 auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-collage { height: 460px; max-width: 520px; }
  .showcase { padding: 130px 0; }
  .marquee-track span { font-size: 1.4rem; }
  .contact-deco { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }
  .app-featured { padding: 44px; }
  .app-featured-content { grid-template-columns: 1fr; gap: 40px; }
  .app-featured h3 { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    padding: 100px 40px 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
  }
  .nav.open { right: 0; }
  .nav ul { flex-direction: column; gap: 24px; }
  .nav a { font-size: 1.1rem; }
  .menu-toggle { display: flex; }
  .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .container { padding: 0 22px; }
  .hero-title { font-size: 2.6rem; }
  .pillars { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .app-featured { padding: 32px 24px; }
  .app-featured h3 { font-size: 1.7rem; }
  .contact-form { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .float-card { padding: 10px 14px; font-size: 0.78rem; }
  .card-1 { left: 0; }
  .card-2 { right: 0; }
  .brand-name { display: none; }
  .about-collage { height: 380px; }
  .stats-inner .stat-item .stat-num { font-size: 2.4rem; }
  .marquee-track span { font-size: 1.1rem; }
  .marquee-track { gap: 22px; }
}
