:root {
  --color-bg: #faf6ed;
  --color-text: #6bc4c0;
  --color-cta-bg: #63b6b3;
  --color-cta-hover-bg: #396967;
  --color-card-bg: #63b6b3;
  --color-card-text: #4B2E24;
  --color-header: #396967;
  --color-footer-bg: #396967;
  --color-footer-text: #6bc4c0;
  --color-nav-hover: black;
}

@font-face {
  font-family: 'Poiret One';
  src: url('/fonts/PoiretOne-Regular.ttf') format('truetype'),
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poiret One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  background-color: var(--color-bg);
  background-image: url("/images/polka-dots.svg");
  background-attachment: fixed;
  color: var(--color-text);
}



header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px 20px 50px;
  background-color: var(--color-header);
  background-image: url("/images/low-contrast-linen1.png");
  background-attachment: fixed;
  position: relative;
}

header img {
  width: 100px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  transform: translateX(-150%);
  animation: slideIn 2s forwards;
  animation-delay: 0s;
}

.logo-effect{
  animation: pulse 1s;
  transform-origin: center;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    filter: saturate(1);
  }
  50% {
    transform: scale(1.2);
    filter: saturate(1.7);
  }
}
@keyframes slideIn {
  to {
    transform: translateX(0);
  }
}

.logo:hover{

}



nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 25px;
}

nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

nav a:hover {
  color: var(--color-nav-hover);
}

.section.welcome,
.section.presentation,
.section.findMe {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  padding: 100px 100px;
  gap: 40px;
}

.section.contact {
  color: var(--color-text);
  padding: 80px 40px;
  text-align: center;
}

.section.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 800px;
  margin: auto;
}

.contact-grid p {
  font-weight: bold;
  font-style: italic;
}

.contact-item a {
  color: var(--color-text);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.6));
}

.section-text {
  flex: 3;
}

.section-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.cta {
  display: inline-block;
  background-color: var(--color-cta-bg);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.cta:hover {
  background-color: var(--color-cta-hover-bg);
}

.welcome-bg-img,
.presentation-bg-img {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
}

.welcome-bg-img img,
.presentation-bg-img img {
  max-width: 100%;
  max-height: 120%;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18); /* ombre propre à l'image */
  object-fit: contain;
}


.findMe-bg-img {
  flex: 1; /* Le div prend la moitié de l'écran */
  background-size: contain; /* L'image reste contenue */
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  height: 50vh;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-bg-img img:hover,
.presentation-bg-img img:hover,
.findMe-bg-img:hover {

box-shadow: 0 4px 40px rgba(0,0,0,0.3);
transition: box-shadow 0.3s ease;

}



.findMe-bg-img {
  background-image: url('/images/location_alex.png');
}

/* Bouton menu hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text);
  cursor: pointer;
  user-select: none;
  padding: 5px 10px;
}

.section.pricing {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.section.pricing h2,
.section.instagram h2 {
  text-align: center;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: var(--color-card-bg);
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card h3,
.card p,
.price {
  color: var(--color-card-text);
}

.card h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.5;
}

.price {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  font-size: 1.3rem;
}

.section.instagram {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.instagram-logo {
  width: 100px;
  margin: 0 auto;
  display: block;
}

..instagram-logo path {
  fill: red; /* couleur intérieure */
  stroke: blue; /* couleur contour */
}

.footer {
  height: 40px;
  text-align: center;
  padding: 20px;
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  background-image: url("/");
  background-attachment: fixed;
}


.section.findMe {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  padding: 100px 100px;
  gap: 40px;
  transition: all 0.5s ease;
}

.section-text.map {
  flex: 1 1 40%;
  transition: all 0.4s ease;
}

.findMe-bg-img {
  flex: 1 1 50%;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  height: 50vh;
  background-repeat: no-repeat;
  transition: all 0.5s ease;
}

/* État étendu */
.section.findMe.expanded {
  gap: 0;
  padding: 0;
  flex-direction: column;
}

.section.findMe.expanded .section-text {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.section.findMe.expanded .findMe-bg-img {
  width: 100%;
  height: 95vh;
  border-radius: 0;
  flex: none;
  background-size: contain;
  background-position: center;
  box-shadow: none;
}

.flame1 {
  position: absolute;
  background-image: url("/images/flame1.png");
  animation: flicker 1s infinite ease-in-out;
  opacity: 0.8;
}

@keyframes flicker {
  0% { opacity: 0.7; transform: scale(1); }
  25% { opacity: 1; transform: scale(1.05); }
  50% { opacity: 0.8; transform: scale(0.98); }
  75% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 0.7; transform: scale(1); }
}


/* Adaptation mobile */
@media (max-width: 768px) {
  header {
    padding-left: 20px;
    padding-right: 20px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  nav ul {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  nav ul.show {
    max-height: 500px;
    display: flex;
  }

  nav li {
    padding: 10px 20px;
  }

  nav a {
    font-size: 1.1rem;
  }

  .section.welcome,
  .section.presentation,
  .section.contact,
  .section.findMe {
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;

  }



  .section-text h1 {
    font-size: 25px;
  }

  .section-text p {
    font-size: 1rem;
  }

  .welcome-bg-img,
  .presentation-bg-img,
  .findMe-bg-img {
    width: 100%;
    min-height: 250px;
    border-radius: 12px;
  }


  .welcome-bg-img {
    order: 2;
  }

  .presentation-bg-img {
    order: 1;
  }

}
