/* Papelaria Indaiá — Landing Page
   - Tema claro/escuro com tokens
   - Responsivo (mobile-first)
*/

:root{
  --bg: #0b1020;
  --bg-elev: rgba(255,255,255,0.06);
  /* Superfícies (sem transparência) */
  --card: #111a33;
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --border: rgba(255,255,255,0.12);
  --shadow: 0 14px 35px rgba(0,0,0,0.35);

  --blue: #1f7ae0;
  --green: #20b26b;
  --yellow: #f7c948;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;

  --focus: 0 0 0 4px rgba(31,122,224,0.25), 0 0 0 1px rgba(31,122,224,0.45);
  color-scheme: dark;
}

:root[data-theme="light"]{
  --bg: #f6f8fc;
  --bg-elev: rgba(15, 23, 42, 0.04);
  /* Superfícies (sem transparência) */
  --card: #ffffff;
  --text: rgba(10,16,32,0.92);
  --muted: rgba(10,16,32,0.72);
  --border: rgba(10,16,32,0.12);
  --shadow: 0 16px 42px rgba(10,16,32,0.10);
  color-scheme: light;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: auto; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1400px 900px at 20% 10%, rgba(31,122,224,0.18), transparent 58%),
              radial-gradient(1200px 900px at 85% 0%, rgba(32,178,107,0.16), transparent 55%),
              radial-gradient(1200px 900px at 60% 100%, rgba(247,201,72,0.12), transparent 58%),
              var(--bg);
  color: var(--text);
  line-height: 1.5;

}

/* Header is fixed; keep content from sliding under it */
main{ padding-top: var(--header-h, 96px); }

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button, input, select, textarea{
  font: inherit;
  color: inherit;
}
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}


.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus{
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: .6rem .9rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 9999;
}

/* Header */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;

  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* When navigating to anchors, avoid the fixed header covering section titles */
section[id]{
  scroll-margin-top: calc(var(--header-h, 96px) + 16px);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.brand{
  display: flex;
  align-items: center;
  gap: .85rem;
}
.brand-logo{
  width: 160px;
  height: 80px;
  object-fit: contain;
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: 0;
}
.brand-name{
  font-weight: 800;
  letter-spacing: .2px;
}
.brand-sub{
  display: block;
  font-size: .88rem;
  color: var(--muted);
  margin-top: -2px;
}

.nav{ display: flex; align-items: center; gap: .65rem; }
.nav-panel{
  display: flex;
  align-items: center;
  gap: .9rem;
}
.nav-panel a{
  font-weight: 650;
  color: var(--muted);
  padding: .45rem .6rem;
  border-radius: 999px;
}
.nav-panel a:hover{ color: var(--text); background: var(--bg-elev); }

.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span{
  width: 18px;
  height: 2px;
  background: color-mix(in srgb, var(--text) 80%, transparent);
  border-radius: 999px;
  display: block;
}

.theme-toggle{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  padding: .55rem .8rem;
  border-radius: 999px;
  cursor: pointer;
}
.theme-toggle:hover{  }
.theme-label{ font-weight: 650; color: var(--muted); }
.theme-icon{ font-size: 1.05rem; }

/* Hero */
.hero{
  position: relative;
  padding: 4.2rem 0 1.2rem;
  overflow: hidden;
}
.hero-bg{
  position: absolute;
  inset: 0;
  background: url("../images/hero-real.webp");
  background-size: cover;
  background-position: center;
  /* evita sensação de "blur" por escala em telas grandes */
  background-repeat: no-repeat;
}

/* Véu de contraste (tema claro/escuro) */
.hero-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Rev17: véu ativo no tema escuro para legibilidade */
  background: rgba(0,0,0,0);
}
/* Rev18: no tema claro, véu discreto só na área do texto (lado esquerdo),
   simulando uma "parede branca" e compensando a janela mais escura da foto.
   No tema escuro, véu mais forte e também mais concentrado à esquerda. */
