@import url("tokens.css");

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { font-family: var(--font-body); font-size: var(--text-base); line-height: 1.7; color: var(--color-ink); background: var(--color-paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-weight: 300; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; font-style: normal; letter-spacing: 0.02em; }
h1 { font-size: var(--text-display); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
p { max-width: 65ch; font-weight: 300; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }
.mono { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.15em; font-size: var(--text-xs); font-weight: 600; }
.serif { font-family: var(--font-secondary); }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--space-xl); }
section { padding-block: var(--space-3xl); }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* === Buttons &#8212; luxury === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: var(--space-md) var(--space-2xl); border-radius: var(--radius-full); font-weight: 400; font-size: var(--text-sm); letter-spacing: 0.1em; text-transform: uppercase; transition: all var(--dur-base) var(--ease-luxury); text-align: center; font-family: var(--font-body); }
.btn-gold { background: var(--color-gold); color: var(--color-navy); }
.btn-gold:hover { background: oklch(80% 0.12 75); transform: translateY(-2px); box-shadow: 0 8px 24px oklch(75% 0.12 75 / 0.3); }
.btn-gold:active { transform: translateY(0); }
.btn-sm { padding: var(--space-sm) var(--space-xl); font-size: var(--text-xs); }
.btn-ghost { border: 1px solid var(--color-ink); color: var(--color-ink); background: transparent; }
.btn-ghost:hover { background: var(--color-ink); color: var(--color-paper); }
.btn-glass { background: var(--color-glass); backdrop-filter: blur(20px); border: 1px solid var(--color-glass-border); color: var(--color-white); }
.btn-glass:hover { background: oklch(100% 0.01 240 / 0.15); }

/* === HEADER &#8212; premium sticky bar === */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: oklch(15% 0.03 250 / 0.85); backdrop-filter: blur(24px) saturate(180%); border-bottom: 1px solid oklch(75% 0.12 75 / 0.15); transition: background var(--dur-base) var(--ease-luxury), border-color var(--dur-base) var(--ease-luxury); }
.site-header.scrolled { background: oklch(15% 0.03 250 / 0.95); border-bottom-color: oklch(75% 0.12 75 / 0.3); }
.header-inner { max-width: 1280px; margin-inline: auto; padding: var(--space-sm) var(--space-xl); display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 64px; }
.header-brand { display: flex; align-items: center; gap: var(--space-sm); }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 2px solid var(--color-gold); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-gold); }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); letter-spacing: 0.2em; color: var(--color-paper); }
.header-nav { display: flex; gap: var(--space-xl); align-items: center; }
.header-link { font-size: var(--text-xs); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(80% 0.01 240); transition: color var(--dur-fast) var(--ease-luxury); position: relative; }
.header-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--color-gold); transition: width var(--dur-fast) var(--ease-luxury); }
.header-link:hover { color: var(--color-gold); }
.header-link:hover::after { width: 100%; }
.header-cta { flex-shrink: 0; }
.header-burger { display: none; flex-direction: column; gap: 5px; padding: var(--space-xs); }
.header-burger span { display: block; width: 24px; height: 2px; background: var(--color-paper); border-radius: 2px; transition: all var(--dur-fast) var(--ease-luxury); }
.header-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-burger.open span:nth-child(2) { opacity: 0; }
.header-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-mobile-nav { display: none; flex-direction: column; gap: var(--space-md); padding: var(--space-lg) var(--space-xl) var(--space-xl); background: oklch(15% 0.03 250 / 0.98); border-bottom: 1px solid oklch(75% 0.12 75 / 0.15); }
.header-mobile-nav.open { display: flex; }
.header-mobile-nav a { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-paper); padding: var(--space-sm) 0; border-bottom: 1px solid oklch(75% 0.12 75 / 0.08); letter-spacing: 0.1em; }
.header-mobile-nav a:hover { color: var(--color-gold); }
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .header-burger { display: flex; }
}

/* === Section common === */
.section-eyebrow { color: var(--color-gold); margin-bottom: var(--space-md); font-weight: 600; }
.section-title { margin-bottom: var(--space-2xl); }
.section-title .accent { color: var(--color-gold); }

