/* ════════════════════════════════════════════════════════
   CARTE CADEAU — Styles spécifiques
   Dépend de : style.css + contact.css (champs formulaire)
════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.gift-hero {
    background-position: center 25%;
}

/* ════════════════════════════════════════════════════════
   LE RITUEL — section narrative
════════════════════════════════════════════════════════ */
.gift-ritual-wrap {
    padding: 96px max(5vw, 48px) 80px;
    background: #FDFAF5;
}

.gift-ritual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
}

.gift-ritual-img {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4 / 5;
}

.gift-ritual-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gift-ritual-img.in-view img {
    transform: scale(1.04);
}

.gift-ritual-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ── Étapes du rituel ── */
.gift-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}

.gift-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(197, 180, 154, 0.22);
    align-items: start;
}

.gift-step:first-child {
    border-top: 1px solid rgba(197, 180, 154, 0.22);
}

.gift-step-number {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 400;
    color: #C5B49A;
    line-height: 1.1;
    padding-top: 2px;
}

.gift-step-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gift-step-title {
    font-family: "Jost", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1B2744;
    font-weight: 400;
}

.gift-step-desc {
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: #6B7A8D;
    line-height: 1.75;
    margin: 0;
}

/* ════════════════════════════════════════════════════════
   FORMULAIRE CARTE CADEAU
════════════════════════════════════════════════════════ */
.gift-form-section {
    background: #F6F1EA;
    padding: 0 max(4vw, 28px) 80px;
}

.gift-form-card {
    max-width: 1140px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 5fr 7fr;
    box-shadow:
        0 8px 32px rgba(27, 39, 68, 0.06),
        0 24px 72px rgba(27, 39, 68, 0.08);
    transform: translateY(-40px);
}

/* ── Colonne gauche — message ── */
.gift-form-aside {
    background: #1B2744;
    padding: 72px 52px 72px 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.gift-form-aside::after {
    content: "♡";
    position: absolute;
    bottom: -40px;
    right: -10px;
    font-size: clamp(140px, 16vw, 200px);
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.gift-aside-label {
    font-family: "Jost", sans-serif;
    font-size: 0.60rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(197, 180, 154, 0.80);
    position: relative;
    z-index: 1;
}

.gift-aside-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    position: relative;
    z-index: 1;
}

.gift-aside-title em {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic;
    font-size: 1.08em;
}

.gift-aside-text {
    font-family: "Inter", sans-serif;
    font-size: 0.90rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

.gift-aside-quote {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(197, 180, 154, 0.85);
    line-height: 1.65;
    padding-top: 16px;
    border-top: 1px solid rgba(197, 180, 154, 0.20);
    position: relative;
    z-index: 1;
}

/* ── Colonne droite — formulaire ── */
.gift-form-wrap {
    background: #ffffff;
    padding: 64px 60px 64px 52px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gift-form-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    font-weight: 400;
    color: #1B2744;
    margin: 0 0 6px;
}

.gift-form-sub {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: #8A94A6;
    margin: 0 0 36px;
    line-height: 1.7;
}

/* ── Sélecteur de montant ── */
.gift-amount-label {
    font-family: "Jost", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #8A94A6;
    margin-bottom: 12px;
    display: block;
}

.gift-amount-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.gift-amount-chip {
    font-family: "Jost", sans-serif;
    font-size: 0.80rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #6B7A8D;
    border: 1px solid rgba(197, 180, 154, 0.45);
    background: transparent;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.gift-amount-chip:hover {
    border-color: #C5B49A;
    color: #1B2744;
}

.gift-amount-chip.active {
    background: #1B2744;
    border-color: #1B2744;
    color: #ffffff;
}

.gift-custom-amount-wrap {
    display: none;
    margin-bottom: 28px;
}

.gift-custom-amount-wrap.visible {
    display: block;
}

.gift-custom-amount-inner {
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(197, 180, 154, 0.45);
    padding-bottom: 10px;
    gap: 8px;
    transition: border-color 0.25s ease;
}

.gift-custom-amount-inner:focus-within {
    border-bottom-color: #C5B49A;
}

.gift-currency {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #C5B49A;
}

.gift-custom-input {
    background: transparent;
    border: none;
    outline: none;
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #1B2744;
    width: 120px;
    appearance: none;
    -moz-appearance: textfield;
}

.gift-custom-input::placeholder {
    color: rgba(139, 148, 166, 0.40);
    font-family: "Inter", sans-serif;
    font-size: 0.97rem;
    font-weight: 300;
}

.gift-custom-input::-webkit-outer-spin-button,
.gift-custom-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* ── Conditions ── */
.gift-conditions {
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 300;
    color: #8A94A6;
    line-height: 1.75;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(197, 180, 154, 0.18);
    margin-top: 8px;
}

/* ════════════════════════════════════════════════════════
   EXPÉRIENCES — Bientôt disponible
════════════════════════════════════════════════════════ */
.gift-experiences-wrap {
    background: #FDFAF5;
    padding: 0 max(4vw, 28px) 80px;
}

.gift-experiences-header {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 0 0;
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
    .gift-ritual {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .gift-ritual-img {
        aspect-ratio: 16 / 9;
        max-height: 400px;
    }

    .gift-form-card {
        grid-template-columns: 1fr;
    }

    .gift-form-aside {
        padding: 52px 40px;
    }

    .gift-form-aside::after { display: none; }

    .gift-form-wrap {
        padding: 52px 40px;
    }
}

@media (max-width: 640px) {
    .gift-ritual-wrap { padding: 64px max(4vw, 24px) 56px; }
    .gift-form-aside  { padding: 44px 28px; }
    .gift-form-wrap   { padding: 44px 28px; }
    .gift-form-card   { transform: translateY(-24px); }
}