:root[data-theme="light"] .hero-bg::after{
  background: linear-gradient(90deg,
    rgba(255,255,255,.78) 0%,
    rgba(255,255,255,.60) 34%,
    rgba(255,255,255,.25) 56%,
    rgba(255,255,255,0) 74%
  );
  -webkit-saturate(1.05);
  saturate(1.05);
}
:root:not([data-theme="light"]) .hero-bg::after{
  background: linear-gradient(90deg,
    rgba(6,10,18,.74) 0%,
    rgba(6,10,18,.58) 38%,
    rgba(6,10,18,.30) 62%,
    rgba(6,10,18,.16) 82%,
    rgba(6,10,18,0) 100%
  );
  -webkit-saturate(1.05);
  saturate(1.05);
}

.hero-grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.4rem;
  align-items: start;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--border);
  color: var(--muted);
  margin: 0 0 1rem 0;
}
.dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--green), var(--yellow));
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
}

.hero-copy h1{
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 .9rem 0;
  letter-spacing: -.6px;
}
.grad{
  background: linear-gradient(90deg,
    #2F80ED 0%,
    #27AE60 55%,
    #F2C94C 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 .hero-slogan{
  position: relative;
  display: inline-block;
  padding: 0 .08em;
  font-weight: 800;
}
.hero h1 .hero-slogan::after{
  content: "";
  position: absolute;
  left: -.08em;
  right: -.08em;
  bottom: .05em;
  height: .42em;
  border-radius: .35em;
  background: linear-gradient(90deg,
    #2F80ED 0%,
    #27AE60 55%,
    #F2C94C 100%
  );
  opacity: .18;
  z-index: -1;
}

/* Deixa o "Papelaria completa" com peso visual e legibilidade melhores */
.lead strong{
  color: var(--ink);
  font-weight: 700;
}
.lead{
  margin: 0 0 1.25rem 0;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 60ch;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.2rem;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  font-weight: 750;
  cursor: pointer;
  transition: transform .14s ease, filter .14s ease, background .14s ease;
}
.btn:focus-visible{ outline: none; box-shadow: var(--focus); }
.btn:hover{ transform: translateY(-1px);  }
.btn-primary{
  border-color: color-mix(in srgb, var(--blue) 55%, var(--border));
  background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 92%, #fff0),
                                      color-mix(in srgb, var(--green) 88%, #fff0),
                                      color-mix(in srgb, var(--yellow) 82%, #fff0));
  color: #0b1020;
}
:root[data-theme="light"] .btn-primary{ color: #0b1020; }
.btn-soft{
  border-color: color-mix(in srgb, var(--green) 40%, var(--border));
  background: color-mix(in srgb, var(--green) 14%, var(--bg));
}
.btn-ghost{
  /* Rev16: botão secundário com fundo branco no tema claro */
  background: var(--bg-elev);
}
:root[data-theme="light"] .btn-ghost{ background: #fff; }
.btn-icon{ font-weight: 900; }
.w-full{ width: 100%; }

.hero-badges{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
.badge{
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  border: 1px solid var(--border);
  padding: .85rem .9rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
:root[data-theme="light"] .badge{ box-shadow: 0 10px 24px rgba(10,16,32,0.08); }
.badge strong{
  display: block;
  font-size: .98rem;
}
.badge span{
  display: block;
  font-size: .86rem;
  color: var(--muted);
  margin-top: .15rem;
}

/* Hero card */
.hero-card{
  border-radius: calc(var(--radius) + 6px);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card-top{
  padding: 1.1rem 1.1rem .25rem;
}
.hero-card-top h2{
  margin: 0;
  font-size: 1.12rem;
}
.hero-card-top p{
  margin: .45rem 0 .6rem;
  color: var(--muted);
}
.hero-card-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  padding: .8rem 1.1rem 1rem;
}
.mini{
  border-radius: var(--radius);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: .9rem;
}
.mini h3{
  margin: 0 0 .55rem;
  font-size: .98rem;
}
.mini ul{
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
}
.hero-card-cta{ padding: 0 1.1rem 1.1rem; }

/* Trust */
.trust{ padding: 1.25rem 0 1.2rem; }
.trust-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.trust-item{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  padding: .95rem 1rem;
}
.kpi{
  display: block;
  font-weight: 900;
  letter-spacing: -.2px;
  font-size: 1.15rem;
}
.kpi-sub{ color: var(--muted); font-size: .88rem; }

/* Sections */
.section{ padding: 3.2rem 0; position: relative; }
.section-alt{
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-block: 1px solid var(--border);
}
.section-pattern{
  position: absolute;
  inset: 0;
  background: url("../images/section-pattern.svg");
  background-size: 820px auto;
  background-repeat: no-repeat;
  background-position: 92% 8%;
  opacity: .20;
  pointer-events: none;
}
.section-head{
  max-width: 70ch;
  margin-bottom: 1.35rem;
}
.section-head.left{ margin-bottom: 1rem; }
.section-head h2{
  margin: 0 0 .55rem;
  font-size: clamp(1.6rem, 2.2vw, 2.05rem);
  letter-spacing: -.4px;
}
.section-head p{ margin: 0; color: var(--muted); }

/* Cards */
.cards{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}
.card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
:root[data-theme="light"] .card{ box-shadow: 0 12px 28px rgba(10,16,32,0.06); }
.card-ico{
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(31,122,224,0.18), rgba(32,178,107,0.12), rgba(247,201,72,0.12));
  border: 1px solid var(--border);
  margin-bottom: .75rem;
}
.card h3{ margin: 0 0 .35rem; font-size: 1.05rem; }
.card p{ margin: 0; color: var(--muted); }

/* Services */
.service-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}
.service{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  padding: 1rem;
}
.service h3{ margin: 0 0 .35rem; }
.service p{ margin: 0; color: var(--muted); }
.service-cta{
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--blue) 18%, var(--bg)),
    color-mix(in srgb, var(--green) 16%, var(--bg)),
    color-mix(in srgb, var(--yellow) 14%, var(--bg))
  );
}

/* Two col */
.two-col{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.checklist{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}
.checklist li{
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
}
.checklist li
.inline-cta{ display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }

.side-card{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.side-card h3{ margin: 0 0 .55rem; }
.side-card p{ margin: 0 0 .75rem; color: var(--muted); }
.side-card p strong{ color: var(--text); }
.divider{ height: 1px; background: linear-gradient(
    to right,
    transparent,
    var(--border) 20%,
    var(--border) 80%,
    transparent
  ); margin: .85rem 0; }
.small{ font-size: .92rem; }
.muted{ color: var(--muted); }
.hide-sm{ display: inline-flex; }

/* Store */
.store-card{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 1.1rem;
}
.lead-sm{ margin: .4rem 0 1rem; color: var(--muted); }
.store-info{ display: grid; gap: .75rem; }
.info{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  padding: .9rem;
}
.label{
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .15rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.map-shell{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 320px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
}
.map-placeholder{
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.code{
  display: block;
  margin-top: .6rem;
  padding: .7rem .8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  font-size: .86rem;
  color: var(--muted);
  overflow-x: auto;
}

/* Contact */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.contact-cards{
  display: grid;
  gap: .75rem;
}
.contact-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  padding: .95rem 1rem;
}
.contact-card:hover{  }
.cc-ico{
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(31,122,224,0.16), rgba(32,178,107,0.12), rgba(247,201,72,0.12));
}

.contact-form{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.contact-form h3{ margin: 0 0 .45rem; }
.contact-form p{ margin: 0 0 1rem; }

label{ display: grid; gap: .35rem; margin-bottom: .85rem; }
input, select, textarea{
  padding: .78rem .85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
}
:root[data-theme="light"] input,
:root[data-theme="light"] select,
:root[data-theme="light"] textarea{
  background: #ffffff;
}
input:focus, select:focus, textarea:focus{
  outline: none;
  box-shadow: var(--focus);
}
.fineprint{
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .86rem;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 2.2rem 0;
  background: color-mix(in srgb, var(--bg) 90%, transparent);

  border-top: none;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.25fr .75fr 1.2fr;
  gap: 1.2rem;
  align-items: start;
}
.footer-brand{
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer-brand img{
  width: 140px;
  height: 76px;
  object-fit: contain;
  border-radius: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.footer-brand-text strong{
  font-size: 1.05rem;
}
.footer-actions{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .6rem;
}

.footer-title{
  display: block;
  margin-bottom: .5rem;
  font-weight: 850;
  letter-spacing: -.2px;
}
.footer-links{
  display: grid;
  gap: .35rem;
  color: var(--muted);
  font-weight: 650;
}
.footer-links a:hover{ color: var(--text); }
.footer-meta p{ margin: 0 0 .45rem; }
/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-card{
  border-radius: calc(var(--radius) + 6px);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
  .cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .hide-sm{ display: none; }
}
@media (max-width: 680px){
  .hero{ padding-top: 3.4rem; }
  .hero-badges{ grid-template-columns: 1fr; }
  .trust-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards{ grid-template-columns: 1fr; }
  .service-grid{ grid-template-columns: 1fr; }
  .nav-toggle{ display: inline-flex; }
  .nav-panel{
    position: absolute;
    right: 1rem;
    top: 70px;
    width: min(92vw, 320px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .75rem;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav-panel a{ width: 100%; }
  .nav-panel.is-open{ display: flex; }
/* Mobile header refinements (only <=680px) */
.brand-stack{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: .25rem;
}
.brand-logo{
  max-height: 44px;
}
.brand-tagline{
  margin-top: 0;
  font-size: .9rem;
  line-height: 1.25;
  white-space: normal;
  max-width: 420px;
  font-weight: 600;
  color: var(--muted);
}


/* Hamburger icon (avoid "three dots" look) */
.nav-toggle{
  gap: 4px;
}
.nav-toggle span{
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  opacity: .95;
}

/* Hero badge: keep in a single line on mobile */
.pill{
  font-size: .86rem;
  padding: .4rem .7rem;
  white-space: nowrap;
}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn{ transition: none; }
}

/* Theme icon-only */
.theme-toggle{
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  justify-content: center;
}
.theme-svg{
  fill: none;
  stroke: color-mix(in srgb, var(--text) 80%, transparent);
  stroke-width: 2;
}
.theme-moon path{ fill: color-mix(in srgb, var(--text) 80%, transparent); stroke: none; }
.theme-sun path:first-child{ fill: color-mix(in srgb, var(--text) 80%, transparent); stroke: none; }
:root[data-theme="light"] .theme-sun{ display: none; }
:root:not([data-theme="light"]) .theme-moon{ display: none; }

.map-iframe{
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.brand{
  align-items: center;
  gap: .85rem;
}
.brand-tagline{
  margin-top: 0;
  font-size: .9rem;
  line-height: 1.25;
  white-space: normal;
  max-width: 420px;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 680px){
  .brand-tagline{
  margin-top: 0;
  font-size: .9rem;
  line-height: 1.25;
  white-space: normal;
  max-width: 420px;
  font-weight: 600;
  color: var(--muted);
}

}

.footer-tagline{
  margin-top: .15rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
}

/* Theme icon-only */
.theme-toggle{
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  justify-content: center;
}
.theme-svg{
  fill: none;
  stroke: color-mix(in srgb, var(--text) 82%, transparent);
  stroke-width: 2;
}
.theme-sun circle{ fill: none; }
:root[data-theme="light"] .theme-sun{ display: none; }
:root:not([data-theme="light"]) .theme-moon{ display: none; }

/* Loja: mapa com a mesma altura do card */
.loja-grid{ align-items: stretch; }
.loja-grid .store-card,
.loja-grid .map-shell{ height: 100%; }
.loja-grid .map-iframe{ height: 100%; min-height: 0; }

/* Logo + slogan */
.brand-stack{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: .25rem;
}

.brand-logo{
  width: auto;
  height: auto;
  max-height: 78px; /* tamanho original visual */
  object-fit: contain;
}

.brand-tagline{
  margin-top: 0;
  font-size: .9rem;
  line-height: 1.25;
  white-space: normal;
  max-width: 420px;
  font-weight: 600;
  color: var(--muted);
}


:root[data-theme="light"] .brand-tagline{
  margin-top: 0;
  font-size: .9rem;
  line-height: 1.25;
  white-space: normal;
  max-width: 420px;
  font-weight: 600;
  color: var(--muted);
}


/* Footer */
.footer-stack{
  align-items: center;
  text-align: center;
}
.footer-tagline{
  margin-top: .15rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
}

/* Topo: slogan menor e sem negrito */
.brand-tagline{
  margin-top: 0;
  font-size: .9rem;
  line-height: 1.25;
  white-space: normal;
  max-width: 420px;
  font-weight: 600;
  color: var(--muted);
}


/* Footer moderno */
.site-footer{
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  padding: 2.5rem 0 0;

  border-top: none;
}

.footer-modern{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand-area{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
}

.footer-logo{
  max-width: 220px;
  height: auto;
}

.footer-tagline{
  margin-top: .15rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
}

.footer-columns{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
}

.footer-col h4{
  margin: 0 0 .6rem;
  font-size: .95rem;
  font-weight: 800;
}

.footer-col a{
  display: block;
  margin-bottom: .35rem;
  color: var(--muted);
  font-weight: 600;
}

.footer-col a:hover{
  color: var(--text);
}

.footer-col p{
  margin: 0 0 .45rem;
  color: var(--muted);
  font-size: .92rem;
}

.footer-email{
  word-break: break-word;
}

.footer-copy{
  margin-top: 2rem;
  padding: .9rem 0;
  
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
}

.footer-copy-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy a{
  color: inherit;
  text-decoration: none;
}

.footer-copy a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}


@media (max-width: 600px){
  .footer-copy-inner{
    justify-content: center;
    text-align: center;
  }
}

/* Responsivo footer */
@media (max-width: 900px){
  .footer-modern{
    grid-template-columns: 1fr;
  }
  .footer-columns{
    grid-template-columns: 1fr;
  }
  .footer-brand-area{
    align-items: center;
    text-align: center;
  }
}

/* Footer premium com gradiente sutil da marca */
.site-footer{
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--blue) 6%, var(--bg)) 0%,
      color-mix(in srgb, var(--green) 6%, var(--bg)) 45%,
      color-mix(in srgb, var(--yellow) 6%, var(--bg)) 100%
    );

  border-top: none;
}

.site-footer

.footer-logo{
  
}

.footer-col h4{
  letter-spacing: .02em;
}

.footer-col a{
  position: relative;
}

.footer-col a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--blue),
    var(--green),
    var(--yellow)
  );
  transition: width .25s ease;
}

.footer-col a:hover::after{
  width: 100%;
}

.footer-copy{
  margin-top: 2rem;
  padding: .9rem 0;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
}

/* Substituir divisor cinza por linha colorida */
.site-footer

/* Toque fino: leve curva orgânica no topo do footer */
.site-footer{
  position: relative;
  overflow: hidden;
}

.site-footer::after{
  content: "";
  position: absolute;
  top: -28px;
  left: -10%;
  width: 120%;
  height: 60px;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--blue) 12%, transparent) 0%,
    color-mix(in srgb, var(--green) 10%, transparent) 40%,
    transparent 70%
  );
  opacity: .6;
  pointer-events: none;
}

/* Micro ajustes de espaçamento do footer */
.footer-modern{
  padding-top: .8rem;
}

.footer-brand-area{
  gap: .45rem;
}

/* Hero: overlays para leitura (claro/escuro) */
.hero{
  position: relative;
  overflow: hidden;
}
.hero
:root:not([data-theme="light"]) .hero
.hero > .container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}



