/* ==========================================================================
   Smart Finance Galaxy — Main Stylesheet
   Variables CSS, reset, typographie, utilitaires
   ========================================================================== */

/* --- Variables CSS --- */

:root {
    /* Couleurs */
    --sfg-primary: #D89415;
    --sfg-secondary: #113240;
    --sfg-tertiary: #916A09;
    --sfg-typo: #0B0B30;
    --sfg-bg: #FDFAF3;
    --sfg-white: #FFFFFF;
    --sfg-black: #000000;

    /* Polices */
    --sfg-font-heading: 'Monoglyphic', monospace;
    --sfg-font-body: 'Montserrat', sans-serif;

    /* Espacements */
    --sfg-container-max: 80%;
    --sfg-container-padding: 1.5rem;
    --sfg-section-padding: 5rem 0;
    --sfg-header-height: 55px;
}

/* --- Reset de base --- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--sfg-header-height);
}

/* Override Hello Elementor reset — boutons roses pleins */
[type=button],
[type=submit],
button {
    background-color: #cc3366;
    border: none;
    border-radius: 8px;
    color: #fff;
    padding: 12px 20px;
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover {
    background-color: #a3284f;
    color: #fff;
}

/* Override Forminator buttons */
.forminator-button-submit,
.forminator-custom-form .forminator-button {
    background-color: #cc3366 !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 12px 20px !important;
    font-family: var(--sfg-font-body) !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
}

.forminator-button-submit:hover,
.forminator-custom-form .forminator-button:hover {
    background-color: #a3284f !important;
    color: #fff !important;
}

body {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--sfg-typo);
    background-color: var(--sfg-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* --- Typographie --- */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sfg-font-heading);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--sfg-primary);
    line-height: 1.2;
    letter-spacing: 0.05em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p + p {
    margin-top: 1rem;
}

/* --- Layout --- */

.sfg-container {
    width: 100%;
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    padding: 0 var(--sfg-container-padding);
}

/* --- Sections --- */

.sfg-section {
    padding: var(--sfg-section-padding);
}

.sfg-section-dark {
    background-color: var(--sfg-secondary);
    color: var(--sfg-white);
}

.sfg-section-dark h1,
.sfg-section-dark h2,
.sfg-section-dark h3,
.sfg-section-dark h4 {
    color: var(--sfg-primary);
}

.sfg-section-light {
    background-color: var(--sfg-bg);
    color: var(--sfg-typo);
}

/* --- Boutons --- */

