/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:      #C0572A;
  --red-dark: #9B3F18;
  --red-soft: #fdf3ee;
  --gold:     #C49A3C;
  --dark:     #1C1917;
  --gray:     #78716C;
  --light:    #FAF6F1;
  --white:    #FFFDF9;
  --green-wa: #25d366;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(0,0,0,.07);
  --trans:    .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

h1,h2,h3 { font-family: 'Poppins', sans-serif; line-height: 1.2; font-weight: 700; }

img { display: block; width: 100%; object-fit: cover; }

a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.section-header p  { color: var(--gray); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  background: var(--red-soft);
  color: var(--red);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--trans);
}
.btn-primary  { background: var(--red); color: var(--white); }
.btn-primary:hover  { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover  { background: rgba(255,255,255,.12); }
.btn-whatsapp { background: var(--green-wa); color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5b; transform: translateY(-2px); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--trans), box-shadow var(--trans);
  padding: 20px 0;
}
.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  transition: opacity .2s ease;
}
.logo:hover { opacity: .85; }
.logo-img {
  height: 42px;
  width: auto;
  /* no header transparente o texto do SVG usa currentColor=branco */
  filter: brightness(0) invert(1);
  transition: filter .3s ease;
}
.header.scrolled .logo-img {
  filter: none;
}
.logo-img--footer {
  height: 38px;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.logo-icon { display: flex; align-items: center; }

.nav { display: flex; gap: 32px; }
.nav a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: color var(--trans);
}
.header.scrolled .nav a { color: var(--gray); }
.nav a:hover,
.header.scrolled .nav a:hover { color: var(--red); }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--white);
}
.header.scrolled .burger { color: var(--dark); }
.burger-icon { display: block; transition: var(--trans); }
.burger-close { display: none; }
.burger.open .burger-open  { display: none; }
.burger.open .burger-close { display: block; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 60%, transparent 100%),
    url('https://images.unsplash.com/photo-1513104890138-7c749659a591?w=1600&q=80') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 100px;
}

.hero-sub {
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title em { color: var(--gold); font-style: normal; }

.hero-desc {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ===== BADGES ===== */
.badges {
  background: var(--dark);
  padding: 32px 0;
}
.badges-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.badge-icon { display:flex; align-items:center; justify-content:center; width:48px; height:48px; background:rgba(255,255,255,.08); border-radius:12px; flex-shrink:0; color:var(--gold); }
.badge-item strong { display: block; font-size: .95rem; }
.badge-item p { color: rgba(255,255,255,.5); font-size: .82rem; }

/* ===== CARDÁPIO ===== */
.menu-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.tab {
  padding: 10px 22px;
  border-radius: 99px;
  border: 2px solid #e5e7eb;
  background: transparent;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--trans);
}
.tab:hover { border-color: var(--red); color: var(--red); }
.tab.active { background: var(--red); border-color: var(--red); color: var(--white); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.pizza-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
  border: 1px solid #f0eded;
}
.pizza-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
}
.pizza-card-img {
  height: 190px;
  background: #f3f0ec;
  overflow: hidden;
}
.pizza-card-img img { height: 100%; transition: transform .4s ease; }
.pizza-card:hover .pizza-card-img img { transform: scale(1.05); }

.pizza-card-body { padding: 18px; }
.pizza-card-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}
.tag-classica  { background: #fdf3ee; color: #9B3F18; }
.tag-especial  { background: #fefce8; color: #854d0e; }
.tag-doce      { background: #f0fdf4; color: #166534; }

.pizza-card-body h3 { font-size: 1.1rem; margin-bottom: 5px; }
.pizza-card-body p  { color: var(--gray); font-size: .85rem; margin-bottom: 14px; }


/* ===== NOSSA HISTÓRIA ===== */
.historia-section { background: var(--light); }

.historia-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.historia-img { position: relative; }
.historia-photo-frame {
  border-radius: 20px;
  overflow: hidden;
  height: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.historia-badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--red);
  color: var(--white);
  width: 96px; height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(192,57,43,.4);
}
.historia-badge-float strong { font-size: 1.5rem; font-family: 'Poppins', sans-serif; }
.historia-badge-float span   { font-size: .7rem; opacity: .85; }

.historia-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 20px; }
.historia-text p  { color: #4b5563; margin-bottom: 16px; font-size: .97rem; }

.historia-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
}
.stat strong { display: block; font-size: 2rem; font-family: 'Poppins', sans-serif; color: var(--red); }
.stat span   { font-size: .82rem; color: var(--gray); }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 600; color: #374151; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: .95rem;
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: none; min-height: 72px; max-height: 72px; overflow-y: auto; }


