/* Aesthederme — Design luxe, minimaliste, statique */
:root {
  --bg: #EDEAE5;
  --bg-dark: #DAD7C6;
  --text: #292929;
  --text-light: #5a5a5a;
  --white: #ffffff;
  --accent: #292929;
  --radius: 2px;
  --shadow: 0 20px 60px rgba(41, 41, 41, 0.08);
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Tinos', Georgia, serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.narrow {
  width: min(800px, 92vw);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(237, 234, 229, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(41, 41, 41, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo img {
  width: auto;
  height: 38px;
  object-fit: contain;
}

.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  background: none;
  border: none;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border: 1px solid rgba(41, 41, 41, 0.08);
  box-shadow: var(--shadow);
  list-style: none;
  padding: 1rem 0;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.submenu a {
  display: block;
  padding: 0.55rem 1.5rem;
  font-size: 0.95rem;
}

.submenu a:hover {
  background: var(--bg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle,
.menu-close {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: inherit;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: transparent;
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 7rem 0 5rem;
  background: var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  margin: 0 0 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.stars {
  display: inline-flex;
  gap: 0.15rem;
  color: #b89f6a;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  box-shadow: var(--shadow);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  margin: 0;
}

h2 {
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  margin-top: 0;
}

h3 {
  font-weight: 400;
  font-size: 1.35rem;
}

/* About */
.about {
  background: var(--bg-dark);
}

.about-inner {
  text-align: center;
}

.about-inner p {
  color: var(--text-light);
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

.about-inner .btn {
  margin-top: 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content p {
  color: var(--text-light);
}

.about-content .btn {
  margin-top: 1rem;
}

/* Services */
.services {
  background: var(--bg);
}

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

.service-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid rgba(41, 41, 41, 0.06);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.service-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-light);
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
}

.service-arrow {
  display: inline-flex;
  color: var(--text-light);
  transition: var(--transition);
  margin-top: auto;
}

.service-card:hover .service-arrow {
  transform: translateX(6px);
  color: var(--text);
}

/* CTA */
.cta {
  background: var(--text);
  color: var(--bg);
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin-inline: auto;
}

.cta .section-eyebrow {
  color: rgba(237, 234, 229, 0.7);
}

.cta h2 {
  color: var(--bg);
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(237, 234, 229, 0.85);
  margin-bottom: 2rem;
}

.cta .btn-primary {
  border-color: var(--bg);
  background: var(--bg);
  color: var(--text);
}

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

/* Testimonials */
.testimonials {
  background: var(--bg-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  margin: 0;
  border: 1px solid rgba(41, 41, 41, 0.06);
}

.testimonial p {
  font-size: 1.1rem;
  margin: 1rem 0;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Carousel */
.carousel {
  position: relative;
}

.carousel[data-carousel="services"] {
  --per-view: 4;
}

.carousel[data-carousel="testimonials"] {
  --per-view: 3;
}

.carousel-viewport {
  overflow: hidden;
  margin: 0 -0.75rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(100% / var(--per-view, 1));
  max-width: calc(100% / var(--per-view, 1));
  padding: 0 0.75rem;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(41, 41, 41, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  z-index: 5;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(41, 41, 41, 0.08);
}

.carousel-arrow:hover {
  background: var(--accent);
  color: var(--white);
}

.carousel-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.carousel-prev {
  left: -1rem;
}

.carousel-next {
  right: -1rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(41, 41, 41, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dots button:hover {
  background: rgba(41, 41, 41, 0.45);
}

.carousel-dots button.active {
  background: var(--text);
  width: 24px;
  border-radius: 4px;
}

/* Page hero */
.page-hero {
  padding: 5rem 0 3rem;
  background: var(--bg);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.page-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.page-hero-content p {
  color: var(--text-light);
  max-width: 560px;
}

.page-hero-media img {
  width: 100%;
  box-shadow: var(--shadow);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--white);
  padding: 1.8rem;
  border: 1px solid rgba(41, 41, 41, 0.06);
}

.feature-card h3 {
  margin: 0 0 0.6rem;
}

.feature-card p {
  color: var(--text-light);
  margin: 0;
  font-size: 0.98rem;
}

/* FAQ */
.faq {
  background: var(--bg-dark);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(41, 41, 41, 0.06);
  padding: 0;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--text-light);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-card {
  background: var(--white);
  padding: 1.8rem;
  border: 1px solid rgba(41, 41, 41, 0.06);
  text-align: center;
}

.contact-icon {
  color: var(--text-light);
  margin-bottom: 1rem;
  display: inline-flex;
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.contact-card p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.map-frame {
  margin-top: 2rem;
  border: 1px solid rgba(41, 41, 41, 0.08);
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
}

/* Legal */
.legal {
  background: var(--bg);
}

.legal-content p {
  color: var(--text-light);
}

.blog-empty {
  text-align: center;
  color: var(--text-light);
  padding: 3rem 0;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-light);
  max-width: 320px;
}

.footer-social {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--text-light);
}

.footer-social:hover {
  color: var(--text);
}

.footer-col h6 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin: 0 0 1rem;
}

.footer-col p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(41, 41, 41, 0.1);
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal nav {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  color: var(--bg);
  border-radius: 50%;
  transform: rotate(-90deg) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: rotate(-90deg) translateY(0);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 900px) {
  .main-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-inner,
  .page-hero-inner,
  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .carousel[data-carousel="services"] {
    --per-view: 2;
  }

  .carousel[data-carousel="testimonials"] {
    --per-view: 2;
  }

  .carousel-arrow {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-legal {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .carousel[data-carousel="services"],
  .carousel[data-carousel="testimonials"] {
    --per-view: 1;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.mobile-nav-list > li {
  border-bottom: 1px solid rgba(41, 41, 41, 0.1);
}

.mobile-nav-list a,
.mobile-submenu-title {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-submenu-title {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: inherit;
  background: none;
  border: none;
  width: 100%;
  font-family: inherit;
  text-align: left;
}

.mobile-submenu-title::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.mobile-submenu.open .mobile-submenu-title::after {
  content: '−';
}

.mobile-submenu ul {
  list-style: none;
  padding: 0 0 1rem 1rem;
  margin: 0;
  display: none;
}

.mobile-submenu.open ul {
  display: block;
}

.mobile-submenu ul a {
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-light);
}
