/* My styles */
.opening-animation {
    position: fixed;
    inset: 0;
    background: linear-gradient(120deg, #89d8c2 0%, #f6f1f1 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s;
    animation: fadeOut 1s 2.1s forwards;
}

.opening-animation img {
    width: 120px;
    height: 120px;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    animation: fadeInUp 1.1s 0.2s forwards;
}

#shinyText {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: #2b8673;
    margin-top: 1.5rem;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        120deg,
        #2b8673 20%,
        #a0e8d5 40%,
        #2b8673 60%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 2.5s linear infinite;
    opacity: 0;
    transform: translateY(30px);
    animation-fill-mode: forwards;
    animation-name: fadeInUp, shine;
    animation-duration: 1.1s, 2.5s;
    animation-delay: 0.7s, 0s;
    animation-timing-function: ease-out, linear;
    animation-iteration-count: 1, infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Styles généraux */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f7fafc;
    color: #222;
}

.letter-highlight {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.2em;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: box-shadow 0.5s cubic-bezier(.4,0,.2,1);
}

.navbar-brand {
    font-weight: bold;
    letter-spacing: 2px;
    color: #2b8673 !important;
}

.navbar.sticky-top {
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.navbar.sticky-shadow {
    box-shadow: 0 2px 16px rgba(0,0,0,0.13);
}

/* Boutons */
.btn-primary {
    background: linear-gradient(90deg, #2b8673 0%, #89d8c2 100%);
    border: none;
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #89d8c2 0%, #2b8673 100%);
}

/* Classes utilitaires pour les badges */
.badge-blue-sky {
    background-color: #87CEFA;
    color: white;
}

.border-badge-blue-sky {
    border-left-color: #87CEFA;
}

.text-badge-blue-sky {
    color: #87CEFA;
}

/* Masthead */
.masthead {
    background: linear-gradient(120deg, #89d8c2 0%, #f6f1f1 100%);
    padding: 5rem 0 3rem 0;
    text-align: center;
}

.masthead h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2b8673;
}

.masthead h2 {
    color: #555;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* Sections */
.features-icons {
    padding: 3rem 0;
}

/* Showcase */
.showcase-img {
    min-height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem 0 0 1rem;
}

.showcase-text {
    padding: 2.5rem;
    background: #fff;
    border-radius: 0 1rem 1rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* Cartes de prestations */
.prestation-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.prestation-card:hover {
    transform: translateY(-5px) scale(1.01);
}

.prestation-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem 1rem 0 0;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.prestation-img:hover {
    transform: scale(1.03);
}

.prestation-content {
    padding: 1.5rem 2rem;
}

/* Footer */
.footer {
    background: #2b8673;
    color: #fff;
    padding: 2rem 0;
}

.footer a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Bouton d'accessibilité */
.accessibilite-btn {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #cce29a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.2s, background 0.2s;
    padding: 0;
}

.accessibilite-btn span#loupe-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.accessibilite-btn svg {
    width: 32px;
    height: 32px;
    display: block;
}

.accessibilite-menu {
    position: fixed;
    right: 2rem;
    bottom: 5.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(133, 216, 255, 0.3);
    padding: 1rem 1.2rem;
    z-index: 1001;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.accessibilite-menu[hidden] {
    display: none;
}

.fs-reset {
    border-radius: 8px;
    font-size: 1rem;
    padding: 0.5em 0;
    border: 1px solid #cce29a;
    background: #fff;
    color: #222;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.fs-reset:hover,
.fs-reset:focus {
    background: #cce29a !important;
    color: #222 !important;
    border-color: #b5d87c !important;
    outline: none;
}

/* Section avis Google */
.avis-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.avis-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.avis-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.avis-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.avis-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2b8673, #89d8c2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    position: relative;
}

.google-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.avis-info h5 {
    margin: 0;
    font-weight: 600;
    color: #2b8673;
    font-size: 1.1rem;
}

.avis-date {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.stars {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.avis-text {
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
}

.google-logo {
    width: 12px;
    height: 12px;
}

.google-rating-banner {
    background: linear-gradient(120deg, #89d8c2 0%, #f6f1f1 100%);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.overall-rating {
    font-size: 3rem;
    font-weight: bold;
    color: #2b8673;
    margin-bottom: 0.5rem;
}

.overall-stars {
    font-size: 1.5rem;
    color: #ffc107;
    margin-bottom: 0.5rem;
}

.rating-text {
    color: #555;
    font-size: 1rem;
}

/* Media queries */
@media (max-width: 991px) {
    .showcase-img, .showcase-text {
        border-radius: 1rem !important;
    }
    
    .prestation-img {
        height: 150px;
        max-width: 85%;
    }
    
    .prestation-content {
        padding: 1rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .overall-rating {
        font-size: 2.5rem;
    }
}

.rating-text-large {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2b8673;
    margin-bottom: 0.5rem;
}