/* ==========================================
   APHRODITE - LANDING NEW COMPONENTS
   Flip-boxes, badge stat, testimonials, FAQ details, steps-3
   ========================================== */

/* ---------- SUBSECTION BLOCK (H3 + texte dans une section) ---------- */
.subsection-block {
    max-width: 820px;
    margin: 50px auto 0;
    padding: 28px 32px;
    background: var(--white);
    border: 1px solid var(--cream-border);
    border-left: 4px solid var(--gold-bright);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.subsection-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    font-weight: 600;
    color: var(--gold-text);
    margin-bottom: 12px;
    line-height: 1.3;
}
.subsection-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-medium);
}
.subsection-text strong { color: var(--text-dark); font-weight: 700; }

/* ---------- HOWTO CONSULT BLOCK (Comment consulter ?) ---------- */
.howto-consult-block {
    max-width: 820px;
    margin: 0 auto 40px;
    padding: 22px 28px;
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--rose-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(6px);
}
.howto-consult-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-medium);
    margin: 0;
}
.howto-consult-text strong { color: var(--rose-dark); font-weight: 700; }

/* ---------- STAT SECTION — H3 variant ---------- */
.section-stat .section-title {
    text-align: center;
    margin-bottom: 14px;
}
.section-stat .section-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
}
.section-stat .section-intro strong { color: var(--rose); }
h3.stat-title {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 600;
    color: var(--gold-text);
    margin-bottom: 16px;
}

/* ---------- HERO BADGE STRONG (0% échec) ---------- */
.hero-trust-badges { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 20px 0 28px; }
.hero-trust-badges .trust-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--cream-border);
    border-radius: 50px;
    font-size: 13px; font-weight: 600; color: var(--text-medium);
    backdrop-filter: blur(6px);
}
.hero-trust-badges .trust-badge i { color: var(--gold-text); font-size: 13px; }
.hero-trust-badges .hero-badge-strong {
    background: var(--gradient-rose);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-rose);
    font-weight: 800;
}
.hero-trust-badges .hero-badge-strong i { color: white; }

/* ==========================================
   SECTION HOWTO v2 — FLIP BOXES
   ========================================== */
.flip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 20px;
}

.flip-box {
    perspective: 1200px;
    min-height: 280px;
}
.flip-inner {
    position: relative;
    width: 100%; height: 100%;
    min-height: 280px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}
.flip-box:hover .flip-inner,
.flip-box:focus-within .flip-inner { transform: rotateY(180deg); }

.flip-face {
    position: absolute; inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.flip-front {
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    border: 1px solid var(--cream-border);
}
.flip-back {
    background: var(--gradient-rose);
    color: white;
    transform: rotateY(180deg);
    padding: 34px 28px;
}

.flip-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--gradient-gold);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    box-shadow: var(--shadow-gold);
}
.flip-icon i { font-size: 28px; color: var(--text-dark); }

.flip-front h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 24px; font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 14px;
}

.flip-hint {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 12px;
    color: var(--text-subtle);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: auto;
    padding-top: 10px;
}

.flip-back p {
    font-size: 15px; line-height: 1.7;
    margin-bottom: 12px;
}
.flip-back-accent {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px !important;
    font-weight: 600;
    color: var(--gold-pale);
    margin-top: 6px !important;
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-top: 12px;
}

/* ==========================================
   SECTION STAT — 0% ÉCHEC
   ========================================== */
.section-stat {
    padding: 90px 0;
    background: var(--white);
    position: relative; z-index: 1;
}

.stat-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: center;
    max-width: 1040px; margin: 0 auto;
}

.stat-badge-big {
    background: var(--gradient-rose);
    color: white;
    border-radius: 50%;
    width: 300px; height: 300px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(192,71,110,0.35), 0 0 0 10px rgba(192,71,110,0.08);
    position: relative;
    animation: badgePulse 3.5s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 60px rgba(192,71,110,0.35), 0 0 0 10px rgba(192,71,110,0.08); }
    50%      { transform: scale(1.03); box-shadow: 0 24px 72px rgba(192,71,110,0.45), 0 0 0 16px rgba(192,71,110,0.10); }
}
.stat-badge-big::before {
    content: '';
    position: absolute; inset: 14px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.4);
    pointer-events: none;
}
.stat-badge-num {
    font-family: var(--font-display);
    font-size: 120px; font-weight: 700;
    line-height: 1;
    letter-spacing: -4px;
}
.stat-badge-num span {
    font-size: 60px;
    vertical-align: super;
    margin-left: 4px;
    font-weight: 500;
}
.stat-badge-label {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: -6px;
    margin-bottom: 10px;
}
.stat-badge-stars {
    color: var(--gold-bright);
    font-size: 16px;
    letter-spacing: 4px;
}

.stat-content .section-label { margin-bottom: 14px; text-align: left; }
.stat-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(26px, 3vw, 34px);
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 18px;
}
.stat-lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-medium);
    margin-bottom: 14px;
}
.stat-lead strong { color: var(--rose); }
.stat-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 22px;
}
.stat-points {
    display: flex; flex-direction: column; gap: 10px;
}
.stat-point {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px;
    background: var(--cream);
    border: 1px solid var(--cream-border);
    border-left: 3px solid var(--rose);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-medium);
}
.stat-point i {
    color: var(--rose);
    font-size: 14px;
    flex-shrink: 0;
}
.stat-point strong { color: var(--text-dark); font-weight: 700; }

