@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

:root {
    --st-burgundy: #79170f;
    --st-burgundy-dark: #4f0d08;
    --st-burgundy-deep: #350805;
    --st-gold: #d69a12;
    --st-gold-soft: #f3d78d;
    --st-ink: #201b1a;
    --st-text: #524946;
    --st-muted: #746b68;
    --st-line: #e7ddd8;
    --st-soft: #faf6f2;
    --st-white: #ffffff;
    --st-success: #187d4d;
    --st-shadow-sm: 0 10px 28px rgba(60, 33, 27, .08);
    --st-shadow-lg: 0 24px 70px rgba(60, 20, 13, .15);
    --st-radius-sm: 14px;
    --st-radius-md: 22px;
    --st-radius-lg: 32px;
    --st-container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--st-ink);
    background: var(--st-white);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

button,
input {
    font: inherit;
}

.st-home-skip {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--st-white);
    background: var(--st-burgundy);
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.st-home-skip:focus {
    transform: translateY(0);
}

.st-home-announcement-fallback {
    padding: 8px 20px;
    color: #fff7e5;
    background: var(--st-burgundy-dark);
    text-align: center;
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.st-home-container {
    width: min(calc(100% - 40px), var(--st-container));
    margin-inline: auto;
}

.st-home-section {
    padding: 96px 0;
}

.st-home-section--soft {
    background: var(--st-soft);
}

.st-home-section--burgundy,
.st-home-section--portal {
    color: var(--st-white);
    background:
        radial-gradient(circle at 92% 10%, rgba(214, 154, 18, .18), transparent 28%),
        linear-gradient(135deg, var(--st-burgundy-deep), var(--st-burgundy));
}

.st-home-eyebrow {
    margin: 0 0 12px;
    color: var(--st-burgundy);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.st-home-eyebrow--light {
    color: var(--st-gold-soft);
}

.st-home-section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.st-home-section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.st-home-section-heading h2,
.st-home-value-grid h2,
.st-home-steps-intro h2,
.st-home-faq-intro h2,
.st-home-portal h2,
.st-home-newsletter h2 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.7rem);
    line-height: 1.09;
    letter-spacing: -.045em;
}

.st-home-section-heading > p:last-child,
.st-home-value-lead,
.st-home-steps-intro > p,
.st-home-faq-intro > p,
.st-home-portal p,
.st-home-newsletter p {
    margin: 18px 0 0;
    color: var(--st-text);
    font-size: 1.04rem;
}

.st-home-section--burgundy .st-home-value-lead,
.st-home-section--portal .st-home-portal p {
    color: rgba(255, 255, 255, .78);
}

.st-home-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 78px;
    background:
        radial-gradient(circle at 10% 10%, rgba(214, 154, 18, .12), transparent 32%),
        linear-gradient(180deg, #fff 0%, #fdf9f5 100%);
}

.st-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(121, 23, 15, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(121, 23, 15, .025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 78%);
}

.st-home-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    gap: 58px;
    align-items: center;
}

.st-home-hero__copy h1 {
    max-width: 680px;
    margin: 0;
    color: var(--st-ink);
    font-size: clamp(3rem, 6.3vw, 6.2rem);
    line-height: .96;
    letter-spacing: -.07em;
}

.st-home-hero__copy h1 span {
    display: block;
    color: var(--st-burgundy);
}

.st-home-hero__lead {
    max-width: 670px;
    margin: 26px 0 0;
    color: var(--st-text);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.st-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.st-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.st-home-btn:hover,
.st-home-btn:focus-visible {
    transform: translateY(-2px);
}

.st-home-btn:focus-visible,
.st-home-text-link:focus-visible,
.st-home-help__button:focus-visible,
.st-home-faq-list summary:focus-visible {
    outline: 3px solid rgba(214, 154, 18, .48);
    outline-offset: 3px;
}

.st-home-btn--primary {
    color: var(--st-white);
    background: var(--st-burgundy);
    box-shadow: 0 12px 30px rgba(121, 23, 15, .2);
}

.st-home-btn--primary:hover {
    background: var(--st-burgundy-dark);
}

.st-home-btn--google,
.st-home-btn--white {
    color: var(--st-ink);
    background: var(--st-white);
    border-color: var(--st-line);
    box-shadow: var(--st-shadow-sm);
}

.st-home-btn--outline {
    color: var(--st-burgundy);
    background: transparent;
    border-color: rgba(121, 23, 15, .35);
}

.st-home-btn--outline:hover {
    color: var(--st-white);
    background: var(--st-burgundy);
    border-color: var(--st-burgundy);
}

.st-home-btn--gold {
    color: var(--st-burgundy-deep);
    background: var(--st-gold-soft);
}

.st-google-mark {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.st-home-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
}

.st-home-proof-grid > div {
    padding: 15px 16px;
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius-sm);
    background: rgba(255, 255, 255, .74);
}

