/* Inês Domingues · palette taken from the original Cercle de Soins site */
:root {
  --forest: #324532;
  --forest-deep: #263726;
  --wine: #5b1d26;
  --apricot: #e6c7b2;
  --apricot-deep: #d9ad90;
  --blush: #f4e0d9;
  --sage: #ced6ce;
  --cream: #fff6eb;
  --sand: #f6e6d2;
  --ink: #263126;
  --muted: #56605a;
  --line: rgba(38, 49, 38, .14);

  /* logo shapes */
  --mark-1: #7d9070; --mark-2: #c9a46a; --mark-3: #b9785a; --mark-4: #e2b4a0;

  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
  --r-xl: 48px;
  --r-lg: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.015em; }
h1 em, h2 em { font-style: italic; }
p { margin: 0; }
.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.panel .container, .contact .container { width: min(1160px, 100% - clamp(72px, 9vw, 140px)); }
:focus-visible { outline: 2px solid var(--apricot-deep); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95em 1.7em; border-radius: 999px; border: 0;
  font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s, background .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-apricot { background: var(--apricot); color: var(--wine); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.btn-apricot:hover { background: #efd6c4; }
.btn-wine { background: var(--wine); color: var(--cream); }
.btn-wine:hover { background: #712633; }
.btn-sm { padding: .62em 1.25em; font-size: .92rem; }
.link-arrow { color: var(--cream); text-decoration: none; font-weight: 500; display: inline-flex; gap: .5em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header: same deep green band as the old site */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--forest); color: var(--cream); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: block; line-height: 0; text-decoration: none; }
.logo {
  display: block; height: 64px; width: auto; aspect-ratio: 702.6 / 239.0; overflow: visible;
  color: var(--forest);
}
.site-header .logo, .logo-light {
  color: var(--cream);
  --mark-1: #a8b99a; --mark-2: #dcb978; --mark-3: #d39274; --mark-4: #f1d3c3;
}
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a { text-decoration: none; color: rgba(255, 246, 235, .82); font-size: .98rem; padding: 6px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--apricot); transform: scaleX(0); transition: transform .3s; }
.main-nav a:hover { color: var(--cream); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-menu { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  border: 1px solid rgba(255, 246, 235, .3); background: transparent; color: var(--cream);
  border-radius: 999px; padding: .5em .85em; font: 600 .8rem var(--sans); letter-spacing: .06em;
}
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] { background: rgba(255, 246, 235, .1); }
.lang-toggle .chev { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.lang-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 176px;
  list-style: none; margin: 0; padding: 6px; background: var(--cream); color: var(--ink);
  border-radius: 20px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .45);
}
.lang-list[hidden] { display: none; }
.lang-list button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border: 0; background: transparent; padding: .65em .85em; border-radius: 14px;
  font: 500 .95rem var(--sans); color: inherit; cursor: pointer; text-align: left;
}
.lang-list button small { font-size: .72rem; letter-spacing: .08em; color: var(--muted); }
.lang-list button:hover, .lang-list button:focus-visible { background: var(--sand); outline: none; }
.lang-list button[aria-current="true"] { background: var(--blush); color: var(--wine); }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; background: var(--forest); color: var(--cream); padding: 48px 0 150px; overflow: hidden; }
.hero-swirl { position: absolute; inset: auto -5% 0 auto; width: 80%; height: 90%; pointer-events: none; }
.hero-swirl path { fill: none; stroke: var(--apricot); stroke-width: 2; opacity: .35; stroke-linecap: round; }
.hero-layout {
  position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end;
}
.hero-title {
  grid-column: 1 / 7; grid-row: 1; align-self: end; font-size: clamp(2.3rem, 4.9vw, 4.4rem); font-weight: 330; line-height: 1;
  position: relative; z-index: 2; hyphens: manual;
}
.hero-photo {
  grid-column: 7 / -1; grid-row: 1 / span 2; align-self: center; justify-self: end; width: min(560px, 100%);
  aspect-ratio: 1 / .95; overflow: hidden; background: var(--apricot);
  border-radius: 999px 999px 140px 40px; border: 10px solid var(--apricot);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 60%; }
