/* Atelier Brother's — site vitrine. Palette exclusive marine / or / crème. */
:root {
  --navy: #0F2C59;
  --navy-deep: #0A1F3F;
  --gold: #C5A880;
  --gold-light: #D4BC9A;
  --cream: #F8FAFC;
  --ink: rgba(15, 44, 89, 0.82);
  --line: rgba(197, 168, 128, 0.45);
  --header-h: 78px;
  --radius: 1.35rem;
  --shadow: 0 28px 56px -28px rgba(10, 31, 63, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0.7rem; }

.font-display { font-family: "Playfair Display", Georgia, serif; }

.wrap {
  width: min(1160px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ornament {
  width: 72px;
  height: 1px;
  background: var(--gold);
  position: relative;
}
.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.ornament::before { left: -10px; }
.ornament::after { right: -10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.92rem/1 Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(197, 168, 128, 0.55);
}
.btn-ghost:hover { background: rgba(248, 250, 252, 0.06); }
.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-line:hover { background: var(--navy); color: var(--cream); }
.btn-full { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 44, 89, 0.06);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(10, 31, 63, 0.45); }

.topbar {
  display: none;
  background: var(--navy-deep);
  color: var(--gold-light);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 42px; height: 42px; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  text-transform: uppercase;
}
.brand-sub {
  margin-top: 0.2rem;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.35rem;
  font-size: 0.84rem;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: rgba(15, 44, 89, 0.78);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--navy); }

.nav-cta { display: none; }

.menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 44, 89, 0.12);
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 0 0 1.2rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(15, 44, 89, 0.06);
}

.hero {
  position: relative;
  min-height: calc(100vh - 40px);
  display: grid;
  align-items: center;
  padding: 3.2rem 0 5rem;
  background:
    radial-gradient(ellipse 70% 50% at 12% 85%, rgba(197, 168, 128, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 8%, rgba(197, 168, 128, 0.1), transparent 46%),
    linear-gradient(165deg, #081628 0%, #0F2C59 50%, #0A1F3F 100%);
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197, 168, 128, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 168, 128, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 18%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 2.4rem;
}
.hero-logo {
  width: min(220px, 52vw);
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.25));
}
.hero h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 600;
}
.hero .lead {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  font-size: 1.12rem;
  font-weight: 300;
  color: rgba(248, 250, 252, 0.86);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}
.hero-pills {
  display: grid;
  gap: 0.7rem;
  margin-top: 2.2rem;
}
.pill {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(248, 250, 252, 0.12);
  background: rgba(248, 250, 252, 0.04);
  border-radius: 1rem;
  font-size: 0.9rem;
}
.pill-ico {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(197, 168, 128, 0.14);
  color: var(--gold);
  flex-shrink: 0;
}

.section { padding: 5rem 0; }
.section-cream { background: var(--cream); }
.section-navy {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.section-head {
  max-width: 40rem;
  margin: 0 auto 2.6rem;
  text-align: center;
}
.section-head h2,
.page-hero h1,
.prose h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head p { color: var(--ink); }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1.2rem;
}
.card {
  border: 1px solid rgba(15, 44, 89, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem;
  background: #fff;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.card h3 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0 0 0.55rem;
  font-size: 1.28rem;
}
.card p, .card li { color: var(--ink); }
.ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  margin-bottom: 1rem;
}
.card-dark {
  background: rgba(248, 250, 252, 0.05);
  border-color: rgba(248, 250, 252, 0.1);
  color: #fff;
}
.card-dark p { color: rgba(248, 250, 252, 0.78); }

