/* v2 content pages — typography aligned with Massages énergétiques */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Jost:wght@200;300;400&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.v2-page {
  margin: 0;
  padding: 0;
  background: linear-gradient(165deg, #fff5f0 0%, #fde8df 45%, #fce0d4 100%);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: #5c4038;
  line-height: 1.45;
  letter-spacing: 0.02em;
  overflow-x: clip;
  min-height: 100vh;
}

.v2-content {
  max-width: min(720px, 100%);
  margin: 0 auto;
  padding: 88px 24px 64px;
}

.v2-content h1,
.v2-content h2,
.v2-content h3,
.v2-content h4,
.v2-content p,
.v2-content li,
.v2-content a,
.v2-content blockquote {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.v2-content h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 400;
  color: #a65d4a;
  line-height: 1.25;
  margin: 0 0 0.75em;
  text-align: center;
}

.v2-content h2,
.v2-content h3,
.v2-content h4 {
  font-weight: 400;
  color: #a65d4a;
  margin: 1.2em 0 0.6em;
}

.v2-content h2:first-child,
.v2-content h3:first-child {
  margin-top: 0;
}

.v2-content p {
  margin: 0 0 0.85em;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.v2-content h2,
.v2-content h3,
.v2-content h4 {
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.v2-content a {
  color: #c97b62;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.v2-content a:hover {
  color: #a65d4a;
}

.v2-content img {
  display: block;
  max-width: min(480px, 100%);
  width: 100%;
  height: auto;
  margin: 0 auto 1.5em;
  border-radius: 8px;
}

.v2-content img[data-shape="circle"] {
  border-radius: 50%;
  max-width: min(360px, 85vw);
  aspect-ratio: 1;
  object-fit: cover;
}

.v2-content img:first-child {
  margin-top: 0;
}

.v2-content ul,
.v2-content ol {
  margin: 0 0 0.85em;
  padding-left: 1.4em;
  text-align: justify;
  text-wrap: pretty;
}

.v2-content li {
  margin-bottom: 0.35em;
}

.v2-content blockquote {
  margin: 1.2em 0;
  padding: 0.85em 1em;
  border-left: 3px solid rgba(255, 180, 150, 0.7);
  background: rgba(255, 255, 255, 0.45);
  font-style: italic;
  text-align: justify;
  text-wrap: pretty;
}

.v2-content strong {
  font-weight: 400;
}

#valeurs {
  scroll-margin-top: 80px;
}

/* Testimonials / contact forms */
.v2-form-section {
  margin-top: 2.2em;
  padding-top: 1.6em;
  border-top: 1px solid rgba(166, 93, 74, 0.22);
}

.v2-form-section > p {
  text-align: left;
}

.v2-form {
  margin: 1.4em 0 0;
}

.v2-form-field {
  margin-bottom: 1.1em;
}

.v2-form label {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: clamp(0.82rem, 2.4vw, 0.95rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #7a5248;
  margin-bottom: 0.45em;
  text-align: left;
}

.v2-form-optional {
  font-size: 0.9em;
  color: rgba(92, 64, 56, 0.65);
}

.v2-form-required {
  color: #c97b62;
}

.v2-form input[type="text"],
.v2-form textarea {
  display: block;
  width: 100%;
  padding: 0.55em 0.7em;
  font-family: "Jost", sans-serif;
  font-size: clamp(0.9rem, 2.6vw, 1rem);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #5c4038;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(166, 93, 74, 0.32);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.v2-form input[type="text"]:focus,
.v2-form textarea:focus {
  outline: none;
  border-color: rgba(201, 123, 98, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 180, 150, 0.35);
}

.v2-form textarea {
  min-height: 8em;
}

.v2-form-submit {
  display: inline-block;
  margin-top: 0.35em;
  padding: 0.55em 1.35em;
  font-family: "Jost", sans-serif;
  font-size: clamp(0.88rem, 2.5vw, 0.98rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #fff8f5;
  background: linear-gradient(135deg, #c97b62 0%, #a65d4a 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 0 4px 14px rgba(166, 93, 74, 0.28);
}

.v2-form-submit:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(166, 93, 74, 0.34);
}

.v2-form-submit:active {
  transform: translateY(1px);
}

.v2-form-submit:focus-visible {
  outline: 2px solid #a65d4a;
  outline-offset: 3px;
}

.v2-form-privacy {
  margin-top: 1em;
  font-family: "Jost", sans-serif;
  font-size: clamp(0.75rem, 2.2vw, 0.85rem);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(92, 64, 56, 0.82);
  text-align: left;
  hyphens: none;
}

@media (max-width: 767px) {
  .v2-content {
    padding: 80px 16px 48px;
  }
}

/* Contact page — cyan band + cloud edge (from original go-x theme) */
body.v2-contact-page {
  padding-bottom: 0;
}

.v2-content:has(.v2-contact-band) {
  max-width: none;
  margin: 0;
  padding: 0;
}

.v2-contact-band {
  margin-top: 56px;
  background-color: #00bbde;
  color: #f8f8f8;
}

.v2-contact-band-inner {
  max-width: min(960px, 100%);
  margin: 0 auto;
  padding: 64px 24px 32px;
}

.v2-contact-map {
  width: 100%;
  margin-bottom: 2em;
}

.v2-contact-map iframe {
  display: block;
  width: 100%;
  height: 344px;
  border: 0;
  border-radius: 4px;
}

.v2-contact-band h1 {
  color: #f8f8f8;
  text-align: center;
  margin: 0;
  font-size: clamp(1.4rem, 4.5vw, 2rem);
}

.v2-contact-band h1 a {
  color: #fff;
  text-decoration: none;
}

.v2-contact-band h1 a:hover {
  text-decoration: underline;
}

.v2-contact-clouds {
  display: block;
  width: 100%;
  height: clamp(63px, 12vw, 175px);
  margin-bottom: -1px;
}

@media (max-width: 767px) {
  .v2-contact-band-inner {
    padding: 48px 16px 24px;
  }

  .v2-contact-map iframe {
    height: min(344px, 70vw);
  }
}

/* Homepage — restored from original v1 layout */
body.v2-homepage {
  min-height: 100vh;
}

.v2-home-main {
  max-width: min(960px, 100%);
  margin: 0 auto;
  padding: 88px 24px 0;
}

.v2-home-hero {
  padding: 24px 0 16px;
}

.v2-home-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  font-weight: 400;
  color: #a65d4a;
  text-align: center;
  line-height: 1.3;
  margin: 0 0 1.5em;
  letter-spacing: 0.02em;
}

.v2-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(320px, 33%);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.v2-home-text p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight: 300;
  color: #5c4038;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
  margin: 0 0 0.85em;
}

.v2-home-disclaimer {
  margin-top: 1.2em;
  font-family: "Jost", sans-serif;
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
}

.v2-home-nav-hint {
  margin-top: 1.4em;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.v2-home-figure {
  margin: 0;
  justify-self: center;
  width: min(320px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 8px 40px rgba(180, 100, 80, 0.15);
  flex-shrink: 0;
}

.v2-home-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-home-clouds {
  display: block;
  width: 100vw;
  max-width: none;
  height: clamp(48px, 8vw, 96px);
  margin: 32px calc(50% - 50vw) 0;
}

@media (max-width: 767px) {
  .v2-home-main {
    padding: 80px 16px 0;
  }

  .v2-home-grid {
    grid-template-columns: 1fr;
  }

  .v2-home-figure {
    order: -1;
  }

  .v2-home-figure img {
    margin: 0 auto;
  }
}
