body {
    background-color: #2c7a7b;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
    font-family: 'Montserrat' , sans-serif;
    color: #333; 
    line-height: 1.6; 
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #2c7a7b; 
}

h2 {
    position: relative;
    padding-bottom: 15px; 
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #4fd1c5;
    border-radius: 2px;
}

section {
    padding: 80px 10%;
    position: relative;
}

.site-container{
    background-color: #e0f2f1;
    width: 100%;
    max-width: 1100px;
    box-shadow: 0 0 50px rgba(0,0,0,0.50);
    min-height: 100vh;
}

header {
    position: sticky;
    top: 0;
    padding: 10px;
    background-color: #ffffff;
    border-bottom: 3px solid #2c7a7b; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

header nav ul {
    display: flex;
    justify-content: center;
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    position: relative;
    padding-bottom: 5px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -15px; /* Ajuste la hauteur sous le texte */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #2c7a7b; /* La couleur de ton triangle */
    opacity: 0;
    transition: all 0.3s ease;
}

header nav ul li a:hover {
    color: #2c7a7b;
    transform: scale(1.05);
}

header nav ul li a.active::after {
    opacity: 1;
    bottom: -5px;
}

header nav ul li a.active {
    color: #2c7a7b;
}

@media (max-width: 768px) {
    header nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }

    section {
        padding: 20px;
    }
}

.btn-rdv {
    display: inline-block;
    padding: 16px 32px;
    margin-top: 25px;

    background-color: #2c7a7b;
    color: #ffffff !important;

    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;

    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);

    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-rdv:hover {
    background-color: #235e5f; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-rdv:active {
    transform: translateY(0); 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    padding: 0;
    background-color: #235e5f;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color:#e0f2f1;
    width: 90%;
    max-width: 800px;
}

.hero-text-overlay h1 {
    font-size: 3.5rem;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color:#e0f2f1;
}

.hero-text-overlay h3 {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    color:#e0f2f1;
}

.hero-text-overlay p {
    font-size: 1.3rem;
    margin: 0 0 30px 0;
    font-weight: 300;
}

section:nth-child(even) {
    background-color: #f4fafb;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 30px auto; 
    aspect-ratio: 16 / 9; 
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
}

p {
    font-family: 'Open Sans', sans-serif; 
    font-size: 1.1rem;                  
    line-height: 1.7;                   
    color: #445656;                      
    margin-bottom: 20px;                 
    max-width: 850px;                    
}

p strong {
    color: #2c7a7b;                  
    font-weight: 700;
}

.actes-texte {
    background-color: #ffffff;   
    padding: 30px;                
    border-radius: 15px;          
    box-shadow: 0 10px 25px rgba(44, 122, 123, 0.15);
    border-left: 5px solid #4fd1c5; 
    margin: 30px 0;
}

.actes-texte ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.actes-texte ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.actes-texte ul li::before {
    content: '•';
    color: #4fd1c5;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.actes-texte p {
    margin-bottom: 0; 
}

.tarif {
    background-color: #445656;
    color: #ffffff;
    padding: 30px 50px;     
    width: 90%;             
    max-width: 800px;       
    margin: 40px auto;      
    display: flex;          
    align-items: center;     
    justify-content: space-between; 
    border-radius: 15px;      
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-left: 5px solid #4fd1c5; 
    
    position: relative;
    transform: none;
    right: 0;
}

.tarif h2 {
    color:#e0f2f1;
}

.tarif p {
    color: #4fd1c5 !important; 
    font-size: 2.2rem;      
    font-weight: bold;
    margin: 0;
    text-align: right;       
}

.tarif p span {
    display: block;           
    color: #e0f2f1;
    font-size: 0.85rem;
    font-weight: normal;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .tarif {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 30px;
    }
    .tarif p {
        text-align: center;
    }
}

.carte-map {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.galerie-cabinet {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.galerie-cabinet img {
    flex: 1;                
    min-width: 250px;       
    height: 200px;          
    object-fit: cover;      
    border-radius: 15px;    
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

section#contact form ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

section#contact form button {
    background-color: #4CAF50; 
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s; 
}

section#contact form button:hover {
    background-color: #45a049;
}

#contact form button, 
#contact form input[type="submit"] {
    display: inline-block;
    width: 100%;
    margin-top: 25px;
    padding: 16px 32px;
    
    background-color: #2c7a7b !important; 
    color: #ffffff !important;
    
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#contact form button:hover {
    background-color: #235e5f !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

#contact input, #contact textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

#contact textarea {
    height: 120px;
    resize: vertical;
}

footer {
    background-color: #445656; 
    padding: 60px 0 0 0; 
    margin-top: 0;
    color: #e0f2f1; 
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 10% 40px 10%;
}

.footer-section h4 {
    color: #4fd1c5; 
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 0.9rem;
    color: #e0f2f1; 
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-section ul li a {
    text-decoration: none;
    color: #b2dfdb;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
    padding-left: 5px; 
}

.footer-bottom {
    text-align: center;
    padding: 20px 10%;
    background-color: #334141; 
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p, .footer-bottom a {
    font-size: 0.8rem;
    color: #8fa7a7;
    text-decoration: none;
}

.source-video {
    font-size: 0.85rem;       
    color: #8fa7a7;              
    font-style: italic;          
    text-align: right;           
    margin-top: 10px;            
    margin-bottom: 0;           
    font-family: 'Open Sans', sans-serif;
}

.source-video::before {
    content: "ⓘ ";                
    font-style: normal;
    margin-right: 5px;
}