/* ===== CONTATO ===== */
.contato-section { background: var(--light); }

.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contato-info h2 { font-size: clamp(1.8rem,3.5vw,2.4rem); margin: 12px 0 28px; }

.contato-lista { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.contato-lista li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { display:flex; align-items:center; justify-content:center; width:40px; height:40px; background:var(--red-soft); border-radius:10px; flex-shrink:0; color:var(--red); margin-top:2px; }
.contato-lista strong { font-size: .85rem; color: var(--gray); font-family: 'Poppins', sans-serif; }
.contato-lista p { font-size: .97rem; color: var(--dark); margin-top: 2px; }

.mapa-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); height: 400px; }
.mapa-placeholder { height: 100%; }
.mapa-placeholder iframe { height: 100%; border-radius: 20px; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); padding: 56px 0 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand p { font-size: .78rem; color: rgba(255,255,255,.4); font-family: 'Poppins', sans-serif; margin: 0; }

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color var(--trans); }
.footer-nav a:hover { color: var(--white); }

.footer-wa {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green-wa);
  font-size: .9rem;
  font-weight: 600;
  transition: opacity var(--trans);
}
.footer-wa:hover { opacity: .8; }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,.25); font-size: .8rem; }

/* ===== WhatsApp FLUTUANTE ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--green-wa);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  z-index: 200;
  transition: transform var(--trans), box-shadow var(--trans);
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--dark);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: .9rem;
  z-index: 300;
  opacity: 0;
  transform: translateY(12px);
  transition: all .3s ease;
  pointer-events: none;
  max-width: 300px;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ===== CART BUTTON ===== */
.cart-btn {
  position: relative;
  background: none;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--trans);
}
.header.scrolled .cart-btn { color: var(--dark); border-color: #e5e7eb; }
.cart-btn:hover { border-color: var(--red); color: var(--red); }

.cart-count {
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--white);
  z-index: 500;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(0,0,0,.12);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid #f0eded;
}
.cart-header h3 { font-size: 1.3rem; }
.cart-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--gray);
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--trans);
}
.cart-close:hover { background: #f3f4f6; color: var(--dark); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--gray);
}
.cart-empty span { display: flex; justify-content: center; margin-bottom: 16px; color: #d1d5db; }
.cart-empty p { font-size: .95rem; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
  align-items: flex-start;
}
.cart-item-img {
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info strong { display: block; font-size: .95rem; margin-bottom: 3px; }
.cart-item-size { font-size: .8rem; color: var(--gray); margin-bottom: 8px; }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ci-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.ci-qty button {
  background: none;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--red);
  transition: background var(--trans);
}
.ci-qty button:hover { background: var(--red-soft); }
.ci-qty span { font-size: .9rem; font-weight: 600; min-width: 24px; text-align: center; }
.cart-item-remove {
  background: none;
  border: none;
  color: #d1d5db;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: color var(--trans);
}
.cart-item-remove:hover { color: var(--red); }
.cart-item-price { font-weight: 700; color: var(--red); font-size: .95rem; white-space: nowrap; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid #f0eded;
  background: var(--white);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 1rem;
}
.cart-total-row strong { font-size: 1.3rem; color: var(--red); font-family: 'Poppins', sans-serif; }
.cart-frete { font-size: .8rem; color: var(--gray); margin-bottom: 14px; min-height: 18px; }
.cart-checkout { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }

/* ===== SELETOR DE TAMANHO ===== */
.size-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 14px;
}
.size-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .15s ease;
  font-family: 'Poppins', sans-serif;
}
.size-btn:hover {
  border-color: var(--red);
  transform: translateY(-1px);
}
.size-btn.active {
  border-color: var(--red);
  background: var(--red-soft);
}
.size-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.size-btn.active .size-label { color: var(--red); }
.size-price {
  font-size: .68rem;
  color: var(--gray);
  font-weight: 500;
  line-height: 1;
}
.size-btn.active .size-price { color: var(--red); opacity: .8; }