.feature-box{
  background: var(--card);
  backdrop-
  -webkit-backdrop-
}

/* Rev14: garantir bloco do hero totalmente sólido (sem transparência) */
.hero-card-grid a{
  background: var(--card);
}


/* rev24: hamburger real no mobile (sem afetar desktop) */
@media (max-width: 680px){
  .nav-toggle{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
  }
  .nav-toggle span{
    display:block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    opacity: .85;
  }
}



html, body {
  overflow-x: hidden;
}

/* rev25 overflow fix */
.site, .page, .wrapper, .container, .main {
  max-width: 100%;
}

/* rev26 centering fix */
html, body{ width: 100%; }


/* rev27: limitar largura geral no desktop (evitar esticar em Full HD) */
:root{
  --site-max: 1200px;
}

@media (min-width: 1024px){
  /* centraliza e limita o conteúdo */
  .site, .page, .wrapper, .main, .container{
    max-width: var(--site-max);
    margin-left: auto;
    margin-right: auto;
  }
  /* garante respiro lateral consistente */
  .site, .page, .wrapper, .main{
    padding-left: 24px;
    padding-right: 24px;
  }
}




/* rev29: corrigir "espaço" à direita no mobile sem quebrar o ícone do tema
   (causa: slogan/brand muito largo empurrando a nav para fora da tela) */
