/* Hero section - Charte graphique moderne et chaleureuse - Accent caramel #a67c52 */

.hero {
    position: relative;
    height: calc(100vh - var(--header-height, 80px));
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 3rem;
    box-sizing: border-box;
    margin-top: 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/img/hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: brightness(0.7) contrast(1.1);
    animation: zoom-breathe 15s ease-in-out infinite;
}

@keyframes zoom-breathe {
    0% {
        transform: scale(1) translate(0, 0);
    }
    33% {
        transform: scale(1.2) translate(-1%, -1%);
    }
    66% {
        transform: scale(1.25) translate(1%, 0);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 650px;
    color: #ffffff;
    animation: fadeInUp 1.2s ease-out;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0 0 1.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1.2s ease-out;
    /* Anti-chevauchement lettres */
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "clig" 0;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.hero-desc {
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: white;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInLeft 1.7s ease-out;
    line-height: 1.6;
}

.hero-btn-group {
    display: flex;
    gap: 1.2rem;
    animation: fadeInUp 1.8s ease-out;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.hero-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: #a67c52;
    color: #ffffff;
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(166, 124, 82, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.hero-btn:hover {
    background-color: #8a6642;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.hero-btn:hover::before {
    left: 120%;
    opacity: 0.8;
}

.hero-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(166, 124, 82, 0.3);
}

.hero-btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid #ffffff;
}

.hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.9);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .hero {
        padding: 2rem 2rem;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-desc {
        font-size: 1.3rem;
    }

    .hero-content {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem;
        text-align: center;
        align-items: center;
        justify-content: center;
        height: calc(100vh - var(--header-height-mobile, 70px));
    }
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-desc {
        font-size: 1.2rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btn-group {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 450px;
        height: calc(100vh - var(--header-height-mobile, 70px));
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-desc {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        width: 100%;
        margin-bottom: 0.8rem;
    }
    
    .hero-btn-group {
        flex-direction: column;
    }
}
