/**
 * Calligraphie.art - Formations (online course) page
 */

.form-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2420 100%);
    color: #fff;
    overflow: hidden;
    padding: 8rem 1.5rem 4rem;
}
.form-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(212,68,62,0.18) 0%, transparent 60%);
}
.form-hero-kanji {
    position: absolute;
    font-size: 28rem;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}
.form-hero-content {
    position: relative;
    max-width: 760px;
    z-index: 1;
}
.form-hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(35px, 5vw, 58px);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.15;
}
.form-hero-subtitle {
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    color: var(--gold-accent);
    margin-bottom: 1.5rem;
}
.form-hero-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
}

.form-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--vermillion) 0%, #b33a35 100%);
    color: #fff;
    padding: 16px 38px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 8px 24px rgba(212,68,62,0.3);
}
.form-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212,68,62,0.4);
}
.form-cta-btn-lg { padding: 18px 48px; font-size: 1.15rem; }
/* Center the CTA button and give it identical space above and below */
.form-cta .form-cta-btn { display: block; width: -moz-fit-content; width: fit-content; margin: 2rem auto; }

/* Sections */
.form-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}
.form-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    text-align: center;
    color: var(--ink-black);
    margin-bottom: 2.5rem;
    position: relative;
}
.form-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--vermillion);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* What you'll learn */
.form-learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.form-learn-card {
    background: var(--paper-cream);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--light-wash);
    transition: transform .25s ease, box-shadow .25s ease;
}
.form-learn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.form-learn-icon {
    font-size: 2.6rem;
    line-height: 1;
}
.form-learn-card p {
    font-size: 1.05rem;
    color: var(--deep-brown);
    line-height: 1.5;
}

/* Check lists */
.form-method, .form-result { background: var(--paper-cream); border-radius: 0; }
.form-check-list {
    list-style: none;
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}
.form-check-list li {
    position: relative;
    padding: 0.9rem 1rem 0.9rem 3rem;
    background: #fff;
    border-radius: 10px;
    font-size: 1.05rem;
    color: var(--deep-brown);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.form-check-list li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vermillion);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: bold;
}
.form-check-green li::before { background: #2e9e5b; }

/* More than */
.form-more { text-align: center; }
.form-more-text {
    max-width: 760px;
    margin: 0 auto 1.2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--deep-brown);
}
.form-more-highlight {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--vermillion);
}
.form-more-image {
    display: block;
    width: 100%;
    max-width: 680px;
    margin: 2.5rem auto 0;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.14);
}

/* Program / modules */
.form-modules {
    display: grid;
    gap: 1rem;
}
.form-module {
    background: #fff;
    border: 1px solid var(--light-wash);
    border-radius: 14px;
    overflow: hidden;
}
.form-module-title {
    background: linear-gradient(135deg, var(--ink-black) 0%, var(--deep-brown) 100%);
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 1rem 3rem 1rem 1.5rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
    transition: background 0.2s ease;
}
.form-module-title::-webkit-details-marker { display: none; }
.form-module-title::after {
    content: '▾';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85em;
    opacity: 0.75;
    transition: transform 0.25s ease;
}
.form-module[open] .form-module-title::after { transform: translateY(-50%) rotate(180deg); }
.form-module:not([open]) .form-courses { display: none; }
.form-module[open] .form-module-title { box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08); }
.form-module-title:hover { background: linear-gradient(135deg, #262626 0%, #4a3a2e 100%); }
.form-courses {
    list-style: none;
    padding: 0.5rem 0;
}
.form-course {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid var(--light-wash);
}
.form-course:last-child { border-bottom: none; }
.form-course-title {
    font-weight: 600;
    color: var(--ink-black);
}
.form-course-desc {
    font-size: 0.95rem;
    color: var(--soft-gray);
    line-height: 1.5;
}

/* Bonuses */
.form-bonus { background: var(--paper-cream); }
.form-bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.form-bonus-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.8rem;
    border-left: 4px solid var(--gold-accent);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.form-bonus-card h3 {
    font-size: 1.15rem;
    color: var(--ink-black);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}
.form-bonus-card p {
    font-size: 0.98rem;
    color: var(--soft-gray);
    line-height: 1.6;
}

/* CTA */
.form-cta {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2420 100%);
    color: #fff;
    max-width: none;
    border-radius: 0;
}
.form-cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 1rem;
}
.form-cta > p {
    max-width: 640px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}
.form-cta-footer {
    margin-top: 2rem;
    font-size: 0.98rem;
    color: rgba(255,255,255,0.6);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Dropdown navigation CSS lives in style.css (loaded on every page) */

@media (max-width: 768px) {
    .form-hero-kanji { font-size: 16rem; }
    .form-learn-grid, .form-bonus-grid { grid-template-columns: 1fr; }
}

/* ===== Larger reading/body text (requested) ===== */
.form-hero-intro { font-size: 1.2rem; }
.form-learn-card p { font-size: 1.2rem; }
.form-more-text { font-size: 1.28rem; }
.form-course-desc { font-size: 1.08rem; }
.form-bonus-card p { font-size: 1.1rem; }
.form-check-list li { font-size: 1.15rem; }
.form-cta > p { font-size: 1.25rem; }
