/* =========================================================
   TEMA: Contemporary Luxury (Ivory / Carbon / Champagne / Rose)
   Baseado na paleta que você mandou
   ========================================================= */

/* =========================================================
   1) VARIÁVEIS (TEMA)
   ========================================================= */
:root{
  /* Fundo geral e superfícies */
  --bg: #faf7f2;                /* ivory (fundo geral do site) */
  --white: #ffffff;

  /* Texto */
  --text: #111111;              /* ink */
  --text-2: #6a6f76;            /* slate */

  /* Destaques */
  --pink: #e5a8a0;              /* rose */
  --purple: #d6b889;            /* champagne (vira o “dourado” do tema) */

  /* Bordas / linhas */
  --nav-border: #1f1f1f;        /* carbon (para bordas fortes quando precisar) */
  --line: rgba(17,17,17,.12);   /* hairline */
  --soft: #f3f0ea;              /* leve bege pra hover/fundos sutis */

  /* Botões de ação (mantive verde, mas mais "elegante") */
  --green: #1fae55;

  /* Raios */
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 18px;

  /* Sombras (mais “soft luxury”) */
  --shadow-1: 0 10px 24px rgba(12,15,20,.08);
  --shadow-2: 0 14px 30px rgba(12,15,20,.10);
}

/* =========================================================
   2) RESET / BASE
   ========================================================= */
*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
}

body{
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
}

a{ color: inherit; }

/* =========================================================
   3) LAYOUT GLOBAL
   ========================================================= */
.site-main{
  padding: 24px;
}

/* =========================================================
   4) HEADER (luxury glass refinado)
   ========================================================= */

.site-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 16px 24px;
  color: #fff;

  /* Gradiente Carbon -> Night */
  background: linear-gradient(180deg, #1f1f1f, #0c0f14);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-1);
}

/* -------------------------
   Lado esquerdo (logo + nome)
   ------------------------- */

.header-left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo{
  width: 56px;
  height: 56px;
  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  /* Vidro sutil */
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border: 1px solid rgba(255,255,255,.22);
  overflow: hidden;
}

/* ✅ ADICIONADO: imagem real do logo + fallback */
.logo img{
  height: 44px;
  width: auto;
  display: block;
}
.logo-text{
  font-weight: 900;
  font-size: 22px;
  color: #fff;
}

