/* ============================================================
   ESTILO PRINCIPAL - naoquerosermae.com
   Altere as variáveis abaixo para mudar cores e fontes do site
   ============================================================ */

:root {
  --roxo-escuro: #4a1f5d;
  --roxo: #6b2c91;
  --roxo-claro: #a06cc2;
  --rosa-claro: #e8d5f2;
  --branco: #ffffff;
  --cinza-claro: #f7f3fa;
  --cinza-texto: #4a4a4a;
  --whatsapp: #25d366;
  --fonte-titulo: 'Playfair Display', Georgia, serif;
  --fonte-texto: 'Inter', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--fonte-texto);
  color: var(--cinza-texto);
  line-height: 1.7;
  background: var(--branco);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--roxo); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--roxo-escuro); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====================== HEADER ====================== */
.header {
  background: var(--branco);
  padding: 16px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 70px; }

.nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
.nav a { color: var(--roxo); font-weight: 500; font-size: 16px; }
.nav a:hover { color: var(--roxo-escuro); }

.menu-toggle { display: none; background: none; border: 0; font-size: 28px; color: var(--roxo); cursor: pointer; }

/* Botão WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 200;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* ====================== HERO ====================== */
.hero {
  position: relative;
  min-height: 70vh;
  background: linear-gradient(rgba(30,10,50,0.55), rgba(60,25,80,0.65)),
              url('../img/hero-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
}
.hero-content { max-width: 720px; padding: 60px 0; }
.hero h1 {
  font-family: var(--fonte-titulo);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero p { font-size: 1.15rem; margin-bottom: 32px; opacity: 0.95; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ====================== BOTÕES ====================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--roxo); color: white; }
.btn-primary:hover { background: var(--roxo-escuro); color: white; transform: translateY(-2px); }
.btn-outline { background: transparent; color: white; border-color: white; }
.btn-outline:hover { background: white; color: var(--roxo); }
.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-whatsapp:hover { background: #1ea952; color: white; }

/* ====================== SEÇÕES ====================== */
section { padding: 80px 0; }

.section-roxo {
  background: linear-gradient(135deg, var(--roxo-claro), var(--roxo));
  color: white;
}
.section-roxo h2 { color: white; }
.section-roxo p { color: rgba(255,255,255,0.95); }

.section-claro { background: var(--cinza-claro); }

h2 {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--roxo-escuro);
  margin-bottom: 24px;
  line-height: 1.2;
}
h3 { font-family: var(--fonte-titulo); color: var(--roxo-escuro); font-size: 1.4rem; margin-bottom: 12px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.card {
  background: white;
  padding: 36px 28px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(74,31,93,0.08);
  text-align: center;
  transition: 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(74,31,93,0.15); }
/* Ícones dos cards: SVGs desenhados direto no HTML (cor = var(--roxo)).
   Para trocar um ícone, edite o <svg> dentro de .card-icon na página. */
.card-icon {
  width: 70px; height: 70px;
  background: var(--rosa-claro);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--roxo);
  box-shadow: inset 0 0 0 1px rgba(107,44,145,0.10);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.card-icon svg { width: 34px; height: 34px; }
.card:hover .card-icon { background: var(--roxo); color: var(--branco); transform: scale(1.05); }

.section-img { border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,0.15); }

.cta-center { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-center h2 { margin-bottom: 16px; }
.cta-center p { font-size: 1.1rem; margin-bottom: 32px; }

/* ====================== PÁGINA INTERNA ====================== */
.page-header {
  background: linear-gradient(135deg, var(--roxo-escuro), var(--roxo));
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}
.page-header h1 {
  font-family: var(--fonte-titulo);
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: white;
  margin-bottom: 12px;
}
.page-header p { font-size: 1.1rem; opacity: 0.95; max-width: 700px; margin: 0 auto; }

.content-block { max-width: 860px; margin: 0 auto; }
.content-block p { margin-bottom: 18px; font-size: 1.05rem; }
.content-block h2 { margin-top: 40px; }

/* ====================== FAQ (acordeão) ====================== */
.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(74,31,93,0.06);
  overflow: hidden;
}
.faq-question {
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  color: var(--roxo-escuro);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.05rem;
  transition: background 0.3s;
}
.faq-question:hover { background: var(--cinza-claro); }
.faq-question::after { content: '+'; font-size: 1.8rem; color: var(--roxo); transition: 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 28px;
}
.faq-item.active .faq-answer { max-height: 400px; padding: 0 28px 22px; }

/* ====================== SEÇÃO / PÁGINA WHATSAPP ====================== */
.section-whatsapp { background: var(--cinza-claro); }
.wa-box {
  max-width: 860px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(74,31,93,0.12);
  border-top: 6px solid var(--whatsapp);
}
.wa-box h2 { margin-bottom: 18px; }
.wa-box p { font-size: 1.05rem; margin-bottom: 16px; }
.wa-icon {
  width: 84px; height: 84px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 22px rgba(37,211,102,0.35);
}
.wa-icon svg { width: 44px; height: 44px; fill: white; }
.wa-numero { font-size: 1.25rem; color: var(--roxo-escuro); }
.wa-numero a { color: var(--whatsapp); font-weight: 700; }
.wa-numero a:hover { color: #1ea952; }
.wa-botoes { justify-content: center; margin-top: 28px; }
/* botão "Ligar" usado sobre fundo branco */
.section-whatsapp .btn-outline { color: var(--roxo); border-color: var(--roxo); }
.section-whatsapp .btn-outline:hover { background: var(--roxo); color: white; }
.wa-obs { margin-top: 24px; font-size: 0.9rem; color: #777; }

/* ====================== FORMULÁRIO ====================== */
.form-wrap { max-width: 680px; margin: 0 auto; background: white; padding: 48px; border-radius: 16px; box-shadow: 0 10px 30px rgba(74,31,93,0.1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--roxo-escuro); }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d8c5e6;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cinza-claro);
  transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--roxo);
  background: white;
  box-shadow: 0 0 0 3px rgba(107,44,145,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-note { text-align: center; margin-top: 24px; color: #777; font-size: 0.9rem; }
.form-msg { padding: 14px; border-radius: 10px; margin-bottom: 20px; text-align: center; }
.form-msg.ok { background: #d4edda; color: #155724; }
.form-msg.err { background: #f8d7da; color: #721c24; }

/* ====================== FOOTER ====================== */
.footer {
  background: var(--roxo-escuro);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: white; font-family: var(--fonte-titulo); margin-bottom: 16px; font-size: 1.2rem; }
.footer p, .footer a { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.9; }
.footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ====================== RESPONSIVO ====================== */
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav ul {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; flex-direction: column; gap: 0;
    padding: 16px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .nav ul.open { display: flex; }
  .nav li { width: 100%; text-align: center; padding: 12px; }
  .hero { min-height: 60vh; }
  .form-wrap { padding: 28px 20px; }
  section { padding: 60px 0; }
  /* botão flutuante menor no celular para não cobrir os botões de ação */
  .whatsapp-float { width: 48px; height: 48px; bottom: 14px; right: 14px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .wa-box { padding: 40px 22px 46px; }
  .wa-botoes .btn { width: 100%; }
}
