:root {
  --bg: #eed9be;
  --surface: #f5eced;
  --ink: #0f0801;
  --muted: #4a3a3a;
  --accent: #cd9080;
  --accent-dark: #cd9080;
  --field-pink: #cd9080;
  --field-mint: #85ac91;
  --white: #eed9be;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.5rem, 1.5rem + 5vw, 5rem);

  --font: 'Roundo', system-ui, sans-serif;
  --font-refined: 'Cormorant Garamond', Georgia, serif;
  --radius: 50%;
  --transition: 0.3s ease;
  --gap: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

::-moz-selection {
  background: var(--accent);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.btn:hover {
  transform: scale(1.03);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: #000000;
  color: var(--white);
}

.btn-secondary {
  background: var(--accent);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-submit {
  width: 100%;
  background: var(--ink);
  color: var(--white);
}

.btn-submit:hover {
  background: #000000;
  color: var(--white);
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gap);
  background: transparent;
}

/* Header transparent : sous les 25 % du bas, tout disparaît sauf le fond de la section (couleur + motif, reproduits par le script) ; dans les 25 % du bas, le contenu réapparaît en flou progressif */
.nav::before,
.nav-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 75%, transparent 100%);
}

.nav::before {
  content: "";
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav-bg {
  overflow: hidden;
}

.nav-bg-seg {
  position: absolute;
  left: 0;
  right: 0;
  display: none;
}

.nav-bg-seg > i {
  position: absolute;
  inset: 0;
}

.nav-logo {
  font-size: var(--step-lead);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-decoration: none;
  line-height: 1;
}

.nav-logo-img {
  display: block;
  height: 84px;
  width: auto;
}

@media (max-width: 600px) {
  .nav-logo-img {
    height: 60px;
  }
}

.logo-name {
  font-size: clamp(0.875rem, 0.8rem + 0.4vw, 1.125rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  display: flex;
  gap: 0.35em;
}

.logo-armony {
  color: #8b6342;
}

.logo-teixeira {
  color: var(--ink);
}

.logo-line {
  display: none; /* taste-skill-ignore: removed thin rule */
}

.logo-title {
  font-size: clamp(0.6875rem, 0.65rem + 0.2vw, 0.8125rem);
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.btn-nav {
  padding: 10px 20px;
  font-size: var(--step-small);
  background: var(--ink);
  color: var(--white);
  border-radius: 50px;
  margin-left: 16px;
}

.btn-nav:hover {
  background: #000000;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn-nav) {
  font-size: var(--step-small);
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 40px;
}

.nav-links a:not(.btn-nav) {
  position: relative;
}

.nav-links a:not(.btn-nav):hover {
  color: var(--ink);
}

.nav-links a:not(.btn-nav)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:not(.btn-nav):hover::after,
.nav-links a:not(.btn-nav):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.btn-nav-white {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #ffffff;
  color: var(--ink);
}

.btn-nav-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: url('assets/bouton-nav.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  pointer-events: none;
}

.btn-nav-white::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-image: url('assets/bouton-nav.jpg');
  background-size: cover;
  background-position: center;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.3s ease;
  pointer-events: none;
}

.btn-nav-white.is-loading::after {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.6s linear;
}

.btn-nav-white.is-loading {
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

.btn-nav-white:hover {
  background: #ffffff;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.btn-nav-white {
  white-space: nowrap;
  transition: color 0.4s ease, text-shadow 0.4s ease;
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 16px;
  }

  .nav-links a.btn-nav {
    padding: 0 14px;
  }

  .btn-nav-white {
    margin-left: 4px;
  }
}

.btn-nav-white + .btn-nav {
  margin-left: 0;
}

.nav-links a.btn-nav {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-btn {
  padding: 8px 12px;
  font-family: var(--font);
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  color: var(--white);
  background: var(--ink);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 50%;
  line-height: 0;
}

.lang-btn .flag {
  display: block;
  width: 28px;
  height: 28px;
  opacity: 0.55;
  transition: opacity var(--transition), transform var(--transition);
}

.lang-btn:hover .flag {
  opacity: 1;
  transform: scale(1.08);
}

.lang-btn.active,
.lang-btn.active:hover {
  background: transparent;
  box-shadow: 0 0 0 2px var(--ink);
}

.lang-btn.active .flag {
  opacity: 1;
}

.lang-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* taste-skill-ignore: one sticky nav bar allowed */

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  min-height: 100svh;
  padding: 112px var(--gap) 56px;
  align-items: center;
  overflow: clip;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/azulejo-pattern.png');
  background-size: 300px;
  background-repeat: repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: 560px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.8s ease forwards;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-refined);
  font-size: clamp(2rem, 1.2rem + 4vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  color: var(--ink);
}

.hero-subtitle {
  font-size: var(--step-lead);
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 100%;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
}

.hero-price-bubble {
  width: clamp(180px, 25vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn 0.6s ease 0.5s forwards;
  position: relative;
  overflow: visible;
}

.hero-price-bubble::before,
.hero-price-bubble::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
  pointer-events: none;
}

.hero-price-bubble::before {
  width: 35px;
  height: 35px;
  top: -10px;
  right: -5px;
  animation: blobDetach1 8s ease-in-out infinite;
}

.hero-price-bubble::after {
  width: 22px;
  height: 22px;
  bottom: 5px;
  left: -8px;
  animation: blobDetach2 10s ease-in-out infinite 1s;
}

.blob-particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  pointer-events: none;
}

.blob-particle-1 {
  width: 18px;
  height: 18px;
  top: 50%;
  right: -12px;
  animation: blobDetach3 12s ease-in-out infinite 2s;
}

.blob-particle-2 {
  width: 14px;
  height: 14px;
  bottom: -8px;
  right: 30%;
  animation: blobDetach4 9s ease-in-out infinite 0.5s;
}

.blob-particle-3 {
  width: 10px;
  height: 10px;
  top: 20%;
  left: -6px;
  animation: blobDetach5 11s ease-in-out infinite 3s;
}

@keyframes blobDetach1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  25% {
    transform: translate(8px, -12px) scale(1.1);
    opacity: 0.8;
  }
  50% {
    transform: translate(15px, -8px) scale(0.9);
    opacity: 0.5;
  }
  75% {
    transform: translate(5px, -15px) scale(1.05);
    opacity: 0.6;
  }
}