@media (max-width: 680px){
  .brand{ flex-wrap: wrap; }
  .brand-tagline{
  margin-top: 0;
  font-size: .9rem;
  line-height: 1.25;
  white-space: normal;
  max-width: 420px;
  font-weight: 600;
  color: var(--muted);
}

  /* mantém os botões (hamburger + tema) sempre dentro da tela */
  .nav{ flex: 0 0 auto; }
  .nav-panel{ right: 1rem; }
}



/* rev30: ajustes desktop - Atendimento corporativo e Loja física */
@media (min-width: 1024px){
  /* Atendimento corporativo: corrigir quebra de layout */
  .corporativo, .corporativo-content{
    display: block;
  }
  .corporativo ul{
    margin-left: 1.25rem;
  }

  /* Loja física: subir título e espaçar botão WhatsApp */
  .loja-fisica h2, .loja-fisica h3{
    margin-top: 0;
  }
  .loja-fisica .btn-whatsapp{
    margin-top: 1rem;
  }
}



.services-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:24px;
}


/* rev39: equal 50/50 two-card sections + stretch */
.loja-grid > *,
.contact-grid > *{ height: 100%; }
.map-card iframe{ height: 100%; min-height: 320px; }

/* Layout container constraint */
.layout-container{
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Normalize section dividers */
.section-divider,
hr{
  max-width:1200px;
  margin:48px auto;
  border:0;
  border-top:1px solid rgba(0,0,0,0.08);
}

/* Footer constraint */
footer .footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding-left:24px;
  padding-right:24px;
}



