/* base.css */
/* Theme */
:root {
  --bg: #0b0c10;
  --bg-2: #0e1016;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.10);
  --text: #e9eaec;
  --muted: #a7acb8;
  --brand: #c8a24a;
  --brand-2: #e1c982;
  --glow: rgba(200, 162, 74, 0.25);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page { min-height: 100%; display: flex; flex-direction: column; }

/* Links */
a { color: color-mix(in oklab, var(--brand) 86%, white 14%); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Focus */
:focus-visible { outline: 2px solid color-mix(in oklab, var(--brand) 70%, white 30%); outline-offset: 2px; border-radius: 6px; }

/* Section styles */
.section { padding: 40px clamp(20px, 5vw, 56px); max-width: 1200px; margin: 0 auto; }
.eyebrow, .section-eyebrow { display: inline-block; margin: 0 0 14px 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in oklab, var(--brand) 86%, white 14%); }

/* Mobile responsive */
@media (max-width: 768px) {
  .section {
    padding: 48px 24px;
    margin: 0 auto;
  }
  .eyebrow, .section-eyebrow {
    font-size: 12px;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 20px;
  }
  .eyebrow, .section-eyebrow {
    font-size: 12px;
    margin-bottom: 18px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Import component styles */
@import url('./components/header.css');
@import url('./components/mobile-menu.css');
@import url('./components/hero.css');
@import url('./components/scroll-hint.css');
@import url('./components/services.css');
@import url('./components/approche.css');
@import url('./components/references.css');
@import url('./components/contact.css');
@import url('./components/footer.css');
@import url('./components/bg-layers.css');

/* buttons.css */
/* Buttons */
.button {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-weight: 500;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  will-change: transform;
  min-height: 44px; /* Better touch target */
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #0a0a0a; border-color: transparent; box-shadow: 0 10px 24px rgba(200,162,74,0.28); }
.button.primary:hover { filter: brightness(1.04); box-shadow: 0 12px 30px rgba(200,162,74,0.35); }
.button.ghost { background: transparent; border-color: color-mix(in oklab, var(--brand) 55%, transparent); color: var(--text); }
.button.ghost:hover { background: color-mix(in oklab, var(--brand) 10%, transparent); border-color: color-mix(in oklab, var(--brand) 70%, transparent); }
.button.xl { padding: 16px 26px; font-size: 16px; }

/* components/header.css */
/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px clamp(20px, 5vw, 56px);
  background: color-mix(in oklab, rgba(11,12,16,0.4) 70%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.brand { display: flex; align-items: center; }
.logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(200,162,74,0.15));
  transition: filter 160ms ease;
  opacity: 1;
}

.logo:hover {
  filter: drop-shadow(0 6px 16px rgba(200,162,74,0.25));
}

.cta { display: flex; align-items: center; gap: 12px; }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 30;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .site-header {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-header {
    display: none;
  }
}

/* components/mobile-menu.css */
/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 30;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: color-mix(in oklab, rgba(11,12,16,0.95) 95%, transparent);
  backdrop-filter: blur(20px);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.mobile-nav-link {
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--brand);
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

/* components/hero.css */
/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding: 56px clamp(20px, 5vw, 56px) 10px; max-width: 1200px; margin: 0 auto; }
.hero .eyebrow { margin-bottom: 12px; }
.hero-title {
  margin: 0 0 14px 0; font-family: 'Bree Serif', ui-serif, Georgia, serif; font-size: clamp(36px, 6vw, 72px); line-height: 1.04; font-weight: 400;
  background: linear-gradient(135deg, #ffffff, #e7ddbf 50%, #b98a28 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy { margin: 0 0 22px 0; max-width: 720px; color: var(--muted); font-size: clamp(16px, 2.2vw, 18px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art { position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; }

/* Floating Logo */
.floating-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  opacity: 1;
  pointer-events: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
  filter: drop-shadow(0 8px 24px rgba(200,162,74,0.2));
  transition: all 0.3s ease;
}

.floating-logo:hover .logo {
  filter: drop-shadow(0 12px 32px rgba(200,162,74,0.3));
  transform: scale(1.05);
}

/* Logo Icon */
.logo-icon {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diamond {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #E1C982, #C8A24A, #B98A28);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 0 20px rgba(200, 162, 74, 0.4);
  position: relative;
  z-index: 2;
}

.diamond::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(225, 201, 130, 0.3), rgba(200, 162, 74, 0.3));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Connection Lines */
.connection-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.line {
  position: absolute;
  background: linear-gradient(90deg, transparent, #C8A24A, transparent);
  border-radius: 1px;
  opacity: 0.6;
}

.line.horizontal {
  width: 60px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.line.vertical {
  width: 2px;
  height: 60px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Logo Text */
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #FFFFFF, #E7DDBF, #C8A24A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #A7ACB8;
  opacity: 0.8;
  line-height: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    text-align: center;
    padding: 0 clamp(24px, 5vw, 56px) 20px;
  }

  .hero-art {
    order: -1;
    min-height: 200px;
    padding-top: 0;
  }

  .floating-logo {
    top: 30%;
  }

  .hero-title {
    margin-bottom: 18px;
  }

  .hero-copy {
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 16px;
    display: flex;
    width: 100%;
  }

  .hero-actions .button {
    flex: 1;
    width: 50%;
  }

  .logo {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .logo-icon {
    width: 100px;
    height: 100px;
  }

  .diamond {
    width: 50px;
    height: 50px;
  }

  .diamond::before {
    width: 40px;
    height: 40px;
  }

  .line.horizontal {
    width: 80px;
    height: 3px;
  }

  .line.vertical {
    width: 3px;
    height: 80px;
  }

  .logo-text {
    gap: 8px;
    text-align: center;
  }

  .brand-name {
    font-size: 28px;
  }

  .tagline {
    font-size: 16px;
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 32px clamp(20px, 5vw, 56px) 16px;
    gap: 32px;
  }

  .hero-art {
    min-height: 180px;
  }

  .floating-logo {
    top: 25%;
  }

  .hero-title {
    margin-bottom: 16px;
  }

  .hero-copy {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .hero-actions {
    gap: 14px;
    display: flex;
    width: 100%;
  }

  .hero-actions .button {
    flex: 1;
    width: 50%;
  }

  .logo {
    gap: 16px;
  }

  .logo-icon {
    width: 90px;
    height: 90px;
  }

  .diamond {
    width: 45px;
    height: 45px;
  }

  .diamond::before {
    width: 36px;
    height: 36px;
  }

  .line.horizontal {
    width: 70px;
    height: 2.5px;
  }

  .line.vertical {
    width: 2.5px;
    height: 70px;
  }

  .brand-name {
    font-size: 24px;
  }

  .tagline {
    font-size: 14px;
    margin-bottom: 28px;
  }
}

/* components/scroll-hint.css */
/* Scroll Hint */
.scroll-hint { display: block; width: max-content; margin: 8px auto 0; color: color-mix(in oklab, var(--brand) 86%, white 14%); text-decoration: none; opacity: 0.75; transition: opacity 160ms ease, transform 160ms ease; }
.scroll-hint:hover { opacity: 1; transform: translateY(2px); }

/* components/services.css */
/* Services */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)); border: 1px solid var(--border); border-radius: 16px; padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); backdrop-filter: blur(6px); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.45); border-color: color-mix(in oklab, var(--brand) 50%, var(--border)); }
.card-title { margin: 0 0 8px 0; font-size: 18px; font-weight: 600; }
.lead { font-size: 18px; font-weight: 600; margin: 0 0 6px 0; }

.list { margin: 0; padding: 0 0 0 18px; color: var(--muted); }
.list li { margin: 6px 0; line-height: 1.6; }
.list.plain { list-style: none; padding: 0; }

/* Mobile responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.two { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .card {
    padding: 32px 28px;
  }
  .card-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .list {
    padding-left: 20px;
  }
  .list li {
    margin: 8px 0;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .cards {
    gap: 20px;
  }
  .card {
    padding: 28px 24px;
  }
  .card-title {
    font-size: 17px;
    margin-bottom: 12px;
  }
  .list li {
    font-size: 15px;
    line-height: 1.6;
    margin: 8px 0;
  }
}

/* components/approche.css */
/* Approche */
.eyebrow, .section-eyebrow { display: inline-block; margin: 0 0 14px 0; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in oklab, var(--brand) 86%, white 14%); }

