/* coastal-light — GALPAO URUPES LTDA
   Pale lagoon wash, sand paper, emerald, sun orange, graphite. */

:root {
  --bg: #f7f4ee;
  --bg-alt: #e5f3f4;
  --bg-deep: #1c2926;
  --ink: #1c2926;
  --ink-soft: #5c6a64;
  --ink-invert: #f7f4ee;
  --accent: #0e7c62;
  --accent-soft: #e3f3ec;
  --line: #e3dbd0;
  --sand: #e8d3a4;
  --sun: #e36b2c;
  --sea: #d4eef1;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tracking-display: -0.03em;
  --container: 1180px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(28, 41, 38, 0.05), 0 16px 40px rgba(28, 41, 38, 0.08);
}

section[id] { scroll-margin-top: 5.25rem; }

/* Corner logo */
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-mark {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink-invert);
  border-radius: 16px 5px 16px 5px;
  box-shadow: var(--shadow);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--sun);
}

.brand-mark::before {
  width: 16px;
  height: 3px;
  top: -7px;
  left: -7px;
}

.brand-mark::after {
  width: 3px;
  height: 16px;
  top: -7px;
  left: -7px;
  background: var(--accent);
}

.brand-mark svg { width: 34px; height: 34px; }
.brand-mark .leaf { fill: var(--sand); }
.brand-mark .metal { fill: currentColor; }

.brand-text { display: grid; }
.brand-text__name { font-size: 0.78rem; }
.brand-text__legal {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.nav a { letter-spacing: 0.04em; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--sea), var(--bg) 72%);
  padding-top: clamp(2.2rem, 4vw, 4rem);
}

.hero__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: center;
}

.hero h1 { max-width: 12ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero__figure { margin: 0; }

.hero__photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--sand);
}