@keyframes blobDetach2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  30% {
    transform: translate(-10px, 8px) scale(1.15);
    opacity: 0.7;
  }
  60% {
    transform: translate(-18px, 5px) scale(0.85);
    opacity: 0.5;
  }
  80% {
    transform: translate(-8px, 12px) scale(1.1);
    opacity: 0.65;
  }
}

@keyframes blobDetach3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  35% {
    transform: translate(12px, -5px) scale(1.2);
    opacity: 0.7;
  }
  65% {
    transform: translate(20px, 3px) scale(0.8);
    opacity: 0.4;
  }
  85% {
    transform: translate(8px, -10px) scale(1.1);
    opacity: 0.55;
  }
}

@keyframes blobDetach4 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  40% {
    transform: translate(5px, 15px) scale(1.1);
    opacity: 0.7;
  }
  70% {
    transform: translate(-3px, 22px) scale(0.9);
    opacity: 0.45;
  }
}

@keyframes blobDetach5 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  45% {
    transform: translate(-8px, -10px) scale(1.25);
    opacity: 0.65;
  }
  75% {
    transform: translate(-15px, -5px) scale(0.85);
    opacity: 0.4;
  }
}

.hero-price-bubble .price-from {
  font-size: var(--step-small);
  color: var(--muted);
  font-weight: 400;
}

.hero-price-bubble .price-amount {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

/* About */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 112px var(--gap) 56px;
  background: var(--field-mint);
  position: relative;
  overflow: hidden;
}

.about-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  opacity: 0.15;
  pointer-events: none;
}

.about-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-inner {
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.about-inner-full {
  width: 100%;
  max-width: 1200px;
  text-align: left;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(var(--gap) * 3);
  row-gap: 28px;
  align-items: start;
  position: relative;
  margin-bottom: 36px;
}

.about-split::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(15, 8, 1, 0.25);
}

.about-split .about-title,
.about-split .about-heading,
.about-split .about-desc {
  margin: 0;
}

.about-split .about-title-1 { grid-column: 1; grid-row: 1; }
.about-split .about-title-2 { grid-column: 2; grid-row: 1; }
.about-split .about-desc-1 { grid-column: 1; grid-row: 2; }
.about-split .about-desc-3 { grid-column: 2; grid-row: 2; }

