/* ============================================================
   IMPRESSION 3D GRAND FORMAT — Page CSS
   ============================================================ */


/* ------------------------------------------------------------ INTRO CTA ---- */
.gf-intro-cta .cta-inner {
    max-width: 56rem;
}

.gf-intro-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 36px 0 40px;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gf-intro-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.gf-intro-stat__val {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.gf-intro-stat__label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
}

.gf-intro-stat__sep {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    margin: 0 32px;
}

@media (max-width: 560px) {
    .gf-intro-stats {
        flex-direction: column;
        gap: 24px;
    }
    .gf-intro-stat__sep {
        width: 48px;
        height: 1px;
        margin: 0;
    }
    .gf-intro-stat__val {
        font-size: 1.9rem;
    }
}

/* ------------------------------------------------------------ SECTIONS ---- */
.gf-section {
    padding: 80px 0;
}

.gf-section--alt {
    background: #f5f7ff;
}

.gf-section--dark {
    background: var(--color-dark);
}

.gf-section--dark .section-title,
.gf-section--dark .title-accent {
    color: #fff;
}

.gf-section--dark .title-accent {
    background: var(--color-accent);
}

/* ------------------------------------------------------------ TWO COL ---- */
.gf-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.gf-two-col__text .section-header {
    margin-bottom: 24px;
}