/* === HERO &#8212; cinematic === */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--space-4xl); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) contrast(1.15) saturate(1.2); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(12% 0.03 250 / 0.4) 0%, oklch(12% 0.03 250 / 0.55) 50%, var(--color-paper) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-eyebrow { color: var(--color-gold); margin-bottom: var(--space-xl); font-size: var(--text-sm); }
.hero-title { margin-bottom: var(--space-xl); color: var(--color-white); text-shadow: 0 4px 32px oklch(0% 0 0 / 0.4); font-size: var(--text-display-s); }
.hero-title .accent { color: var(--color-gold); font-style: normal; }
.hero-sub { font-size: var(--text-xl); color: oklch(100% 0.01 240 / 0.85); margin-bottom: var(--space-2xl); font-weight: 300; max-width: 50ch; font-family: var(--font-secondary); }
.hero-ctas { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.hero-photos { position: relative; z-index: 1; margin-top: var(--space-3xl); }
.hero-photos-label { color: var(--color-gold); margin-bottom: var(--space-md); }
.hero-carousel { display: flex; gap: var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-sm); -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--color-gold-soft) transparent; }
.hero-carousel::-webkit-scrollbar { height: 3px; }
.hero-carousel::-webkit-scrollbar-thumb { background: var(--color-gold); border-radius: var(--radius-full); }
.hero-slide { flex: 0 0 280px; scroll-snap-align: start; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-glass-border); box-shadow: 0 8px 32px oklch(12% 0.02 250 / 0.12); }
.hero-slide img { width: 100%; height: 200px; object-fit: cover; transition: transform var(--dur-slow) var(--ease-luxury); }
.hero-slide:hover img { transform: scale(1.06); }
@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: 120px; padding-bottom: var(--space-2xl); }
  .hero-title { font-size: clamp(2rem, 9vw, 3.5rem); line-height: 1.15; }
  .hero-sub { font-size: var(--text-base); }
  .hero-slide { flex: 0 0 240px; }
  .hero-slide img { height: 160px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}

/* === Preuve &#8212; glassmorphism stats === */
.preuve { background: var(--color-navy); color: var(--color-paper); }
.preuve .section-eyebrow { color: var(--color-gold); }
.preuve .section-title { color: var(--color-paper); }
.preuve .section-title .accent { color: var(--color-gold); }
.stats-row { display: flex; gap: var(--space-3xl); margin-bottom: var(--space-2xl); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: var(--text-4xl); font-weight: 700; color: var(--color-gold); line-height: 1; }
.stat-label { font-size: var(--text-sm); color: oklch(80% 0.01 240); margin-top: var(--space-xs); letter-spacing: 0.08em; text-transform: uppercase; }
.testimonial { font-family: var(--font-secondary); font-size: var(--text-2xl); font-style: italic; color: oklch(90% 0.01 240); margin-bottom: var(--space-sm); border-left: 2px solid var(--color-gold); padding-left: var(--space-xl); line-height: 1.4; }
.testimonial-source { font-size: var(--text-sm); color: oklch(70% 0.01 240); margin-bottom: var(--space-2xl); letter-spacing: 0.08em; text-transform: uppercase; }
.photo-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md); }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid oklch(100% 0.01 240 / 0.1); cursor: pointer; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform var(--dur-cinematic) var(--ease-luxury); }
.gallery-item figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--space-md); background: linear-gradient(transparent, oklch(12% 0.03 250 / 0.8)); color: var(--color-gold); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0; transition: opacity var(--dur-base) var(--ease-luxury); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover figcaption { opacity: 1; }
@media (max-width: 768px) { .stats-row { gap: var(--space-xl); } .photo-gallery { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); } .gallery-item img { height: 160px; } .gallery-item figcaption { opacity: 1; } }

/* === Process &#8212; whiteboard steps === */
.process { background: var(--color-paper-2); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.process-card { display: flex; flex-direction: column; text-align: left; padding: var(--space-xl); background: var(--color-paper); border: var(--rule-hair); border-radius: var(--radius-lg); transition: all var(--dur-base) var(--ease-luxury); cursor: pointer; position: relative; overflow: hidden; }
.process-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--color-gold); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-luxury); }
.process-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px oklch(12% 0.02 250 / 0.08); }
.process-card:hover::before { transform: scaleX(1); }
.process-visual { width: 100%; height: 120px; margin-bottom: var(--space-md); display: flex; align-items: center; justify-content: center; }
.process-visual svg { width: 100%; height: 100%; object-fit: contain; }
.process-num { color: var(--color-gold); margin-bottom: var(--space-xs); font-size: var(--text-sm); }
.process-name { font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: var(--space-sm); color: var(--color-navy); }
.process-desc { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-md); flex-grow: 1; font-weight: 300; }
.process-tags { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
.process-tag { font-size: var(--text-xs); padding: var(--space-2xs) var(--space-sm); background: var(--color-gold-soft); color: var(--color-navy); border-radius: var(--radius-full); font-weight: 500; }
@media (max-width: 768px) { .process-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); } .process-visual { height: 90px; } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

