/* ===================================
   DESIGN SYSTEM - ESTILO QUE CUIDA
   =================================== */

:root {
    /* Colors - Mobile-First Tokens */
    --color-primary: #606c38; /* Verde oliva - cuidado, natureza */
    --color-primary-light: #7a8850;
    --color-primary-dark: #4a5428;

    /* Tokens adicionais para consistÃªncia */
    --primary-50: #f5f7f0;
    --primary-100: #e8eddb;
    --primary-500: #7a8850; /* Base suavizado */
    --primary-700: #606c38; /* Hover/Active */
    --primary-900: #4a5428; /* Texto em fundos claros */

    --color-secondary: #e07a5f; /* Coral suave - CTAs, destaques */
    --color-secondary-light: #e89580;
    --color-secondary-dark: #c86a4f;

    /* Tokens secundÃ¡rios */
    --secondary-50: #fef5f3;
    --secondary-500: #e07a5f;
    --secondary-700: #c86a4f;

    --color-neutral-100: #fefefe; /* Branco puro */
    --color-neutral-200: #f5e6d3; /* Bege claro - respiraÃ§Ã£o */
    --color-neutral-300: #e8d5c4; /* Bege mÃ©dio */
    --color-neutral-400: #c8b8a8; /* Bege escuro */
    --color-neutral-700: #4a4a4a; /* WCAG AA - era #5a5a5a */
    --color-neutral-900: #2c2c2c; /* Cinza escuro - texto */

    /* Tokens neutros adicionais */
    --neutral-0: #ffffff;
    --neutral-50: #fefefe;

    /* Typography */
    --font-display: "Playfair Display", serif;
    --font-body: "Inter", sans-serif;

    /* Mobile base sizes */
    --font-size-xs: 0.75rem; /* 12px */
    --font-size-sm: 0.875rem; /* 14px */
    --font-size-base: 1rem; /* 16px */
    --font-size-lg: 1.125rem; /* 18px */
    --font-size-xl: 1.25rem; /* 20px */
    --font-size-2xl: 1.5rem; /* 24px */
    --font-size-3xl: 1.875rem; /* 30px */
    --font-size-4xl: 2.25rem; /* 36px - H1 mobile */
    --font-size-5xl: 3rem; /* 48px - H1 desktop */
    --font-size-6xl: 3.75rem; /* 60px */

    /* Font weights */
    --font-normal: 400;
    --font-medium: 500; /* PadrÃ£o para corpo */
    --font-semibold: 600;
    --font-bold: 700;

    /* Line heights */
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.7; /* PadrÃ£o para 40+ */
    --leading-loose: 1.8;

    /* Spacing - 4px base scale */
    --space-1: 0.25rem; /* 4px */
    --space-2: 0.5rem; /* 8px */
    --space-3: 0.75rem; /* 12px */
    --space-4: 1rem; /* 16px */
    --space-6: 1.5rem; /* 24px */
    --space-8: 2rem; /* 32px */
    --space-12: 3rem; /* 48px */
    --space-16: 4rem; /* 64px */
    --space-24: 6rem; /* 96px - apenas desktop */

    /* Legacy spacing (manter compatibilidade) */
    --space-xs: 0.5rem; /* 8px */
    --space-sm: 1rem; /* 16px */
    --space-md: 1.5rem; /* 24px */
    --space-lg: 2rem; /* 32px */
    --space-xl: 3rem; /* 48px */
    --space-2xl: 4rem; /* 64px */
    --space-3xl: 6rem; /* 96px */

    /* Border Radius */
    --radius-sm: 0.5rem; /* 8px */
    --radius-md: 1rem; /* 16px */
    --radius-lg: 1.5rem; /* 24px */
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ===================================
   RESET & BASE
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: var(--font-medium); /* 500 para melhor legibilidade */
    line-height: var(--leading-relaxed); /* 1.7 para pÃºblico 40+ */
    color: var(--color-neutral-900);
    background-color: var(--color-neutral-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-neutral-900);
}

/* Mobile base (375px-768px) */
h1 {
    font-size: var(--font-size-4xl); /* 2.25rem = 36px */
}
h2 {
    font-size: var(--font-size-3xl); /* 1.875rem = 30px */
}
h3 {
    font-size: var(--font-size-2xl); /* 1.5rem = 24px */
}
h4 {
    font-size: var(--font-size-xl); /* 1.25rem = 20px */
}
h5 {
    font-size: var(--font-size-lg); /* 1.125rem = 18px */
}
h6 {
    font-size: var(--font-size-base); /* 1rem = 16px */
}