.hero-side { grid-column: 1 / 7; align-self: start; grid-row: 2; padding: 36px 0 12px; position: relative; z-index: 2; }
.hero-lead { font-size: 1.15rem; color: rgba(255, 246, 235, .82); max-width: 24ch; margin-bottom: 28px; }
.wave { position: absolute; left: 0; width: 100%; height: 70px; display: block; }
.wave-bottom { bottom: -1px; transform: scaleY(-1); }
.wave-bottom path { fill: var(--cream); }

/* Values: the three drawings */
.values { padding: 40px 0 90px; text-align: center; }
.values-line { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--wine); font-style: italic; font-weight: 350; }
.values-icons { list-style: none; padding: 0; margin: 48px 0 0; display: flex; justify-content: center; gap: clamp(24px, 7vw, 96px); }
.values-icons li { display: flex; flex-direction: column; align-items: center; gap: 16px; font-family: var(--serif); font-size: 1.2rem; color: var(--forest); }
.v-icon {
  width: 176px; height: 176px; display: grid; place-items: center;
  background: var(--blush); border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%;
}
.values-icons li:nth-child(2) .v-icon { background: var(--sage); border-radius: 55% 45% 48% 52% / 46% 54% 46% 54%; }
.values-icons li:nth-child(3) .v-icon { background: var(--sand); border-radius: 50% 50% 44% 56% / 52% 48% 52% 48%; }
.v-icon img { height: 132px; width: auto; }
.values-icons li { flex: 1 1 0; max-width: 300px; }
.v-title { font-size: 1.35rem; }
.v-text { font-family: var(--sans); font-size: .98rem; line-height: 1.5; color: var(--muted); max-width: 26ch; margin-top: -6px; }

/* About */
.about { padding: 40px 0 110px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 7vw, 100px); align-items: center; }
.about-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 52% 48% 40% 60% / 38% 42% 58% 62%; overflow: hidden; background: var(--sand); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: var(--forest); }
.about-lead { font-size: 1.25rem; line-height: 1.55; margin-top: 18px; max-width: 34ch; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: .5em 1.05em; border-radius: 999px; background: var(--blush); color: var(--wine); font-size: .92rem; font-weight: 500; }

/* Coloured panels with big rounded corners */
.panel { margin: 0 clamp(8px, 1.6vw, 24px); border-radius: var(--r-xl); padding: clamp(64px, 9vw, 110px) 0; }
.panel-sage { background: var(--sage); padding-block: clamp(52px, 6vw, 80px); }
.panel-apricot { background: var(--apricot); margin-top: clamp(56px, 8vw, 96px); }
.panel-title { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--forest); }

/* Services */
.service { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 440px); justify-content: center; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(28px, 4vw, 48px); }
.service-flip { grid-template-columns: minmax(0, 440px) minmax(0, 470px); }
.service-flip .service-img { order: 2; }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.service:hover .service-img img { transform: scale(1.04); }
.shape-a { border-radius: 160px 40px 160px 40px; }
.shape-b { border-radius: 40px 160px 40px 160px; aspect-ratio: 1 / 1; max-width: 360px; justify-self: center; width: 100%; }
.shape-c { border-radius: 50% 50% 40px 40px / 44% 44% 40px 40px; }
.shape-d { border-radius: 40px 40px 160px 160px; }
.service h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--forest); }
.service-body > p { font-size: 1.15rem; margin-top: 14px; max-width: 32ch; }
.pills { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: .45em 1em; border-radius: 999px; background: var(--cream); color: var(--forest); font-size: .9rem; font-weight: 500; }
details { margin-top: 20px; }
summary {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--wine);
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "+"; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wine); color: var(--cream); font-weight: 400; transition: transform .3s;
}
details[open] summary::before { transform: rotate(45deg); }
.leaf-list { list-style: none; padding: 16px 0 0; margin: 0; columns: 2; column-gap: 28px; }
.leaf-list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: .95rem; break-inside: avoid; }
.leaf-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; background: var(--forest); border-radius: 50% 0 50% 0; }

