* {
    font-family: 'Poppins', sans-serif;
}

.hero-pattern {
    background-color: #FDF6F5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234A1E1E' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.nav-pattern {
    background-color: #4A1E1E;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath fill-rule='evenodd' d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s ease-out forwards;
}

.fade-in-up-delay-1 {
    animation-delay: 0.15s;
    opacity: 0;
}

.fade-in-up-delay-2 {
    animation-delay: 0.3s;
    opacity: 0;
}

.fade-in-up-delay-3 {
    animation-delay: 0.45s;
    opacity: 0;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #E63946;
    animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details.is-open summary .chevron-icon {
    transform: rotate(180deg);
}

summary .chevron-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

details.is-open .faq-content {
    opacity: 1;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Animation de vibration (téléphone) au survol */
@keyframes ring-vibrate {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(15deg);
    }
}

.hover-ring-container:hover svg {
    animation: ring-vibrate 0.3s ease-in-out infinite;
}

/* Animation d'apparition des cartes de services */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation d'apparition des cartes de tarifs */
.pricing-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Map decorative */
.map-pin-pulse {
    animation: map-ping 2s ease-out infinite;
}

@keyframes map-ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    70% {
        transform: scale(2.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* City badge hover */
.city-badge {
    transition: all 0.2s ease;
}

.city-badge:hover {
    background: #4A1E1E;
    color: white;
    border-color: #4A1E1E;
    transform: translateY(-1px);
}

/* Zoom de l'image au survol de la carte */
.service-card img {
    transition: transform 0.5s ease-out;
}

.service-card:hover img {
    transform: scale(1.08);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.3);
}


.hero-img-wrapper {
    position: relative;
}

.hero-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: rgba(74, 30, 30, 0.15);
    border-radius: 50%;
    filter: blur(10px);
}

@media (max-width: 1023px) {
    .hero-img-wrapper {
        display: none;
    }
}

/* Ticker styles */
.ticker-block {
    overflow: hidden;
    background: #ffffff;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: go-right 30s linear infinite;
}

.ticker-track.reverse {
    animation: go-left 36s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    white-space: nowrap;
    border-right: 1px solid #e5e7eb;
}

/* Thème sombre pour la ligne 2 */
.ticker-block.dark {
    background: #222222;
    border-bottom: none;
}

.ticker-block.dark .ticker-item {
    border-right-color: rgba(255, 255, 255, 0.08);
}

/* Typographie */
.sep {
    font-size: 10px;
    opacity: 0.3;
    color: #E63946;
}

.ticker-block.dark .sep {
    color: #ffffff;
    opacity: 0.3;
}

.item-num {
    font-weight: 800;
    font-size: 1.15rem;
    color: #E63946;
    font-family: ui-serif, Georgia, serif;
}

.item-label {
    font-size: 14px;
    font-weight: 400;
    color: #4B5563;
}

.item-label strong {
    font-weight: 700;
    color: #111827;
}

.ticker-block.dark .item-label {
    color: rgba(255, 255, 255, 0.6);
}

.ticker-block.dark .item-label strong {
    color: rgba(255, 255, 255, 0.95);
}

@keyframes go-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes go-left {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}
