/* ===========================
   🌴 Hôtel Restaurant Les 2 Palmiers
   Style global du site
   =========================== */

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

body {
  font-family: 'Lato', sans-serif;
  background-color: #fdfdfd;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* --- Liens et titres --- */
a {
  color: #2a7b62;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #145c49;
}

h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: #2a7b62;
}
h1{
  font-family: 'Playfair Display', serif;
  color: #fff;
}
/* ===============================
   HEADER
   =============================== */

.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 999;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.main-header.scrolled {
  background: rgba(255,255,255,1);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
}

/* --- LOGO --- */
.logo-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(42,123,98,0.3);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #ffffff 40%, #d3f0e6 100%);
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-circle:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 25px rgba(42,123,98,0.5);
}

/* ===============================
   HERO LOGO STATIQUE (ÉLÉGANT)
   =============================== */
.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #ffffff 45%, #e6f7f0 100%);
  box-shadow:
    0 4px 10px rgba(42, 123, 98, 0.25),
    inset 0 0 10px rgba(255, 255, 255, 0.6);
  border: 3px solid rgba(42, 123, 98, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.05);
  box-shadow:
    0 6px 18px rgba(42, 123, 98, 0.35),
    inset 0 0 12px rgba(255, 255, 255, 0.6);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


.animated-frame-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  background: none;
  overflow: hidden;
}

.image-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 500px;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Image totalement invisible (fond neutre) */
.image-blur {
  opacity: 0;
  visibility: hidden;
}

/* Image nette – masquée sauf sous le cercle déformant */
.image-sharp {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  mask-image: radial-gradient(circle 0px at 50% 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle 0px at 50% 50%, transparent 100%);
  transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
}

/* Le “cadre” invisible servant uniquement de référence */
.moving-frame {
  position: absolute;
  width: 320px;
  height: 260px;
  background: none;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 0 25px rgba(0, 255, 150, 0.3)); /* lueur douce verte */
  clip-path: polygon(
    50% 0%, 80% 10%, 100% 50%, 80% 90%, 50% 100%, 20% 90%, 0% 50%, 20% 10%
  );
  transition: clip-path 1s ease-in-out, top 4s ease-in-out, left 4s ease-in-out;
}


/* --- NAVIGATION --- */
.navbar ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
}

.navbar a {
  color: #2a7b62;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.navbar a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #2a7b62;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

/* --- LANG SWITCH --- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.lang-switch a {
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.lang-switch a.active,
.lang-switch a:hover {
  opacity: 1;
}

/* --- MENU MOBILE --- */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.6rem;
  color: #2a7b62;
}

/* --- RESPONSIVE --- */
@media (max-width: 850px) {
  .navbar {
    position: absolute;
    top: 80px;
    right: 0;
    background: #fff;
    width: 100%;
    text-align: center;
    display: none;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .navbar.active {
    display: flex;
    animation: fadeInDown 0.4s ease;
  }

  .navbar ul {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-toggle {
    display: block;
  }
}
/* ===============================
   ANIMATION LOGO PENDULAIRE
   =============================== */

@keyframes swingLogo {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(90deg); }
  40%  { transform: rotate(0deg); }
  60%  { transform: rotate(-90deg); }
  80%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.logo-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle, #ffffff 40%, #d3f0e6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(42,123,98,0.3);
  border: 3px solid rgba(42,123,98,0.2);
  animation: swingLogo 8s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(42,123,98,0.5);
}

/* ===============================
   FOOTER ÉLÉGANT
=============================== */
.main-footer {
  background: linear-gradient(135deg, #1b3a34, #12302a);
  color: #e8fff3;
  padding: 60px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: start;
  width: 90%;
  margin: auto;
}

/* Newsletter */
.footer-newsletter h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.newsletter-form input {
  padding: 10px 15px;
  width: 100%;
  max-width: 280px;
  border-radius: 25px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: background 0.3s;
}

.newsletter-form input::placeholder {
  color: #d4f5e3;
}

.newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.25);
}

