
/* =============================================================================
   PAGE GUIDES - Styles
   ============================================================================= */

/* Hero */
.eci-inner-hero--guides {
    background: linear-gradient(135deg, #065f46 0%, #047857 50%, #059669 100%);
    color: white;
}
.eci-inner-hero--guides .eci-breadcrumbs,
.eci-inner-hero--guides .eci-breadcrumbs a { color: rgba(255,255,255,0.75); }
.eci-inner-hero--guides .eci-breadcrumbs a:hover { color: #fff; }
.eci-inner-hero--guides .eci-inner-hero-subtitle { color: rgba(255,255,255,0.9); }

/* =============================================================================
   NAV RAPIDE (sticky)
   ============================================================================= */

.eci-guides-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    padding: 0.75rem 0;
}

.eci-guides-nav-inner {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.eci-guides-nav-inner::-webkit-scrollbar { display: none; }

.eci-guides-nav-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}
.eci-guides-nav-item:hover {
    background: #ecfdf5;
    border-color: var(--eci-vert, #16a34a);
    color: var(--eci-vert-dark, #15803d);
}

.eci-guides-nav-icon { display: flex; align-items: center; }
.eci-guides-nav-icon svg { width: 18px; height: 18px; color: var(--eci-vert, #16a34a); }

.eci-guides-nav-count {
    background: var(--eci-vert, #16a34a);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1em 0.45em;
    border-radius: 10px;
    min-width: 1.3em;
    text-align: center;
}

/* =============================================================================
   SECTIONS
   ============================================================================= */

.eci-guides-sections { padding: 2rem 0 1rem; }

.eci-guides-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 5rem;
}

.eci-guides-section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ecfdf5;
}

.eci-guides-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #ecfdf5;
    border-radius: 12px;
    flex-shrink: 0;
    color: var(--eci-vert, #16a34a);
}

.eci-guides-section-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.eci-guides-section-desc {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0.25rem 0 0;
}

/* =============================================================================
   GRILLE GUIDES
   ============================================================================= */

.eci-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

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

/* =============================================================================
   CARD GUIDE
   ============================================================================= */

.eci-guide-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.eci-guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.eci-guide-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }

.eci-guide-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f3f4f6;
}
.eci-guide-thumb { width: 100%; height: 100%; object-fit: cover; }

.eci-guide-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #d1d5db;
}
.eci-guide-placeholder svg { width: 48px; height: 48px; }

.eci-guide-card-body {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.eci-guide-card-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: #111827;
    line-height: 1.3;
}

.eci-guide-card-excerpt {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0 0 0.75rem;
    line-height: 1.5;
    flex: 1;
}

.eci-guide-card-meta {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

/* =============================================================================
   CTA DOUBLE
   ============================================================================= */


/* =============================================================================
   CTA SECTION - GUIDES (override)
   ============================================================================= */

.eci-guides-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.eci-guides-cta-grid .eci-cta-box {
    text-align: left;
    padding: 2rem 2rem 2rem 2rem;
    border-radius: 16px;
    border: none;
    position: relative;
    overflow: hidden;
}

.eci-guides-cta-grid .eci-cta-box:first-child {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(6,95,70,0.25);
}

.eci-guides-cta-grid .eci-cta-box:first-child h2 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 0.6rem;
}

.eci-guides-cta-grid .eci-cta-box:first-child p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.eci-guides-cta-grid .eci-cta-box:first-child .btn-primary {
    background: #fff;
    color: #065f46;
    border: none;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.eci-guides-cta-grid .eci-cta-box:first-child .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.eci-guides-cta-grid .eci-cta-box:last-child {
    background: #fff;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.eci-guides-cta-grid .eci-cta-box:last-child h2 {
    color: #111827;
    font-size: 1.3rem;
    margin: 0 0 0.6rem;
}

.eci-guides-cta-grid .eci-cta-box:last-child p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.eci-guides-cta-grid .eci-cta-box:last-child .btn-primary {
    background: var(--eci-vert, #16a34a);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.eci-guides-cta-grid .eci-cta-box:last-child .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22,163,74,0.3);
    background: var(--eci-vert-dark, #15803d);
}

/* Decorative circle */
.eci-guides-cta-grid .eci-cta-box:first-child::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.eci-guides-cta-grid .eci-cta-box:first-child::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

@media (max-width: 700px) {
    .eci-guides-cta-grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   FAQ SECTION
   ============================================================================= */

.eci-faq-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 60px 20px;
    margin-top: 60px;
}

.eci-faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.eci-faq-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 12px;
}

.eci-faq-header p {
    font-size: 18px;
    color: #047857;
}

.eci-faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.eci-faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-left: 4px solid #10b981;
    transition: all 0.2s ease;
}

.eci-faq-item:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    transform: translateX(4px);
}

.eci-faq-question {
    font-size: 20px;
    font-weight: 600;
    color: #065f46;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.eci-faq-answer {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .eci-faq-section {
        padding: 40px 16px;
    }
    .eci-faq-header h2 {
        font-size: 26px;
    }
    .eci-faq-question {
        font-size: 18px;
    }
    .eci-faq-answer {
        font-size: 15px;
    }
}
