:root {
    --ac-green:   #00a651;
    --ac-green-d: #008040;
    --ac-navy:    #1a3a5c;
    --ac-dark:    #111d2e;
    --ac-gray:    #f5f7fa;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
    --shadow-md:  0 6px 24px rgba(0,0,0,0.11);
    --radius:     10px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #333; overflow-x: hidden; line-height: 1.6; }

/* ── Skip link ── */
.skip-link {
    position: absolute; top: -100%; left: 0;
    background: var(--ac-navy); color: white;
    padding: 10px 18px; font-weight: 600; font-size: 0.9rem;
    z-index: 9999; text-decoration: none;
    border-radius: 0 0 var(--radius) 0; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Cookie banner ── */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(10,20,35,0.96); color: white;
    padding: 18px 24px; z-index: 1060; backdrop-filter: blur(6px);
}
.cookie-banner.hidden { display: none; }
.cookie-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cookie-banner p { flex: 1; min-width: 260px; margin: 0; font-size: 0.88rem; line-height: 1.5; }
.cookie-banner a { color: var(--ac-green); }
.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.btn-cookie {
    background: var(--ac-green); color: white; border: none;
    padding: 9px 22px; border-radius: 50px; font-weight: 600;
    font-size: 0.9rem; cursor: pointer; white-space: nowrap; transition: background 0.2s;
}
.btn-cookie:hover { background: var(--ac-green-d); }
.btn-cookie-reject {
    background: transparent; color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.28);
    padding: 9px 18px; border-radius: 50px; font-weight: 600;
    font-size: 0.9rem; cursor: pointer; white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}
.btn-cookie-reject:hover { color: white; border-color: rgba(255,255,255,0.65); }

/* ── Navbar ── */
.site-nav {
    background: var(--ac-dark);
    box-shadow: 0 1px 12px rgba(0,0,0,0.25);
    padding: 10px 0;
    z-index: 1050;
}
.nav-back {
    font-size: 0.85rem; color: rgba(255,255,255,0.65);
    text-decoration: none; display: flex; align-items: center;
    gap: 5px; transition: color 0.2s;
}
.nav-back:hover { color: var(--ac-green); }
.btn-nav-call {
    background: var(--ac-green); color: white; border: none;
    padding: 8px 20px; border-radius: 50px; font-size: 0.9rem;
    font-weight: 600; text-decoration: none; display: flex;
    align-items: center; gap: 6px; white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}
.btn-nav-call:hover { background: var(--ac-green-d); color: white; transform: translateY(-1px); }

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, var(--ac-navy) 0%, var(--ac-green-d) 100%);
    color: white; text-align: center;
    padding: 80px 0 70px;
}
.badge-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 50px; margin-bottom: 1.3rem;
}
.hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800;
    line-height: 1.2; margin-bottom: 1.1rem;
}
.hero-highlight {
    background: linear-gradient(90deg, #6ee7b7, #a7f3d0);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .lead { font-size: clamp(1rem, 2vw, 1.2rem); opacity: 0.88; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-hero {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: var(--ac-green-d);
    padding: 13px 30px; border-radius: 50px;
    font-weight: 700; font-size: 1rem; text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.btn-hero:hover { background: #f0fff5; color: var(--ac-green-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.22); }
.btn-hero--outline {
    background: rgba(255,255,255,0.15); color: white;
    border: 2px solid rgba(255,255,255,0.5); box-shadow: none;
}
.btn-hero--outline:hover { background: white; color: var(--ac-green-d); border-color: white; box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

/* ── Sections ── */
.page-section { padding: 80px 0; }
.bg-ac-gray { background: var(--ac-gray); }
.section-eyebrow {
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--ac-green-d); margin-bottom: 0.5rem;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800;
    color: var(--ac-navy); margin-bottom: 0.8rem;
}
.section-title-line {
    width: 48px; height: 4px; background: var(--ac-green);
    border-radius: 2px; margin: 0 auto 1.4rem;
}
.section-sub { color: #666; font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* ── Download cards ── */
.download-card {
    background: white; border-radius: var(--radius);
    padding: 2.2rem 2rem; box-shadow: var(--shadow-sm);
    text-align: center; display: flex; flex-direction: column;
    align-items: center; height: 100%;
    border-top: 4px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s, border-top-color 0.3s;
}
.download-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-top-color: var(--ac-green); }
.tool-logo { height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.3rem; }
.tool-logo img { max-width: 150px; height: 52px; object-fit: contain; }
.download-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--ac-navy); margin-bottom: 0.7rem; }
.download-card p { color: #666; font-size: 0.95rem; line-height: 1.55; margin-bottom: 1.5rem; flex: 1; }
.btn-download {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--ac-green); color: white;
    padding: 11px 26px; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem; text-decoration: none;
    width: 100%; justify-content: center;
    transition: background 0.2s, transform 0.2s;
}
.btn-download:hover { background: var(--ac-green-d); color: white; transform: translateY(-1px); }

/* ── Steps ── */
.step-card {
    background: white; border-radius: var(--radius);
    padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); height: 100%;
}
.step-num {
    display: inline-flex; width: 44px; height: 44px;
    background: var(--ac-green); color: white;
    border-radius: 50%; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--ac-navy); margin-bottom: 0.6rem; }
