/* Group Brillanet — visual language rebuilt 2026-08-01 against the reference
   Emilio picked (servicebatinet.com): warm amber on white, charcoal anchors,
   soft-shadowed 12px cards, solid icon tiles, alternating white / #f4f4f4 bands.
   Tier 1 motion only: CSS transitions + IntersectionObserver. No GSAP. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1EFF, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --accent: #be6f00;
  --accent-dark: #995900;
  --accent-tint: rgba(190, 111, 0, 0.1);
  --accent-soft: #fcf3e5;
  --ink: #1b1e22;
  --charcoal: #2f3338;
  --charcoal-2: #3a3f45;
  --body: #4b5563;
  --muted: #9ca3af;
  --line: #e5e7eb;
  --band: #f4f4f4;
  --white: #fff;

  --r-card: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 18px 30px -8px rgba(0, 0, 0, 0.14), 0 6px 10px -6px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

/* A display rule further down must never resurrect a [hidden] element. The
   quote form's error lines and the sent panel rely on this. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* skip link — keyboard users land on content, not the nav, every time */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-card) 0; font-weight: 600;
}
.skip:focus { left: 0; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- header */

#nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
#nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04); }

.nav-in { display: flex; align-items: center; gap: 32px; height: 80px; }

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand b {
  font-size: 25px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.02em;
}
.brand span {
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-top: 4px;
}

.nav-links { display: flex; gap: 30px; margin: 0 auto; }
.nav-links a {
  text-decoration: none; color: var(--body); font-size: 15px; font-weight: 500;
  transition: color 0.15s var(--ease);
}
.nav-links a:hover { color: var(--accent); }

.nav-side { display: flex; align-items: center; gap: 18px; }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; color: var(--body); font-size: 14px; font-weight: 600;
  transition: color 0.15s var(--ease);
}
.lang:hover { color: var(--accent); }
.lang svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  font-family: inherit;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease),
              border-color 0.15s var(--ease), transform 0.15s var(--ease),
              box-shadow 0.15s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(190, 111, 0, 0.25); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(190, 111, 0, 0.3); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; overflow: hidden; padding: 76px 0 96px; }
/* the warm bloom behind the headline — the reference's signature entry note */
.hero::before {
  content: ""; position: absolute; top: -180px; left: -160px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 111, 0, 0.14), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; top: 60px; right: -140px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 111, 0, 0.09), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 60px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-tint); color: var(--accent-dark);
  padding: 8px 17px 8px 13px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; margin-bottom: 26px;
}
.pill svg { width: 15px; height: 15px; }

.hero h1 { font-size: clamp(40px, 4.5vw, 60px); letter-spacing: -0.035em; }
.hero-lede { font-size: 18px; margin-top: 24px; max-width: 34em; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-trust {
  display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap;
  font-size: 14.5px; font-weight: 500; color: var(--body);
  list-style: none; padding: 0;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* layered photo: amber shard behind, white frame in front, slight tilt */
.hero-art { position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: 22px -18px -22px 26px;
  background: var(--accent); border-radius: 22px;
  transform: rotate(3.5deg);
}
.hero-frame {
  position: relative; background: #fff; padding: 14px;
  border-radius: 20px; box-shadow: var(--shadow-lift);
  transform: rotate(-1.6deg);
  transition: transform 0.4s var(--ease);
}
.hero-frame:hover { transform: rotate(0deg); }
.hero-frame img { border-radius: 12px; width: 100%; height: 430px; object-fit: cover; }

.float-card {
  position: absolute; right: -14px; bottom: -30px; z-index: 2;
  background: #fff; border-radius: var(--r-card); padding: 16px 20px;
  box-shadow: var(--shadow-lift); display: flex; align-items: center; gap: 13px;
  max-width: 260px;
}
.float-card .tile { width: 40px; height: 40px; border-radius: 10px; margin: 0; }
.float-card b { display: block; font-size: 15px; color: var(--ink); line-height: 1.25; }
.float-card span { font-size: 12.5px; color: var(--muted); }

/* --------------------------------------------------------------- bands */

section[id] { scroll-margin-top: 90px; }
.band { background: var(--band); }
.sec { padding: 90px 0; }

.sec-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 43px); }
.sec-head p { margin-top: 14px; font-size: 17px; color: var(--body); }

/* ------------------------------------------------------- vision/mission */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.outline-card {
  border: 2px solid var(--accent); border-radius: var(--r-lg);
  padding: 32px; background: #fff;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.outline-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.outline-card h3 { font-size: 21px; margin: 18px 0 12px; }
.outline-card .rule { width: 56px; height: 3px; background: var(--accent); border-radius: 2px; margin-top: 22px; }
.outline-card > svg { width: 30px; height: 30px; color: var(--accent); }

/* -------------------------------------------------------------- cards */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }

