/* ============================================================
   Italiamo Capicche — Design System (Manual de Marca oficial)
   Cores: vermelho #9a2011 | verde #3e682c | creme #f4e8e4 | café #2b2412
   Tipografia: Cinzel (display, tipo do logotipo) + EB Garamond (texto)
   Assinatura: filete tricolor (verde • vermelho). Sem dourado, sem brilhos.
   ============================================================ */

:root {
  --red:     #9a2011;
  --red-dk:  #7c190c;
  --green:   #3e682c;
  --green-dk:#345623;
  --cream:   #f4e8e4;   /* fundo oficial da marca */
  --cream-2: #ecdcd6;   /* seção alternada */
  --paper:   #fbf4f1;   /* cartões */
  --ink:     #2b2412;   /* texto */
  --ink-2:   #6a5f4f;   /* texto secundário */
  --line:    #e2d0c8;

  --shadow-sm: 0 2px 10px rgba(43,36,18,.06);
  --shadow-md: 0 12px 34px rgba(43,36,18,.12);
  --shadow-lg: 0 22px 60px rgba(43,36,18,.18);

  --display: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.62;
  font-size: 16.5px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.08; color: var(--ink); letter-spacing: -.02em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--display);
  font-size: .74rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--red);
}
.eyebrow.on-dark { color: #e7c9c2; }

.section { padding: 104px 0; }
.section.tight { padding: 68px 0; }
.section-head { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 18px 0 20px; font-weight: 700; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }

/* Filete tricolor (assinatura do logotipo) */
.tricolore { display: inline-flex; align-items: center; gap: 9px; margin: 16px auto 0; }
.tricolore::before, .tricolore::after { content: ""; width: 46px; height: 2px; display: block; }
.tricolore::before { background: var(--green); }
.tricolore::after { background: var(--red); }
.tricolore i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); display: block; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 9px; }
.ornament::before { content: ""; width: 46px; height: 2px; background: var(--green); }
.ornament::after { content: ""; width: 46px; height: 2px; background: var(--red); }
.ornament .txt, .ornament span { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); font-size: 0; }