.st-home-proof-grid strong,
.st-home-proof-grid span {
    display: block;
}

.st-home-proof-grid strong {
    color: var(--st-burgundy);
    font-size: .92rem;
}

.st-home-proof-grid span {
    margin-top: 3px;
    color: var(--st-muted);
    font-size: .75rem;
    line-height: 1.4;
}

.st-home-hero__visual {
    min-width: 0;
}

.st-home-media-frame {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(121, 23, 15, .12);
    border-radius: var(--st-radius-md);
    background: #fff;
    box-shadow: var(--st-shadow-sm);
}

/* Les images restent toujours visibles en entier : aucun recadrage. */
.st-home-media-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.st-home-media-frame--hero {
    border-radius: var(--st-radius-lg);
    box-shadow: var(--st-shadow-lg);
}

.st-home-hero__caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
    padding: 16px 18px;
    border: 1px solid var(--st-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--st-shadow-sm);
}

.st-home-hero__caption span,
.st-home-hero__caption strong {
    display: block;
}

.st-home-hero__caption > div > span {
    color: var(--st-muted);
    font-size: .78rem;
}

.st-home-hero__caption > div > strong {
    color: var(--st-burgundy);
    font-size: 1rem;
}

.st-home-hero__caption > a {
    color: var(--st-burgundy);
    font-size: .86rem;
    font-weight: 700;
    white-space: nowrap;
}

.st-home-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.st-home-field-card,
.st-home-gallery-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius-md);
    background: var(--st-white);
    box-shadow: var(--st-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.st-home-field-card:hover,
.st-home-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--st-shadow-lg);
}

.st-home-field-card__media,
.st-home-gallery-card__media {
    border: 0;
    border-bottom: 1px solid var(--st-line);
    border-radius: 0;
    box-shadow: none;
}

.st-home-field-card__body {
    position: relative;
    padding: 28px;
}

.st-home-field-card__number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: rgba(121, 23, 15, .2);
    font-size: 2rem;
    font-weight: 700;
}

.st-home-field-card h3,
.st-home-gallery-card h3,
.st-home-benefit-grid h3 {
    margin: 0;
    color: var(--st-burgundy);
    font-size: 1.32rem;
    line-height: 1.25;
}

.st-home-field-card p,
.st-home-gallery-card p,
.st-home-benefit-grid p {
    margin: 10px 0 0;
    color: var(--st-text);
}

.st-home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--st-burgundy);
    font-size: .9rem;
    font-weight: 700;
}

.st-home-text-link span {
    transition: transform .2s ease;
}

.st-home-text-link:hover span {
    transform: translateX(4px);
}

.st-home-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.st-home-gallery-card:nth-child(1),
.st-home-gallery-card:nth-child(2) {
    grid-column: span 6;
}

.st-home-gallery-card:nth-child(3) {
    grid-column: span 4;
}

.st-home-gallery-card:nth-child(4) {
    grid-column: span 8;
}

.st-home-gallery-card__copy {
    padding: 24px 26px 26px;
}

.st-home-value-grid {
    display: grid;
    grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
    gap: 68px;
    align-items: start;
}

.st-home-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.st-home-benefit-grid article {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(8px);
}

.st-home-benefit-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--st-burgundy-deep);
    background: var(--st-gold-soft);
    font-size: .78rem;
    font-weight: 700;
}

.st-home-benefit-grid h3 {
    color: var(--st-white);
    font-size: 1.05rem;
}

.st-home-benefit-grid p {
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
}

.st-home-stats {
    background: #fff;
}

.st-home-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.st-home-stat-card {
    padding: 28px 18px;
    border: 1px solid var(--st-line);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fbf7f4);
    text-align: center;
    box-shadow: var(--st-shadow-sm);
}

.st-home-stat-card strong,
.st-home-stat-card span {
    display: block;
}

.st-home-stat-card strong {
    color: var(--st-burgundy);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.st-home-stat-card span {
    margin-top: 10px;
    color: var(--st-muted);
    font-size: .82rem;
}

.st-home-steps-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: center;
}

.st-home-steps-intro .st-home-btn {
    margin-top: 26px;
}

.st-home-steps {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.st-home-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--st-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--st-shadow-sm);
}

.st-home-steps li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--st-white);
    background: var(--st-burgundy);
    font-size: .82rem;
    font-weight: 700;
}

.st-home-steps strong,
.st-home-steps p {
    display: block;
}