.pizza-card-body .btn-pedir {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px;
  border-radius: 10px;
  background: var(--dark);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--trans), transform .15s ease;
}
.pizza-card-body .btn-pedir:hover { background: var(--red); transform: translateY(-1px); }

/* ===== MODAL CHECKOUT ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px) scale(.98);
  transition: transform .3s ease;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid #f0eded;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 2;
}
.modal-header h3 { font-size: 1.5rem; }
.modal-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--gray);
  padding: 6px 10px;
  border-radius: 8px;
  transition: var(--trans);
}
.modal-close:hover { background: #f3f4f6; }

.modal form { padding: 20px 28px 28px; display: flex; flex-direction: column; gap: 16px; }

.modal-resumo {
  background: var(--light);
  border-radius: 12px;
  padding: 16px;
  font-size: .88rem;
  margin-bottom: 4px;
}
.modal-resumo-title { font-weight: 700; font-size: .92rem; margin-bottom: 10px; display: block; }
.modal-resumo-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}
.modal-resumo-item:last-child { border-bottom: none; }
.modal-resumo-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-top: 10px;
  font-size: .95rem;
  color: var(--red);
}
.modal-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; margin-top: 4px; }

/* ===== PAGAMENTO CARDS ===== */
.pgto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pgto-opt { position: relative; }
.pgto-opt input[type="radio"] { display: none; }
.pgto-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray);
  background: #fff;
  transition: border-color .22s ease, background .22s ease, color .22s ease,
              transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease;
  text-align: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.pgto-card .pgto-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f4f6;
  transition: background .22s ease, transform .22s cubic-bezier(.34,1.56,.64,1);
}
.pgto-card .pgto-icon svg {
  color: var(--gray);
  transition: color .22s ease;
}
.pgto-card:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220,38,38,.12);
}
.pgto-card:hover .pgto-icon {
  background: var(--red-soft);
  transform: scale(1.1);
}
.pgto-card:hover .pgto-icon svg { color: var(--red); }
.pgto-card:active { transform: scale(.96); }

.pgto-opt input:checked + .pgto-card {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220,38,38,.15);
}
.pgto-opt input:checked + .pgto-card .pgto-icon {
  background: var(--red);
  transform: scale(1.08);
}
.pgto-opt input:checked + .pgto-card .pgto-icon svg { color: #fff; }

/* check badge no card selecionado */
.pgto-opt::after {
  content: '';
  position: absolute;
  top: 8px; right: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2,6 5,9 10,3'/%3E%3C/svg%3E") center/10px no-repeat;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.pgto-opt:has(input:checked)::after {
  opacity: 1;
  transform: scale(1);
}

/* ===== COMO FUNCIONA ===== */
.como-section { background: var(--dark); }
.como-section .section-header h2,
.como-section .section-header p { color: rgba(255,255,255,.9); }
.como-section .section-header p { color: rgba(255,255,255,.5); }
.como-grid {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}
.como-step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.como-num {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.como-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  margin: 0 auto 16px;
  color: var(--gold);
}
.como-step h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.como-step p  { color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.6; }
.como-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,.15), rgba(255,255,255,.05));
  flex-shrink: 0;
  position: relative;
}
.como-connector::after {
  content: '›';
  position: absolute;
  right: -6px;
  top: -10px;
  color: rgba(255,255,255,.2);
  font-size: 1.2rem;
}

