:root {
  --bg: #ffffff;
  --section: #f8f3eb;
  --title: #2f5d50;
  --text: #4b4b4b;
  --muted: #6c6c6c;
  --button: #4f8a67;
  --button-dark: #3f7355;
  --border: #e5dccf;
  --shadow: 0 12px 30px rgba(47, 93, 80, 0.08);
  --radius: 26px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
main p {
  text-align: justify;
  text-justify: inter-word;
}
h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
  color: var(--title);
  line-height: 1.2;
  margin-top: 0;
}
.brand-title,
.footer-name,
.eyebrow,
.eyebrow-green {
  font-family: "Montserrat", sans-serif;
}
.info-list p,
.footer-text,
.footer-credit,
.review-card span,
.tag,
.button,
.eyebrow {
  text-align: initial;
}

@media (max-width: 640px) {
  main p {
    text-align: left;
  }
}
a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.max-width-lg {
  max-width: 760px;
}

.max-width-xl {
  max-width: 920px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--title);
}

.brand-subtitle {
  font-size: 0.92rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--text);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--title);
}

.nav-cta {
  padding: 0.8rem 1.1rem;
  border-radius: 18px;
  background: var(--button);
  color: #fff !important;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--title);
  transition: 0.25s ease;
}

/* TYPO */


h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  margin: 1rem 0 0;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.eyebrow {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--section);
  color: var(--title);
  font-size: 0.9rem;
  font-weight: 600;
}