/* Desktop (768px+) */
@media (min-width: 768px) {
    h1 {
        font-size: var(--font-size-5xl); /* 3rem = 48px */
    }
    h2 {
        font-size: var(--font-size-4xl); /* 2.25rem = 36px */
    }
    h3 {
        font-size: var(--font-size-3xl); /* 1.875rem = 30px */
    }
}

/* ===================================
   LAYOUT
   =================================== */

/* Mobile base */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4); /* 1rem = 16px mobile */
}

/* Desktop */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-8); /* 2rem = 32px desktop */
    }
}

/* ===================================
   BUTTONS
   =================================== */

/* Mobile base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 44px; /* Touch target mÃ­nimo */
    padding: 12px 24px; /* Mobile */
    font-size: var(--font-size-base);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
    border: none;
    text-decoration: none;
}

/* Desktop */
@media (min-width: 768px) {
    .btn {
        padding: 14px 32px;
        font-size: var(--font-size-lg);
    }
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-neutral-100);
    box-shadow: var(--shadow-md);
}

/* Hover apenas em dispositivos com mouse */
@media (hover: hover) {
    .btn-primary:hover {
        background: var(--color-primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
}

/* Touch feedback */
.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--color-neutral-200);
    color: var(--color-neutral-900);
}

@media (hover: hover) {
    .btn-secondary:hover {
        background: var(--color-neutral-300);
    }
}

.btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

@media (hover: hover) {
    .btn-outline:hover {
        background: var(--color-primary);
        color: var(--color-neutral-100);
    }
}

.btn-text {
    color: var(--color-primary);
    padding: var(--space-2) var(--space-4);
    min-height: auto; /* Texto pode ser menor */
}

@media (hover: hover) {
    .btn-text:hover {
        color: var(--color-primary-dark);
        text-decoration: underline;
    }
}

/* ===================================
   NAVIGATION
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Mobile: logo menor */
.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Desktop: logo maior */
@media (min-width: 768px) {
    .logo img {
        height: 80px;
    }
}

/* Mobile: menu escondido por padrÃ£o */
.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-neutral-100);
    flex-direction: column;
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
}

.nav-menu.active {
    display: flex;
}

.nav-menu a {
    min-height: 44px; /* Touch target */
    padding: 12px 16px;
    font-size: var(--font-size-base);
    font-weight: var(--font-medium);
    color: var(--color-neutral-700);
    transition: color var(--transition-base);
    display: flex;
    align-items: center;
}

@media (hover: hover) {
    .nav-menu a:hover {
        color: var(--color-primary);
    }
}

.nav-cta {
    background: var(--color-primary);
    color: var(--color-neutral-100) !important;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-top: var(--space-2); /* EspaÃ§o no mobile */
}

@media (hover: hover) {
    .nav-cta:hover {
        background: var(--color-primary-dark);
    }
}

/* Hamburger menu (mobile only) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: var(--space-2);
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-neutral-900);
    transition: all var(--transition-base);
}

/* Desktop: menu horizontal */
@media (min-width: 769px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        gap: var(--space-8);
        background: transparent;
    }

    .nav-cta {
        margin-top: 0;
    }
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        var(--color-neutral-200) 0%,
        var(--color-neutral-100) 100%
    );
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(
        circle,
        rgba(96, 108, 56, 0.08) 0%,
        transparent 70%
    );
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-30px, 30px) rotate(5deg);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: var(--font-size-6xl);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero-title .highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(96, 108, 56, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-neutral-700);
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 1s ease-out;
}

.hero-image-card img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(96, 108, 56, 0.15) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-neutral-900);
    font-weight: 500;
    font-size: var(--font-size-base);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    transition: all 0.3s ease;
    border-radius: var(--radius-full);
}

