* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

/* ================= HEADER ================= */

header {
  position: fixed;
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.85);
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.logo {
  color: #8B1E1E;
  font-size: 22px;
  font-weight: bold;
}

/* ================= LOGO IMAGE ================= */

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 140px;      /* ajuste la taille ici */
  height: 70px;
  object-fit: contain;
  transition: 0.3s ease;
}

/* effet hover propre (optionnel mais stylé) */
.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(139, 30, 30, 0.4));
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  color: #333;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

/* hover WOW marron */
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8B1E1E, transparent);
  transition: 0.4s;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #8B1E1E;
  text-shadow: 0 0 8px rgba(139,30,30,0.4);
}

nav a.active {
  color: #8B1E1E;
  text-shadow: 0 0 10px rgba(139,30,30,0.6);
}

nav a.active::after {
  width: 100%;
  box-shadow: 0 0 10px #8B1E1E;
}

/* burger */
.burger {
  display: none;
  color: #8B1E1E;
  font-size: 25px;
}

/* ================= HERO ================= */

.hero {
  height: 100vh;
  background: url("agence.jpg") center/cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
}

.content {
  position: relative;
  max-width: 700px;
}

.content h1 {
  font-size: 50px;
}

.content button {
  margin-top: 20px;
  padding: 12px 30px;
  background: #8B1E1E;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  color: white;
  transition: 0.3s;
}

.content button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(139,30,30,0.5);
}

/* ================= H2 LUMINEUX ================= */

h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
  color: #8B1E1E;
}

h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8B1E1E, transparent);
  box-shadow: 0 0 15px #8B1E1E;
  animation: lineGlow 2s infinite ease-in-out;
}

@keyframes lineGlow {
  0% { width: 0%; opacity: 0; }
  50% { width: 80%; opacity: 1; }
  100% { width: 0%; opacity: 0; }
}

/* ================= SECTIONS ================= */

section {
  padding: 100px 20px;
  text-align: center;
  color: #333;
  background: #ffffff;
}

/* différenciation propre */
.story {
  background: #ffffff;
}

.stats {
  background: #f8f8f8;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.values {
  background: #ffffff;
}

.team {
  background: #f5f5f5;
}

/* stats */
.stats .box h3 {
  font-size: 40px;
  color: #8B1E1E;
}

/* ================= GRID ================= */

.grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

/* ================= CARDS ================= */

.card {
  background: #ffffff;
  padding: 25px;
  border-radius: 15px;
  transition: 0.3s;
  border: 1px solid #eee;
}

/* effet WAOUH */
.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(139,30,30,0.2);
}

/* images team */
.card img {
  width: 100%;
  border-radius: 12px;
}

/* ================= CTA ================= */

.cta {
  background: #ffffff;
}

.cta a.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(45deg,#8B1E1E,#A52A2A);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 0 15px rgba(139,30,30,0.3);
}

.cta a.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #8B1E1E;
}

.cta {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
/* ================= RESPONSIVE ================= */

@media(max-width:1280px){
  .burger{display:block;}

  nav{
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: white;
    transition: 0.3s;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  }

  nav.active{right:0;}

  nav ul{
    flex-direction: column;
    padding: 20px;
  }

  .grid{
    grid-template-columns: 1fr;
  }

  .stats{
    flex-direction: column;
  }

  .content h1{
    font-size: 32px;
  }
}

/* ================= FOOTER PREMIUM ================= */

.footer {
  background: #ffffff;
  color: #222;
  padding: 80px 20px 20px;
  position: relative;
  border-top: 1px solid rgba(139,30,30,0.1);
}

/* container bien centré */
.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* box */
.footer-box h2,
.footer-box h3 {
  position: relative;
  margin-bottom: 20px;
  color: #8B1E1E;
}

/* TRAIT ANIMÉ MARRON (after) */
.footer-box h2::after,
.footer-box h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8B1E1E, transparent);
  box-shadow: 0 0 12px rgba(139,30,30,0.6);
  animation: lineGlowBrown 2s infinite;
}

@keyframes lineGlowBrown {
  0% { width: 0; opacity: 0; }
  50% { width: 60px; opacity: 1; }
  100% { width: 0; opacity: 0; }
}

/* texte */
.footer-box p {
  opacity: 0.7;
  line-height: 1.6;
}

/* liens */
.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  color: #222;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

/* hover lien wow */
.footer-box ul li a:hover {
  color: #8B1E1E;
  text-shadow: 0 0 8px rgba(139,30,30,0.5);
}

/* socials */
.socials {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(139,30,30,0.05);
  color: #8B1E1E;
  transition: 0.3s;
}

/* hover social premium */
.socials a:hover {
  background: #8B1E1E;
  color: #fff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(139,30,30,0.4);
}

/* newsletter */
.newsletter {
  display: flex;
  margin-top: 10px;
}

.newsletter input {
  flex: 1;
  padding: 12px;
  border: 1px solid rgba(139,30,30,0.2);
  outline: none;
  border-radius: 30px 0 0 30px;
}

.newsletter input:focus {
  border-color: #8B1E1E;
  box-shadow: 0 0 8px rgba(139,30,30,0.3);
}

.newsletter button {
  padding: 12px 18px;
  border: none;
  background: #8B1E1E;
  color: white;
  cursor: pointer;
  font-weight: bold;
  border-radius: 0 30px 30px 0;
  transition: 0.3s;
}

/* hover bouton */
.newsletter button:hover {
  background: #A52A2A;
  box-shadow: 0 0 15px rgba(139,30,30,0.6);
}

/* bottom */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(139,30,30,0.2);
  opacity: 0.6;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .socials {
    justify-content: center;
  }

  .newsletter {
    flex-direction: column;
  }

  .newsletter input {
    border-radius: 30px;
    margin-bottom: 10px;
  }

  .newsletter button {
    border-radius: 30px;
  }
}

@media (max-width: 600px) {
  .footer-box .logo {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

