/* ============================================================
   Life'Scape — Chèques cadeaux
   ============================================================
   Couleurs reprises du site, jamais inventées :
     #DEDBC3  parchemin (fond de page)
     #f5f3eb  crème (fond des blocs)
     #483c3c  brun du texte
     #C19A59  or des accents
   ============================================================ */

.cadeau-page {
    background: #DEDBC3;
}

.cadeau-page .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Titres de section --- */

.cadeau-h2 {
    font-family: Gelasio, serif;
    font-size: 32px;
    font-weight: 700;
    color: #483c3c;
    text-align: center;
    margin: 0 0 8px;
    line-height: 1.25;
}

.cadeau-h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #C19A59;
    margin: 15px auto 40px;
}

/* --- En-tête --- */

/* 250 px, la valeur employée par toutes les pages du site : elle dégage le
   bord déchiré de l'en-tête, qui recouvrirait sinon le fil d'Ariane. */
.cadeau-hero {
    padding: 250px 0 60px;
}

.cadeau-hero .breadcrum {
    margin-bottom: 34px;
}

.cadeau-hero__contenu {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}

.cadeau-hero__sur {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #C19A59;
    margin: 0 0 14px;
}

.cadeau-hero h1 {
    font-family: Gelasio, serif;
    font-size: 44px;
    font-weight: 700;
    color: #483c3c;
    line-height: 1.15;
    margin: 0 0 18px;
}

.cadeau-hero__intro {
    font-family: 'Work Sans', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #5c4f4f;
    margin: 0 0 26px;
}