.st-home-steps strong {
    color: var(--st-ink);
}

.st-home-steps p {
    margin: 4px 0 0;
    color: var(--st-muted);
    font-size: .9rem;
}

.st-home-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: 70px;
    align-items: start;
}

.st-home-faq-list {
    display: grid;
    gap: 12px;
}

.st-home-faq-list details {
    border: 1px solid var(--st-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--st-shadow-sm);
}

.st-home-faq-list summary {
    position: relative;
    padding: 20px 54px 20px 22px;
    color: var(--st-ink);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.st-home-faq-list summary::-webkit-details-marker {
    display: none;
}

.st-home-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--st-burgundy);
    background: var(--st-soft);
    text-align: center;
    line-height: 28px;
    transform: translateY(-50%);
}

.st-home-faq-list details[open] summary::after {
    content: "−";
}

.st-home-faq-list details p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--st-text);
}

.st-home-section--portal {
    padding-block: 70px;
}

.st-home-portal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 52px;
    align-items: center;
}

.st-home-portal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 280px;
}

.st-home-newsletter {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: center;
    padding: 44px;
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius-md);
    background: #fff;
    box-shadow: var(--st-shadow-sm);
}

.st-home-newsletter form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.st-home-newsletter input {
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    border: 1px solid var(--st-line);
    border-radius: 999px;
    color: var(--st-ink);
    background: #fff;
    outline: 0;
}

.st-home-newsletter input:focus {
    border-color: var(--st-burgundy);
    box-shadow: 0 0 0 4px rgba(121, 23, 15, .1);
}

.st-home-form-note {
    font-size: .78rem !important;
}

.st-home-form-message {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: .86rem;
}

.st-home-form-message--success {
    color: #0e5f38;
    background: #e8f7ef;
}

.st-home-form-message--error {
    color: #8c1e15;
    background: #fff0ee;
}

.st-home-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.st-home-help {
    position: fixed;
    z-index: 1200;
    right: 22px;
    bottom: 22px;
}

.st-home-help__button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 11px 16px;
    border: 1px solid rgba(121, 23, 15, .22);
    border-radius: 999px;
    color: var(--st-burgundy);
    background: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(50, 24, 18, .18);
}

.st-home-help__button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.st-home-help__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: min(340px, calc(100vw - 32px));
    padding: 22px;
    border: 1px solid var(--st-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--st-shadow-lg);
}

.st-home-help__panel > strong {
    color: var(--st-burgundy);
}

.st-home-help__panel > p {
    margin: 8px 0 14px;
    color: var(--st-text);
    font-size: .88rem;
}

.st-home-help__links {
    display: grid;
    gap: 8px;
}

.st-home-help__links a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--st-burgundy);
    background: var(--st-soft);
    font-size: .84rem;
    font-weight: 600;
}

@media (max-width: 1080px) {
    .st-home-hero__grid,
    .st-home-value-grid,
    .st-home-steps-layout,
    .st-home-faq-grid,
    .st-home-newsletter {
        grid-template-columns: 1fr;
    }

    .st-home-hero__copy {
        max-width: 820px;
    }

    .st-home-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .st-home-portal {
        grid-template-columns: 1fr;
    }

    .st-home-portal__actions {
        min-width: 0;
        max-width: 420px;
    }
}

@media (max-width: 780px) {
    .st-home-section {
        padding: 72px 0;
    }

    .st-home-container {
        width: min(calc(100% - 28px), var(--st-container));
    }

    .st-home-hero {
        padding: 52px 0 60px;
    }

    .st-home-hero__grid {
        gap: 34px;
    }

    .st-home-hero__copy h1 {
        font-size: clamp(2.7rem, 14vw, 4.8rem);
    }

    .st-home-proof-grid,
    .st-home-field-grid,
    .st-home-benefit-grid,
    .st-home-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .st-home-gallery-card:nth-child(n) {
        grid-column: span 12;
    }

    .st-home-newsletter {
        padding: 30px 22px;
    }

    .st-home-newsletter form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .st-home-actions,
    .st-home-portal__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .st-home-btn {
        width: 100%;
    }

    .st-home-proof-grid,
    .st-home-field-grid,
    .st-home-benefit-grid,
    .st-home-stat-grid {
        grid-template-columns: 1fr;
    }

    .st-home-hero__caption {
        align-items: flex-start;
        flex-direction: column;
    }

    .st-home-field-card__body,
    .st-home-gallery-card__copy {
        padding: 22px;
    }

    .st-home-help {
        right: 14px;
        bottom: 14px;
    }

    .st-home-help__button span {
        display: none;
    }

    .st-home-help__button {
        width: 50px;
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