.about-split .about-block h3,
.about-split .about-lead {
  margin: 0;
}

.about-inner-full .btn {
  display: table;
  margin: 0 auto;
}

.about-inner-full .about-title-refined,
.about-inner-full .about-block h3 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3.5rem);
}

.about-titles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}

.about-title {
  font-size: var(--step-head);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.about-title-refined {
  font-family: var(--font-refined);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  color: var(--ink);
}

.about-title-secondary {
  color: var(--ink);
}

.about-lead {
  font-size: var(--step-body);
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 32px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
  text-align: left;
  max-width: 600px;
  margin-left: 0;
  margin-right: auto;
}

.about-block h3 {
  font-family: var(--font-refined);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.about-block p {
  font-size: var(--step-body);
  color: var(--ink);
  line-height: 1.5;
}

.about-vodder {
  display: block;
  width: fit-content;
  margin: 0 auto;
  color: var(--bg);
  text-decoration: none;
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.about-vodder:hover {
  color: var(--bg);
  transform: scale(1.12);
}

.about-split .about-title {
  text-align: center;
}

/* Qui suis-je */
.whois {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gap) * 2);
  padding: 120px var(--gap);
  background: var(--bg);
  align-items: center;
}

.whois {
  position: relative;
  overflow: clip;
}

.whois::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/azulejo-pattern.png');
  background-size: 300px;
  background-repeat: repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.whois-content,
.whois-visual {
  position: relative;
  z-index: 1;
}

.whois-content {
  max-width: 480px;
}

.whois-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.whois-name {
  font-size: var(--step-lead);
  font-weight: 600;
  color: var(--ink);
}

.whois-description {
  font-size: var(--step-body);
  color: var(--muted);
  line-height: 1.6;
}

.whois-more {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  color: #a67c52;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.whois-extra {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: -16px;
  transition: grid-template-rows 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              margin-top 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.whois-extra-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.whois-extra.is-open {
  grid-template-rows: 1fr;
  margin-top: 0;
}

.whois-extra.is-open .whois-extra-inner {
  opacity: 1;
}

.whois-visual {
  display: flex;
  justify-content: center;
}

.whois-circle {
  width: 70%;
  max-width: 350px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
}

.whois-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Motif de fond des sections vertes */
.about,
.hours {
  position: relative;
}

.hours {
  overflow: clip;
}

.about::before,
.hours::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/azulejo-pattern-green.jpg');
  background-size: 300px;
  background-repeat: repeat;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

.hours-inner {
  position: relative;
  z-index: 1;
}

/* Motif de fond des sections roses */
.soins {
  position: relative;
  overflow: clip;
}

.soins::before,
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/azulejo-pattern-rose.jpg');
  background-size: 300px;
  background-repeat: repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.soins-inner {
  position: relative;
  z-index: 1;
}

/* Horaires */
.hours {
  padding: 120px var(--gap);
  background: var(--field-mint);
}

.hours-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hours-head {
  text-align: center;
  margin-bottom: 56px;
}

.hours-title {
  font-size: var(--step-head);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hours-subtitle {
  margin-top: 12px;
  font-family: var(--font-refined);
  font-size: var(--step-lead);
  font-style: italic;
  color: var(--ink);
}

.hours-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hours-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 20px;
  background: var(--bg);
  border-radius: 24px;
  text-align: center;
}

.hours-day {
  font-size: var(--step-lead);
  font-weight: 600;
  color: var(--ink);
}

.hours-period {
  padding: 6px 18px;
  border-radius: 50px;
  font-size: var(--step-small);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.hours-card-morning .hours-period {
  background: var(--field-mint);
}

.hours-card-afternoon .hours-period {
  background: var(--accent);
}

.hours-time {
  font-size: var(--step-body);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hours-head,
.hours-card {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}

.hours-card {
  transition-delay: calc(var(--i, 0) * 0.12s), calc(var(--i, 0) * 0.12s), 0s;
}

.hours-head.visible,
.hours-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.hours-card.visible:hover {
  transform: translateY(-6px);
  transition-delay: 0s;
  box-shadow: 0 16px 32px rgba(15, 8, 1, 0.12);
}

@media (max-width: 900px) {
  .hours {
    padding: 100px var(--gap);
  }

  .hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .hours-grid {
    grid-template-columns: 1fr;
  }
}

/* Soins */
.soins {
  padding: 120px var(--gap);
  background: var(--accent);
}

.soins-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.soins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.soins-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.soins-col-title {
  font-family: var(--font-refined);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.5rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 8px;
}

.acc {
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
}

.acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: 0;
  font: inherit;
  font-size: var(--step-lead);
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}

.acc-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  border-radius: 24px;
}

.acc-icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.acc.is-open .acc-icon {
  transform: rotate(180deg);
}

.acc.is-open .acc-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc.is-open .acc-panel {
  grid-template-rows: 1fr;
}

.acc-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 28px;
  opacity: 0;
  transition: opacity 0.5s ease, padding 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.acc.is-open .acc-inner {
  opacity: 1;
  padding-bottom: 28px;
}

.acc-inner p {
  color: var(--ink);
  line-height: 1.6;
}

.acc-inner p + p {
  margin-top: 12px;
}

.acc-inner .soins-label {
  margin-top: 16px;
  font-weight: 600;
}

.acc-inner .soins-label + .soins-list {
  margin-top: 8px;
}

.soins-list {
  list-style: none;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.soins-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  line-height: 1.5;
}

.soins-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.acc-inner .soins-more {
  margin-top: 16px;
  font-weight: 600;
}

.soins-pro {
  margin-top: 32px;
}

.soins-cta {
  margin-top: 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.soins-cta p {
  font-family: var(--font-refined);
  font-style: italic;
  font-size: var(--step-lead);
  color: var(--ink);
}

@media (max-width: 900px) {
  .soins {
    padding: 100px var(--gap);
  }

  .soins-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 520px) {
  .acc-btn {
    padding: 18px 20px;
  }

  .acc-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Contact */
.contact {
  padding: 120px var(--gap);
  background: var(--accent);
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  pointer-events: none;
}

.contact-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gap) * 2);
  max-width: 1000px;
  margin: 0 auto;
  padding: 64px;
  background: var(--bg);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 60%;
  aspect-ratio: 1;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 0;
}

.contact-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-title {
  font-size: var(--step-head);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}


.contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 18px 24px;
  font-family: var(--font);
  font-size: var(--step-body);
  color: var(--ink);
  background: var(--white);
  border: none;
  border-radius: 50px;
  transition: box-shadow var(--transition);
}