.eyebrow-green {
  color: var(--button);
  background: transparent;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

/* HERO */

.hero {
  padding: 4rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-text,
.section-heading p,
.feature-block p,
.card p,
.cta-box p {
  font-size: 1.03rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.35rem;
  border-radius: 18px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.button-primary {
  background: var(--button);
  color: #fff;
}

.button-primary:hover {
  background: var(--button-dark);
}

.button-secondary {
  border: 1px solid var(--border);
  color: var(--title);
  background: #fff;
}

.button-secondary:hover {
  background: var(--section);
}

.button-white {
  background: #fff;
  color: var(--title);
  margin-top: 1rem;
}

.tags-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}

.tag {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: var(--section);
  font-size: 0.95rem;
}

/* CARDS / BLOCS */

.card,
.feature-block,
.hero-card {
  border-radius: var(--radius);
  background: #fff;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero-card {
  background: var(--section);
}

.hero-photo {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 24px;
}

.hero-card .photo-placeholder {
  background: #fffdf8;
}

.photo-placeholder,
.map-placeholder {
  min-height: 280px;
  border-radius: 24px;
  border: 2px dashed #d7cfc2;
  background: #fbf8f3;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.photo-placeholder.tall {
  min-height: 430px;
}

.info-list {
  margin-top: 1.5rem;
}

.info-list p {
  margin: 0.6rem 0;
}

/* SECTIONS */

.section {
  padding: 5rem 0;
}

.section-beige {
  background: var(--section);
}

.section-heading {
  margin-bottom: 2.4rem;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-beige {
  background: var(--section);
  box-shadow: none;
}
.enhanced-columns {
  gap: 2rem;
  align-items: stretch;
}
.feature-white {
  background: #fff;
}

/* VISUELS TEXTE + IMAGE */

.feature-visual {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-visual-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.feature-visual-image {
  width: 100%;
}

.feature-visual-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.feature-visual-image.small img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.feature-visual-content {
  display: block;
  padding: 1.6rem;
  background: #fff;
}

.feature-visual-content h2 {
  margin: 0 0 1rem;
  color: var(--title);
}

.feature-visual-content p {
  display: block;
  margin: 0 0 1rem;
  color: var(--text);
}

.feature-visual-content p:last-child {
  margin-bottom: 0;
}
.section-mal-dos .feature-visual {
  grid-template-columns: 300px 1fr;
  gap: 0;
  min-height: 0;
  align-items: stretch;
}

.section-mal-dos .feature-visual-image {
  display: flex;
  height: auto;
}

.section-mal-dos .feature-visual-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
}

.section-mal-dos .feature-visual-content {
  padding: 1.6rem;
  background: var(--section);
}
@media (max-width: 900px) {
  .feature-visual {
    grid-template-columns: 1fr;
  }

  .feature-visual-image img {
    height: 240px;
  }

  .feature-visual-image.small img {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .feature-visual-content {
    padding: 1.25rem;
  }

  .feature-visual-image img,
  .feature-visual-image.small img {
    height: 200px;
  }
}
@media (max-width: 900px) {
  .section-mal-dos .feature-visual {
    grid-template-columns: 1fr;
  }

  .section-mal-dos .feature-visual-image img {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .section-mal-dos .feature-visual-image img {
    height: 180px;
  }
}
/* AVIS + SEO GRID */

.reviews-grid,
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.reviews-grid {
  align-items: stretch;
}

.review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.review-card .stars {
  color: #f4c542;
  font-size: 1.2rem;
  font-weight: 700;
}

.review-card p {
  text-align: justify;
  flex-grow: 1;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.review-card span {
  display: block;
  margin-top: 1rem;
  color: var(--button);
  font-weight: 600;
}

.review-text-mobile {
  display: none;
}

.seo-list {
  padding-left: 1.1rem;
  margin: 0;
}

/* CTA */

.cta-box {
  padding: 3rem 2rem;
  border-radius: 32px;
  background: var(--title);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.cta-box h2,
.cta-box .eyebrow {
  color: #fff;
}

.cta-box .eyebrow {
  background: transparent;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

/* CARROUSEL */

.photo-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 320px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  width: 100%;
  padding: 4px 2px 12px;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: #d8cfbf;
  border-radius: 999px;
}

.carousel-track::-webkit-scrollbar-track {
  background: #f3ede3;
  border-radius: 999px;
}

.carousel-item {
  flex: 0 0 calc(33.333% - 11px);
  height: 320px;
  object-fit: cover;
  border-radius: 24px;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  background: #fbf8f3;
  cursor: pointer;
}

.carousel-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--title);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.carousel-btn:hover {
  background: var(--section);
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 5000;
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border);
  background: #f3ede3;
  padding: 24px 0 16px;
}

.footer-wrapper {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-left,
.footer-right {
  width: 48%;
}

.footer-right {
  text-align: right;
}

.footer-name {
  margin: 0;
  font-weight: 700;
  color: var(--title);
}

.footer-text {
  margin: 4px 0;
  color: var(--muted);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .hero-grid,
  .two-columns,
  .reviews-grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 0.85rem 0.2rem;
  }

  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 900px) {
  .carousel-item {
    flex: 0 0 calc(50% - 8px);
    height: 280px;
  }

  .feature-visual {
    grid-template-columns: 1fr;
  }

  .feature-visual-image img {
    min-height: 240px;
  }

  .feature-visual-image.small img {
    min-height: 220px;
    max-height: 220px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }

  .footer-right {
    text-align: left;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .header-inner {
    gap: 0.8rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .section {
    padding: 3.8rem 0;
  }

  .card,
  .feature-block,
  .hero-card {
    padding: 1.4rem;
  }

  .cta-box {
    padding: 2.4rem 1.4rem;
  }

  .tags-grid {
    grid-template-columns: 1fr;
  }

  .feature-enhanced::before {
    top: 18px;
    left: 18px;
    width: 42px;
  }

  .feature-enhanced h2 {
    padding-top: 0.8rem;
  }
}
.footer-bottom {
  width: 100%;
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.footer-credit {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .photo-carousel {
    gap: 8px;
  }

  .carousel-item {
    flex: 0 0 100%;
    height: 240px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

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

  .review-card {
    padding: 1.2rem;
  }

  .review-text-desktop {
    display: none;
  }

  .review-text-mobile {
    display: block;
  }

  .review-card p {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.55;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    margin: 0;
  }

  .review-card span {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .feature-visual-content,
  .feature-visual-card .feature-visual-content {
    padding: 1.25rem;
  }

  .feature-visual-image img,
  .feature-visual-image.small img {
    min-height: 200px;
    max-height: 200px;
  }
}
#consultations-specifiques .enhanced-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

#consultations-specifiques .feature-visual-card {
  height: 100%;
}

@media (max-width: 900px) {
  #consultations-specifiques .enhanced-columns {
    grid-template-columns: 1fr;
  }
}
#cabinet .two-columns {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
}

#cabinet .photo-carousel {
  min-height: 420px;
  margin-top: 150px;
}

#cabinet .carousel-track {
  height: 100%;
}

#cabinet .carousel-item {
  flex: 0 0 calc(50% - 8px);
  height: 420px;
}
.cta-description {
  margin: 0 auto 1rem;
  max-width: 520px;
  text-align: center;
}
@media (max-width: 640px) {
  .cta-description {
    margin: 0 auto 1rem;
    max-width: 100%;
    text-align: center;
  }
}
#consultations-specifiques .feature-visual-content h2 {
  font-size: 1.55rem;
  line-height: 1.25;
}
@media (max-width: 640px) {
  #consultations-specifiques .feature-visual-content h2 {
    font-size: 1.25rem;
  }
}
@media (max-width: 1024px) {
  #cabinet .two-columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  #cabinet .photo-carousel {
    width: 100%;
    min-height: auto;
    margin-top: 0;
  }

  #cabinet .carousel-track {
    width: 100%;
    min-width: 0;
    padding-bottom: 8px;
  }

  #cabinet .carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: 260px;
  }
}

@media (max-width: 640px) {
  #cabinet .photo-carousel {
    gap: 8px;
  }

  #cabinet .carousel-item {
    height: 220px;
    border-radius: 20px;
  }

  #cabinet .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }
}