/* === Layout: constrain section divider lines within container (no full-bleed borders) === */
.section-alt{
  /* keep background full-bleed, but remove full-bleed borders */
  border-block: none !important;
  position: relative;
}

/* draw a single 1px divider at the top of each alt section, constrained to layout width */
.section-alt::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 48px));
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--border) 20%,
    var(--border) 80%,
    transparent
  );
  pointer-events: none;
}

/* avoid a divider immediately under the hero/top area if any first alt-section sits at the top */
.section-alt:first-of-type::before{
  /* safe-guard: keep divider, but you can disable here if needed */
}

/* make sure all separators have consistent thickness */
.section-alt::before,
.section-divider,
hr{
  border-top-width: 1px !important;
}

/* === Footer: constrain the copy separator and content width === */
.footer-copy{
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: .9rem 24px;
  border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent);
}



/* Hero headline: keep in ~3 lines and avoid orphaned last word */
.hero-copy h1{
  max-width: 20ch;
  text-wrap: balance;
}
@media (max-width: 900px){
  .hero-copy h1{ max-width: 22ch; }
}
@media (max-width: 520px){
  .hero-copy h1{ max-width: 26ch; }
}



/* === Modal (map) with dim + subtle blur === */
.modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, .38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9990;
}
.modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 9991;
}
.modal-panel{
  width: min(980px, 100%);
  border-radius: 22px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
  overflow: hidden;
  position: relative;
}
.modal-body{
  aspect-ratio: 16 / 9;
  min-height: 420px;
}
.modal-body iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.modal-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}
.modal-close:hover{ box-shadow: var(--shadow); }