.site-logo{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-name{
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.1;
  letter-spacing: .3px;

  overflow: hidden;
  text-overflow: ellipsis;
}

/* -------------------------
   Lado direito (redes sociais)
   ------------------------- */

.header-right .social-links{
  list-style: none;
  margin: 0;
  padding: 0;
 
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-right .social-links li{
  margin: 0;
  padding: 0;
}

/* Botões sociais (glass claro) */
.header-right .social-links a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 50px;
  height: 50px;
  font-size: 1.8rem;
  border-radius: 12px;
  text-decoration: none;

  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border: 1px solid rgba(255,255,255,.22);

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    background-color .15s ease;
}

/* Movimento comum */
.header-right .social-links a:hover{
  transform: translateY(-1px);
}

/* Hover com cor translúcida + glow */

/* Instagram */
.header-right .social-links a.instagram:hover{
  background: rgba(245, 5, 136, .18);
  box-shadow: 0 8px 22px rgba(245, 5, 136, .25);
}

/* WhatsApp */
.header-right .social-links a.whatsapp:hover{
  background: rgba(34, 197, 94, .18);
  box-shadow: 0 8px 22px rgba(34, 197, 94, .25);
}

/* Email */
.header-right .social-links a.email:hover{
  background: rgba(64, 129, 236, .18);
  box-shadow: 0 8px 22px rgba(64, 129, 236, .25);
}

/* Cores originais dos ícones (sempre visíveis) */
.header-right .social-links a.instagram i{ color: #F50588; }
.header-right .social-links a.whatsapp  i{ color: #22C55E; }
.header-right .social-links a.email     i{ color: #4081EC; }


/* =========================================================
   5) NAV MENU (3 botões iguais)
   ========================================================= */
.nav-menu{
  background: transparent;
  padding: 20px 24px;
}

/* 3 colunas sempre */
.nav-menu ul{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;

  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Botões luxury (pílula mais elegante) */
.nav-menu a{
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 64px;
  padding: 10px 10px;

  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;

  color: var(--text);
  background: linear-gradient(180deg, #fff, #f3f0ea);
  border: 1px solid var(--line);
  box-shadow: 0 4px 10px rgba(12,15,20,.06);

  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  text-align: center;
}

.nav-menu a:hover{
  transform: translateY(-1px);
  border-color: var(--purple);
  box-shadow: 0 8px 18px rgba(12,15,20,.12);
}

.nav-menu a.active{
  background: linear-gradient(180deg, #fff, #ece7de);
  border-color: var(--purple);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.8), 0 8px 18px rgba(214,184,137,.25);
}

/* =========================================================
   6) TEMPLATE PÚBLICO (cards)
   ========================================================= */
.site-content{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
}

.page-header{ margin-bottom: 16px; }

.page-title{
  margin: 0 0 8px 0;
  font-size: 2rem;
  letter-spacing: .2px;
}

.page-subtitle{
  margin: 0;
  color: var(--text-2);
  line-height: 1.6;
}

.page-body{
  color: var(--text-2);
  line-height: 1.7;
}

/* CTA */
.page-cta{ margin-top: 18px; }

.btn-cta{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .04em;

  color: #3b2a12;
  border: 1px solid var(--purple);
  background: linear-gradient(180deg, #fff5e5, #f9ead1);
  box-shadow: 0 8px 18px rgba(214,184,137,.35);

  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(214,184,137,.45);
}

/* =========================================================
   7) PLANOS
   ========================================================= */
.planos-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.plano-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-1);
}

.plano-tag{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .80rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;

  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  margin-bottom: 10px;
  opacity: .9;
}

.plano-card h3{
  margin: 8px 0 10px 0;
  font-size: 1.25rem;
  color: var(--text);
}

.plano-card p{
  margin: 10px 0;
  color: var(--text-2);
  line-height: 1.5;
}

.plano-card ul{
  margin: 12px 0 16px 0;
  padding-left: 18px;
  color: var(--text-2);
}

.plano-card li{ margin: 6px 0; }

.btn-plano{
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .04em;

  color: #3b2a12;
  border: 1px solid var(--purple);
  background: linear-gradient(180deg, #fff5e5, #f9ead1);
  box-shadow: 0 8px 18px rgba(214,184,137,.35);

  transition: transform .12s ease, box-shadow .12s ease;
  cursor: pointer;
}
.btn-plano:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(214,184,137,.45);
}

/* Destaque: borda “champagne” + leve glow */
.plano-card.destaque{
  border-color: var(--purple);
  box-shadow: 0 14px 30px rgba(214,184,137,.18), var(--shadow-1);
}

/* =========================================================
   8) CONTATO
   ========================================================= */
.contato-layout{
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-areas: "content side";
  gap: 24px;
  margin-top: 16px;
  align-items: start;
}

.contato-left{ grid-area: content; }
.contato-side{ grid-area: side; }

/* evita card duplo no contato */
.site-content .contato-main{
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.contato-titulo{
  margin-top: 0;
  font-size: 1.4rem;
  color: var(--text);
}

.contato-texto{
  margin: 12px 0;
  color: var(--text-2);
  line-height: 1.6;
}

.contato-side{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contato-foto{
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 14px 30px rgba(12,15,20,.10);
}

.btn-verde{
  display: block;
  width: 100%;
  max-width: 260px;
  text-align: center;
  padding: 14px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;

  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 22px rgba(31,174,85,.20);

  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.btn-verde:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(31,174,85,.26);
  opacity: .96;
}

.btn-instagram{
  display: block;
  width: 100%;
  max-width: 260px;
  text-align: center;

  padding: 14px 16px;
  border-radius: 999px;
  text-decoration: none;

  font-weight: 900;
  letter-spacing: .3px;
  color: #ffffff;

  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );

  border: none;
  box-shadow: 0 10px 22px rgba(214, 41, 118, .35);

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    opacity .15s ease;
}

.btn-instagram:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(214, 41, 118, .45);
  opacity: .97;
}

/* coluna conteúdo do contato */
.contato-left{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.contato-left hr{
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}

.contato-left h3{
  margin: 6px 0 0;
  color: var(--text);
}

.contato-left p,
.contato-left ul{
  margin: 0;
  color: var(--text-2);
  line-height: 1.7;
}

/* =========================================================
   9) PAINEL - VALORES DOS PLANOS (LEGADO)
   ========================================================= */
.valores-form{ margin-top: 10px; }

.valores-grid-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 28px;
  align-items: start;
  margin-top: 14px;
}

.valores-card{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 6px;
}

.valores-card-titulo{
  margin: 0 0 6px 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  opacity: .9;
}

.valores-linha{
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 12px;
}

.valores-label{
  font-weight: 800;
  color: var(--text);
}

.valores-input{
  width: 100%;
  max-width: 180px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: var(--bg);
  font-weight: 700;
}

.valores-input:focus{
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(214,184,137,.18);
}

.valores-acoes{ margin-top: 18px; }

.msg-ok{
  margin-top: 12px;
  font-weight: 900;
  color: #16a34a;
}

.msg-erro{
  margin-top: 12px;
  font-weight: 900;
  color: #dc2626;
}

/* =========================================================
   10) FOOTER
   ========================================================= */
.site-footer{
  background: linear-gradient(180deg, #ffffff, #f3f0ea);
  color: var(--text);
  padding: 18px 24px;

  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;

  border-top: 1px solid var(--line);
}

.site-footer p{
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  opacity: .85;
}

.footer-links{
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.footer-links a{
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
  opacity: .85;
  border-bottom: 1px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.footer-links a:hover{
  opacity: 1;
  border-color: var(--purple);
}

/* =========================================================
   11) RESPONSIVO (TABLET)
   ========================================================= */
@media (max-width: 900px){

  .planos-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .contato-layout{
    grid-template-columns: 1fr;
    grid-template-areas:
      "side"
      "content";
  }

  .contato-side{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .contato-foto{
    width: 180px;
    height: 180px;
  }

  .valores-grid-3{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .valores-linha{
    grid-template-columns: 150px 1fr;
    justify-content: center;
  }

  .valores-input{
    max-width: 220px;
  }
}

/* =========================================================
   12) RESPONSIVO (MOBILE)
   ========================================================= */
@media (max-width: 700px){

  .site-header{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .header-left{
    justify-content: center;
  }

  .site-name{
    white-space: normal;
  }

  .header-right .social-links{
    justify-content: center;
  }

  .nav-menu{
    padding: 10px 10px;
  }

  .nav-menu ul{
    gap: 10px;
  }

  .nav-menu a{
    min-height: 54px;
    font-size: 0.95rem;
    padding: 10px 8px;
  }

  .site-main{
    padding: 16px;
  }

  .site-content{
    padding: 20px;
  }

  .planos-grid{
    grid-template-columns: 1fr;
  }

  .plano-card{
    padding: 18px;
  }

  .contato-layout{
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "side"
      "content" !important;
  }

  .contato-side{
    flex-direction: column;
    align-items: center;
  }

  .contato-foto{
    width: 170px;
    height: 170px;
  }

  .btn-verde,
  .btn-instagram{
    max-width: 75%;
  }

  .valores-linha{
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .valores-input{
    max-width: 100%;
  }

  .site-footer{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .footer-links{
    justify-content: center;
  }
}

/* =========================================================
   LOGIN (inspirado no tema elegant_fashion)
   ========================================================= */

.login-page{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;

  background: #f6f2ea;
}

.login-wrap{
  width: 100%;
  max-width: 520px;
}

.login-card{
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 22px 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.login-brand{
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 18px;
  margin-bottom: 16px;

  background: linear-gradient(135deg, #0b0f14, #121a23);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.login-logo{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;

  font-weight: 900;
  font-size: 26px;
  letter-spacing: 1px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
}

.login-title h1{
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.login-title p{
  margin: 6px 0 0;
  font-size: 13px;
  opacity: .85;
}

.login-alert{
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 13px;
  margin: 10px 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fbfaf7;
}

.login-alert.success{
  border-color: rgba(34,197,94,0.28);
  background: rgba(34,197,94,0.10);
}

.login-alert.error{
  border-color: rgba(239,68,68,0.28);
  background: rgba(239,68,68,0.10);
}

.login-form{
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.login-label{
  font-size: 13px;
  color: rgba(15, 23, 42, 0.85);
  letter-spacing: 0.4px;
}

.login-input{
  width: 100%;
  border-radius: 16px;
  padding: 12px 14px;
  outline: none;

  background: #fbfaf7;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.login-input:focus{
  border-color: rgba(15, 23, 42, 0.30);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.login-btn{
  margin-top: 6px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 18px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.8px;

  background: #f3e5c9;
  color: #111827;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.login-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.login-links{
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 13px;
  color: rgba(15, 23, 42, 0.75);
}

.login-links a{
  text-decoration: none;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 700;
}

.login-links a:hover{
  text-decoration: underline;
}

.login-dot{
  opacity: .5;
}

.login-footer{
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.55);
}