/* === Services &#8212; real assets === */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg); }
.service-card { display: flex; flex-direction: column; text-align: left; padding: var(--space-xl); background: var(--color-paper); border: var(--rule-hair); border-radius: var(--radius-lg); transition: all var(--dur-base) var(--ease-luxury); cursor: pointer; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--color-gold); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-luxury); }
.service-card:hover { transform: translateY(-4px); border-color: var(--color-gold); box-shadow: 0 12px 36px oklch(12% 0.02 250 / 0.08); }
.service-card:hover::before { transform: scaleX(1); }
.service-asset { width: 100%; aspect-ratio: 3 / 4; margin-bottom: var(--space-md); border-radius: var(--radius-md); overflow: hidden; position: relative; background: var(--color-navy); }
.service-asset img, .service-asset video { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-badge { position: absolute; bottom: var(--space-sm); left: var(--space-sm); background: oklch(15% 0.03 250 / 0.8); color: var(--color-gold); font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-full); backdrop-filter: blur(8px); letter-spacing: 0.08em; }
.service-num { color: var(--color-gold); margin-bottom: var(--space-xs); }
.service-name { font-family: var(--font-display); font-size: var(--text-lg); margin-bottom: var(--space-sm); color: var(--color-navy); }
.service-desc { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-md); flex-grow: 1; font-weight: 300; }
.service-link { font-size: var(--text-xs); font-weight: 600; color: var(--color-gold); letter-spacing: 0.1em; text-transform: uppercase; }

/* === Modals === */
.modal { border: none; border-radius: var(--radius-lg); padding: 0; max-width: 540px; width: calc(100vw - 2 * var(--space-lg)); max-height: 90vh; box-shadow: 0 24px 80px oklch(12% 0.02 250 / 0.2); overflow-y: auto; }
.modal::backdrop { background: oklch(12% 0.03 250 / 0.6); backdrop-filter: blur(8px); }
.modal-content { padding: var(--space-2xl); position: relative; }
.modal-close { position: absolute; top: var(--space-md); right: var(--space-md); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); color: var(--color-muted); transition: all var(--dur-fast) var(--ease-luxury); font-size: var(--text-lg); z-index: 2; background: var(--color-paper); }
.modal-close:hover { background: var(--color-gold-soft); color: var(--color-navy); }
.modal-img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: var(--space-lg); }
.modal-asset { width: 100%; aspect-ratio: 9 / 16; max-height: 400px; border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--space-lg); background: var(--color-navy); }
.modal-asset img { width: 100%; height: 100%; object-fit: cover; }
.modal-asset video { width: 100%; height: 100%; object-fit: cover; }
.modal-video { width: 100%; height: 100%; object-fit: contain; }
.modal-list { list-style: none; margin: var(--space-md) 0 var(--space-lg); }
.modal-list li { padding: var(--space-sm) 0; border-bottom: var(--rule-hair); font-size: var(--text-sm); font-weight: 300; }
.modal-list li:before { content: "&#8594; "; color: var(--color-gold); font-weight: 700; }
.modal-close-link { margin-top: var(--space-md); }
@media (max-width: 768px) {
  .service-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .service-asset { aspect-ratio: 3 / 4; }
  .modal { max-width: 100vw; width: 100vw; max-height: 100vh; border-radius: 0; }
  .modal-content { padding: var(--space-lg); }
  .modal-asset { aspect-ratio: 9 / 16; max-height: 50vh; }
}
@media (max-width: 480px) { .service-grid { grid-template-columns: 1fr; } }