.btn-text-link:hover {
    background: rgba(96, 108, 56, 0.05);
    color: var(--color-primary);
    transform: translateX(4px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes parallaxFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.parallax-card {
    animation: parallaxFloat 6s ease-in-out infinite;
    will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
    .fade-in-up {
        opacity: 0;
        animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .fade-in {
        opacity: 0;
        animation: fadeIn 1s ease-out forwards;
    }

    .delay-100 {
        animation-delay: 100ms;
    }
    .delay-200 {
        animation-delay: 150ms;
    }
    .delay-300 {
        animation-delay: 200ms;
    }
    .delay-400 {
        animation-delay: 250ms;
    }
    .delay-500 {
        animation-delay: 300ms;
    }
    .delay-600 {
        animation-delay: 400ms;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    color: var(--color-neutral-700);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-image-card img {
        height: 400px;
    }
}

/* ===================================
   SECTION HEADERS
   =================================== */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section-label.light {
    color: var(--color-neutral-200);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-title.light {
    color: var(--color-neutral-100);
}

.section-description {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-neutral-700);
}

/* ===================================
   CATEGORIES SECTION
   =================================== */

/* Decorative background elements */
.categories {
    padding: var(--space-3xl) 0;
    background-color: #fafafa;
    background-image:
        radial-gradient(#606c3844 0.5px, transparent 0.5px),
        radial-gradient(#606c3844 0.5px, #fafafa 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    position: relative;
    overflow: hidden;
}

.categories::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(96, 108, 56, 0.03) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

.categories::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(224, 122, 95, 0.04) 0%,
        transparent 70%
    );
    border-radius: 50%;
    pointer-events: none;
}

/* Mobile base: 1 coluna */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    position: relative;
    z-index: 1;
}

/* Tablet: 2 colunas */
@media (min-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Desktop: 4 colunas */
@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

/* Make the card an anchor tag with modern glassmorphism */
a.category-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px; /* Mobile: menor */
    padding: 32px 24px; /* Mobile: menos padding */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    height: 100%;
    min-height: 44px; /* Touch target */
}

/* Desktop: mais padding */
@media (min-width: 1024px) {
    a.category-card {
        border-radius: 32px;
        padding: 40px 32px;
    }
}

/* Gradient overlay on hover */
a.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(96, 108, 56, 0.03) 0%,
        rgba(224, 122, 95, 0.03) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Hover apenas em dispositivos com mouse */
@media (hover: hover) {
    a.category-card:hover::before {
        opacity: 1;
    }

    a.category-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 24px 48px rgba(96, 108, 56, 0.15);
        border-color: rgba(96, 108, 56, 0.2);
    }

    a.category-card:hover .category-icon {
        transform: scale(1.15) rotate(-5deg);
        box-shadow: 0 12px 32px rgba(96, 108, 56, 0.35);
    }

    a.category-card:hover .category-icon svg {
        transform: scale(1.1);
    }

    a.category-card:hover .category-title {
        color: var(--color-primary);
    }

    a.category-card:hover .category-link {
        gap: 14px;
        color: var(--color-primary-dark);
    }

    a.category-card:hover .category-link svg {
        transform: translateX(6px);
    }
}

/* Touch feedback */
a.category-card:active {
    transform: scale(0.98);
}

/* Unique gradient backgrounds for each category icon */
.category-icon {
    width: 64px; /* Mobile: menor */
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; /* Mobile: menos espaÃ§o */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* Desktop: Ã­cone maior */
@media (min-width: 1024px) {
    .category-icon {
        width: 72px;
        height: 72px;
        border-radius: 22px;
        margin-bottom: 28px;
    }
}

/* Emagrecimento Consciente - Green gradient */
a.category-card[data-category="emagrecimento-consciente"] .category-icon {
    background: linear-gradient(135deg, #606c38 0%, #7a8850 100%);
    box-shadow: 0 8px 24px rgba(96, 108, 56, 0.25);
}

/* Moda Fitness - Coral/Pink gradient */
a.category-card[data-category="moda-fitness"] .category-icon {
    background: linear-gradient(135deg, #e07a5f 0%, #f4a261 100%);
    box-shadow: 0 8px 24px rgba(224, 122, 95, 0.25);
}

/* Rotina & Autocuidado - Purple/Blue gradient */
a.category-card[data-category="rotina-e-autocuidado"] .category-icon {
    background: linear-gradient(135deg, #9b7ebd 0%, #b8a4d3 100%);
    box-shadow: 0 8px 24px rgba(155, 126, 189, 0.25);
}

/* SaÃºde & Bem-Estar - Teal/Cyan gradient */
a.category-card[data-category="saude-e-bem-estar"] .category-icon {
    background: linear-gradient(135deg, #2a9d8f 0%, #4ecdc4 100%);
    box-shadow: 0 8px 24px rgba(42, 157, 143, 0.25);
}

.category-icon svg {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

a.category-card:hover .category-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 12px 32px rgba(96, 108, 56, 0.35);
}

a.category-card:hover .category-icon svg {
    transform: scale(1.1);
}

.category-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--color-neutral-900);
    margin-bottom: 14px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

a.category-card:hover .category-title {
    color: var(--color-primary);
}

.category-description {
    font-size: 1.0625rem;
    color: var(--color-neutral-700);
    margin-bottom: 32px;
    line-height: 1.65;
    flex-grow: 1;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    margin-top: auto;
    transition: all 0.3s ease;
}

/* Animated arrow in the link */
.category-link svg {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

a.category-card:hover .category-link {
    gap: 14px;
    color: var(--color-primary-dark);
}

a.category-card:hover .category-link svg {
    transform: translateX(6px);
}



/* ===================================
   FEATURED POSTS
   =================================== */

.featured-posts {
    padding: var(--space-3xl) 0;
    background: var(--color-neutral-200);
}

/* Mobile base: 1 coluna */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: var(--space-2xl);
}

/* Desktop: 2 colunas */
@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

.post-card {
    background: var(--color-neutral-100);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Hover apenas em dispositivos com mouse */
@media (hover: hover) {
    .post-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }

    .post-card:hover .post-image img {
        transform: scale(1.08);
    }
}

/* Touch feedback */
.post-card:active {
    transform: scale(0.98);
}

/* Featured post (nÃ£o usado na HOME, mas manter compatibilidade) */
.post-card.featured {
    grid-column: span 1; /* Mobile: 1 coluna */
}

@media (min-width: 768px) {
    .post-card.featured {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1.3fr 1fr;
        min-height: 480px;
        max-height: 480px;
    }
}

.post-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8d5c4 0%, #c8b8a8 100%);
}

/* Mobile: imagem menor */
.post-card:not(.featured) .post-image {
    height: 240px;
    position: relative;
}

/* Desktop: imagem maior */
@media (min-width: 768px) {
    .post-card:not(.featured) .post-image {
        height: 280px;
    }
}

.post-card:not(.featured) .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Featured post - fills container */
.post-card.featured .post-image {
    height: 100%;
    width: 100%;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Badge styles - better contrast and visibility */
.post-badge,
.post-category {
    position: absolute;
    top: 16px; /* Mobile: menor */
    left: 16px;
    background: rgba(96, 108, 56, 0.95);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 8px 16px; /* Mobile: menor */
    border-radius: 30px;
    font-size: 0.75rem; /* Mobile: menor */
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Desktop: badge maior */
@media (min-width: 768px) {
    .post-badge,
    .post-category {
        top: 20px;
        left: 20px;
        padding: 10px 20px;
        font-size: 0.8125rem;
        letter-spacing: 1px;
    }
}

/* Mobile: padding menor */
.post-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Desktop: padding maior */
@media (min-width: 768px) {
    .post-content {
        padding: 32px;
    }
}

.post-card.featured .post-content {
    padding: 28px 24px; /* Mobile */
    justify-content: center;
}

@media (min-width: 768px) {
    .post-card.featured .post-content {
        padding: 40px 36px;
    }
}

/* Mobile: tÃ­tulo menor */
.post-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.35;
    color: var(--color-neutral-900);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Desktop: tÃ­tulo maior */
@media (min-width: 768px) {
    .post-title {
        font-size: 1.5rem;
    }
}

.post-card.featured .post-title {
    font-size: 1.75rem; /* Mobile */
    -webkit-line-clamp: 4;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .post-card.featured .post-title {
        font-size: 2.25rem;
    }
}

.post-excerpt {
    color: var(--color-neutral-700);
    margin-bottom: 24px;
    line-height: 1.7;
    flex-grow: 1;
    font-size: 0.9375rem; /* Mobile: 15px */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .post-excerpt {
        font-size: 1rem;
    }
}

.post-card.featured .post-excerpt {
    font-size: 1rem; /* Mobile */
    -webkit-line-clamp: 4;
}

@media (min-width: 768px) {
    .post-card.featured .post-excerpt {
        font-size: 1.125rem;
    }
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    color: var(--color-neutral-700);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-neutral-300);
}

.post-author,
.post-date,
.post-reading-time,
.post-reading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
}

.post-link:hover {
    gap: 12px;
    color: var(--color-primary-dark);
}

.post-link svg {
    width: 20px;
    height: 20px;
}

.section-cta {
    text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .post-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
    }

    .post-card.featured .post-image {
        height: 320px;
    }

    .post-card:not(.featured) .post-image {
        height: 240px;
    }

    .post-card.featured .post-content {
        padding: 32px 28px;
    }

    .featured-posts .post-card {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .post-badge,
    .post-category {
        top: 16px;
        left: 16px;
        padding: 8px 16px;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .featured-posts .post-badge,
    .featured-posts .post-category {
        top: -28px;
    }

    .featured-posts .post-card {
        margin-top: 36px;
    }

    .post-card:not(.featured) .post-image {
        height: 220px;
    }

    .post-card.featured .post-image {
        height: 280px;
    }

    .post-title {
        font-size: 1.25rem;
    }

    .post-card.featured .post-title {
        font-size: 1.75rem;
    }

    .post-content {
        padding: 28px 24px;
    }

    .post-card.featured .post-content {
        padding: 28px 24px;
    }

    .post-excerpt {
        font-size: 0.9375rem;
    }

    .post-card.featured .post-excerpt {
        font-size: 1rem;
    }
}

/* ===================================
   CLUBE SECTION
   =================================== */

.clube {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.clube-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-primary-dark) 100%
    );
    z-index: -1;
}

.clube-background::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.clube-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.clube-text {
    color: var(--color-neutral-100);
}

.clube-description {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
}

.clube-benefits {
    margin-bottom: var(--space-xl);
}

.clube-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-base);
}

.clube-benefits svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.clube-ctas {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.clube .btn-primary {
    background: var(--color-secondary);
}

.clube .btn-primary:hover {
    background: var(--color-secondary-dark);
}

.clube .btn-text {
    color: var(--color-neutral-100);
}

.clube-visual {
    display: flex;
    justify-content: center;
}

.clube-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    width: 100%;
}

.clube-card-header {
    text-align: center;
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid var(--color-neutral-300);
    margin-bottom: var(--space-lg);
}

.clube-badge {
    display: inline-block;
    background: var(--color-secondary);
    color: var(--color-neutral-100);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.clube-card h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
}

.clube-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.price-value {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--color-primary);
}

.price-period {
    font-size: var(--font-size-lg);
    color: var(--color-neutral-700);
}

.clube-savings {
    font-size: var(--font-size-sm);
    color: var(--color-secondary);
    font-weight: 600;
}

.clube-card-apps {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.app-icon {
    width: 56px;
    height: 56px;
    background: var(--color-neutral-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
}

@media (max-width: 1024px) {
    .clube-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonials {
    padding: var(--space-3xl) 0;
    background: var(--color-neutral-100);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--color-neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
}

.testimonial-quote {
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.author-info {
    font-size: var(--font-size-sm);
    color: var(--color-neutral-700);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--color-neutral-900);
    color: var(--color-neutral-300);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: var(--font-size-2xl);
    color: var(--color-neutral-100);
    margin-bottom: var(--space-md);
}

.footer-tagline {
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-4px);
}

.footer-links h4 {
    color: var(--color-neutral-100);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: var(--font-size-sm);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-newsletter h4 {
    color: var(--color-neutral-100);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-sm);
}

.footer-newsletter p {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.newsletter-form input {
    padding: var(--space-sm) var(--space-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-neutral-100);
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a:hover {
    color: var(--color-primary-light);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}
/* ===================================
   NEW CLUB SECTION STYLES
   =================================== */

.clube-benefits-grid {
    display: grid;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.benefit-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.benefit-icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-item h4 {
    color: var(--color-neutral-100);
    margin-bottom: 4px;
    font-size: 1.125rem;
    font-weight: 600;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.clube-app-showcase {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.showcase-header span {
    background: var(--color-secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-lg);
    display: inline-block;
}

.showcase-icons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.app-icon.large {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.15);
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.4s ease;
}

.app-icon.large:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.showcase-text {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    max-width: 80%;
    margin-top: var(--space-md);
}

@media (max-width: 768px) {
    .clube-app-showcase {
        min-height: auto;
        padding: var(--space-lg);
    }
    .app-icon.large {
        width: 64px;
        height: 64px;
        font-size: 2rem;
    }
}

/* ===================================
   HOME REFACTOR: MOBILE-FIRST & EDITORIAL
   =================================== */

/* --- SEÃ‡ÃƒO BLOG: LISTA COMPACTA (Mobile) --- */
.home-blog-section {
    padding: var(--space-xl) 0;
    background-color: var(--color-bg-alt);
}

.home-blog-grid {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    /* Mobile: 1 coluna */
    grid-template-columns: 1fr; 
}

.home-blog-card {
    background: transparent;
    border: none;
    display: flex;
    text-decoration: none;
    transition: transform 0.3s ease;
    
    /* MOBILE: Layout Horizontal (Lista) */
    flex-direction: row; 
    align-items: flex-start; /* Alinha ao topo */
    gap: var(--space-sm);
    border-bottom: 1px solid rgba(0,0,0,0.05); /* Separador visual sutil em mobile */
    padding-bottom: var(--space-sm);
}

.home-blog-card:last-child {
    border-bottom: none;
}

.home-blog-card .post-image {
    /* MOBILE: Tamanho fixo e pequeno */
    width: 100px; 
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 0; /* Remove margem bottom do desktop */
    position: relative;
    box-shadow: var(--shadow-sm);
}

.home-blog-card .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
}

/* MOBILE: ConteÃºdo ao lado */
.home-blog-card .post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-blog-card .post-meta {
    font-size: 0.7rem; /* XS */
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    display: flex;
    gap: 8px;
}

.home-blog-card .post-category {
    font-weight: 600;
    color: var(--color-primary);
}

.home-blog-card .post-title {
    font-family: var(--font-heading);
    font-size: 1rem; /* Base no mobile */
    line-height: 1.3;
    color: var(--color-text-heading);
    margin-bottom: 4px;
    font-weight: 600;
}

.home-blog-card .post-excerpt {
    /* MOBILE: Esconder excerpt para economizar espaÃ§o ou limitar a 1 linha */
    display: none; 
    font-size: 0.85rem;
    color: var(--color-text-body);
    line-height: 1.4;
    margin-bottom: 8px;
}

.home-blog-card .read-more {
    font-size: 0.75rem; 
    color: var(--color-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

/* --- SEÃ‡ÃƒO E-BOOKS: SLIDER HORIZONTAL (Mobile) --- */
.home-ebooks-section {
    padding: var(--space-xl) 0;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    overflow-x: hidden; /* Previne scroll horizontal da pÃ¡gina */
}

.home-ebooks-grid {
    margin-top: var(--space-lg);
    
    /* MOBILE: Slider Horizontal (Scroll Snap) */
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-md);
    padding-bottom: var(--space-lg); /* EspaÃ§o para scrollbar se houver */
    
    /* CentralizaÃ§Ã£o e bleeding */
    margin-right: calc(-1 * var(--space-4)); /* Bleed para a direita */
    padding-right: var(--space-lg); /* Padding para Ãºltimo item */
    -webkit-overflow-scrolling: touch;
}

/* Esconder scrollbar no mobile mas manter funcionalidade */
.home-ebooks-grid::-webkit-scrollbar {
    display: none;
}
.home-ebooks-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.home-ebook-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    transition: transform 0.3s ease;
    
    /* MOBILE: Card de Slider */
    min-width: 85vw; /* Quase tela cheia */
    scroll-snap-align: center;
}

.home-ebook-card:hover {
    transform: translateY(-2px); /* Menos agressivo */
}

.home-ebook-card .ebook-cover-wrapper {
    position: relative;
    aspect-ratio: 3/4; 
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
    background: #f0f0f0;
}

.home-ebook-card .ebook-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-ebook-card:hover .ebook-cover-wrapper img {
    transform: scale(1.02);
}

.home-ebook-card .ebook-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
}

.home-ebook-card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--color-text-heading);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.home-ebook-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: var(--space-sm); /* Menor margem */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-ebook-card .btn-download {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px; /* Touch friendly */
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    width: 100%;
}

.home-ebook-card:hover .btn-download {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* --- DESKTOP BREAKPOINTS (Restaura Layout Grid Refinado) --- */

/* Ajuste de espaÃ§amento global entre seÃ§Ãµes em telas maiores */
@media (min-width: 768px) {
    .home-blog-section, .home-ebooks-section {
        padding: 5rem 0; /* Mais respiro vertical */
    }

    /* Fundo sutil para diferenciar a seÃ§Ã£o de e-books */
    .home-ebooks-section {
        background-color: var(--color-bg-subtle, #f8f9fa);
        position: relative;
    }
    
    /* Linha sutil separadora */
    .home-ebooks-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 1200px;
        height: 1px;
        background-color: var(--color-border-subtle, #edf2f7);
    }
}

@media (min-width: 768px) {
    /* BLOG DESKTOP: Grid Estilo Revista */
    .home-blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2.5rem;
    }

    .home-blog-card {
        flex-direction: column;
        border: 1px solid var(--color-border-default, #e2e8f0);
        border-radius: var(--radius-lg, 16px);
        overflow: hidden;
        background: white;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        height: 100%;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Sombra inicial suave */
        padding: 0; /* Reset padding do mobile se houver */
        align-items: stretch; /* Garante full width */
    }
    
    .home-blog-card:hover {
        transform: translateY(-8px); /* ElevaÃ§Ã£o clara no hover */
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        border-color: var(--color-primary-light, #aaddff);
        cursor: pointer;
    }
    
    .home-blog-card .post-link {
        display: flex;
        flex-direction: column;
        height: 100%;
        text-decoration: none;
    }

    /* Imagem Widescreen Controlada (16/9) */
    .home-blog-card .post-image {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        margin-bottom: 0;
        object-fit: cover;
    }
    
    /* ConteÃºdo com Padding Interno */
    .home-blog-card .post-content {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        background: white;
    }
    
    .home-blog-card .post-title {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .home-blog-card .post-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.95rem;
        color: var(--color-text-secondary);
        margin-bottom: 1.5rem;
    }
    
    .home-blog-card .read-more {
        margin-top: auto;
        font-weight: 600;
        color: var(--color-primary);
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* EBOOK DESKTOP: Grid Vitrine */
    .home-ebooks-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        overflow: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
        margin-right: 0;
        padding-right: 0;
    }
    
    .home-ebook-card {
        min-width: auto;
        display: flex;
        flex-direction: column;
        background: white;
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        border: 1px solid var(--color-border-subtle, #f1f1f1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-decoration: none;
    }
    
    .home-ebook-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-color: var(--color-primary);
    }
    
    .home-ebook-card h3 {
        margin-top: 1rem;
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    /* BLOG DESKTOP LARGE: 3 Colunas Fixas -> Imagens menores */
    .home-blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    /* EBOOK DESKTOP LARGE: 4 Colunas */
    .home-ebooks-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* ===================================
   REFINED MOTION SYSTEM (UX 40+)
   =================================== */

@keyframes fadeInUpSutil {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUpSutil 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    opacity: 0; /* ComeÃ§a invisÃ­vel */
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 150ms; }
.delay-300 { animation-delay: 200ms; }
.delay-400 { animation-delay: 250ms; }

/* Respeito Ã  Acessibilidade (Crucial para UX Inclusivo) */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up,
    .hero-image-card,
    .clube-background::after {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .home-blog-card:hover,
    .home-ebook-card:hover,
    .home-ebook-card:hover .ebook-cover-wrapper img,
    .home-blog-card:hover .post-image img {
        transform: none !important;
    }
}

/* --- CORREÇÕES VISUAIS POS-DEPLOY (Step 555) --- */

/* 1. Espaçamento do botão 'Ler mais artigos' */
.section-cta {
    margin-top: 4rem;
    text-align: center;
}

/* 2. Badge de Categoria nos Posts (Correção de tamanho e legibilidade) */
.home-blog-card .post-image .post-category,
.home-blog-card .post-image .post-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(96, 108, 56, 0.95); /* var(--color-primary) com opacidade */
    color: white !important;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.8rem;
    border-radius: 100px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    width: auto;
    max-width: fit-content;
    line-height: 1;
    display: inline-block;
}


/* Editorial Bridge (SEO Injection) */
.editorial-bridge {
    background-color: #f7f9f3;
    border-left: 3px solid #606c38;
    padding: 16px 20px;
    margin: 32px 0;
    font-style: italic;
    font-size: 1.05em;
    color: #4a4a4a;
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}
.editorial-bridge a {
    font-weight: 600;
    color: #606c38;
    text-decoration: underline;
}
.editorial-bridge a:hover {
    color: #4a5428;
}