.step-card p { color: #666; font-size: 0.95rem; line-height: 1.6; margin: 0; }
.step-card a { color: var(--ac-green-d); font-weight: 600; }

/* ── FAQ (nativo <details>) ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: var(--radius);
    margin-bottom: 0.5rem; overflow: hidden;
}
.faq-question {
    font-weight: 600; color: var(--ac-navy);
    padding: 1.1rem 1.4rem; cursor: pointer;
    list-style: none; display: flex;
    justify-content: space-between; align-items: center;
    background: white; font-size: 1rem; gap: 0.75rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+'; font-size: 1.5rem; font-weight: 300;
    color: var(--ac-green); flex-shrink: 0; transition: transform 0.2s;
}
.faq-item[open] > .faq-question { background: rgba(0,166,81,0.05); }
.faq-item[open] > .faq-question::after { transform: rotate(45deg); }
.faq-answer {
    padding: 0 1.4rem 1.2rem; color: #555;
    font-size: 0.97rem; line-height: 1.7;
    background: white; margin: 0;
}
.faq-answer a { color: var(--ac-green-d); font-weight: 600; }

/* ── WhatsApp float ── */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 58px; height: 58px;
    background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    z-index: 1000; text-decoration: none;
    transition: transform 0.3s, bottom 0.3s;
}
.whatsapp-float:hover { transform: scale(1.12); }
body.cookie-pending .whatsapp-float { bottom: 92px; }

/* ── Footer ── */
.site-footer {
    background: var(--ac-dark);
    color: rgba(255,255,255,0.75);
    padding: 55px 0 24px;
    font-size: 0.92rem;
}
.site-footer h4 {
    color: var(--ac-green);
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.site-footer ul li { margin-bottom: 0.4rem; }
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--ac-green); }
.footer-social { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.footer-social a {
    display: inline-flex; width: 38px; height: 38px;
    border-radius: 50%; background: rgba(255,255,255,0.08);
    align-items: center; justify-content: center;
    font-size: 1.1rem; transition: background 0.25s;
}
.footer-social a:hover { background: var(--ac-green); color: white; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-tagline a { color: rgba(255,255,255,0.6); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 2rem 0 1.2rem; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-copy a { color: rgba(255,255,255,0.55); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero { padding: 60px 0 50px; }
    .hero-ctas { flex-direction: column; }
    .btn-hero { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
    .cookie-actions { width: 100%; }
    .btn-cookie, .btn-cookie-reject { flex: 1; text-align: center; }
}

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

@supports not (backdrop-filter: blur(1px)) {
    .cookie-banner { background: rgba(10,20,35,0.99); }
}
