/* DL Distribuidora — shared stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { color: #444; }

.muted { color: #666; }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--alt { background: #f5f5f3; }
.section--light { background: #f9f9f7; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: .75rem;
}

.section-heading { margin-bottom: 1rem; }
.section-sub {
  color: #555;
  max-width: 560px;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.nav__logo-mark {
  width: 38px;
  height: 38px;
  background: #1a1a1a;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-mark span {
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
}

.nav__name {
  font-weight: 600;
  font-size: 1rem;
  color: #111;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: .9rem;
  color: #444;
  font-weight: 500;
  transition: color .2s;
}

.nav__links a:hover,
.nav__links a.active { color: #111; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #1a1a1a;
  color: #fff !important;
  padding: .55rem 1.1rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  transition: background .2s;
}

.nav__cta:hover { background: #333 !important; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 1rem 1.5rem 1.5rem;
  gap: .75rem;
}

.nav__mobile a {
  font-size: .95rem;
  color: #444;
  padding: .4rem 0;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}

.nav__mobile a:last-child { border-bottom: none; }

.nav__mobile .nav__cta {
  margin-top: .5rem;
  justify-content: center;
}

.nav__mobile.open { display: flex; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: #1a1a1a;
  color: #fff;
}

.btn--primary:hover { background: #333; }

.btn--outline {
  background: transparent;
  color: #1a1a1a;
  border: 1.5px solid #1a1a1a;
}

.btn--outline:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn--wa {
  background: #25d366;
  color: #fff;
}

.btn--wa:hover { background: #1ebe5d; }

/* ── Cards ── */
.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__body { padding: 1.25rem; }
.card__title { margin-bottom: .4rem; }
.card__text { font-size: .9rem; color: #555; }

/* ── Grid ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f5f5f3;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(.45);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  max-width: 640px;
}

.hero__label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
}

.hero__title { color: #fff; margin-bottom: 1.25rem; }

.hero__sub {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Differentials / feature list ── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.diff-item {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.diff-item__icon {
  width: 44px;
  height: 44px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diff-item__title { margin-bottom: .25rem; }
.diff-item__text { font-size: .9rem; color: #555; }

/* ── Stats bar ── */
.stats-bar {
  background: #1a1a1a;
  color: #fff;
  padding: 2.5rem 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stats-bar__num {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: .25rem;
}

.stats-bar__label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}

/* ── WA CTA section ── */
.wa-cta {
  background: #f5f5f3;
  padding: 4rem 0;
  text-align: center;
}

.wa-cta h2 { margin-bottom: .75rem; }
.wa-cta p { color: #555; margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Footer ── */
.footer {
  background: #1a1a1a;
  color: rgba(255,255,255,.8);
  padding: 3.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer__brand { display: flex; flex-direction: column; gap: .75rem; }

.footer__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer__logo-mark {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__logo-mark span {
  color: #1a1a1a;
  font-weight: 700;
  font-size: .85rem;
}

.footer__logo-name {
  font-weight: 600;
  color: #fff;
  font-size: .95rem;
}

.footer__desc { font-size: .875rem; line-height: 1.6; max-width: 280px; }

.footer__col-title {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}

.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__links a { font-size: .875rem; transition: color .2s; }
.footer__links a:hover { color: #fff; }

.footer__contact { display: flex; flex-direction: column; gap: .6rem; }
.footer__contact-item {
  display: flex;
  gap: .6rem;
  font-size: .875rem;
  align-items: flex-start;
}

.footer__contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: .6; }

.footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer__policy { font-size: .8rem; color: rgba(255,255,255,.4); display: flex; gap: 1.5rem; }
.footer__policy a:hover { color: rgba(255,255,255,.8); }

/* ── WhatsApp floating button ── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(37,211,102,.5);
}

/* ── LGPD Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
  transition: transform .35s;
}

.cookie-banner.hidden { transform: translateY(110%); }

.cookie-banner__text {
  font-size: .85rem;
  color: #555;
  flex: 1;
  min-width: 220px;
}

.cookie-banner__text a { color: #111; text-decoration: underline; }

.cookie-banner__btn {
  flex-shrink: 0;
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: .55rem 1.25rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}

.cookie-banner__btn:hover { background: #333; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Contact form ── */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: #333;
  margin-bottom: .4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  color: #111;
  background: #fff;
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: #111; }

.form-group textarea { min-height: 120px; resize: vertical; }

/* ── Sobre page ── */
.about-img {
  border-radius: 10px;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.info-box {
  background: #f5f5f3;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.info-box__title {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: .55rem 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: .9rem;
}

.info-row:last-child { border-bottom: none; }
.info-row__label { color: #666; }
.info-row__val { font-weight: 500; text-align: right; }

/* ── Policy / Terms ── */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 { margin-top: 2.5rem; margin-bottom: .75rem; font-size: 1.3rem; }
.prose h3 { margin-top: 1.75rem; margin-bottom: .5rem; font-size: 1.05rem; }
.prose p { margin-bottom: 1rem; color: #444; font-size: .95rem; }
.prose ul { margin: .75rem 0 1rem 1.25rem; list-style: disc; }
.prose ul li { color: #444; font-size: .95rem; margin-bottom: .4rem; }

/* ── Page header ── */
.page-header {
  background: #f5f5f3;
  border-bottom: 1px solid #e5e5e5;
  padding: 3rem 0 2.5rem;
}

.page-header__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: .5rem;
}

/* ── Address map placeholder ── */
.map-placeholder {
  width: 100%;
  height: 280px;
  background: #f0f0ee;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: #888;
  font-size: .9rem;
  margin-top: 1.5rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .section { padding: 3.5rem 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .hero { min-height: 480px; }
  .about-img { height: 260px; }
}

@media (max-width: 420px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: 1fr; }
}
