/* Palette fidèle à ta carte de visite :
   - fond site : #F7F1E8 /* arrière plan général*/
   - fond des cartes/encadrés : #FAF6EF /* cartes, blocs, sections */
   - fond header : #D9C39A 
   - fond des boutons normaux: #FAF6DD /* menu */
   - fond des boutons hover : #F1E4D0 /* survol du menu */
   - fond du bouton actifs : #624337 /* lien actif du menu */
   - texte des boutons : #528F74 /* texte du menu */
   - bordures : #C8B39A /* encadrés, séparateurs */
   - header crème foncé : #E8DCC8
   - Brun chaud texte header: #8B5E3C
   - Vert foncé texte bouton: #528F74
*/

/* GLOBAL */
html {
  background-color: #FFF7E6;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #FFF5DD;
  background-size: 600px;
  background-repeat: repeat;
  color: #3F5F4A;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* HEADER */
header {
  background-color: #D9C39A;
  border-bottom: 1px solid #C8B39A;
  padding: 0 2rem;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.logo-img {
  height: 100%;
  max-height: 180px;
  width: auto;
}

.logo-text h1 {
  font-size: 4rem;
  font-family: 'Dancing Script', cursive;
  color: #8B5E3C;
  margin: 0;
  line-height: 1.1;
}

.logo-text p {
  font-size: 1.5rem;
  color: #8B5E3C;
  margin: 0;
  line-height: 1.2;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  background-color: #FAF6DD;
  color: #528F74;
  font-size: 1.15rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
  font-weight: 500;
}

nav a:hover {
  background-color: #F1E4D0;
  color: #528F74;
}

nav a.active {
  background-color: #624337;
  color: #FAF6DD;
}

/* MAIN */
main {
  padding: 2rem 1.5rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* HERO */
.hero {
  background-color: #FFF9E8;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #C8B39A;
}

.hero h2 {
  font-size: 1.8rem;
  color: #6B5A4D;
  margin-bottom: 0.8rem;
}

.hero p {
  margin-bottom: 1.2rem;
}
.cta-text{
margin-top:10px;
font-size:15px;
color:#6B5A4D;
}

/* BUTTON */
.btn-primary {
  display: inline-block;
  background-color: #A7B8A1;
  color: #FAF6DD;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-primary:hover {
  background-color: #6B5A4D;
  transform: translateY(-1px);
}

/* INTRO */
.intro {
  margin-bottom: 2rem;
}

.intro h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #6B5A4D;
}

/* HIGHLIGHTS */
.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card {
  background-color: #FFF9E8;
  border-radius: 0.8rem;
  padding: 1.2rem;
  border: 1px solid #C8B39A;
}

.card h4 {
  margin-bottom: 0.4rem;
  color: #6B5A4D;
}

/* INTERNAL PAGES */
.page-header {
  margin-bottom: 1.5rem;
}

.page-header h2 {
  font-size: 1.6rem;
  color: #6B5A4D;
  margin-bottom: 0.3rem;
}

.page-header p {
  color: #6B5A4D;
}

.content h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.7rem;
  color: #6B5A4D;
}

.content p {
  margin-bottom: 0.8rem;
}
.profil{
text-align:center;
margin:20px 0;
}

.profil img{
width:220px;
border-radius:12px;
}

.legende{
font-size:14px;
color:#666;
}

/* SERVICES */
.service-block {
  background-color: #FFF9E8;
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid #C8B39A;
}

.service-block h4 {
  margin-bottom: 0.4rem;
  color: #6B5A4D;
}

.service-block ul {
  list-style: disc;
  margin-left: 1.2rem;
}

/* TARIFS */
.note-tarifs {
  font-style: italic;
  margin-bottom: 0.8rem;
}

.tarifs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #FFF9E8;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid #C8B39A;
}

.tarifs-table th,
.tarifs-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #F1E4D0;
}

.tarifs-table th {
  background-color: #EBD3A4;
  text-align: left;
  color: #6B5A4D;
}

.tarifs-table tr:last-child td {
  border-bottom: none;
}

/* CONTACT */
.email-highlight {
  margin: 0.5rem 0 1.5rem;
  color: #5E8A6E;
}