.newsletter-form button {
  background: #2a7b62;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.newsletter-form button:hover {
  background: #35a47e;
  transform: translateY(-2px);
}

/* Socials */
.footer-socials h3 {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.social-icons a {
  color: #e8fff3;
  font-size: 1.5rem;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  color: #2bc48a;
  transform: scale(1.2);
}

/* Infos */
.footer-info h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.footer-info p {
  margin: 5px 0;
  line-height: 1.6;
  color: #c7f1dd;
}

.footer-info a {
  color: #91ffd2;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

/* Ligne */
.footer-divider {
  width: 80%;
  margin: 30px auto 15px;
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* Copyright */
.footer-copy {
  font-size: 0.9rem;
  color: #cceedd;
}

/* Bouton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2a7b62;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  display: flex;
  opacity: 1;
}

.back-to-top:hover {
  background: #35a47e;
  transform: translateY(-4px);
}

.back-to-top i {
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.footer-logo img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 12px rgba(43, 196, 138, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.footer-logo img:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 18px rgba(43, 196, 138, 0.6);
}
/* --- Icône animée --- */
.back-to-top i {
  animation: floatUpDown 2s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ===========================
   UTILITAIRES
   =========================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 4rem 0;
}

button {
  font-family: inherit;
}

/* --- Animation de fade-in --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.newsletter-message {
  background: #f6eee3;
  color: #2a7b62;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  border-bottom: 2px solid #2a7b62;
  animation: fadeInUp 0.5s ease forwards;
}





/* ===========================
   PAGE D’ACCUEIL
   =========================== */

/* --- HERO --- */
.hero {
  background: url('../img/header/hero.jpeg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: #2a7b62;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #0d8464;
  transform: scale(1.05);
}

/* --- About Section --- */
.about {
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  margin-bottom: 1.5rem;
  color: #555;
}

.btn-secondary {
  background: #f6eee3;
  color: #2a7b62;
  border-radius: 30px;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #fff;
  transform: scale(1.05);
}

/* --- Features --- */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 0;
}

.feature-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-text {
  padding: 1.5rem;
}

.feature-text h3 {
  color: #2a7b62;
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: #555;
  margin-bottom: 1rem;
}

/* ===========================
   SECTION CONTACT (Accueil)
=========================== */
.home-contact {
  background: linear-gradient(135deg, #f8fffc 0%, #e8f6f1 100%);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-details {
  padding: 20px;
}

.contact-details h2 {
  font-size: 2rem;
  color: #2a7b62;
  margin-bottom: 20px;
  position: relative;
}

.contact-details h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #2a7b62;
  margin-top: 8px;
  border-radius: 2px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 15px 0;
  color: #333;
}

.contact-item i {
  font-size: 1.3rem;
  color: #2a7b62;
  transition: transform 0.3s ease;
}

.contact-item:hover i {
  transform: scale(1.2);
}

.contact-item a {
  color: #2a7b62;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-btn {
  display: inline-block;
  background-color: #2a7b62;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  margin-top: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
}

.contact-btn:hover {
  background-color: #1a8756;
  transform: translateY(-3px);
}

.contact-map {
  width: 100%;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-map {
    height: 300px;
  }
}




/* ================================
   HERO CONTACT
================================ */
.hero-contact {
  position: relative;
  height: 45vh;
  background: url('../img/header/contact-hero.jpeg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-contact .hero-overlay {
  background: rgba(0, 0, 0, 0.45);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-contact h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

/* ================================
   SECTION CONTACT
================================ */
.contact-section {
  padding: 80px 0;
  background-color: #f8fffc;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: stretch;
}

/* === Colonne gauche : Infos + Carte === */
.contact-left {
  flex: 1 1 45%;
  min-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Bloc d’infos */
.contact-info {
  background: #fff;
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.contact-info a {
  color: #2a7b62;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Carte */
.contact-map {
  flex: 1;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* === Colonne droite : Formulaire === */
.contact-form {
  flex: 1 1 45%;
  background: #ffffff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  color: #2a7b62;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.contact-form-inner label {
  display: block;
  margin-top: 12px;
  font-weight: 500;
  color: #333;
}

.contact-form-inner input,
.contact-form-inner textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form-inner input:focus,
.contact-form-inner textarea:focus {
  border-color: #2a7b62;
  box-shadow: 0 0 8px rgba(42, 123, 98, 0.3);
  outline: none;
}

/* Bouton d’envoi */
.btn-submit {
  margin-top: 20px;
  background-color: #2a7b62;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
  width: 100%;
}

.btn-submit:hover {
  background-color: #21825c;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-left, .contact-form {
    flex: 1 1 100%;
  }
  .hero-contact h1 {
    font-size: 2.2rem;
  }
}


/* ===========================
   CAROUSEL MODERNE
=========================== */
.modern-carousel {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  background-color: #000;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: transform 5s ease;
}

.carousel-slide.active img {
  transform: scale(1.05); /* effet de zoom lent */
}

.carousel-caption {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 15px;
  animation: fadeUp 1s ease forwards;
}

.carousel-caption h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #e6fff3;
}

.carousel-caption p {
  font-size: 1rem;
  color: #d0f8e3;
}

/* Navigation */
.carousel-prev,
.carousel-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  color: #fff;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  user-select: none;
  transition: background 0.3s;
  z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

/* Animation apparition du texte */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, 30px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .modern-carousel {
    height: 350px;
  }

  .carousel-caption {
    width: 90%;
    bottom: 30px;
    padding: 15px;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }
}

/* ===============================
   HERO A PROPOS
=============================== */
.hero-about {
  position: relative;
  background: url('../img/header/accueil.jpeg') center/cover no-repeat;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-about .hero-overlay {
  background: rgba(0, 0, 0, 0.45);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-about h1 {
  color: #fff;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

/* ===============================
   SECTION GÉNÉRALE
=============================== */
.section {
  padding: 70px 20px;
}

.section h2 {
  text-align: center;
  color: #2a7b62;
  font-size: 2rem;
  margin-bottom: 25px;
}

.section p {
  max-width: 900px;
  margin: 0 auto 15px;
  line-height: 1.7;
  color: #333;
  text-align: justify;
}

/* ===============================
   GALERIE D'IMAGES (taille uniforme)
=============================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 220px; /* ✅ Hauteur fixe pour uniformiser toutes les images */
  object-fit: cover; /* ✅ Recadre élégamment sans déformer */
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


/* ===============================
   FONDATEURS
=============================== */
.founders-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.founder {
  text-align: center;
  max-width: 380px;
}

.founder-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2a7b62;
  box-shadow: 0 0 15px rgba(42, 123, 98, 0.4);
  margin-bottom: 15px;
  transition: transform 0.5s ease;
}

.founder-photo:hover {
  transform: rotate(3deg) scale(1.05);
}

/* ===============================
   ENGAGEMENT
=============================== */
.about-quality {
  background-color: #f8fffc;
  border-top: 1px solid #e1eee9;
  border-bottom: 1px solid #e1eee9;
}

/* ===============================
   HERO ACTUALITÉS
=============================== */
.hero-actualites {
  background: url('assets/img/header/accueil.jpeg') center/cover no-repeat;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-actualites .hero-overlay {
  background: rgba(0, 0, 0, 0.55);
  width: 100%;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-actualites h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-actualites p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===============================
   SECTION ACTUALITÉS
=============================== */
.actualites-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.actualites-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2a7b62;
}

/* Grille d'actualités */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  color: #2a7b62;
  margin-bottom: 10px;
}

.news-content p {
  color: #555;
  font-size: 0.95rem;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #2a7b62;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.read-more:hover {
  color: #1f5a47;
}

/* Si aucune actualité */
.no-news {
  text-align: center;
  color: #777;
  margin-top: 30px;
}
