:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --soft: #f3eee6;
  --text: #1f1b18;
  --muted: #6f665d;
  --line: #e5dccc;
  --gold: #b89762;
  --gold-dark: #8c6c3f;
  --dark: #181512;
  --dark-2: #24201c;
  --white: #fffaf2;
  --shadow: 0 24px 70px rgba(43, 34, 25, .12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--dark); color: white; padding: 10px; border-radius: 10px; z-index: 99; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 250, 247, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 151, 98, .18);
}
.header-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 168px; }
.nav { display: flex; gap: 22px; font-size: .94rem; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--gold-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-size: .96rem;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: white; box-shadow: 0 12px 30px rgba(140, 108, 63, .27); }
.btn-secondary { background: var(--dark); color: white; }
.btn-outline { border-color: var(--line); color: var(--dark); background: rgba(255,255,255,.55); }
.btn-full { width: 100%; }

section { padding: 86px 0; }
.section-soft { background: radial-gradient(circle at top left, rgba(184,151,98,.18), transparent 34%), var(--soft); }
.section-dark { background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: var(--white); }
.eyebrow { margin: 0 0 12px; color: var(--gold-dark); font-size: .82rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow.light { color: #e6c98f; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 18px; letter-spacing: -.035em; }
h1 { font-size: clamp(2.42rem, 6vw, 5rem); max-width: 850px; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.section-dark p { color: rgba(255, 250, 242, .78); }
.lead { font-size: 1.17rem; max-width: 720px; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.compact { max-width: 840px; margin-bottom: 30px; }

.hero { padding: 76px 0 92px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; gap: 52px; }
.authority-line { display: inline-flex; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; margin: 10px 0 26px; color: var(--gold-dark); font-weight: 800; font-size: .92rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.trust-list { display: flex; gap: 14px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.trust-list li { background: rgba(255,255,255,.62); border: 1px solid var(--line); padding: 10px 12px; border-radius: 999px; }
.hero-card { position: relative; border-radius: 34px; overflow: hidden; background: #221e1a; box-shadow: var(--shadow); isolation: isolate; }
.hero-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.floating-badge { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(24,21,18,.84); color: white; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); padding: 14px 16px; border-radius: 18px; font-weight: 750; }

.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.alert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mini-card, .service-card, .faq-card, .timeline article, .lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 15px 40px rgba(43, 34, 25, .06); }
.mini-card { padding: 24px; font-weight: 800; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { padding: 28px; }
.service-card span { color: var(--gold); font-weight: 900; letter-spacing: .08em; }
.service-card p { margin-bottom: 0; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-grid span, .value-grid span { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 12px 16px; font-weight: 750; color: var(--text); }

.authority-grid { display: grid; grid-template-columns: 420px minmax(0,1fr); gap: 54px; align-items: center; }
.authority-photo { border-radius: 30px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.authority-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.value-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.value-grid span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: var(--white); }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.timeline article { padding: 26px; position: relative; }
.timeline span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: white; font-weight: 900; margin-bottom: 18px; }
.timeline p { margin-bottom: 0; }

.education-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.faq-card { overflow: hidden; }
.faq-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.faq-card h3, .faq-card p { padding-inline: 20px; }
.faq-card h3 { padding-top: 20px; }
.faq-card p { padding-bottom: 20px; margin-bottom: 0; }

.lead-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.check-list { padding-left: 20px; color: var(--muted); }
.lead-form { padding: 28px; display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 7px; font-weight: 750; }
.lead-form input, .lead-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fffdfa;
  color: var(--text);
}
.lead-form input:focus, .lead-form select:focus { outline: 3px solid rgba(184,151,98,.25); border-color: var(--gold); }
.form-note { margin: 0; font-size: .86rem; }
.form-status { min-height: 24px; font-weight: 750; color: var(--gold-dark); }
.form-status.error { color: #a13737; }
.form-status.success { color: #2c6c44; }

.final-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.site-footer { padding: 56px 0 30px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 34px; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 10px; }
.site-footer p { margin: 7px 0; }
.legal-note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

.mobile-whatsapp { display: none; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 35; min-height: 52px; align-items: center; justify-content: center; background: #1f9d58; color: white; border-radius: 999px; text-decoration: none; font-weight: 900; box-shadow: 0 18px 40px rgba(31, 157, 88, .35); }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; background: var(--dark); color: white; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 16px; display: flex; gap: 14px; align-items: center; justify-content: space-between; box-shadow: 0 22px 60px rgba(0,0,0,.25); }
.cookie-banner p { color: rgba(255,255,255,.82); margin: 0; max-width: 760px; font-size: .9rem; }
.cookie-banner div { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cookie-banner a { color: #f1d69f; font-weight: 800; }
.cookie-banner button { border: 0; border-radius: 999px; padding: 10px 14px; font-weight: 900; background: var(--gold); color: white; cursor: pointer; }

.privacy-content { max-width: 860px; padding: 70px 0; }
.privacy-content h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.privacy-content h2 { font-size: 1.45rem; margin-top: 34px; }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero-grid, .two-col, .authority-grid, .lead-grid, .final-grid { grid-template-columns: 1fr; }
  .service-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .education-grid { grid-template-columns: repeat(2, 1fr); }
  .authority-photo { max-width: 520px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  section { padding: 60px 0; }
  .header-wrap { min-height: 68px; }
  .brand img { width: 136px; }
  .site-header .btn { display: none; }
  .hero { padding-top: 52px; }
  .hero-actions .btn { width: 100%; }
  .authority-line { border-radius: 16px; }
  .alert-grid, .service-grid, .timeline, .education-grid, .footer-grid { grid-template-columns: 1fr; }
  .faq-card.optional { display: none; }
  .lead-form { padding: 20px; border-radius: 20px; }
  .mobile-whatsapp { display: flex; }
  .cookie-banner { bottom: 78px; display: block; }
  .cookie-banner div { margin-top: 12px; }
}

/* Correção: garante que o aviso de cookies suma ao clicar em Entendi */
.cookie-banner[hidden] {
  display: none !important;
}

/* COOKIE_BANNER_FIX_R2_AGMARK
   CorreÃ§Ã£o robusta: garante que o aviso de cookies seja realmente ocultado
   mesmo quando regras responsivas usam display:flex/display:block. */
.cookie-banner[hidden],
.cookie-banner.is-hidden,
#cookieBanner[hidden],
#cookieBanner.is-hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* REFINEMENT_R1_AGMARK
   Refinamento visual premium: menu mais perceptível, WhatsApp verde, hero mais elegante */
:root {
  --ag-green: #1C8F4C;
  --ag-green-dark: #146B38;
  --ag-green-shadow: rgba(20, 107, 56, 0.22);
  --ag-gold-soft: #B28A52;
  --ag-gold-line: rgba(178, 138, 82, 0.28);
  --ag-ink-strong: #1F1A17;
  --ag-soft-shadow: rgba(31, 26, 23, 0.08);
  --ag-soft-shadow-strong: rgba(31, 26, 23, 0.14);
}

/* Header mais fino e elegante */
header,
.site-header,
.header {
  box-shadow: 0 1px 0 rgba(178, 138, 82, 0.10);
}

/* Menu mais ressaltado, sem perder delicadeza */
header nav a,
.site-header nav a,
.header nav a {
  color: var(--ag-ink-strong) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.96;
  position: relative;
  transition: color 0.24s ease, transform 0.24s ease, opacity 0.24s ease;
}

header nav a::after,
.site-header nav a::after,
.header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--ag-gold-soft), #D7C09A);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
  border-radius: 999px;
}

header nav a:hover,
header nav a:focus-visible,
.site-header nav a:hover,
.site-header nav a:focus-visible,
.header nav a:hover,
.header nav a:focus-visible {
  color: var(--ag-gold-soft) !important;
  transform: translateY(-1px);
  opacity: 1;
}

header nav a:hover::after,
header nav a:focus-visible::after,
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.header nav a:hover::after,
.header nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Botões WhatsApp verdes e premium */
header a[href*="wa.me"],
.site-header a[href*="wa.me"],
.header a[href*="wa.me"],
.floating-whatsapp,
.mobile-whatsapp-cta,
a[href*="wa.me"].btn,
a[href*="wa.me"].button {
  background: linear-gradient(180deg, #20A957 0%, var(--ag-green) 100%) !important;
  color: #FFFFFF !important;
  border-color: rgba(20, 107, 56, 0.22) !important;
  box-shadow: 0 12px 24px var(--ag-green-shadow);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

header a[href*="wa.me"]:hover,
header a[href*="wa.me"]:focus-visible,
.site-header a[href*="wa.me"]:hover,
.site-header a[href*="wa.me"]:focus-visible,
.header a[href*="wa.me"]:hover,
.header a[href*="wa.me"]:focus-visible,
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible,
.mobile-whatsapp-cta:hover,
.mobile-whatsapp-cta:focus-visible,
a[href*="wa.me"].btn:hover,
a[href*="wa.me"].btn:focus-visible,
a[href*="wa.me"].button:hover,
a[href*="wa.me"].button:focus-visible {
  background: linear-gradient(180deg, #1B9B4F 0%, var(--ag-green-dark) 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(20, 107, 56, 0.28);
  filter: saturate(1.02);
}

/* Hero e imagem principal com mais requinte */
.hero img,
.hero-image img,
.hero__image img,
.hero__media img,
.hero-photo img,
section img.hero-photo,
section .hero img {
  border-radius: 30px;
  border: 1px solid rgba(178, 138, 82, 0.18);
  box-shadow: 0 18px 42px var(--ag-soft-shadow-strong);
}

/* Cards e blocos mais sofisticados */
.card,
.form-card,
.service-card,
.problem-card,
.process-card,
.authority-card,
.faq-card,
.cta-card,
form,
.section-panel {
  box-shadow: 0 12px 30px var(--ag-soft-shadow);
  border-color: var(--ag-gold-line);
}

/* Realce suave de subtítulos/eyebrows */
.eyebrow,
.section-eyebrow,
.kicker,
.overline {
  letter-spacing: 0.08em;
  color: var(--ag-gold-soft) !important;
}

/* Inputs um pouco mais refinados */
input,
select,
textarea {
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(178, 138, 82, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(178, 138, 82, 0.12);
}

/* REFINEMENT_R2_AGMARK_LUXURY
   Camada visual R2: luxo discreto, jurídico premium, mais profundidade e acabamento. */

:root {
  --ag-luxury-cream: #F8F3EA;
  --ag-luxury-cream-2: #EFE5D6;
  --ag-luxury-gold: #B28A52;
  --ag-luxury-gold-dark: #98723E;
  --ag-luxury-brown: #2B211B;
  --ag-luxury-brown-soft: #4A3B31;
  --ag-luxury-border: rgba(178, 138, 82, 0.24);
  --ag-luxury-border-strong: rgba(178, 138, 82, 0.38);
  --ag-luxury-shadow: rgba(43, 33, 27, 0.10);
  --ag-luxury-shadow-strong: rgba(43, 33, 27, 0.16);
  --ag-luxury-green: #1C8F4C;
  --ag-luxury-green-dark: #126B36;
}

/* Camada geral mais nobre, sem alterar identidade */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(178, 138, 82, 0.08), transparent 32rem),
    radial-gradient(circle at 92% 20%, rgba(28, 143, 76, 0.045), transparent 30rem),
    linear-gradient(180deg, #FBF8F2 0%, #FFFFFF 42%, #FBF8F2 100%);
}

/* Header premium: vidro fosco leve e linha dourada fina */
header,
.site-header,
.header {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 252, 247, 0.92) !important;
  border-bottom: 1px solid rgba(178, 138, 82, 0.16) !important;
  box-shadow: 0 10px 28px rgba(43, 33, 27, 0.035);
}

/* Logo com presença mais delicada */
header img,
.site-header img,
.header img {
  filter: drop-shadow(0 8px 14px rgba(43, 33, 27, 0.055));
}

/* Menu R2: mais sofisticado e levemente maior */
header nav,
.site-header nav,
.header nav {
  gap: clamp(1.1rem, 2vw, 1.9rem);
}

header nav a,
.site-header nav a,
.header nav a {
  font-size: clamp(0.92rem, 0.88rem + 0.12vw, 1rem);
  font-weight: 650;
  color: #3C3028 !important;
  text-decoration: none !important;
}

header nav a::after,
.site-header nav a::after,
.header nav a::after {
  height: 2px;
  bottom: -0.55rem;
  background: linear-gradient(90deg, transparent, var(--ag-luxury-gold), transparent);
}

/* Botão WhatsApp R2: verde mais refinado e conversivo */
header a[href*="wa.me"],
.site-header a[href*="wa.me"],
.header a[href*="wa.me"],
.floating-whatsapp,
.mobile-whatsapp-cta,
a[href*="wa.me"].btn,
a[href*="wa.me"].button,
a[href*="wa.me"][class*="whatsapp"],
button[class*="whatsapp"] {
  background:
    linear-gradient(180deg, #27B864 0%, var(--ag-luxury-green) 48%, var(--ag-luxury-green-dark) 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    0 14px 26px rgba(18, 107, 54, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
}

header a[href*="wa.me"]::before,
.site-header a[href*="wa.me"]::before,
.header a[href*="wa.me"]::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  display: inline-block;
  margin-right: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
  vertical-align: middle;
}

/* Hero R2: aura premium, mais profundidade e elegância */
.hero,
.hero-section,
section.hero,
main > section:first-of-type {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(178, 138, 82, 0.14), transparent 24rem),
    radial-gradient(circle at 78% 40%, rgba(255, 255, 255, 0.86), transparent 30rem),
    linear-gradient(135deg, #F8F1E7 0%, #FBF8F2 46%, #EFE2D1 100%);
}

.hero::before,
.hero-section::before,
section.hero::before,
main > section:first-of-type::before {
  content: "";
  position: absolute;
  inset: auto 7% 10% auto;
  width: min(42vw, 34rem);
  height: min(42vw, 34rem);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(178, 138, 82, 0.13), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero > *,
.hero-section > *,
section.hero > *,
main > section:first-of-type > * {
  position: relative;
  z-index: 1;
}

/* Títulos: luxo discreto e melhor leitura */
h1 {
  color: #1F1A17;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 10px 28px rgba(43, 33, 27, 0.045);
}

h2,
h3 {
  color: #251D18;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* Eyebrow com linha dourada delicada */
.eyebrow,
.section-eyebrow,
.kicker,
.overline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ag-luxury-gold-dark) !important;
  font-weight: 800;
  letter-spacing: 0.105em;
}

.eyebrow::before,
.section-eyebrow::before,
.kicker::before,
.overline::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ag-luxury-gold));
}

/* Imagem principal com moldura de alto padrão */
.hero img,
.hero-image img,
.hero__image img,
.hero__media img,
.hero-photo img,
section img.hero-photo,
main > section:first-of-type img {
  border-radius: 34px;
  border: 1px solid rgba(178, 138, 82, 0.24);
  box-shadow:
    0 22px 52px rgba(43, 33, 27, 0.18),
    0 0 0 10px rgba(255, 255, 255, 0.20);
  transform: translateZ(0);
}

/* Painéis, cards e blocos com acabamento premium */
.card,
.form-card,
.service-card,
.problem-card,
.process-card,
.authority-card,
.faq-card,
.cta-card,
.section-panel,
form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 252, 247, 0.90)) !important;
  border: 1px solid var(--ag-luxury-border) !important;
  box-shadow:
    0 14px 36px var(--ag-luxury-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

/* Hover suave em cards, sem exagero */
.card,
.service-card,
.problem-card,
.process-card,
.faq-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover,
.service-card:hover,
.problem-card:hover,
.process-card:hover,
.faq-card:hover {
  transform: translateY(-2px);
  border-color: var(--ag-luxury-border-strong) !important;
  box-shadow:
    0 18px 42px var(--ag-luxury-shadow-strong),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

/* Formulário R2: aparência mais cara e confiável */
form label {
  color: #211915;
  font-weight: 750;
}

input,
select,
textarea {
  background: rgba(255, 252, 247, 0.92) !important;
  border: 1px solid rgba(178, 138, 82, 0.26) !important;
  color: #211915;
}

input::placeholder,
textarea::placeholder {
  color: rgba(43, 33, 27, 0.58);
}

input:focus,
select:focus,
textarea:focus {
  background: #FFFFFF !important;
  border-color: rgba(178, 138, 82, 0.62) !important;
  box-shadow:
    0 0 0 4px rgba(178, 138, 82, 0.12),
    0 10px 22px rgba(43, 33, 27, 0.055);
}

/* Botões principais não-WhatsApp com acabamento champagne */
button,
.btn,
.button,
input[type="submit"] {
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

button:hover,
.btn:hover,
.button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

/* Seções com respiro mais elegante */
section {
  scroll-margin-top: 7rem;
}

/* CTA final mais premium */
.cta-final,
.final-cta,
section[id*="cta"],
section[class*="cta"] {
  background:
    radial-gradient(circle at 18% 20%, rgba(178, 138, 82, 0.16), transparent 24rem),
    linear-gradient(135deg, #2B211B 0%, #1F1A17 100%) !important;
  color: #FFFFFF;
}

.cta-final h2,
.final-cta h2,
section[id*="cta"] h2,
section[class*="cta"] h2 {
  color: #FFFFFF;
}

/* Rodapé mais sofisticado */
footer {
  background:
    linear-gradient(180deg, #1F1A17 0%, #17120F 100%) !important;
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(178, 138, 82, 0.24);
}

footer a {
  color: #E6D0AC !important;
}

footer a:hover,
footer a:focus-visible {
  color: #FFFFFF !important;
}

/* Banner de cookies com acabamento coerente */
.cookie-banner {
  background:
    linear-gradient(180deg, rgba(31, 26, 23, 0.98), rgba(23, 18, 15, 0.98)) !important;
  border: 1px solid rgba(230, 208, 172, 0.20);
  box-shadow: 0 18px 42px rgba(23, 18, 15, 0.28);
}

/* Acessibilidade e performance: reduz movimento quando solicitado */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile: mantém elegância sem apertar layout */
@media (max-width: 760px) {
  header nav,
  .site-header nav,
  .header nav {
    gap: 0.85rem;
  }

  header nav a,
  .site-header nav a,
  .header nav a {
    font-size: 0.92rem;
  }

  .hero img,
  .hero-image img,
  .hero__image img,
  .hero__media img,
  .hero-photo img,
  main > section:first-of-type img {
    border-radius: 24px;
    box-shadow:
      0 16px 34px rgba(43, 33, 27, 0.15),
      0 0 0 6px rgba(255, 255, 255, 0.18);
  }
}

/* AGMARK MOBILE HERO R3 START
   Ajuste fino para celular real:
   - reduz logo/topo
   - reduz altura visual do hero
   - melhora leitura do título
   - mantém CTA forte e clicável
*/
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  header,
  .site-header,
  .header,
  .topbar,
  .navbar {
    min-height: auto !important;
    padding-top: 12px !important;
    padding-bottom: 10px !important;
  }

  header .container,
  .site-header .container,
  .header .container,
  .navbar .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  header img,
  .site-header img,
  .header img,
  .navbar img,
  .logo img,
  .brand img,
  .brand-logo,
  .logo-agmark {
    max-width: 178px !important;
    width: auto !important;
    height: auto !important;
  }

  .hero,
  #hero,
  .hero-section,
  .section-hero,
  main > section:first-of-type {
    min-height: auto !important;
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .hero .container,
  #hero .container,
  .hero-section .container,
  .section-hero .container,
  main > section:first-of-type .container {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .hero .eyebrow,
  .hero-eyebrow,
  .kicker,
  .pretitle,
  .badge,
  main > section:first-of-type .eyebrow,
  main > section:first-of-type .kicker {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 18px !important;
    max-width: 30ch !important;
  }

  .hero h1,
  #hero h1,
  .hero-section h1,
  .section-hero h1,
  main > section:first-of-type h1 {
    font-size: clamp(2.35rem, 10.6vw, 3.05rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.055em !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    max-width: 11.5em !important;
  }

  .hero p,
  #hero p,
  .hero-section p,
  .section-hero p,
  main > section:first-of-type p {
    font-size: clamp(1.05rem, 4.6vw, 1.22rem) !important;
    line-height: 1.58 !important;
    max-width: 32ch !important;
    margin-bottom: 26px !important;
  }

  .hero a,
  #hero a,
  .hero-section a,
  .section-hero a,
  main > section:first-of-type a {
    box-sizing: border-box !important;
  }

  .hero .btn,
  .hero .button,
  .hero .cta,
  .hero .btn-primary,
  .hero .whatsapp,
  #hero .btn,
  #hero .button,
  #hero .cta,
  #hero .btn-primary,
  #hero .whatsapp,
  main > section:first-of-type .btn,
  main > section:first-of-type .button,
  main > section:first-of-type .cta,
  main > section:first-of-type .btn-primary,
  main > section:first-of-type .whatsapp {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 58px !important;
    padding: 16px 20px !important;
    border-radius: 18px !important;
    font-size: 1.02rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
}

@media (max-width: 390px) {
  header img,
  .site-header img,
  .header img,
  .navbar img,
  .logo img,
  .brand img,
  .brand-logo,
  .logo-agmark {
    max-width: 164px !important;
  }

  .hero,
  #hero,
  .hero-section,
  .section-hero,
  main > section:first-of-type {
    padding-top: 28px !important;
    padding-bottom: 30px !important;
  }

  .hero h1,
  #hero h1,
  .hero-section h1,
  .section-hero h1,
  main > section:first-of-type h1 {
    font-size: clamp(2.15rem, 10.2vw, 2.72rem) !important;
    line-height: 1.09 !important;
    max-width: 11.2em !important;
  }

  .hero p,
  #hero p,
  .hero-section p,
  .section-hero p,
  main > section:first-of-type p {
    font-size: 1.04rem !important;
    line-height: 1.56 !important;
  }
}

@media (max-width: 340px) {
  .hero h1,
  #hero h1,
  .hero-section h1,
  .section-hero h1,
  main > section:first-of-type h1 {
    font-size: 2rem !important;
  }

  .hero p,
  #hero p,
  .hero-section p,
  .section-hero p,
  main > section:first-of-type p {
    font-size: 0.98rem !important;
  }
}
/* AGMARK MOBILE HERO R3 END */

/* AGMARK MOBILE HERO R3 START
   Ajuste fino para celular real:
   - reduz logo/topo
   - reduz altura visual do hero
   - melhora leitura do título
   - mantém CTA forte e clicável
*/
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  header,
  .site-header,
  .header,
  .topbar,
  .navbar {
    min-height: auto !important;
    padding-top: 12px !important;
    padding-bottom: 10px !important;
  }

  header .container,
  .site-header .container,
  .header .container,
  .navbar .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  header img,
  .site-header img,
  .header img,
  .navbar img,
  .logo img,
  .brand img,
  .brand-logo,
  .logo-agmark {
    max-width: 178px !important;
    width: auto !important;
    height: auto !important;
  }

  .hero,
  #hero,
  .hero-section,
  .section-hero,
  main > section:first-of-type {
    min-height: auto !important;
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .hero .container,
  #hero .container,
  .hero-section .container,
  .section-hero .container,
  main > section:first-of-type .container {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .hero .eyebrow,
  .hero-eyebrow,
  .kicker,
  .pretitle,
  .badge,
  main > section:first-of-type .eyebrow,
  main > section:first-of-type .kicker {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 18px !important;
    max-width: 30ch !important;
  }

  .hero h1,
  #hero h1,
  .hero-section h1,
  .section-hero h1,
  main > section:first-of-type h1 {
    font-size: clamp(2.35rem, 10.6vw, 3.05rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.055em !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    max-width: 11.5em !important;
  }

  .hero p,
  #hero p,
  .hero-section p,
  .section-hero p,
  main > section:first-of-type p {
    font-size: clamp(1.05rem, 4.6vw, 1.22rem) !important;
    line-height: 1.58 !important;
    max-width: 32ch !important;
    margin-bottom: 26px !important;
  }

  .hero a,
  #hero a,
  .hero-section a,
  .section-hero a,
  main > section:first-of-type a {
    box-sizing: border-box !important;
  }

  .hero .btn,
  .hero .button,
  .hero .cta,
  .hero .btn-primary,
  .hero .whatsapp,
  #hero .btn,
  #hero .button,
  #hero .cta,
  #hero .btn-primary,
  #hero .whatsapp,
  main > section:first-of-type .btn,
  main > section:first-of-type .button,
  main > section:first-of-type .cta,
  main > section:first-of-type .btn-primary,
  main > section:first-of-type .whatsapp {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 58px !important;
    padding: 16px 20px !important;
    border-radius: 18px !important;
    font-size: 1.02rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
}

@media (max-width: 390px) {
  header img,
  .site-header img,
  .header img,
  .navbar img,
  .logo img,
  .brand img,
  .brand-logo,
  .logo-agmark {
    max-width: 164px !important;
  }

  .hero,
  #hero,
  .hero-section,
  .section-hero,
  main > section:first-of-type {
    padding-top: 28px !important;
    padding-bottom: 30px !important;
  }

  .hero h1,
  #hero h1,
  .hero-section h1,
  .section-hero h1,
  main > section:first-of-type h1 {
    font-size: clamp(2.15rem, 10.2vw, 2.72rem) !important;
    line-height: 1.09 !important;
    max-width: 11.2em !important;
  }

  .hero p,
  #hero p,
  .hero-section p,
  .section-hero p,
  main > section:first-of-type p {
    font-size: 1.04rem !important;
    line-height: 1.56 !important;
  }
}

@media (max-width: 340px) {
  .hero h1,
  #hero h1,
  .hero-section h1,
  .section-hero h1,
  main > section:first-of-type h1 {
    font-size: 2rem !important;
  }

  .hero p,
  #hero p,
  .hero-section p,
  .section-hero p,
  main > section:first-of-type p {
    font-size: 0.98rem !important;
  }
}
/* AGMARK MOBILE HERO R3 END */

/* AGMARK VISUAL R4 START
   Ajustes:
   - nova foto do hero com rosto visível
   - arte "Você sabia?" em foto secundária
   - CTA WhatsApp com texto "Fale com um especialista"
   - refinamento mobile real
*/

.hero img,
#hero img,
.hero-section img,
.section-hero img,
main > section:first-of-type img {
  object-position: center top !important;
}

.curiosidade-r4-card {
  display: block;
  width: min(100%, 980px);
  margin: 34px auto;
  border-radius: 30px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 28px 80px rgba(22, 18, 12, 0.22);
  border: 1px solid rgba(166, 128, 76, 0.22);
}

.curiosidade-r4-card picture,
.curiosidade-r4-card img {
  display: block;
  width: 100%;
}

.curiosidade-r4-card img {
  height: auto;
  object-fit: cover;
}

a[href*="wa.me"],
a[href*="whatsapp"],
button.whatsapp,
.whatsapp,
.btn-whatsapp {
  white-space: normal;
}

@media (min-width: 769px) {
  .hero picture,
  #hero picture,
  .hero-section picture,
  .section-hero picture {
    display: block;
  }

  .hero img,
  #hero img,
  .hero-section img,
  .section-hero img,
  main > section:first-of-type img {
    object-position: center top !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .hero,
  #hero,
  .hero-section,
  .section-hero,
  main > section:first-of-type {
    padding-top: 30px !important;
    padding-bottom: 32px !important;
    min-height: auto !important;
  }

  .hero h1,
  #hero h1,
  .hero-section h1,
  .section-hero h1,
  main > section:first-of-type h1 {
    font-size: clamp(2.15rem, 10vw, 3rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.055em !important;
    margin-bottom: 20px !important;
  }

  .hero p,
  #hero p,
  .hero-section p,
  .section-hero p,
  main > section:first-of-type p {
    font-size: clamp(1.02rem, 4.5vw, 1.18rem) !important;
    line-height: 1.58 !important;
  }

  .hero img,
  #hero img,
  .hero-section img,
  .section-hero img,
  main > section:first-of-type img {
    object-position: center top !important;
    max-height: 520px;
  }

  a[href*="wa.me"],
  a[href*="whatsapp"],
  .btn-whatsapp,
  .whatsapp,
  .hero .btn,
  .hero .button,
  .hero .cta,
  #hero .btn,
  #hero .button,
  #hero .cta {
    min-height: 56px !important;
    padding: 15px 20px !important;
    border-radius: 18px !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .curiosidade-r4-card {
    margin: 26px auto;
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(22, 18, 12, 0.20);
  }
}

@media (max-width: 430px) {
  .hero h1,
  #hero h1,
  .hero-section h1,
  .section-hero h1,
  main > section:first-of-type h1 {
    font-size: clamp(2rem, 9.6vw, 2.55rem) !important;
    line-height: 1.1 !important;
  }

  .hero p,
  #hero p,
  .hero-section p,
  .section-hero p,
  main > section:first-of-type p {
    font-size: 1rem !important;
    line-height: 1.56 !important;
  }

  .hero img,
  #hero img,
  .hero-section img,
  .section-hero img,
  main > section:first-of-type img {
    max-height: 480px;
    object-position: center top !important;
  }

  .curiosidade-r4-card {
    margin-left: auto;
    margin-right: auto;
    border-radius: 22px;
  }
}

/* AGMARK VISUAL R4 END */


/* AGMARK VISUAL R4B START
   Força CTA novo, seção de curiosidade visível e refinamento mobile.
*/

.curiosidade-r4-section {
  padding: clamp(48px, 7vw, 92px) 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(193, 153, 98, 0.12), transparent 34%),
    linear-gradient(180deg, #fffaf3 0%, #f5ecdf 100%);
  border-top: 1px solid rgba(153, 111, 62, 0.12);
  border-bottom: 1px solid rgba(153, 111, 62, 0.12);
}

.curiosidade-r4-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.curiosidade-r4-copy {
  max-width: 620px;
}

.curiosidade-r4-copy .section-kicker {
  color: #9a6a32;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.curiosidade-r4-copy h2 {
  color: #1c1712;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
}

.curiosidade-r4-copy p {
  color: #594c40;
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  margin-bottom: 26px;
}

.curiosidade-r4-card {
  display: block;
  width: 100%;
  max-width: 620px;
  justify-self: end;
  border-radius: 30px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 30px 90px rgba(25, 20, 14, 0.24);
  border: 1px solid rgba(166, 128, 76, 0.28);
}

.curiosidade-r4-card picture,
.curiosidade-r4-card img {
  display: block;
  width: 100%;
}

.curiosidade-r4-card img {
  height: auto;
  object-fit: cover;
}

a[href*="wa.me"],
a[href*="api.whatsapp.com"],
.btn-whatsapp,
.curiosidade-r4-cta {
  white-space: normal;
}

.hero img,
#hero img,
.hero-section img,
.section-hero img,
main > section:first-of-type img {
  object-position: center top !important;
}

@media (max-width: 920px) {
  .curiosidade-r4-grid {
    grid-template-columns: 1fr;
  }

  .curiosidade-r4-card {
    justify-self: stretch;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .curiosidade-r4-section {
    padding: 42px 0;
  }

  .curiosidade-r4-grid {
    gap: 26px;
  }

  .curiosidade-r4-copy h2 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .curiosidade-r4-copy p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .curiosidade-r4-card {
    border-radius: 24px;
  }

  .curiosidade-r4-cta,
  a[href*="wa.me"],
  a[href*="api.whatsapp.com"] {
    min-height: 56px !important;
    padding: 15px 20px !important;
    border-radius: 18px !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
}

@media (max-width: 430px) {
  .curiosidade-r4-section {
    padding: 34px 0;
  }

  .curiosidade-r4-copy h2 {
    font-size: 2.35rem;
  }

  .curiosidade-r4-card {
    border-radius: 20px;
  }
}

/* AGMARK VISUAL R4B END */

/* AGMARK MOBILE-01B START */

/*
  Correções:
  - elimina largura horizontal excedente;
  - transforma o hero em uma única coluna;
  - impede corte do título;
  - adapta cookies ao viewport;
  - mantém espaço seguro para o WhatsApp fixo.
*/

@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  body {
    padding-bottom: 82px;
  }

  .container {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .hero,
  .hero > .container,
  .hero-grid,
  .hero-copy {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .hero {
    overflow: hidden;
  }

  .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }

  .hero-copy {
    overflow: visible !important;
  }

  .hero-copy > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .hero h1 {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    font-size: clamp(
      2.3rem,
      10.2vw,
      2.8rem
    ) !important;

    line-height: 1.03 !important;
    letter-spacing: -0.045em !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .hero .lead {
    width: 100% !important;
    max-width: 100% !important;

    font-size: 1.05rem !important;
    line-height: 1.55 !important;
  }

  .hero-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .hero-card img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .cookie-banner {
    right: 12px !important;
    bottom: 76px !important;
    left: 12px !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: min(44vh, 290px) !important;

    margin: 0 !important;
    padding: 14px 16px !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    box-sizing: border-box !important;
    border-radius: 18px !important;

    z-index: 1002 !important;
  }

  .cookie-banner,
  .cookie-banner * {
    box-sizing: border-box !important;
    max-width: 100%;
  }

  .cookie-banner p {
    margin: 0 0 10px !important;

    font-size: 0.82rem !important;
    line-height: 1.45 !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .cookie-banner > div {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;

    gap: 10px !important;
  }

  .cookie-banner a {
    font-size: 0.88rem !important;
    line-height: 1.25 !important;
  }

  .cookie-banner button {
    min-height: 44px !important;

    padding: 10px 16px !important;
  }

  .mobile-whatsapp {
    right: 12px !important;
    bottom: 10px !important;
    left: 12px !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 54px !important;

    margin: 0 !important;

    box-sizing: border-box !important;

    z-index: 1001 !important;
  }

  #formulario {
    scroll-margin-top: 16px;
  }
}

@media (max-width: 380px) {

  .container {
    width: calc(100% - 24px) !important;
  }

  .hero h1 {
    font-size: clamp(
      2.1rem,
      10.4vw,
      2.45rem
    ) !important;

    letter-spacing: -0.05em !important;
  }

  .cookie-banner {
    right: 8px !important;
    left: 8px !important;

    padding: 12px 14px !important;
  }

  .mobile-whatsapp {
    right: 8px !important;
    left: 8px !important;
  }
}

/* AGMARK MOBILE-01B END */

/* AGMARK CONTACT-01A START */
.form-contact-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(184, 151, 98, 0.38);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #3a2f28;
  font-size: 0.96rem;
  line-height: 1.45;
}
.form-contact-note a {
  color: #0f7a3d;
  font-weight: 800;
  text-decoration: none;
}
.form-contact-note a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .form-contact-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    font-size: 0.92rem;
  }
  .form-contact-note span {
    display: none;
  }
}
/* AGMARK CONTACT-01A END */
