/* ==========================================================================
   IC3 Capital — inicioic3.com
   ========================================================================== */

:root {
  --bg: #F6F7F4;
  --bg-alt: #EDEFE9;
  --ink: #17211E;
  --ink-soft: #4C5854;
  --ink-faint: #7D8985;
  --line: #D9DED7;
  --accent: #BD5B38;
  --accent-deep: #8F4126;
  --accent-soft: #F1DDCE;
  --teal: #0E2A29;
  --teal-soft: #163B39;
  --whatsapp: #22C35E;
  --whatsapp-deep: #1AA34E;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(14, 42, 41, 0.06), 0 1px 1px rgba(14, 42, 41, 0.04);
  --shadow-md: 0 14px 30px -14px rgba(14, 42, 41, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(14, 42, 41, 0.38);
  --container: 1180px;
  --font-head: "Lora", "Georgia", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); }

/* Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 24px -10px rgba(34, 195, 94, 0.5); }
.btn-whatsapp:hover { background: var(--whatsapp-deep); }

.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-ghost-light:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.07); }

.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-deep); }

.btn-sm { padding: 9px 18px; font-size: 0.83rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 244, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.brand .brand-mark { width: 34px; height: 34px; }
.brand-name-full { font-size: 0.6em; display: block; font-family: var(--font-body); font-weight: 600; color: var(--ink-faint); letter-spacing: 0.02em; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); transition: color 0.15s ease; }
.main-nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Hero -------------------------------------------------------------------*/

.hero {
  background:
    linear-gradient(115deg, rgba(189,91,56,0.16) 0%, transparent 42%),
    radial-gradient(45% 65% at 8% 100%, rgba(189,91,56,0.1), transparent 60%),
    var(--teal);
  color: #fff;
  overflow: hidden;
}

.hero-inner { padding: 92px 0 80px; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.hero-inner > * { min-width: 0; }

.hero h1 { font-size: clamp(2.1rem, 4.1vw, 3.15rem); color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent-soft); }

.hero-lead { font-size: 1.06rem; color: rgba(255,255,255,0.72); max-width: 480px; margin-bottom: 32px; }

.hero-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-note { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.hero-note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent-soft); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,0.75); font-weight: 600; }
.hero-badge svg { width: 15px; height: 15px; color: var(--accent-soft); }

