/* ==========================================================================
   Page Résiliation (page-resiliation.php)
   Intégration éditoriale (claude-design-reference/Resiliation/Résiliation.dc.html)
   — page volontairement simple : pas de canvas, pas d'animation de fond,
   uniquement une légère apparition au scroll (Assets/JS/page-resiliation.js).
   ========================================================================== */

.res-page {
    background: #000;
    color: #fff;
    font-family: 'Poppins', system-ui, sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

.res-page a {
    text-decoration: none;
}

.res-page [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s cubic-bezier(.16,.8,.3,1), transform 0.9s cubic-bezier(.16,.8,.3,1);
}

.res-page [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------
   01 HERO — compact, pas de min-height plein écran
   -------------------------------------------------------------------- */
.res-hero {
    position: relative;
    padding: clamp(52px, 9vh, 110px) clamp(20px, 4vw, 64px) clamp(38px, 6vh, 66px);
    overflow: hidden;
}

.res-hero__inner {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
}

.res-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(18px, 2.6vh, 26px);
}

.res-hero__eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--universim-gold);
    animation: res-breathe 5s ease-in-out infinite;
}

.res-hero__eyebrow span:last-child {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--universim-gold);
}

@keyframes res-breathe {
    0% { opacity: 0.25; }
    50% { opacity: 0.8; }
    100% { opacity: 0.25; }
}

.res-hero__title {
    margin: 0 0 clamp(16px, 2.4vh, 24px);
    font-family: 'Outfit', sans-serif;
    font-weight: 200;
    font-size: clamp(32px, 4.4vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    max-width: 18ch;
}

.res-hero__text {
    margin: 0;
    font-size: clamp(14.5px, 1.25vw, 17.5px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 56ch;
}

.res-hero__rule {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 201, 60, 0.7), rgba(255, 255, 255, 0.06));
    margin-top: clamp(28px, 4.4vh, 48px);
}

/* --------------------------------------------------------------------
   02 ÉTAPES
   -------------------------------------------------------------------- */
.res-steps {
    padding: clamp(28px, 5vh, 64px) clamp(20px, 4vw, 64px) clamp(48px, 8vh, 96px);
}

.res-steps__inner {
    max-width: 1240px;
    margin: 0 auto;
}

.res-steps__title {
    margin: 0 0 clamp(28px, 4.4vh, 52px);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(22px, 2.4vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.res-steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: clamp(24px, 3.4vw, 56px);
}

.res-step {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.res-step__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.res-step__num {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 200;
    line-height: 1;
    color: var(--universim-gold);
    letter-spacing: -0.02em;
}

.res-step__line {
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
}

.res-step__title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.5vw, 20px);
    letter-spacing: 0.01em;
    color: #fff;
}

.res-step__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    max-width: 38ch;
}

/* --------------------------------------------------------------------
   03 AVANT DE NOUS CONTACTER
   -------------------------------------------------------------------- */
.res-prep {
    padding: clamp(44px, 7vh, 88px) clamp(20px, 4vw, 64px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.res-prep__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(26px, 4vw, 72px);
    align-items: start;
}

.res-prep__intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.res-prep__eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.res-prep__title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(21px, 2.2vw, 32px);
    line-height: 1.22;
    letter-spacing: -0.02em;
    max-width: 22ch;
}

.res-prep__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.48);
    max-width: 42ch;
}

.res-prep__list {
    display: flex;
    flex-direction: column;
}

.res-prep__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(15px, 2.2vh, 20px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.res-prep__item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.res-prep__dot {
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 201, 60, 0.75);
}

/* --------------------------------------------------------------------
   04 BLOC D'ACTION
   -------------------------------------------------------------------- */
.res-cta {
    position: relative;
    padding: clamp(56px, 9vh, 120px) clamp(20px, 4vw, 64px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.res-cta__glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(900px, 110vw);
    aspect-ratio: 2.2 / 1;
    background: radial-gradient(ellipse at center, rgba(255, 190, 40, 0.09), transparent 66%);
    pointer-events: none;
}

.res-cta__inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(16px, 2.4vh, 24px);
}

.res-cta__title {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 200;
    font-size: clamp(26px, 3.4vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.res-cta__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    max-width: 46ch;
}

.res-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 8px;
}

.res-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.res-btn--primary {
    padding: 17px 36px;
    background: var(--universim-gold);
    color: #000;
    font-weight: 600;
    box-shadow: 0 14px 38px -18px rgba(255, 201, 60, 0.6);
}

.res-btn--primary:hover,
.res-btn--primary:focus-visible {
    background: var(--universim-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 20px 46px -18px rgba(255, 201, 60, 0.8);
}

.res-btn--ghost {
    padding: 17px 30px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
}

.res-btn--ghost:hover,
.res-btn--ghost:focus-visible {
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
}

.res-btn:focus-visible {
    outline: 2px solid var(--universim-gold-hover);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------
   05 MESSAGE DE FIN
   -------------------------------------------------------------------- */
.res-closing {
    padding: clamp(40px, 6vh, 80px) clamp(20px, 4vw, 64px) clamp(56px, 9vh, 110px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.res-closing__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(16px, 3vw, 40px);
}

.res-closing__text {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(17px, 1.7vw, 23px);
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.8);
    max-width: 40ch;
}

.res-closing__contact {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.res-closing__label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.34);
}

.res-closing__phone {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 400;
    color: var(--universim-gold);
}

.res-closing__phone:hover,
.res-closing__phone:focus-visible {
    color: #fff;
}

/* --------------------------------------------------------------------
   Responsive — le contact passe sous le texte de clôture sur mobile
   -------------------------------------------------------------------- */
@media (max-width: 560px) {
    .res-closing__contact {
        margin-left: 0;
    }
}

/* --------------------------------------------------------------------
   Réduction de mouvement
   -------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .res-page [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .res-hero__eyebrow-dot {
        animation: none !important;
    }

    .res-btn--primary:hover,
    .res-btn--ghost:hover {
        transform: none !important;
    }
}
