/* =========================================================
   Hoshimoto — Design System
   ========================================================= */

:root {
  /* Brand */
  --brand-black: #0a0a0a;
  --brand-white: #ffffff;
  --brand-cream: #faf9f6;

  /* Neutral scale */
  --gray-50:  #f7f7f5;
  --gray-100: #eeeeec;
  --gray-200: #dcdcd9;
  --gray-300: #c2c2bf;
  --gray-500: #6b6b68;
  --gray-700: #3a3a39;
  --gray-800: #232322;

  /* Teal (accent) */
  --teal-50:  #e7f1f2;
  --teal-100: #c5dee0;
  --teal-200: #8ec2c6;
  --teal-500: #14828c;
  --teal-700: #0d5c63;
  --teal-900: #053a40;

  /* Semantic */
  --accent:        var(--teal-700);
  --accent-hover:  var(--teal-500);
  --accent-soft:   var(--teal-50);

  /* Surfaces */
  --bg:            var(--brand-white);
  --bg-alt:        var(--gray-50);
  --surface:       var(--brand-white);
  --surface-alt:   var(--brand-cream);
  --text:          var(--brand-black);
  --text-muted:    var(--gray-500);
  --text-strong:   var(--brand-black);
  --border:        var(--gray-100);
  --border-strong: var(--gray-200);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, .05), 0 1px 1px rgba(10, 10, 10, .04);
  --shadow-md: 0 4px 12px rgba(10, 10, 10, .06), 0 2px 4px rgba(10, 10, 10, .04);
  --shadow-lg: 0 12px 28px rgba(10, 10, 10, .10), 0 4px 10px rgba(10, 10, 10, .05);
  --shadow-teal: 0 8px 24px rgba(13, 92, 99, .25);

  /* Motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 150ms;
  --dur: 220ms;
  --dur-slow: 360ms;

  /* Layout */
  --container: 1160px;
  --header-h: 68px;
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: min(var(--container), 92%); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4, h5 { margin: 0 0 .4em; line-height: 1.15; color: var(--text-strong); letter-spacing: -.01em; }
h1 { font-family: "Bodoni Moda", Georgia, serif; font-weight: 700; font-size: clamp(34px, 5vw, 56px); }
h2 { font-family: "Bodoni Moda", Georgia, serif; font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-family: "Bodoni Moda", Georgia, serif; font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-family: Inter, sans-serif; font-weight: 700; font-size: 17px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.lede { font-size: clamp(16px, 1.5vw, 18px); color: var(--text-muted); max-width: 60ch; }
.muted { color: var(--text-muted); font-size: 14px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur-fast) var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.btn-primary { background: var(--brand-black); color: var(--brand-white); border-color: var(--brand-black); }
.btn-primary:hover { background: var(--gray-800); border-color: var(--gray-800); }

.btn-accent { background: var(--accent); color: var(--brand-white); border-color: var(--accent); box-shadow: var(--shadow-teal); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-outline { border-color: var(--brand-black); color: var(--brand-black); background: var(--brand-white); }
.btn-outline:hover { background: var(--brand-black); color: var(--brand-white); }

.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--brand-white); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }

.btn-whatsapp {
  background: #25D366; color: #fff; border-color: #1fa855;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .28);
}
.btn-whatsapp:hover { background: #1fb755; border-color: #189046; }
.btn-whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 38px; width: auto; object-fit: contain; }
.brand .partner img { height: 28px; opacity: .9; }
.brand-sep { width: 1px; height: 28px; background: var(--border-strong); }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  position: relative;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--accent); background: var(--accent-soft); }

.menu-toggle {
  display: none;
  align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--brand-black);
  background: var(--brand-white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  min-height: 44px;
}
.menu-toggle svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--brand-white);
    border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch;
    padding: 12px;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .site-nav a, .site-nav .btn { width: 100%; justify-content: flex-start; }
  .brand .partner { display: none; }
  .brand-sep { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-black);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(35%) contrast(105%) brightness(70%);
  z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 58, 64, .55) 0%, rgba(10, 10, 10, .65) 55%, rgba(10, 10, 10, .82) 100%),
    radial-gradient(900px 480px at 80% 10%, rgba(20, 130, 140, .35), transparent 60%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  gap: 36px;
  padding: clamp(56px, 8vw, 120px) 0 clamp(72px, 9vw, 140px);
  align-items: center;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  color: var(--brand-white);
}
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero-content h1 {
  color: var(--brand-white);
  margin-bottom: 16px;
}
.hero-content .lede {
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 56ch;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--brand-white);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
}
.badge svg { width: 14px; height: 14px; }

