/* ========================================
   HERO COMPONENT - Section principale
   ======================================== */

.hero {
    padding-top: 48px;
    padding-bottom: 0;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.hero__container {
    position: relative;
    width: 1348px;
    max-width: calc(100% - 84px);
    height: 770px;
    margin: 0 auto;
    border: 2.5px solid transparent;
    border-radius: 0px 0px 32px 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(78, 32, 61, 0.1) 100%) padding-box,
        linear-gradient(180deg, #FDFAF1 0%, rgba(78, 32, 61, 0.15) 100%) border-box;
    overflow: hidden;
    box-sizing: border-box;
}

/* Contenu texte - centré verticalement à gauche */
.hero__content {
    position: absolute;
    left: 42px;
    top: 50%;
    transform: translateY(calc(-50% - 44px));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 711px;
    max-width: 55%;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: rgba(78, 32, 61, 0.05);
    border: none;
    border-radius: 32px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 120%;
    color: var(--color-primary);
    font-weight: 400;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 47px;
    font-weight: 600;
    line-height: 120%;
    color: var(--color-primary);
}

.hero__title-highlight {
    display: inline;
}

.hero__description {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #6F6F6F;
    max-width: 711px;
}

/* Boutons */
.hero__buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero__btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    border-radius: 32px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    height: 46px;
    box-sizing: border-box;
}

.hero__btn--primary {
    padding: 12px 8px 12px 16px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.hero__btn--primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero__btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #FDFAF1;
    border-radius: 32px;
    flex-shrink: 0;
}

.hero__btn--primary:hover .hero__btn-arrow svg {
    transform: translateX(2px);
    transition: transform var(--transition-fast);
}

.hero__btn--secondary {
    padding: 12px 24px;
    background: rgba(78, 32, 61, 0.1);
    color: #4E203D;
    border: none;
}

.hero__btn--secondary:hover {
    background: rgba(78, 32, 61, 0.18);
    transform: translateY(-2px);
}

/* Stores - positionné en bas à gauche */
.hero__stores {
    position: absolute;
    left: 42px;
    bottom: 42px;
    z-index: 2;
}

.hero__stores-card {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 18px;
    background: var(--color-primary);
    border: 2px solid rgba(78, 32, 61, 0.1);
    border-radius: 24px;
    min-width: 171px;
}

.hero__stores-label {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 120%;
    color: var(--color-text-white);
    font-weight: 400;
}

.hero__store-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 120%;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    transition: background var(--transition-fast), transform var(--transition-fast);
    width: 100%;
}

.hero__store-link svg,
.hero__store-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
}

.hero__store-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

/* ========== PARTIE VISUELLE (Téléphone + notifications) ========== */

.hero__visual {
    position: absolute;
    right: -64px;
    top: 96px;
    width: 610px;
    height: 748px;
    z-index: 2;
}

/* Téléphone mockup */
.hero__phone {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.hero__phone-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    filter: drop-shadow(0 20px 60px rgba(74, 32, 64, 0.15));
}

/* Notifications flottantes — Glassmorphisme Water Blur */
.hero__notification {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
    gap: 12px;
    isolation: isolate;
    border-radius: 24px;
    box-shadow: var(--shadow-notification);
    z-index: 10;
    opacity: 0;
    animation: notificationSlideIn 0.8s ease forwards;
    overflow: hidden;
    /* Water Blur glassmorphism */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero__notification-content {
    position: relative;
    z-index: 1;
}

.hero__notification--price {
    width: 370px;
    top: 205px;
    right: calc(50% - 618px);
    animation-delay: 0.5s;
}

.hero__notification--activity {
    width: 370px;
    top: 547px;
    right: calc(50% - 449px);
    animation-delay: 1.2s;
}

.hero__notification-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.hero__notification-text {
    flex: 1;
}

.hero__notification-title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: -0.006em;
    color: #4F203F;
    margin-bottom: 2px;
}

.hero__notification-desc {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: #4F203F;
    line-height: 20px;
}

.hero__notification-icon {
    width: 43px;
    height: 43px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero__notification-icon--airline {
    background: #FFF5F5;
    border: 1px solid #FFE0E0;
}

.hero__notification-icon--airbnb {
    background: #FFF0F0;
}

/* Animation des notifications */
@keyframes notificationSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animation flottante continue */
.hero__notification--price {
    animation: notificationSlideIn 0.8s ease forwards, floatUp 4s ease-in-out 1.3s infinite;
}

.hero__notification--activity {
    animation: notificationSlideIn 0.8s ease forwards, floatDown 4.5s ease-in-out 2s infinite;
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1400px) {
    .hero__container {
        height: 700px;
    }

    .hero__visual {
        width: 480px;
        height: 600px;
        right: 20px;
        top: 80px;
    }

    .hero__content {
        width: 550px;
        max-width: 50%;
    }

    .hero__title {
        font-size: 40px;
    }

    .hero__notification {
        width: 300px;
        padding: 12px;
    }

    .hero__notification--price {
        top: 195px;
        right: calc(50% - 550px);
    }

    .hero__notification--activity {
        top: 480px;
        right: calc(50% - 420px);
    }
}

@media (max-width: 1024px) {
    .hero__container {
        height: 650px;
    }

    .hero__content {
        width: auto;
        max-width: 50%;
        left: 30px;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__visual {
        width: 400px;
        height: 520px;
        right: 10px;
        top: 80px;
    }

    .hero__notification {
        width: 260px;
        padding: 10px;
    }

    .hero__notification--price {
        top: 180px;
        right: calc(50% - 468px);
    }

    .hero__notification--activity {
        top: 420px;
        right: calc(50% - 368px);
    }

    .hero__stores {
        left: 30px;
        bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 90px;
    }

    .hero__container {
        height: auto;
        min-height: auto;
        padding: 32px 20px;
        max-width: calc(100% - 24px);
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 28px;
        overflow: hidden;
    }

    .hero__content {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__description {
        max-width: 100%;
        font-size: 14px;
    }

    .hero__buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero__btn {
        width: 100%;
        justify-content: center;
    }

    .hero__visual {
        position: relative;
        top: auto;
        right: auto;
        width: 260px;
        height: 340px;
    }

    .hero__notification {
        display: none;
    }

    .hero__notification-title {
        font-size: 12px;
    }

    .hero__notification-desc {
        font-size: 10px;
    }

    .hero__stores {
        position: static;
        display: flex;
        justify-content: center;
    }

    .hero__stores-card {
        align-items: center;
    }

    .hero__badge {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
    }

    .hero__container {
        padding: 24px 16px;
        max-width: calc(100% - 16px);
        gap: 24px;
    }

    .hero__title {
        font-size: 24px;
    }

    .hero__description {
        font-size: 13px;
    }

    .hero__badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .hero__visual {
        width: 220px;
        height: 280px;
    }

    .hero__phone-img {
        width: 180px;
    }

    .hero__notification {
        display: none;
    }
}

@media (max-width: 360px) {
    .hero__title {
        font-size: 22px;
    }

    .hero__visual {
        width: 200px;
        height: 250px;
    }

    .hero__phone-img {
        width: 160px;
    }
}