/* ============================================
   CONFIGURAÇÃO RÁPIDA DA MARCA (edite aqui)
   ============================================ */
:root {
  --color-bg: #faf9f7;
  --color-surface: #ffffff;
  --color-text: #1c1c1c;
  --color-text-muted: #5c5c5c;
  --color-border: #e8e6e3;
  --color-cta: #1a1a1a;
  --color-cta-hover: #2d2d2d;
  --color-accent: #5a6b6a;
  --color-badge: #2a3d3c;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-soft: 0 12px 40px rgba(28, 28, 28, 0.06);
  --header-h: 56px;
  --max-w: 1120px;
  --font-display: "Georgia", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- HEADER FIXO ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 249, 247, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text);
}

.logo--img {
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: normal;
  text-transform: none;
}

.logo__img {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(240px, 72vw);
  object-fit: contain;
}

/* ---------- LAYOUT ---------- */
main {
  padding-top: var(--header-h);
}

.section {
  padding: 2.5rem 1.25rem;
}

.section--tight-top {
  padding-top: 1.5rem;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0 0 0.5rem;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

/* ---------- HERO ---------- */
.hero {
  text-align: center;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}

.hero__sub {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 auto 1.5rem;
  max-width: 22rem;
}

.hero__media {
  margin: 0 auto 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-border);
  aspect-ratio: 3 / 4;
  max-height: min(72vh, 520px);
  max-width: 400px;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

/* Placeholder visível até você definir src na imagem (sem JS) */
.hero__media img:not([src]),
.hero__media img[src=""] {
  display: none;
}

.hero__media:not(:has(img[src]:not([src=""]))) .hero__placeholder {
  display: flex;
}

.hero__media:has(img[src]:not([src=""])) .hero__placeholder {
  display: none;
}

/* ---------- CTA ---------- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  min-height: 48px;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--color-cta);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-align: center;
  touch-action: manipulation;
}

.btn-cta:hover {
  background: var(--color-cta-hover);
}

.btn-cta:active {
  transform: scale(0.98);
}

.btn-cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ---------- GALERIA ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  position: relative;
}

.card__img-wrap {
  aspect-ratio: 3 / 4;
  background: var(--color-border);
  position: relative;
}

.card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

.card__img-wrap img:not([src]),
.card__img-wrap img[src=""] {
  display: none;
}

.card__img-wrap:not(:has(img[src]:not([src=""]))) .card__placeholder {
  display: flex;
}

.card__img-wrap:has(img[src]:not([src=""])) .card__placeholder {
  display: none;
}

.card__badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  pointer-events: none;
}

.badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-badge);
  color: #f5f5f5;
}

.badge--muted {
  background: rgba(28, 28, 28, 0.75);
}

.card__body {
  padding: 1rem 1rem 1.15rem;
}

.card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.card__price {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

.card__price strong {
  color: var(--color-text);
  font-weight: 700;
}

.card__note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* ---------- DIFERENCIAIS ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.feature__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--color-accent);
}

.feature__icon svg {
  width: 100%;
  height: 100%;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.feature__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ---------- OBJEÇÕES / SEGURANÇA ---------- */
.trust {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 1.75rem 1.25rem;
}

.trust__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust-item h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.35rem;
}

.trust-item p {
  margin: 0;
  font-size: 0.9rem;
}

.table-wrap {
  margin-top: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.sizes {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

table.sizes th,
table.sizes td {
  padding: 0.6rem 0.45rem;
  text-align: left;
  border: 1px solid var(--color-border);
  vertical-align: top;
}

table.sizes td:last-child {
  font-size: 0.72rem;
  line-height: 1.35;
}

table.sizes th {
  background: var(--color-bg);
  font-weight: 600;
}

/* ---------- DEPOIMENTOS ---------- */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 900px) {
  .testimonials--carousel {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .testimonials--carousel .testimonial {
    flex: 0 0 min(320px, 85vw);
    scroll-snap-align: start;
  }
}

.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
}

.testimonial__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-border);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__avatar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.2;
  padding: 0.25rem;
}

.testimonial__avatar img:not([src]),
.testimonial__avatar img[src=""] {
  display: none;
}

.testimonial__avatar:not(:has(img[src]:not([src=""]))) span {
  display: flex;
}

.testimonial__avatar:has(img[src]:not([src=""])) span {
  display: none;
}

.testimonial__meta {
  min-width: 0;
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 0.15rem;
}

.stars {
  color: #c9a227;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin: 0;
}

.testimonial__quote {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ---------- CTA FINAL ---------- */
.footer-cta {
  text-align: center;
  padding-bottom: 3rem;
}

.footer-cta__box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

.footer-cta__urgency {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.footer-cta__timer {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2rem);
  letter-spacing: 0.15em;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.footer-cta__copy {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  max-width: 26rem;
  margin-inline: auto;
}

.site-footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