/* Prices */
.prices-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: start; }
.panel-apricot .panel-title { color: var(--wine); }
.shapes { position: relative; width: 220px; height: 170px; margin-top: 36px; }
.shapes i { position: absolute; display: block; }
.s-tri { left: 70px; top: 0; width: 0; height: 0; border-left: 34px solid transparent; border-right: 34px solid transparent; border-bottom: 58px solid var(--forest); filter: drop-shadow(0 0 0 transparent); transform: rotate(-6deg); }
.s-sq { left: 0; top: 54px; width: 58px; height: 58px; border-radius: 10px; background: var(--cream); transform: rotate(-14deg); }
.s-pill { left: 28px; top: 124px; width: 86px; height: 40px; border-radius: 999px; background: var(--wine); transform: rotate(18deg); }
.s-dot { left: 150px; top: 92px; width: 56px; height: 56px; border-radius: 50%; background: var(--blush); }
.price-table { background: var(--cream); border-radius: var(--r-lg); padding: 14px 32px 26px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--line); font-size: 1.08rem; }
.price-row strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--wine); white-space: nowrap; }
.price-row-hi strong { font-size: 1.25rem; color: var(--forest); background: var(--sage); padding: .1em .7em; border-radius: 999px; font-family: var(--sans); font-weight: 600; }
.price-note { font-size: .9rem; color: var(--muted); padding-top: 16px; }

/* Contact */
.contact { background: var(--forest); color: var(--cream); margin-top: clamp(56px, 8vw, 96px); padding: clamp(72px, 10vw, 120px) 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.contact-info { display: flex; flex-direction: column; }
.contact h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-bottom: 28px; }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-lines li { display: flex; align-items: center; gap: 14px; font-size: 1.08rem; }
.contact-lines svg { width: 40px; height: 40px; padding: 10px; flex: none; border-radius: 50%; background: rgba(255, 246, 235, .1); fill: var(--apricot); }
.contact-lines a { color: var(--cream); text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--apricot); }
.map { margin-top: 28px; flex: 1; min-height: 240px; border-radius: 24px; overflow: hidden; background: var(--sage); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.75); }
.contact-form { display: flex; flex-direction: column; background: var(--cream); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.contact-form h3 { font-size: 1.6rem; color: var(--forest); margin-bottom: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: block; margin-bottom: 14px; font-size: .88rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: .8em 1.1em; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--sand); border: 2px solid transparent; border-radius: 18px; transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--apricot-deep); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .grow { flex: 1; display: flex; flex-direction: column; }
.contact-form .grow textarea { flex: 1; }
.contact-form .invalid { border-color: var(--wine); }
.contact-form .btn { width: 100%; margin-top: 4px; }

/* Footer */
.site-footer { background: var(--forest-deep); color: rgba(255, 246, 235, .75); padding: 44px 0 28px; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 246, 235, .12); }
.site-footer .logo { height: 76px; }
.footer-links { display: flex; gap: 10px; }
.footer-links a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 246, 235, .08); color: var(--cream); }
.footer-links a:hover { background: rgba(255, 246, 235, .16); }
.footer-links svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 22px; }
.made-in { display: inline-flex; align-items: center; gap: 10px; }
.swiss-flag { width: 18px; height: 18px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-img img { transition: none; }
}