/* Banda tricolor fina */
.checker {
  height: 4px;
  background: linear-gradient(90deg,
    var(--green) 0 33.33%, var(--cream) 33.33% 66.66%, var(--red) 66.66% 100%);
}

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: .84rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 16px 32px; border-radius: 3px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  text-align: center; justify-content: center;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(154,32,17,.30); }
.btn-primary:hover { background: var(--red-dk); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(154,32,17,.42); }
.btn-gold { background: var(--green); color: var(--cream); }        /* CTA secundário verde (bandeira) */
.btn-gold:hover { background: var(--green-dk); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-lg { padding: 17px 36px; font-size: .86rem; }
.btn-block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,232,228,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand svg.mark { width: 44px; height: 44px; flex: none; }
.brand .wm { display: flex; flex-direction: column; line-height: 1; }
.brand .wm b { font-family: var(--display); font-weight: 700; font-size: 1.24rem; letter-spacing: .16em; color: var(--ink); }
.brand .wm i { font-family: var(--display); font-style: normal; font-weight: 600; font-size: .58rem; letter-spacing: .46em; color: var(--red); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-family: var(--display); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); transition: color .2s; }
.nav-links a:hover { color: var(--red); }
.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(43,36,18,.92), rgba(43,36,18,.58) 52%, rgba(43,36,18,.32));
}
@media (max-width: 900px) { .hero-media::after { background: linear-gradient(180deg, rgba(43,36,18,.55), rgba(43,36,18,.82)); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; padding: 96px 0 104px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(244,232,228,.4); color: var(--cream);
  padding: 8px 16px; border-radius: 2px; font-family: var(--display);
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600;
}
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 5.8vw, 4.6rem); font-weight: 800; margin: 24px 0 0; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero h1 .accent { color: #f0c9bf; font-style: normal; }
.hero .lead { color: #f1e6e2; font-size: 1.18rem; margin-top: 22px; max-width: 560px; text-shadow: 0 1px 16px rgba(0,0,0,.35); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 32px; }
.hero-proof .p { display: flex; align-items: center; gap: 11px; }
.hero-proof .n { font-family: var(--display); font-weight: 700; font-size: 1.9rem; color: var(--cream); line-height: 1; }
.hero-proof small { display: block; font-size: .8rem; color: #cdbcb4; letter-spacing: .03em; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Card de reserva */
.reserva-card { background: var(--paper); color: var(--ink); border-radius: 4px; padding: 32px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--red); }
.reserva-card h3 { font-size: 1.7rem; color: var(--red); font-weight: 700; }
.reserva-card .sub { color: var(--ink-2); font-size: .98rem; margin: 6px 0 22px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-family: var(--display); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: 7px; }
.field input {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 2px;
  font-family: var(--body); font-size: 1.05rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(154,32,17,.1); }
.reserva-fine { text-align: center; font-size: .86rem; color: var(--ink-2); margin-top: 14px; }

/* ---------------- Grids / cartões ---------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card .ph { aspect-ratio: 4/3; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card:hover .ph img { transform: scale(1.04); }
.card .body { padding: 26px; }
.card .body h3 { font-size: 1.4rem; margin-bottom: 8px; font-weight: 700; }
.card .body p { color: var(--ink-2); font-size: 1rem; }

.feature { text-align: center; padding: 34px 24px; }
.feature .ic { width: 62px; height: 62px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(154,32,17,.08); color: var(--red); }
.feature .ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.28rem; margin-bottom: 8px; font-weight: 700; }
.feature p { color: var(--ink-2); font-size: .98rem; }

/* ---------------- Oferta aniversário ---------------- */
.oferta {
  background: linear-gradient(rgba(124,25,12,.90), rgba(124,25,12,.93)),
    url("../img/pizza-doce-aniversario-com-confetes.jpg") center/cover;
  color: var(--cream); text-align: center;
}
.oferta .eyebrow { color: #e7c9c2; }
.oferta h2 { color: var(--cream); font-size: clamp(2.1rem, 5.4vw, 3.6rem); margin: 18px 0 22px; font-weight: 700; }
.oferta h2 .free { color: #fff; font-style: italic; }
.oferta p.big { font-size: 1.28rem; color: #f1ddd7; max-width: 640px; margin: 0 auto 14px; }
.oferta .cond { display: inline-flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center; margin: 28px 0 32px; }
.oferta .cond span { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #f1ddd7; }
.oferta .cond svg { width: 19px; height: 19px; color: #e7c9c2; flex: none; }

/* ---------------- Split ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin: 16px 0 20px; font-weight: 700; }
.split-body p { color: var(--ink-2); margin-bottom: 16px; font-size: 1.08rem; }
.tick-list { list-style: none; margin: 22px 0 30px; }
.tick-list li { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 13px; color: var(--ink); }
.tick-list svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 4px; }

/* ---------------- Unidades ---------------- */
.unit-card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-sm); }
.unit-card .ph { aspect-ratio: 16/10; overflow: hidden; }
.unit-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.unit-card .body { padding: 30px; }
.unit-card h3 { font-size: 1.7rem; color: var(--red); margin-bottom: 6px; font-weight: 700; }
.unit-card .addr { color: var(--ink-2); font-size: 1rem; margin-bottom: 18px; }
.unit-meta { display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; }
.unit-meta .row { display: flex; gap: 11px; align-items: center; font-size: .98rem; color: var(--ink); }
.unit-meta svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.unit-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-family: var(--display); font-size: 1.16rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; color: var(--red); transition: transform .3s; flex: none; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 26px 24px; color: var(--ink-2); font-size: 1.05rem; }

/* ---------------- Faixa CTA ---------------- */
.cta-band { background: var(--green); color: var(--cream); text-align: center; }
.cta-band .eyebrow { color: #d7e0cd; }
.cta-band h2 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; font-weight: 700; }
.cta-band p { color: #e4ecdd; margin-bottom: 28px; font-size: 1.1rem; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #c9bcae; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.site-footer h4 { color: var(--cream); font-family: var(--display); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.site-footer a { color: #c9bcae; font-size: 1rem; display: block; margin-bottom: 9px; transition: color .2s; }
.site-footer a:hover { color: #e7c9c2; }
.footer-logo { background: var(--cream); border-radius: 6px; padding: 14px; width: 132px; margin-bottom: 18px; }
.footer-logo img { width: 100%; }
.footer-brand p { color: #a99a88; font-size: 1rem; max-width: 320px; }
.footer-note { display: flex; align-items: center; gap: 9px; font-size: .98rem; margin-bottom: 9px; color: #c9bcae; }
.footer-note svg { width: 17px; height: 17px; color: #8fae7a; flex: none; }
.footer-bottom { border-top: 1px solid rgba(244,232,228,.12); margin-top: 48px; padding-top: 24px; text-align: center; font-size: .88rem; color: #93867a; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--green); color: var(--cream); padding: 15px 26px; border-radius: 3px; box-shadow: var(--shadow-lg);
  font-size: 1rem; opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s; z-index: 90; max-width: 90vw;
}

/* ---------------- Reveal / crumb ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.crumb { font-size: .92rem; color: var(--ink-2); padding: 20px 0; font-family: var(--display); letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; }
.crumb a:hover { color: var(--red); }

/* ---------------- Responsivo ---------------- */
@media (max-width: 900px) {
  body { font-size: 18px; }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; padding: 64px 0 72px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.rev .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 22px 24px; gap: 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------------- Banner LGPD (instrumentação) ---------------- */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--ink); color: var(--cream); padding: 16px 20px; display: none; font-size: .9rem; line-height: 1.55; border-top: 3px solid var(--red); }
#cookie-banner .cb-wrap { max-width: 1100px; margin: 0 auto; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
#cookie-banner a { color: #f0c9bf; text-decoration: underline; }
#cookie-banner .cb-acts { display: flex; gap: 10px; }
#cookie-banner button { padding: 11px 18px; border-radius: 3px; cursor: pointer; font-family: var(--display); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border: 0; }
#cookie-recusar { border: 1.5px solid rgba(244,232,228,.4); background: transparent; color: var(--cream); }
#cookie-aceitar { background: var(--red); color: #fff; }

/* Página de conteúdo (política) */
.doc { max-width: 820px; margin: 0 auto; padding: 60px 0 40px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 8px; }
.doc .atualizado { color: var(--ink-2); font-size: .92rem; margin-bottom: 32px; }
.doc h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.doc p, .doc li { color: var(--ink-2); margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
