/**
 * SheetPro Theme Custom Styles
 */

/* WordPress Core Alignment */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; max-width: 100%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }

/* WordPress Navigation */
.nav-links { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.nav-links a, .nav-links span { padding: 0.5rem 1rem; border: 1px solid #e5e7eb; border-radius: 0.5rem; }
.nav-links .current { background: #2563eb; color: white; border-color: #2563eb; }
.nav-links a:hover { background: #f9fafb; }

/* Custom Logo */
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 40px; width: auto; }

/* Navigation Menu Items */
.menu-item a { color: #374151; font-weight: 500; transition: color 0.15s; }
.menu-item a:hover { color: #2563eb; }
.current-menu-item a { color: #2563eb; }

/* Widget Styles */
.widget { margin-bottom: 2rem; }
.widget-title { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; color: white; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { margin-bottom: 0.5rem; }
.widget ul li a { color: #9ca3af; transition: color 0.15s; }
.widget ul li a:hover { color: white; }

/* FAQ Toggle Animation */
.faq-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Download Button Animation */
.download-btn { position: relative; overflow: hidden; }
.download-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.download-btn:active::after { width: 200px; height: 200px; }

/* Mobile Menu */
#mobile-menu.active { display: block; }

/* Cookie Banner Animation */
#cookie-banner.show { display: block; animation: slideUp 0.3s ease; }
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Scroll to Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 40;
}
#scroll-to-top:hover { background: #1d4ed8; transform: translateY(-2px); }
#scroll-to-top.show { display: flex; }

/* Print Styles */
@media print {
    header, footer, .download-btn, #cookie-banner, #scroll-to-top { display: none !important; }
    body { font-size: 12pt; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

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

/* =====================================================
   EXCEL MOCKUP STYLES
   ===================================================== */

.excel-mockup-container {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.3s ease;
}

.excel-mockup-container:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.excel-window {
    background: #f3f3f3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 11px;
}

/* Title Bar */
.excel-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, #217346 0%, #1a5c38 100%);
    padding: 6px 12px;
    color: white;
}

.excel-titlebar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.excel-icon {
    width: 18px;
    height: 18px;
}

.excel-filename {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.95;
}

.excel-titlebar-buttons {
    display: flex;
    gap: 8px;
}

.excel-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.excel-btn.minimize { background: #f5c242; }
.excel-btn.maximize { background: #3dc04f; }
.excel-btn.close { background: #ed594a; }

/* Ribbon */
.excel-ribbon {
    background: #217346;
    padding: 4px 12px;
    border-bottom: 1px solid #1a5c38;
}

.excel-ribbon-tabs {
    display: flex;
    gap: 16px;
    color: white;
    font-size: 11px;
}

.excel-ribbon-tabs span {
    padding: 4px 0;
    opacity: 0.7;
    cursor: pointer;
}

.excel-ribbon-tabs span.active {
    opacity: 1;
    border-bottom: 2px solid white;
}

/* Formula Bar */
.excel-formula-bar {
    display: flex;
    align-items: center;
    background: white;
    border-bottom: 1px solid #d6d6d6;
    padding: 4px 8px;
    gap: 8px;
}

.excel-cell-ref {
    min-width: 50px;
    padding: 2px 6px;
    background: #f5f5f5;
    border: 1px solid #d6d6d6;
    font-size: 10px;
    text-align: center;
}

.excel-fx {
    color: #666;
    font-style: italic;
    font-size: 10px;
}

.excel-formula-input {
    flex: 1;
    padding: 2px 6px;
    background: white;
    border: 1px solid #d6d6d6;
    font-size: 10px;
    color: #333;
    min-height: 18px;
}

/* Spreadsheet Grid */
.excel-sheet-area {
    background: white;
    overflow: hidden;
}

.excel-grid {
    display: grid;
    grid-template-columns: 30px repeat(5, minmax(0, 1fr));
    border: 1px solid #d6d6d6;
}

.excel-corner {
    background: #f5f5f5;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
}

.excel-col-header {
    background: #f5f5f5;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    padding: 4px;
    text-align: center;
    font-weight: 500;
    color: #333;
}

.excel-row-header {
    background: #f5f5f5;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    padding: 4px;
    text-align: center;
    font-weight: 500;
    color: #333;
}

.excel-cell {
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 4px 6px;
    min-height: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

/* Cell Types */
.excel-cell.header-cell {
    background: #217346;
    color: white;
    font-weight: 600;
}

.excel-cell.number-cell {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.excel-cell.currency-cell {
    text-align: right;
    color: #1a5c38;
    font-weight: 500;
}

.excel-cell.total-label {
    font-weight: 600;
    text-align: right;
}

.excel-cell.total-cell {
    font-weight: 700;
    text-align: right;
    background: #f0f7f4;
}

.excel-cell.total-cell.highlight {
    background: #d4edda;
    color: #155724;
}

.excel-cell.positive {
    color: #28a745;
}

.excel-cell.warning {
    color: #ffc107;
}

.excel-cell.critical {
    color: #dc3545;
    font-weight: 600;
}

/* Sheet Tabs */
.excel-sheet-tabs {
    display: flex;
    align-items: flex-end;
    background: #e0e0e0;
    padding: 4px 8px 0;
    gap: 2px;
}

.excel-sheet-tab {
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 4px 4px 0 0;
    font-size: 10px;
    color: #666;
    cursor: pointer;
    border: 1px solid #c0c0c0;
    border-bottom: none;
}

.excel-sheet-tab.active {
    background: white;
    color: #333;
    font-weight: 500;
}

.excel-sheet-tab-add {
    padding: 4px 8px;
    color: #888;
    cursor: pointer;
    font-size: 12px;
}

/* Status Bar */
.excel-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #217346;
    padding: 3px 12px;
    color: white;
    font-size: 10px;
}

.excel-status-left {
    opacity: 0.9;
}

.excel-zoom {
    opacity: 0.8;
}

/* Decorative Elements */
.excel-mockup-shadow {
    position: absolute;
    bottom: -15px;
    left: 10%;
    right: 10%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, transparent 70%);
    filter: blur(8px);
    z-index: -1;
}

.excel-mockup-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}

/* Preview Notice */
.excel-preview-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.excel-preview-notice .notice-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.excel-preview-notice p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.excel-preview-notice strong {
    color: white;
}

/* ============ AVG Search (header centered + hero + mobile) ============ */
.avg-search-form { position: relative; }
/* header variant: hidden on mobile, flex-grow centered on desktop */
.avg-search-form--header { display: none; }
@media (min-width: 768px) {
  .avg-search-form--header { display: flex; align-items: center; }
}
.avg-search-input {
  width: 100%; padding: 0.55rem 0.9rem 0.55rem 2.4rem;
  font-size: 0.875rem; color: #111827;
  background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 0.5rem;
  outline: none; transition: box-shadow .15s, border-color .15s; -webkit-appearance: none;
}
.avg-search-input:focus { border-color: var(--avg-secondary,#3B82F6); box-shadow: 0 0 0 3px rgba(59,130,246,.18); background:#fff; }
.avg-search-icon { position:absolute; left:0.8rem; top:50%; transform:translateY(-50%); width:1rem; height:1rem; color:#9ca3af; pointer-events:none; }
.avg-search-submit { position:absolute; right:0.35rem; top:50%; transform:translateY(-50%); background:transparent; border:0; cursor:pointer; padding:0.3rem; color:#9ca3af; display:flex; align-items:center; }
.avg-search-submit:hover { color: var(--avg-secondary,#3B82F6); }
/* hero variant */
.avg-search-form--hero { max-width:36rem; margin:0 auto 2rem; }
.avg-search-form--hero .avg-search-input { padding:1rem 7.5rem 1rem 2.9rem; font-size:1rem; background:#fff; border:0; border-radius:0.75rem; box-shadow:0 20px 40px -12px rgba(0,0,0,.35); }
.avg-search-form--hero .avg-search-icon { left:1.1rem; width:1.25rem; height:1.25rem; }
.avg-search-form--hero .avg-search-button { position:absolute; right:0.5rem; top:50%; transform:translateY(-50%); background:var(--avg-secondary,#3B82F6); color:#fff; font-weight:600; border:0; border-radius:0.5rem; padding:0.6rem 1.4rem; cursor:pointer; transition:background .15s; }
.avg-search-form--hero .avg-search-button:hover { background:var(--avg-primary,#1E3A8A); }
/* mobile variant */
.avg-search-form--mobile { padding:0 0.5rem 0.5rem; display:block; }

/* nav spacing (compiled tailwind lacks space-x-6) */
.avg-header-nav { gap: 1.75rem; }
.avg-header-nav > ul { display:flex; align-items:center; gap:1.75rem; margin:0; padding:0; list-style:none; }
.avg-header-nav > ul > a, .avg-header-nav > ul > li { white-space: nowrap; }
.avg-search-form--header { max-width: 30rem; margin-left: 2.5rem; margin-right: 2.5rem; }
@media (max-width: 1100px){ .avg-search-form--header { margin-left:1.25rem; margin-right:1.25rem; } }

/* ═══════════════════════════════════════════════════
   Excel Haven identity — teal #0F766E + amber #F59E0B, Space Grotesk
   Overrides the Tailwind blue palette site-wide
   ═══════════════════════════════════════════════════ */
:root {
    --eh-primary: #EA580C;      /* laranja raposa (orange 600) */
    --eh-primary-600: #F97316;  /* orange 500 */
    --eh-primary-800: #C2410C;  /* orange 700 */
    --eh-primary-900: #9A3412;  /* orange 800 */
    --eh-accent: #16A34A;       /* verde (green 600) */
    --eh-accent-600: #15803D;   /* green 700 */
    --eh-ink: #0F172A;          /* navy / slate 900 */
    --eh-body: #475569;         /* slate 600 */
    --eh-muted: #64748B;        /* slate 500 */
    --eh-line: #E7E1D8;         /* warm line */
    --eh-surface: #FFF7ED;      /* warm off-white (orange 50) */
    --avg-primary: #0F766E; --avg-secondary: #0D9488;
}

/* Map the donor's hard-coded Tailwind blues onto the teal/amber palette */
.from-blue-900 { --tw-gradient-from: var(--eh-primary-900) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(19,78,74,0)) !important; }
.via-blue-800 { --tw-gradient-stops: var(--tw-gradient-from), var(--eh-primary-800), var(--tw-gradient-to, rgba(17,94,89,0)) !important; }
.to-blue-700 { --tw-gradient-to: var(--eh-primary) !important; }
.bg-gradient-to-br.from-blue-900, .bg-gradient-to-r.from-blue-600 { background: linear-gradient(135deg, var(--eh-primary-900), var(--eh-primary)) !important; }
.from-blue-600 { --tw-gradient-from: var(--eh-primary-600) !important; }
.bg-blue-600 { background-color: var(--eh-primary) !important; }
.hover\:bg-blue-700:hover { background-color: var(--eh-primary-800) !important; }
.bg-blue-700, .bg-blue-800, .bg-blue-900 { background-color: var(--eh-primary-800) !important; }
.text-blue-600, .text-blue-700 { color: var(--eh-primary) !important; }
.text-blue-800, .text-blue-900 { color: var(--eh-primary-900) !important; }
.hover\:text-blue-600:hover { color: var(--eh-primary) !important; }
.hover\:text-blue-700:hover { color: var(--eh-primary-800) !important; }
.text-blue-100 { color: #CCFBF1 !important; }
.text-blue-200 { color: #99F6E4 !important; }
.bg-blue-100 { background-color: #CCFBF1 !important; }
.bg-blue-50 { background-color: #F0FDFA !important; }
.border-blue-200 { border-color: #99F6E4 !important; }
.hover\:bg-blue-50:hover { background-color: #F0FDFA !important; }
.focus\:ring-blue-500:focus { --tw-ring-color: var(--eh-primary-600) !important; }
.focus\:border-blue-500:focus { border-color: var(--eh-primary-600) !important; }
.bg-white\/10 { background-color: rgba(255,255,255,0.12) !important; }
#scroll-to-top { background: var(--eh-primary) !important; }
#scroll-to-top:hover { background: var(--eh-primary-800) !important; }
.nav-links .current { background: var(--eh-primary) !important; border-color: var(--eh-primary) !important; }
:focus-visible { outline-color: var(--eh-primary) !important; }
.avg-search-input:focus { border-color: var(--eh-primary-600); box-shadow: 0 0 0 3px rgba(13,148,136,.18); }

/* ═══════════════════════════════════════════════════
   Excel Haven — own component system (eh-*)
   Hand-authored because tailwind.css is a purged static build.
   ═══════════════════════════════════════════════════ */

/* Accent strip + header */
.eh-accent-strip { height: 4px; background: linear-gradient(90deg, var(--eh-primary), var(--eh-accent)); }
.eh-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--eh-line); }
.eh-header__bar { display: flex; align-items: center; gap: 1.25rem; height: 4.25rem; }
.eh-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.eh-brand__mark { display: inline-flex; width: 2.1rem; height: 2.1rem; border-radius: .6rem; align-items: center; justify-content: center; background: var(--eh-primary); color: #fff; }
.eh-brand__mark svg { width: 1.25rem; height: 1.25rem; }
.eh-brand__name { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; color: var(--eh-ink); }
.eh-nav { align-items: center; }
.eh-nav__list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.eh-nav__list a { color: var(--eh-body); font-weight: 500; text-decoration: none; transition: color .15s; white-space: nowrap; }
.eh-nav__list a:hover { color: var(--eh-primary); }
.eh-header__actions { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.eh-menu-toggle { padding: .5rem; border-radius: .5rem; color: var(--eh-body); background: transparent; border: 0; cursor: pointer; }
.eh-menu-toggle:hover { background: var(--eh-surface); }
.eh-mobile-menu { border-top: 1px solid var(--eh-line); background: #fff; }
.eh-mobile-menu a { color: var(--eh-body); text-decoration: none; }
.eh-mobile-menu a.eh-btn { color: #fff; }

/* Buttons */
.eh-btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; border-radius: .6rem; padding: .6rem 1.1rem; text-decoration: none; transition: background .15s, color .15s, transform .15s, box-shadow .15s; cursor: pointer; line-height: 1.2; }
.eh-btn svg { width: 1.1rem; height: 1.1rem; }
.eh-btn--primary { background: var(--eh-primary); color: #fff; }
.eh-btn--primary:hover { background: var(--eh-primary-800); }
.eh-btn--ghost { background: transparent; color: var(--eh-primary); border: 1px solid var(--eh-line); }
.eh-btn--ghost:hover { border-color: var(--eh-primary); background: #F0FDFA; }
.eh-btn--light { background: #fff; color: var(--eh-primary-900); }
.eh-btn--light:hover { background: var(--eh-surface); }
.eh-btn--download { background: var(--eh-accent); color: #422006; box-shadow: 0 8px 20px -8px rgba(217,119,6,.6); }
.eh-btn--download:hover { background: var(--eh-accent-600); color: #fff; }
.eh-btn--lg { padding: .85rem 1.6rem; font-size: 1.05rem; }
.eh-btn.w-full { width: 100%; }

/* Section heading */
.eh-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.eh-section-head--center { justify-content: center; text-align: center; }
.eh-section-head--center > div { max-width: 42rem; }
.eh-section-head__kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--eh-primary); margin-bottom: .5rem; }
.eh-section-head__title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; color: var(--eh-ink); }
.eh-section-head__lede { margin-top: .6rem; font-size: 1.05rem; color: var(--eh-body); line-height: 1.6; }
.eh-section-head__link { flex-shrink: 0; }

/* Hero */
.eh-hero { background: radial-gradient(120% 120% at 100% 0%, #F0FDFA 0%, #fff 55%); padding: 3.5rem 0 4rem; border-bottom: 1px solid var(--eh-line); }
.eh-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: center; }
.eh-hero__copy { min-width: 0; }
.eh-hero__eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--eh-primary-800); background: #CCFBF1; padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.1rem; }
.eh-hero__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--eh-accent); }
.eh-hero__title { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; color: var(--eh-ink); }
.eh-hero__lede { margin: 1.1rem 0 1.6rem; font-size: 1.12rem; line-height: 1.6; color: var(--eh-body); max-width: 34rem; }
.eh-hero__usps { display: flex; flex-wrap: wrap; gap: 1.1rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.eh-hero__usps li { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--eh-body); }
.eh-hero__usps svg { width: 1.15rem; height: 1.15rem; color: var(--eh-primary); flex-shrink: 0; }
.eh-hero__aside { min-width: 0; }
.eh-hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.eh-stat { background: #fff; border: 1px solid var(--eh-line); border-radius: .8rem; padding: 1rem; text-align: center; }
.eh-stat__num { display: block; font-size: 1.5rem; font-weight: 700; color: var(--eh-primary); }
.eh-stat__label { display: block; font-size: .8rem; color: var(--eh-muted); margin-top: .15rem; }

/* Static spreadsheet visual (hero + single placeholder) */
.eh-sheet { background: #fff; border-radius: 1rem; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(15,118,110,.45); border: 1px solid var(--eh-line); font-size: .8rem; }
.eh-sheet__bar { display: flex; align-items: center; gap: .4rem; background: var(--eh-primary-900); padding: .6rem .9rem; }
.eh-sheet__dot { width: .7rem; height: .7rem; border-radius: 50%; }
.eh-sheet__dot--r { background: #ef5350; } .eh-sheet__dot--y { background: #f5c242; } .eh-sheet__dot--g { background: #3dc04f; }
.eh-sheet__file { margin-left: .6rem; color: #CCFBF1; font-weight: 500; }
.eh-sheet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eh-sheet__cell { padding: .55rem .7rem; border-right: 1px solid var(--eh-line); border-bottom: 1px solid var(--eh-line); color: var(--eh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eh-sheet__cell--head { background: var(--eh-surface); font-weight: 700; text-align: center; color: var(--eh-muted); }
.eh-sheet__cell--n { text-align: right; font-variant-numeric: tabular-nums; }
.eh-sheet__cell--f { color: var(--eh-primary); font-weight: 600; }
.eh-sheet__cell--tot { background: #F0FDFA; font-weight: 700; }
.eh-sheet__tabs { display: flex; gap: .35rem; padding: .5rem .9rem; background: var(--eh-surface); }
.eh-sheet__tab { font-size: .72rem; padding: .25rem .7rem; border-radius: .4rem .4rem 0 0; background: #fff; color: var(--eh-muted); border: 1px solid var(--eh-line); }
.eh-sheet__tab--on { color: var(--eh-primary); font-weight: 600; border-bottom-color: #fff; }

/* Features / voordelen */
.eh-features { padding: 4rem 0; background: #fff; }
.eh-features__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 3rem; align-items: start; }
.eh-features__intro { position: sticky; top: 6rem; }
.eh-features__list { display: grid; gap: 1.1rem; }
.eh-feature { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: start; gap: 1rem; background: var(--eh-surface); border: 1px solid var(--eh-line); border-radius: .9rem; padding: 1.2rem 1.3rem; transition: border-color .15s, box-shadow .15s; }
.eh-feature:hover { border-color: #99F6E4; box-shadow: 0 12px 30px -18px rgba(15,118,110,.5); }
.eh-feature__num { font-size: .9rem; font-weight: 700; color: var(--eh-accent-600); }
.eh-feature__icon { width: 2.5rem; height: 2.5rem; border-radius: .65rem; background: #CCFBF1; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.eh-feature__icon svg { width: 1.35rem; height: 1.35rem; color: var(--eh-primary); }
.eh-feature__title { font-weight: 600; color: var(--eh-ink); margin-bottom: .25rem; }
.eh-feature__desc { color: var(--eh-body); line-height: 1.55; }

/* Latest / cards grid */
.eh-latest { padding: 4rem 0; background: var(--eh-surface); }
.eh-grid { display: grid; gap: 1.5rem; }
.eh-grid--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eh-grid--sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Template card */
.eh-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--eh-line); border-radius: 1rem; overflow: hidden; min-width: 0; transition: transform .18s, box-shadow .18s, border-color .18s; }
.eh-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -22px rgba(15,23,42,.35); border-color: #99F6E4; }
.eh-card__head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; padding: 1.1rem 1.2rem; background: linear-gradient(135deg, color-mix(in srgb, var(--eh-cat, #0F766E) 14%, #fff), #fff); border-bottom: 1px solid var(--eh-line); }
.eh-card__glyph { width: 2.4rem; height: 2.4rem; border-radius: .6rem; background: var(--eh-cat, #0F766E); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.eh-card__glyph svg { width: 1.35rem; height: 1.35rem; }
.eh-card__badge { align-self: center; font-size: .72rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; color: #fff; background: var(--eh-cat, #0F766E); }
.eh-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.2rem; min-width: 0; }
.eh-card__title { font-size: 1.05rem; font-weight: 600; line-height: 1.35; margin-bottom: .5rem; }
.eh-card__title a { color: var(--eh-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eh-card__title a:hover { color: var(--eh-primary); }
.eh-card__desc { color: var(--eh-muted); font-size: .92rem; line-height: 1.5; margin-bottom: 1.1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eh-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--eh-line); }
.eh-card__downloads { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; color: var(--eh-muted); }
.eh-card__downloads svg { width: 1rem; height: 1rem; }
.eh-card__cta { display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; font-size: .9rem; color: var(--eh-primary); text-decoration: none; }
.eh-card__cta svg { width: 1rem; height: 1rem; transition: transform .15s; }
.eh-card:hover .eh-card__cta svg { transform: translateX(3px); }

/* Small related card */
.eh-card-sm { min-width: 0; }
.eh-card-sm__link { display: flex; flex-direction: column; gap: .6rem; height: 100%; background: #fff; border: 1px solid var(--eh-line); border-radius: .85rem; padding: 1.1rem; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.eh-card-sm__link:hover { border-color: #99F6E4; box-shadow: 0 14px 30px -20px rgba(15,23,42,.4); }
.eh-card-sm__icon { width: 2.2rem; height: 2.2rem; border-radius: .55rem; background: #CCFBF1; display: inline-flex; align-items: center; justify-content: center; }
.eh-card-sm__icon svg { width: 1.2rem; height: 1.2rem; color: var(--eh-primary); }
.eh-card-sm__title { font-weight: 600; color: var(--eh-ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eh-card-sm__meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; font-size: .82rem; }
.eh-card-sm__dl { display: inline-flex; align-items: center; gap: .3rem; color: var(--eh-muted); }
.eh-card-sm__dl svg { width: .95rem; height: .95rem; }
.eh-card-sm__free { color: var(--eh-accent-600); font-weight: 600; }

/* Categories grid */
.eh-cats { padding: 4rem 0; background: #fff; }
.eh-cats__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.eh-cat { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; min-width: 0; background: #fff; border: 1px solid var(--eh-line); border-radius: .9rem; padding: 1.2rem; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.eh-cat:hover { transform: translateY(-2px); border-color: var(--eh-cat, #0F766E); box-shadow: 0 14px 30px -20px rgba(15,23,42,.4); }
.eh-cat__icon { width: 2.6rem; height: 2.6rem; border-radius: .7rem; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--eh-cat, #0F766E) 14%, #fff); }
.eh-cat__icon svg { width: 1.4rem; height: 1.4rem; color: var(--eh-cat, #0F766E); }
.eh-cat__name { font-weight: 600; color: var(--eh-ink); }
.eh-cat__count { font-size: .82rem; color: var(--eh-muted); }

/* FAQ */
.eh-faq { padding: 4rem 0; background: var(--eh-surface); }
.eh-faq__list { display: grid; gap: .8rem; }
.eh-faq__item { background: #fff; border: 1px solid var(--eh-line); border-radius: .8rem; overflow: hidden; }
.eh-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; background: transparent; border: 0; cursor: pointer; text-align: left; font-weight: 600; color: var(--eh-ink); font-family: inherit; font-size: 1rem; }
.eh-faq__q:hover { background: var(--eh-surface); }
.eh-faq__chev { width: 1.25rem; height: 1.25rem; color: var(--eh-muted); flex-shrink: 0; transition: transform .2s; }
.eh-faq__q[aria-expanded="true"] .eh-faq__chev { transform: rotate(180deg); }
.eh-faq__a { padding: 0 1.3rem 1.2rem; color: var(--eh-body); }

/* CTA */
.eh-cta { padding: 4rem 0; background: #fff; }
.eh-cta__panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; background: linear-gradient(135deg, var(--eh-primary-900), var(--eh-primary)); border-radius: 1.4rem; padding: 2.6rem; color: #fff; overflow: hidden; position: relative; }
.eh-cta__panel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(245,158,11,.35), transparent 70%); }
.eh-cta__text { max-width: 40rem; position: relative; z-index: 1; }
.eh-cta__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.02em; }
.eh-cta__desc { margin-top: .7rem; font-size: 1.05rem; color: #CCFBF1; line-height: 1.6; }
.eh-cta__note { margin-top: 1rem; font-size: .85rem; color: #99F6E4; }
.eh-cta__action { position: relative; z-index: 1; }

/* Footer */
.eh-footer { background: #0B1220; color: #94A3B8; }
.eh-footer__inner { padding: 3.5rem 1rem 2rem; }
.eh-footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.eh-footer__heading { color: #fff; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.eh-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.eh-footer__links a { color: #94A3B8; text-decoration: none; transition: color .15s; }
.eh-footer__links a:hover { color: #fff; }
.eh-footer__brand { min-width: 0; }
.eh-footer__logo { font-size: 1.3rem; font-weight: 700; color: #fff; text-decoration: none; }
.eh-footer__tagline { margin-top: .8rem; font-size: .9rem; line-height: 1.6; color: #94A3B8; }
.eh-footer__social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.eh-footer__social a { color: #94A3B8; transition: color .15s; }
.eh-footer__social a:hover { color: #fff; }
.eh-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(148,163,184,.18); font-size: .85rem; }
.eh-footer__note { color: #64748B; }

/* Cookie bar */
.eh-cookiebar { background: #fff; box-shadow: 0 -8px 30px -12px rgba(15,23,42,.25); border-top: 1px solid var(--eh-line); padding: 1rem; }

/* Internal / legal page hero */
.eh-page-hero { background: linear-gradient(135deg, var(--eh-primary-900), var(--eh-primary)); color: #fff; padding: 3rem 0; position: relative; overflow: hidden; }
.eh-page-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--eh-accent); }
.eh-page-hero__inner { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }
.eh-page-hero__eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #99F6E4; margin-bottom: .7rem; }
.eh-page-hero__title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.eh-page-hero__lede { margin-top: .9rem; font-size: 1.1rem; color: #CCFBF1; max-width: 42rem; line-height: 1.55; }
.eh-page-hero__meta { margin-top: .8rem; font-size: .85rem; color: #99F6E4; }

/* Legal / content cards */
.eh-legal-card { background: #fff; border: 1px solid var(--eh-line); border-radius: 1rem; box-shadow: 0 18px 40px -30px rgba(15,23,42,.4); }
.eh-cta-box { background: #F0FDFA; border: 1px solid #99F6E4; border-radius: 1rem; }

/* Single template page */
.eh-single-hero { background: radial-gradient(120% 120% at 0% 0%, #F0FDFA 0%, #fff 55%); padding: 2.5rem 0 3rem; border-bottom: 1px solid var(--eh-line); }
.eh-single-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: center; }
.eh-single-hero__copy { min-width: 0; }
.eh-single-hero__cat { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--eh-primary-800); background: #CCFBF1; padding: .3rem .8rem; border-radius: 999px; text-decoration: none; margin-bottom: 1rem; }
.eh-single-hero__cat:hover { background: #99F6E4; }
.eh-single-hero__title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--eh-ink); }
.eh-single-hero__lede { margin: 1rem 0 1.4rem; font-size: 1.1rem; color: var(--eh-body); line-height: 1.6; }
.eh-single-hero__facts { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1.6rem; }
.eh-fact { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; color: var(--eh-muted); }
.eh-fact svg { width: 1.1rem; height: 1.1rem; color: var(--eh-primary); }
.eh-single-hero__media { min-width: 0; }
.eh-single-hero__placeholder .eh-sheet { max-width: 30rem; margin-left: auto; }

/* Screenshot slider (ported) */
.eh-shots__card { background: #fff; border-radius: 1.1rem; box-shadow: 0 30px 60px -25px rgba(15,118,110,.4); overflow: hidden; border: 1px solid var(--eh-line); }
.eh-shots__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.eh-shots__track::-webkit-scrollbar { display: none; }
.eh-shots__slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.eh-shots__slide img { display: block; width: 100%; height: auto; }
.eh-shots__cap { font-size: .78rem; font-weight: 600; color: var(--eh-muted); text-align: center; padding: .55rem; background: var(--eh-surface); }
.eh-shots__nav { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .7rem; background: var(--eh-surface); }
.eh-shots__btn { width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: #E2E8F0; color: #334155; font-size: 1.1rem; line-height: 1; cursor: pointer; flex: none; }
.eh-shots__btn:hover { background: #CBD5E1; }
.eh-shots__dots { display: flex; gap: .4rem; align-items: center; }
.eh-shots__dot { width: .5rem; height: .5rem; border-radius: 50%; background: #CBD5E1; border: 0; padding: 0; cursor: pointer; transition: .2s; }
.eh-shots__dot.on { background: var(--eh-primary); width: 1.3rem; border-radius: .35rem; }

/* Single body */
.eh-single-body { padding: 3.5rem 0; }
.eh-single-body__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem; }
.eh-single-body__main { min-width: 0; }
.eh-h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; color: var(--eh-ink); margin-bottom: 1.2rem; }
.eh-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.eh-benefit { display: flex; align-items: flex-start; gap: .75rem; color: var(--eh-body); }
.eh-benefit svg { width: 1.35rem; height: 1.35rem; color: var(--eh-primary); flex-shrink: 0; margin-top: .1rem; }
.eh-featgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.eh-featgrid__item { display: flex; align-items: center; gap: .7rem; background: var(--eh-surface); border: 1px solid var(--eh-line); border-radius: .7rem; padding: .9rem 1rem; color: var(--eh-body); min-width: 0; }
.eh-featgrid__item svg { width: 1.2rem; height: 1.2rem; color: var(--eh-primary); flex-shrink: 0; }
.eh-single-body__aside { min-width: 0; }
.eh-sticky { position: sticky; top: 6rem; }
.eh-dlcard { background: #fff; border: 1px solid var(--eh-line); border-radius: 1rem; box-shadow: 0 18px 40px -28px rgba(15,23,42,.45); padding: 1.4rem; }
.eh-dlcard__title { font-weight: 700; color: var(--eh-ink); margin-bottom: 1rem; }
.eh-dlcard__specs { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .6rem; }
.eh-dlcard__specs li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; font-size: .88rem; }
.eh-dlcard__specs span { color: var(--eh-muted); }
.eh-dlcard__specs strong { color: var(--eh-ink); text-align: right; }
.eh-dlcard__free { color: var(--eh-accent-600) !important; }
.eh-catcard { background: var(--eh-surface); border: 1px solid var(--eh-line); border-radius: 1rem; padding: 1.4rem; }
.eh-catcard__title { font-weight: 700; color: var(--eh-ink); margin-bottom: 1rem; }
.eh-catcard__link { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--eh-line); border-radius: .7rem; padding: .8rem; text-decoration: none; transition: box-shadow .15s; }
.eh-catcard__link:hover { box-shadow: 0 12px 25px -18px rgba(15,23,42,.4); }
.eh-catcard__icon { width: 2.4rem; height: 2.4rem; border-radius: .6rem; background: #CCFBF1; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.eh-catcard__icon svg { width: 1.25rem; height: 1.25rem; color: var(--eh-primary); }
.eh-catcard__link strong { display: block; color: var(--eh-ink); }
.eh-catcard__link em { display: block; font-style: normal; font-size: .82rem; color: var(--eh-muted); }

/* Related */
.eh-related { padding: 3.5rem 0; background: var(--eh-surface); }

/* E-E-A-T byline (hero) */
.eh-byline { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 0 1.6rem; }
.eh-byline__person { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.eh-byline__avatar { flex-shrink: 0; display: inline-flex; }
.eh-byline__avatar img, .eh-byline__img { max-width: none; width: 2rem; height: 2rem; border-radius: 999px; display: block; object-fit: cover; }
.eh-byline__text { font-size: .9rem; color: var(--eh-muted); }
.eh-byline__text a { color: inherit; text-decoration: none; }
.eh-byline__text strong { color: var(--eh-ink); font-weight: 700; }
.eh-byline__text a:hover strong { color: var(--eh-primary); }
.eh-byline__sep { color: var(--eh-line); font-weight: 700; }

/* E-E-A-T author box (Over de makers) */
.eh-authors { border-top: 1px solid var(--eh-line); padding-top: 2rem; }
.eh-authors__intro { margin: -.4rem 0 1.6rem; color: var(--eh-body); }
.eh-authors__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.eh-author { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; background: var(--eh-surface); border: 1px solid var(--eh-line); border-radius: 1rem; padding: 1.3rem; }
.eh-author__avatar { flex-shrink: 0; display: inline-flex; }
.eh-author__avatar img, .eh-author__img { max-width: none; width: 4.5rem; height: 4.5rem; border-radius: 999px; display: block; object-fit: cover; }
.eh-author__body { min-width: 0; }
.eh-author__name { display: block; font-weight: 700; color: var(--eh-ink); text-decoration: none; }
.eh-author__name:hover { color: var(--eh-primary); }
.eh-author__role { display: block; font-size: .82rem; font-weight: 600; color: var(--eh-primary); margin: .15rem 0 .5rem; }
.eh-author__bio { font-size: .9rem; color: var(--eh-body); line-height: 1.55; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .eh-hero__grid, .eh-single-hero__grid, .eh-features__layout, .eh-single-body__grid { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
    .eh-features__intro { position: static; }
    .eh-sticky { position: static; }
    .eh-cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .eh-grid--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eh-single-hero__placeholder .eh-sheet { margin: 0 auto; }
}
@media (max-width: 768px) {
    .eh-header__actions .avg-search-form--header { display: none; }
    .eh-grid--cards { grid-template-columns: minmax(0, 1fr); }
    .eh-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eh-featgrid { grid-template-columns: minmax(0, 1fr); }
    .eh-authors__grid { grid-template-columns: minmax(0, 1fr); }
    .eh-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .eh-footer__brand { grid-column: 1 / -1; order: -1; }
    .eh-cta__panel { padding: 1.8rem; }
    .eh-hero, .eh-single-hero { padding-top: 2rem; }
}
@media (max-width: 420px) {
    .eh-hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .eh-grid--sm { grid-template-columns: minmax(0, 1fr); }
}

/* MOBILE fixes: avatars never squashed, cards never overflow */
img.avatar { max-width: none; flex-shrink: 0; align-self: center; }
[class*="__avatar"] { flex-shrink: 0; }
[class*="__avatar"] img { max-width: none; }
.eh-card, .eh-card-sm, .eh-cat, .eh-featgrid__item, .eh-stat { min-width: 0; }

/* ═══════════════════════════════════════════════════
   RAPOSA EXCEL — fox identity (orange + green), bold hero,
   mascot + decorative poses, lively hover. Appended last so it
   overrides the donor teal/amber palette.
   ═══════════════════════════════════════════════════ */
:root {
    --eh-primary: #EA580C;      /* raposa orange 600 */
    --eh-primary-600: #F97316;  /* orange 500 */
    --eh-primary-800: #C2410C;  /* orange 700 */
    --eh-primary-900: #9A3412;  /* orange 800 */
    --eh-accent: #16A34A;       /* fresh green 600 */
    --eh-accent-600: #15803D;   /* green 700 */
    --eh-ink: #0F172A;          /* navy slate 900 */
    --eh-body: #334155;
    --eh-muted: #64748B;
    --eh-line: #F1E4D6;         /* warm line */
    --eh-surface: #FFF7ED;      /* warm off-white */
    --avg-primary: #EA580C; --avg-secondary: #16A34A;
    --eh-green-50: #F0FDF4;
}

/* Rounded, friendly typography */
body, .eh-body, p, li, input, button, select, textarea { font-family: "Nunito", ui-sans-serif, system-ui, sans-serif; }
h1, h2, h3, h4, h5, .eh-hero__title, .eh-section-head__title, .eh-card__title, .eh-logo__text,
.eh-cat__name, .site-title, .eh-stat__num { font-family: "Baloo 2", "Nunito", ui-sans-serif, system-ui, sans-serif; letter-spacing: -.01em; }

/* Map donor blue gradient tokens onto the fox palette */
.from-blue-900 { --tw-gradient-from: var(--eh-primary-900) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(154,52,18,0)) !important; }
.via-blue-800 { --tw-gradient-stops: var(--tw-gradient-from), var(--eh-primary-800), var(--tw-gradient-to, rgba(194,65,12,0)) !important; }
.to-blue-700 { --tw-gradient-to: var(--eh-primary) !important; }
.text-blue-600, .text-blue-700 { color: var(--eh-primary) !important; }
.bg-blue-600, .bg-blue-700 { background-color: var(--eh-primary) !important; }

/* ── BOLD HERO (orange→green), white text, mascot on the right ── */
.eh-hero {
    background: linear-gradient(135deg, #EA580C 0%, #F97316 42%, #16A34A 130%) !important;
    border-bottom: 0 !important;
    position: relative; overflow: hidden;
    padding: 4rem 0 4.5rem !important;
}
.eh-hero::after { /* subtle playful glow */
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 80% at 85% 20%, rgba(255,255,255,.16), transparent 60%);
    pointer-events: none;
}
.eh-hero__grid { align-items: center !important; }   /* both columns same height / level */
.eh-hero__copy, .eh-hero__aside { align-self: center; }
.eh-hero__eyebrow { background: rgba(255,255,255,.18) !important; color: #fff !important; backdrop-filter: blur(2px); }
.eh-hero__dot { background: #FDE68A !important; }
.eh-hero__title { color: #fff !important; }
.eh-hero__lede { color: rgba(255,255,255,.94) !important; }
.eh-hero__usps li { color: #fff !important; font-weight: 600; }
.eh-hero__usps svg { color: #FDE68A !important; }
.eh-hero__stats .eh-stat { background: rgba(255,255,255,.14) !important; border-color: rgba(255,255,255,.28) !important; backdrop-filter: blur(3px); }
.eh-hero__stats .eh-stat__num { color: #fff !important; }
.eh-hero__stats .eh-stat__label { color: rgba(255,255,255,.85) !important; }
.eh-hero .avg-search-form--hero { background: #fff; border-radius: 999px; box-shadow: 0 18px 40px -18px rgba(15,23,42,.5); }
.eh-hero .avg-search-button { background: var(--eh-accent) !important; border-radius: 999px; }
.eh-hero .avg-search-button:hover { background: var(--eh-accent-600) !important; }

/* ── HERO MASCOT: centered, level with copy, gentle float ── */
.eh-hero__aside { display: flex; align-items: center; justify-content: center; }
.eh-hero__mascot { margin: 0; display: flex; align-items: center; justify-content: center; width: 100%; }
.eh-hero__mascot-img,
.eh-hero__aside img { width: 100%; max-width: 420px; height: auto; display: block;
    filter: drop-shadow(0 24px 34px rgba(15,23,42,.28));
    animation: raposaFloat 5s ease-in-out infinite; }
@keyframes raposaFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .eh-hero__mascot-img, .eh-hero__aside img { animation: none; } }

/* ── Decorative fox pose (category archives / 404) ── */
.eh-pose { display: block; max-width: 240px; height: auto; margin: 0 auto;
    filter: drop-shadow(0 16px 24px rgba(15,23,42,.22)); }
.eh-archive-hero, .eh-page-hero { position: relative; }
.eh-archive-hero__pose { max-width: 180px; height: auto; }
@media (min-width: 768px) { .eh-archive-hero__pose { max-width: 220px; } }

/* ── Playful buttons + card hover lift ── */
.eh-btn { border-radius: 999px !important; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.eh-btn--primary, .eh-btn--download { background: var(--eh-primary) !important; }
.eh-btn--primary:hover, .eh-btn--download:hover { background: var(--eh-primary-800) !important; transform: translateY(-2px); box-shadow: 0 12px 22px -10px rgba(234,88,12,.6); }
.eh-btn--ghost:hover, .eh-btn--secondary:hover { transform: translateY(-2px); }
.eh-card, .eh-cat, .eh-card-sm, .eh-featgrid__item {
    border-radius: 1rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.eh-card:hover, .eh-cat:hover, .eh-card-sm:hover, .eh-featgrid__item:hover {
    transform: translateY(-4px); box-shadow: 0 20px 34px -18px rgba(15,23,42,.3); border-color: var(--eh-primary); }
.eh-cat:hover .eh-cat__name { color: var(--eh-primary); }

/* nav gap so fallback menu items are not glued */
.eh-nav { gap: 1.75rem; }
.eh-nav > a { color: var(--eh-ink); font-weight: 600; }
.eh-nav > a:hover { color: var(--eh-primary); }

/* header logo sizing (fox face) */
.eh-logo img, .custom-logo, .site-logo img { height: 42px; width: auto; }
.eh-footer .custom-logo, .eh-footer__logo img { height: 44px; width: auto; }

/* card grids never overflow on mobile */
.eh-grid, .eh-cards, .eh-featgrid { grid-auto-columns: minmax(0, 1fr); }

@media (max-width: 767px) {
    .eh-hero__mascot-img, .eh-hero__aside img { max-width: 260px; margin: 0 auto; }
    .eh-hero__grid { text-align: left; }
}

/* ═══════════════════════════════════════════════════
   RAPOSA EXCEL — identidade viva (laranja + verde + navy)
   fonte arredondada, animações sutis, cantos redondos
   ═══════════════════════════════════════════════════ */

/* Fonts */
body { font-family: 'Nunito', system-ui, -apple-system, sans-serif !important; }
h1, h2, h3, h4,
.eh-hero__title, .eh-section-head__title, .eh-cta__title,
.eh-brand__name, .eh-page-hero__title, .eh-single-hero__title,
.eh-h2, .eh-feature__title, .eh-process__title { font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif !important; letter-spacing: -.01em; }

/* Kill leftover blue Tailwind utilities → brand palette */
.text-blue-600, .text-blue-700 { color: var(--eh-primary) !important; }
.text-blue-800, .text-blue-900 { color: var(--eh-primary-900) !important; }
.hover\:text-blue-600:hover, .hover\:text-blue-700:hover { color: var(--eh-primary) !important; }
.bg-blue-600 { background-color: var(--eh-primary) !important; }
.bg-blue-700, .bg-blue-800, .bg-blue-900 { background-color: var(--eh-primary-800) !important; }
.hover\:bg-blue-700:hover, .hover\:bg-blue-600:hover { background-color: var(--eh-primary-800) !important; }
.bg-blue-50 { background-color: var(--eh-surface) !important; }
.bg-blue-100 { background-color: #FFEDD5 !important; }
.border-blue-200 { border-color: #FED7AA !important; }
.hover\:bg-blue-50:hover { background-color: var(--eh-surface) !important; }
.focus\:ring-blue-500:focus { --tw-ring-color: var(--eh-primary-600) !important; }
.focus\:border-blue-500:focus { border-color: var(--eh-primary-600) !important; }
.text-orange-600, .text-orange-700 { color: var(--eh-primary) !important; }
.hover\:text-orange-700:hover { color: var(--eh-primary-800) !important; }
.bg-orange-100 { background-color: #FFEDD5 !important; }
.text-orange-600 { color: var(--eh-primary) !important; }
.bg-orange-50, .hover\:bg-orange-50:hover { background-color: var(--eh-surface) !important; }
.text-orange-700, .bg-orange-50.text-orange-700 { color: var(--eh-primary-800) !important; }
.focus\:ring-orange-500:focus { --tw-ring-color: var(--eh-primary-600) !important; }
.focus\:border-orange-500:focus { border-color: var(--eh-primary-600) !important; }
.bg-green-100 { background-color: #DCFCE7 !important; }
.text-green-600 { color: var(--eh-accent) !important; }

/* Brand logo + wordmark */
.eh-brand__logo { height: 40px; width: auto; display: block; }
.eh-brand__name { color: var(--eh-ink); }

/* Nav (fallback items not glued together) */
.eh-nav { gap: 1.75rem; }
.eh-nav__list { gap: 1.75rem; }
.eh-nav > a, .eh-nav__list > a, .eh-nav__list li > a {
    color: var(--eh-body) !important; font-weight: 700; text-decoration: none;
    transition: color .15s; white-space: nowrap;
}
.eh-nav > a:hover, .eh-nav__list > a:hover, .eh-nav__list li > a:hover { color: var(--eh-primary) !important; }
.eh-header__actions .avg-search-form--header { max-width: 20rem; }

/* Rounded, playful buttons */
.eh-btn { border-radius: 999px; }
.eh-btn--primary { background: var(--eh-primary); color: #fff; box-shadow: 0 6px 16px -6px rgba(234,88,12,.55); }
.eh-btn--primary:hover { background: var(--eh-primary-800); transform: translateY(-2px) scale(1.02); }
.eh-btn--download { background: var(--eh-accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(22,163,74,.6); }
.eh-btn--download:hover { background: var(--eh-accent-600); color: #fff; transform: translateY(-2px) scale(1.02); }
.eh-btn--ghost { color: var(--eh-primary); border-color: #FED7AA; }
.eh-btn--ghost:hover { border-color: var(--eh-primary); background: var(--eh-surface); }

/* Mobile CTA button must show on mobile */
.eh-btn--mobile-cta { display: inline-flex; }
@media (min-width: 768px) { .eh-btn--mobile-cta { display: none; } }

/* HERO — bold colored, white text, mascot float */
.eh-hero {
    background: linear-gradient(135deg, #EA580C 0%, #F97316 42%, #16A34A 140%) !important;
    border-bottom: 0;
    color: #fff;
}
.eh-hero__eyebrow { background: rgba(255,255,255,.18) !important; color: #fff !important; }
.eh-hero__dot { background: #fff !important; }
.eh-hero__title { color: #fff !important; }
.eh-hero__lede { color: rgba(255,255,255,.92) !important; }
.eh-hero__usps li { color: rgba(255,255,255,.95) !important; }
.eh-hero__usps svg { color: #fff !important; }
.eh-hero .avg-search-input { border-radius: 999px; }
.eh-hero .avg-search-button { background: var(--eh-ink); color: #fff; border-radius: 999px; }
.eh-hero .avg-search-button:hover { background: #1E293B; }
.eh-hero__stats { margin-top: 2rem; }
.eh-hero .eh-stat__num { color: #fff !important; }
.eh-hero .eh-stat__label { color: rgba(255,255,255,.85) !important; }

/* Mascot with gentle float animation */
.eh-hero__aside { display: flex; align-items: center; justify-content: center; }
.eh-hero__mascot { margin: 0; display: flex; align-items: center; justify-content: center; }
.eh-hero__mascot-img {
    max-width: 100%; width: min(360px, 80%); height: auto; display: block;
    filter: drop-shadow(0 18px 30px rgba(15,23,42,.28));
    animation: eh-float 4.5s ease-in-out infinite;
}
@keyframes eh-float {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-14px) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
    .eh-hero__mascot-img { animation: none; }
    .eh-btn--primary:hover, .eh-btn--download:hover, .eh-card:hover, .eh-cat:hover, .eh-teamcard:hover { transform: none; }
}

/* Rounded cards with hover lift */
.eh-card, .eh-card-sm, .eh-cat, .eh-teamcard, .eh-process__step, .eh-legal-card, .eh-cta-box {
    border-radius: 1.1rem;
}
.eh-card, .eh-cat, .eh-teamcard, .eh-process__step {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.eh-card:hover, .eh-cat:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px -18px rgba(15,23,42,.35);
    border-color: var(--eh-primary);
}
.eh-card__cta { color: var(--eh-primary); }

/* Breadcrumb (single line) */
.eh-breadcrumb { margin: 0 0 1rem; font-size: .85rem; color: var(--eh-muted); }
.eh-breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.eh-breadcrumb a { color: var(--eh-muted); text-decoration: none; }
.eh-breadcrumb a:hover { color: var(--eh-primary); }
.eh-breadcrumb__sep { color: var(--eh-line); }
.eh-breadcrumb__current { color: var(--eh-ink); font-weight: 700; }

/* Process block (Como fazemos as planilhas) */
.eh-process { padding: 3.5rem 0; background: #fff; }
.eh-process__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; list-style: none; margin: 2.2rem 0 0; padding: 0; }
.eh-process__step { min-width: 0; background: var(--eh-surface); border: 1px solid var(--eh-line); padding: 1.6rem; }
.eh-process__num { display: inline-flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--eh-primary); color: #fff; font-weight: 800; font-family: 'Baloo 2', sans-serif; margin-bottom: .9rem; }
.eh-process__title { font-size: 1.05rem; color: var(--eh-ink); margin: 0 0 .4rem; }
.eh-process__desc { font-size: .92rem; color: var(--eh-body); line-height: 1.55; margin: 0; }

/* Team block (Quem está por trás) */
.eh-team { padding: 3.5rem 0; background: var(--eh-surface); }
.eh-team__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.2rem; max-width: 62rem; margin-left: auto; margin-right: auto; }
.eh-teamcard { display: flex; gap: 1.1rem; align-items: flex-start; min-width: 0; background: #fff; border: 1px solid var(--eh-line); padding: 1.5rem; }
.eh-teamcard:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(15,23,42,.3); }
.eh-teamcard__avatar { flex-shrink: 0; display: inline-flex; }
.eh-teamcard__avatar img, .eh-teamcard__img { max-width: none; width: 4.5rem; height: 4.5rem; border-radius: 999px; display: block; object-fit: cover; }
.eh-teamcard__body { min-width: 0; }
.eh-teamcard__name { display: block; font-weight: 800; color: var(--eh-ink); text-decoration: none; font-family: 'Baloo 2', sans-serif; }
.eh-teamcard__name:hover { color: var(--eh-primary); }
.eh-teamcard__role { display: block; font-size: .82rem; font-weight: 700; color: var(--eh-primary); margin: .15rem 0 .5rem; }
.eh-teamcard__bio { font-size: .9rem; color: var(--eh-body); line-height: 1.55; margin: 0; }

/* Section head accent */
.eh-section-head__kicker { color: var(--eh-primary); font-weight: 700; }

/* MOBILE GOTCHAS: avatars never squashed, cards never overflow */
img.avatar, [class*="__avatar"] img { max-width: none; }
[class*="__avatar"] { flex-shrink: 0; }
.eh-card, .eh-card-sm, .eh-cat, .eh-featgrid__item, .eh-stat, .eh-teamcard, .eh-process__step { min-width: 0; }
.eh-team__grid, .eh-process__steps, .eh-cats__grid, .eh-authors__grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }

@media (max-width: 1024px) {
    .eh-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .eh-hero__aside { order: -1; }
    .eh-hero__mascot-img { width: min(260px, 60%); }
    .eh-process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .eh-process__steps, .eh-team__grid { grid-template-columns: minmax(0, 1fr); }
    .eh-header__actions .avg-search-form--header { display: none; }
}

/* archive/category hero with a decorative fox pose on the right */
.eh-archive-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.eh-archive-hero__aside { display: flex; justify-content: center; align-items: center; }
@media (max-width: 767px) {
    .eh-archive-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .eh-archive-hero__aside { order: -1; }
    .eh-archive-hero__pose { max-width: 150px; }
}
/* 404 fox */
.eh-404 { text-align: center; padding: 4rem 1rem 5rem; }
.eh-404__pose { max-width: 260px; height: auto; margin: 0 auto 1.5rem; display: block; filter: drop-shadow(0 16px 24px rgba(15,23,42,.22)); }
.eh-404__title { font-family: "Baloo 2","Nunito",sans-serif; font-size: clamp(1.8rem,4vw,2.6rem); color: var(--eh-ink); margin-bottom: .6rem; }
.eh-404__lede { color: var(--eh-body); max-width: 34rem; margin: 0 auto 1.6rem; font-size: 1.08rem; }

/* ═══════════════════════════════════════════════════
   RAPOSA EXCEL — branded footer (navy + orange/green) with
   the mascot peeking out over the top edge.
   ═══════════════════════════════════════════════════ */
.eh-footer {
    position: relative;
    background: linear-gradient(180deg, #0F172A 0%, #0B1220 100%) !important;
    color: #CBD5E1 !important;
    border-top: 4px solid var(--eh-primary);
    margin-top: 4.5rem;   /* room for the peeking fox */
    overflow: visible;
}
.eh-footer::before { /* thin green accent under the orange top border */
    content: ""; position: absolute; top: -4px; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--eh-primary) 0%, var(--eh-primary) 55%, var(--eh-accent) 55%, var(--eh-accent) 100%);
}
.eh-footer__peek {
    position: absolute; top: 0; left: 50%;
    transform: translate(-50%, -82%);
    width: 168px; max-width: 40vw; line-height: 0; z-index: 2;
    pointer-events: none;
}
.eh-footer__peek img { width: 100%; height: auto; display: block;
    filter: drop-shadow(0 8px 10px rgba(0,0,0,.28)); }
.eh-footer__inner { padding: 5.25rem 1rem 2rem !important; position: relative; z-index: 1; }
.eh-footer__heading { color: #fff !important; position: relative; padding-bottom: .5rem; }
.eh-footer__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 3px; border-radius: 3px; background: var(--eh-primary); }
.eh-footer__links a { color: #CBD5E1 !important; }
.eh-footer__links a:hover { color: var(--eh-primary-600) !important; padding-left: 3px; transition: color .15s, padding-left .15s; }
.eh-footer__logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.eh-footer__logo-img { height: 44px; width: auto; }
.eh-footer__logo-text { font-family: "Baloo 2","Nunito",sans-serif; font-size: 1.3rem; font-weight: 700; color: #fff; }
.eh-footer__tagline { color: #94A3B8 !important; }
.eh-footer__social a { display: inline-flex; width: 2.2rem; height: 2.2rem; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,.06); color: #CBD5E1 !important; transition: background .15s, color .15s, transform .15s; }
.eh-footer__social a:hover { background: var(--eh-primary); color: #fff !important; transform: translateY(-2px); }
.eh-footer__bottom { border-top: 1px solid rgba(203,213,225,.14) !important; color: #94A3B8 !important; }
.eh-footer__note { color: var(--eh-primary-600) !important; font-weight: 600; }
@media (max-width: 767px) {
    .eh-footer__peek { width: 132px; transform: translate(-50%, -80%); }
    .eh-footer__inner { padding-top: 4.5rem !important; }
}

/* HARD CAP header logo size (source image can be large; displayed height must stay ~40px) */
.eh-header .eh-brand__logo,
.eh-header .eh-brand img,
.eh-brand .eh-brand__logo,
.eh-header .custom-logo,
header .custom-logo {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain;
    display: block;
}

/* ═══════════════════════════════════════════════════
   RAPOSA EXCEL — hero "scene": fox standing on a grass band,
   soft wave divider into the next section. Premium polish.
   ═══════════════════════════════════════════════════ */
.eh-hero--scene { position: relative; overflow: hidden; }
.eh-hero--scene .eh-hero__inner { position: relative; z-index: 2; }

/* Grass band pinned to the bottom of the hero, full width, repeating */
.eh-hero__grass {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    height: 78px;
    background-image: url("../img/grass.webp");
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 78px;
    pointer-events: none;
}
/* Home hero: fox stands ON the grass (feet at the grass line) */
.eh-hero.eh-hero--scene { padding-bottom: 5.5rem !important; }
.eh-hero--scene .eh-hero__aside { position: relative; z-index: 2; align-self: end; }
.eh-hero--scene .eh-hero__mascot { margin-bottom: -0.5rem; }  /* paws sink slightly into the grass */
.eh-hero--scene .eh-hero__mascot-img { max-width: 400px; }

/* Archive hero: pose stands on the grass too */
.eh-archive-hero.eh-hero--scene { padding-bottom: 5rem; }
.eh-archive-hero.eh-hero--scene .eh-archive-hero__aside { position: relative; z-index: 2; align-self: end; }
.eh-archive-hero.eh-hero--scene .eh-archive-hero__pose { margin-bottom: -0.4rem; }

/* Soft wave divider from the hero into the white content below */
.eh-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; pointer-events: none; }
.eh-hero__wave svg { display: block; width: 100%; height: 56px; }

/* Keep the scene clean on mobile */
@media (max-width: 767px) {
    .eh-hero__grass { height: 54px; background-size: auto 54px; }
    .eh-hero.eh-hero--scene { padding-bottom: 4rem !important; }
    .eh-hero--scene .eh-hero__aside { align-self: center; }
    .eh-hero--scene .eh-hero__mascot-img { max-width: 220px; }
    .eh-hero__wave svg { height: 34px; }
    .eh-archive-hero.eh-hero--scene .eh-archive-hero__aside { align-self: center; }
}

/* ═══════════════════════════════════════════════════
   Missing Tailwind utilities (static build has no pipeline).
   Added as standard CSS so newly-used classes render correctly.
   ═══════════════════════════════════════════════════ */
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.h-auto { height: auto; }
.mb-1 { margin-bottom: .25rem; }
.mb-3 { margin-bottom: .75rem; }
.pt-3 { padding-top: .75rem; }
.pb-4 { padding-bottom: 1rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.space-y-12 > :not([hidden]) ~ :not([hidden]) { margin-top: 3rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }
.bg-purple-100 { background-color: #F3E8FF; }
.text-purple-600 { color: #9333EA; }
.hover\:text-orange-600:hover { color: #EA580C; }

/* prose (Tailwind Typography) descendant modifiers used in legal/content cards */
.prose-sm { font-size: .875rem; line-height: 1.7142857; }
.prose-headings\:text-gray-900 :is(h1,h2,h3,h4,h5,h6) { color: #111827; }
.prose-p\:text-gray-600 p { color: #4B5563; }
.prose-li\:text-gray-600 li { color: #4B5563; }
.prose-strong\:text-gray-900 strong { color: #111827; }
.prose-a\:text-orange-600 a { color: #EA580C; }

/* responsive utilities */
@media (min-width: 768px) {
    .md\:inline-flex { display: inline-flex; }
}
@media (min-width: 1024px) {
    .lg\:p-12 { padding: 3rem; }
    .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

/* ═══════════════════════════════════════════════════
   FINAL consolidated visual spec (authoritative — appended last).
   Home hero 2-col standing fox on grass, exact footer-peek transform,
   header logo cap, polished animations.
   ═══════════════════════════════════════════════════ */

/* Home hero: 2 columns, fox to the SIDE (never stacked→giant on desktop) */
.eh-hero.eh-hero--scene .eh-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
.eh-hero--scene .eh-hero__aside { align-self: end; justify-content: center; }
.eh-hero--scene .eh-hero__mascot { margin: 0 0 -6px; }
/* Standing fox: sized by HEIGHT, reasonable (not huge) */
.eh-hero--scene .eh-hero__mascot-img {
    width: auto !important;
    max-width: 100% !important;
    height: auto;
    max-height: 420px;
    display: block; margin: 0 auto;
    filter: drop-shadow(0 22px 30px rgba(15,23,42,.28));
    animation: raposaFloat 3.5s ease-in-out infinite;
}
@keyframes raposaFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Entrance: gentle fade + slide-up for hero copy elements */
@keyframes raposaRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.eh-hero__eyebrow, .eh-hero__title, .eh-hero__lede, .eh-hero .avg-search-form, .eh-hero__usps, .eh-hero__stats {
    animation: raposaRise .6s ease-out both;
}
.eh-hero__title { animation-delay: .05s; }
.eh-hero__lede { animation-delay: .12s; }
.eh-hero .avg-search-form { animation-delay: .18s; }
.eh-hero__usps { animation-delay: .24s; }
.eh-hero__stats { animation-delay: .30s; }
@media (prefers-reduced-motion: reduce) {
    .eh-hero--scene .eh-hero__mascot-img,
    .eh-hero__eyebrow, .eh-hero__title, .eh-hero__lede, .eh-hero .avg-search-form, .eh-hero__usps, .eh-hero__stats { animation: none; }
}

/* Grass: thin full-width strip along the hero bottom */
.eh-hero__grass { height: 96px; background-size: auto 96px; }

/* Header logo hard cap (exact spec) */
.eh-header .eh-brand__logo, .eh-header .eh-brand img, .eh-header .custom-logo, header .custom-logo {
    max-height: 40px !important; height: 40px !important; width: auto !important;
}

/* Footer peek — exact owner transform */
.eh-footer__peek {
    position: absolute; top: 0; left: 50%;
    transform: translate(-50%, -100%);
    width: 168px; max-width: 42vw; z-index: 2; line-height: 0; pointer-events: none;
}
.eh-footer__inner { padding-top: 5.5rem !important; }

/* Desktop 2-col stays 2-col; mobile stacks with sane fox size */
@media (max-width: 767px) {
    .eh-hero.eh-hero--scene .eh-hero__grid { grid-template-columns: minmax(0,1fr); }
    .eh-hero--scene .eh-hero__aside { align-self: center; order: -1; }
    .eh-hero--scene .eh-hero__mascot-img { max-height: 300px; }
    .eh-hero__grass { height: 62px; background-size: auto 62px; }
    .eh-footer__peek { width: 132px; transform: translate(-50%, -97%); }
}

/* ═══════════════════════════════════════════════════
   FINAL: clean WHITE hero (fox + grass provide the color).
   Dark text for contrast; brand accents on pill + CTA; grass stays.
   Applies to home hero AND category/archive heroes.
   ═══════════════════════════════════════════════════ */
.eh-hero.eh-hero--scene,
.eh-page-hero.eh-hero--scene {
    background: #FAFAF9 !important;   /* subtle off-white */
    color: var(--eh-ink) !important;
}
.eh-hero.eh-hero--scene::after { display: none !important; }  /* remove the colored glow */
.eh-page-hero.eh-hero--scene::before { display: none !important; }

/* Dark text on white */
.eh-hero--scene .eh-hero__title,
.eh-hero--scene .eh-page-hero__title { color: var(--eh-ink) !important; }
.eh-hero--scene .eh-hero__lede,
.eh-hero--scene .eh-page-hero__lede { color: var(--eh-body) !important; }
.eh-hero--scene .eh-hero__usps li { color: var(--eh-body) !important; }
.eh-hero--scene .eh-hero__usps svg { color: var(--eh-accent) !important; }

/* Brand-colored eyebrow pill on white */
.eh-hero--scene .eh-hero__eyebrow {
    background: #FFF7ED !important; color: var(--eh-primary-800) !important;
    border: 1px solid #FED7AA; backdrop-filter: none;
}
.eh-hero--scene .eh-hero__dot { background: var(--eh-accent) !important; }
.eh-page-hero.eh-hero--scene .eh-page-hero__eyebrow { color: var(--eh-primary) !important; }

/* Stat cards: light on white */
.eh-hero--scene .eh-hero__stats .eh-stat { background: #fff !important; border-color: var(--eh-line) !important; box-shadow: 0 8px 20px -14px rgba(15,23,42,.25); backdrop-filter: none; }
.eh-hero--scene .eh-hero__stats .eh-stat__num { color: var(--eh-primary) !important; }
.eh-hero--scene .eh-hero__stats .eh-stat__label { color: var(--eh-muted) !important; }

/* Search bar keeps its white pill (already good); CTA stays brand green */
.eh-hero--scene .avg-search-button { background: var(--eh-accent) !important; }
.eh-hero--scene .avg-search-form { border: 1px solid var(--eh-line); }

/* Fox gets a soft grounding shadow so it doesn't float on white */
.eh-hero--scene .eh-hero__mascot-img,
.eh-archive-hero.eh-hero--scene .eh-archive-hero__pose {
    filter: drop-shadow(0 16px 18px rgba(15,23,42,.16));
}

/* The white wave divider is invisible on a white hero → make it the grass green edge instead (subtle) */
.eh-hero--scene .eh-hero__wave svg path { fill: #FAFAF9 !important; }

/* Archive hero text dark on white */
.eh-archive-hero.eh-hero--scene { color: var(--eh-ink) !important; }
.eh-archive-hero.eh-hero--scene .eh-page-hero__title { color: var(--eh-ink) !important; }
.eh-archive-hero.eh-hero--scene .eh-page-hero__lede { color: var(--eh-body) !important; }

/* ═══════════════════════════════════════════════════════════════
   PREMIUM HERO STAGE (authoritative — appended last, 2026-07-13)
   3D fox on a soft brand stage + floating glass "product" cards.
   Keeps fox grounded on the (softened) grass; adds depth & story.
   ═══════════════════════════════════════════════════════════════ */
.eh-hero--scene .eh-hero__aside { align-self: end !important; overflow: visible; }
.eh-hero__stage {
    position: relative; width: 100%;
    display: flex; justify-content: center; align-items: flex-end;
    overflow: visible;
}

/* Soft brand blob = the stage / depth behind the fox */
.eh-hero__blob {
    position: absolute; z-index: 0;
    left: 50%; bottom: 44px; transform: translateX(-50%);
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle at 38% 32%,
        rgba(253,186,116,.60), rgba(249,115,22,.30) 40%,
        rgba(34,197,94,.18) 70%, rgba(34,197,94,0) 78%);
    filter: blur(4px); pointer-events: none;
}
/* Faint spreadsheet grid inside the blob (subtle product texture) */
.eh-hero__gridbg {
    position: absolute; z-index: 0;
    left: 50%; bottom: 96px; transform: translateX(-50%);
    width: 320px; height: 320px; border-radius: 26px;
    background-image:
        linear-gradient(rgba(15,23,42,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,.06) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(circle at center, #000 42%, transparent 70%);
    mask-image: radial-gradient(circle at center, #000 42%, transparent 70%);
    opacity: .55; pointer-events: none;
}

/* The premium 3D fox on top, larger, grounded */
.eh-hero__stage .eh-hero__mascot { position: relative; z-index: 2; margin: 0 0 -6px; }
.eh-hero--scene .eh-hero__stage .eh-hero__mascot-img {
    width: auto !important; max-width: 100% !important; height: auto;
    max-height: 480px !important; display: block; margin: 0 auto;
    filter: drop-shadow(0 26px 26px rgba(15,23,42,.22));
    animation: raposaFloat 3.6s ease-in-out infinite;
}

/* Floating glass product cards */
.eh-hero__card {
    position: absolute; z-index: 3;
    background: rgba(255,255,255,.86);
    -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
    border: 1px solid rgba(255,255,255,.95);
    border-radius: 15px;
    box-shadow: 0 20px 44px -18px rgba(15,23,42,.38);
}
.eh-hero__card--sheet { top: 4%;  left: -6%;  width: 172px; padding: .7rem .8rem; animation: raposaFloat 4.2s ease-in-out .1s infinite; }
.eh-hero__card--free  { top: 30%; right: -5%; padding: .6rem .9rem; text-align: center; animation: raposaFloat 4.8s ease-in-out .4s infinite; }
.eh-hero__card--ready { bottom: 20%; left: -3%; padding: .55rem .8rem; display: inline-flex; align-items: center; gap: .45rem; animation: raposaFloat 4.5s ease-in-out .7s infinite; }

/* sheet card internals */
.ehc-sheet__bar { display: flex; gap: 5px; margin-bottom: .5rem; }
.ehc-sheet__bar span { width: 8px; height: 8px; border-radius: 50%; background: #E2E8F0; }
.ehc-sheet__bar span:nth-child(1){ background:#FCA5A5; } .ehc-sheet__bar span:nth-child(2){ background:#FDE68A; } .ehc-sheet__bar span:nth-child(3){ background:#86EFAC; }
.ehc-sheet__head { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; font-weight: 800; color: var(--eh-ink); margin-bottom: .5rem; font-style: normal; }
.ehc-sheet__head em { font-style: normal; }
.ehc-sheet__head b { color: var(--eh-primary); }
.ehc-sheet__rows { display: flex; flex-direction: column; gap: 6px; }
.ehc-row { display: flex; gap: 6px; align-items: center; }
.ehc-row i { width: 34%; height: 8px; border-radius: 3px; background: #E2E8F0; }
.ehc-row u { flex: 1; height: 8px; border-radius: 3px; background: #F1F5F9; }
.ehc-row--hi i { background: #FDBA74; } .ehc-row--hi u { background: #BBF7D0; }

/* free badge internals */
.ehc-free__tag { display: block; font-size: .64rem; font-weight: 800; color: var(--eh-primary); text-transform: uppercase; letter-spacing: .04em; }
.ehc-free__price { display: block; font-family: "Baloo 2","Nunito",sans-serif; font-size: 1.55rem; font-weight: 800; color: var(--eh-ink); line-height: 1; margin-top: 3px; }

/* ready badge internals */
.eh-hero__card--ready svg { width: 1.2rem; height: 1.2rem; color: #16A34A; flex-shrink: 0; }
.eh-hero__card--ready span { font-size: .78rem; font-weight: 800; color: var(--eh-ink); }

/* Refine the ground: lower grass, fade its top so it blends into white */
.eh-hero__grass { height: 66px !important; background-size: auto 66px !important;
    -webkit-mask-image: linear-gradient(to top, #000 58%, transparent);
    mask-image: linear-gradient(to top, #000 58%, transparent); }
/* Soft contact shadow under the fox's feet */
.eh-hero__stage::after {
    content: ""; position: absolute; z-index: 1; bottom: 40px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 24px; border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(15,23,42,.22), rgba(15,23,42,0) 70%);
    pointer-events: none;
}

/* Mobile: fox goes BELOW the copy, standing on the grass (not floating on top) */
@media (max-width: 767px) {
    .eh-hero.eh-hero--scene { padding-bottom: 66px !important; }   /* leave room = grass height */
    .eh-hero--scene .eh-hero__aside { align-self: end !important; order: 1 !important; margin-top: .4rem; }
    .eh-hero__stage { min-height: 0; align-items: flex-end; }
    .eh-hero__stage .eh-hero__mascot { margin: 0 0 -4px; }
    .eh-hero__card { display: none !important; }        /* keep it clean on small screens */
    .eh-hero__blob { width: 260px; height: 260px; bottom: 18px; }
    .eh-hero__gridbg { width: 200px; height: 200px; bottom: 52px; }
    .eh-hero--scene .eh-hero__stage .eh-hero__mascot-img { max-height: 290px !important; }
    .eh-hero__stage::after { bottom: 14px; width: 140px; }
    .eh-hero__grass { display: block !important; z-index: 1; }
}

/* Category cards: wrap properly, never overflow the screen (auto-fill w/ real min) */
.eh-cats__grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; gap: 1rem; }
@media (max-width: 520px) {
    .eh-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .eh-cat { padding: 1rem .9rem; }
    .eh-cat__name { font-size: .95rem; line-height: 1.2; }
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE (model) hero: category fox as signature visual (2026-07-13)
   Screenshot preview moved to its own section below the hero.
   ═══════════════════════════════════════════════════════════════ */
.eh-single-hero__aside { display: flex; align-items: center; justify-content: center; min-width: 0; }
.eh-single-hero__foxstage { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; }
.eh-single-hero__foxblob {
    position: absolute; z-index: 0; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle at 38% 32%,
        rgba(253,186,116,.50), rgba(249,115,22,.24) 42%,
        rgba(34,197,94,.14) 72%, rgba(34,197,94,0) 78%);
    filter: blur(5px); pointer-events: none;
}
.eh-single-hero__fox {
    position: relative; z-index: 1; width: auto; max-width: 100%; height: auto;
    max-height: 360px; display: block; margin: 0 auto;
    filter: drop-shadow(0 22px 26px rgba(15,23,42,.20));
    animation: raposaFloat 3.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .eh-single-hero__fox { animation: none; } }

/* Preview section — "Veja a planilha por dentro" */
.eh-preview { background: #FAFAF9; border-bottom: 1px solid var(--eh-line); padding: 2.6rem 0 3rem; }
.eh-preview__head { text-align: center; margin-bottom: 1.6rem; }
.eh-preview__eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--eh-primary); }
.eh-preview__title { font-family: "Baloo 2","Nunito",sans-serif; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: var(--eh-ink); margin: .3rem 0 .35rem; letter-spacing: -.01em; }
.eh-preview__sub { color: var(--eh-body); font-size: 1rem; margin: 0; }
.eh-preview .eh-shots { max-width: 880px; margin: 0 auto; }
.eh-preview__placeholder { max-width: 620px; margin: 0 auto; }

@media (max-width: 767px) {
    .eh-single-hero__foxstage { max-width: 300px; margin: 0 auto; }
    .eh-single-hero__fox { max-height: 250px; }
    .eh-single-hero__foxblob { width: 240px; height: 240px; }
    /* fox above the copy on mobile? No — keep copy first (title+CTA), fox after */
    .eh-single-hero__aside { order: 1; }
    .eh-preview { padding: 2rem 0 2.2rem; }
}

/* Single hero SCENE: fox stands on grass + no side overflow on mobile (2026-07-13) */
.eh-single-hero--scene { position: relative; overflow: hidden; padding-bottom: 4.75rem !important; }
.eh-single-hero--scene .eh-single-hero__inner { position: relative; z-index: 2; }
.eh-single-hero__grass {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 66px;
    background: url("../img/grass.webp") repeat-x bottom center; background-size: auto 66px;
    -webkit-mask-image: linear-gradient(to top, #000 58%, transparent);
    mask-image: linear-gradient(to top, #000 58%, transparent);
    pointer-events: none;
}
.eh-single-hero--scene .eh-single-hero__aside { align-self: end; position: relative; z-index: 2; }
.eh-single-hero--scene .eh-single-hero__foxstage { margin-bottom: -4px; }
/* fox contact shadow on the grass */
.eh-single-hero--scene .eh-single-hero__foxstage::after {
    content: ""; position: absolute; z-index: 0; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 168px; height: 20px; border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(15,23,42,.20), rgba(15,23,42,0) 70%);
}

/* Mobile: keep everything inside the screen, fox below copy on grass */
@media (max-width: 767px) {
    .eh-single-hero--scene { padding-bottom: 3.6rem !important; }
    .eh-single-hero__aside, .eh-single-hero__foxstage { max-width: 100%; }
    .eh-single-hero__foxstage { width: min(280px, 78vw); margin: 0 auto -4px; }
    .eh-single-hero__fox { max-width: 100%; max-height: 240px; }
    .eh-single-hero__foxblob { width: min(230px, 66vw); height: min(230px, 66vw); }
    .eh-single-hero--scene .eh-single-hero__aside { align-self: center; order: 1; }
    .eh-preview .eh-shots, .eh-preview__placeholder { max-width: 100%; }
}

.eh-preview__cta { text-align: center; margin-top: 1.7rem; }
.eh-preview__cta .eh-btn { display: inline-flex; }

/* Header CTA "Todos os modelos": hidden on mobile (it's already in the hamburger) */
.eh-btn.hidden { display: none !important; }
@media (min-width: 768px) { .eh-btn.hidden.md\:inline-flex { display: inline-flex !important; } }

/* Single hero byline: stack the two authors on mobile so it never overflows/clips */
@media (max-width: 767px) {
    .eh-byline { flex-direction: column; align-items: flex-start; gap: .55rem; }
    .eh-byline__sep { display: none; }
    .eh-byline__person { max-width: 100%; min-width: 0; }
    .eh-byline__text { white-space: normal; overflow-wrap: anywhere; }
}
