/* ============================================
   Drogaria Santa Helena — design tokens
   ============================================ */
:root{
  --paper: #ffffff;
  --paper-deep: #f5f5f3;
  --ink: #1a2430;
  --ink-soft: #4a5563;
  --navy: #0d2f5c;
  --navy-deep: #082040;
  --red: #b3242f;
  --red-deep: #84161f;
  --line: rgba(13,47,92,0.14);
  --whatsapp: #1f7a4d;

  --font-display: "Montserrat", -apple-system, sans-serif;
  --font-body: "Montserrat", -apple-system, sans-serif;
  --font-mono: "Montserrat", -apple-system, sans-serif;

  --container: 1180px;
  --radius: 14px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* paper grain overlay */
.grain{
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.icon{ width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ============================================
   Header
   ============================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-seal{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--line);
}
.brand-type{ display: flex; flex-direction: column; line-height: 1.05; }
.brand-eyebrow{
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.brand-name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}

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

.status-pill{
  display: none;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.status-dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: #9aa3ad;
}
.status-pill.is-open .status-dot{ background: #2f8f5b; box-shadow: 0 0 0 3px rgba(47,143,91,.18); }
.status-pill.is-closed .status-dot{ background: var(--red); box-shadow: 0 0 0 3px rgba(179,36,47,.16); }

@media (min-width: 720px){
  .status-pill{ display: inline-flex; }
}

/* buttons */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn:focus-visible{ outline: 2px solid var(--navy); outline-offset: 2px; }

.btn-primary{ background: var(--navy-deep); color: var(--paper); box-shadow: 0 6px 16px rgba(13,47,92,.25); }
.btn-primary:hover{ background: var(--red-deep); box-shadow: 0 8px 20px rgba(132,22,31,.3); }

.btn-ghost{ background: transparent; color: var(--navy-deep); border-color: var(--navy-deep); }
.btn-ghost:hover{ background: var(--navy-deep); color: var(--paper); }

.btn-whatsapp{ background: var(--whatsapp); color: #fff; padding: 10px 16px; font-size: 13.5px; box-shadow: 0 6px 14px rgba(31,122,77,.25); }
.btn-whatsapp:hover{ background: #185f3c; }

/* ============================================
   Hero
   ============================================ */
.hero{
  position: relative;
  padding: 64px 24px 56px;
}
.hero-inner{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  min-height: 56vh;
}

.kicker{
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--red);
  margin: 0 0 18px;
  opacity: 0;
  animation: rise .7s ease forwards;
}
.hero-copy h1{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.12;
  color: var(--navy-deep);
  margin: 0 0 22px;
  max-width: 16ch;
  letter-spacing: -0.02em;
  text-wrap: balance;
  opacity: 0;
  animation: rise .8s ease forwards .1s;
}
.hero-lede{
  font-size: clamp(16px, 1.5vw, 18.5px);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 34px;
  opacity: 0;
  animation: rise .8s ease forwards .2s;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: rise .8s ease forwards .32s;
}

@keyframes rise{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}

.hero-figure{ position: relative; }

.facade-frame{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px -18px rgba(13,32,64,.22);
}
.facade-photo{
  width: 100%;
  height: clamp(220px, 32vw, 360px);
  object-fit: cover;
  display: block;
}

.seal-stamp{
  position: absolute;
  top: -20px;
  left: -20px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--paper);
  padding: 6px;
  box-shadow: 0 8px 20px rgba(13,32,64,.18);
  z-index: 2;
  animation: rise .8s ease forwards .45s;
  opacity: 0;
}
.seal-stamp img{
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--navy);
}

/* ============================================
   Info strip
   ============================================ */
.info-strip{
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 24px;
}
.info-grid{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-card{
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.info-card:nth-child(2){ border-top-color: var(--red); }
.info-label{
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.info-text{ margin: 0; font-size: 16px; color: var(--ink); }
.info-text a{ text-decoration: none; }
.info-text a:hover{ color: var(--red); }

.info-hours{ list-style: none; margin: 0; padding: 0; font-size: 15.5px; }
.info-hours li{
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}
.info-hours li:last-child{ border-bottom: none; }
.info-hours li span:first-child{ color: var(--ink-soft); }
.info-hours li.closed span:last-child{ color: var(--red); font-weight: 600; }
.info-hours li span:last-child{ font-weight: 600; font-variant-numeric: tabular-nums; }

.info-link{
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--navy-deep);
}
.info-link:hover{ color: var(--red); border-color: var(--red); }

/* ============================================
   Map
   ============================================ */
.map-section{ line-height: 0; }
.map-section iframe{
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(.55) contrast(1.05);
  transition: filter .4s ease;
}
.map-section iframe:hover{ filter: grayscale(0); }

/* ============================================
   Footer
   ============================================ */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
  text-align: center;
  padding: 38px 24px 30px;
}
.site-footer p{ margin: 0 0 6px; font-size: 14.5px; }
.footer-fine{ font-size: 12.5px; color: rgba(255,255,255,.5); }

/* ============================================
   WhatsApp floating button
   ============================================ */
.whatsapp-fab{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 10px 24px rgba(31,122,77,.4);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: fab-pop .5s ease .6s backwards;
}
.whatsapp-fab .icon{ width: 28px; height: 28px; fill: #fff; }
.whatsapp-fab:hover{
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px rgba(31,122,77,.48);
}
.whatsapp-fab:focus-visible{ outline: 2px solid var(--navy); outline-offset: 3px; }

@keyframes fab-pop{
  from{ opacity: 0; transform: scale(.6); }
  to{ opacity: 1; transform: scale(1); }
}

@media (max-width: 520px){
  .whatsapp-fab{ right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .whatsapp-fab .icon{ width: 26px; height: 26px; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 880px){
  .hero-inner{ grid-template-columns: 1fr; gap: 36px; min-height: auto; }
  .hero-figure{ order: -1; }
  .seal-stamp{ width: 68px; height: 68px; top: -14px; left: -14px; }
  .info-grid{ grid-template-columns: 1fr; }

  .hero-copy{ text-align: center; }
  .kicker{ font-size: 11px; letter-spacing: .1em; }
  .hero-copy h1{ max-width: 20ch; margin-left: auto; margin-right: auto; }
  .hero-lede{ max-width: 38ch; margin-left: auto; margin-right: auto; }
  .hero-actions{ justify-content: center; }
}

@media (max-width: 520px){
  .header-inner{ padding: 12px 16px; }
  .brand-name{ font-size: 16px; }
  .hero{ padding: 36px 16px 40px; }
  .hero-copy h1{ font-size: clamp(28px, 8vw, 36px); max-width: 17ch; }
  .hero-lede{ font-size: 15.5px; }
  .hero-actions{ flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn{ flex: 1 1 0; justify-content: center; padding-left: 12px; padding-right: 12px; font-size: 13.5px; }
  .info-strip{ padding: 36px 16px; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
