@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;


body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f5f5f5;
}

/* Header fixe */
header {
  background: #5d463c;
  color: #ffeeb6;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
  font-size: 18px;
  font-weight: bold;
}

nav a:hover {
  color: #ffeeb6bf;
}

/* Menu burger */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Contenu principal */
main {
  margin-top: 80px;
  min-height: calc(100vh - 160px);
  padding: 2rem;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
}

.content h1 {
  color: #5d463c;
  margin-bottom: 1rem;
}

.content p {
  color: #555;
  margin-bottom: 1rem;
}

.page-title {
  text-align: center;
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Section Hero */
.hero-section {
  background-image: url("../image/Photo_accueil.png");
  background-size: cover;
  background-position: center;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: -15px;
}

.hero-section .hero-text {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  font-family: "Dancing Script", cursive;
  font-size: 2.5rem;
  font-weight: 700;
  padding: 2rem;
  line-height: 1.4;
  text-shadow: 2px 2px 0 #5d463c, -2px -2px 0 #5d463c, 2px -2px 0 #5d463c,
    -2px 2px 0 #5d463c, 0px 2px 0 #5d463c, 2px 0px 0 #5d463c, 0px -2px 0 #5d463c,
    -2px 0px 0 #5d463c, 3px 3px 5px rgba(0, 0, 0, 0.3);
}

/* Section présentation avec téléphone */
.presentation-section {
  background: white;
  padding: 4rem 2rem;
}

.presentation-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.text-content {
  padding-right: 2rem;
}

.text-content p {
  margin-bottom: 1.5rem;
  color: #5d463c;
  text-align: justify;
  line-height: 1.8;
  font-size: 20px;
}

/* Téléphone avec carrousel */
.phone-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 340px;
  height: 680px;
  background: #ffeeb6;
  border-radius: 55px;
  padding: 40px 16px 20px 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 3px solid #5d463c;
}

/* Bouton latéral */
.phone-button {
  position: absolute;
  right: -4px;
  background: #5d463c;
  border-radius: 2px 0 0 2px;
}

.volume-up {
  top: 140px;
  width: 4px;
  height: 60px;
}

.volume-down {
  top: 220px;
  width: 4px;
  height: 60px;
}

.power-button {
  top: 180px;
  right: auto;
  left: -4px;
  width: 4px;
  height: 80px;
  border-radius: 0 2px 2px 0;
}

/* Encoche haut */
.phone-top {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 32px;
  background: #ffeeb6;
  border-radius: 0 0 20px 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.top-speaker {
  width: 60px;
  height: 5px;
  background: #6b5446;
  border-radius: 3px;
}

.top-camera {
  width: 10px;
  height: 10px;
  background: #6b5446;
  border-radius: 50%;
  border: 1px solid #6b5446;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f4e4c1;
  border-radius: 45px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.carousel-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(107, 84, 70, 0.9);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
  background: #6b5446;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 35px;
}

.carousel-next {
  right: 35px;
}

/* Section marron */
.brown-section {
  background: #5d463c;
  color: white;
  padding: 4rem 2rem;
}

.brown-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mockup-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.poster-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 500px;
}

.poster-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.poster-item {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.poster-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffeeb6;
  border: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
  color: #5d463c;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.poster-nav:hover {
  background: #ffeeb6bf;
  transform: translateY(-50%) scale(1.1);
}

.poster-prev {
  left: 3px;
}

.poster-next {
  right: 3px;
}

.brown-text {
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brown-text h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  line-height: 1.3;
  color: white;
}

.brown-text .text-marron {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 20px;
  color: white;
}

.contact-button {
  display: inline-block;
  background: #ffeeb6;
  color: #5d463c;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 20px;
}

.contact-button:hover {
  background: #ffeeb6bf;
  transform: translateY(-2px);
}

.legal-box {
  background-color: #5d463c;
  color: white;
  padding: 2.5rem;
  border-radius: 8px;
  line-height: 1.8;
}

.legal-box h2 {
  color: white;
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
}

.legal-box h2:first-of-type {
  margin-top: 0;
}