.cadeau-hero__points {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

.cadeau-hero__points li {
    font-family: 'Work Sans', sans-serif;
    font-size: 15.5px;
    color: #483c3c;
    padding: 9px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cadeau-hero__points i {
    color: #C19A59;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.cadeau-hero__visuel img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(72, 60, 60, 0.22);
    display: block;
}

/* --- Bouton --- */

.cadeau-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #f5f3eb;
    background: #483c3c;
    border: 1px solid #483c3c;
    border-radius: 6px;
    padding: 15px 34px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cadeau-cta:hover {
    background: #C19A59;
    border-color: #C19A59;
    color: #fff;
}

.cadeau-cta--secondaire {
    background: transparent;
    color: #483c3c;
}

.cadeau-cta--secondaire:hover {
    background: #483c3c;
    border-color: #483c3c;
    color: #f5f3eb;
}

/* --- Les quatre étapes --- */

.cadeau-etapes {
    padding: 55px 0;
}

.cadeau-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
    position: relative;
}

/* Le fil qui relie les quatre jalons : c'est lui qui fait lire les cartes
   comme une suite d'étapes et non comme quatre encarts juxtaposés. Avec
   quatre colonnes égales, les centres tombent à 12,5 % et 87,5 %. */
.cadeau-steps::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(to right, #C19A59 0 8px, transparent 8px 16px);
    opacity: 0.5;
    z-index: 0;
}

.cadeau-step {
    position: relative;
    z-index: 1;
    background: #f5f3eb;
    border-radius: 12px;
    padding: 34px 20px 24px;
    margin-top: 22px;
    box-shadow: 0 4px 20px rgba(72, 60, 60, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.cadeau-step__num {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #C19A59;
    color: #fff;
    font-family: Gelasio, serif;
    font-size: 21px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    /* L'anneau de parchemin détache le jalon du fil qui passe derrière. */
    box-shadow: 0 0 0 6px #DEDBC3;
}

.cadeau-step h3 {
    font-family: Gelasio, serif;
    font-size: 17.5px;
    color: #483c3c;
    margin: 0 0 10px;
    line-height: 1.3;
}

.cadeau-step p {
    font-family: Montserrat, sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    color: #5c4f4f;
    margin: 0;
}

/* --- Boutique 4escape --- */

.cadeau-boutique {
    padding: 55px 0;
    scroll-margin-top: 120px;
}

/* Le widget est servi par un tiers : on lui donne un cadre, jamais une
   hauteur fixe. `min-height` évite seulement que la page ne sursaute au
   moment où il s'affiche. */
.cadeau-widget {
    background: #f5f3eb;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(72, 60, 60, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.cadeau-widget .forescape-catalog {
    min-height: 420px;
}

.cadeau-note {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #5c4f4f;
    text-align: center;
    margin: 26px auto 0;
    max-width: 720px;
}

.cadeau-note i {
    color: #C19A59;
    margin-right: 7px;
}

.cadeau-note a {
    color: #483c3c;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cadeau-note a:hover {
    color: #C19A59;
}

/* --- Occasions --- */

.cadeau-usages {
    padding: 55px 0;
}

.cadeau-usages__grille {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
}

.cadeau-usage {
    background: #f5f3eb;
    border-radius: 12px;
    padding: 30px 24px;
    box-shadow: 0 4px 20px rgba(72, 60, 60, 0.08);
    display: flex;
    flex-direction: column;
}

.cadeau-usage__icone {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(193, 154, 89, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.cadeau-usage__icone i {
    font-size: 21px;
    color: #C19A59;
}

.cadeau-usage h3 {
    font-family: Gelasio, serif;
    font-size: 19px;
    color: #483c3c;
    margin: 0 0 10px;
    line-height: 1.3;
}

.cadeau-usage p {
    font-family: Montserrat, sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    color: #5c4f4f;
    margin: 0;
}

/* --- Appel à l'action final --- */

.cadeau-final {
    position: relative;
    overflow: hidden;
    padding: 65px 0 85px;
    text-align: center;
}

/* Voile masqué en fondu à ses deux extrémités : sans cela, `overflow: hidden`
   le tranche net et dessine une ligne en travers du parchemin. */
.cadeau-final__fumee {
    position: absolute;
    top: 0;
    left: -25%;
    width: 150%;
    height: 100%;
    background-image: url('../images/general/smoke-2-6.webp');
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.cadeau-final .container {
    position: relative;
    z-index: 1;
}

.cadeau-final h2 {
    font-family: Gelasio, serif;
    font-size: 32px;
    font-weight: 700;
    color: #483c3c;
    margin: 0 0 12px;
}

.cadeau-final p {
    font-family: 'Work Sans', sans-serif;
    font-size: 16.5px;
    color: #5c4f4f;
    margin: 0 0 30px;
}

.cadeau-final__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* --- Adaptations --- */

@media (max-width: 1024px) {
    .cadeau-usages__grille { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .cadeau-hero__contenu {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    /* Le visuel passe SOUS le texte : sur un écran étroit, une image de
       600 px avant le titre repousserait l'argument hors de l'écran. */
    .cadeau-hero__visuel {
        order: 2;
        max-width: 460px;
        margin: 0 auto;
    }

    /* Le fil ne relierait plus rien sur deux rangées. */
    .cadeau-steps { grid-template-columns: repeat(2, 1fr); }
    .cadeau-steps::before { display: none; }
    .cadeau-step { margin-top: 26px; }
}

@media (max-width: 768px) {
    .cadeau-hero {
        padding: 250px 0 40px;
    }

    .cadeau-hero h1 {
        font-size: 33px;
    }

    .cadeau-h2,
    .cadeau-final h2 {
        font-size: 26px;
    }

    .cadeau-cta {
        justify-content: center;
        width: 100%;
    }

    .cadeau-widget {
        padding: 16px 12px;
    }
}

@media (max-width: 560px) {
    .cadeau-steps { grid-template-columns: 1fr; gap: 34px; }
    .cadeau-usages__grille { grid-template-columns: 1fr; }
}

/* ============================================================
   Retouches du widget 4escape, propres à la boutique cadeaux
   ============================================================
   La colonne « Votre sélection » ne sert à rien ici : la boutique ne vend
   qu'un article, et le panier flottant (.forescape-cart) affiche déjà la
   sélection. Elle occupait un tiers de la largeur pour n'annoncer que
   « Bon cadeau ».

   DOUBLE PROTECTION, volontaire :
     1. ces règles vivent dans cheque-cadeau.css, qui n'est chargé que par
        cette page — jamais par la réservation ;
     2. elles sont en plus préfixées par .cadeau-page.

   Vérifié avant écriture : .f-product-view--confirmSide existe sur la page
   cadeaux et n'existe PAS sur /reservation, dont le widget est un moteur de
   disponibilité et non une boutique. La seconde protection couvre le cas où
   une mise à jour de 4escape ferait apparaître ce composant ailleurs.
   ============================================================ */

/* Masque la colonne « Votre sélection » */
.cadeau-page .f-product-view--confirmSide .f-page-selection--side {
    display: none !important;
}

/* La grille repasse sur une seule colonne */
.cadeau-page .f-product-view--confirmSide {
    grid-template-columns: 1fr !important;
}

/* La colonne restante occupe toute la largeur */
.cadeau-page .f-product-view--confirmSide > div:first-child {
    grid-column: 1 / -1 !important;
}
