/* === Bien-Etre Elisa - Base et variables === */
:root {
  --bg-surface: #f7f1ec;
  --bg-surface-low: #f2ece5;
  --bg-surface-high: #ffffff;
  --bg-surface-lowest: #fdfaf7;
  --surface-border: #e7ddd4;
  --text: #5f4121;
  --muted: #7d6a58;
  --primary: #8d5f28;
  --primary-bright: #b17742;
  --primary-container: #f4ddbe;
  --on-primary: #ffffff;
  --shadow: rgba(95, 65, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-surface);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body, button, input, textarea, select {
  font: inherit;
}

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

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

button {
  border: none;
  background: transparent;
}

.hidden {
  display: none !important;
}

/* === Overlay mobile === */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 60;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-overlay:not(.hidden) {
  opacity: 1;
}

/* === Mobile drawer menu === */
#mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background: #f7f1ec;
  z-index: 70;
  padding: 3rem 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

#mobile-drawer.open {
  transform: translateX(0);
}

/* === Barre de navigation principale === */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(147, 119, 97, 0.12);
}

.top-nav .nav-inner,
.section .container,
.footer .container {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text);
  cursor: pointer;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Noto Serif', serif;
  font-style: italic;
  letter-spacing: 0.12em;
  font-size: 1rem;
  color: var(--text);
}

.brand img {
  width: auto;
  height: 1.5rem;
}

.desktop-links {
  display: none;
  gap: 1.5rem;
  align-items: center;
  font-family: 'Noto Serif', serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #6f5b45;
}