.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.hero-card-title { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.hero-stat-list { display: flex; flex-direction: column; gap: 18px; }
.hero-stat { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 14px; }
.hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
.hero-stat-label { flex-shrink: 0; font-size: 0.86rem; color: rgba(255,255,255,0.62); }
.hero-stat-value { flex: 1 1 140px; min-width: 0; font-family: var(--font-head); font-size: 1.05rem; color: var(--accent-soft); text-align: right; }

/* Trust bar ---------------------------------------------------------------*/

.trust-bar { background: var(--accent-soft); border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 0.83rem; color: var(--accent-deep); font-weight: 700; }
.trust-item svg { width: 17px; height: 17px; color: var(--accent-deep); flex-shrink: 0; }

/* About / intro -------------------------------------------------------- */

.about { padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.about-grid > * { min-width: 0; }

.about-figure {
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-soft) 55%, var(--accent-deep) 170%);
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.about-figure-top, .about-figure-bottom { position: relative; z-index: 1; }
.about-figure-cnpj { color: rgba(255,255,255,0.55); font-size: 0.72rem; letter-spacing: 0.04em; }
.about-figure-name { color: #fff; font-family: var(--font-head); font-size: 1.28rem; margin-top: 6px; }
.about-figure-loc { color: var(--accent-soft); font-size: 0.85rem; margin-top: 14px; }

.about-body p { font-size: 1.02rem; }
.about-list { display: grid; gap: 16px; margin-top: 28px; }
.about-list li { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.about-list svg { width: 22px; height: 22px; color: var(--accent-deep); flex-shrink: 0; margin-top: 2px; }
.about-list strong { display: block; color: var(--ink); margin-bottom: 3px; font-size: 0.95rem; }
.about-list span { color: var(--ink-soft); font-size: 0.88rem; }

/* Serviços ------------------------------------------------------------*/

.modalidades { padding: 96px 0; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid > * { min-width: 0; }

.modal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.modal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }

.modal-card-index {
  font-family: var(--font-head); font-size: 0.85rem; color: var(--accent-deep);
  border: 1.5px solid var(--accent); width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}

.modal-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.modal-card p { font-size: 0.92rem; margin-bottom: 16px; }

.modal-card-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft); padding: 5px 10px; border-radius: var(--radius-sm);
}

/* Como funciona --------------------------------------------------------- */

.how { padding: 96px 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps > * { min-width: 0; }
.step { position: relative; padding: 28px 22px 22px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.step-num { font-family: var(--font-head); font-size: 1.55rem; color: var(--accent); margin-bottom: 14px; }
.step h3 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.88rem; margin-bottom: 0; }

/* Why us ------------------------------------------------------------------*/

.why { padding: 96px 0; background: var(--teal); color: #fff; }
.why .section-head p { color: rgba(255,255,255,0.62); }
.why .eyebrow { color: var(--accent-soft); }
.why .eyebrow::before { background: var(--accent-soft); }
.why .section-head h2 { color: #fff; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-grid > * { min-width: 0; }
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-md); padding: 26px; }
.why-card svg { width: 26px; height: 26px; color: var(--accent-soft); margin-bottom: 16px; }
.why-card h3 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 0; }

/* FAQ ----------------------------------------------------------------- */

.faq { padding: 96px 0; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: none; text-align: left;
  font-family: var(--font-body); font-size: 0.96rem; font-weight: 700; color: var(--ink); cursor: pointer;
}
.faq-question .plus {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.faq-question .plus::before, .faq-question .plus::after { content: ""; position: absolute; background: var(--accent-deep); transition: transform 0.2s ease; }
.faq-question .plus::before { width: 10px; height: 1.5px; }
.faq-question .plus::after { width: 1.5px; height: 10px; }
.faq-item[open] .plus::after { transform: rotate(90deg) scaleY(0); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 24px 22px; font-size: 0.92rem; color: var(--ink-soft); }

/* CTA final ------------------------------------------------------------ */

.final-cta { padding: 88px 0; background: linear-gradient(135deg, var(--accent-deep), var(--accent)); color: #fff; text-align: center; }
.final-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.15rem); max-width: 640px; margin: 0 auto 14px; }
.final-cta p { color: rgba(255,255,255,0.9); max-width: 520px; margin: 0 auto 32px; }
.final-cta .btn-whatsapp { background: var(--teal); }
.final-cta .btn-whatsapp:hover { background: #000; }

/* Disclaimer banner ------------------------------------------------------ */

.disclaimer { padding: 34px 0; background: var(--bg-alt); border-top: 1px solid var(--line); }
.disclaimer .container { max-width: 900px; }
.disclaimer p { font-size: 0.78rem; color: var(--ink-faint); line-height: 1.7; margin: 0; }

/* Footer ------------------------------------------------------------------*/

.site-footer { background: var(--teal); color: rgba(255,255,255,0.6); padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid > * { min-width: 0; }

.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); max-width: 280px; }

.footer-col h4 { font-family: var(--font-body); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 700; color: rgba(255,255,255,0.42); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { font-size: 0.87rem; color: rgba(255,255,255,0.72); }
.footer-col a:hover { color: #fff; }

.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: #fff; }

/* Floating WhatsApp button ---------------------------------------------- */

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--whatsapp); color: #fff; padding: 14px 20px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: 0.87rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.wa-float:hover { background: var(--whatsapp-deep); transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; }

/* Reveal animation -------------------------------------------------------*/

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Simple pages (privacidade / termos) ------------------------------------*/

.legal-page { padding: 64px 0 100px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.legal-updated { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 44px; }
.legal-page h2 { font-size: 1.18rem; margin-top: 40px; }
.legal-page h3 { font-size: 1rem; margin-top: 24px; }
.legal-page ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-page li { margin-bottom: 8px; color: var(--ink-soft); }
.legal-page a.inline-link { color: var(--accent-deep); text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 700; color: var(--accent-deep); margin-bottom: 32px; }
.back-link svg { width: 16px; height: 16px; }

/* Responsive --------------------------------------------------------------*/

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 52px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { aspect-ratio: 16/9; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm.btn-whatsapp span.long { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .trust-bar .container { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}

.main-nav.is-open {
  display: flex; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg);
  border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start;
  padding: 20px 24px 26px; gap: 18px;
}