.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--brand-white);
}
.hero-card h3 { color: var(--brand-white); }
.hero-card ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.hero-card li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; font-size: 15px; }
.hero-card li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--teal-200); margin-top: 2px; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--brand-black); color: var(--brand-white); }
.section-dark h2, .section-dark h3 { color: var(--brand-white); }
.section-dark .lede { color: rgba(255, 255, 255, .82); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--accent); }
.section-head h2 { margin-bottom: 12px; }
.section-head .lede { margin: 0 auto; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-100);
}
.service-card .icon-wrap {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
}
.service-card .icon-wrap svg { width: 22px; height: 22px; }
.service-card h4 { margin: 0; color: var(--text-strong); }
.service-card p { margin: 0; color: var(--gray-700); font-size: 14.5px; line-height: 1.55; }

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .benefits-grid { grid-template-columns: 1fr; } }

.benefit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
}
.benefit .icon-wrap {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--brand-black);
  color: var(--brand-white);
}
.benefit .icon-wrap svg { width: 20px; height: 20px; }
.benefit h4 { margin: 0; font-size: 16px; }
.benefit p { margin: 0; color: var(--gray-700); font-size: 14px; line-height: 1.5; }

/* About / Highlight */
.highlight {
  display: grid; gap: 28px;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}
@media (max-width: 880px) { .highlight { grid-template-columns: 1fr; } }
.highlight .visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-white);
  position: relative;
}
.highlight .visual svg.deco { width: 60%; height: auto; opacity: .85; }
.highlight h2 { margin-top: 0; }

/* Contact card */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}
.contact-card .channels { display: grid; gap: 8px; margin: 20px 0; }
.contact-card a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

/* CTA band */
.cta-band {
  background: var(--brand-black);
  color: var(--brand-white);
  padding: clamp(40px, 6vw, 64px) 0;
}
.cta-band .container {
  display: flex; gap: 24px; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
}
.cta-band h2 { color: var(--brand-white); margin: 0; max-width: 28ch; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   Legal pages (terms / privacy)
   ========================================================= */
.legal-main {
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 7vw, 96px);
}
.legal-main .container { max-width: 760px; }
.legal-main h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 8px;
}
.legal-main .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  display: block;
}
.legal-main h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-top: 40px;
  margin-bottom: 12px;
  font-family: "Bodoni Moda", Georgia, serif;
}
.legal-main h3 {
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 8px;
  font-family: Inter, sans-serif;
  font-weight: 700;
}
.legal-main p, .legal-main li { font-size: 15.5px; line-height: 1.7; color: var(--gray-800); }
.legal-main ul, .legal-main ol { padding-left: 22px; margin: 0 0 1em; }
.legal-main li { margin-bottom: 6px; }
.legal-main a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-main a:hover { color: var(--accent-hover); }
.legal-toc {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  background: var(--bg-alt);
  margin-bottom: 32px;
}
.legal-toc h2 { margin-top: 0; font-size: 16px; font-family: Inter, sans-serif; font-weight: 700; }
.legal-toc ol { margin: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--brand-black);
  color: var(--gray-300);
  padding: 56px 0 24px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 40px;
}
@media (max-width: 880px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.site-footer h5 {
  color: var(--brand-white);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-family: Inter, sans-serif;
  font-weight: 700;
}
.site-footer .brand-block .footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 16px;
  display: block;
  /* Wordmark é escuro: força para branco preservando a transparência do SVG */
  filter: brightness(0) invert(1);
}
.site-footer .brand-block p { font-size: 14px; color: var(--gray-300); margin: 0 0 16px; max-width: 36ch; line-height: 1.5; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--dur) var(--ease);
}
.site-footer a:hover { color: var(--brand-white); }
.site-footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray-500);
}
.site-footer .bottom .partner-mark { display: flex; align-items: center; gap: 10px; }
.site-footer .bottom .partner-mark .partner-logo {
  height: 24px;
  width: auto;
  display: block;
  opacity: .9;
}

/* =========================================================
   Floating WhatsApp button
   ========================================================= */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 32px rgba(37, 211, 102, .42);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(37, 211, 102, .48); }

/* =========================================================
   Cookie banner (bottom)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1000;
  background: rgba(10, 10, 10, .96);
  color: var(--brand-white);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: none;
  align-items: center; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  animation: slideUp .35s var(--ease);
  backdrop-filter: blur(12px);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.5; }
.cookie-banner a { color: var(--teal-200); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner a:hover { color: var(--brand-white); }
.cookie-banner .actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-banner .actions .btn { min-height: 40px; padding: 10px 18px; font-size: 14px; }
.cookie-banner .btn-cookie-reject {
  background: transparent;
  color: var(--brand-white);
  border-color: rgba(255, 255, 255, .3);
}
.cookie-banner .btn-cookie-reject:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); }
.cookie-banner .btn-cookie-accept {
  background: var(--accent);
  color: var(--brand-white);
  border-color: var(--accent);
}
.cookie-banner .btn-cookie-accept:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