.gf-two-col__text p {
    color: var(--color-text, #333);
    line-height: 1.7;
    margin-bottom: 16px;
}

.gf-two-col__media {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gf-two-col__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ------------------------------------------------------------ LIST ---- */
.gf-list {
    margin: 12px 0 20px 0;
    padding-left: 20px;
}

.gf-list li {
    color: var(--color-text, #333);
    line-height: 1.65;
    margin-bottom: 8px;
    padding-left: 4px;
}

.gf-list li strong {
    color: var(--color-dark);
}

/* ------------------------------------------------------------ DIMS ---- */
.gf-dims {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.gf-dim-card {
    background: #fff;
    border: 1px solid rgba(5, 64, 242, 0.1);
    border-radius: 8px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s;
}

.gf-dim-card:hover {
    box-shadow: 0 6px 28px rgba(5, 64, 242, 0.1);
}

.gf-dim-card--highlight {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.gf-dim-card--highlight .gf-dim-card__value,
.gf-dim-card--highlight .gf-dim-card__label,
.gf-dim-card--highlight .gf-dim-card__desc {
    color: #fff;
}

.gf-dim-card__value {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.gf-dim-card__label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.gf-dim-card__desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.55;
}

.gf-dims__note {
    background: #fff;
    border-left: 3px solid var(--color-primary);
    padding: 18px 22px;
    border-radius: 0 6px 6px 0;
    font-size: 0.95rem;
    color: var(--color-text, #333);
    line-height: 1.65;
}

/* ------------------------------------------------------------ AVANTAGES ---- */
.gf-avantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gf-avantages .gf-avantage:nth-child(4) {
    grid-column: 1;
}

.gf-avantage {
    background: #f5f7ff;
    border: 1px solid rgba(5, 64, 242, 0.08);
    border-radius: 10px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.gf-avantage:hover {
    box-shadow: 0 8px 32px rgba(5, 64, 242, 0.1);
    transform: translateY(-2px);
}

.gf-avantage__num {
    position: absolute;
    top: -12px;
    right: 16px;
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 700;
    color: rgba(5, 64, 242, 0.07);
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.gf-avantage__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.gf-avantage__text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* ------------------------------------------------------------ TECHNIQUES ---- */
.gf-techniques {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.gf-technique {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Bloc sans visuel : la grille repasse sur une seule colonne pleine largeur */
.gf-technique--sans-media {
    grid-template-columns: 1fr;
}

.gf-technique--reverse {
    direction: rtl;
}

.gf-technique--reverse > * {
    direction: ltr;
}

.gf-technique__num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(5, 64, 242, 0.12);
    line-height: 1;
    margin-bottom: 8px;
}

.gf-technique__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.gf-technique__text p {
    font-size: 0.97rem;
    color: var(--color-text, #333);
    line-height: 1.7;
    margin-bottom: 12px;
}

.gf-technique__text strong {
    color: var(--color-dark);
}

.gf-technique__media {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #dde2ee;
}

.gf-technique__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Les questions de FAQ sont des h3 (structure Hn) sans en porter l'allure */
.faq-question {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    line-height: inherit;
    color: inherit;
}

/* ------------------------------------------------------------ VISUELS ---- */
.gf-hero-figure {
    margin: 32px auto 4px;
    max-width: 460px;
    border-radius: 12px;
    overflow: hidden;
}

.gf-hero-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.gf-app-card__media {
    margin: 20px 0 0;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #dde2ee;
}

/* une image suivie d'un paragraphe a besoin d'air en dessous */
.gf-app-card__media:not(:last-child) {
    margin-bottom: 20px;
}

.gf-app-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ------------------------------------------------------------ APPLICATIONS ---- */
.gf-apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.gf-app-card {
    background: #fff;
    border: 1px solid rgba(5, 64, 242, 0.08);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}

.gf-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
}

.gf-app-card:hover {
    box-shadow: 0 8px 32px rgba(5, 64, 242, 0.1);
    transform: translateY(-2px);
}

.gf-app-card__cat {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.gf-app-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.25;
}

/* Testimonial standalone */
.gf-testimonial-full {
    background: var(--color-dark);
    border-radius: 12px;
    padding: 40px 48px;
    position: relative;
}

.gf-testimonial-full__mark {
    position: absolute;
    top: -16px;
    left: 32px;
    font-size: 8rem;
    color: var(--color-primary);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.35;
    user-select: none;
}

.gf-testimonial-full p {
    font-style: italic;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 20px;
    position: relative;
}

.gf-testimonial-full footer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    position: relative;
}

.gf-testimonial-full footer strong {
    color: var(--color-accent);
}

/* ------------------------------------------------------------ PROCESS ---- */
.gf-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 40px;
    position: relative;
}

.gf-process::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.66% + 28px);
    right: calc(16.66% + 28px);
    height: 2px;
    background: linear-gradient(to right, rgba(255,255,255,0.08), rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.08));
    z-index: 0;
}

.gf-step {
    padding: 0 20px 40px;
    position: relative;
    z-index: 1;
}

.gf-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.gf-step__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.gf-step__text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.gf-process__lead {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.97rem;
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 760px;
}

.gf-process__lead strong {
    color: #fff;
}

.gf-app-card__intro {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.gf-app-card > p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 12px;
}

.gf-process__note {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 40px;
}

.gf-process__cta {
    text-align: center;
}

.gf-section--dark .btn--primary {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ------------------------------------------------------------ RESPONSIVE ---- */
@media (max-width: 1024px) {
    .gf-avantages {
        grid-template-columns: repeat(2, 1fr);
    }

    .gf-avantages .gf-avantage:nth-child(4) {
        grid-column: auto;
    }

    .gf-avantages .gf-avantage:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 420px;
        margin: 0 auto;
    }

    .gf-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .gf-process::before {
        display: none;
    }
}

@media (max-width: 860px) {
    .gf-two-col,
    .gf-technique {
        grid-template-columns: 1fr;
    }

    .gf-technique--reverse {
        direction: ltr;
    }

    .gf-dims {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 680px) {
    .gf-avantages {
        grid-template-columns: 1fr;
    }

    .gf-avantages .gf-avantage:nth-child(5) {
        max-width: 100%;
    }

    .gf-process {
        grid-template-columns: 1fr;
    }

    .gf-section {
        padding: 56px 0;
    }

    .gf-techniques {
        gap: 48px;
    }

    .gf-apps-grid {
        grid-template-columns: 1fr;
    }

    .gf-testimonial-full {
        padding: 28px 24px;
    }
}