.contact-form textarea {
  border-radius: 24px;
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 0;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-actions {
  justify-content: center;
}

.contact-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.contact-actions .btn-icon {
  flex: none;
}

/* Footer */
.footer {
  padding: 40px var(--gap);
  background: var(--ink);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
  color: var(--white);
}

.footer-bottom p,
.footer-bottom a,
.footer-bottom .footer-sep {
  font-size: 0.8125rem;
  color: var(--white);
  opacity: 1;
  margin: 0;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: var(--white);
  opacity: 0.75;
}

.footer-credits {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slowDrift {
  0%, 100% {
    transform: scale(1.05) translateY(0);
  }
  50% {
    transform: scale(1.08) translateY(-8px);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-price-bubble {
  animation: scaleIn 0.6s ease 0.5s forwards, blobMorph 8s ease-in-out 1.5s infinite;
}

@keyframes blobMorph {
  0%, 100% {
    border-radius: 60% 40% 55% 45% / 55% 45% 55% 45%;
    transform: scale(1) rotate(0deg);
  }
  25% {
    border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%;
    transform: scale(1.02) rotate(1deg);
  }
  50% {
    border-radius: 55% 45% 60% 40% / 45% 55% 40% 60%;
    transform: scale(0.98) rotate(-1deg);
  }
  75% {
    border-radius: 40% 60% 45% 55% / 50% 50% 60% 40%;
    transform: scale(1.01) rotate(0.5deg);
  }
}


.about-title,
.about-block,
.about .btn,
.whois-title,
.whois-text,
.contact-info,
.contact-form,
.footer-brand,
.footer-col {
  opacity: 0;
  transform: translateY(20px);
}

.about-title.visible,
.about-lead.visible,
.about-block.visible,
.about .btn.visible,
.whois-title.visible,
.whois-text.visible,
.contact-info.visible,
.contact-form.visible,
.footer-brand.visible,
.footer-col.visible {
  animation: fadeInUp 0.6s ease forwards;
}

.about-lead {
  opacity: 0;
  transform: translateY(20px);
}

.whois-circle {
  opacity: 0;
  transform: scale(0.9);
}

.whois-circle.visible {
  animation: scaleIn 0.5s ease forwards;
}


.about-block:nth-child(2).visible {
  animation-delay: 0.1s;
}

.about .btn.visible {
  animation-delay: 0.2s;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }

  .hero-content {
    max-width: 100%;
    order: 2;
    text-align: left;
  }

  .hero-visual {
    order: 1;
    margin-bottom: 40px;
  }

  .hero-price-bubble {
    width: 160px;
  }

  .about {
    padding: 100px var(--gap);
  }

  .about {
    min-height: 0;
  }

  .about-split {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .about-split::before {
    display: none;
  }

  .about-split .about-title-1,
  .about-split .about-heading,
  .about-split .about-desc-1,
  .about-split .about-desc-2,
  .about-split .about-title-2,
  .about-split .about-desc-3 {
    grid-column: 1;
    grid-row: auto;
  }

  .about-split .about-title-1 { order: 1; }
  .about-split .about-desc-1 { order: 2; margin-bottom: 24px; }
  .about-split .about-title-2 { order: 3; }
  .about-split .about-desc-3 { order: 4; margin-bottom: 24px; }
  .about-split .about-heading { order: 5; }
  .about-split .about-desc-2 { order: 6; }

  .about-block h3 {
    font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem);
  }

  .whois {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 80px var(--gap);
  }

  .whois-content {
    max-width: 100%;
  }

  .whois-visual {
    order: -1;
    margin-bottom: 40px;
  }

  .whois-circle {
    width: 60%;
    max-width: 250px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    text-align: left;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .nav-links {
    display: none;
  }

  .nav-links .btn-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 16px;
  }

  .nav-logo {
    font-size: var(--step-body);
  }

  .logo-name {
    font-size: 0.75rem;
  }

  .logo-title {
    font-size: 0.625rem;
  }

  .lang-btn {
    padding: 3px;
  }

  .lang-btn .flag {
    width: 24px;
    height: 24px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-price-bubble {
    width: 140px;
  }

  .hero-price-bubble .price-amount {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* Animations d'apparition */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
  will-change: opacity, transform;
}

.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.92); }

.reveal.visible {
  opacity: 1;
  transform: none;
}

.contact-bg.reveal.visible {
  opacity: 0.08;
}

.nav {
  animation: navDown 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes navDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ---------- Mobile : bouton menu, menu plein écran, boutons dans le header ---------- */
.nav-burger,
.nav-mobile-ctas,
.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    row-gap: 10px;
    padding: 12px 16px;
  }

  .nav-logo-block { order: 1; }
  .lang-switch { order: 2; margin-left: auto; }

  .nav-burger {
    order: 3;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: 6px;
    padding: 0;
    border: 1px solid rgba(15, 8, 1, 0.18);
    border-radius: 50%;
    background: rgba(238, 217, 190, 0.6);
    cursor: pointer;
  }

  .nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  }

  .nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-burger:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

  .nav-mobile-ctas {
    order: 4;
    display: flex;
    gap: 8px;
    width: 100%;
  }

  .nav-mobile-ctas .btn-mobile {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin: 0;
    padding: 0 10px;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
  }

  /* menu plein écran */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    padding: 160px 28px 48px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
  }

  .mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/azulejo-pattern.png');
    background-size: 300px;
    opacity: 0.06;
    pointer-events: none;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-links {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .mobile-menu-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(15, 8, 1, 0.12);
    font-family: var(--font-refined);
    font-style: italic;
    font-size: clamp(2rem, 1.4rem + 3vw, 2.8rem);
    line-height: 1.1;
    color: var(--ink);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
  }

  .mobile-menu.is-open .mobile-menu-links a {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.12s + var(--k) * 0.07s);
  }

  .mobile-menu-links a:hover,
  .mobile-menu-links a:focus-visible { color: var(--accent-dark); }

  /* le contenu ne passe pas sous le header, désormais plus haut */
  .hero { padding-top: 170px; }
  section[id] { scroll-margin-top: 60px; }
}

@media (max-width: 380px) {
  .nav-mobile-ctas .btn-mobile { font-size: 0.74rem; padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu-links a, .nav-burger span { transition: none; }
}
