/* ============================================
   INDEX.CSS — Styles spécifiques à la page d'accueil
============================================ */

/* ============================================
   HERO
============================================ */
.hero {
    background: linear-gradient(135deg, #1B2A4A 0%, #0F1D36 60%, #162340 100%);
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(232,96,28,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
    font-size: 2.75rem; font-weight: 800; color: #fff;
    line-height: 1.15; margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: #E8601C; }
.hero p {
    font-size: 1.15rem; color: #94A3B8;
    margin-bottom: 2rem; max-width: 480px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: relative; z-index: 1; }

/* Hero card */
.hero-card {
    background: #fff; border-radius: 16px; padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); transform: rotate(3deg);
}
.hero-card-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid #E5E7EB;
}
.hero-card-header h3 {
    font-size: 0.85rem; color: #6B7280; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem;
}
.hero-card-badge {
    background: #ECFDF5; color: #16A34A; font-size: 0.8rem;
    font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 20px;
    flex-shrink: 0;
}
.hero-portfolio-opened {
    color: #9CA3AF; font-size: 0.75rem;
}
.hero-portfolio-value {
    font-size: 2.2rem; font-weight: 800; color: #1B2A4A; margin-bottom: 0.25rem;
}
.hero-portfolio-gain {
    color: #16A34A; font-weight: 600; font-size: 0.95rem; margin-bottom: 1.5rem;
}
.hero-etf-list { list-style: none; }
.hero-etf-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.6rem 0; border-bottom: 1px solid #F3F4F6;
}
.hero-etf-item:last-child { border-bottom: none; }
.hero-etf-name { font-weight: 600; font-size: 0.9rem; color: #1B2A4A; }
.hero-etf-ticker { color: #6B7280; font-size: 0.8rem; }
.hero-etf-value { font-weight: 600; font-size: 0.9rem; text-align: right; }
.hero-etf-change { font-size: 0.8rem; }
.hero-card-updated {
    text-align: right; color: #9CA3AF; font-size: 0.75rem;
    margin-top: 0.75rem; padding-top: 0.5rem; border-top: 1px solid #F3F4F6;
}

/* ============================================
   BANDEAU CONFIANCE
============================================ */
.trust-bar {
    background: #F4F6F8; padding: 2rem 0; border-bottom: 1px solid #E5E7EB;
}
.trust-bar .container {
    display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 0.5rem;
    color: #6B7280; font-size: 0.9rem; font-weight: 500;
}
.trust-item i { color: #E8601C; font-size: 1.1rem; }

/* ============================================
   PROBLÈME / SOLUTION
============================================ */
.problem-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.problem-list { list-style: none; }
.problem-list li {
    display: flex; gap: 1rem; margin-bottom: 1.25rem;
    font-size: 1rem; color: #374151;
}
.problem-list .icon-circle {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.problem-list .icon-red { background: #FEF2F2; color: #DC2626; }
.problem-list .icon-green { background: #ECFDF5; color: #16A34A; }
.solution-card {
    background: #fff; border-radius: 16px; padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06); border: 1px solid #E5E7EB;
}
.solution-card h3 {
    font-size: 1.35rem; font-weight: 700; margin-bottom: 1.5rem; color: #1B2A4A;
}

/* ============================================
   FONCTIONNALITÉS
============================================ */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.feature-card {
    background: #fff; border-radius: 12px; padding: 2rem;
    border: 1px solid #E5E7EB; transition: all 0.25s;
}
.feature-card:hover {
    border-color: #E8601C;
    box-shadow: 0 8px 30px rgba(232,96,28,0.1);
    transform: translateY(-2px);
}
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 1.25rem;
}
.feature-icon-orange { background: #FFF3ED; color: #E8601C; }
.feature-icon-blue   { background: #EFF6FF; color: #3B82F6; }
.feature-icon-green  { background: #ECFDF5; color: #16A34A; }
.feature-icon-purple { background: #F5F3FF; color: #7C3AED; }
.feature-icon-amber  { background: #FFFBEB; color: #D97706; }
.feature-icon-teal   { background: #F0FDFA; color: #0D9488; }
.feature-icon-rose   { background: #FEF2F2; color: #E11D48; }
.feature-icon-sky    { background: #F0F9FF; color: #0369A1; }
.feature-icon-emerald{ background: #ECFDF5; color: #047857; }
.feature-card h3 {
    font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: #1B2A4A;
}
.feature-card p { font-size: 0.9rem; color: #6B7280; line-height: 1.5; }

/* ============================================
   ENGAGEMENT / PHILOSOPHIE
============================================ */
.engagement-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
    max-width: 880px; margin: 0 auto;
}
.engagement-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.engagement-icon {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; background: rgba(232,96,28,0.12); color: #E8601C;
}
.engagement-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; color: #1B2A4A; }
.engagement-item p { font-size: 0.9rem; color: #6B7280; line-height: 1.5; }

/* ============================================
   SECTION DÉTAIL (alternée)
============================================ */
.detail-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    align-items: center; margin-bottom: 5rem;
}
.detail-row:last-child { margin-bottom: 0; }
.detail-row.reverse .detail-text { order: 2; }
.detail-row.reverse .detail-visual { order: 1; }
.detail-text h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; color: #1B2A4A; }
.detail-text p { font-size: 1rem; color: #6B7280; margin-bottom: 1.5rem; }
.detail-list { list-style: none; }
.detail-list li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    margin-bottom: 0.75rem; font-size: 0.95rem; color: #374151;
}
.detail-list li i { color: #E8601C; margin-top: 0.2rem; }
.detail-visual {
    background: #F4F6F8; border-radius: 16px; padding: 2rem; border: 1px solid #E5E7EB;
}

/* Mini table pour les visuels */
.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th {
    text-align: left; font-size: 0.75rem; color: #6B7280; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em; padding: 0.6rem 0.75rem;
    border-bottom: 2px solid #E5E7EB;
}
.mini-table td { padding: 0.75rem; font-size: 0.85rem; border-bottom: 1px solid #F3F4F6; }
.mini-table .ticker { font-weight: 600; color: #1B2A4A; }
.mini-table .amount { font-weight: 600; text-align: right; }

/* Portfolio tabs mock */
.mock-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.mock-tab { padding: 0.4rem 1rem; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }
.mock-tab-active { background: #1B2A4A; color: #fff; }
.mock-tab-inactive { background: #E5E7EB; color: #6B7280; }

/* ============================================
   POUR QUI
============================================ */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.audience-card {
    text-align: center; padding: 2.5rem 2rem;
    background: rgba(255,255,255,0.05); border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.audience-card i { font-size: 2.5rem; color: #E8601C; margin-bottom: 1rem; display: block; }
.audience-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.audience-card p { font-size: 0.9rem; color: #94A3B8; }

/* ============================================
   PRICING
============================================ */
.pricing-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
    max-width: 760px; margin: 0 auto;
}
.pricing-card {
    background: #fff; border-radius: 16px; padding: 2.5rem;
    border: 2px solid #E5E7EB; text-align: center;
    position: relative; transition: all 0.25s;
}
.pricing-card:hover {
    border-color: #E8601C; box-shadow: 0 8px 30px rgba(232,96,28,0.12);
}
.pricing-card.popular {
    border-color: #E8601C; box-shadow: 0 8px 30px rgba(232,96,28,0.12);
}
.pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: #E8601C; color: #fff; font-size: 0.75rem; font-weight: 700;
    padding: 0.3rem 1rem; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-card h3 { font-size: 1.1rem; font-weight: 700; color: #1B2A4A; margin-bottom: 1rem; }
.pricing-price {
    font-size: 2.75rem; font-weight: 800; color: #1B2A4A;
    line-height: 1; margin-bottom: 0.25rem;
}
.pricing-price sup { font-size: 1.2rem; font-weight: 600; vertical-align: super; }
.pricing-period { font-size: 0.9rem; color: #6B7280; margin-bottom: 0.5rem; }
.pricing-savings { font-size: 0.85rem; font-weight: 600; color: #16A34A; margin-bottom: 1.5rem; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.pricing-features li {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.9rem; margin-bottom: 0.6rem; color: #374151;
}
.pricing-features li i { color: #16A34A; margin-top: 0.15rem; }

/* ============================================
   FAQ
============================================ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #E5E7EB; }
.faq-question {
    width: 100%; text-align: left; background: none; border: none;
    padding: 1.25rem 0; font-size: 1rem; font-weight: 600;
    color: #1B2A4A; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; font-family: inherit;
}
.faq-question i { transition: transform 0.2s; color: #6B7280; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner {
    padding: 0 0 1.25rem; font-size: 0.95rem; color: #6B7280; line-height: 1.7;
}

/* ============================================
   CTA FINAL
============================================ */
.cta-section {
    background: linear-gradient(135deg, #1B2A4A 0%, #0F1D36 100%);
    padding: 5rem 0; text-align: center;
}
.cta-section h2 { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 0.75rem; }
.cta-section p {
    font-size: 1.1rem; color: #94A3B8; margin-bottom: 2rem;
    max-width: 500px; margin-left: auto; margin-right: auto;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   RESPONSIVE — INDEX
============================================ */
@media (max-width: 992px) {
    .hero .container { grid-template-columns: 1fr; gap: 3rem; }
    .hero { padding: 8rem 0 4rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero-visual { max-width: 420px; }
    .features-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-row { grid-template-columns: 1fr; gap: 2rem; }
    .detail-row.reverse .detail-text,
    .detail-row.reverse .detail-visual { order: unset; }
    .problem-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero { padding: 7rem 0 3rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero p { font-size: 1rem; }
    .features-grid, .audience-grid, .pricing-grid { grid-template-columns: 1fr; }
    .engagement-grid { grid-template-columns: 1fr; }
    .trust-bar .container { gap: 1.5rem; }
}
