/* ════════════════════════════════════════════════
   COR ARDENS — style.css
   ════════════════════════════════════════════════
   Para alterar cores, fontes e espaçamentos,
   edite as variáveis CSS na seção :root abaixo.
   ════════════════════════════════════════════════ */


/* ──────────────────────────────────────────────
   VARIÁVEIS DE DESIGN
   Edite aqui para mudar a identidade visual
   ────────────────────────────────────────────── */
:root {
  /* Cores principais */
  --dark:       #0D1B2A;   /* fundo hero e seções escuras */
  --dark-deep:  #06101A;   /* rodapé */
  --gold:       #C9A84C;   /* dourado — acento principal */
  --gold-hover: #B8942F;   /* dourado escurecido para hover */
  --ember:      #C8401A;   /* brasa/fogo — acento secundário */
  --bg:         #FAFAF8;   /* fundo principal das seções claras */
  --bg-alt:     #F0EFE9;   /* fundo alternado (seções ímpares) */
  --text:       #1A1A2E;   /* cor do texto principal */
  --muted:      #6B7280;   /* texto secundário/detalhe */
  --white:      #FFFFFF;
  --green-wa:   #25D366;   /* verde WhatsApp */

  /* Tipografia */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-w:    1200px;
  --radius:   8px;
  --radius-sm: 4px;

  /* Transições */
  --transition: 0.3s ease;

  /* Sombra padrão */
  --shadow: 0 4px 24px rgba(13, 27, 42, 0.12);
}


/* ──────────────────────────────────────────────
   RESET E BASE
   ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }
ul, ol { list-style: none; }

/* Foco acessível (teclado) */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ──────────────────────────────────────────────
   LAYOUT UTILITÁRIOS
   ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: 5rem 0;
}


/* ──────────────────────────────────────────────
   TIPOGRAFIA
   ────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
p  { max-width: 65ch; }

/* Eyebrow: texto pequeno acima dos títulos de seção */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.eyebrow-light { color: var(--gold); }
.eyebrow-dark  { color: var(--gold); }


/* ──────────────────────────────────────────────
   BOTÕES
   ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

/* Dourado — CTA principal */
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
}

/* Contorno — hero secundário */
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Botão escuro — CTA section */
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  padding: 0.875rem 2.25rem;
  font-size: 1rem;
}
.btn-dark:hover {
  background: transparent;
  color: var(--dark);
}

/* Botão nav */
.btn-nav {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
}
.btn-nav:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

/* Botão pequeno — overlay do produto */
.btn-small {
  background: var(--gold);
  color: var(--dark);
  padding: 0.55rem 1.25rem;
  font-size: 0.82rem;
  border-color: var(--gold);
}
.btn-small:hover {
  background: var(--white);
  border-color: var(--white);
}


/* ──────────────────────────────────────────────
   SECTION HEADER (centralizado)
   ────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--muted);
  margin: 0 auto;
}
.section-title-light {
  color: var(--white);
}


/* ════════════════════════════════════════════════
   NAVEGAÇÃO
   ════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

/* Classe adicionada pelo JS ao rolar a página */
#navbar.scrolled {
  background: var(--dark);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

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

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: color var(--transition);
}
.nav-logo:hover { color: var(--gold); }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

/* Hambúrguer (visível apenas mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.25rem;
  position: relative;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Animação X quando menu está aberto */
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Brilho de brasa — a assinatura visual da marca */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 65% 55% at 50% 65%,
    rgba(200, 64, 26, 0.22) 0%,
    transparent 68%
  );
  animation: ember-glow 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ember-glow {
  0%,  100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

/* Respeita preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; opacity: 0.7; }
}

/* Marca d'água tipográfica "Lc 24,32" */
.hero-watermark {
  position: absolute;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(4rem, 18vw, 15rem);
  color: rgba(201, 168, 76, 0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  bottom: -0.5rem;
  right: -0.5rem;
  line-height: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--white);
  font-style: italic;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  margin: 0 auto 2.5rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ════════════════════════════════════════════════
   SOBRE
   ════════════════════════════════════════════════ */
.section-sobre { background: var(--bg); }

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-text h2 { margin-bottom: 1.25rem; }
.sobre-text p  { color: var(--muted); margin-bottom: 1rem; }
.sobre-text .btn { margin-top: 0.5rem; }

.sobre-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}


/* ════════════════════════════════════════════════
   MISSÃO (seção escura com citação bíblica)
   ════════════════════════════════════════════════ */
.section-missao { background: var(--dark); }

.missao-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.missao-quote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
  margin: 1.5rem 0;
}

.missao-quote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: normal;
  color: var(--gold);
  margin-top: 1rem;
  letter-spacing: 0.06em;
}

.missao-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 auto;
}


/* ════════════════════════════════════════════════
   PRODUTOS
   ════════════════════════════════════════════════ */
