/* styles.css */

/* =========================
   Base / Reset simples
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #0b0b0b;
  background: #ffffff;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:root{
  --black: #0b0b0b;
  --white: #ffffff;
  --gray-50: #f6f6f6;
  --gray-100: #eeeeee;
  --gray-200: #e2e2e2;
  --gray-400: #b7b7b7;
  --gray-600: #6b6b6b;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(0,0,0,.08);
  --container: 1100px;
}

/* =========================
   Helpers
========================= */
.container{
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.1rem;
  border-radius: 999px;
  font-weight: 650;
  letter-spacing: .2px;
  border: 1px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}

.btn:active{
  transform: translateY(1px);
}

.btn--primary{
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--primary:hover{
  opacity: .92;
}

.btn--outline{
  background: transparent;
  color: var(--black);
  border-color: var(--gray-200);
}

.btn--outline:hover{
  background: var(--gray-50);
  border-color: var(--gray-200);
}

.btn--ghost{
  background: transparent;
  color: var(--black);
  border-color: transparent;
}

.btn--ghost:hover{
  background: var(--gray-50);
}

.btn--full{
  width: 100%;
}

/* =========================
   Header
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
}

.brand__logo{
  height: 38px;
  width: auto;
}

/* =========================
   Hero
========================= */
.hero{
  padding: 3.2rem 0 2.2rem;
}

.hero-inner{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow{
  margin: 0 0 .6rem;
  color: var(--gray-600);
  font-weight: 650;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: .85rem;
}

.hero-title{
  margin: 0 0 .9rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-subtitle{
  margin: 0 0 1.3rem;
  color: var(--gray-600);
  max-width: 48ch;
}

.hero-actions{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Card decorativo do hero */
.hero-card{
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fff, #fafafa);
  overflow: hidden;
}

.hero-card__top{
  display: flex;
  gap: .5rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--black);
}

.dot--muted{
  background: var(--gray-400);
}

.hero-card__body{
  padding: 1.1rem 1.1rem 1.2rem;
}

.hero-card__label{
  margin: 0 0 .7rem;
  font-weight: 700;
}

.hero-card__list{
  margin: 0;
  padding-left: 1.1rem;
  color: var(--gray-600);
}

/* =========================
   Produtos
========================= */
.products{
  padding: 2.2rem 0 3rem;
  background: #fff;
}

.section-head{
  margin-bottom: 1.2rem;
}

.section-title{
  margin: 0 0 .35rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.section-subtitle{
  margin: 0;
  color: var(--gray-600);
}

.products-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 1.2rem;
}

.product-card{
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.product-card__media{
  padding: 1.3rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  display: grid;
  place-items: center;
  min-height: 140px;
}

.product-card__media img{
  max-height: 72px;
  width: auto;
}

.product-card__content{
  padding: 1.25rem;
  display: grid;
  gap: .75rem;
}

.product-card__title{
  margin: 0;
  font-size: 1.15rem;
}

.product-card__text{
  margin: 0;
  color: var(--gray-600);
}

/* Callout */
.callout{
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
}

.callout__text{
  margin: 0;
  color: var(--gray-600);
}

/* =========================
   Footer
========================= */
.site-footer{
  padding: 2rem 0;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.footer-inner{
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.footer-links{
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link{
  color: var(--gray-600);
  font-weight: 650;
}

.footer-link:hover{
  color: var(--black);
}

.footer-logos{
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer-logos img{
  height: 34px;
  width: auto;
  filter: grayscale(100%);
  opacity: .9;
  transition: filter .15s ease, opacity .15s ease;
}

.footer-logos img:hover{
  filter: grayscale(0%);
  opacity: 1;
}

.footer-note{
  margin: 0;
  color: var(--gray-600);
  font-size: .95rem;
}

/* =========================
   Responsividade
========================= */
@media (max-width: 900px){
  .hero-inner{
    grid-template-columns: 1fr;
  }

  .hero-card{
    order: 2;
  }

  .products-grid{
    grid-template-columns: 1fr;
  }

  .callout{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px){
  .brand__logo{
    height: 32px;
  }

  .btn{
    width: 100%;
  }

  .header-inner{
    gap: .75rem;
  }
}
