/*
 * home.css — Page d'accueil
 * Variables, base et surcharges Bootstrap : voir main.css
 */

/* ═══════════════════════════════════════════
   HERO — Conteneur custom
═══════════════════════════════════════════ */
.hero-section {
    background-color: var(--light-bg) !important;
}

.custom-container {
    border-radius: 0 var(--radius-xl) 0 var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    margin: 2rem auto;
    max-width: 1200px;
}

.custom-container .row {
    min-height: 420px;
}

.custom-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Titre hero */
.hero-section h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--blue-900);
    line-height: 1.25;
}

.hero-section p {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.7;
}

/* Formulaire hero */
.hero-section .form-group {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.hero-section .form-control {
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    padding: .7rem 1rem;
    font-family: var(--font-body);
    flex: 1;
    min-width: 0;
    transition: border-color .2s, box-shadow .2s;
}

.hero-section .form-control:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(26,92,222,.15);
    outline: none;
}

.hero-section .btn-primary {
    border-radius: var(--radius-md);
    background: var(--blue-500);
    border: none;
    padding: .7rem 1.4rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s, transform .15s;
}

.hero-section .btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .custom-container {
        border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
    }
    .custom-container .col-md-6 {
        padding: 2rem !important;
    }
    .custom-container img {
        height: 260px;
    }
}

/* ═══════════════════════════════════════════
   SECTION TITRES (cohérent avec trip-section-title)
═══════════════════════════════════════════ */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--blue-900);
}

/* ═══════════════════════════════════════════
   CARTES VOYAGE (destination-card)
   ✅ CORRIGÉ : doublon supprimé, version unifiée
═══════════════════════════════════════════ */
.destination-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    background: var(--white);
    transition: transform .3s ease, box-shadow .3s ease;
}

.destination-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.destination-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.destination-card .card-body {
    padding: 1.3rem;
}

.destination-card .card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blue-900);
    margin-bottom: .5rem;
}

.destination-card .card-text {
    font-size: .9rem;
    color: var(--text-mid);
    line-height: 1.6;
}

/* ─── Badge prix ─────────────────────────
   ✅ CORRIGÉ : doublon supprimé, couleur unifiée
   Utilise --red-flag (rouge russe) pour l'identité visuelle
──────────────────────────────────────── */
.price-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--red-flag);
    color: var(--white);
    padding: .3rem .85rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(213,43,30,.35);
}

/* ─── Bouton CTA carte ───────────────── */
.btn-explora {
    background: var(--blue-700);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    padding: .6rem 1.3rem;
    font-weight: 600;
    font-size: .9rem;
    transition: background .2s, transform .15s;
}

.btn-explora:hover {
    background: var(--blue-900);
    color: var(--white);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   SECTION "POURQUOI NOUS CHOISIR"
═══════════════════════════════════════════ */
.icon-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .75rem;
}

.russia-icon {
    max-height: 100%;
    width: auto;
    transition: transform .3s ease;
}

/* Hover sur toutes les cards "pourquoi" */
.bg-white.rounded.shadow-sm {
    transition: transform .25s ease, box-shadow .25s ease;
}

.bg-white.rounded.shadow-sm:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md) !important;
}

.bg-white.rounded.shadow-sm:hover .russia-icon {
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════
   TÉMOIGNAGES
═══════════════════════════════════════════ */
.testimonial {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    height: 100%;
    transition: box-shadow .25s ease;
}

.testimonial:hover {
    box-shadow: var(--shadow-md);
}

.testimonial img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--blue-100);
}

.testimonial p {
    font-size: .95rem;
    color: var(--text-mid);
    font-style: italic;
    line-height: 1.7;
}

.testimonial h4 {
    font-weight: 600;
    color: var(--blue-900);
    font-size: .95rem;
}

/* ═══════════════════════════════════════════
   NEWSLETTER BAS DE PAGE
═══════════════════════════════════════════ */
.bg-primary .form-control {
    border-radius: var(--radius-md);
    border: none;
    padding: .7rem 1rem;
    font-family: var(--font-body);
}

.bg-primary .btn-light {
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--blue-700);
    transition: background .2s, transform .15s;
}

.bg-primary .btn-light:hover {
    background: var(--blue-100);
    transform: translateY(-1px);
}

/* Animations au scroll, lazy loading, validation : voir main.css */
