/*
Theme Name: NS Opportunities Minimal V3
Theme URI: https://nunesesales.com.br/
Author: OpenAI
Description: Tema claro e minimalista para página única com foco total no formulário.
Version: 1.2.1
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: ns-opportunities-minimal-v3
*/

:root{
  --bg:#f7f4f1;
  --text:#151515;
  --marsala:#7a2736;
  --marsala-dark:#5f1d2a;
  --gold:#c8a45e;
  --line:#e8ddd4;
  --container:1120px;
}

*{box-sizing:border-box}
html{margin-top:0!important;scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  line-height:1.6;
  background:linear-gradient(180deg,#faf7f4 0%,#f3eee8 100%);
}
a{color:inherit}
img{max-width:100%;height:auto}

.site-shell{min-height:100vh;padding:26px 16px 42px}
.site-wrap{max-width:var(--container);margin:0 auto}
.topbar,.bottom-actions{display:flex;justify-content:center}
.topbar{margin-bottom:18px}
.bottom-actions{margin-top:18px}

.back-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:0 22px;
  border-radius:999px;
  border:1px solid rgba(122,39,54,.18);
  background:#fff;
  color:var(--marsala-dark);
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  letter-spacing:.01em;
  box-shadow:0 8px 18px rgba(33,23,19,.05);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.back-button::before{
  content:"←";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:999px;
  background:rgba(122,39,54,.08);
  color:var(--marsala);
  font-size:14px;
  line-height:1;
}
.back-button:hover{
  transform:translateY(-1px);
  border-color:rgba(122,39,54,.32);
  box-shadow:0 12px 22px rgba(122,39,54,.08);
}

.minimal-plugin-area{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.minimal-plugin-area > *,
.minimal-plugin-area .ns-tc-wrapper{
  width:100%;
  max-width:1020px;
  margin-left:auto !important;
  margin-right:auto !important;
}

.minimal-plugin-area > *:first-child,
.minimal-plugin-area .ns-tc-wrapper:first-child{
  margin-top:0;
}

/* neutraliza caixas do tema antigo */
.main-card,.inner,.content-box,.clean-layout,.clean-inner,.clean-content{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:0 !important;
  overflow:visible !important;
}
.main-card::before,.main-card::after{display:none !important}

/* pequenos ajustes para o plugin respirar sem criar um bloco extra do tema */
.minimal-plugin-area .ns-tc-wrapper{
  margin:0;
}

/* reforço de centralização para conteúdo do editor */
.minimal-plugin-area p,
.minimal-plugin-area .wp-block-shortcode,
.minimal-plugin-area .wp-block-group,
.minimal-plugin-area .wp-block-post-content,
.minimal-plugin-area .entry-content{
  width:100%;
  margin-left:auto;
  margin-right:auto;
}

@media (max-width:768px){
  .site-shell{padding:18px 14px 30px}
  .topbar{margin-bottom:14px}
  .bottom-actions{margin-top:14px}
  .back-button{width:100%;max-width:320px}
}
