/* ==========================================================================
   Europeu Gold - Landing Page & Provador Virtual
   Aparência de Luxo, Alta Fidelidade Visual e Responsividade Mobile-First
   ========================================================================== */

:root {
  --gold-primary: #d4af37;
  --gold-light: #f9e29b;
  --gold-warm: #e5b967;
  --gold-dark: #9f751a;
  --gold-border: rgba(229, 185, 103, 0.45);
  --gold-border-glow: rgba(229, 185, 103, 0.75);
  --gold-gradient: linear-gradient(135deg, #fae39d 0%, #d4af37 45%, #a6791e 100%);
  --gold-btn-gradient: linear-gradient(135deg, #f2cd77 0%, #d4a737 48%, #af7e1b 100%);
  --gold-btn-hover: linear-gradient(135deg, #fae29a 0%, #e2b747 48%, #c58f25 100%);

  --card-bg: rgba(14, 15, 20, 0.82);
  --card-bg-mobile: rgba(12, 13, 17, 0.88);
  --text-main: #fcfcfc;
  --text-muted: #dcd7ce;
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: var(--font-sans);
  background-color: #0b0c0f;
  color: var(--text-main);
}

/* Container de Fundo com a Fachada da Loja */
.page-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: url('../../europeu_gold.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

/* Responsividade do Fundo em Telas Mobile/Retrato (Placa 100% visível) */
@media (max-width: 899px), (orientation: portrait) {
  .page-wrapper {
    background-color: #0b0c0f;
    background-image: 
      linear-gradient(to bottom, 
        rgba(11, 12, 15, 0.75) 0px, 
        rgba(11, 12, 15, 0.25) 50px, 
        rgba(11, 12, 15, 0) 95px, 
        rgba(11, 12, 15, 0) 65vw, 
        rgba(11, 12, 15, 0.85) 90vw, 
        #0b0c0f 102vw, 
        #0b0c0f 100%
      ),
      url('../../europeu_gold.jpg');
    background-size: 100% 100%, 100% auto;
    background-position: center top, center top;
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll, scroll;
  }

  .page-wrapper::before {
    display: none;
  }
}

/* Vinheta de Iluminação Noturna / Profundidade (Desktop) */
.page-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0) 30%, rgba(5, 6, 8, 0.45) 80%, rgba(5, 6, 8, 0.8) 100%),
              linear-gradient(to top, rgba(7, 8, 10, 0.75) 0%, rgba(7, 8, 10, 0.1) 40%, rgba(7, 8, 10, 0.3) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Header com Botões Redondos de Contato no Topo Esquerdo */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  pointer-events: auto;
}

.company-info-bar {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

/* Botões Redondos de Ícones (Local, WhatsApp, Instagram) */
.btn-round-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--gold-border);
  color: var(--gold-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 12px rgba(212, 175, 55, 0.15);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-round-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-light);
  stroke-width: 2;
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.btn-round-icon:hover {
  border-color: var(--gold-border-glow);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 20px rgba(212, 175, 55, 0.35);
  background: rgba(18, 20, 26, 0.94);
  color: #fff;
}

.btn-round-icon:hover svg {
  stroke: #fff;
  transform: scale(1.05);
}

.btn-round-icon:active {
  transform: scale(0.95);
}


/* ==========================================================================
   Card Flutuante - Provador Virtual (Conforme modelo_site.png)
   ========================================================================== */

.card-container {
  position: relative;
  z-index: 5;
  padding: 2rem;
  max-width: 530px;
  width: 100%;
}

.provador-card {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--gold-border);
  border-radius: 24px;
  padding: 1.75rem 1.65rem 1.6rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75),
              0 0 35px rgba(212, 175, 55, 0.15),
              inset 0 1px 1px rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Sutil reflexo metálico no topo do card */
.provador-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 223, 148, 0.65), transparent);
  pointer-events: none;
}

.provador-card:hover {
  border-color: var(--gold-border-glow);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.85),
              0 0 45px rgba(212, 175, 55, 0.22),
              inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* Linha Superior do Card: Wireframe Celular + Detalhes */
.card-content-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.4rem;
}