/* === Offres === */
.offres { background: var(--color-paper-2); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); align-items: start; }
.pricing-card { position: relative; padding: var(--space-2xl); background: var(--color-paper); border: var(--rule-hair); border-radius: var(--radius-lg); }
.pricing-featured { border-color: var(--color-gold); border-width: 2px; box-shadow: 0 12px 48px oklch(75% 0.12 75 / 0.1); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--color-gold); color: var(--color-navy); font-size: var(--text-xs); font-weight: 700; padding: var(--space-2xs) var(--space-lg); border-radius: var(--radius-full); letter-spacing: 0.1em; text-transform: uppercase; }
.pricing-name { font-family: var(--font-display); font-size: var(--text-xl); margin-bottom: var(--space-xs); color: var(--color-navy); }
.pricing-desc { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-lg); font-weight: 300; }
.pricing-price { font-family: var(--font-display); font-size: var(--text-4xl); font-weight: 700; color: var(--color-gold); margin-bottom: var(--space-lg); }
.pricing-features { list-style: none; margin-bottom: var(--space-xl); }
.pricing-features li { padding: var(--space-sm) 0; border-bottom: var(--rule-hair); font-size: var(--text-sm); font-weight: 300; }
.pricing-features li:before { content: "&#10003; "; color: var(--color-gold); font-weight: 700; }
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr !important; gap: var(--space-md); max-width: 360px; margin-inline: auto; }
  .pricing-card { padding: var(--space-xl); }
}

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: var(--space-md); }
.form-label { display: flex; flex-direction: column; gap: var(--space-xs); font-family: var(--font-mono); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-muted); font-weight: 600; }
.form-input { font-family: var(--font-body); font-size: var(--text-base); padding: var(--space-md); border: var(--rule-hair); border-radius: var(--radius-sm); background: var(--color-paper); color: var(--color-ink); transition: border-color var(--dur-fast) var(--ease-luxury); font-weight: 300; }
.form-input:focus { border-color: var(--color-gold); outline: none; box-shadow: 0 0 0 3px var(--color-gold-soft); }
.form-textarea { resize: vertical; min-height: 60px; }
.faq-inline { display: flex; flex-direction: column; gap: var(--space-sm); }
.faq-item { border: var(--rule-hair); border-radius: var(--radius-md); padding: var(--space-md); }
.faq-item summary { font-weight: 600; cursor: pointer; font-size: var(--text-sm); list-style: none; font-family: var(--font-display); color: var(--color-navy); }
.faq-item summary::after { content: "+"; float: right; color: var(--color-gold); font-weight: 700; font-size: var(--text-lg); }
.faq-item[open] summary::after { content: "&#8722;"; }
.faq-item p { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); font-weight: 300; }

/* === FOOTER &#8212; premium === */
.site-footer { background: var(--color-navy); color: var(--color-paper); padding-block: var(--space-3xl) var(--space-xl); border-top: 1px solid oklch(75% 0.12 75 / 0.15); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-2xl); margin-bottom: var(--space-2xl); }
.footer-brand-block { display: flex; flex-direction: column; gap: var(--space-md); }
.footer-logo { display: flex; align-items: center; gap: var(--space-sm); }
.footer-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--color-gold); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: var(--color-gold); }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: 0.2em; color: var(--color-gold); }
.footer-tagline { color: oklch(70% 0.01 240); font-size: var(--text-sm); max-width: 400px; font-weight: 300; line-height: 1.6; }
.footer-links-block { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col-title { color: var(--color-gold); margin-bottom: var(--space-xs); }
.footer-link { color: oklch(70% 0.01 240); font-size: var(--text-sm); transition: color var(--dur-fast) var(--ease-luxury); letter-spacing: 0.05em; }
.footer-link:hover { color: var(--color-gold); }
.footer-bottom { display: flex; flex-direction: column; gap: var(--space-md); padding-top: var(--space-xl); border-top: 1px solid oklch(75% 0.12 75 / 0.1); }
.footer-legal-grid { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-xl); justify-content: center; }
.footer-legal-link { color: oklch(60% 0.01 240); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; transition: color var(--dur-fast) var(--ease-luxury); font-family: var(--font-mono); }
.footer-legal-link:hover { color: var(--color-gold); }
.footer-copy { color: oklch(50% 0.01 240); text-align: center; }
.footer-tag { color: oklch(50% 0.01 240); text-align: center; }
.legal-modal { max-width: 600px; }
.legal-body { max-height: 60vh; overflow-y: auto; padding-right: var(--space-sm); }
.legal-body h4 { font-family: var(--font-display); font-size: var(--text-base); margin: var(--space-lg) 0 var(--space-xs); color: var(--color-navy); }
.legal-body h4:first-child { margin-top: 0; }
.legal-body p { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.6; margin-bottom: var(--space-sm); }
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-bottom { text-align: center; align-items: center; }
  .footer-legal-grid { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* === Sticky CTA mobile === */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; width: 100%; border-radius: 0; padding: var(--space-md); display: none; box-shadow: 0 -4px 24px oklch(12% 0.02 250 / 0.12); }