.phone-highlight {
  margin: 0.5rem 0 1.5rem;
  font-size: 1rem;
  color: #5E8A6E;
  font-weight: 500;
}

.phone-highlight a {
  color: #5E8A6E;
  text-decoration: none;
}

.phone-highlight a:hover {
  text-decoration: underline;
}

.email-highlight a {
  color: #5E8A6E;
  text-decoration: none;
  font-weight: 500;
}

.email-highlight a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.contact-form label {
  font-size: 0.9rem;
  color: #6B5A4D;
}

.contact-form input,
.contact-form textarea {
  padding: 0.6rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid #C8B39A;
  font: inherit;
  background-color: #FFFFFF;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #A7B8A1;
  background-color: #FAF6DD;
  border-color: transparent;
}

.zone {
  font-size: 0.95rem;
}

/* GALERIE */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.gallery-img {
    width: 100%;
    height: 260px;
    border-radius: 0.8rem;
    border: 1px solid #C8B39A;
    background-color: #FFF9E8;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    cursor:pointer;
    transition: transform 0.4s ease;
}

.animal-name{
    text-align:center;
    margin-top:6px;
    font-size:0.9rem;
    color:#6B5A4D;
}

.gallery-item{
    border-radius:0.8rem;
}

.image-container{
    position:relative;
    overflow:hidden;
    border-radius:0.8rem;
    line-height:0;
}

.animal-overlay{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);

    color:white;
    font-size:1.3rem;
    font-weight:700;
    letter-spacing:0.5px;
    text-align:center;
    white-space: nowrap;

    opacity:0;
    transition:opacity 0.3s ease;

/* halo beaucoup plus fort */
    text-shadow:
0 0 14px rgba(0,0,0,1),
0 0 28px rgba(0,0,0,0.95),
0 0 40px rgba(0,0,0,0.9),
3px 3px 12px rgba(0,0,0,0.9);

    pointer-events:none;
}

.image-container:hover .animal-overlay{
    opacity:1;
}

.image-container:hover .gallery-img{
    transform:scale(1.08);
}


/* LIGHTBOX */

.lightbox{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.8);
    justify-content:center;
    align-items:center;
    z-index:1000;
}

.lightbox-img{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,0.4);
}

.lightbox-close{
    position:absolute;
    top:30px;
    right:40px;
    font-size:40px;
    color:white;
    cursor:pointer;
}
.lightbox-prev,
.lightbox-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:40px;
    color:white;
    cursor:pointer;
    padding:10px;
    user-select:none;
}

.lightbox-prev{
    left:30px;
}

.lightbox-next{
    right:30px;
}

/* FOOTER */
footer {
  border-top: 1px solid #C8B39A;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #6B5A4D;
  background-color: #FFF9E8;
}

/* DECORATIONS */
.decor-left {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

.decor-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 220px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

.header-decor {
  width: 150px;
  opacity: 0.50;
  pointer-events: none;
  margin: 0 1.5rem;
}

.phone-highlight * {
  color: #5E8A6E !important;
}

/* --- VERSION MOBILE FINALE --- */
@media (max-width: 768px) {

    .decor-left,
    .decor-right {
        display: none;
    }
.gallery {
    grid-template-columns: repeat(2, 1fr);
}
.gallery-img {
    height: 220px;
}

/* ===== HEADER MOBILE STRUCTURE ===== */

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 1.5rem 1rem;
    text-align: center;
    gap: 0.6rem;
    width: 100%;
    max-width:100%;
    border-radius: 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.logo-img {
    max-height: 120px;
}

.logo-text h1 {
    font-size: 2.8rem;
}

.logo-text p {
    font-size: 1.2rem;
}

.header-decor {
    width: 110px;
    margin: 0.3rem 0;
}

main{
    padding:1.5rem 1rem 2rem;
}
/* ===== MENU EN DESSOUS HORIZONTAL ===== */

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

nav a {
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
}
    .highlights {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .card {
        width: 100%;
    }

.gallery{
    grid-template-columns: 1fr;
}

}

*{
    box-sizing:border-box;
}

body{
    overflow-x:hidden;
}

img{
    max-width:100%;
    height:auto;
}

.fade-in{
    opacity:0;
    transform:translateY(25px);
    transition:opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible{
    opacity:1;
    transform:translateY(0);
}
