/* ==========================================================================
   BUENO FOOD SAFETY — Design System
   Cores extraídas do logotipo oficial da marca:
     Navy   #0C2D69  (confirmado no arquivo do logo)
     Verde  #2C7939  (confirmado no arquivo do logo)
     Dourado #C6A15B (aproximado visualmente — ajustar se houver hex exato)
   ========================================================================== */

:root {
  /* Paleta institucional */
  --navy: #0C2D69;
  --navy-dark: #081F4A;
  --navy-light: #16407D;
  --green: #2C7939;
  --green-dark: #1F5A2A;
  --green-light: #5CA968;
  --gold: #C6A15B;
  --gold-light: #E4C98A;
  --bg: #F7F8F6;
  --bg-alt: #EFF2EE;
  --white: #FFFFFF;
  --text: #1F2933;
  --text-light: #52606D;
  --text-muted: #7B8794;
  --border: #E1E6E1;

  /* Tipografia */
  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  /* Espaçamento e forma */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(12, 45, 105, 0.08);
  --shadow-md: 0 8px 24px rgba(12, 45, 105, 0.12);
  --shadow-lg: 0 16px 48px rgba(12, 45, 105, 0.16);
  --container: 1180px;
  --header-height: 84px;
}

/* ---- Reset básico ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy); line-height: 1.25; font-weight: 600; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Foco visível para acessibilidade */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 12px 20px; z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Utilitários de seção ---- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); font-weight: 700; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); display: inline-block; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.section-lead { color: var(--text-light); font-size: 1.05rem; max-width: 680px; margin-bottom: 48px; }
.section-header { max-width: 720px; }
.section-header.center { margin: 0 auto 56px; text-align: center; }
.section-header.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---- Botões ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.98rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: var(--navy-dark); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 13px 28px; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); padding: 13px 28px; }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--whatsapp { background: #25D366; color: #fff; box-shadow: var(--shadow-sm); }
.btn--whatsapp:hover { background: #1EBE5A; transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  transition: box-shadow .25s ease, height .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); height: 72px; }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 28px; padding-left: 175px; }

/* Moldura do logo reaproveitada no rodapé (o cabeçalho agora usa o logo flutuante abaixo). */
.brand__logo-frame {
  display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0;
  box-sizing: border-box; height: 60px; width: 60px; border-radius: 10px;
}
.brand__logo { display: block; height: 148%; width: 148%; max-width: none; object-fit: cover; object-position: center; }

/* ==========================================================================
   LOGO FLUTUANTE (fixo no canto superior esquerdo, independente do cabeçalho)
   ========================================================================== */
.floating-logo {
  position: fixed; top: 14px; left: 24px; z-index: 1100;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  width: 126px; height: 126px; box-sizing: border-box;
  background: #fff; border-radius: 18px; padding: 6px;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-logo:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.floating-logo img { width: 150%; height: 150%; max-width: none; object-fit: cover; object-position: center; display: block; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px; font-weight: 500; font-size: 0.96rem; border-radius: var(--radius-sm);
  color: var(--text); position: relative; transition: color .2s ease;
}
.main-nav a:hover { color: var(--navy); }
.main-nav a.is-active { color: var(--navy); font-weight: 700; }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; background: var(--gold);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-btn--whatsapp {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: #25D366; color: #fff;
  box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.icon-btn--whatsapp:hover { transform: scale(1.08); }
.icon-btn--whatsapp svg { width: 22px; height: 22px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  margin-top: var(--header-height);
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 60%, #05122b 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(198,161,91,0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(44,121,57,0.25), transparent 45%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }

/* ==========================================================================
   HERO — CARROSSEL (slides que se movem lateralmente)
   ========================================================================== */
.hero-slider { position: relative; z-index: 1; overflow: hidden; }
.hero-slider__track {
  display: flex; transition: transform .65s cubic-bezier(.65,0,.35,1);
}
.hero-slide { flex: 0 0 100%; min-width: 100%; padding: 44px 0 52px; }
.hero-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff;
  cursor: pointer; backdrop-filter: blur(6px); transition: background .2s ease, transform .2s ease;
}
.hero-slider__arrow:hover { background: rgba(255,255,255,0.22); }
.hero-slider__arrow:active { transform: translateY(-50%) scale(0.94); }
.hero-slider__arrow svg { width: 20px; height: 20px; }
.hero-slider__arrow--prev { left: 20px; }
.hero-slider__arrow--next { right: 20px; }
.hero-slider__dots {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3;
  display: flex; justify-content: center; gap: 10px;
}
.hero-slider__dots button {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: 999px;
  background: rgba(255,255,255,0.35); cursor: pointer; transition: background .2s ease, width .25s ease;
}
.hero-slider__dots button.is-active { background: var(--gold); width: 30px; }
@media (max-width: 900px) {
  .hero-slider__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider__track { transition: none; }
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(198,161,91,0.4);
  border-radius: 999px; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--gold-light); margin-bottom: 14px;
}
.hero h1, .hero .hero__title { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 14px; line-height: 1.2; }
.hero p.lead { font-size: 1rem; color: rgba(255,255,255,0.86); max-width: 540px; margin-bottom: 20px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--font-heading); font-size: 1.3rem; color: var(--gold-light); }
.hero__trust span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.hero__visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3; max-height: 340px; border: 1px solid rgba(255,255,255,0.15);
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 40%, rgba(8,31,74,0.55) 100%);
}
/* Slides com imagem/arte final própria (já com texto e selos aplicados) —
   sem o filtro escuro e com a proporção real da imagem, para não cortar nada. */
