* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #ffffff;
  color: #222;
}

/* ================= HEADER ================= */
html, body {
  width: 100%;
  overflow-x: hidden;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(15px);
  background: rgba(255,255,255,0.95);
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: #8B1E1E;
}

.logo img {
  height: 55px;   /* ajuste si besoin */
  width: auto;
  object-fit: contain;
  height: 80px;
}
nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav a {
  color: #333;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

nav a:hover,
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: 0%;
  height: 2px;
  background: #8B1E1E;
  animation: activeLine 0.6s forwards;
}

@keyframes activeLine {
  to {
    width: 100%;
  }
}

/* BURGER */
.burger {
  display: none;
  font-size: 26px;
  color: #8B1E1E;
  cursor: pointer;
}

/* ================= HERO ================= */

.hero {
  padding-top: 120px;
  padding-bottom: 60px;
  text-align: center;
  background: #fff;
}

.hero h1 {
  font-size: 42px;
  color: #8B1E1E;
}


.hero .content h1 {
  position: relative;
  display: inline-block;
  font-size: 60px;
  font-weight: 800;
  letter-spacing: 1px;

  /* garde TA couleur actuelle (marron) */
  
  opacity: 0;
  transform: translateY(25px);
  animation: h1Show 1s ease forwards;
}

/* apparition */
@keyframes h1Show {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* effet lumière subtile (sans changer la couleur du texte) */
.hero .content h1::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -60%; }
  100% { left: 120%; }
}

.hero p {
  margin-top: 10px;
  opacity: 0.7;
}

/* ================= CONTACT FORM ================= */

.contact {
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  color: #8B1E1E;
  margin-bottom: 10px;
}

.contact h2 {
  position: relative;
  display: inline-block;
  color: #8B1E1E;
}

/* AFTER animé identique aux autres pages */
.contact h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, transparent, #8B1E1E, transparent);
  animation: contactLine 2s infinite;
}

/* animation */
@keyframes contactLine {
  0% { width: 0; opacity: 0; }
  50% { width: 80px; opacity: 1; }
  100% { width: 0; opacity: 0; }
}

.contact .desc {
  margin-bottom: 40px;
  opacity: 0.7;
}

/* FORM */
.contact form {
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact form button {
  padding: 10px 18px; /* diminue ici (avant 35px ou +) */
}
/* ROW INPUTS */
.contact .row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.contact form button {
  width: fit-content;
  margin: auto;
}

.contact .row input {
  flex: 1;
  min-width: 240px;
}

/* INPUTS */
.contact input,
.contact select,
.contact textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.contact textarea {
  min-height: 140px;
  resize: none;
}

/* FOCUS */
.contact input:focus,
.contact select:focus,
.contact textarea:focus {
  border-color: #8B1E1E;
  box-shadow: 0 0 0 3px rgba(139,30,30,0.1);
}

/* BUTTON */
.contact button {
  background: #8B1E1E;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.contact button:hover {
  background: #A52A2A;
  transform: translateY(-3px);
}

/* ================= MAP ================= */

.map {
  margin-top: 60px;
}

.map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 15px;
}

.map-section {
  padding: 80px 20px;
  text-align: center;
  background: #fff;
}

.map-section h2 {
  color: #8B1E1E;
  font-size: 26px;
  margin-bottom: 10px;
}

.map-section p {
  opacity: 0.7;
  margin-bottom: 30px;
}

.map {
  max-width: 750px;
  margin: auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

@media (max-width: 768px) {
  .map iframe {
    height: 260px;
  }
}

/* ================= 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: 600px) {
  .footer-box .logo {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

