/* ---------------------------------------------------------------- */
/* Configuration Globale */
/* ---------------------------------------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden; 
	scroll-behavior: smooth; 
}

div[id] {
    scroll-margin-top: 120px;
}

* {
    box-sizing: border-box; 
}

/* ---------------------------------------------------------------- */
/* Barre de nav */
/* ---------------------------------------------------------------- */
header {
    background: white;
    padding: 15px 5%;
    border-bottom: 1px solid #ddd;
    display: flex; 
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%; 
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo_img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.logo_texte{
    display: flex;
    flex-direction: column;
}

.logo h1 {
    margin: 0;
    color: #006673;
    font-size: 24px;
}

.logo p {
    margin: 0;
    color: #93c01f;
    font-size: 14px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

nav a {
    text-decoration: none;
    color: #006673;
    font-weight: bold;
    font-size: 16px;
}

/* ---------------------------------------------------------------- */
/* Image de présentation */
/* ---------------------------------------------------------------- */
.image_presentation {
    background-image: linear-gradient(rgba(0,102,115,0.7), rgba(0,102,115,0.7)), url('senior.png');
    background-position: center;
    background-size: cover;
    width: 100%;
    padding: 150px 20px 100px 20px; 
    text-align: center;
}

.image_presentation h1 {
    color: white;
    font-size: 80px;
	font-family : "Serif";
}

.image_presentation h2 {
    color: #93c01f;
    font-size: 1.5rem;
	font-family : "Arial";
}

.image_presentation p {
    color: white;
    font-size: 1.2rem;
}

.bulle { 
    background-color: #93c01f;  
    color: white;               
    border-radius: 30px;        
    padding: 15px 30px;         
    text-decoration: none;      
    display: inline-block;
    font-size: 25px;
    font-weight: bold;
    /* animation de pulsation */
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); } /* bouton légèrement plus grand */
    100% { transform: scale(1); }
}

/* ---------------------------------------------------------------- */
/* Présentation */
/* ---------------------------------------------------------------- */
.block {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto; 
    padding: 40px 10px; 
    color: #006673; 
    background-color: #E8FFFF;
    border-radius: 20px;
}


.presentation h1 {
    text-align: center;
    font-size: 35px;
}

.presentation h2 {
    text-align: left;
    font-size: 24px;
    margin-top: 15px;
}

.presentation p {
    color: black;
    line-height: 1.6;
}

/* ---------------------------------------------------------------- */
/* 4. CARTES DE SERVICES (EFFET 3D TILT) */
/* ---------------------------------------------------------------- */
.block {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto; 
    padding: 40px 10px; 
    color: #006673; 
}

.services_container {
    display: flex;         
    flex-wrap: wrap;       
    gap: 30px;             
    justify-content: center; 
    perspective: 1000px; /* Ajoute de la profondeur pour l'effet 3D */
}

.bulle_page {
    background-color: white;
    color: black;
    border: 2px solid #93c01f; /* Bordure verte signature */
    border-radius: 20px;
    padding: 20px;
    width: 270px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 2.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, border-color 0.5s ease;
    transform-style: preserve-3d; /* Permet aux éléments enfants de rester en 3D */
}

/* --- L'EFFET 3D AU SURVOL --- */
.bulle_page:hover {
    transform: rotateX(5deg) rotateY(-15deg) translateY(3px); /* Inclinaison et soulèvement */
    box-shadow: 15px 15px 30px rgba(0,0,0,0.15); /* Ombre portée plus forte */
    border-color: #006673; /* La bordure devient bleue au survol */
}


.courses .info .jardin .animaux{
	justify-content : center;
}

/* ---------------------------------------------------------------- */
/* Qui je suis */
/* ---------------------------------------------------------------- */

.qui_je_suis h1{
	text-align : center;
}

/* ---------------------------------------------------------------- */
/* Où ? */
/* ---------------------------------------------------------------- */

.ou{
	padding-left : 50px;
	padding-right : 50px;
}


.ou h1{
	text-align : center;
}

.ou iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ---------------------------------------------------------------- */
/* Formulaire */
/* ---------------------------------------------------------------- */

.formulaire_inscription h1{
	text-align : center;
}

.bloc {
    background-color: #FCFCF2;
    padding: 20px; 
    border: 1px solid #ddd; 
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
}

.bloc p {
    color: #006673;
}

.bloc strong {
    font-size: 18px;
}

.service,
.assistance,
.travaux,
.soins_animaux {
    padding: 15px 0;
    line-height: 1.6;
}

#nom, #prenom, #age, #nom1, #prenom1, #age1, #message, #boutton, #adresse, #code_postal, #num_bat, #num_appart, #num_etage {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-family: "Montserrat";
    box-sizing: border-box;
}

#message {
    height: 150px;
}
/* ---------------------------------------------------------------- */
/* Bouton Envoyer */
/* ---------------------------------------------------------------- */
#boutton {
    background-color: #007382;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    height: 50px;
    font-size: 18px;
    box-shadow: 0 4px #005a66;
    transition: all 0.2s ease; /* Effet de clic fluide */
}

#boutton:hover {
    background-color: #00899b;
    transform: translateY(-2px);
    box-shadow: 0 6px #005a66;
}

#boutton:active {
    transform: translateY(5px); /* Effet d'enfoncement au clic */
    box-shadow: 0 2px #0227a0;
}

/* ---------------------------------------------------------------- */
/* Footer */
/* ---------------------------------------------------------------- */


.footer{
	background-color : #008899;
	padding : 40px 20px;
	color : white;
	text-align : center;
	position: relative;
}


.footer .si{
	position : absolute;
	right : 80px;
	top : 50%;
	transform: translateY(-50%);
	width : 250px;
	height : auto;
}

.liens {
    display: flex;
    justify-content: center; /* centre les liens horizontalement */
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;         /* si écran petit, les liens passent en ligne suivante */
}

.liens a {
	color : white;
	text-decoration : none;
	font-weight : bold;
	transition : color 0.3s ease;
}

lien a:hover{
	color : #93c01f;   /*couleur de survol*/
	text-decoration : underline;
}







/* ---------------------------------------------------------------- */
/* Pour tablettes et mobiles */
/* ---------------------------------------------------------------- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        position: relative;
        padding: 15px;
    }

    nav {
        margin-top: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .image_presentation {
        padding: 60px 20px;
    }

    .image_presentation h1 {
        font-size: 2rem;
    }

    .image_presentation h2 {
        font-size: 1.2rem;
    }

    .bulle {
        font-size: 1.2rem;
        padding: 10px 20px;
		
    }

    .bulle_page {
        width: 100%;
    }

    .bloc {
        padding: 15px;
    }

    .mecontacter {
        flex-direction: column;
        width: 90%;
    }
	
	.liens {
        flex-direction: column;
        gap: 10px;
    }
}