.hero__visual--custom { aspect-ratio: 3/2; background: #fff; }
.hero__visual--custom::after { display: none; }
.hero__visual--custom img { object-fit: contain; }
/* Slides com foto já com moldura/identidade visual aplicada — sem o filtro escuro extra. */
.hero__visual--flat::after { display: none; }
.hero__badge {
  position: absolute; bottom: 20px; left: 20px; right: 20px; z-index: 2;
  background: rgba(255,255,255,0.95); border-radius: var(--radius-md); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-md);
}
.hero__badge .icon-circle { background: var(--green); color: #fff; }
.hero__badge strong { display: block; color: var(--navy); font-size: 0.95rem; }
.hero__badge span { font-size: 0.82rem; color: var(--text-light); }

/* Placeholder fotográfico (substituir por fotografia profissional real) */
.photo-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 24px;
  background: linear-gradient(150deg, var(--navy-light) 0%, var(--navy) 55%, var(--navy-dark) 100%);
  position: relative;
}
.photo-placeholder::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 14px);
}
.photo-placeholder svg { width: 25%; max-width: 84px; height: auto; color: var(--gold-light); position: relative; z-index: 1; opacity: 0.9; }
.photo-placeholder span { position: relative; z-index: 1; font-size: 0.78rem; color: rgba(255,255,255,0.55); max-width: 220px; line-height: 1.4; }
.photo-placeholder--light {
  background: linear-gradient(150deg, var(--bg-alt) 0%, #dfe6e0 100%);
}
.photo-placeholder--light svg { color: var(--green); opacity: 0.55; }
.photo-placeholder--light span { color: var(--text-muted); }

/* Hero de página interna (menor, sem visual grande) */
.page-hero {
  margin-top: var(--header-height);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 70%);
  color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(198,161,91,0.18), transparent 50%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-light); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 760px; }
.page-hero p.lead { color: rgba(255,255,255,0.85); max-width: 640px; margin-top: 16px; font-size: 1.05rem; }

/* ==========================================================================
   ÍCONES E CARDS
   ========================================================================== */