.stat {
  border-radius: var(--radius);
  padding: 1.5rem;
}
.stat strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.1rem;
  color: var(--gold);
}
.stat-navy { background: var(--navy); color: #fff; }
.stat-navy p { color: rgba(248, 250, 252, 0.75); }
.stat-cream { background: var(--cream); border: 1px solid rgba(15, 44, 89, 0.08); }
.stat-cream strong { color: var(--navy); }

.page-hero {
  padding: 4.5rem 0 3rem;
  background: linear-gradient(165deg, #0A1F3F, #0F2C59);
  color: #fff;
}
.page-hero p { color: rgba(248, 250, 252, 0.8); max-width: 40rem; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.crumbs a { color: inherit; }

.form-shell {
  background: #fff;
  border: 1px solid rgba(15, 44, 89, 0.08);
  border-radius: 1.7rem;
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  margin-bottom: 1.4rem;
}
.step-dot {
  height: 4px;
  border-radius: 99px;
  background: rgba(15, 44, 89, 0.08);
}
.step-dot.is-done,
.step-dot.is-on { background: var(--gold); }
.step-label {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.panel[hidden] { display: none !important; }

.choice-grid { display: grid; gap: 0.75rem; }
.choice {
  appearance: none;
  text-align: left;
  border: 1px solid rgba(15, 44, 89, 0.1);
  background: var(--cream);
  border-radius: 1.1rem;
  padding: 1.15rem 1.2rem;
  cursor: pointer;
  color: var(--navy);
  font: 600 1rem/1.35 "Playfair Display", Georgia, serif;
}
.choice small {
  display: block;
  margin-top: 0.35rem;
  font: 400 0.85rem/1.45 Inter, sans-serif;
  color: var(--ink);
}
.choice.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.choice.is-on small { color: rgba(248, 250, 252, 0.75); }

.fields { display: grid; gap: 0.95rem; }
.fields.two .full { grid-column: 1 / -1; }
label span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 560;
}
.input,
select.input,
textarea.input {
  width: 100%;
  border: 1px solid rgba(15, 44, 89, 0.12);
  background: #fff;
  color: var(--navy);
  border-radius: 0.85rem;
  padding: 0.85rem 0.95rem;
  font: 400 0.95rem/1.4 Inter, sans-serif;
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 168, 128, 0.2);
}

.calc {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1rem 0;
  padding: 1.1rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #0F2C59, #0A1F3F);
  color: #fff;
}
.calc strong { color: var(--gold-light); font-size: 1.35rem; font-family: "Playfair Display", Georgia, serif; }
.note {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--navy);
  background: rgba(197, 168, 128, 0.14);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 0.9rem;
  border-radius: 0 0.7rem 0.7rem 0;
}
.note[hidden] { display: none; }
.form-error {
  color: #8A3B2F;
  font-size: 0.9rem;
}
.form-error[hidden] { display: none; }

.form-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.photos { display: grid; gap: 0.8rem; }
.photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.photo-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 1px solid var(--line);
}

.contact-box {
  display: grid;
  gap: 0;
  border-radius: 1.7rem;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.contact-box > div { padding: 1.8rem; }
.contact-box a { color: var(--gold-light); }
.contact-side { background: rgba(248, 250, 252, 0.05); border-top: 1px solid rgba(248, 250, 252, 0.1); }

.site-footer {
  background: var(--navy-deep);
  color: rgba(248, 250, 252, 0.72);
  padding: 3.2rem 0 1.6rem;
  font-size: 0.92rem;
}
.site-footer h3 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: 0.95rem;
}
.site-footer a { color: rgba(248, 250, 252, 0.78); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; gap: 1.6rem; margin-bottom: 1.8rem; }
.legal-mini { font-size: 0.82rem; line-height: 1.7; }
.copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(197, 168, 128, 0.2);
  font-size: 0.78rem;
}

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 10px 28px -8px rgba(197, 168, 128, 0.7);
  text-decoration: none;
}
.wa-float svg { width: 26px; height: 26px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 63, 0.72);
}
.modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  color: var(--navy);
}

.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 80;
  max-width: 22rem;
  background: var(--navy);
  color: #fff;
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transform: translateX(120%);
  transition: transform 0.35s;
}
.toast.show { transform: none; }

.prose { max-width: 46rem; }
.prose h2 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 2rem 0 0.7rem;
}
.prose p, .prose li { color: var(--ink); }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.seo-links { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.2rem; }
.seo-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  text-decoration: none;
  font-size: 0.85rem;
}

@media (min-width: 720px) {
  .topbar { display: block; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-pills { grid-template-columns: repeat(3, 1fr); }
  .fields.two { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .contact-box { grid-template-columns: 1.2fr 0.8fr; }
  .contact-side { border-top: 0; border-left: 1px solid rgba(248, 250, 252, 0.1); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .copy { flex-direction: row; justify-content: space-between; }
  .form-shell { padding: 2rem; }
}

@media (min-width: 1020px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .hero-logo { width: 260px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .toast, .wa-float { transition: none; animation: none; }
  .card:hover { transform: none; }
}
