/* Frutilla Buffet — landing page
   Paleta: vermelho morango #E8173F · grafite #2E3A44 · rosa claro #F7ECEC · branco
   Fonte: Montserrat (variável, local) */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --vermelho: #E8173F;
  --grafite: #2E3A44;
  --rosa: #F7ECEC;
  --branco: #FFFFFF;
  --grafite-claro: #55636F;
  --sombra: 0 18px 50px rgba(46, 58, 68, .14);
  --raio: 18px;
  --largura: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  color: var(--grafite);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(100% - 48px, var(--largura)); margin-inline: auto; }

/* ---------- topo fixo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(46, 58, 68, .96);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--vermelho);
}
.topo .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 74px;
}
.topo img { height: 38px; filter: brightness(0) invert(1); }
.topo nav { display: flex; gap: 26px; align-items: center; }
.topo nav a {
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 600;
  letter-spacing: .2px; opacity: .85;
}
.topo nav a:hover { opacity: 1; color: #fff; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--vermelho); color: #fff; border: 0; cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 800; letter-spacing: .2px;
  padding: 16px 30px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 26px rgba(232, 23, 63, .32);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(232, 23, 63, .4); }
.btn.pequeno { font-size: 14px; padding: 11px 20px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff;
  background: var(--grafite) url("img/foto-01.jpg") center/cover no-repeat;
  min-height: min(78vh, 760px); display: flex; align-items: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(22,28,33,.94) 0%, rgba(22,28,33,.78) 45%, rgba(22,28,33,.30) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding: 90px 0; }
.hero .selo {
  display: inline-block; background: var(--vermelho); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 62px); line-height: 1.05; font-weight: 800;
  margin: 0 0 20px; letter-spacing: -.8px; max-width: 15ch;
}
.hero h1 em { font-style: normal; color: #FF5C78; }
.hero p.sub { font-size: clamp(16px, 1.6vw, 20px); max-width: 46ch; color: #E6E9EC; margin: 0 0 32px; }
.hero .acoes { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero .prova {
  display: flex; gap: 34px; flex-wrap: wrap; margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px;
}
.hero .prova div strong { display: block; font-size: 26px; font-weight: 800; }
.hero .prova div span { font-size: 13px; color: #C9D0D6; letter-spacing: .3px; }

/* ---------- seções ---------- */
section { padding: 84px 0; }
section.alt { background: var(--rosa); }

.cabecalho { max-width: 720px; margin-bottom: 44px; }
.cabecalho .kicker {
  font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--vermelho); margin-bottom: 12px;
}
.cabecalho h2 {
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 14px;
  font-weight: 800; letter-spacing: -.5px;
}
.cabecalho p { margin: 0; color: var(--grafite-claro); font-size: 17px; }

/* ---------- buffet móvel ---------- */
/* ---------- ambientes (Serviço de Buffet) ---------- */
.ambientes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ambiente {
  position: relative; display: block; overflow: hidden;
  border-radius: 18px; aspect-ratio: 4 / 3; text-decoration: none;
  color: #fff; box-shadow: 0 14px 34px rgba(46,58,68,.14);
}
.ambiente img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.ambiente:hover img { transform: scale(1.06); }
.ambiente::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(18,23,28,.94) 0%, rgba(18,23,28,.55) 38%, rgba(18,23,28,.08) 72%);
}
.ambiente-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 2; }
.ambiente h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.ambiente p { margin: 0; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.84); }
.nota-ambientes { margin-top: 20px; font-size: 12.5px; color: var(--grafite-claro); }
.nota-ambientes a { color: var(--vermelho); font-weight: 700; }
.local .ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--rosa); color: var(--vermelho);
  display: grid; place-items: center; font-size: 20px;
}