.icon-circle {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt); color: var(--navy); flex-shrink: 0;
}
.icon-circle svg { width: 26px; height: 26px; }
.icon-circle--green { background: rgba(44,121,57,0.1); color: var(--green); }
.icon-circle--gold { background: rgba(198,161,91,0.16); color: var(--gold); }

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border-radius: var(--radius-md); padding: 34px 28px; border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon-circle { margin-bottom: 20px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 0.96rem; margin-bottom: 16px; }
.card__link { color: var(--green); font-weight: 700; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.card__link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .card__link svg { transform: translateX(4px); }

/* Card de serviço com imagem no topo (página serviços) */
.service-block {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block:nth-child(even) .service-block__media { order: 2; }
.service-block__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.service-block__media img { width: 100%; height: 100%; object-fit: cover; }
.service-block__tag {
  display: inline-flex; padding: 6px 14px; border-radius: 999px; background: rgba(44,121,57,0.1);
  color: var(--green); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 16px;
}
.service-block h2 { font-size: 1.6rem; margin-bottom: 14px; }
.service-block__intro { color: var(--text-light); margin-bottom: 20px; }
.service-block__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.service-block__columns h4 { font-size: 0.9rem; color: var(--navy); margin-bottom: 10px; }
.check-list li, .risk-list li {
  display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--text-light);
  margin-bottom: 9px; line-height: 1.5;
}
.check-list svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.risk-list svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.service-block__meta { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 22px; }
.service-block__meta strong { color: var(--navy); }

/* ==========================================================================
   PROCESSO / TIMELINE
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process__step { position: relative; padding: 30px 20px 24px; background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border); text-align: center; }
.process__step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-heading);
  box-shadow: 0 0 0 6px var(--bg);
}
.process__step h4 { font-size: 1rem; margin: 10px 0 8px; }
.process__step p { font-size: 0.86rem; color: var(--text-light); }

/* ==========================================================================
   DEPOIMENTOS / FAQ
   ========================================================================== */
.testimonial-note {
  background: rgba(198,161,91,0.12); border: 1px dashed var(--gold);
  color: var(--navy); font-size: 0.85rem; padding: 12px 18px; border-radius: var(--radius-sm);
  margin-bottom: 40px; max-width: 680px;
}
.testimonial-card {
  background: #fff; border-radius: var(--radius-md); padding: 32px; border: 1px solid var(--border); position: relative;
}
.testimonial-card::before { content: "\201C"; font-family: Georgia, serif; font-size: 3.5rem; color: var(--gold-light); position: absolute; top: 6px; left: 20px; line-height: 1; }
.testimonial-card p { position: relative; z-index: 1; color: var(--text-light); font-style: italic; margin-bottom: 20px; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg-alt); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-heading);
}
.testimonial-card__author strong { display: block; font-size: 0.92rem; color: var(--navy); }
.testimonial-card__author span { font-size: 0.8rem; color: var(--text-muted); }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 22px 0; font-weight: 600; font-family: var(--font-heading); color: var(--navy);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--gold); flex-shrink: 0; transition: transform .2s ease; font-weight: 400;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 22px; color: var(--text-light); max-width: 760px; }

/* ==========================================================================
   CTA FAIXA
   ========================================================================== */
.cta-strip {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: #fff; border-radius: var(--radius-lg); padding: 52px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-strip h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,0.85); }
.cta-strip__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.82); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__brand .brand__logo-frame { height: 64px; width: 64px; margin-bottom: 18px; background: #fff; padding: 6px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.footer__brand p { font-size: 0.9rem; color: rgba(255,255,255,0.65); max-width: 320px; margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease;
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.footer__social svg { width: 17px; height: 17px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.03em; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.68); transition: color .2s ease; }
.site-footer ul li a:hover { color: var(--gold-light); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer__contact svg { width: 17px; height: 17px; color: var(--gold-light); flex-shrink: 0; margin-top: 2px; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; padding: 22px 0; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.footer__bottom a:hover { color: var(--gold-light); }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  animation: pulse-wa 2.6s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), var(--shadow-lg); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), var(--shadow-lg); }
}