.hero__photo img,
.frame__photo img,
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__figure figcaption,
.about__figure figcaption {
  margin-top: 0.7rem;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Lookbook */
.lookbook { position: relative; }

.look-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lookbook__head { max-width: 40rem; margin-bottom: clamp(1.25rem, 2vw, 2rem); }

.lookbook__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pill {
  cursor: pointer;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: var(--step--1);
  line-height: 1.3;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.lookbook:has(#cat-women:checked) label[for="cat-women"],
.lookbook:has(#cat-men:checked) label[for="cat-men"],
.lookbook:has(#cat-accessories:checked) label[for="cat-accessories"],
.lookbook:has(#cat-shoes:checked) label[for="cat-shoes"],
.lookbook:has(#cat-jewelry:checked) label[for="cat-jewelry"],
.lookbook:has(#cat-embroidery:checked) label[for="cat-embroidery"],
.lookbook:has(#cat-capsules:checked) label[for="cat-capsules"],
.lookbook:has(#cat-linen:checked) label[for="cat-linen"] {
  background: var(--accent);
  color: var(--ink-invert);
  border-color: var(--accent);
}

.lookbook:has(#cat-women:focus-visible) label[for="cat-women"],
.lookbook:has(#cat-men:focus-visible) label[for="cat-men"],
.lookbook:has(#cat-accessories:focus-visible) label[for="cat-accessories"],
.lookbook:has(#cat-shoes:focus-visible) label[for="cat-shoes"],
.lookbook:has(#cat-jewelry:focus-visible) label[for="cat-jewelry"],
.lookbook:has(#cat-embroidery:focus-visible) label[for="cat-embroidery"],
.lookbook:has(#cat-capsules:focus-visible) label[for="cat-capsules"],
.lookbook:has(#cat-linen:focus-visible) label[for="cat-linen"] {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.frame { display: none; gap: var(--gap); align-items: stretch; }

.lookbook:has(#cat-women:checked) .frame--women,
.lookbook:has(#cat-men:checked) .frame--men,
.lookbook:has(#cat-accessories:checked) .frame--accessories,
.lookbook:has(#cat-shoes:checked) .frame--shoes,
.lookbook:has(#cat-jewelry:checked) .frame--jewelry,
.lookbook:has(#cat-embroidery:checked) .frame--embroidery,
.lookbook:has(#cat-capsules:checked) .frame--capsules,
.lookbook:has(#cat-linen:checked) .frame--linen {
  display: grid;
}

.frame__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.frame__photo--right img { object-position: 78% 40%; }
.frame__photo--top img { object-position: 50% 18%; }

.frame figcaption {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 2.4vw, 2.1rem);
}

.frame h3 { margin-bottom: 0.6rem; }

/* Inspection rows */
.section-intro { max-width: 40rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-intro h2 { margin-bottom: 0.75rem; }

.inspect article {
  display: grid;
  gap: 0.75rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
}

.inspect article:last-child { border-bottom: 1px solid var(--line); }

.inspect h3 {
  font-size: var(--step-3);
  color: var(--accent);
}

/* Volumetric service blocks */
.volumes { display: grid; gap: 1.1rem; }

.volume {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 2.6vw, 2.4rem);
  border-left: 4px solid var(--sand);
}

.volume:nth-child(3n) { border-left-color: var(--sun); }
.volume:nth-child(3n + 2) { border-left-color: var(--accent); }

.volume__index {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--sun);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.volume h3 { margin-bottom: 0.55rem; }
.volume a { color: var(--accent); }

/* Delivery */
.section--deep .eyebrow { color: var(--sand); }

.routes {
  display: grid;
  gap: var(--gap);
}

.route {
  padding: clamp(1.3rem, 2vw, 2rem);
  border-top: 3px solid var(--sun);
}

.route h3 { margin-bottom: 0.6rem; }

/* About */
.about {
  display: grid;
  gap: var(--gap);
  align-items: center;
}

.about__figure { margin: 0; }

.about__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--sand);
}

.about p + p { margin-top: 1rem; }

/* Styling steps */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--gap);
}

.steps li { padding-top: 0.9rem; border-top: 1px solid var(--line); }

.step-no {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 0.9;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.steps h3 { margin-bottom: 0.4rem; }

/* Visit ticket */
.ticket {
  display: grid;
  gap: var(--gap);
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 3rem);
  background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(90deg, var(--sun), var(--accent));
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  border: 1px solid transparent;
}

.ticket address {
  font-style: normal;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
}

/* Contact form */
.contact-layout {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.contact-points a { color: var(--accent); }

.contact-form {
  display: grid;
  gap: 0.95rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-top: 4px solid var(--sun);
}

.field select {
  padding: 0.85em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.contact-form .btn { justify-self: start; }

/* Footer */
.footer-grid {
  display: grid;
  gap: var(--gap);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin-bottom: 0.4rem;
}

.footer-grid nav {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }

@media (max-width: 420px) {
  .brand-text__legal { display: none; }
  .brand-text__name { font-size: 0.72rem; }
  .brand-mark { width: 42px; height: 42px; }
  .contact-form .btn { width: 100%; }
}

@media (min-width: 768px) {
  .frame { grid-template-columns: 1.2fr 0.8fr; align-items: end; }
  .frame figcaption { margin-bottom: 1.25rem; margin-left: -2.5rem; }
  .inspect article { grid-template-columns: 0.7fr 1.3fr; align-items: start; gap: 1.5rem; }
  .volumes { gap: 1.25rem; }
  .volume { max-width: 82%; }
  .volume:nth-child(even) { margin-left: auto; }
  .routes { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 0.86fr 1.14fr; gap: clamp(1.5rem, 3vw, 3.5rem); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .ticket { grid-template-columns: 1.2fr 0.8fr; align-items: end; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 0.7fr; }
}

@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .contact-layout { grid-template-columns: 0.82fr 1.18fr; }
}

@media (min-width: 1440px) {
  .hero { padding-top: 4.5rem; }
  .frame figcaption { margin-left: -3.5rem; }
}