/* ==========================================
   SECTION TESTIMONIALS
   ========================================== */
.section-testimonials {
    padding: 90px 0;
    background: var(--cream-dark);
    position: relative; z-index: 1;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 36px;
}

.testi-card {
    background: var(--white);
    border: 1px solid var(--cream-border);
    border-radius: var(--radius-lg);
    padding: 32px 26px 26px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-bright);
}

.testi-quote-mark {
    position: absolute;
    top: -18px; left: 24px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-gold);
}
.testi-quote-mark i { color: var(--text-dark); font-size: 15px; }

.testi-stars {
    color: var(--gold-light);
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 14px;
    margin-top: 6px;
}

.testi-text {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 20px;
    min-height: 160px;
}

.testi-author {
    display: flex; align-items: center; gap: 12px;
    border-top: 1px solid var(--cream-border);
    padding-top: 16px;
}
.testi-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient-rose);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700;
    box-shadow: var(--shadow-rose);
    flex-shrink: 0;
}
.testi-ident strong {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 17px; font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}
.testi-ident span {
    font-size: 12px;
    color: var(--text-subtle);
}

/* ==========================================
   FAQ — <details>/<summary>
   ========================================== */
.faq-list {
    display: flex; flex-direction: column; gap: 12px;
    max-width: 820px; margin: 36px auto 0;
}
.faq-list .faq-item {
    background: var(--cream);
    border: 1px solid var(--cream-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-list .faq-item[open] {
    background: var(--white);
    border-color: var(--gold-bright);
    box-shadow: var(--shadow-md);
}

.faq-list .faq-item summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    gap: 14px;
    list-style: none;
    user-select: none;
    transition: var(--transition);
}
.faq-list .faq-item summary::-webkit-details-marker { display: none; }
.faq-list .faq-item summary:hover { background: var(--gold-pale); }

.faq-q {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 17px; font-weight: 600;
    color: var(--text-dark);
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--text-dark);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-gold);
}
.faq-toggle i { font-size: 11px; }
.faq-list .faq-item[open] .faq-toggle { transform: rotate(135deg); }

.faq-list .faq-answer {
    display: block;
    padding: 0 24px 20px;
}
.faq-list .faq-item:not([open]) .faq-answer {
    display: none;
}
.faq-list .faq-answer p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-medium);
    border-top: 1px solid var(--cream-border);
    padding-top: 16px;
}
.faq-list .faq-answer strong { color: var(--text-dark); font-weight: 700; }

/* ==========================================
   SECTION CONSULTATION v2 — steps-3 + final CTA
   ========================================== */
.section-consultation {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--parchment) 0%, var(--rose-pale) 100%);
    position: relative; z-index: 1; overflow: hidden;
}

.consultation-lead {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-medium);
    max-width: 720px;
    margin: 0 auto 46px;
    text-align: center;
}

.steps-3 {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 18px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto 56px;
}

.step3-card {
    background: var(--white);
    border: 1px solid var(--cream-border);
    border-radius: var(--radius-lg);
    padding: 30px 24px 26px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.step3-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-bright);
}
.step3-num {
    position: absolute;
    top: -18px; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gradient-rose);
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 17px; font-weight: 700;
    box-shadow: var(--shadow-rose);
}
.step3-icon {
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--gold-pale);
    border: 2px solid var(--gold-bright);
    display: flex; align-items: center; justify-content: center;
    margin: 8px auto 16px;
    box-shadow: var(--shadow-gold);
}
.step3-icon i { font-size: 22px; color: var(--gold-text); }
.step3-card h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 20px; font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.step3-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

.step3-arrow {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--rose);
    font-weight: 500;
    opacity: 0.7;
}

.final-cta-wrap {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.final-cta-lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 26px;
}
.final-cta-lead strong { color: var(--text-dark); }

.final-cta-wrap .btn-main-cta {
    display: inline-flex;
    width: auto;
    min-width: 340px;
    padding: 20px 40px;
    font-size: 15px;
    margin-bottom: 22px;
}
.final-cta-wrap .trust-row {
    margin-top: 8px;
}

/* ==========================================
   RESPONSIVE — Landing components
   ========================================== */
@media (max-width: 900px) {
    .flip-grid { grid-template-columns: 1fr; gap: 20px; }
    .flip-box { min-height: 240px; }
    .flip-inner { min-height: 240px; }

    .stat-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .stat-content .section-label { text-align: center; }
    .stat-badge-big { width: 240px; height: 240px; }
    .stat-badge-num { font-size: 90px; }
    .stat-badge-num span { font-size: 44px; }
    .stat-badge-label { font-size: 18px; }
    .stat-points { align-items: stretch; }
    .stat-point { justify-content: flex-start; }

    .testi-grid { grid-template-columns: 1fr; gap: 22px; }
    .testi-text { min-height: auto; }

    .steps-3 {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .step3-arrow {
        transform: rotate(90deg);
        font-size: 24px;
    }

    .final-cta-wrap .btn-main-cta { min-width: 0; width: 100%; }
}

@media (max-width: 520px) {
    .hero-trust-badges .trust-badge { font-size: 12px; padding: 7px 14px; }
    .stat-badge-big { width: 200px; height: 200px; }
    .stat-badge-num { font-size: 74px; }
    .stat-badge-num span { font-size: 36px; }
    .flip-front h3 { font-size: 20px; }
    .flip-face { padding: 28px 22px; }
    .faq-q { font-size: 15px; }
}