/* ==========================================================================
   FORMULÁRIO DE CONTATO
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.field label .req { color: var(--green); }
.field input, .field select, .field textarea {
  padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; color: var(--text); background: #fff; transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field .error-msg { font-size: 0.8rem; color: #B3261E; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field.has-error .error-msg { display: block; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.checkbox-field input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; }
.checkbox-field label { font-size: 0.88rem; color: var(--text-light); }
.form-success {
  display: none; background: rgba(44,121,57,0.08); border: 1px solid var(--green); color: var(--green-dark);
  padding: 18px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 600; align-items: center; gap: 10px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

.form-error {
  display: none; background: rgba(190,60,60,0.08); border: 1px solid #c23b3b; color: #9c2f2f;
  padding: 18px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 600; align-items: center; gap: 10px;
}
.form-error.is-visible { display: flex; }
.form-error svg { width: 20px; height: 20px; flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.contact-info-card { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 40px; }
.contact-info-card h3 { color: #fff; margin-bottom: 24px; }
.contact-info-card ul li { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-card ul li svg { width: 20px; height: 20px; color: var(--gold-light); flex-shrink: 0; margin-top: 3px; }
.contact-info-card ul li strong { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 3px; }
.contact-info-card ul li span, .contact-info-card ul li a { font-size: 0.98rem; }
.contact-info-card ul li a:hover { color: var(--gold-light); }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); transition: box-shadow .25s ease, transform .25s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card__media { aspect-ratio: 16/10; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card__tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; color: var(--green); text-transform: uppercase; margin-bottom: 10px; }
.blog-card__body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.blog-card__body p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 18px; flex: 1; }
.blog-card__meta { font-size: 0.8rem; color: var(--text-muted); display: flex; justify-content: space-between; align-items: center; }

.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: 1.4rem; margin: 40px 0 16px; }
.article-body h3 { font-size: 1.15rem; margin: 28px 0 12px; }
.article-body p { margin-bottom: 18px; color: var(--text); }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; color: var(--text); }
.article-body li { margin-bottom: 8px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-meta { display: flex; gap: 18px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 30px; flex-wrap: wrap; }
.legal-note {
  background: var(--bg-alt); border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text-light); margin: 32px 0;
}
.article-cta { background: var(--bg-alt); border-radius: var(--radius-md); padding: 36px; text-align: center; margin-top: 48px; }
.related-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }

/* ==========================================================================
   404
   ========================================================================== */
.error-page {
  margin-top: var(--header-height); min-height: calc(100vh - var(--header-height));
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px;
  background: linear-gradient(160deg, var(--bg), var(--bg-alt));
}
.error-page__code { font-family: var(--font-heading); font-size: clamp(4rem, 12vw, 7rem); color: var(--navy); font-weight: 700; line-height: 1; }
.error-page__code span { color: var(--gold); }
.error-page h1 { margin: 16px 0; }
.error-page p { color: var(--text-light); max-width: 480px; margin: 0 auto 32px; }

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA (discretas)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .whatsapp-float { animation: none; }
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .related-articles { grid-template-columns: repeat(2, 1fr); }
  /* Com o logo 3x maior, o menu completo não cabe mais ao lado dele a partir daqui —
     passamos para o menu "hambúrguer" já em telas de tablet, não só de celular. */
  .main-nav { position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
    z-index: 1050;
    background: #fff; flex-direction: column; align-items: stretch; padding: 24px; gap: 4px;
    transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 16px; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-toggle { display: flex; position: relative; z-index: 1060; }
  .header-actions .btn--primary { display: none; }
  /* Em telas menores o logo flutuante fica isolado à esquerda; as ações (WhatsApp + menu)
     vão sempre para o canto superior direito, independente da largura da tela. */
  .site-header .container { padding-left: 110px; justify-content: flex-start; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-block__media { order: 0; }
  .service-block__columns { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; text-align: center; padding: 36px 24px; }
  .related-articles { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .process { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 80px; }
  .container { padding: 0 18px; }
  .floating-logo { width: 90px; height: 90px; top: 10px; left: 14px; padding: 4px; border-radius: 14px; }
  .site-header .container { padding-left: 120px; }
}
