/* === VARIABLES & RESET === */
:root {
  --main-red: #e74c3c;
  --dark-red: #c0392b;
  --green: #47b74c;
  --green-dark: #2ecc71;
  --bg-light: #f7f7f7;
  --bg-news: #f9f9f9;
  --text-dark: #333;
  --text-light: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #fff;
  color: var(--text-dark);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

/* === HEADER === */
header {
  background: #000;
  color: var(--text-light);
  text-align: center;
  padding: 50px 20px;
}

header h1 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

header .cta {
  background: var(--main-red);
  color: var(--text-light);
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}

header .cta:hover {
  background: var(--dark-red);
}

/* === BOUTONS GÉNÉRIQUES === */
.btn,
header .cta,
.cta-center a,
form .btn-primary,
.install-btn {
  background: var(--main-red);
  color: var(--text-light);
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover,
header .cta:hover,
.cta-center a:hover,
form .btn-primary:hover,
.install-btn:hover {
  background: var(--dark-red);
}

/* === NAVIGATION === */
nav {
  background: #222;
  text-align: center;
  padding: 12px 0;
}

nav a {
  color: var(--text-light);
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: var(--main-red);
}

/* === SECTIONS === */
section {
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--main-red);
  font-size: 1.8em;
}

.event-date,
.event-places {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* === FEATURES === */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.feature {
  flex: 1 1 250px;
  background: var(--bg-light);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature h3 {
  margin-top: 10px;
  font-size: 1.3em;
}

/* === CTA CENTER === */
.cta-center {
  text-align: center;
  margin-top: 30px;
}

/* === NEWS GRID === */
.news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.news article {
  background: var(--bg-news);
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;
}

.news article:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news article h3 {
  margin-top: 0;
  color: var(--main-red);
  font-size: 1.2em;
}

.news article small {
  display: block;
  margin-bottom: 10px;
  color: #555;
}

/* === TESTIMONIALS === */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.testimonial,
blockquote {
  background: #fff3f0;
  padding: 20px;
  border-radius: 10px;
  font-style: italic;
  border-left: 4px solid var(--main-red);
}

/* === FORMULAIRE CONTACT === */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

form input,
form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
  width: 100%;
}

form textarea {
  min-height: 120px;
}

/* === FOOTER === */
footer {
  background: #000;
  color: var(--text-light);
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}

#counter {
  margin-top: 10px;
  font-size: 1.1em;
  color: var(--main-red);
}

/* === INSTALL BUTTON (flottant bas-droite) === */
.install-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 20px;
  background: var(--main-red);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: 0.3s;
  z-index: 1000;
}

.install-btn:hover {
  background: var(--dark-red);
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.7em;
  }
  .features {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 500px) {
  .news, .testimonials {
    grid-template-columns: 1fr;
  }
}
.contact-info {
  text-align: center;
  margin-top: 15px;
  font-size: 1.1em;
}

.contact-info a {
  color: var(--main-red);
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}
.contact-info {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 1.1em;
  width: 100%; /* Force la largeur totale */
}

.contact-info a {
  color: var(--main-red);
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}
.contact-info {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 1.1em;
  width: 100%;
}

.contact-info a {
  display: inline-block;
  color: var(--main-red);
  text-decoration: none;
  font-weight: bold;
  margin: 0 5px;
}

.contact-info a:hover {
  text-decoration: underline;
}
.contact-info {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 1.1em;
  width: 100%;
}

.contact-info a {
  color: #e74c3c !important; /* force la couleur */
  text-decoration: none !important; /* enlève soulignement */
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}
/* === ACTUALITÉS CENTRÉES === */
.news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px; /* largeur max */
  margin: 30px auto; /* centre horizontalement */
  justify-content: center; /* force le centrage */
}

.news article {
  background: var(--bg-news);
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;
}

.news article:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