/* Responsive */
@media (max-width: 1020px) { .header-cta { display: none; } .main-nav { gap: 22px; } }
@media (max-width: 860px) {
  :root { --header-h: 70px; --r-xl: 36px; }
  .logo { height: 54px; }
  .menu-toggle {
    display: grid; gap: 6px; place-content: center; width: 42px; height: 42px;
    border: 0; background: transparent; cursor: pointer; padding: 0;
  }
  .menu-toggle span { width: 22px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .3s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--forest); padding: 4px 16px 24px; border-radius: 0 0 28px 28px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 246, 235, .12); font-size: 1.1rem; color: var(--cream); }
  .main-nav a::after { display: none; }

  .hero { padding: 28px 0 110px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-title, .hero-photo, .hero-side { grid-column: 1; grid-row: auto; }
  .hero-photo { margin-top: 32px; justify-self: center; width: min(440px, 100%); }
  .hero-side { padding-top: 28px; }
  .values-icons { flex-direction: column; align-items: center; gap: 44px; }
  .values-icons li { max-width: 320px; }
  .about-grid, .service, .prices-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-swirl { width: 140%; }
  .service-flip .service-img { order: 0; }
  .about-photo { max-width: 340px; width: 100%; justify-self: center; }
  .about-text { text-align: center; }
  .about-lead { margin-inline: auto; }
  .chips { justify-content: center; }
  .prices-head { display: flex; align-items: center; justify-content: space-between; }
  .shapes { width: 121px; height: 94px; margin: 0; flex: none; }
  .shapes i { transform-origin: 0 0; }
  .shapes { zoom: .55; width: 220px; height: 170px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo { height: 48px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 6px; }
  .leaf-list { columns: 1; }
  .price-table { padding: 6px 16px 18px; border-radius: 24px; }
  .price-row { gap: 12px; font-size: 1rem; }
  .price-row span { hyphens: auto; }
  .price-row-hi { flex-direction: column; align-items: flex-start; gap: 8px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }
  .map { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .prices-grid { grid-template-columns: minmax(0, 1fr); }
  .price-row span { min-width: 0; }
  .price-row-hi strong { font-size: .9rem; }
  .price-row strong { font-size: 1.3rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Contact form (Wix Forms) */
.contact-form .field-error { display: block; margin-top: 6px; color: var(--wine); font-size: .82rem; }
.contact-form .field-error[hidden] { display: none; }
.contact-form .form-status { color: var(--wine); font-size: .92rem; margin: 0 0 12px; }
.contact-form .form-status:empty { display: none; }
.contact-form .cf-fields { display: flex; flex-direction: column; flex: 1; }
.contact-form button[disabled] { opacity: .6; cursor: wait; transform: none; }
.contact-form.is-sent { justify-content: center; align-items: flex-start; gap: 14px; }
.contact-form .form-thanks { font-size: 1.1rem; line-height: 1.55; }

/* Original Cercle de soins texts (restored) */
.hero-lead { max-width: 34ch; }
.about-lead { font-size: 1.08rem; max-width: 60ch; }
.about-lead p + p { margin-top: .8em; }
.values-more { max-width: 62ch; margin: 44px auto 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
.values-more p + p { margin-top: .5em; }
.service-more { padding-top: 14px; font-size: .97rem; line-height: 1.6; }
.service-more p + p, .service-more ul + p, .service-more p + ul { margin-top: .7em; }
.service-more .detail-lead { font-weight: 600; color: var(--forest); margin-top: 1em; }
.service-more h4 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--forest); margin: 1.4em 0 .4em; line-height: 1.2; }
.service-more .leaf-list { padding-top: 8px; }
.leaf-list.leaf-wide { columns: 1; }
.leaf-list.leaf-short { padding-top: 10px; }
.price-sub { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--wine); margin-top: 22px; }
.price-table .price-note + .price-row { margin-top: 4px; }
.contact-access { margin-top: 22px; font-size: .95rem; line-height: 1.55; color: rgba(255, 246, 235, .82); }
.contact-access p + p { margin-top: .4em; }

/* Hero: the logo takes the place of the name; the heading text stays for search engines */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-title .hero-logo { display: block; width: min(100%, 560px); height: auto; aspect-ratio: 702.6 / 239; }
@media (max-width: 860px) { .hero-title .hero-logo { width: min(100%, 440px); } }

/* Navbar logo: hidden while the hero logo is on screen, shown once it scrolls away */
.site-header .brand { transition: opacity .35s ease, transform .35s ease, visibility .35s; }
.site-header.brand-hidden .brand { opacity: 0; visibility: hidden; transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .site-header .brand { transition: none; } }

/* Footer: practice description next to the logo */
.footer-brand { display: flex; align-items: center; gap: 22px; min-width: 0; flex: 1; }
.footer-brand .logo { flex: none; }
.footer-title { min-width: 0; }
@media (max-width: 560px) { .footer-brand { flex-wrap: wrap; } }
.footer-title { font-family: var(--serif); font-size: 1.08rem; line-height: 1.35; color: rgba(255, 246, 235, .85); text-wrap: balance; }

/* Link to the Google Maps profile under the directions */
.maps-link { display: inline-flex; align-items: center; gap: .45em; margin-top: 14px; color: var(--apricot); font-weight: 600; text-decoration: none; }
.maps-link::after { content: "↗"; transition: transform .25s; }
.maps-link:hover { text-decoration: underline; }
.maps-link:hover::after { transform: translate(2px, -2px); }