.sfg-btn {
    display: inline-block;
    font-family: var(--sfg-font-body);
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.875rem 2rem;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sfg-btn-primary {
    background-color: var(--sfg-primary);
    color: var(--sfg-white);
    border-color: var(--sfg-primary);
}

.sfg-btn-primary:hover {
    background-color: var(--sfg-tertiary);
    border-color: var(--sfg-tertiary);
}

.sfg-btn-secondary {
    background-color: transparent;
    color: var(--sfg-primary);
    border-color: var(--sfg-primary);
}

.sfg-btn-secondary:hover {
    background-color: var(--sfg-primary);
    color: var(--sfg-white);
}

/* --- Utilitaires --- */

.sfg-text-center { text-align: center; }
.sfg-text-uppercase { text-transform: uppercase; }
.sfg-text-gold { color: var(--sfg-primary); }
.sfg-text-white { color: var(--sfg-white); }
.sfg-bg-dark { background-color: var(--sfg-secondary); }
.sfg-bg-light { background-color: var(--sfg-bg); }

/* ==========================================================================
   Header
   ========================================================================== */

.sfg-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--sfg-typo);
    height: var(--sfg-header-height);
    transition: background-color 0.3s ease;
}
.sfg-header.is-scrolled {
    background-color: rgba(11, 11, 48, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sfg-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    padding: 12px var(--sfg-container-padding);
}

/* Logo */
.sfg-header__logo {
    flex-shrink: 0;
}

.sfg-header__logo img {
    width: 214px;
    height: 29px;
}

.sfg-header__logo-text {
    font-family: var(--sfg-font-heading);
    font-size: 1.5rem;
    color: var(--sfg-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Nav */
.sfg-header__nav {
    display: flex;
    align-items: center;
}

.sfg-header__menu {
    display: flex;
    gap: 28px;
    align-items: center;
}

.sfg-header__menu li a {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--sfg-white);
    line-height: 1.1;
    white-space: nowrap;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.sfg-header__menu li a:hover,
.sfg-header__menu li.current-menu-item a {
    color: var(--sfg-primary);
    border-bottom-color: var(--sfg-primary);
}

/* Accueil : masqué sur desktop, visible sur mobile */
.sfg-menu-home {
    display: none;
}

/* Right group (nav + langue + burger) */
.sfg-header__right {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-shrink: 0;
}

.sfg-header__lang {
    display: flex;
    gap: 0.5rem;
}

.sfg-header__lang ul {
    display: flex;
    gap: 0.5rem;
}

.sfg-header__lang img {
    width: 30px;
    height: auto;
    border-radius: 2px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.sfg-header__lang img:hover {
    opacity: 1;
}

/* Burger (mobile) */
.sfg-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.sfg-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--sfg-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sfg-header__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.sfg-header__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.sfg-header__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.sfg-footer {
    background-color: var(--sfg-typo);
    padding: 40px 0;
}

.sfg-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}


/* Logo footer */
.sfg-footer__logo {
    text-align: center;
}

.sfg-footer__logo img {
    width: 170px;
    height: 66px;
    margin: 0 auto;
}

.sfg-footer__logo-text {
    font-family: var(--sfg-font-heading);
    font-size: 1.125rem;
    color: var(--sfg-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Nav footer */
.sfg-footer__menu {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.sfg-footer__menu li a {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-white);
    line-height: 1.1;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.sfg-footer__menu li a:hover {
    color: var(--sfg-primary);
}

/* Copyright */
.sfg-footer__copy {
    text-align: center;
}

.sfg-footer__copy p {
    font-family: var(--sfg-font-body);
    font-size: 0.9375rem;
    color: var(--sfg-white);
    line-height: 1.1;
}

/* ==========================================================================
   Main content — offset for sticky header
   ========================================================================== */

.sfg-main {
    min-height: calc(100vh - var(--sfg-header-height));
}

/* Homepage — hero plein écran + header en dessous */
body.sfg-home .sfg-hero {
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: space-between;
}

body.sfg-home .sfg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(-100%);
    transition: transform 0.35s ease, background-color 0.3s ease;
}

body.sfg-home .sfg-header.is-visible {
    transform: translateY(0);
}

body.sfg-home .sfg-hero__inner {
    flex: 1;
}

body.sfg-home .sfg-main {
    min-height: auto;
}

/* ==========================================================================
   CTA Button (reusable)
   ========================================================================== */

.sfg-btn-cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    gap: 10px;
    background-color: var(--sfg-primary);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.1;
    color: var(--sfg-typo);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.sfg-btn-cta:hover {
    background-color: var(--sfg-tertiary);
    color: var(--sfg-white);
}

.sfg-btn-cta svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ==========================================================================
   Home — Hero
   ========================================================================== */

.sfg-hero {
    position: relative;
    background-color: var(--sfg-typo);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    overflow: hidden;
}

/* Galaxy background animé */
.sfg-galaxy {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.sfg-galaxy__svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Animations — optimisation GPU */
.sfg-gx { will-change: transform, opacity; }

/* Animations — flottement */
@keyframes sfg-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(3deg); }
}
.sfg-gx--float1 { animation: sfg-float 4s ease-in-out -2s infinite; }
.sfg-gx--float2 { animation: sfg-float 5s ease-in-out -3.5s infinite; }
.sfg-gx--float3 { animation: sfg-float 6s ease-in-out -1s infinite; }

/* Animations — scintillement */
@keyframes sfg-twinkle {
    0%, 100% { opacity: var(--sfg-gx-op, 0.7); }
    50% { opacity: 0.05; }
}
.sfg-gx--twinkle1 { --sfg-gx-op: 0.8; animation: sfg-twinkle 2.5s ease-in-out -1.2s infinite; }
.sfg-gx--twinkle2 { --sfg-gx-op: 0.7; animation: sfg-twinkle 3s ease-in-out -2s infinite; }
.sfg-gx--twinkle3 { --sfg-gx-op: 0.6; animation: sfg-twinkle 3.5s ease-in-out -0.5s infinite; }

/* Animations — dérive lignes */
@keyframes sfg-drift {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(20px) translateY(-12px); }
}
.sfg-gx--drift1 { animation: sfg-drift 5s ease-in-out -3s infinite; }
.sfg-gx--drift2 { animation: sfg-drift 6s ease-in-out -1.5s infinite; }
.sfg-gx--drift3 { animation: sfg-drift 7s ease-in-out -4s infinite; }

/* Animations — rotation cercles */
@keyframes sfg-spin {
    0% { transform-origin: center; transform: rotate(0deg); }
    100% { transform-origin: center; transform: rotate(360deg); }
}
.sfg-gx--spin1 { animation: sfg-spin 15s linear -5s infinite; transform-box: fill-box; }
.sfg-gx--spin2 { animation: sfg-spin 12s linear -8s reverse infinite; transform-box: fill-box; }
.sfg-gx--spin3 { animation: sfg-spin 18s linear -3s infinite; transform-box: fill-box; }

/* Animations lentes (fond clair) */
.sfg-gx--float-slow1 { animation: sfg-float 10s ease-in-out -4s infinite; }
.sfg-gx--float-slow2 { animation: sfg-float 12s ease-in-out -7s infinite; }
.sfg-gx--float-slow3 { animation: sfg-float 14s ease-in-out -2s infinite; }
.sfg-gx--twinkle-slow1 { animation: sfg-twinkle 6s ease-in-out -3s infinite; }
.sfg-gx--twinkle-slow2 { animation: sfg-twinkle 7s ease-in-out -5s infinite; }
.sfg-gx--twinkle-slow3 { animation: sfg-twinkle 8s ease-in-out -1s infinite; }
.sfg-gx--drift-slow1 { animation: sfg-drift 12s ease-in-out -6s infinite; }
.sfg-gx--drift-slow2 { animation: sfg-drift 14s ease-in-out -3s infinite; }
.sfg-gx--drift-slow3 { animation: sfg-drift 16s ease-in-out -8s infinite; }
.sfg-gx--spin-slow1 { animation: sfg-spin 40s linear -10s infinite; transform-box: fill-box; }
.sfg-gx--spin-slow2 { animation: sfg-spin 35s linear -20s reverse infinite; transform-box: fill-box; }
.sfg-gx--spin-slow3 { animation: sfg-spin 45s linear -5s infinite; transform-box: fill-box; }

.sfg-hero__inner {
    display: flex;
    gap: 24px;
    align-items: center;
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.sfg-hero__content {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    padding: 34px 0;
}

.sfg-hero__text-block {
    display: flex;
    flex-direction: column;
    gap: 41px;
    padding: 31px 48px 31px 0;
}

.sfg-hero__content h1 {
    font-family: var(--sfg-font-heading);
    font-weight: 600;
    font-size: 1.875rem;
    color: var(--sfg-white);
    text-transform: uppercase;
    line-height: normal;
    letter-spacing: 0;
}

.sfg-hero__subtitle p {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 1.125rem;
    color: var(--sfg-white);
    line-height: normal;
}

.sfg-hero__subtitle p strong {
    font-weight: 700;
}

.sfg-hero__linkedin {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sfg-hero__linkedin svg {
    width: 40px;
    height: 40px;
    color: var(--sfg-white);
    flex-shrink: 0;
}

.sfg-hero__linkedin span {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.1;
    color: var(--sfg-white);
}

/* Hero — logo au-dessus du titre */
.sfg-hero__logo {
    width: 482px;
    height: auto;
}

.sfg-hero-logo--vertical {
    display: none;
}

/* Hero — grille cas d'usages (droite, 2x2) */
.sfg-hero__usages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px 20px;
    justify-items: center;
    align-self: center;
    flex: 1;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 130px 24px 24px;
}

.sfg-hero__usage-card {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: visible;
    padding-top: 40px;
    background: var(--sfg-white);
    border: none;
    border-left: none;
    border-radius: 8px;
    padding: 28px 4px;
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}


.sfg-hero__usage-card:hover {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateY(-2px);
}

.sfg-hero__usage-card span {
    font-family: var(--sfg-font-body);
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--sfg-secondary);
    line-height: 1.4;
    flex: 1;
    text-align: center;
    word-spacing: -0.05em;
    letter-spacing: -0.01em;
}

.sfg-hero__usage-card > svg {
    display: none;
}

/* Illustrations sur les cartes hero */
.sfg-hero__usage-illus {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: auto;
    max-width: none;
    pointer-events: none;
    transition: transform 0.4s ease;
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
    mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
}

.sfg-hero__usage-card:nth-child(1):hover .sfg-hero__usage-illus { transform: translateX(-50%) rotate(7deg); }
.sfg-hero__usage-card:nth-child(2):hover .sfg-hero__usage-illus { transform: translateX(-50%) rotate(-5deg); }
.sfg-hero__usage-card:nth-child(3):hover .sfg-hero__usage-illus { transform: translateX(-50%) rotate(9deg); }
.sfg-hero__usage-card:nth-child(4):hover .sfg-hero__usage-illus { transform: translateX(-50%) rotate(-8deg); }

/* ==========================================================================
   Home — Divider (wave)
   ========================================================================== */

.sfg-divider {
    background: var(--sfg-white);
    line-height: 0;
}

.sfg-divider svg {
    width: 100%;
    height: 26px;
    display: block;
}

/* ==========================================================================
   Home — Section "Quelle solution"
   ========================================================================== */

.sfg-section-solution {
    background-color: var(--sfg-white);
    padding: 100px;
    position: relative;
    overflow: hidden;
}

.sfg-solution__grid {
    display: flex;
    gap: 48px;
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sfg-solution__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sfg-solution__text h2 {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--sfg-secondary);
    text-transform: none;
    letter-spacing: 0;
    line-height: normal;
}

.sfg-solution__text p {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    line-height: 1.1;
}

.sfg-solution__text p strong {
    font-weight: 700;
}

.sfg-solution__visual {
    flex-shrink: 0;
}
.sfg-solution__visual img {
    animation: sfg-illustration-float 6s ease-in-out infinite;
    will-change: transform;
}
.sfg-about__visual img {
    animation: sfg-illustration-rock 7s ease-in-out infinite;
    will-change: transform;
}
@keyframes sfg-illustration-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1.5deg); }
}
@keyframes sfg-illustration-rock {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    33% { transform: translateX(8px) rotate(-1deg); }
    66% { transform: translateX(-6px) rotate(1deg); }
}

