:root {
    --primary-color: #8fb3c2;
    --bg-gray: #e0e0e0;
    --text-color: #555;
    --white: #ffffff;
    --nav-bg: #f4f4f4;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Helvetica', sans-serif;
scroll-behavior: smooth; }
body { margin: 0 auto; overflow-x: hidden; background-color: var(--white); }

/* --- Navbar & Header --- */
.navbar {
    position: sticky; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 15px 10%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); 
    background-color: white;
} 
.logo { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 20px;
     color: var(--primary-color); }
     .logo-link {
    text-decoration: none; 
    color: inherit;        
    display: flex;         
    align-items: center;  
}
.logo img { height: 30px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: #666; font-size: 14px; letter-spacing: 1px; font-weight: 500; }
.btn-contact { 
    background-color: var(--primary-color); 
    color: var(--white); 
    border: none; 
    padding: 10px 30px; 
    font-weight: bold; 
    cursor: pointer; 
    text-transform: uppercase;
    text-decoration: none; 
    display: inline-block; 
}

.btn-contact:hover {
    opacity: 0.9;
}

.hero-container { position: relative; width: 100%; height: 100vh; overflow: hidden; }
/* --- Slider --- */
.slider {
    position: absolute;
    top: 0; left: 0; 
    width: 600%; 
    height: 100vh;
    display: flex; 
    transition: transform 0.8s ease-in-out; 
    z-index: 1;
}

.slide {
    width: 16.66%; 
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-1 { background-image: url('../images/slide1.jpeg'); }
.slide-2 { background-image: url('../images/slide2.jpeg'); }
.slide-3 { background-image: url('../images/slide3.jpeg'); }
.slide-4 { background-image: url('../images/slide4.jpeg'); }
.slide-5 { background-image: url('../images/slide5.jpeg'); }
.hero-content { position: relative; z-index: 5; height: 80vh; display: flex; flex-direction: column;
     justify-content: center; align-items: center; color: var(--white); text-align: center; 
    gap: 20px;
padding: 0 20px;
}
.hero-content p { font-size: 1.2rem;
line-height: 1.6;
;}
.hero-content h3 { font-size: 2.5rem;}
.hero-buttons {
    display: flex;
    gap: 15px; 
    margin-top: 10px; 
}

.btn-main, a.btn-main { 
    background: var(--primary-color); 
    border: none;
    padding: 15px 30px; 
    color: var(--white); 
    cursor: pointer; 
    text-decoration: none; 
    display: inline-block; 
}

.btn-ghost, a.btn-ghost { 
    background: transparent; 
    border: 1px solid var(--white); 
    padding: 15px 30px;
    color: var(--white); 
    cursor: pointer; 
    text-decoration: none; 
    display: inline-block;
}

/* --- Sections --- */
.territoire-section { display: flex; padding: 100px 10%; gap: 80px; align-items: center;
     background: var(--white); }
.territoire-content { flex: 1; }
.subtitle { color: var(--primary-color); font-size: 14px; letter-spacing: 1px; margin-bottom: 10px; }
.title { font-size: 32px; margin-bottom: 20px; }
.underline { width: 50px; height: 3px; background: var(--primary-color); margin-bottom: 20px; }
.video-placeholder {
    width: 100%;
    max-width: 600px;
    height: 350px;
    background-color: #a0a0a0;
    border-radius: 12px;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
}


.video-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Cartes --- */
.cards-section { padding: 80px 10%; background-color: var(--bg-gray); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.divider { height: 1px; background: var(--primary-color); margin-bottom: 40px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; } 

.card { 
    background: var(--white); 
    border-radius: 15px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    min-height: 480px; 
}

.card-img { 
    height: 260px; 
    background-size: cover; 
    width: 100%; 
    background-position: center;
}

.card-content { 
    padding: 30px; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    gap: 15px; 
}


.img-lieux-1 { background-image: url('../images/tourettaxis.jpeg'); }
.img-lieux-2 { background-image: url('../images/pompidou.jpeg'); }
.img-lieux-3 { background-image: url('../images/parc.jpeg'); }

.img-resto-1 { background-image: url('../images/kanal.jpeg'); }
.img-resto-2 { background-image: url('../images/combo.jpeg'); }
.img-resto-3 { background-image: url('../images/slide2.jpeg'); }

.img-bar-1 { background-image: url('../images/beerco.jpeg'); }
.img-bar-2 { background-image: url('../images/bardumarche.jpeg'); }
.img-bar-3 { background-image: url('../images/halles.jpeg'); }


.info-row { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 5px; 
    font-size: 0.95em; 
    color: var(--text-color); 
}

.address { 
    font-size: 0.9em; 
    margin: 5px 0 15px 0; 
    color: #555; 
}

.info-row { display: flex; justify-content: space-between; margin-top: 10px;
     font-size: 0.9em; color: var(--text-color); }
.address { font-size: 0.8em; margin: 10px 0; color: #555; }

/* --- Newsletter --- */
.newsletter-section { padding: 80px 10%; display: flex; justify-content: center;
     background-color: var(--white); }
.newsletter-box { border: 1px solid var(--primary-color); padding: 60px; 
    width: 100%; max-width: 800px; text-align: center; }
.newsletter-box h3 { color: var(--primary-color); margin-bottom: 15px; }
.form-group { display: flex; justify-content: center; gap: 10px;
     margin-top: 20px; }
.form-group input { padding: 15px; width: 300px; border: 1px solid #ccc;
     background: #eee; }
.btn-subscribe { padding: 15px 30px; background: var(--primary-color);
    border: none; color: var(--white); cursor: pointer; }

/* --- Footer --- */
.footer { padding: 80px 10%; background-color: #ddd; color: var(--text-color); font-size: 0.9em; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { color: var(--primary-color); margin-bottom: 15px; }
.footer-links h4 { margin-bottom: 15px; font-size: 1em; }
.footer-links a { display: block; color: var(--text-color); text-decoration: none; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between;
     border-top: 1px solid #ccc; padding-top: 20px; font-size: 0.8em;
      text-transform: uppercase; }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2; 
    pointer-events: none; 
}

/* --- card-hover --- */

.card {
  position: relative; 
  transition: transform 0.3s ease-out; 
  cursor: pointer;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}


.card:hover {
  transform: scale(1.03); 
  box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
}


.card-img {
  position: relative;
  height: 260px;
  background-size: cover;
  width: 100%;
  background-position: center;
}

.card-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); 
  opacity: 0; 
  transition: opacity 0.3s ease;
}


.card:hover .card-img::after {
  opacity: 1;
}


.card-img::after {

  content: "VOIR PLUS";
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}