.legal-box h3 {
  color: white;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.legal-box p {
  color: white;
  margin-bottom: 1rem;
  text-align: justify;
}

.legal-box em {
  font-style: italic;
  opacity: 0.9;
}

.legal-box strong {
  font-weight: bold;
}

.update-date {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  font-size: 0.9rem;
}

/* Grille des services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 500px));
  gap: 2rem;
  margin-bottom: 3rem;
  justify-content: center;
}



/* Cartes de service */
.service-card {
  background: #5d463c;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  padding: 5px 30px 30px 30px;
  min-width: 320px;
  max-width: 500px;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.card-header {
  background: #5d463c;
  padding: 1rem 1.5rem;
  border-radius: 12px 12px 0 0;
}

.card-logo {
  color: #ffeeb6;
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  font-family: "Arial Black", sans-serif;
}

.card-logo span {
  font-family: "Brush Script MT", cursive;
  font-weight: normal;
  color: white;
}

.card-content {
  background: #ffeeb6;
  padding: 2rem;
  height: 450px;
  border-radius: 12px 12px 12px 12px;
}

.card-title {
  color: #5d463c;
  font-size: 1rem;
  font-weight: bold;
  margin: 0 0 1rem 0;
  text-align: center;
  letter-spacing: 1px;
  position: relative;
  padding: 1.5rem 1rem;
  z-index: 1;
}

.card-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 80%;
  background: radial-gradient(
      ellipse at center,
      rgba(255, 255, 255, 0.7) 0%,
      transparent 70%
    ),
    radial-gradient(
      circle at 30% 40%,
      rgba(255, 255, 255, 0.4) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(255, 255, 255, 0.5) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 50% 30%,
      rgba(255, 255, 255, 0.3) 0%,
      transparent 30%
    );
  filter: blur(2px);
  z-index: -1;
}

.card-description {
  color: #4a4a4a;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-align: justify;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-list li {
  color: #4a4a4a;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

/* Section CTA */
.cta-section {
  text-align: center;
  margin-top: 3rem;
}

.cta-text {
  color: #4a4a4a;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.cta-button {
  display: inline-block;
  background: #ffeeb6;
  color: #5d463c;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: all 0.3s;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: #ffeeb6bf;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

/* Section contact */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.contact-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.contact-form-wrapper {
  background: #5d463c;
  padding: 3rem;
  border-radius: 12px;
  color: white;
  min-width: 320px;
}

.contact-form-wrapper h1 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  text-align: center;
  color: white;
}

.cta-button-top {
  display: inline-block;
  background: #ffeeb6;
  color: #5d463c;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s;
  margin: 1.5rem auto;
  display: block;
  text-align: center;
  width: fit-content;
}

.cta-button-top:hover {
  background: #ffeeb6bf;
  transform: translateY(-2px);
}

.contact-form-wrapper .form-divider {
  text-align: center;
  margin: 0.5rem 0 1.5rem 0;
  font-size: 1.1rem;
  color: white;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.input-wrapper {
  position: relative;
}

.form-group {
  display: flex;
  flex-direction: column;
}
.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.required-star {
  position: absolute;
  right: 1rem;
  top: 1rem;
  color: #e74c3c;
  font-size: 1.2rem;
  font-weight: bold;
  pointer-events: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.8rem;
  line-height: 1.8;
  cursor: pointer;
}

.submit-button {
  background: #ffeeb6;
  color: #5d463c;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
  text-transform: uppercase;
}

.submit-button:hover {
  background: #ffeeb6bf;
  transform: translateY(-2px);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
footer {
  background: #5d463c;
  color: #ffeeb6;
  padding: 1rem 0 1rem 0;
 
  margin: 0 auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  margin-bottom: 0rem;
}

.footer-logo img {
  height: 100px;
  width: auto;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: #ffeeb6;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #ffeeb6bf;
}

.footer-bottom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a {
  color: #ffeeb6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #ffeeb6bf;
}

/* Responsive */
@media (max-width: 968px) {
  .contact-section {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .contact-image {
    display: none !important;
  }

  .contact-form-wrapper {
    max-width: 600px;
    width: 100%;
  }
  .presentation-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .brown-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text {
    .hero-text {
      font-size: 2rem;
      text-shadow: 1.5px 1.5px 0 #5d463c, -1.5px -1.5px 0 #5d463c,
        1.5px -1.5px 0 #5d463c, -1.5px 1.5px 0 #5d463c, 0px 1.5px 0 #5d463c,
        1.5px 0px 0 #5d463c, 0px -1.5px 0 #5d463c, -1.5px 0px 0 #5d463c,
        2px 2px 4px rgba(0, 0, 0, 0.3);
    }
  }

  .text-content {
    padding: 0;
    order: 1;
  }

  .phone-container {
    order: 2;
  }

  .brown-text {
    padding: 0;
  }

  .phone-mockup {
    width: 300px;
    height: 600px;
  }

  .phone-top {
    width: 140px;
    height: 28px;
  }

  .carousel-prev {
    left: 0px;
  }

  .carousel-next {
    right: 0px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #5d463c;
    transition: 0.3s;
    justify-content: flex-start;
    padding-top: 2rem;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  nav li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav a {
    display: block;
    padding: 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Responsive services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .service-card {
    min-width: 280px;
    max-width: 100%;
  }

  .card-content{
     height: 550px;
  }
  .card-logo {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  main {
    padding: 2rem 1rem;
  }
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .contact-form-wrapper h1 {
    font-size: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-text {
    .hero-text {
      font-size: 1.5rem;
      text-shadow: 1px 1px 0 #5d463c, -1px -1px 0 #5d463c, 1px -1px 0 #5d463c,
        -1px 1px 0 #5d463c, 0px 1px 0 #5d463c, 1px 0px 0 #5d463c,
        0px -1px 0 #5d463c, -1px 0px 0 #5d463c, 2px 2px 3px rgba(0, 0, 0, 0.3);
    }
  }

  .presentation-section,
  .brown-section {
    padding: 2rem 1rem;
  }

  .phone-mockup {
    width: 280px;
    height: 560px;
  }

  .phone-top {
    width: 130px;
    height: 26px;
  }

  .top-speaker {
    width: 50px;
  }

  .carousel-prev {
    left: 0px;
  }

  .carousel-next {
    right: 0px;
  }

  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
}
