*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Segoe UI",sans-serif;
}

/* ================= HEADER IDENTIQUE PAGE 2 ================= */

header{
  position:fixed;
  width:100%;
  padding:15px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(15px);
  z-index:1000;
  border-bottom:1px solid #eee;
}

.logo img{
  width:140px;
  height:60px;
  object-fit:contain;
}

nav ul{
  display:flex;
  gap:30px;
  list-style:none;
}

nav a{
  text-decoration:none;
  color:#333;
  position:relative;
}

/* AFTER IDENTIQUE PAGE 2 */
nav a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-5px;
  transform:translateX(-50%);
  width:0%;
  height:2px;
  background:#8B1E1E;
  transition:0.4s;
}

nav a:hover::after{
  width:100%;
}

nav a.active{
  color:#8B1E1E;
}

nav a.active {
  color: #8B1E1E;
  position: relative;
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: #8B1E1E;
}

/* ===== AFTER WAOUH PREMIUM ===== */
nav a {
  position: relative;
}

/* ligne invisible de base */
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #8B1E1E,
    #A52A2A,
    #8B1E1E,
    transparent
  );
  border-radius: 50px;
  opacity: 0;
  transition: all 0.45s ease;
  box-shadow: 0 0 12px rgba(139, 30, 30, 0.35);
}

/* hover waouh */
nav a:hover::after {
  width: 70%;
  opacity: 1;
}

/* active waouh (page actuelle) */
nav a.active::after {
  width: 70%;
  opacity: 1;
  box-shadow: 0 0 18px rgba(139, 30, 30, 0.6);
}
.burger {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 2000;
}

.burger span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #8B1E1E;
  border-radius: 5px;
  transition: 0.4s ease;
}

/* position des 3 lignes */
.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger span:nth-child(3) {
  bottom: 0;
}

/* ===== ANIMATION CROIX ===== */
.burger.active span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  bottom: 50%;
  transform: rotate(-45deg);
}

/* ================= HERO ================= */

.hero{
  height:100vh;
  background:url("sell.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.6);
}

.content{
  position:relative;
}

.content h1{
  font-size:48px;
}

.hero-btn{
  margin-top:20px;
  padding:12px 28px;
  border:none;
  background:#8B1E1E;
  color:white;
  border-radius:30px;
  cursor:pointer;
}

/* ================= SECTIONS ================= */

.section{
  padding:100px 20px;
  text-align:center;
  background:#fff;
}

.section h2{
  margin-bottom:50px;
  position:relative;
  display:inline-block;
  color: #8B1E1E;
}

/* AFTER IDENTIQUE PAGE 2 */
.section h2::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  transform:translateX(-50%);
  width:0%;
  height:3px;
  background:#8B1E1E;
  animation:line 2s infinite;
}

@keyframes line{
  0%{width:0%}
  50%{width:80%}
  100%{width:0%}
}

/* ================= GRID ================= */

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
  max-width:1100px;
  margin:auto;
}

/* ================= CARDS WOW ================= */

.card{
  position:relative;
  height:320px;
  overflow:hidden;
  border-radius:15px;
  cursor:pointer;
}

.card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.5s;
}

.card:hover img{
  transform:scale(1.1);
}

.card .info{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  padding:20px;
  background:linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color:white;
}

/* ================= DIASPORA BACKGROUND ================= */

.alt{
  background:#f8f8f8;
} 

.info span {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(45deg, #8B1E1E, #A52A2A);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 30px;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 15px rgba(139, 30, 30, 0.25);
  margin-bottom: 10px;
  text-transform: uppercase;
  transition: 0.3s ease;
}

/* ================= SPAN RESPONSIVE FIX ================= */

.info span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* amélioration sur petits écrans */
@media (max-width: 600px){
  .info span{
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 20px;
  }
}

/* effet hover premium */
.card:hover .info span {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(139, 30, 30, 0.4);
} 

.cta-diaspora {
  text-align: center;
  margin-top: 50px;
}

.cta-diaspora h2 {
  margin-bottom: 20px;
}
.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  background: linear-gradient(45deg, #8B1E1E, #A52A2A);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 40px;
  box-shadow: 0 10px 25px rgba(139, 30, 30, 0.25);
  transition: 0.3s ease;
} 

/* ================= CTA DIASPORA FIX CENTRAGE ================= */

.cta-diaspora{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-diaspora h2{
  margin-bottom: 15px;
}

.cta-diaspora a{
  display: inline-block;
}

/* ================= FOOTER PREMIUM IDENTIQUE ================= */

.footer {
  background: #ffffff;
  color: #222;
  padding: 80px 20px 20px;
  position: relative;
  border-top: 1px solid rgba(139,30,30,0.1);
}

/* container */
.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* titres */
.footer-box h2,
.footer-box h3 {
  position: relative;
  margin-bottom: 20px;
  color: #8B1E1E;
}

/* ================= AFTER ANIMÉ IDENTIQUE PAGE 2 ================= */

.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;
  transition: 0.3s;
  position: relative;
}

/* hover liens */
.footer-box ul li a:hover {
  color: #8B1E1E;
  text-shadow: 0 0 8px rgba(139,30,30,0.5);
}

/* ================= SOCIAL ICONS ================= */

.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 WOW */
.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;
  background: #fff;
}

/* focus input */
.newsletter input:focus {
  border-color: #8B1E1E;
  box-shadow: 0 0 8px rgba(139,30,30,0.3);
}

/* bouton */
.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;
}

.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);
  }
}

@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: 1280px) {

  .burger {
    display: block;
    z-index: 2000;
  }

  nav {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 80px);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    transition: 0.4s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .footer-box .logo {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

