/* Ímpar Digital — hover, motion e breakpoints */

@media (hover: hover) {
      .btn:hover { background: rgba(0,228,192,.1); }
    }

@media (hover: hover) {
      .btn-fill:hover { background: #1af0cc; }
    }

@media (hover: hover) {
      .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
        border-color: rgba(0, 228, 192, .28);
      }
    }

@media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .reveal, .wa-ring, .orb, .orb::before, .hero-chip, .hero-glow, .aurora-orb { animation: none; }
      html.js .hero-chip li { animation: none; opacity: 1; transform: none; }
      html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
      html.js .card.is-in::after,
      html.js .card.is-in .ico,
      html.js .why-item.is-in .why-ico { animation: none; }
    }

@media (max-width: 1100px) {
      :root { --gutter: 40px; }
      .hero-grid, .markets-grid, .contact-grid, .attention-grid { grid-template-columns: 1fr; }
      .hero-visual { min-height: 0; }
      .hero-chip {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin-top: -36px;
        padding: 16px 8px 12px;
      }
      .hero-chip li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 12px;
        padding: 12px 6px;
        border-right: 0;
      }
      .hero-chip li:not(:last-child),
      .hero-chip li + li,
      .hero-chip li:nth-child(odd),
      .hero-chip li:nth-child(n+3) { border: 0; }
      .why-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
      .why-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 var(--space-5); }
      .why-item:nth-last-child(-n+2) { border-bottom: 0; }
      .cards { grid-template-columns: 1fr; gap: var(--space-5); }
      .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
      .attention-grid { gap: var(--space-5); }
      .hero-grid > .reveal,
      .markets-intro,
      .contact-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
      .hero p,
      .attention p,
      .markets-intro p,
      .contact .lead,
      .contact h2 { margin-inline: auto; }
      .attention-grid { justify-items: center; text-align: center; }
      .attention p { max-width: 46ch; }
      .card { text-align: center; align-items: center; }
      .card-top {
        justify-content: center;
        width: 100%;
      }
      .card h3 { text-align: center; }
      .card-text { max-width: none; }
    }

@media (max-width: 860px) {
      :root {
        --gutter: 48px;
        --header: 72px;
        --space-5: 20px;
        --space-6: 24px;
        --space-7: 32px;
        --space-8: 40px;
      }
      html { font-size: 16px; }
      body { padding-bottom: 88px; }
      body.nav-open { overflow: hidden; }
      .header {
        height: var(--header);
        padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
        overflow: visible;
        background: rgba(7, 8, 13, .92);
      }
      .header-inner {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: none;
        height: var(--header);
        gap: 16px;
        position: relative;
        z-index: 2;
      }
      .logo { flex: 0 0 auto; }
      .logo img { height: 56px; }
      .nav, .btn-header { display: none; }
      .menu-toggle {
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        z-index: 3;
      }
      .nav.is-open {
        display: flex;
        position: fixed;
        top: var(--header);
        left: 0;
        right: 0;
        z-index: 60;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: #0a0c14;
        padding: 12px 24px 20px;
        gap: 4px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
      }
      .nav.is-open a {
        font-size: 16px;
        min-height: 48px;
        width: auto;
        padding-inline: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .nav.is-open a.is-active::after {
        left: 12px;
        right: 12px;
      }
      .hero { padding: 24px 0 40px; }
      .hero h1 .hw { font-size: clamp(22px, 6.4vw, 30px); }
      .hero h1 .hg { font-size: clamp(26px, 7.2vw, 36px); }
      .hero h1 .hw + .hg { margin-top: 6px; }
      .hero p { font-size: 15px; line-height: 1.65; margin: 16px auto 22px; max-width: none; }
      .hero-chip { width: 100%; max-width: 100%; margin-top: -28px; margin-inline: auto; }
      .hero-chip li { font-size: 12px; }
      .orb { width: min(280px, 100%); }
      .attention { padding: 30px 0; }
      .services,
      .markets,
      .why,
      .contact { padding: 56px 0; }
      .attention h2 { font-size: clamp(24px, 6.8vw, 32px); }
      .attention p { font-size: 15px; }
      .section-title { font-size: clamp(24px, 6.6vw, 32px); margin-bottom: 32px; }
      .card { min-height: 0; padding: 24px 22px; }
      .card-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
      }
      .card h3 { font-size: 18px; text-align: center; }
      .card-text { font-size: 15px; }
      .ico { width: 48px; height: 48px; border-radius: 14px; }
      .ico svg { width: 26px; height: 26px; }
      .markets-intro h2 { font-size: clamp(22px, 6.2vw, 28px); }
      .markets-intro p { font-size: 15px; }
      .panel { min-height: 0; padding: 24px 22px 20px; }
      .panel-kicker {
        font-size: 15px;
        letter-spacing: .02em;
        margin-bottom: 20px;
        text-align: center;
        line-height: 1.3;
      }
      .panel-list { gap: 8px; }
      .panel-list li { font-size: 15px; gap: 12px; }
      .mini { width: 44px; height: 44px; border-radius: 12px; }
      .mini svg { width: 24px; height: 24px; }
      .why-grid { grid-template-columns: 1fr; gap: 0; }
      .why-item {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        max-width: 22rem;
        margin-inline: auto;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--line);
        padding: 0 4px 20px;
        text-align: center;
      }
      .why-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
      .why-ico { width: 44px; height: 44px; margin-bottom: 0; }
      .why-item h3 {
        font-size: 16px;
        margin-bottom: 0;
        text-align: center;
      }
      .why-item p {
        flex: none;
        font-size: 15px;
        text-align: center;
        max-width: none;
      }
      .logo-float { display: none; }
      .btn { white-space: normal; font-size: 14px; padding: 12px 18px; }
      .contact h2 { font-size: clamp(20px, 5.8vw, 24px); max-width: 22ch; }
      .contact .lead { font-size: 15px; }
      .form-box { text-align: left; }
      .form-box h3 { font-size: 16px; text-align: center; }
      .footer { padding: 28px 0 24px; }
      .footer-nav { flex-wrap: wrap; justify-content: center; gap: 10px 16px; font-size: 13px; }
      .copy { font-size: 13px; }
      .wa-float { width: 88px; height: 88px; }
      .wa-btn { width: 48px; height: 48px; }
      .wa-btn svg { width: 24px; height: 24px; }
    }