.card {
  background: #fff; border-radius: var(--r-card); padding: 32px;
  box-shadow: var(--shadow); height: 100%;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { font-size: 14.5px; }

/* solid tile = service, soft tile = supporting point. Same shape, two weights. */
.tile {
  width: 48px; height: 48px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--accent); color: #fff;
}
.tile svg { width: 23px; height: 23px; }
.tile-soft { background: var(--accent-soft); color: var(--accent); }

.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.checks li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--body); }
.checks svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }

.center-item { text-align: center; }
.center-item .tile { margin-inline: auto; }
.center-item h3 { font-size: 18px; margin-bottom: 10px; }
.center-item p { font-size: 14.5px; }

/* ------------------------------------------------------------- contact */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-head h2 { font-size: clamp(30px, 3.6vw, 43px); }
.contact-head p { margin-top: 12px; font-size: 17px; }

.contact-card {
  background: var(--charcoal); color: #fff; border-radius: var(--r-lg);
  padding: 30px; margin-top: 30px;
}
.contact-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-row:last-of-type { margin-bottom: 0; }
.contact-row .tile { width: 42px; height: 42px; border-radius: 10px; margin: 0; }
.contact-row small { display: block; font-size: 12.5px; color: #a8adb4; line-height: 1.4; }
.contact-row b { font-size: 16px; color: #fff; font-weight: 600; }
.contact-card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); margin: 24px 0; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-dark { background: var(--charcoal-2); color: #fff; }
.btn-dark:hover { background: #4a5057; }

.hours {
  background: var(--band); border-radius: var(--r-card);
  padding: 22px 26px; margin-top: 22px;
}
.hours h4 { font-size: 15px; margin-bottom: 10px; }
.hours p { font-size: 14.5px; }

/* -------------------------------------------------------------- form */

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow);
}
.form-card h3 { font-size: 21px; }
.form-card > p { font-size: 14.5px; margin-top: 7px; margin-bottom: 24px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 9px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field[data-invalid] input, .field[data-invalid] textarea { border-color: #c0392b; }
.err { display: block; color: #c0392b; font-size: 13px; margin-top: 6px; }

.sent-panel {
  background: var(--accent-soft); border: 1px solid rgba(190, 111, 0, 0.28);
  border-radius: var(--r-card); padding: 24px;
}
.sent-panel h3 { font-size: 18px; margin-bottom: 8px; }
.sent-panel p { font-size: 14.5px; }
.sent-panel pre {
  white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 13.5px;
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  padding: 15px; margin: 16px 0; color: var(--body);
}
.sent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sent-actions .btn { padding: 11px 20px; font-size: 14px; }
.ok { color: var(--accent-dark); font-size: 13.5px; font-weight: 600; margin-top: 12px; }

/* ------------------------------------------------------------- footer */

footer { background: var(--charcoal); color: #b9bec5; padding: 62px 0 30px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; }
.foot-brand b { display: block; font-size: 25px; color: var(--accent); font-weight: 700; letter-spacing: 0.02em; }
.foot-brand span { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #7d838b; }
.foot-brand p { margin-top: 16px; max-width: 30em; }
.foot-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot-col a { text-decoration: none; transition: color 0.15s var(--ease); }
.foot-col a:hover { color: var(--accent); }
.foot-icons { display: flex; gap: 10px; margin-top: 20px; }
.foot-icons a {
  width: 38px; height: 38px; border-radius: 9px; background: var(--accent);
  display: grid; place-items: center; color: #fff;
  transition: background-color 0.15s var(--ease);
}
.foot-icons a:hover { background: var(--accent-dark); }
.foot-icons svg { width: 17px; height: 17px; }
.foot-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 44px; padding-top: 26px; text-align: center; font-size: 13.5px; color: #868d95;
}

/* ------------------------------------------------------------- motion */

/* Content is visible by default and only hidden once JS confirms it will be
   given back. A dead observer must never leave a section blank. */
.js .reveal > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal > * { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------- responsive */

@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
}

@media (max-width: 900px) {
  .hero-grid, .contact-grid, .duo { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 76px; }
  .hero-grid { gap: 74px; }
  .hero-art::before { inset: 18px -10px -18px 18px; }
  .hero-frame img { height: 330px; }
  .grid-3 { grid-template-columns: 1fr; gap: 22px; }
  .sec { padding: 68px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .grid-4 { grid-template-columns: 1fr; }

  /* the header is the only row that cannot wrap, so it gets compacted
     rather than allowed to push the document wider than the viewport */
  .nav-in { gap: 12px; height: 68px; }
  .nav-side { gap: 12px; }
  .lang-globe { display: none; }
  .brand b { font-size: 20px; }
  .brand span { font-size: 8.5px; letter-spacing: 0.18em; }
  .nav-side .btn { padding: 10px 15px; font-size: 13px; }
  .nav-side .btn svg { display: none; }
  .hero h1 { font-size: 37px; }
  .hero-cta .btn { width: 100%; }
  .float-card { right: 0; left: 0; bottom: -26px; max-width: none; }
  .contact-actions { grid-template-columns: 1fr; }
  .card, .outline-card, .form-card, .contact-card { padding: 24px; }
  .sec-head { margin-bottom: 38px; }
}