.sticky-cta.visible { display: inline-flex; }
@media (max-width: 768px) { .sticky-cta.visible { display: flex; justify-content: center; } }

/* === No scroll-reveal hiding &#8212; all content visible immediately === */
/* GSAP handles reveal animations; if GSAP fails, content stays visible */
.process-card, .service-card, .pricing-card, .gallery-item, .stat, .testimonial, .faq-item,
.section-title, .section-eyebrow, .hero-eyebrow, .hero-title, .divider-gold, .hero-sub, .hero-ctas, .hero-photos {
  opacity: 1;
  transform: none;
}
/* GSAP animation layer &#8212; only applies when .gsap-ready is on body */
body.gsap-ready .process-card:not(.gsap-revealed),
body.gsap-ready .service-card:not(.gsap-revealed),
body.gsap-ready .pricing-card:not(.gsap-revealed),
body.gsap-ready .gallery-item:not(.gsap-revealed),
body.gsap-ready .stat:not(.gsap-revealed),
body.gsap-ready .testimonial:not(.gsap-revealed),
body.gsap-ready .faq-item:not(.gsap-revealed),
body.gsap-ready .section-title:not(.gsap-revealed),
body.gsap-ready .section-eyebrow:not(.gsap-revealed) {
  /* No hiding &#8212; GSAP fromTo handles initial state */
}
/* Card 3D tilt &#8212; smooth transform */
.process-card, .service-card {
  transform-style: preserve-3d;
  transition: box-shadow 0.4s var(--ease-luxury);
}
/* Featured pricing glow */
.pricing-featured {
  transition: box-shadow 0.5s var(--ease-luxury);
}

