/* =====================================================================
   FORMAQUIZ — Pages internes
   ===================================================================== */

/* Hero pages internes */
.page-head {
    padding: 9rem 0 5rem;
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}

.page-head::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(231, 76, 31, 0.18), transparent 55%);
    pointer-events: none;
}

.page-head-inner {
    position: relative;
    max-width: 800px;
}

.page-head .label {
    color: var(--flame-soft);
    margin-bottom: 1.5rem;
}

.page-head h1 {
    color: var(--paper);
    margin-bottom: 1.5rem;
}

.page-head h1 .italic {
    color: var(--flame);
}

.page-head p {
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(245, 239, 228, 0.75);
    max-width: 620px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-family: var(--mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 239, 228, 0.5);
}

.breadcrumb a {
    color: var(--flame);
}

/* =====================================================================
   PROGRAMME
   ===================================================================== */

.bloc-section {
    padding: 4.5rem 0;
    border-bottom: 1px solid var(--line);
}

.bloc-section:last-child {
    border-bottom: none;
}

.bloc-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

.bloc-big-num {
    font-family: var(--display);
    font-size: clamp(5rem, 9vw, 7rem);
    font-style: italic;
    color: var(--flame);
    line-height: 0.8;
    margin-right: 1rem;
}

.bloc-head h2 {
    font-family: var(--display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.bloc-head .bloc-marker {
    margin-bottom: 0.5rem;
}

.bloc-head p {
    color: var(--ink-mid);
    font-size: 1rem;
    max-width: 620px;
    line-height: 1.6;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.module-card {
    background: var(--paper-soft);
    padding: 1.75rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    transition: all 0.3s var(--ease);
}

.module-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
    background: var(--paper);
}

.module-num {
    font-family: var(--display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--flame);
    line-height: 1;
    margin-bottom: 0.875rem;
}

.module-card h4 {
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.375rem;
    line-height: 1.25;
}

.module-card p {
    color: var(--ink-mid);
    font-size: 0.875rem;
    line-height: 1.55;
}

/* =====================================================================
   TARIFS
   ===================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 4rem auto 0;
}

.price-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 2.5rem 2.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    border-color: var(--ink);
    transform: translateY(-4px);
    box-shadow: 0 24px 60px -20px rgba(14, 14, 12, 0.15);
}

.price-card.featured {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.price-badge {
    position: absolute;
    top: 1.75rem;
    right: 1.75rem;
    padding: 0.375rem 0.75rem;
    background: var(--flame);
    color: var(--paper);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-eyebrow {
    font-family: var(--mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--flame-deep);
    margin-bottom: 1.25rem;
}

.price-card.featured .price-eyebrow {
    color: var(--flame);
}

.price-card h3 {
    font-family: var(--display);
    font-size: clamp(1.625rem, 2.6vw, 1.875rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
    max-width: 340px;
}

.price-card > p {
    color: var(--ink-mid);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
}

.price-card.featured > p {
    color: rgba(245, 239, 228, 0.7);
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.75rem;
}

.price-card.featured .price-amount {
    border-color: rgba(245, 239, 228, 0.12);
}

.price-num {
    font-family: var(--display);
    font-size: clamp(2.5rem, 4vw, 3rem);
    line-height: 1;
}

.price-unit {
    font-size: 0.9375rem;
    color: var(--ink-mid);
}

.price-card.featured .price-unit {
    color: rgba(245, 239, 228, 0.6);
}

.price-features {
    flex: 1;
    margin-bottom: 2rem;
}

.price-features li {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--ink);
}

.price-card.featured .price-features li {
    color: rgba(245, 239, 228, 0.85);
}

.price-features li::before {
    content: '→';
    color: var(--flame-deep);
    flex-shrink: 0;
    font-weight: 500;
}

.price-card.featured .price-features li::before {
    color: var(--flame);
}

.price-card .btn {
    width: 100%;
}

/* Callout en bas des tarifs */

.callout-block {
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.callout-icon {
    width: 64px;
    height: 64px;
    background: var(--flame);
    color: var(--paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.callout-icon svg {
    width: 28px;
    height: 28px;
}

.callout-block h3 {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.callout-block p {
    color: var(--ink-mid);
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* =====================================================================
   CONTACT
   ===================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info h3 {
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--ink-mid);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 420px;
}

.contact-method {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: var(--ink);
    color: var(--paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s var(--ease);
}

.contact-method:hover .contact-method-icon {
    background: var(--flame);
}

.contact-method-icon svg {
    width: 20px;
    height: 20px;
}

.contact-method-label {
    font-family: var(--mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mid);
    margin-bottom: 0.25rem;
}

.contact-method-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
}

.contact-method-value a:hover {
    color: var(--flame-deep);
}

.contact-form {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 2.5rem;
}

.contact-form h3 {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-mid);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--paper-soft);
    border: 1.5px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--ink);
    transition: all 0.25s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ink);
    background: var(--paper);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* =====================================================================
   MENTIONS LÉGALES
   ===================================================================== */

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 3rem 0 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    color: var(--ink);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--sans);
    font-size: 1.0625rem;
    font-weight: 500;
    margin: 1.5rem 0 0.75rem;
    color: var(--ink);
}

.legal-content p {
    color: var(--ink);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.legal-content a {
    color: var(--flame-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: var(--flame);
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    list-style: disc;
    line-height: 1.75;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.legal-content strong {
    font-weight: 500;
}

/* =====================================================================
   RESPONSIVE PAGES INTERNES
   ===================================================================== */

@media (max-width: 1024px) {
    .contact-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .callout-block {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .callout-icon {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .bloc-head {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .bloc-big-num {
        margin-right: 0;
    }
    .contact-form {
        padding: 1.75rem;
    }
}
