/* =============================================================
   MARIA MODA & ACESSÓRIOS
   Arquivo: css/style.css
   - Mobile first
   - Layout organizado
   - Imagens totalmente adaptáveis
   ============================================================= */

/* ========== RESET BÁSICO ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #050308;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto; /* garante que a imagem seja adaptável */
  display: block;
}

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

/* ========== VARIÁVEIS DE TEMA ========== */
:root {
  --bg-main: #050308;
  --bg-alt: #0a0712;
  --bg-card: #0f0b18;

  --pink-main: #ff2e9b;
  --pink-soft: #ff6dbb;

  --text-main: #ffffff;
  --text-soft: #c7c7d3;

  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.7);

  --radius-xl: 1.6rem;
  --radius-lg: 1.1rem;
  --radius-md: 0.8rem;
  --radius-pill: 999px;

  --max-width: 1120px;
}

/* ========== CONTAINER GENÉRICO ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== BARRA SUPERIOR FIXA ========== */
.top-message {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: linear-gradient(90deg, var(--pink-main), var(--pink-soft));
  color: #050308;
}

/* ========== HEADER ========== */
.site-header {
  padding: 1.4rem 0 1.2rem;
  background: radial-gradient(
      circle at top,
      rgba(255, 46, 155, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, #050308, #050308);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

/* Logos e texto da marca */
.header-brand {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 640px;
}

.brand-logos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(5, 3, 8, 0.9);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.logo-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
  background: #000;
}

.logo-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.logo-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
}

.brand-text h1 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.brand-text p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* ========== NAVEGAÇÃO ========== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* Botão de menu mobile */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.45rem;
  border-radius: 0.5rem;
  background: rgba(5, 3, 8, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

/* Menu móvel */
.nav-links {
  position: absolute;
  right: 1.25rem;
  top: 70px;
  list-style: none;
  padding: 0.75rem 0.7rem;
  border-radius: 1rem;
  background: rgba(5, 3, 8, 0.98);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 190px;
}

.nav-links li a {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  border-radius: 0.65rem;
  color: var(--text-soft);
}

.nav-links li a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

/* Classe adicionada via JS para abrir o menu */
.nav-links.is-open {
  display: flex;
}

/* ========== HERO ========== */
.hero {
  padding: 0.8rem 0 2.2rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.4rem;
}

.hero-copy h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.hero-text {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 0.85rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.hero-support {
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* Imagem de destaque do hero (adaptável) */
.hero-visual {
  max-width: 420px;
}

.hero-look-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: #08060f;
  box-shadow: var(--shadow-soft);
}

.hero-look-img {
  width: 100%;
  height: auto; /* totalmente adaptável */
  object-fit: cover;
}

/* ========== BOTÕES ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(90deg, var(--pink-main), var(--pink-soft));
  color: #050308;
  box-shadow: 0 14px 34px rgba(255, 46, 155, 0.45);
}

.btn.ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn.outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.85);
}

/* ========== SESSÕES GENÉRICAS ========== */
.section {
  padding: 2.2rem 0 2.4rem;
}

.section.alt {
  background: radial-gradient(
      circle at top,
      rgba(255, 46, 155, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #050308, #050308);
}

.section-header {
  margin-bottom: 1.2rem;
}

.section-header h2 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.section-header p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.section-cta {
  margin-top: 0.9rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-soft);
  white-space: nowrap;
}

/* ========== LOOKS DA SEMANA ========== */
.looks-group {
  margin-bottom: 2rem;
}

.group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.looks-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.look-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: linear-gradient(145deg, #0f0b18, #050308);
  box-shadow: var(--shadow-soft);
}

.look-img {
  width: 100%;
  height: auto; /* imagem 100% adaptável */
  object-fit: cover;
}

.look-caption {
  font-size: 0.85rem;
  color: var(--text-soft);
  padding: 0.55rem 0.8rem 0.7rem;
}

/* ========== SOBRE ========== */
.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
  gap: 1.5rem;
}

.sobre-copy p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}

.sobre-extra {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.sobre-card {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
}

.sobre-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.sobre-card p {
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* ========== CATÁLOGOS ========== */
.catalogos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.catalogo-card {
  padding: 1.1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
}

.catalogo-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.catalogo-card p {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}

/* ========== CONTATO & LOCALIZAÇÃO ========== */
.contato-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr);
  gap: 1.4rem;
}

.contato-block {
  margin-bottom: 0.7rem;
}

.contato-block h3 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contato-block p {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.contato-whats {
  margin-top: 0.15rem;
}

.contato-map {
  min-height: 180px;
}

.map-placeholder {
  height: 100%;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}

.map-placeholder p {
  font-size: 0.88rem;
}

.map-placeholder span {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ========== RODAPÉ ========== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.5rem 0 1.7rem;
  background: #050308;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}

.footer-brand {
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-address {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-credit {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ========== RESPONSIVIDADE ========== */
@media (min-width: 640px) {
  .looks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sobre-extra {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalogos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .hero-grid {
    flex-direction: row;
    align-items: center;
  }

  .hero-visual {
    max-width: 360px;
  }

  .contato-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}

@media (min-width: 900px) {
  /* Menu desktop */
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 0.5rem;
  }

  .nav-links li a {
    font-size: 0.8rem;
    padding: 0.35rem 0.55rem;
    border-radius: var(--radius-pill);
  }

  .nav-links li a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-copy h2 {
    font-size: 1.8rem;
  }
}