/* ===== DEPOIMENTOS ===== */
.depoimentos-section { background: var(--light); }
.depo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.depo-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid #f0eded;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--trans), box-shadow var(--trans);
}
.depo-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.depo-card--featured {
  background: var(--red-soft);
  border-color: rgba(192,57,43,.15);
  box-shadow: 0 8px 32px rgba(192,57,43,.1);
}
.depo-card--featured .depo-stars { color: var(--red); }
.depo-card--featured .depo-avatar { background: var(--red); color: #fff; }
.depo-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.depo-card p { color: #374151; font-size: .92rem; line-height: 1.7; flex: 1; }
.depo-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.depo-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.depo-card--featured .depo-avatar { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); }
.depo-author strong { display: block; font-size: .88rem; font-weight: 600; }
.depo-author span { font-size: .78rem; color: var(--gray); }

/* ===== MODAL SUCESSO ===== */
.success-modal { max-width: 440px; }
.success-inner { padding: 40px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(34,197,94,.3);
  animation: pop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-inner h2 { font-size: 1.5rem; }
.success-sub { color: var(--gray); font-size: .92rem; margin-top: -4px; }
.success-order-id {
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 99px;
  font-family: 'Poppins', monospace;
  letter-spacing: .05em;
}
.success-steps {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  justify-content: center;
  margin: 8px 0;
}
.sstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  color: var(--gray);
  font-weight: 500;
}
.sstep.active { color: var(--red); }
.sstep-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #e5e7eb;
  border: 2px solid #e5e7eb;
}
.sstep.active .sstep-dot { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.sstep-line { flex: 1; height: 2px; background: #e5e7eb; min-width: 28px; margin-bottom: 14px; }
.success-status-badge {
  background: var(--red-soft);
  color: var(--red);
  padding: 6px 20px;
  border-radius: 99px;
  font-size: .88rem;
  font-weight: 700;
}
.success-status-desc {
  color: var(--gray);
  font-size: .85rem;
  margin-top: -4px;
}
.success-progress-track {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
}
.success-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--red), #e67e22);
  border-radius: 99px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}
.success-eta { color: var(--gray); font-size: .88rem; }
.success-eta strong { color: var(--dark); }

/* step done */
.sstep.done .sstep-dot { background: var(--red); border-color: var(--red); }
.sstep.done { color: var(--red); }

/* ===== FOOTER ADMIN LINK ===== */
.footer-admin-link {
  font-size: .78rem;
  color: rgba(255,255,255,.2);
  transition: color var(--trans);
}
.footer-admin-link:hover { color: rgba(255,255,255,.5); }

/* ===== ANIMAÇÃO DE ENTRADA ===== */
.anim-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.anim-in.visible { opacity: 1; transform: translateY(0); }

/* ===== PLAYFAIR DISPLAY ===== */
.hero-title { font-family: 'Playfair Display', Georgia, serif; }
.historia-text h2 { font-family: 'Playfair Display', Georgia, serif; }
.section-header h2 { font-family: 'Playfair Display', Georgia, serif; }

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .badges-grid { grid-template-columns: repeat(2,1fr); }
  .historia-inner { grid-template-columns: 1fr; gap: 48px; }
  .historia-photo-frame { height: 320px; }
  .historia-badge-float { right: 12px; bottom: -16px; }
  .contato-inner { grid-template-columns: 1fr; gap: 40px; }
  .mapa-wrap { height: 300px; }
  .depo-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .como-grid { flex-direction: column; align-items: center; }
  .como-connector { width: 1px; height: 32px; background: linear-gradient(to bottom, rgba(255,255,255,.15), rgba(255,255,255,.05)); }
  .como-connector::after { content: '↓'; right: auto; top: auto; left: -8px; bottom: -14px; }
}

@media (max-width: 700px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 24px; box-shadow: var(--shadow); gap: 18px; }
  .nav.open { display: flex; }
  .nav a { color: var(--dark) !important; font-size: 1rem; }
  .burger { display: flex; }
  .header { padding: 16px 0; }

  .hero-content { padding-top: 80px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; }

  .badges-grid { grid-template-columns: 1fr; gap: 18px; }
  .historia-stats { flex-direction: column; gap: 16px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .section { padding: 64px 0; }
  .modal form { padding: 16px 18px 24px; }
  .modal-header { padding: 18px 18px 14px; }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
}
