/* ============================================================
   FLASH PHOTO PERSONALIZADO — style.css
   Versão: 2.0  |  flashphotopersonalizado.com.br
   ============================================================ */

/* ── Variáveis ────────────────────────────────────────────── */
:root {
  --black:        #000000;
  --white:        #ffffff;
  --gray-dark:    #1a1a1a;
  --gray-medium:  #333333;
  --gray-light:   #f5f5f5;
  --border:       #e0e0e0;
  --gold:         #edb721;
  --green-wa:     #25D366;
  --transition:   all 0.3s ease;
  --radius:       8px;
  --shadow:       0 4px 20px rgba(0,0,0,.12);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a  { color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Container ────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Header ───────────────────────────────────────────────── */
.header {
  background: var(--black);
  color: var(--white);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.logo img {
  height: 52px;
  width: auto;
  border-radius: var(--radius);
  object-fit: contain;
  transition: var(--transition);
}
.logo:hover img { transform: scale(1.05); }
.logo-text h1 {
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.1;
}
.logo-text span {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: .7;
  font-weight: 600;
}

/* Nav */
.nav-menu {
  display: flex;
  gap: 28px;
}
.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

/* Header actions */
.header-actions { display: flex; gap: 18px; align-items: center; }
.search-box {
  display: flex;
  background: var(--white);
  border-radius: 25px;
  padding: 7px 18px;
}
.search-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 180px;
  color: var(--black);
  font-size: 14px;
}
.cart-icon {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-size: 22px;
  transition: var(--transition);
}
.cart-icon:hover { transform: scale(1.1); }
.cart-count {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--white);
  color: var(--black);
  border-radius: 50%;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: var(--white);
}

/* ── Page Header (banner interno) ─────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 100%);
  color: var(--white);
  padding: 50px 0;
  border-bottom: 4px solid var(--white);
  margin-bottom: 40px;
  text-align: center;
}
.page-header h1 {
  font-size: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
}
.page-header p { font-size: 17px; opacity: .9; }

/* ── Botões ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary  { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-primary:hover  { background: var(--gray-medium); }
.btn-outline  { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover  { background: var(--black); color: var(--white); }
.btn-white    { background: var(--white); color: var(--black); }
.btn-white:hover    { background: var(--gray-light); }
.btn-gold     { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-gold:hover     { background: #d4a017; }
.btn-wa       { background: var(--green-wa); color: var(--white); border-color: var(--green-wa); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--gray-dark) 60%, #2a2a2a 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="40" fill="rgba(255,255,255,.03)"/><circle cx="80" cy="80" r="50" fill="rgba(255,255,255,.02)"/></svg>') center/cover;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 52px; font-weight: 900; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 16px; line-height: 1.1; }
.hero p  { font-size: 18px; opacity: .9; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Grid de produtos / categorias ────────────────────────── */
.section { padding: 70px 0; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 34px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.section-title p { font-size: 16px; color: var(--gray-medium); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: var(--black);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img {
  width: 100%; height: 220px;
  object-fit: cover;
  background: var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-weight: 700; font-size: 15px; text-transform: uppercase; margin-bottom: 8px; letter-spacing: .5px; }
.product-price { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.product-price small { font-size: 13px; font-weight: 400; color: #666; display: block; }
.product-card .btn { width: 100%; text-align: center; margin-top: auto; }

/* Categories grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 30px 16px;
  background: var(--black); color: var(--white);
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  border: 2px solid var(--black);
}
.category-card:hover { background: var(--white); color: var(--black); border-color: var(--black); transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card .icon { font-size: 40px; margin-bottom: 12px; }
.category-card span { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }

/* ── Carrinho ─────────────────────────────────────────────── */
.cart-section { padding: 40px 0 80px; }
.cart-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; }
.cart-items {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 10px;
  overflow: hidden;
}
.cart-item {
  display: flex; gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: var(--transition);
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: var(--gray-light); }
.item-image {
  width: 110px; height: 110px;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
  overflow: hidden;
}
.item-image img { width: 100%; height: 100%; object-fit: cover; }
.item-info { flex: 1; }
.item-name  { font-weight: 700; font-size: 15px; text-transform: uppercase; margin-bottom: 8px; }
.item-price { font-size: 20px; font-weight: 800; }
.item-quantity { display: flex; align-items: center; gap: 10px; }
.item-quantity button {
  width: 34px; height: 34px;
  background: var(--black); color: var(--white);
  border: none; border-radius: 5px;
  font-size: 18px; transition: var(--transition);
}
.item-quantity button:hover { background: var(--gray-medium); }
.item-quantity span { font-weight: 700; min-width: 28px; text-align: center; font-size: 16px; }
.item-remove { color: #c00; font-size: 13px; text-decoration: underline; cursor: pointer; }
.item-remove:hover { color: #f00; }

/* Summary */
.cart-summary {
  background: var(--black); color: var(--white);
  padding: 28px;
  border-radius: 10px;
  height: fit-content;
  position: sticky; top: 100px;
}
.cart-summary h3 {
  font-size: 20px; margin-bottom: 22px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--white);
  padding-bottom: 14px;
}
.summary-row {
  display: flex; justify-content: space-between;
  margin-bottom: 12px; font-size: 15px;
}
.summary-total {
  display: flex; justify-content: space-between;
  margin-top: 18px; padding-top: 18px;
  border-top: 2px solid var(--white);
  font-size: 22px; font-weight: 800;
}
.btn-checkout {
  width: 100%;
  background: var(--white); color: var(--black);
  border: none; padding: 15px;
  font-weight: 800; text-transform: uppercase;
  font-size: 15px; margin-top: 18px;
  border-radius: 5px; letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-checkout:hover { background: var(--gray-light); transform: translateY(-2px); }
.security-info {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--gray-medium);
  font-size: 13px; opacity: .8;
}
.security-info p { margin-bottom: 6px; }

/* ── Notificação carrinho ─────────────────────────────────── */
.notification {
  position: fixed;
  bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--black); color: var(--white);
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  z-index: 9999;
  opacity: 0;
  transition: all .4s ease;
  white-space: nowrap;
}
.notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--black); color: var(--white);
  padding: 60px 0 24px;
  border-top: 4px solid var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  margin-bottom: 40px;
}
.footer-section h4 {
  font-size: 16px; margin-bottom: 22px;
  text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 2px solid var(--white);
  padding-bottom: 10px; font-weight: 700;
}
.footer-section li { margin-bottom: 10px; }
.footer-section a {
  color: var(--white); text-decoration: none;
  opacity: .85; transition: var(--transition);
}
.footer-section a:hover { opacity: 1; padding-left: 4px; }
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a {
  width: 44px; height: 44px;
  background: var(--white); color: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700; font-size: 15px;
  transition: var(--transition);
}
.social-links a:hover { transform: translateY(-4px) scale(1.1); box-shadow: 0 4px 14px rgba(255,255,255,.3); }
.footer-bottom {
  text-align: center;
  padding-top: 26px;
  border-top: 1px solid var(--gray-medium);
  font-size: 13px; opacity: .7;
}

/* ── WhatsApp flutuante ───────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; left: 28px;
  z-index: 1000;
  width: 60px; height: 60px;
  background: var(--green-wa); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.12); }

/* ── Contato ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 { font-size: 22px; margin-bottom: 20px; text-transform: uppercase; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 22px;
}
.contact-info-item .icon {
  width: 44px; height: 44px;
  background: var(--black); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-info-item h4 { font-weight: 700; margin-bottom: 4px; text-transform: uppercase; font-size: 14px; }
.contact-info-item a { text-decoration: none; color: var(--black); transition: var(--transition); }
.contact-info-item a:hover { color: var(--gray-medium); }

.contact-form {
  background: var(--gray-light);
  padding: 32px;
  border-radius: 10px;
  border: 2px solid var(--black);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 7px;
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Responsivo ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    background: var(--black);
    padding: 18px;
    border-radius: 10px;
    gap: 14px;
  }
  .nav-menu.active { display: flex; }
  .menu-toggle { display: block; }
  .search-box input { width: 110px; }

  .hero h1 { font-size: 32px; }
  .page-header h1 { font-size: 28px; }

  .cart-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item { flex-wrap: wrap; }

  .contact-grid { grid-template-columns: 1fr; }

  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
