/* ItaFundi — styles */
:root {
  --orange: #F28C28;
  --orange-dark: #D9731A;
  --navy: #1E2A3A;
  --navy-2: #2C3E55;
  --soft: #FFF6EC;
  --grey: #5f6670;
  --line: #e7e1da;
  --green: #25D366;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif; color: var(--navy); background: #fff; line-height: 1.6; }
h1, h2, h3 { font-family: "Poppins", "Segoe UI", Arial, sans-serif; line-height: 1.2; margin: 0 0 .5em; }
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 42px; height: 42px; }
.brand b { font-family: Poppins, Arial, sans-serif; font-size: 1.45rem; font-weight: 800; letter-spacing: -.3px; }
.brand b span { color: var(--orange); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--navy); font-weight: 600; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.nav a:hover { background: var(--soft); }
.nav a.cta { background: var(--orange); color: #fff; }
.nav a.cta:hover { background: var(--orange-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: #fff; border: 2px solid var(--orange); padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn.dark { background: var(--navy); border-color: var(--navy); }
.btn.dark:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.wa { background: var(--green); border-color: var(--green); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero { background: radial-gradient(circle at 85% 10%, #2f4561 0, var(--navy) 55%); color: #fff; padding: 64px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero .kicker { display: inline-block; background: rgba(242,140,40,.18); color: #ffc58a; font-weight: 700; padding: 5px 14px; border-radius: 30px; font-size: .9rem; margin-bottom: 16px; }
.hero h1 { font-size: 2.7rem; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { font-size: 1.12rem; color: #d7dee8; margin: 0 0 26px; max-width: 560px; }
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { background: #fff; color: var(--navy); border-radius: 20px; padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.hero-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.mini-trades { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-trades a { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; }
.mini-trades a:hover { border-color: var(--orange); background: var(--soft); }
.ico { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 1.15rem; }

/* Sections */
.section { padding: 60px 0; }
.section.alt { background: var(--soft); }
.section-title { text-align: center; font-size: 1.9rem; }
.section-intro { text-align: center; color: var(--grey); max-width: 640px; margin: 0 auto 34px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-family: Poppins, Arial, sans-serif; }
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; color: var(--grey); }
.trades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trade { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--navy); transition: transform .15s, box-shadow .15s; }
.trade:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); border-color: var(--orange); }
.trade .ico { width: 46px; height: 46px; font-size: 1.5rem; margin-bottom: 10px; }
.trade h3 { font-size: 1.05rem; margin-bottom: 4px; }
.trade p { margin: 0; color: var(--grey); font-size: .9rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: 18px; padding: 30px; }
.panel.navy { background: var(--navy); color: #fff; }
.panel.navy p { color: #d7dee8; }
.panel.orange { background: var(--orange); color: #fff; }
.panel ul { padding-left: 20px; margin: 0 0 20px; }
.panel li { margin: 4px 0; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust div { text-align: center; padding: 10px; }
.trust .ico { width: 56px; height: 56px; font-size: 1.6rem; margin: 0 auto 10px; }
.trust h3 { font-size: 1.05rem; }
.trust p { margin: 0; color: var(--grey); }

/* Forms */
.page-head { background: var(--navy); color: #fff; padding: 40px 0; }
.page-head p { color: #d7dee8; margin: 0; max-width: 640px; }
.form-wrap { max-width: 720px; margin: 0 auto; padding: 40px 20px 60px; }
.form { display: grid; gap: 18px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; display: grid; gap: 16px; }
.form legend { font-family: Poppins, Arial, sans-serif; font-weight: 700; padding: 0 8px; color: var(--orange-dark); }
.form label { font-weight: 600; display: grid; gap: 6px; font-size: .97rem; }
.form .hint { font-weight: 400; color: var(--grey); font-size: .88rem; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #d6d0c9; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; color: var(--navy); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,140,40,.18); }
.form textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #d6d0c9; border-radius: 30px; padding: 7px 14px; font-weight: 600; font-size: .92rem; cursor: pointer; }
.chips input { width: auto; margin: 0; accent-color: var(--orange); }
.chips label:has(input:checked) { border-color: var(--orange); background: var(--soft); }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; }
.consent input { width: auto; margin-top: 4px; accent-color: var(--orange); }
.msg { padding: 16px; border-radius: 12px; display: none; }
.msg.ok { display: block; background: #e8f7ee; color: #14532d; }
.msg.err { display: block; background: #fdecea; color: #8a1c13; }
.msg.info { display: block; background: var(--soft); }
.req { color: var(--orange-dark); }

/* Text pages */
.prose { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }

/* Footer */
.site-footer { background: var(--navy); color: #c7d0dc; padding: 34px 0; font-size: .93rem; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.foot a { color: #fff; text-decoration: none; margin-right: 14px; }
.foot .by { color: #ffc58a; font-weight: 600; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 30; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Install banner */
.install { display: none; position: fixed; left: 12px; right: 12px; bottom: 86px; max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); z-index: 40; align-items: center; gap: 12px; }
.install.show { display: flex; }
.install img { width: 40px; height: 40px; }
.install div { flex: 1; font-size: .92rem; }
.install button { background: none; border: 0; font-size: 1.3rem; color: var(--grey); cursor: pointer; }

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .trades { grid-template-columns: repeat(2, 1fr); }
  .steps, .trust { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
}
@media (max-width: 560px) {
  .header-inner { padding: 8px 14px; }
  .nav a:not(.cta) { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 50px; }
  .hero h1 { font-size: 1.85rem; }
  .section { padding: 44px 0; }
  .trades { gap: 10px; }
  .trade { padding: 14px; }
}
