/*
Theme Name: Pequeno Encanto
Theme URI: https://ninjacoder.com.br/modelos/pequeno-encanto
Author: NinjaCoder.com.br
Author URI: https://ninjacoder.com.br
Description: Tema WordPress premium para enxovais, presentes e moda infantil.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: pequeno-encanto
*/

/* CSS Variables */
:root {
  --primary: #FFF8F0;
  --highlight: #F4B8B8;
  --support: #B8D8E8;
  --text: #3D3028;
  --border: #F3EAE0;
  --white: #FFFFFF;
  --font-title: 'Nunito', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-max: 1200px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Header & Nav */
.header {
  background-color: rgba(255, 248, 240, 0.96);
  border-bottom: 1px solid var(--border);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 26px;
  color: var(--highlight);
}

.logo span {
  color: var(--support);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
}

.nav-link:hover, .nav-link.active {
  color: var(--highlight);
}

.btn-soft {
  background-color: var(--highlight);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(244, 184, 184, 0.3);
}

.btn-soft:hover {
  background-color: var(--support);
  box-shadow: none;
}

/* Footer */
.footer {
  background-color: #FAF2E8;
  border-top: 1px solid var(--border);
  padding: 80px 0 40px 0;
  color: #7A695E;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  color: var(--highlight);
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--support);
}

.footer-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--highlight);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
}

.developer-link {
  color: var(--highlight);
  font-weight: bold;
}

/* Hero Section */
.hero {
  height: 75vh;
  margin-top: 70px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 248, 240, 0.9) 30%, rgba(255, 248, 240, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 46px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--highlight);
}

/* Fases Section */
.fases-section {
  padding: 80px 0;
  text-align: center;
}

.fases-title {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 45px;
}

.fases-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.fase-circle-card {
  width: 140px;
  text-align: center;
}

.fase-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px auto;
  border: 4px solid var(--white);
  box-shadow: 0 8px 15px rgba(61, 48, 40, 0.05);
  transition: var(--transition);
}

.fase-circle-card:hover .fase-circle {
  transform: scale(1.08);
  border-color: var(--highlight);
}

.fase-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
}

/* Presentes Prontos / Gift boxes */
.gifts-section {
  padding: 80px 0;
  background-color: var(--white);
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gift-card {
  background-color: var(--primary);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.gift-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.gift-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.gift-price {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--highlight);
  font-weight: bold;
  margin-top: auto;
  padding-top: 15px;
}

/* Feito com Amor no Brasil */
.made-with-love {
  padding: 100px 0;
  text-align: center;
  background-color: var(--primary);
}

/* Loja (3 columns layout) */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-top: 120px;
  margin-bottom: 80px;
}

.shop-sidebar {
  background-color: var(--white);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  height: fit-content;
}

.sidebar-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 15px;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}

.filter-select {
  width: 100%;
  padding: 10px;
  background-color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.kids-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.kids-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.kids-img-box {
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.kids-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kids-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.kids-price {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: bold;
  color: var(--highlight);
  margin-bottom: 15px;
}

.btn-soft-sm {
  background-color: var(--highlight);
  color: var(--white);
  font-family: var(--font-title);
  text-align: center;
  padding: 8px;
  font-weight: bold;
  border-radius: 20px;
  font-size: 13px;
}

.btn-soft-sm:hover {
  background-color: var(--support);
}

/* Detail page */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 120px;
  margin-bottom: 80px;
}

.safety-badge {
  background-color: rgba(184, 216, 232, 0.15);
  color: var(--text);
  border: 1px solid var(--support);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  margin: 20px 0;
  display: inline-block;
}

/* Size table */
.size-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.size-table td, .size-table th {
  padding: 12px 15px;
  border: 1px solid var(--border);
  font-size: 14px;
}

.size-table th {
  background-color: var(--primary);
  text-align: left;
}

/* Form simple */
.simple-form {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 12px;
  background-color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
}

.form-control:focus {
  outline: none;
  border-color: var(--highlight);
}

@media(max-width: 992px) {
  .gifts-grid, .shop-layout, .kids-grid, .detail-layout {
    grid-template-columns: 1fr;
  }
}