/* ==========================================================================
   Home — Section "SFG presentation"
   ========================================================================== */

.sfg-section-about {
    background-color: var(--sfg-white);
    padding: 100px;
    position: relative;
    overflow: hidden;
}

.sfg-about__grid {
    display: flex;
    gap: 48px;
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sfg-about__visual {
    flex-shrink: 0;
}

.sfg-about__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sfg-about__text h2 {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--sfg-secondary);
    text-transform: none;
    letter-spacing: 0;
    line-height: normal;
}

.sfg-about__text h2 strong {
    font-weight: 700;
}

.sfg-about__text p {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    line-height: 1.1;
}

.sfg-about__text p strong {
    font-weight: 700;
}

/* ==========================================================================
   Home — FAQ
   ========================================================================== */

/* ==========================================================================
   Home — Tombstones financiers
   ========================================================================== */
.sfg-section-tombstones {
    background-color: var(--sfg-white);
    padding: 80px 12px 0;
    position: relative;
    overflow: hidden;
}
.sfg-tombstones {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.sfg-tombstone {
    width: 280px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.sfg-tombstone__header {
    background-color: var(--sfg-typo);
    padding: 12px 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sfg-tombstone--medium .sfg-tombstone__header {
    background-color: var(--sfg-primary);
}
.sfg-tombstone--tall .sfg-tombstone__header {
    background-color: #efc550;
}
.sfg-tombstone--short .sfg-tombstone__header {
    background-color: #d63a5c;
}
.sfg-tombstone__header-text {
    font-family: var(--sfg-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--sfg-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin: 0;
    line-height: 1;
}
.sfg-tombstone__body {
    background-color: var(--sfg-bg);
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.sfg-tombstone__role {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.8125rem;
    color: var(--sfg-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.sfg-tombstone__client {
    font-family: var(--sfg-font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--sfg-typo);
}
.sfg-tombstone__sub {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--sfg-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.sfg-tombstone__sep {
    width: 40px;
    height: 2px;
    background-color: var(--sfg-primary);
    margin: 0.25rem 0;
}
.sfg-tombstone__desc {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.8125rem;
    color: var(--sfg-typo);
    line-height: 1.5;
}
.sfg-tombstone__amount {
    font-family: var(--sfg-font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--sfg-primary);
}
.sfg-tombstone__year {
    font-family: var(--sfg-font-body);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--sfg-tertiary);
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Home — FAQ
   ========================================================================== */
.sfg-section-faq {
    background-color: var(--sfg-bg);
    padding: 60px 12px;
}

.sfg-faq__title {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--sfg-primary);
    text-transform: none;
    letter-spacing: 0;
    line-height: normal;
}

.sfg-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: var(--sfg-container-max);
    margin: 0 auto;
}

.sfg-faq__item {
    background-color: var(--sfg-white);
    border-radius: 8px;
}

.sfg-faq__item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 12px 12px 16px;
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--sfg-tertiary);
    cursor: pointer;
    list-style: none;
}

.sfg-faq__item summary::-webkit-details-marker {
    display: none;
}

.sfg-faq__item summary::after {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23916A09' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
    background-size: 18px 18px;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.sfg-faq__item[open] summary::after {
    transform: rotate(90deg);
}

/* Animation slide down / up */
.sfg-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.sfg-faq__item[open] .sfg-faq__answer {
    grid-template-rows: 1fr;
}
.sfg-faq__item.sfg-faq--closing .sfg-faq__answer {
    grid-template-rows: 0fr;
}

.sfg-faq__answer-inner {
    overflow: hidden;
    margin: 0 16px 16px;
    padding: 0 12px;
    border-left: 2px solid #d63a5c;
}
.sfg-faq__answer-inner p {
    margin: 0 0 12px;
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    line-height: 1.5;
}
.sfg-faq__answer-inner p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Home — Contact
   ========================================================================== */

.sfg-section-contact {
    background-color: var(--sfg-typo);
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.sfg-section-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/icon-sfg-pattern.svg');
    background-size: 30px 30px;
    background-repeat: repeat;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, white 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, white 60%, transparent 100%);
    opacity: 0.05;
}

.sfg-contact__inner {
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sfg-contact__inner h2 {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--sfg-white);
    text-transform: none;
    letter-spacing: 0;
    line-height: normal;
}

.sfg-contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sfg-contact__row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

input.sfg-contact__field,
textarea.sfg-contact__field {
    flex: 1;
    min-width: 400px;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding: 14px 16px !important;
    font-family: var(--sfg-font-body) !important;
    font-weight: 400 !important;
    font-size: 0.9375rem !important;
    color: var(--sfg-white) !important;
    line-height: 1.1 !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
    box-shadow: none !important;
}

.sfg-contact__field::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.sfg-contact__field:focus {
    border-color: var(--sfg-primary) !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: none !important;
}

.sfg-contact__field--full {
    width: 100%;
}

.sfg-contact__textarea {
    min-height: 150px;
    resize: vertical;
    width: 100%;
}

.sfg-contact__actions {
    display: flex;
    justify-content: flex-end;
}

.sfg-contact__submit {
    background-color: #cc3366 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-family: var(--sfg-font-body) !important;
    font-weight: 400 !important;
    font-size: 1rem !important;
    color: var(--sfg-white) !important;
    line-height: 1.1 !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: none !important;
}

.sfg-contact__submit:hover {
    background-color: #a3284f !important;
}

/* ==========================================================================
   Expertises — Hero
   ========================================================================== */

.sfg-expertise-hero {
    background-color: var(--sfg-bg);
    overflow: hidden;
    position: relative;
}

.sfg-expertise-hero__inner {
    display: flex;
    gap: 150px;
    align-items: center;
    justify-content: center;
    padding: 100px var(--sfg-container-padding);
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sfg-expertise-hero__visual {
    flex-shrink: 0;
    aspect-ratio: 644 / 643;
    height: 425px;
}

.sfg-expertise-hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sfg-expertise-hero__logo {
    width: 299px;
    height: auto;
}

.sfg-expertise-hero__label {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--sfg-tertiary);
    line-height: normal;
}

.sfg-expertise-hero h1 {
    font-family: var(--sfg-font-heading);
    font-weight: 600;
    font-size: 1.875rem;
    color: var(--sfg-primary);
    text-transform: uppercase;
    line-height: normal;
    letter-spacing: 0;
}

.sfg-expertise-hero__desc p {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 1.125rem;
    color: var(--sfg-typo);
    line-height: normal;
}

/* ==========================================================================
   Expertises — Piliers
   ========================================================================== */

.sfg-section-pillars {
    background-color: var(--sfg-white);
    padding: 80px 12px 0;
    position: relative;
    overflow: hidden;
}

.sfg-pillars__list {
    display: flex;
    flex-direction: column;
    gap: 19px;
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 12px;
}

.sfg-pillar {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sfg-pillar--reverse {
    flex-direction: row-reverse;
}

.sfg-pillar__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sfg-pillar__text h2 {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--sfg-secondary);
    text-transform: none;
    letter-spacing: 0;
    line-height: normal;
}

.sfg-pillar__text p {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    line-height: 1.1;
}

.sfg-pillar__visual {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.sfg-pillar__visual img {
    position: relative;
    z-index: 1;
}
.sfg-expertise-hero__visual {
    position: relative;
}
.sfg-expertise-hero__planet {
    position: absolute;
    top: -30px;
    left: 0;
    width: 280px;
    height: 280px;
    z-index: 0;
}
.sfg-expertise-hero__visual > img:not(.sfg-expertise-hero__planet) {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Cas d'usages — Hero catalogue
   ========================================================================== */

.sfg-usages-hero {
    background-color: var(--sfg-white);
    position: relative;
    overflow: hidden;
}

.sfg-usages-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 100px var(--sfg-container-padding);
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sfg-usages-hero__logo {
    width: 299px;
    height: auto;
}

.sfg-usages-hero__label {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--sfg-tertiary);
    line-height: normal;
}

.sfg-usages-hero h1 {
    font-family: var(--sfg-font-heading);
    font-weight: 600;
    font-size: 1.875rem;
    color: var(--sfg-primary);
    text-transform: uppercase;
    line-height: normal;
    letter-spacing: 0;
}

.sfg-usages-hero__desc {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 1.125rem;
    color: var(--sfg-typo);
    line-height: normal;
    max-width: 720px;
}

/* ==========================================================================
   Cas d'usages — Cards categories
   ========================================================================== */

.sfg-usages-cards {
    background-color: var(--sfg-white);
    padding: 80px 12px 60px;
}

.sfg-usages-cards__grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: var(--sfg-container-max);
    margin: 0 auto;
}

.sfg-usages-cards__grid--compact {
    gap: 30px;
    padding: 0 9px;
}

.sfg-usage-card {
    background-color: var(--sfg-bg);
    border-radius: 8px;
    padding: 40px 12px 12px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    overflow: visible;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.sfg-usage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.sfg-usage-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.sfg-usage-card__illustration {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.sfg-usage-card__illustration img {
    width: 220px;
    height: auto;
    max-width: none;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.sfg-usage-card:nth-child(1):hover .sfg-usage-card__illustration img { transform: rotate(7deg); }
.sfg-usage-card:nth-child(2):hover .sfg-usage-card__illustration img { transform: rotate(-5deg); }
.sfg-usage-card:nth-child(3):hover .sfg-usage-card__illustration img { transform: rotate(9deg); }
.sfg-usage-card:nth-child(4):hover .sfg-usage-card__illustration img { transform: rotate(-8deg); }

.sfg-usage-card__badge {
    background-color: var(--sfg-typo);
    border-radius: 8px;
    padding: 12px;
    width: 100%;
    text-align: center;
}

.sfg-usage-card__badge span {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--sfg-white);
    line-height: normal;
}

.sfg-usage-card__desc {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-black);
    line-height: 1.1;
}

/* ==========================================================================
   Categorie sous-page
   ========================================================================== */

.sfg-category {
    background-color: #f5f6f7;
    padding: 50px 12px;
    position: relative;
    overflow: hidden;
}

.sfg-category__inner {
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.sfg-category__content {
    background-color: var(--sfg-white);
    border-radius: 8px;
    padding: 12px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sfg-category__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 50px 0;
}

.sfg-category__title-group {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex: 1;
}

.sfg-category__title-illus {
    height: 140px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
}

.sfg-category__header h1 {
    font-family: var(--sfg-font-heading);
    font-weight: 600;
    font-size: 1.875rem;
    color: var(--sfg-primary);
    text-transform: uppercase;
    line-height: normal;
    letter-spacing: 0;
    flex: 1;
}

.sfg-category__fiches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
}

.sfg-fiche-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sfg-fiche-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.sfg-fiche-card:hover .sfg-fiche-card__fallback {
    filter: grayscale(0%) opacity(1);
}

.sfg-fiche-card__image {
    border-radius: 8px;
    overflow: hidden;
}

.sfg-fiche-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sfg-fiche-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    background-color: #bcbcbc;
    border-radius: 8px;
}

.sfg-fiche-card__fallback {
    width: 60%;
    height: auto;
    margin: auto;
    display: block;
    filter: grayscale(100%) opacity(0.3);
    transition: filter 0.3s ease;
}

.sfg-fiche-card__body h3 {
    font-family: var(--sfg-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--sfg-tertiary);
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.3;
    margin-bottom: 10px;
}

.sfg-fiche-card__body p {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    line-height: 1.4;
}

.sfg-category__empty {
    font-family: var(--sfg-font-body);
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    padding: 24px 0;
}

/* Autres categories */
.sfg-category__others {
    background-color: var(--sfg-white);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sfg-category__others h2 {
    font-family: var(--sfg-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--sfg-primary);
    text-transform: uppercase;
    line-height: normal;
    letter-spacing: 0;
    padding: 50px 0 120px;
}

/* ==========================================================================
   Page Mentions legales
   ========================================================================== */

.sfg-legal {
    background-color: var(--sfg-white);
    padding: 80px 24px;
}

.sfg-legal__inner {
    max-width: 800px;
    margin: 0 auto;
}

.sfg-legal h1 {
    font-family: var(--sfg-font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--sfg-secondary);
    text-transform: uppercase;
    line-height: normal;
    margin-bottom: 40px;
}

.sfg-legal__content h2 {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--sfg-secondary);
    margin: 32px 0 12px;
    line-height: 1.3;
}

.sfg-legal__content p {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    line-height: 1.6;
    margin-bottom: 12px;
}

.sfg-legal__content ul {
    margin: 0 0 12px 24px;
    list-style: disc;
}

.sfg-legal__content li {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    line-height: 1.6;
    margin-bottom: 4px;
}

.sfg-legal__content strong {
    font-weight: 700;
}

/* ==========================================================================
   Modale Telechargement
   ========================================================================== */

.sfg-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.sfg-modal-overlay[aria-hidden="true"] {
    display: none;
}

.sfg-modal {
    background-color: var(--sfg-white);
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    max-width: 1064px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

/* Header */
.sfg-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sfg-modal__header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sfg-modal__share {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: var(--sfg-tertiary) !important;
    font-family: var(--sfg-font-body) !important;
    font-size: 0.875rem !important;
    padding: 4px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1 !important;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.sfg-modal__share:hover {
    opacity: 0.7 !important;
    color: var(--sfg-tertiary) !important;
    background: none !important;
    border: none !important;
    visibility: visible !important;
}

.sfg-modal__share--copied {
    color: #cc3366 !important;
}

.sfg-modal__share--copied span {
    color: #cc3366 !important;
}

.sfg-modal__title {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-tertiary);
    line-height: 1.1;
}

.sfg-modal__close {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: var(--sfg-tertiary) !important;
    font-family: var(--sfg-font-body) !important;
    font-size: 1rem !important;
    padding: 4px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1 !important;
}

.sfg-modal__close svg {
    width: 24px;
    height: 24px;
}

.sfg-modal__close:hover {
    opacity: 0.7 !important;
    color: var(--sfg-tertiary) !important;
    background: none !important;
    border: none !important;
    visibility: visible !important;
}

/* Body deux colonnes */
.sfg-modal__body {
    display: flex;
    gap: 24px;
    min-height: 400px;
}

/* Colonne formulaire */
.sfg-modal__form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sfg-modal__form-top {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sfg-modal__logo {
    text-align: center;
}

.sfg-modal__logo img {
    width: 170px;
    height: auto;
}

.sfg-modal__intro {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    line-height: 1.1;
}

.sfg-modal__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sfg-modal__field {
    width: 100% !important;
    background-color: var(--sfg-white) !important;
    border: 2px solid var(--sfg-secondary) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    font-family: var(--sfg-font-body) !important;
    font-weight: 400 !important;
    font-size: 0.9375rem !important;
    color: var(--sfg-typo) !important;
    line-height: 1.1 !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
}

.sfg-modal__field:focus {
    border-color: var(--sfg-primary) !important;
    background-color: var(--sfg-white) !important;
    box-shadow: none !important;
}

.sfg-modal__field::placeholder {
    color: var(--sfg-typo) !important;
    opacity: 0.5 !important;
}

.sfg-modal__textarea {
    min-height: 96px !important;
    resize: vertical !important;
}

/* Separateur - ou - */
.sfg-modal__separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-black);
    line-height: 1.1;
}

/* Bouton LinkedIn */
.sfg-modal__linkedin-wrap {
    display: flex;
    justify-content: center;
}

.sfg-modal__linkedin-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background-color: #0A66C2 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    justify-content: center;
    box-shadow: none !important;
    line-height: 1 !important;
}

.sfg-modal__linkedin-btn:hover {
    background-color: #004182 !important;
}

.sfg-modal__linkedin-btn svg {
    flex-shrink: 0;
}

.sfg-modal__linkedin-btn span {
    font-family: var(--sfg-font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--sfg-white);
    white-space: nowrap;
}

/* Mentions legales */
.sfg-modal__legal {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.8125rem;
    color: var(--sfg-typo);
    line-height: 1.4;
}

.sfg-modal__legal a {
    color: var(--sfg-typo);
    text-decoration: underline;
}

.sfg-modal__legal a:hover {
    color: var(--sfg-primary);
}

/* Bouton Telecharger */
.sfg-modal__submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.sfg-modal__submit {
    background-color: #cc3366 !important;
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 12px 20px !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

/* Colonne apercu */
.sfg-modal__preview-col {
    width: 477px;
    flex-shrink: 0;
    background-color: #F5F6F7;
    padding: 12px;
    display: flex;
    align-items: stretch;
}

.sfg-modal__preview-card {
    flex: 1;
    background-color: var(--sfg-white);
    border-radius: 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Mini-rendu PDF */
.sfg-modal__pdf-preview {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.sfg-modal__pdf-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: #FFFFFF;
}
.sfg-modal__pdf-logo {
    height: 28px;
    width: auto;
}
.sfg-modal__pdf-cat {
    font-family: var(--sfg-font-heading);
    font-size: 0.8125rem;
    color: #113240;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}
.sfg-modal__pdf-border {
    height: 2px;
    background: #D89415;
}
.sfg-modal__pdf-body {
    padding: 20px;
    flex: 1;
}
.sfg-modal__pdf-title {
    font-family: var(--sfg-font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: #D89415;
    line-height: 1.3;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.sfg-modal__pdf-accroche {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.8125rem;
    color: #333;
    line-height: 1.6;
    margin: 0 0 12px;
}
.sfg-modal__pdf-question {
    background-color: #F5F0E6;
    border-left: 2px solid #D89415;
    padding: 10px 14px;
    font-family: var(--sfg-font-body);
    font-style: italic;
    font-size: 0.8125rem;
    color: #0B0B30;
    line-height: 1.5;
}
.sfg-modal__pdf-question:empty {
    display: none;
}
.sfg-modal__pdf-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75%;
    background: linear-gradient(to bottom, transparent 0%, var(--sfg-white) 85%);
    pointer-events: none;
    border-radius: 0 0 8px 8px;
}

/* Etat confirmation */
.sfg-modal__confirmation {
    text-align: center;
    padding: 40px 20px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sfg-modal__confirmation p {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    line-height: 1.6;
}

.sfg-modal__confirmation strong {
    font-weight: 700;
}

/* Modale — version "coming soon" */
.sfg-modal--coming-soon {
    max-width: 560px;
    padding: 40px;
    text-align: center;
}

.sfg-modal--coming-soon .sfg-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none !important;
    border: none !important;
    color: var(--sfg-tertiary);
    padding: 4px;
    border-radius: 0;
}

.sfg-modal__coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

.sfg-modal__coming-soon-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(216, 148, 21, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sfg-modal__coming-soon-title {
    font-family: var(--sfg-font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--sfg-secondary);
    text-transform: uppercase;
    margin: 0;
}

.sfg-modal__coming-soon-text {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    line-height: 1.6;
    margin: 0;
}

.sfg-modal__coming-soon-cta {
    margin-top: 8px;
    align-self: center !important;
}

/* ==========================================================================
   Page L'equipe
   ========================================================================== */

/* Hero */
.sfg-team-hero {
    background-color: var(--sfg-typo);
    padding: 60px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sfg-team-hero__inner {
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.sfg-team-hero__logo {
    width: 299px;
    height: auto;
    margin-bottom: 8px;
}

.sfg-team-hero__label {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--sfg-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sfg-team-hero h1 {
    font-family: var(--sfg-font-heading);
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--sfg-white);
    text-transform: uppercase;
    line-height: normal;
    max-width: 800px;
}

/* Section cartes */
.sfg-team-section {
    background-color: #F5F6F7;
    padding: 60px 24px;
}

.sfg-team-section__inner {
    max-width: var(--sfg-container-max);
    margin: 0 auto;
    background-color: var(--sfg-white);
    border-radius: 8px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sfg-team-section__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sfg-team-section__header h2 {
    font-family: var(--sfg-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--sfg-primary);
    text-transform: uppercase;
    line-height: normal;
}

.sfg-team-section__header p {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-tertiary);
    line-height: 1.4;
}

/* Grille 3 cartes */
.sfg-team-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.sfg-team-card {
    flex: 1;
    max-width: 360px;
    background-color: var(--sfg-primary);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.sfg-team-card__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.2);
}

.sfg-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sfg-team-card__name {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--sfg-secondary);
    line-height: normal;
}

.sfg-team-card__role {
    font-family: var(--sfg-font-body);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--sfg-secondary);
    opacity: 0.8;
    margin-top: -4px;
}

.sfg-team-card__bio {
    font-family: var(--sfg-font-body);
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--sfg-typo);
    line-height: 1.4;
}

.sfg-team-card__bio p {
    margin-bottom: 8px;
}

.sfg-team-card__bio p:last-child {
    margin-bottom: 0;
}

.sfg-team-card__bio strong {
    font-weight: 700;
}

.sfg-team-card__linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--sfg-white);
    border-radius: 8px;
    padding: 10px 16px;
    text-decoration: none;
    align-self: flex-start;
    margin-top: auto;
    transition: opacity 0.2s ease;
}

.sfg-team-card__linkedin:hover {
    opacity: 0.85;
}

.sfg-team-card__linkedin svg {
    flex-shrink: 0;
}

.sfg-team-card__linkedin span {
    font-family: var(--sfg-font-body);
    font-weight: 700;
    font-size: 0.875rem;
    color: #0076B2;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --sfg-section-padding: 3rem 0;
        --sfg-header-height: 50px;
        --sfg-container-max: 100%;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.125rem; }

    /* Header mobile */
    .sfg-header__burger {
        display: flex;
    }

    .sfg-header__nav {
        display: none;
        position: absolute;
        top: var(--sfg-header-height);
        left: 0;
        right: 0;
        background-color: var(--sfg-typo);
        padding: 1.5rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

    .sfg-header__nav.is-open {
        display: block;
    }

    .sfg-header__menu {
        flex-direction: column;
        align-items: flex-end;
        gap: 1.25rem;
        padding-right: 24px;
    }

    .sfg-header__menu li a {
        font-size: 1.25rem;
    }

    .sfg-menu-home {
        display: list-item;
    }

    .sfg-header__logo img {
        width: 200px;
        height: auto;
    }

    /* Footer mobile */
    .sfg-footer {
        padding: 60px 1.5rem;
    }

    .sfg-footer__inner {
        gap: 32px;
    }

    .sfg-footer__logo img {
        width: 130px;
        height: auto;
    }

    .sfg-footer__menu {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .sfg-footer__copy p {
        font-size: 0.8125rem;
    }

    /* Homepage hero mobile */
    body.sfg-home .sfg-hero {
        min-height: 100vh;
        min-height: 100dvh;
        justify-content: center;
    }

    /* Hero mobile */
    .sfg-hero {
        padding: 24px 16px;
        gap: 40px;
    }

    .sfg-hero__inner {
        flex-direction: column;
    }

    .sfg-hero__content {
        flex: 0 1 auto;
        padding: 0;
    }

    .sfg-hero__linkedin {
        display: none;
    }

    .sfg-hero__text-block {
        padding: 0;
        gap: 40px;
        text-align: center;
    }

    .sfg-hero__text-block > * {
        align-self: center;
    }

    .sfg-btn-cta,
    .sfg-btn,
    .sfg-btn-primary,
    .sfg-btn-secondary {
        align-self: center;
    }

    .sfg-hero__content h1 {
        font-size: 1.5rem;
    }

    .sfg-hero__subtitle p {
        font-size: 1rem;
    }

    .sfg-hero__logo {
        width: 360px;
    }

    .sfg-hero-logo--horizontal {
        display: none;
    }

    .sfg-hero-logo--vertical {
        display: block;
        width: 240px;
        height: auto;
        align-self: center;
    }

    .sfg-hero__usages {
        display: none;
        padding: 100px 16px 16px;
    }

    /* Solution / About mobile */
    .sfg-section-solution,
    .sfg-section-about {
        padding: 40px 16px;
    }

    .sfg-solution__grid,
    .sfg-about__grid {
        flex-direction: column;
    }

    .sfg-solution__visual,
    .sfg-about__visual {
        order: -1;
    }

    .sfg-solution__visual .sfg-placeholder,
    .sfg-about__visual .sfg-placeholder {
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
    }

    /* FAQ mobile */
    .sfg-section-faq {
        padding: 40px 12px;
    }

    /* Contact mobile */
    .sfg-section-contact {
        padding: 20px 16px;
    }

    input.sfg-contact__field,
    textarea.sfg-contact__field {
        min-width: auto;
    }

    .sfg-contact__row {
        flex-direction: column;
    }

    .sfg-contact__actions {
        justify-content: center;
    }

    .sfg-contact__submit {
        background-color: #cc3366;
        color: var(--sfg-white);
        border: none;
        width: 100%;
    }

    /* Expertises hero mobile */
    .sfg-expertise-hero__inner {
        flex-direction: column;
        padding: 40px 16px;
        gap: 32px;
    }

    .sfg-expertise-hero__visual {
        height: auto;
        width: 50%;
        margin: 0 auto;
    }

    .sfg-expertise-hero__visual img {
        width: 100%;
        height: auto;
    }

    .sfg-expertise-hero__planet {
        display: none;
    }

    .sfg-expertise-hero__content {
        text-align: center;
        align-items: center;
    }

    .sfg-expertise-hero__content .sfg-hero-logo--vertical {
        display: none;
    }

    .sfg-expertise-hero h1 {
        font-size: 1.5rem;
    }

    .sfg-expertise-hero__desc p {
        font-size: 1rem;
    }

    /* Piliers mobile */
    .sfg-pillar,
    .sfg-pillar--reverse {
        flex-direction: column;
    }

    .sfg-pillar__visual .sfg-placeholder {
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
    }

    /* Cas d'usages mobile */
    .sfg-usages-hero__inner {
        padding: 40px 16px;
        text-align: center;
        align-items: center;
    }

    .sfg-usages-hero__desc {
        font-size: 1rem;
    }

    .sfg-usage-card {
        width: 100%;
    }

    .sfg-usage-card__illustration {
        position: static;
        transform: none;
    }

    /* Categorie sous-page mobile */
    .sfg-category__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 24px 0;
    }

    .sfg-category__title-group {
        flex-direction: column;
        align-items: center;
    }

    .sfg-category__title-illus {
        width: 50%;
        height: auto;
    }

    .sfg-category__header h1 {
        font-size: 1.5rem;
    }

    .sfg-category__fiches {
        grid-template-columns: 1fr;
    }

    .sfg-fiche-card {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .sfg-fiche-card__image {
        width: 50%;
    }

    .sfg-category__others h2 {
        padding: 24px 0;
        font-size: 1rem;
    }

    /* Modale mobile */
    .sfg-modal-overlay {
        padding: 12px;
    }

    .sfg-modal {
        padding: 20px;
        gap: 20px;
    }

    .sfg-modal__body {
        flex-direction: column;
        min-height: auto;
    }

    .sfg-modal__preview-col {
        width: 100%;
        max-height: 200px;
        order: -1;
    }

    .sfg-modal__close span {
        display: none;
    }

    /* Equipe mobile */
    .sfg-team-hero {
        padding: 40px 16px 60px;
    }

    .sfg-team-hero__logo {
        width: 200px;
    }

    .sfg-team-hero h1 {
        font-size: 1.125rem;
    }

    .sfg-team-section {
        padding: 32px 16px;
    }

    .sfg-team-section__inner {
        padding: 24px 16px;
    }

    .sfg-team-cards {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .sfg-team-card {
        max-width: 100%;
        width: 100%;
    }
}
