/* ================= RESET ================= */

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

/* ================= BODY ================= */

body {
  font-family: 'Inter', sans-serif;
  background: #F4EFEA;
  color: #1B1B1B;
  line-height: 1.6;
  overflow-x: hidden;

  display: flex;
  flex-direction: column;
  min-height: 100vh;

  padding-top: 84px;
}

/* ================= HEADER ================= */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(20px);
  color: white;
  position: relative;
}

.logo img {
  height: 48px;
}

/* ===== DESKTOP MENU ===== */

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.btn-nav {
  background: #B96C4A;
  padding: 8px 18px;
  border-radius: 30px;
}

/* ===== BURGER ===== */

.menu-toggle {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 2px;
  background: white;
  transition: 0.3s ease;
}

/* ================= HERO ================= */

.hero {
  height: 85vh;
  background: url("chien-maitre.jpg") center 35% no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 1100px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 30px;
  font-weight: 600;
}

.hero-subtitle {
  display: block;
  font-weight: 400;
  margin-top: 10px;
}

.hero-overlay p {
  margin-bottom: 60px;
}

.btn-primary {
  background: #B96C4A;
  color: white;
  padding: 14px 35px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
}

/* ================= CAROUSEL ================= */

.carousel-section {
  padding: 180px 0 140px;
}

.carousel-section h2 {
  text-align: center;
  margin-bottom: 100px;
  font-size: 36px;
}

.carousel-wrapper {
  width: 80%;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  padding: 0 80px;
  scroll-behavior: smooth;
}

.carousel::-webkit-scrollbar {
  display: none;
}

/* ===== CARDS ===== */

.card {
  width: 360px;
  height: 300px;
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.card h3 {
  text-align: center;
  margin-bottom: 12px;
  font-size: 17px;
}

.card > *:not(h3):not(.card-btn) {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card ul {
  list-style-position: inside;
  padding-left: 0;
}

.card.highlight {
  background: #1B1B1B;
  color: white;
}

.card-btn {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

/* ===== FADE ===== */

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 60px;
  pointer-events: none;
  z-index: 10;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #F4EFEA, transparent);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #F4EFEA, transparent);
}

/* ================= CHAT SECTION ================= */

.chat-section {
  height: 90vh;
  background: url("chat-proprietaire.jpg") center 50% no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chat-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.chat-content {
  position: relative;
  z-index: 2;
  width: 75%;
  display: flex;
  gap: 60px;
}

.chat-card {
  width: 50%;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(15px);
  padding: 60px;
  border-radius: 30px;
  color: white;
}

/* ================= SEO ================= */

.seo-section {
  padding: 160px 0;
  background: white;
}

.seo-container {
  width: 75%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* ================= COMING ================= */

.coming {
  padding: 120px 20px;
  text-align: center;
}

/* ================= FOOTER ================= */

.site-footer {
  background: #1B1B1B;
  color: rgba(255,255,255,0.7);
  padding: 40px 20px;
  margin-top: auto;
}

.footer-container {
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
}

.site-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.heart {
  color: #E63946;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

	.card {
    width: 260px;
    height: auto;
    padding: 20px;
  }

  .carousel {
    gap: 20px;
  }


  .nav {
    padding: 15px 20px;
  }

  .menu {
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 40px 0;
    transform: translateY(-120%);
    transition: 0.4s ease;
  }

  .burger {
    display: flex;
  }

  .menu-toggle:checked ~ .menu {
    transform: translateY(0);
  }

  .menu-toggle:checked + .burger span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  .menu-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .burger span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  .hero {
    height: auto;
    padding: 120px 20px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .carousel-wrapper {
    width: 95%;
  }

  .carousel {
    padding: 0 30px;
  }

  .card {
    width: 280px;
    height: 260px;
  }

  .chat-section {
    height: auto;
    padding: 120px 20px;
  }

  .chat-content {
    flex-direction: column;
    width: 90%;
    gap: 30px;
  }

  .chat-card {
    width: 100%;
  }

  .seo-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}