:root {
  --ink: #0b0b0b;
  --ink-soft: #191714;
  --paper: #f8f3e9;
  --paper-2: #eee4d4;
  --gold: #d7b36a;
  --gold-light: #f0dca8;
  --copper: #a94723;
  --line: rgba(123, 94, 48, .22);
  --shadow: 0 18px 55px rgba(32, 24, 13, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #111; }
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 5%, rgba(215,179,106,.22), transparent 28rem),
    radial-gradient(circle at 85% 90%, rgba(169,71,35,.16), transparent 30rem),
    #151412 !important;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  image-rendering: auto;
  backface-visibility: hidden;
}

.site-shell {
  width: min(100%, 560px) !important;
  max-width: 560px !important;
  background: var(--paper) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 100px rgba(0,0,0,.48);
}

.hero-section {
  isolation: isolate;
  min-height: 430px;
  display: grid;
  place-items: center;
}
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(3,3,3,.2), rgba(3,3,3,.72)),
    radial-gradient(circle at 50% 30%, rgba(215,179,106,.15), transparent 38%);
  pointer-events: none;
}
.hero-section > img { filter: saturate(.78) contrast(1.1) brightness(.72); }
.hero-section > div { z-index: 1; }
.hero-section img[alt*="Logo"] {
  width: 154px !important;
  height: 154px !important;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.52));
}

[role="tablist"] {
  position: sticky !important;
  top: max(8px, env(safe-area-inset-top)) !important;
  z-index: 8 !important;
  border: 1px solid rgba(91,70,37,.16);
  box-shadow: 0 12px 35px rgba(28,20,11,.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
[role="tab"] { transition: background .2s ease, color .2s ease, transform .2s ease; }
[role="tab"]:active { transform: scale(.98); }

a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(215,179,106,.72) !important;
  outline-offset: 3px;
}
a[href], button { transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
a[href]:hover, button:hover { filter: brightness(1.04); }

#btn-contact {
  background: linear-gradient(135deg, #f0dca8, #c99d4f) !important;
  box-shadow: 0 12px 30px rgba(161,111,31,.22);
}

img[src*="rawane-bureau"] {
  height: 560px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: 50% 15% !important;
  filter: saturate(1.06) contrast(1.04) brightness(1.02);
}

figure img { transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
figure:hover img { transform: scale(1.035); filter: saturate(1.08) contrast(1.03); }

div[style*="border-radius: 18px"] {
  box-shadow: 0 10px 32px rgba(41,29,14,.07);
}

#toast > div { top: max(18px, env(safe-area-inset-top)) !important; }

@media (min-width: 760px) {
  body { padding: 34px 0; }
  .site-shell { border-radius: 28px; overflow: clip !important; }
  .hero-section { min-height: 470px; }
  img[src*="rawane-bureau"] { height: 650px !important; }
}

@media (max-width: 420px) {
  .hero-section { min-height: 390px; }
  .hero-section img[alt*="Logo"] { width: 138px !important; height: 138px !important; }
  img[src*="rawane-bureau"] { height: 500px !important; }
  [role="tab"] { font-size: 12px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
