@import url('components/header.css');
@import url('components/hero.css');
@import url('components/about.css');
@import url('components/prestations.css');
@import url('components/pricing.css');
@import url('components/contact.css');
@import url('components/footer.css');

:root {
    --primary-color:#1E555C;
    --secondary-color: #EDB183;
    --light-color: #FDF7F3;
    --dark-color: #333;
    --text-color: #555;
    --white: #FFFFFF;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Ajouter cette règle pour cibler spécifiquement la section services */




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    -webkit-tap-highlight-color: transparent;
}

.btn:active,
.simple-nav-card:active,
.menu-toggle:active {
    opacity: 0.8;
    transform: scale(0.98);
    transition: all 0.1s ease;
}


h1, h2, h5, h6 {
    font-family: serif;

}

h1 {
    font-size: 3rem !important;
}

h2 {
    font-size: 3rem !important;
}

h3 {
    font-size: 1.3rem !important;
}


h4 {
    font-size: 1.4rem !important;
}

h5 {
    font-size: 1.6rem !important;
}

h6 {
    font-size: 1.4rem !important;
}



body {
    font-family: 'Aria Text G1 Regular', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}


a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}




.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    font-weight: 600;
}

.hero .btn{
 box-shadow: 0 4px 12px rgba(255, 255, 255, 0.6); /* ombre blanche */

}



.btn:hover {
    background-color: #3C8189;
    transform: scale(1.07); /* augmente la taille de 10% */

}



.contact-form .btn::after {
    content: '';
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: var(--transition);
    display: inline-block;
    
}

/* Positionnement du bouton en bas centré du formulaire */
.contact-form form {
    display: flex;
    flex-direction: column;
    height: 100%; /* Prend toute la hauteur disponible */
}

.contact-form .form-group:last-of-type {
    margin-top: auto; /* Pousse le bouton vers le bas */
    text-align: center;
    padding-top: 20px;
}

.contact-form .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    
}


/* Pour le titre sans soulignement */
.section-title h2.no-underline::after {
    display: none;
}

.btn:hover::after {
    transform: translateX(5px);
}

.section {
    padding: 150px 0 66px 0;
    background-color: #F2DCCF;
    position: relative;
    overflow: hidden;
}




section.accompaniments.section {
    padding: 0 !important;
}


.section-title {
    text-align: center;
    margin-bottom: 50px;
}



.section-title h2 {
    color: var(--dark-color);
  
    position: relative;
    display: inline-block;
    padding: 0px 20px;
    background-color: white !important; /* Fond blanc forcé */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* SUPPRIMER les propriétés de gradient textuel qui causent confusion */
}








/* Style spécifique pour les titres SANS soulignement */
.section-title h2.no-underline {
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}

.section-title p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 25px auto 0;
    color: #666;
    font-weight: 400;
}

/* Bouton de retour en haut avec progression - VERSION AMÉLIORÉE */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #3C8189;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Conteneur pour la barre de progression circulaire */
.progress-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

/* Cercle de progression (autour du bouton) */
.progress-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    transform: rotate(-90deg);
}

.progress-ring circle {
    fill: none;
    stroke-width: 2;
    transition: stroke-dashoffset 0.3s ease;
}

.progress-bg {
    stroke: rgba(255, 255, 255, 0.2);
}

.progress-fill {
    stroke: var(--secondary-color);
    stroke-linecap: round;
}

/* Icône à l'intérieur du cercle */
.progress-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.back-to-top:hover .progress-icon svg {
    transform: translateY(-2px);
}

/* Styles pour la bannière de cookies */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: none;
    max-width: 1000px;
    margin: 0 auto;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    
}

.cookie-icon {
    flex-shrink: 0;
}

.cookie-icon svg {
    width: 32px;
    height: 32px;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.cookie-text p {
    margin: 0;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.cookie-btn.accept{
    border: 1px solid white;
    

}

.cookie-btn.accept:hover{
    border: 1px solid #EDB183;
    transform: none; 
}

.cookie-btn.refuse {
    background-color: transparent;
    
}

.cookie-btn.refuse:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: none;
}



/* Message pour carte bloquée */
.map-blocked-message {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    border: 2px dashed #e0e0e0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; 
}

.map-message-content {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.map-icon svg {
    width: 70px;
    height: 70px;
    color: var(--primary-color);
    opacity: 0.7;
    margin-bottom: 15px;
}

.map-blocked-message h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.rem; 
}

.map-blocked-message p {
   
    color: var(--text-color);
    font-size: 0.9rem; 
    line-height: 1.4;
}

.cookie-enable-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px; 
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem; 
}

.cookie-enable-btn:hover {
    background-color: #3C8189;
}

/* Icône flottante pour les préférences cookies */
.cookie-float-icon {
    position: fixed;
    bottom: 25px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: var(--transition);
    display: none;
}

.cookie-float-icon:hover {
    transform: scale(1.1);
    background-color: #3C8189;
}

.cookie-float-icon svg {
    width: 24px;
    height: 24px;
}

/* Style pour l'iframe bloquée */
.map-container.blocked iframe {
    display: none;
}

.map-container:not(.blocked) #map-blocked {
    display: none;
}

.map-container.blocked #map-blocked {
    display: block;
}



/* Media query pour les écrans mobiles */
@media (max-width: 768px) {
     .back-to-top {
        right: 20px;
        bottom: 30px;
        width: 44px;
        height: 44px;
    }
    
    .progress-ring {
        top: -2px;
        left: -2px;
        width: calc(100% + 4px);
        height: calc(100% + 4px);
    }
    

    .progress-ring circle {
        stroke-width: 3;
        
    }

    
    .progress-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .cookie-content {
        text-align: center;
    }
    
    .cookie-buttons {
        width: auto;
        margin-left: auto;
    }

        .back-to-top:hover {
        background-color: var(--primary-color);
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .back-to-top:hover .progress-icon svg {
        transform: translateY(0);
    }
    
    .back-to-top:active {
        background-color: #3C8189;
        transform: scale(0.95);
    }

}