/* ---------- pacotes ---------- */
.pacotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pacote {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(46,58,68,.13);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.pacote:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(46,58,68,.18); }
.pacote-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #E9E2E2; }
.pacote-img img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.pacote:hover .pacote-img img { transform: scale(1.05); }
.pacote-img .tag { position: absolute; top: 14px; left: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.pacote-corpo { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pacote-corpo h3 { margin: 0 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -.4px; }
.pacote-corpo p { margin: 0 0 18px; color: var(--grafite-claro); font-size: 15px; flex: 1; line-height: 1.55; }
.pacote-link {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 18px; border-radius: 999px;
  background: var(--vermelho); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 800; letter-spacing: .2px;
  transition: background .18s, transform .12s, box-shadow .18s;
  box-shadow: 0 8px 20px rgba(232,23,63,.22);
}
.pacote-link:hover { background: var(--vermelho-esc, #C41136); box-shadow: 0 10px 26px rgba(232,23,63,.3); }
.pacote-link:active { transform: scale(.98); }
.pacote-link span { transition: transform .18s; }
.pacote-link:hover span { transform: translateX(3px); }
.pacote .tag {
  display: inline-block;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase;
  color: #fff; background: var(--vermelho);
  padding: 6px 11px; border-radius: 999px;
}
.nota { margin-top: 22px; font-size: 13px; color: var(--grafite-claro); }
.nota-img { margin: 14px 0 0; font-size: 11px; letter-spacing: .2px; color: var(--grafite-claro); opacity: .55; }

/* ---------- galeria ---------- */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.galeria img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 14px;
  aspect-ratio: 4 / 5;
}
.galeria img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1.25; }

/* ---------- depoimentos ---------- */
.depoimentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.depoimento {
  background: #fff; border-radius: var(--raio); padding: 28px;
  box-shadow: var(--sombra); position: relative;
}
.depoimento::before {
  content: "“"; position: absolute; top: 6px; left: 20px;
  font-size: 64px; line-height: 1; color: var(--vermelho); opacity: .22;
  font-weight: 800;
}
.depoimento p { margin: 14px 0 0; font-size: 16px; font-weight: 600; }
.depoimento span { display: block; margin-top: 16px; font-size: 12px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--grafite-claro); }

/* ---------- como funciona ---------- */
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: p; }
.passo { background: #fff; border-radius: var(--raio); padding: 30px 26px; }
.passo::before {
  counter-increment: p; content: counter(p);
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--vermelho); color: #fff;
  font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.passo h3 { margin: 0 0 8px; font-size: 18px; }
.passo p { margin: 0; color: var(--grafite-claro); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid rgba(46,58,68,.14); padding: 20px 0;
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--vermelho); font-size: 24px; font-weight: 800; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--grafite-claro); font-size: 15px; }

/* ---------- formulário ---------- */
.form-secao { background: var(--grafite); color: #fff; }
.form-secao .cabecalho h2 { color: #fff; }
.form-secao .cabecalho p { color: #C9D0D6; }
.form-secao .kicker { color: #FF5C78; }

.formulario {
  background: #fff; color: var(--grafite); border-radius: 24px;
  padding: 38px; box-shadow: 0 30px 70px rgba(0,0,0,.28);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px;
}
.campo { display: flex; flex-direction: column; gap: 7px; }
.campo.largo { grid-column: 1 / -1; }
.campo label { font-size: 13px; font-weight: 700; letter-spacing: .2px; }
.campo input, .campo select {
  font-family: inherit; font-size: 15px; color: var(--grafite);
  padding: 13px 14px; border: 1.5px solid rgba(46,58,68,.2);
  border-radius: 12px; background: #fff; width: 100%;
}
.campo input:focus, .campo select:focus {
  outline: none; border-color: var(--vermelho);
  box-shadow: 0 0 0 4px rgba(232,23,63,.12);
}
.formulario .btn { grid-column: 1 / -1; margin-top: 8px; width: 100%; }
.formulario small { grid-column: 1 / -1; color: var(--grafite-claro); font-size: 12px; }

/* ---------- rodapé ---------- */
footer { background: #232B33; color: #C9D0D6; padding: 56px 0 34px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; margin: 0 0 14px; }
footer a { color: #C9D0D6; text-decoration: none; }
footer a:hover { color: #fff; }
footer .logo { height: 42px; filter: brightness(0) invert(1); margin-bottom: 16px; }
footer .base {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px;
}

/* ---------- whatsapp flutuante ---------- */
.zap {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  background: #25D366; color: #fff; text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 999px; font-weight: 800; font-size: 15px;
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .ambientes, .pacotes, .passos, .depoimentos { grid-template-columns: 1fr 1fr; }
  .galeria { grid-template-columns: 1fr 1fr; }
  .galeria img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; }
  .formulario { grid-template-columns: 1fr; padding: 26px; }
  footer .cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .topo nav { display: none; }
  .ambientes, .pacotes, .passos, .depoimentos { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero .wrap { padding: 64px 0; }
  .zap span { display: none; }
  .zap { padding: 16px; }
}

/* ---------- CTA para o formulário dinâmico ---------- */
.cta-orcamento { text-align: left; margin: 4px 0 0; }
.cta-orcamento .btn { display: inline-block; }
.cta-orcamento .cta-nota { font-size: 12.5px; margin: 16px 0 0; color: #8A97A1; }

/* ---------- carrossel no celular (ambientes e pacotes) ---------- */
@media (max-width: 760px) {
  .ambientes, .pacotes {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 14px;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    margin-inline: -22px; padding: 4px 22px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ambientes::-webkit-scrollbar, .pacotes::-webkit-scrollbar { display: none; }
  .ambiente { flex: 0 0 82%; scroll-snap-align: center; }
  .pacote { flex: 0 0 78%; scroll-snap-align: center; }
  .ambiente h3 { font-size: 18px; }
  .nota-ambientes { margin-top: 6px; }
}