body.modal-open{
  overflow: hidden;
}

/* Store section: right column is the form now */
.loja-grid .store-form .contact-form{
  margin: 0;
}



/* Ensure [hidden] works even with author display rules (modals, etc.) */
[hidden]{ display:none !important; }



/* === Cinematic modal animation === */
.modal-backdrop{
  opacity: 0;
  transition: opacity .45s ease;
}

.modal{
  opacity: 0;
  transform: scale(.96) translateY(6px);
  transition:
    opacity .45s ease,
    transform .55s cubic-bezier(.16,1,.3,1);
}

body.modal-open .modal-backdrop{
  opacity: 1;
}

body.modal-open .modal{
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Mobile fix: avoid transform on modal (prevents Google Maps iframe offset) */
@media (max-width: 680px){
  .modal{
    transform: none !important;
  }
  body.modal-open .modal{
    transform: none !important;
  }
}



/* === Progressive background blur while modal is open === */
.site-header,
main,
.site-footer{
  transition: filter .45s ease;
  will-change: filter;
}

body.modal-open .site-header,
body.modal-open main,
body.modal-open .site-footer{
  filter: blur(2px);
}



/* === Serviços: tighten vertical spacing === */
#servicos .section-head{
  margin-bottom: 1.1rem;
}
#servicos .section-head h2{
  margin-bottom: .25rem;
}
#servicos .section-head p{
  margin-top: .25rem;
}



