/* =====================
   RESET & BASE
===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #6b8e8a;
  --teal-dark: #587572;
  --teal-light: #e8f0ef;
  --bg: #f5f3f0;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --pink: #ff6fa0;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* =====================
   NAVIGATION
===================== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245,243,240,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107,142,138,0.2);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.nav-logo svg { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-light);
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal); }

.btn-call {
  background: var(--teal);
  color: white;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background .2s;
}
.btn-call:hover { background: var(--teal-dark); }

/* =====================
   HERO
===================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600334089648-b0d9d3028eb2?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.35), rgba(0,0,0,.65));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 20px 60px;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.92);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

#hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: white;
  margin-bottom: 10px;
  line-height: 1.1;
}

.hero-subtitle {
  font-style: italic;
  color: rgba(255,255,255,0.8);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.hero-desc {
  color: rgba(255,255,255,0.68);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--teal);
  color: white;
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  transition: background .2s;
}
.btn-primary:hover { background: var(--teal-dark); }

.btn-outline {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 1rem;
  backdrop-filter: blur(6px);
  transition: background .2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.22); }

.hero-arrow {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.8rem;
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =====================
   SECTIONS COMMUNES
===================== */
section { padding: 80px 0; }

.section-label {
  font-size: 0.78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.7;
}

/* =====================
   À PROPOS
===================== */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-highlights {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.highlight-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.highlight-text p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(107,142,138,0.12);
  border-radius: var(--radius);
  transform: translate(12px, 12px);
  z-index: 0;
}

.about-img-wrap img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* =====================
   GALERIE
===================== */
#galerie { background: var(--bg); }

.gallery-header { text-align: center; margin-bottom: 36px; }
.gallery-header .section-desc { margin: 0 auto; }

.carousel-wrap {
  position: relative;
  max-width: 680px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
}

.carousel-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-main.hidden { display: none; }

.carousel-video {
  width: 100%;
  height: 100%;
  display: block;
}

.carousel-video.hidden { display: none; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.carousel-btn:hover { background: rgba(0,0,0,0.75); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.45);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  padding: 0;
}
.dot.active { background: white; width: 20px; }

.thumbs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  max-width: 680px;
  margin: 0 auto;
}

.thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.thumb.active { border-color: var(--teal); }
.thumb img, .thumb .video-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
}
.thumb .video-thumb {
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
}

.no-media {
  text-align: center;
  padding: 60px 0;
  color: var(--text-light);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 10px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  color: white;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px; height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-count {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* =====================
   TARIFS
===================== */
#tarifs {
  background-image:
    linear-gradient(rgba(245,243,240,0.93), rgba(245,243,240,0.93)),
    url('medias/tarifs-bg.png');
  background-size: 900px;
  background-repeat: no-repeat;
  background-position: center;
}

.tarifs-header { text-align: center; margin-bottom: 40px; }

.tarifs-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 24px;
}

.tarifs-card-header {
  background: rgba(107,142,138,0.12);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(107,142,138,0.15);
}

.tarifs-card-header h3 {
  font-size: 1.4rem;
  color: var(--text);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

thead tr { background: rgba(0,0,0,0.03); }

th {
  padding: 12px 16px;
  text-align: center;
  font-weight: 700;
  color: var(--pink);
  font-size: 0.95rem;
}
th:first-child { text-align: left; color: var(--text-light); font-weight: 500; }

td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
td:first-child { font-weight: 500; }
td:not(:first-child) { text-align: center; font-weight: 700; }

tr:last-child td { border-bottom: none; }
tr:nth-child(even) { background: rgba(0,0,0,0.02); }

/* Épilation */
.epil td:last-child { text-align: right; font-weight: 700; }
.epil td:first-child { font-weight: 400; }

/* =====================
   CONTACT
===================== */
#contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-infos { display: flex; flex-direction: column; gap: 14px; }

.info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg);
  padding: 16px 18px;
  border-radius: var(--radius);
}

.info-card-icon {
  width: 38px; height: 38px; min-width: 38px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}

.info-card-body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.info-card-body p { font-size: 0.88rem; color: var(--text-light); margin: 0 0 4px; }
.info-card-body a.link {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
}
.info-card-body a.link:hover { text-decoration: underline; }

.btn-google {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #4285F4;
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background .2s;
  font-size: 0.95rem;
}
.btn-google:hover { background: #3367d6; }

.form-card {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 1.2rem;
  margin-bottom: 22px;
}

.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

input, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  color: var(--text);
  transition: border-color .2s;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--teal); }
textarea { min-height: 120px; resize: vertical; }

.btn-submit {
  width: 100%;
  background: var(--teal);
  color: white;
  padding: 13px;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  margin-top: 6px;
}
.btn-submit:hover { background: var(--teal-dark); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.form-msg {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}
.form-msg.success { background: #d1fae5; color: #065f46; display: block; }
.form-msg.error   { background: #fee2e2; color: #991b1b; display: block; }

/* =====================
   FOOTER
===================== */
footer {
  background: #2d2d2d;
  color: rgba(255,255,255,0.9);
  padding: 50px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
}
.footer-logo svg { color: var(--teal); }

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: white;
}

footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul li, footer ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color .2s;
}
footer ul li a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-img-wrap { order: -1; }
  .about-img-wrap img { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