/* components/references.css */
/* References */
.section { padding: 40px clamp(20px, 5vw, 56px); max-width: 1200px; margin: 0 auto; }

/* components/contact.css */
/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.contact-card .note { margin-top: 12px; color: var(--muted); }
.contact-cta { display: grid; gap: 12px; align-content: start; }

/* Mobile responsive */
@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .contact-grid {
    gap: 32px;
  }
  .contact-cta {
    gap: 20px;
  }
  .contact-card .note {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .contact-grid {
    gap: 28px;
  }
  .contact-cta {
    gap: 16px;
  }
  .contact-card .note {
    margin-top: 14px;
    font-size: 14px;
  }
}

/* components/footer.css */
/* Footer */
.site-footer { margin-top: auto; padding: 28px clamp(20px, 5vw, 56px); border-top: 1px solid var(--border); color: var(--muted); text-align: center; }

/* components/bg-layers.css */
/* Background FX */
.bg-layers { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-grid {
  position: absolute; inset: -200px; opacity: 0.06;
  background-image:
    linear-gradient(to right, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(800px) rotateX(60deg) translateY(-20%);
  filter: blur(0.2px);
  animation: gridFloat 16s ease-in-out infinite alternate;
}
.bg-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 20% 0%, var(--glow), transparent 55%),
    radial-gradient(600px 400px at 80% -10%, rgba(255,255,255,0.08), transparent 50%);
  pointer-events: none;
}
@keyframes gridFloat { from { transform: perspective(800px) rotateX(60deg) translateY(-20%); } to { transform: perspective(800px) rotateX(60deg) translateY(-15%); } }