/* === Cinematic divider === */
.divider-gold { width: 60px; height: 1px; background: var(--color-gold); margin: var(--space-lg) 0; }
.divider-gold.center { margin-inline: auto; }
/* === V46 ERA RESIDENCE INSPIRED OVERRIDE === */
body {
  background: var(--color-paper);
  color: var(--color-ink);
  cursor: default;
}
body::before {
  content:"";
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  opacity:.18;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(20,103,184,.10), transparent 22vw),
    radial-gradient(circle at 85% 28%, rgba(193,218,228,.32), transparent 24vw),
    linear-gradient(120deg, transparent 0 70%, rgba(59,6,31,.04) 70% 100%);
}
body > * { position: relative; z-index: 1; }
section { padding-block: clamp(5.5rem, 9vw, 10rem); }
.container { max-width: 1360px; }
h1, h2, h3 { letter-spacing: .035em; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.8vw, 6.4rem);
  line-height: .94;
  letter-spacing: .025em;
  max-width: 980px;
  text-transform: uppercase;
}
.section-title .accent { color: var(--color-flower); font-family: var(--font-secondary); font-style: italic; text-transform:none; letter-spacing:0; }
.section-eyebrow { color: var(--color-flower); }
.btn {
  border-radius: 0;
  padding: 1rem 1.55rem;
  letter-spacing: .18em;
  font-size: .72rem;
  border: 1px solid currentColor;
  background: transparent;
}
.btn-gold { color: var(--color-burgundy); background: var(--color-paper); border-color: var(--color-paper); }
.btn-gold:hover { background: var(--color-flower); color: #fff; border-color: var(--color-flower); box-shadow: none; }
.btn-glass { color:#fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.btn-glass:hover { background: rgba(255,255,255,.18); }
.btn-ghost { color: var(--color-burgundy); border-color: var(--color-burgundy); }
.btn-ghost:hover { background: var(--color-burgundy); color: var(--color-paper); }

/* Header &#8212; transparent editorial overlay */
.site-header {
  background: transparent;
  border: 0;
  backdrop-filter: none;
  mix-blend-mode: normal;
}
.site-header.scrolled {
  background: rgba(59,6,31,.88);
  backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner { min-height: 82px; }
.header-brand { min-width: 230px; color: #fff; }
.brand-mark {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.62);
  color:#fff;
  font-size:.72rem;
  letter-spacing:.08em;
  border-radius: 999px;
}
.brand-text {
  color:#fff;
  font-family: var(--font-display);
  letter-spacing:.32em;
  font-size: .95rem;
}
.header-nav { position:absolute; left:50%; transform:translateX(-50%); gap: clamp(1.4rem, 3vw, 3.2rem); }
.header-link { color: rgba(255,255,255,.82); font-size:.66rem; letter-spacing:.24em; }
.header-link::after { background: var(--color-flower); bottom:-9px; }
.header-link:hover { color:#fff; }
.header-cta-minimal {
  color:#fff;
  text-transform:uppercase;
  font-family:var(--font-mono);
  letter-spacing:.18em;
  font-size:.68rem;
  border-bottom:1px solid rgba(255,255,255,.5);
  padding-bottom:.25rem;
}
.header-mobile-nav { background: rgba(59,6,31,.98); }

/* Hero &#8212; typographic cover */
.hero {
  min-height: 112vh;
  justify-content: flex-start;
  padding-top: clamp(8rem, 12vw, 11rem);
  padding-bottom: 9rem;
  background: var(--color-burgundy);
}
.hero-video { filter: brightness(.86) contrast(1.08) saturate(1.16); transform-origin:center; }
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(20,4,11,.28), rgba(20,4,11,.08) 36%, rgba(59,6,31,.68) 85%, var(--color-burgundy) 100%),
    radial-gradient(circle at 50% 8%, rgba(255,255,255,.12), transparent 28%);
}
.hero-content {
  text-align: center;
  margin-inline: auto;
  max-width: 1180px;
  color:#fff;
}
.hero-eyebrow {
  color:rgba(255,255,255,.82) !important;
  margin-bottom: 1.4rem;
  letter-spacing:.32em;
  font-size:.68rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 12.6vw, 12.2rem);
  line-height: .76;
  letter-spacing: .04em;
  color:#fff;
  text-shadow: 0 18px 55px rgba(0,0,0,.38);
  margin-bottom: 0;
}
.hero-script {
  margin: .4rem auto 1.2rem;
  max-width:none;
  font-family: "Parisienne", cursive;
  color:#fff;
  font-size: clamp(2.4rem, 6vw, 6.4rem);
  line-height: .8;
  text-shadow: 0 10px 32px rgba(0,0,0,.26);
}
.divider-gold { background: rgba(255,255,255,.68); margin: 2rem auto; width: 88px; }
.hero-sub {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.35;
  color: rgba(255,255,255,.9);
  margin-inline: auto;
  max-width: 720px;
}
.hero-ctas { justify-content:center; }
.era-floating-gallery {
  position:relative;
  margin-top: clamp(3rem, 6vw, 5.5rem);
  max-width: 1060px;
}
.hero-photos-label { color:rgba(255,255,255,.72); letter-spacing:.28em; }
.hero-carousel { scrollbar-color: rgba(255,255,255,.55) transparent; }
.hero-slide {
  flex-basis: clamp(180px, 19vw, 300px);
  border-radius: 0;
  border:1px solid rgba(255,255,255,.28);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.hero-slide img { height: clamp(130px, 18vw, 245px); }

/* abstract bougainvillea motif */
.era-flower { position:absolute; pointer-events:none; z-index:2; filter: drop-shadow(0 18px 20px rgba(59,6,31,.28)); opacity:.92; }
.era-flower::before, .era-flower::after {
  content:"";
  position:absolute;
  width: 11rem;
  height: 7rem;
  border-radius: 55% 45% 55% 45%;
  background:
    radial-gradient(circle at 30% 35%, var(--color-flower-2) 0 10%, transparent 11%),
    radial-gradient(circle at 58% 44%, var(--color-flower) 0 13%, transparent 14%),
    radial-gradient(circle at 72% 20%, #6fb8ff 0 9%, transparent 10%),
    radial-gradient(circle at 22% 70%, #0c3567 0 11%, transparent 12%);
}
.era-flower::after { transform: translate(5rem,2rem) rotate(18deg) scale(.82); opacity:.78; }
.flower-a { top: 16%; left: -2rem; width:16rem; height:11rem; transform: rotate(-18deg); }
.flower-b { top: 54%; right: -3rem; width:16rem; height:11rem; transform: rotate(18deg) scale(.92); }
.flower-c { top: 8rem; right: 6vw; width:16rem; height:11rem; transform: rotate(14deg); opacity:.6; }

/* Atmospheric ERA panels */
.era-burgundy-panel {
  min-height: 52vh;
  background: var(--color-burgundy);
  color: var(--color-paper);
  display:grid;
  place-items:center;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.era-burgundy-panel::before {
  content:"";
  position:absolute;
  inset: 12% 8%;
  border: 1px solid rgba(245,241,230,.12);
  border-radius: 999px 999px 0 0;
}
.era-panel-count { position:absolute; top: 3rem; left: 3rem; color:rgba(245,241,230,.5); }
.era-panel-line {
  font-family: var(--font-display);
  max-width: 920px;
  font-size: clamp(2rem, 6vw, 7rem);
  line-height:.92;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:rgba(245,241,230,.94);
}
.era-arch-section {
  background: var(--color-sky);
  padding-top: clamp(5rem, 10vw, 10rem);
  padding-bottom:0;
  display:grid;
  place-items:center;
  text-align:center;
  overflow:hidden;
}
.era-arch {
  width:min(980px, 86vw);
  min-height: min(58vw, 560px);
  border-radius: 999px 999px 0 0;
  background: rgba(245,241,230,.35);
  border:1px solid rgba(59,6,31,.12);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  padding: clamp(3rem, 8vw, 8rem) 2rem 0;
}
.era-arch-kicker { color: var(--color-burgundy); margin-bottom: 1.6rem; }
.era-arch h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 5.8rem);
  max-width: 760px;
  line-height:.92;
  text-transform:uppercase;
  color:var(--color-burgundy);
}
.era-arch-image {
  display:block;
  width:min(980px, 90vw);
  margin-top:-12vw;
  border:0;
  background:transparent;
  cursor:pointer;
  box-shadow:0 32px 90px rgba(59,6,31,.22);
  overflow:hidden;
}
.era-arch-image img { width:100%; height:min(42vw, 520px); object-fit:cover; }

/* Proof / gallery &#8212; deep editorial */
.preuve { background: var(--color-paper); color: var(--color-burgundy); }
.era-editorial-proof { padding-top: clamp(8rem, 12vw, 13rem); }
.preuve .section-title { color: var(--color-burgundy); }
.stats-row {
  border-top:1px solid rgba(59,6,31,.16);
  border-bottom:1px solid rgba(59,6,31,.16);
  padding: 1.4rem 0;
  justify-content:space-between;
}
.stat-num { color: var(--color-burgundy); }
.stat-label { color: var(--color-muted); }
.testimonial {
  color: var(--color-burgundy);
  border-left:0;
  padding-left:0;
  font-size: clamp(2rem, 4vw, 4.7rem);
  line-height: .96;
  max-width: 1120px;
  margin-top: 5rem;
}
.testimonial-source { color: var(--color-flower); }
.photo-gallery { grid-template-columns: 1.3fr .9fr 1fr .75fr; align-items:end; }
.gallery-item { border-radius:0; border:0; box-shadow:0 18px 60px rgba(59,6,31,.14); }
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(1) img { height:560px; }
.gallery-item:nth-child(2) { margin-top: 8rem; }
.gallery-item:nth-child(3) { margin-bottom: 5rem; }
.gallery-item:nth-child(4) img { height:360px; }
.gallery-item img { height:420px; }
.gallery-item figcaption { background: linear-gradient(transparent, rgba(59,6,31,.74)); color:#fff; opacity:1; }

/* Cream silence / process */
.era-cream-silence {
  position:relative;
  background: var(--color-paper);
  overflow:hidden;
}
.era-cream-silence::before {
  content:"";
  position:absolute;
  inset: 8rem 0 auto;
  height: 46vh;
  background: linear-gradient(90deg, transparent, rgba(20,103,184,.06), transparent);
  pointer-events:none;
}
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-card, .service-card, .pricing-card, .faq-item {
  border-radius:0;
  border:1px solid rgba(59,6,31,.16);
  background: rgba(245,241,230,.78);
  box-shadow:none;
}
.process-card:hover, .service-card:hover { box-shadow: 0 30px 80px rgba(59,6,31,.14); border-color:rgba(16,80,143,.30); }
.process-card::before, .service-card::before { background: var(--color-flower); height:3px; }
.process-name, .service-name, .pricing-name, .faq-item summary { color:var(--color-burgundy); }
.process-num, .service-num, .service-link { color:var(--color-flower); }
.process-tag { background:rgba(20,103,184,.10); color:var(--color-burgundy); }
.process-visual { height: 150px; }

/* Services collage */
.era-collage-section {
  background: var(--color-burgundy);
  color: var(--color-paper);
  overflow:hidden;
}
.era-collage-section .section-title { color:var(--color-paper); }
.era-collage-section .accent { color:var(--color-flower-2); }
.service-grid { align-items:end; }
.service-card { background: var(--color-paper); color:var(--color-burgundy); }
.service-card:nth-child(1), .service-card:nth-child(3) { transform: translateY(4rem); }
.service-card:nth-child(2) { transform: translateY(-2rem); }
.service-asset { border-radius:0; background:var(--color-burgundy); }
.service-badge { border-radius:0; background:rgba(59,6,31,.82); color:#fff; }

/* Offers sky panel */
.era-sky-offers {
  background: var(--color-sky);
  color: var(--color-burgundy);
  position:relative;
  overflow:hidden;
}
.era-sky-offers::before {
  content:"";
  position:absolute;
  width:75vw; height:75vw; max-width:900px; max-height:900px;
  border-radius:50%;
  border:1px solid rgba(59,6,31,.14);
  top:-28vw; right:-20vw;
}
.era-sky-offers .pricing-card { background: rgba(245,241,230,.72); }
.pricing-featured { background: var(--color-burgundy) !important; color:#fff; border-color:var(--color-flower); }
.pricing-featured .pricing-name, .pricing-featured .pricing-desc, .pricing-featured li { color:#fff; }
.pricing-badge { border-radius:0; background:var(--color-flower); color:#fff; }
.pricing-price { color:var(--color-flower); }

/* Contact/footer */
.contact { background: var(--color-paper); }
.form-input { border-radius:0; background: transparent; border:0; border-bottom:1px solid rgba(59,6,31,.32); padding-left:0; }
.form-input:focus { box-shadow:none; border-color:var(--color-flower); }
.site-footer { background: var(--color-burgundy); color:var(--color-paper); border-top:0; }
.footer-mark { border-color:rgba(245,241,230,.55); color:var(--color-paper); border-radius:999px; font-size:.8rem; }
.footer-name { color:var(--color-paper); }
.footer-col-title, .footer-link:hover, .footer-legal-link:hover { color:var(--color-flower-2); }

/* responsive */
@media (max-width: 1024px) {
  .header-nav { display:none; }
  .header-cta-minimal { display:none; }
  .header-burger { display:flex; }
  .process-grid, .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .photo-gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(n) { margin:0; grid-row:auto; }
  .gallery-item:nth-child(n) img, .gallery-item img { height: clamp(220px, 40vw, 420px); }
}
@media (max-width: 768px) {
  section { padding-block: 5.5rem; }
  .hero { min-height: auto; padding-top: 8rem; padding-bottom: 5rem; }
  .hero-title { font-size: clamp(3.3rem, 17vw, 6.2rem); }
  .hero-script { font-size: clamp(2rem, 12vw, 3.6rem); }
  .hero-sub { font-size:1.16rem; }
  .hero-ctas .btn { width: auto; }
  .era-floating-gallery { bottom:1.5rem; padding-inline:1rem; }
  .hero-slide { flex-basis: 210px; }
  .hero-slide img { height: 138px; }
  .era-flower { opacity:.42; transform:scale(.65); }
  .era-burgundy-panel { min-height:56vh; }
  .era-panel-line { font-size: clamp(2rem, 13vw, 4.2rem); padding-inline:1.2rem; }
  .era-panel-count { top:1.5rem; left:1.5rem; }
  .era-arch { width:92vw; min-height: 92vw; padding-top:3.6rem; }
  .era-arch-image { margin-top:-20vw; width:92vw; }
  .era-arch-image img { height:260px; }
  .stats-row { gap:1.2rem; }
  .testimonial { margin-top:3rem; font-size: clamp(1.9rem, 9vw, 3.4rem); }
  .process-grid, .service-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { transform:none; }
  .pricing-grid { max-width: 430px !important; }
}