/* === Loja: equal spacing between CTA buttons (match badges gap) === */
#loja .inline-cta{
  display: flex;
  gap: 14px; /* matches badge spacing */
  flex-wrap: wrap;
}



/* === FIX: ensure adjustments apply (higher specificity) === */

/* Serviços: bring title closer to divider line */
section#servicos.section{
  padding-top: 2.2rem !important; /* was 3.2rem */
}
section#servicos .section-head{
  margin-bottom: 1.0rem !important;
}
section#servicos .section-head h2{
  margin: 0 0 .2rem 0 !important;
}
section#servicos .section-head p{
  margin: .2rem 0 0 0 !important;
}

/* Loja: consistent spacing between CTA buttons */
section#loja .inline-cta{
  display: flex !important;
  gap: 14px !important;       /* same feel as badge spacing */
  row-gap: 14px !important;
  column-gap: 14px !important;
  flex-wrap: wrap !important;
  align-items: center;
}



/* === HARD FIX: CTA buttons spacing (fallback-safe) === */
#loja .inline-cta{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:16px !important;
}

#loja .inline-cta > *{
  margin:0 !important;
}

#loja .inline-cta > * + *{
  margin-left:16px !important; /* fallback if gap is ignored */
}



/* === Loja CTA buttons: enforce spacing even if gap is ignored/overridden === */
section#loja .inline-cta > *{
  margin: 0 !important;
}
section#loja .inline-cta > *:not(:last-child){
  margin-right: 14px !important;
}

/* Ajuste ultra fino de alinhamento entre botões */
.inline-cta{
  margin-top: 12px;
}
.inline-cta .btn{
  width: 100%;
}

.contact-form textarea{
  height: 107px;
  min-height: 107px;
  resize: none;
}
@media (max-width: 860px){
  .contact-form textarea{
    height: 135px;
    min-height: 135px;
    resize: vertical;
  }
}