.desktop-links a:hover,
.nav-link:hover,
.hero-link:hover,
.button-secondary:hover,
.footer a:hover {
  color: var(--primary);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.lang-switcher strong {
  display: inline-block;
  font-weight: 700;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: 'Noto Serif', serif;
  text-transform: uppercase;
  margin-top: 1rem;
}

  .drawer-lang {
    margin-top: 1rem;
  }


.mobile-nav-links a.active,
.nav-link.active {
  color: var(--text);
  background: rgba(143, 111, 74, 0.12);
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title,
.section-header h2,
.footer .brand {
  font-family: 'Noto Serif', serif;
}

.section-header h2,
.section-title h2,
.hero-headline {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.05;
  margin: 0;
}

.section-header h2 span,
.hero-headline span,
.section-title span {
  font-style: italic;
  color: var(--primary);
}

.section-header p,
.hero-copy p,
.card p,
.contact-copy p,
.contact-card p,
.form-card label,
.footer p {
  color: var(--muted);
}

.hero {
  min-height: calc(100vh - 4rem);
  padding-top: 5rem;
  display: grid;
  align-items: center;
  background: var(--bg-surface);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
}

.hero-copy {
  max-width: 42rem;
}

.hero-copy p {
  font-size: 1.05rem;
  max-width: 34rem;
  margin-top: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.hero-button,
.button-primary,
.button-secondary {
  border-radius: 999px;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.hero-button,
.button-primary {
  background: var(--primary);
  color: var(--on-primary);
  padding: 1rem 2.25rem;
  font-family: 'Noto Serif', serif;
  font-size: 1.05rem;
  box-shadow: 0 18px 40px rgba(141, 95, 40, 0.16);
}

.hero-button:hover,
.button-primary:hover {
  transform: translateY(-2px);
}

.hero-link,
.button-secondary {
  color: var(--text);
  border-bottom: 1px solid rgba(141, 95, 40, 0.2);
  padding-bottom: 0.25rem;
  font-style: italic;
}

.hero-link:hover,
.button-secondary:hover {
  color: var(--primary);
}

.hero-image {
  width: 100%;
  max-width: 35rem;
  justify-self: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.section {
  padding: 5rem 0;
}

.container {
  padding: 0 1rem;
}

.section-services .section-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--bg-surface-high);
  border: 1px solid rgba(143, 111, 74, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.service-card-large {
  padding: 2rem;
}

.service-card-large .service-card-body {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-card-large h3,
.service-card-small h3,
.service-card-medium h3,
.contact-card h3 {
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.service-card-large p,
.service-card-small p,
.service-card-medium p,
.card-text {
  margin: 0;
  color: var(--muted);
}

.service-card-large .price,
.service-card-small .price,
.service-card-medium .price {
  font-family: 'Noto Serif', serif;
  font-size: 1.5rem;
  color: var(--primary);
}

.service-card-large .service-image,
.service-card-medium .service-image {
  overflow: hidden;
  border-radius: 1.25rem;
  min-height: 18rem;
}

.service-card-large img,
.service-card-medium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-small,
.service-card-medium {
  padding: 2rem;
}

.service-card-small {
  background: var(--bg-surface-low);
}

.service-card-small .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(141, 95, 40, 0.08);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon-button {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(95, 65, 33, 0.08);
  display: grid;
  place-items: center;
  color: var(--primary);
}

.service-card-medium {
  display: grid;
  gap: 1.5rem;
}

.section-pricing .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.divider {
  width: 5rem;
  height: 0.35rem;
  background: var(--primary-container);
  margin: 1rem auto 0;
  border-radius: 999px;
}

.tab-list {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(95, 65, 33, 0.15);
  margin-bottom: 2rem;
}

.tab-trigger {
  background: transparent;
  padding: 1rem 1.5rem;
  font-family: 'Noto Serif', serif;
  font-size: 1.05rem;
  color: var(--muted);
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.tab-trigger.active {
  color: var(--primary);
  border-color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.pricing-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1rem;
  border-radius: 1.5rem;
  background: var(--bg-surface-high);
  border: 1px solid rgba(143, 111, 74, 0.08);
  max-width: 34rem;
  margin: 0 auto 1rem;
}

.pricing-icon {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.pricing-content {
  display: grid;
  gap: 0.3rem;
}

.pricing-item:hover .pricing-title {
  color: var(--primary);
}

.pricing-item .pricing-title {
  font-family: 'Noto Serif', serif;
  font-size: 1.2rem;
  margin: 0;
}

.pricing-item .pricing-description {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-item .price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  white-space: nowrap;
}

.pricing-footer {
  text-align: center;
  margin-top: 2rem;
}

.button-secondary {
  background: var(--bg-surface-low);
  color: var(--text);
  padding: 1rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.section-contact {
  background: var(--bg-surface-low);
}

.section-contact-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.section-contact-copy {
  display: grid;
  gap: 1.5rem;
}

.contact-left {
  display: grid;
  gap: 2rem;
}

.section-contact-copy h2 {
  font-size: clamp(2.75rem, 4vw, 4rem);
  margin: 0 0 1.5rem;
}

.section-contact-copy p {
  max-width: 34rem;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--bg-surface-high);
  border: 1px solid rgba(143, 111, 74, 0.12);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
  margin-bottom: 1rem;
}

.contact-card .contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text);
}

.contact-card .icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(141, 95, 40, 0.15);
}

.contact-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: 1.5rem;
}

.contact-actions .phone-button {
  flex: 1;
  max-width: 36rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #fff;
  color: var(--text);
  padding: 1.25rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(143, 111, 74, 0.18);
  cursor: pointer;
  font-size: 1.05rem;
  min-height: 4rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.contact-actions .phone-button:hover {
  transform: translateY(-1px);
}

.contact-actions .phone-link,
.contact-actions .phone-button {
  flex: 1;
  max-width: 36rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(143, 111, 74, 0.18);
  background: #fff;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 600;
  min-height: 4rem;
  text-decoration: none;
}

.contact-actions .phone-link:hover,
.contact-actions .phone-button:hover {
  transform: translateY(-1px);
  background: var(--primary-container);
}

.contact-actions .material-symbols-outlined {
  font-size: 1.5rem;
  color: var(--primary);
}

.form-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(143, 111, 74, 0.12);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
  display: grid;
  gap: 0.75rem;
}

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(143, 111, 74, 0.12);
  background: #fbf7f3;
  color: var(--text);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
}

.form-card button {
  width: 100%;
  margin-top: 0.5rem;
  background: var(--primary);
  color: var(--on-primary);
  padding: 1.25rem;
  border-radius: 999px;
  font-family: 'Noto Serif', serif;
  font-size: 1.05rem;
}

.footer {
  background: #f3ede7;
  padding: 3rem 0;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer .brand {
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: #7a6450;
}

.footer p {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  text-align: center;
  color: #7d6a58;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

@media (min-width: 768px) {
  .desktop-links {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-contact-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    grid-column: 1;
  }

  #mobile-drawer {
    width: 360px;
  }
}

@media (min-width: 1024px) {
  .section-contact-inner {
    grid-template-columns: 1.4fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card-large {
    grid-column: span 2;
  }

  .section-title h2,
  .hero-headline {
    font-size: 4.75rem;
  }

  .top-nav {
    padding: 0 1rem;
  }
}
