/* Grupo Mimoso — site institucional */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --black: #000;
  --graphite: #16181a;
  --graphite-2: #23262a;
  --red: #c8102e;
  --red-dark: #a50d26;
  --white: #fff;
  --steel: #e9ecee;
  --muted: #5d646a;
  --line: #d5dade;
  --wa: #1f9d55;

  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; overflow-x: clip; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--graphite); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; }
.muted { color: #a9b0b6; }

/* Tipografia */
.h2, .page-title, .hero-title { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: .005em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3rem); text-transform: uppercase; }
.h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; margin: 0 0 .4em; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 62ch; margin: .75em 0 0; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--display); font-weight: 700; font-size: 1.125rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: .8em 1.6em; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-sm { font-size: 1rem; padding: .5em 1.1em; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-ghost-dark { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn-ghost-dark:hover { background: var(--graphite); color: var(--white); }

/* Cabeçalho */
.site-header { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.wordmark { font-family: var(--display); font-size: 1.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }
.wordmark strong { font-weight: 700; }
.wordmark-bar { width: 6px; height: 30px; background: var(--red); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: #d7dbde; text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; margin: 0 auto; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--black); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--graphite-2); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--graphite-2); }
  .nav .btn { margin-top: 14px; }
}

/* Primeira tela */
.hero { position: relative; color: var(--white); background: var(--black) var(--hero-img) center / cover no-repeat; min-height: min(88vh, 860px); display: flex; flex-direction: column; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.82) 45%, rgba(0,0,0,.4) 100%); }
.hero-inner { position: relative; flex: 1; width: 100%; min-width: 0; display: flex; align-items: center; padding-top: clamp(32px, 6vh, 80px); padding-bottom: clamp(32px, 6vh, 80px); }
.hero-text { max-width: 880px; min-width: 0; border-left: 8px solid var(--red); padding-left: clamp(18px, 3vw, 36px); }
.hero-kicker { font-weight: 600; color: #ff4a62; margin: 0 0 14px; font-size: 1rem; letter-spacing: .02em; }
.hero-title { font-size: clamp(2.25rem, 4.6vw, 4rem); text-transform: uppercase; overflow-wrap: break-word; }
.hero-sub { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: #d7dbde; max-width: 60ch; margin: 18px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-services { position: relative; width: 100%; min-width: 0; background: rgba(0,0,0,.78); border-top: 1px solid rgba(255,255,255,.12); }
.hero-services-list { display: flex; overflow-x: auto; scrollbar-width: none; }
.hero-services-list::-webkit-scrollbar { display: none; }
.hero-services a { flex: 1 0 auto; display: flex; align-items: center; gap: 10px; padding: 18px 20px; color: #e3e6e8; text-decoration: none; font-weight: 500; font-size: .95rem; border-right: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.hero-services a:first-child { padding-left: 0; }
.hero-services a:last-child { border-right: 0; }
.hero-services a:hover { color: var(--white); }
.hero-services .icon { color: var(--red); flex: none; }

@media (max-width: 600px) {
  .hero { min-height: auto; }
  .hero-inner { padding-top: 36px; padding-bottom: 36px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-sub { margin: 14px 0 22px; }
}

/* Seções */
.section { padding: var(--section) 0; }
.section-light { background: var(--steel); }
.section-dark { background: var(--graphite); color: var(--white); }
.section-dark .lead { color: #b9c0c5; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }

/* Lista de serviços */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 4vw, 56px); border-top: 2px solid var(--black); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 48px 1fr; gap: 4px 18px; padding: 24px 0; text-decoration: none; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--black); color: var(--white); transition: background-color .15s; }
.service-name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; }
.service-summary { display: block; color: var(--muted); margin-top: 6px; }
.service-more { grid-column: 2; font-weight: 600; font-size: .95rem; color: var(--red); margin-top: 8px; }
.service-item:hover .service-icon { background: var(--red); }
.service-item:hover .service-name { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.section-light .service-list li { border-bottom-color: #c9cfd3; }
@media (max-width: 760px) { .service-list { grid-template-columns: 1fr; } }

/* Diferenciais */
.diff-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.diff-photo { margin: 0; position: relative; }
.diff-photo img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; filter: grayscale(.25) contrast(1.05); }
.diff-photo::after { content: ""; position: absolute; left: -12px; bottom: -12px; width: 40%; height: 8px; background: var(--red); }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; color: #e3e6e8; }
.checklist .icon { color: var(--red); margin-top: 1px; }
@media (max-width: 860px) { .diff-grid { grid-template-columns: 1fr; } .diff-photo img { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }

/* Frase */
.statement { background: var(--black) var(--bg-img) center / cover no-repeat; color: var(--white); position: relative; padding: clamp(72px, 12vw, 160px) 0; }
.statement::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.statement .wrap { position: relative; }
.statement blockquote { margin: 0; max-width: 22ch; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.04; border-left: 8px solid var(--red); padding-left: clamp(18px, 3vw, 36px); }
.statement p { margin: 0; }

/* Empresas */
.companies { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.companies li { padding: 4px clamp(18px, 3vw, 36px); border-left: 2px solid var(--black); }
.companies p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .companies { grid-template-columns: 1fr; gap: 24px; } }

/* Público */
.audience { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.audience-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.audience-list li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .audience-list { columns: 1; } }

/* Cotação */
.quote { background: var(--black); color: var(--white); padding: var(--section) 0; scroll-margin-top: 72px; }
.quote-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-intro p { color: #c4cacf; max-width: 46ch; }
.quote-direct { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--graphite-2); }
.quote-direct a { color: var(--white); font-weight: 600; font-size: 1.25rem; text-decoration-color: var(--wa); text-underline-offset: 5px; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }

.form { background: var(--white); color: var(--graphite); padding: clamp(20px, 3vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea { width: 100%; font: inherit; color: inherit; padding: 12px 14px; border: 1.5px solid #b8bfc4; background: var(--white); border-radius: 0; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--graphite) 50%), linear-gradient(135deg, var(--graphite) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--black); outline: 2px solid var(--black); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: .9rem; font-weight: 500; margin: 6px 0 0; }
.field-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--red); }
.field-check label { font-weight: 400; font-size: .95rem; margin: 0; }
.field-check .field-error { grid-column: 2; }
.form-alert { background: #fdecef; color: var(--red-dark); border-left: 4px solid var(--red); padding: 12px 14px; margin: 0 0 18px; font-weight: 500; }

/* Páginas internas */
.page-hero { background: var(--black) var(--hero-img, none) center / cover no-repeat; color: var(--white); position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 100%); }
.page-hero .wrap { position: relative; }
.page-title { font-size: clamp(2.4rem, 5.6vw, 4.2rem); text-transform: uppercase; max-width: 20ch; border-left: 8px solid var(--red); padding-left: clamp(18px, 3vw, 32px); }
.page-sub { color: #d0d5d9; max-width: 60ch; font-size: 1.1875rem; margin: 18px 0 0; padding-left: calc(8px + clamp(18px, 3vw, 32px)); }
.crumb { margin: 0 0 14px; padding-left: calc(8px + clamp(18px, 3vw, 32px)); }
.crumb a { color: #ff4a62; font-weight: 600; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.article-grid { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-aside { position: sticky; top: 96px; display: grid; gap: 12px; border-top: 2px solid var(--black); padding-top: 20px; }
.aside-quote { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.08; text-transform: uppercase; margin: 0 0 8px; }
.values { list-style: none; padding: 0; margin: 0; }
.values li { font-family: var(--display); font-weight: 600; font-size: 1.4rem; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid var(--line); }
.values li::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--red); margin-right: 12px; vertical-align: 2px; }
@media (max-width: 860px) { .article-grid { grid-template-columns: 1fr; } .article-aside { position: static; } }

.prose { max-width: 68ch; }
.prose-narrow { margin: 0 auto 0 0; }
.prose p { margin: 0 0 1.1em; }
.prose strong { color: var(--black); }
.prose p > strong:only-child { display: block; font-family: var(--display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; margin-top: 1.4em; line-height: 1.1; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 2rem; text-transform: uppercase; margin: 1.6em 0 .5em; line-height: 1.05; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose li { padding: 6px 0 6px 22px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .95em; width: 10px; height: 2px; background: var(--red); }

/* Rodapé */
.site-footer { background: var(--black); color: #c4cacf; padding: 56px 0 24px; border-top: 8px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 40px; }
.footer-brand { font-family: var(--display); font-size: 1.8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--white); margin: 0 0 10px; font-weight: 600; }
.footer-title { font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; color: var(--white); margin: 0 0 12px; letter-spacing: .04em; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { padding: 4px 0; }
.footer-list a { color: #c4cacf; text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--graphite-2); font-size: .875rem; color: #8b9399; }
.footer-legal p { margin: 4px 0; }
.footer-legal a { color: #c4cacf; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); z-index: 60; }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { background: #17834a; }

/* Cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: var(--graphite); color: var(--white); padding: 18px 20px; z-index: 70; border-left: 6px solid var(--red); box-shadow: 0 8px 28px rgba(0,0,0,.4); }
.cookie p { margin: 0 0 12px; font-size: .95rem; }
.cookie a { color: var(--white); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Obrigado */
.thanks { min-height: 70vh; display: grid; place-items: center; background: var(--black); color: var(--white); text-align: left; padding: 48px 0; }
.thanks .page-title { margin-bottom: 18px; }
.thanks p { color: #d0d5d9; max-width: 52ch; font-size: 1.125rem; }
.thanks .btn { margin-top: 12px; background: var(--wa); color: var(--white); }