/* Ilustração de Celular com Escaneamento em Dourado */
.phone-wireframe-wrapper {
  position: relative;
  width: 90px;
  height: 135px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
}

/* Laser de Escaneamento que sobe e desce suavemente */
.scan-line {
  position: absolute;
  left: 14%;
  width: 72%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), #fff, var(--gold-light), transparent);
  box-shadow: 0 0 10px var(--gold-primary), 0 0 4px #fff;
  border-radius: 50%;
  animation: scanEffect 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes scanEffect {
  0% {
    top: 28%;
    opacity: 0.3;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    top: 75%;
    opacity: 0.3;
  }
}

/* Coluna de Informações (Título e Benefícios) */
.card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #fff7de 0%, #edd187 40%, #c99c37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 12px rgba(212, 175, 55, 0.25);
}

/* Lista de Vantagens com Ícones Dourados */
.card-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.25;
}

.benefit-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold-light);
  stroke-width: 1.9;
}

/* Botão de Ação Dourado Estilo Luxo */
.btn-cta-gold {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: var(--gold-btn-gradient);
  color: #121008;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(175, 126, 27, 0.45),
              0 2px 4px rgba(0, 0, 0, 0.3),
              inset 0 1px 1px rgba(255, 255, 255, 0.6);
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Efeito de Brilho / Shimmer no Botão */
.btn-cta-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  transition: 0.7s ease-in-out;
}

.btn-cta-gold:hover::before {
  left: 125%;
}

.btn-cta-gold:hover {
  background: var(--gold-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6),
              0 3px 6px rgba(0, 0, 0, 0.4),
              inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

.btn-cta-gold:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: 0 4px 14px rgba(175, 126, 27, 0.45);
}

.btn-cta-gold .btn-arrow {
  display: inline-block;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 800;
  transition: transform 0.25s ease;
}

.btn-cta-gold:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Responsividade: Prioridade Mobile (Mobile-First Polish)
   ========================================================================== */

/* Telas Maiores (Desktop / Notebook) */
@media (min-width: 900px) {
  .page-wrapper {
    justify-content: flex-end;
    align-items: flex-start;
  }

  .card-container {
    margin-left: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 0;
  }
}

/* Telas Médias (Tablets) */
@media (max-width: 899px) and (min-width: 580px) {
  .site-header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .page-wrapper {
    align-items: center;
  }

  .card-container {
    max-width: 500px;
    margin-bottom: 2rem;
    padding: 1rem;
  }
}

/* Telas Pequenas (Smartphones / Mobile Portrait) */
@media (max-width: 579px) {
  .site-header {
    justify-content: flex-start;
    align-items: center;
    padding: 0.65rem 0.85rem;
  }

  .company-info-bar {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.55rem;
  }

  .btn-round-icon {
    width: 38px;
    height: 38px;
  }

  .btn-round-icon svg {
    width: 19px;
    height: 19px;
  }

  .card-container {
    padding: 0.85rem;
    margin-bottom: 0.5rem;
    /* Ajuste para botões de navegação e safe areas em smartphones */
    padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  }

  .provador-card {
    background: var(--card-bg-mobile);
    padding: 1.35rem 1.25rem 1.25rem;
    border-radius: 20px;
    gap: 1.15rem;
  }

  .card-content-grid {
    gap: 1rem;
  }

  .phone-wireframe-wrapper {
    width: 75px;
    height: 115px;
  }

  .card-title {
    font-size: 1.45rem;
  }

  .benefit-item {
    font-size: 0.85rem;
    gap: 0.6rem;
  }

  .benefit-icon {
    width: 17px;
    height: 17px;
  }

  .btn-cta-gold {
    padding: 0.85rem 1rem;
    font-size: 0.98rem;
  }
}

/* Smartphones Muito Estreitos (<= 375px) */
@media (max-width: 375px) {
  .card-container {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .provador-card {
    padding: 1.15rem 1rem 1.1rem;
    border-radius: 18px;
  }

  .phone-wireframe-wrapper {
    width: 65px;
    height: 100px;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .benefit-item {
    font-size: 0.8rem;
  }

  .btn-cta-gold {
    font-size: 0.92rem;
    padding: 0.8rem 0.9rem;
  }
}