.section-produtos { background: var(--bg-alt); }

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.produto-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13, 27, 42, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}
.produto-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.produto-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 6;
}
.produto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.produto-card:hover .produto-img img {
  transform: scale(1.05);
}

/* Overlay com botão — aparece no hover */
.produto-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.produto-card:hover .produto-overlay {
  opacity: 1;
}

.produto-info {
  padding: 1.25rem;
}
.produto-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.produto-info p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  max-width: unset;
}
.produto-preco {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

/* Card de encomenda personalizada */
.produto-img-custom {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 5 / 6;
}
.custom-placeholder {
  text-align: center;
  color: var(--gold);
  padding: 2rem;
  pointer-events: none;
}
.custom-placeholder svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
}
.custom-placeholder span {
  display: block;
  font-size: 0.875rem;
  color: rgba(201, 168, 76, 0.65);
}

.produtos-cta {
  text-align: center;
}


/* ════════════════════════════════════════════════
   DIFERENCIAIS
   ════════════════════════════════════════════════ */
.section-diferenciais { background: var(--bg); }

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.diferencial-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(13, 27, 42, 0.07);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.diferencial-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.1);
}

.diferencial-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.diferencial-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.diferencial-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}
.diferencial-card p {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: unset;
}


/* ════════════════════════════════════════════════
   DEPOIMENTOS
   ════════════════════════════════════════════════ */
.section-depoimentos { background: var(--dark); }

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.depoimento-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}

/* Aspas decorativas */
.depoimento-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 0.25rem;
  left: 1.25rem;
  line-height: 1;
  pointer-events: none;
}

.depoimento-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.925rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: unset;
}

.depoimento-card cite { font-style: normal; }
.depoimento-card cite strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.depoimento-card cite span {
  font-size: 0.8rem;
  color: var(--gold);
}


/* ════════════════════════════════════════════════
   FAQ — ACCORDION NATIVO (sem JavaScript)
   Usa a tag <details> do HTML5
   ════════════════════════════════════════════════ */
.section-faq { background: var(--bg); }

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(13, 27, 42, 0.1);
}
.faq-item:first-child {
  border-top: 1px solid rgba(13, 27, 42, 0.1);
}

/* Remove o triângulo padrão do <details> */
.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  gap: 1rem;
  list-style: none;
  transition: color var(--transition);
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: var(--gold); }

/* Dourado quando aberto */
details[open] > .faq-summary { color: var(--gold); }

/* Seta gira quando aberto */
.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
details[open] .faq-icon { transform: rotate(180deg); }

/* Texto da resposta */
.faq-answer {
  padding-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.7;
  max-width: unset;
}


/* ════════════════════════════════════════════════
   CTA — Chamada para ação (fundo dourado)
   ════════════════════════════════════════════════ */
.section-cta {
  background: var(--gold);
}

.cta-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: var(--dark);
  margin-bottom: 1rem;
}

.cta-inner p {
  color: rgba(13, 27, 42, 0.7);
  margin: 0 auto 2rem;
}


/* ════════════════════════════════════════════════
   CONTATO
   ════════════════════════════════════════════════ */
.section-contato { background: var(--dark); }

.contato-inner { text-align: center; }

.contato-desc {
  color: rgba(255, 255, 255, 0.55);
  margin: 1rem auto 2.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}
.social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.07);
}
.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════
   RODAPÉ
   ════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark-deep);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
  max-width: unset;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
  max-width: unset;
}


/* ════════════════════════════════════════════════
   BOTÃO FLUTUANTE WHATSAPP
   ════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  color: var(--white);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
}


/* ════════════════════════════════════════════════
   ANIMAÇÕES DE SCROLL
   Elementos com .fade-in ficam invisíveis até
   entrarem na viewport (JS adiciona .visible)
   ════════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ════════════════════════════════════════════════
   RESPONSIVO — TABLET (≤ 1024px)
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .sobre-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sobre-img {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
}


/* ════════════════════════════════════════════════
   RESPONSIVO — MOBILE (≤ 768px)
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .section { padding: 3.5rem 0; }

  /* Nav — menu em tela cheia */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
  }
  .nav-links.open  { display: flex; }
  .nav-links a     { font-size: 1.2rem; }

  /* Hero */
  .hero-title       { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hero-subtitle    { font-size: 0.95rem; }
  .hero-actions     { flex-direction: column; align-items: center; }
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Redes sociais */
  .social-links     { flex-direction: column; align-items: center; }
  .social-link      { width: 100%; max-width: 300px; justify-content: center; }

  /* Rodapé */
  .footer-inner     { flex-direction: column; text-align: center; gap: 1.5rem; }
  .footer-nav       { justify-content: center; }
}


/* ════════════════════════════════════════════════
   RESPONSIVO — MOBILE PEQUENO (≤ 400px)
   ════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .container    { padding: 0 1rem; }
  .hero-title   { font-size: 2rem; }
  .missao-quote { font-size: 1.25rem; }
  .btn          { padding: 0.7rem 1.4rem; }
}
