:root {
  scroll-padding-top: 140px;
  --header-offset: 165px;
  --container-max-width: 1200px;
  --container-padding-x: 16px;

  --font-title: "Playfair Display", serif;
  --font-body: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-alt: "Raleway", system-ui, sans-serif;

  --fs-h1: 40px;
  --fs-h2: 32px;
  --fs-h3: 22px;
  --fs-body: 16px;
  --fs-small: 14px;

  --lh-title: 1.2;
  --lh-body: 1.6;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --color-primary: #E8C7D0;
  --color-secondary-1: #AFC7DA;
  --color-secondary-2: #CDB7E9;
  --color-accent: #DCC7A1;
  --color-accent-soft: #E8D9B5;

  --color-bg: #F7E9EE;
  --color-surface: #FFFFFF;

  --color-text-main: #3B3337;
  --color-text-muted: rgba(59, 51, 55, 0.7);
  --color-border-subtle: rgba(59, 51, 55, 0.12);
  --color-border-softer: rgba(59, 51, 55, 0.08);
}

@media (min-width: 1024px) {
  :root {
    scroll-padding-top: 110px;
    --container-max-width: 1300px;
  }
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  min-height: 100vh;
}

body {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--color-text-main);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  width: 100%;
  margin: auto;
}

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

p {
  text-align: center;
}

a {
  text-decoration: none;
  color: var(--color-text-main);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover {
  color: var(--color-primary);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 3rem;
}

button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 40px var(--container-padding-x);
  text-align: inherit;
}

@media (min-width: 1024px) {
  .container {
    padding: 60px 32px;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  line-height: var(--lh-title);
  color: var(--color-text-main);
  text-align: center;
}

h1 {
  font-size: var(--fs-h1);
  margin-bottom: 12px;
}

h2 {
  font-size: var(--fs-h2);
  margin-bottom: 20px;
}

h3 {
  font-size: var(--fs-h3);
  margin-bottom: 10px;
}

p {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.surtitle {
  font-family: var(--font-alt);
  font-size: var(--fs-small);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.baseline {
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto 24px;
  color: var(--color-text-main);
}

.small {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.top-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background-color: var(--color-surface);
  opacity: 0.98;
  border-bottom: 1px solid var(--color-accent);
  box-shadow: 0 4px 12px rgba(59, 51, 55, 0.3);
}

.header-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
}

.topbar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.logo img {
  height: 100px;
}

.header-cta-wrapper {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 14px;
  background-color: var(--color-primary);
  color: var(--color-text-main);
  border: 1px solid var(--color-border-softer);
  text-decoration: none;
  transition: all 0.25s;
}

.header-cta:hover {
  background-color: #D9B4BE;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-cta:active {
  background-color: #CFA3B0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.header-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.navbar {
  display: none;
}

.navbar-mobile {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.btn-menu img {
  height: 32px;
}

.menu {
  position: absolute;
  top: var(--header-offset);
  left: 0;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-accent);
  transition: max-height 0.3s ease;
}

.menu ul {
  text-align: center;
}

.menu li {
  margin: 30px;
}

.menu a {
  padding: 30px;
}

.menu--active {
  max-height: calc(100vh - var(--header-offset));
  opacity: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.banner {
  margin: 20px;
}

@media (min-width: 1024px) {
  .header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 12px 32px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .logo img {
    height: 90px;
  }

  .navbar {
    display: block;
    flex: 1;
  }

  .navbar ul {
    display: flex;
    justify-content: center;
    gap: 40px;
  }

  .navbar a {
    font-family: var(--font-alt);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .header-cta-wrapper {
    display: block;
  }

  .navbar-mobile {
    display: none;
  }

  .menu {
    display: none !important;
  }

  .banner img,
  .banner picture {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
  }
}

#accueil {
  background: linear-gradient(180deg,
      rgba(232, 199, 208, 0.16),
      rgba(247, 233, 238, 1));
  text-align: center !important;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.accueil-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 800px;
  margin: auto;
  padding: 60px 16px 80px;
}

.accueil-logo {
  width: 260px;
  border-radius: 40px;
  margin: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 200px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-main);
  box-shadow: 0 6px 18px rgba(59, 51, 55, 0.22);
  border-color: var(--color-border-softer);
}

.btn-primary:hover {
  background: #D9B4BE;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--color-surface);
  color: var(--color-text-main);
  border-color: rgba(59, 51, 55, 0.2);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

@media (min-width: 1024px) {

  .accueil-container {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    grid-auto-rows: auto;
    column-gap: 32px;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
  }

  #accueil .surtitle {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  #accueil h1 {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .accueil-logo {
    grid-column: 1;
    grid-row: 3;
    width: 260px;
    border-radius: 40px;
    margin: 0;
  }

  #accueil .baseline {
    grid-column: 2;
    grid-row: 3;
    text-align: left;
    margin: 0;
  }

  #accueil .hero-actions {
    grid-column: 1 / -1;
    grid-row: 4;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
  }

  #accueil .hero-actions .btn {
    min-width: 200px;
  }
}


.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: var(--color-surface);
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 12px 30px rgba(59, 51, 55, 0.12);
}

.card h3 {
  text-align: center;
}

.service-block {
  margin-bottom: 28px;
  padding: 20px 18px;
  border-radius: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 10px 24px rgba(59, 51, 55, 0.1);
}

.service-tagline {
  font-family: var(--font-alt);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.service-block ul {
  list-style: none;
  padding-left: 0;
}

.service-block li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
}

.service-block li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.6;
  transform: translateY(-50%);
}

.service-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.price {
  font-weight: var(--fw-semibold);
  color: var(--color-text-main);
}

.note {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

#tarifs ul {
  list-style: none;
  padding-left: 0;
}

#tarifs li {
  margin-bottom: 10px;
}

.table-hours {
  width: 100%;
  margin-top: 14px;
  border-radius: 16px;
  border-collapse: collapse;
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 10px 24px rgba(59, 51, 55, 0.1);
}

.table-hours thead {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary-2));
}

.table-hours th,
.table-hours td {
  padding: 10px 12px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border-softer);
}

.social-list {
  list-style: none;
  padding: 0;
  text-align: start;
}

.social-list li {
  margin-bottom: 10px;
}

.g-maps-card {
  width: 100%;
  margin-top: 24px;
}

.g-maps-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 12px;
}

.g-maps {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

#equipe .card {
  background: linear-gradient(180deg,
      rgba(232, 199, 208, 0.25),
      rgba(255, 255, 255, 0.9));
}

@media (min-width: 1024px) {
  .two-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .three-columns {
    grid-template-columns: repeat(3, 1fr);
  }

  .card,
  .service-block {
    padding: 24px 22px;
  }

  .service-cta {
    flex-direction: row;
    justify-content: center;
  }

  .g-maps-card {
    width: 70%;
    margin: 32px auto 0;
  }

  .table-hours th,
  .table-hours td {
    padding: 12px 16px;
    font-size: 15px;
  }
}

footer {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  padding: 32px 0 24px;
  font-family: var(--font-body);
  border-top: 1px solid var(--color-border-subtle);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-inline: var(--container-padding-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-logo img {
  width: 140px;
  height: auto;
  margin-bottom: 8px;
}

.footer-logo p {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  text-align: center;
}

.footer-links ul li {
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-contact p {
  margin-bottom: 6px;
  font-size: 14px;
}

.footer-contact a {
  color: var(--color-text-main);
  transition: color 0.25s;
}

.footer-contact a:hover {
  color: var(--color-primary);
}

.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  padding: 32px 0 24px;
  border-top: 1px solid var(--color-border-subtle);
}

.footer-socials-links {
  display: flex;
  gap: 8px;
}

.footer-socials img {
  width: 46px;
  height: 46px;
  display: block;
  cursor: pointer;
  transition: transform 0.25s, opacity 0.25s;
}

.footer-socials img:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 12px;
  text-align: center;
  border-top: 1px solid var(--color-border-subtle);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(59, 51, 55, 0.6);
}

.noshirama,
.noshirama a {
  background-color: #000;
  color: #fff;
}

@media (min-width: 1024px) {
  footer {
    padding: 60px 0 30px;
  }

  .footer-container {
    padding-inline: 24px;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    text-align: left;
    gap: 60px;
  }

  .footer-logo img {
    width: 160px;
  }

  .footer-logo p,
  .footer-links a,
  .footer-contact p {
    font-size: 15px;
  }

  .footer-links ul li {
    margin-bottom: 8px;
  }

  .footer-bottom {
    margin-top: 40px;
    padding-top: 16px;
  }

  .footer-bottom p {
    font-size: 14px;
  }

  .noshirama {
    text-align: center;
    padding: 6px 0;
    font-size: 14px;
  }
}

/* MadD */

#madd-intro {
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

#madd-intro .madd-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

#madd-intro .portrait-wrapper {
  max-width: 260px;
  margin-inline: auto;
}

#madd-intro .portrait-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}

#madd-intro .intro-text {
  max-width: 560px;
}

@media (min-width: 1024px) {
  #madd-intro .madd-layout {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 400px;
    gap: 24px;
    margin: 0 auto;
    width: max-content;
  }

  #madd-intro .portrait-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
  }

  #madd-intro .portrait-wrapper img {
    height: 100%;
    width: auto;
    max-height: 400px;
    border-radius: 20px;
    object-fit: cover;
  }

  #madd-intro .intro-text {
    max-width: 560px;
  }

  #madd-intro .intro-text,
  #madd-intro .intro-text p,
  #madd-intro h1,
  #madd-intro .surtitle {
    text-align: left;
  }
}

#parcours .text-block {
  max-width: 720px;
  margin: 0 auto 24px;
}

#parcours .text-block p {
  text-align: left;
}

#parcours .timeline {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding-left: 18px;
  text-align: left;
}

#parcours .timeline li {
  position: relative;
  font-size: var(--fs-body);
  color: var(--color-text-main);
}

#parcours .timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--color-border-softer);
}

#parcours .timeline li::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translateY(-50%);
}

#philosophie .text-block {
  max-width: 720px;
  margin: 0 auto 20px;
}

#philosophie .text-block p {
  text-align: left;
}

#philosophie .image-block {
  min-height: 220px;
  border-radius: 18px;
  border: 1px dashed var(--color-border-softer);
  background: rgba(255, 255, 255, 0.4);
}

@media (min-width: 1024px) {
  #philosophie .grid.two-columns {
    align-items: center;
    gap: 32px;
  }

  #philosophie .text-block {
    margin: 0;
  }

  #philosophie .text-block p {
    text-align: left;
  }
}

#specialites .grid.three-columns {
  gap: 24px;
}

#specialites .card p {
  text-align: left;
  margin-top: 6px;
}

@media (min-width: 1024px) {
  #specialites .grid.three-columns {
    max-width: 1000px;
    margin: 0 auto;
  }
}

/* Galerie */

.gallery {
  padding: 2rem 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.gallery-item {
  width: 100%;
  display: block;
  border-radius: 0.75rem;
  object-fit: cover;
  cursor: zoom-in;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .gallery {
    padding: 3rem 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 1rem;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 480px) {
  .lightbox-close {
    top: 0.5rem;
    right: 0.75rem;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
  }
}

/* CTA */

.cta-section {
  border-top: 1px solid var(--color-border-subtle);
  padding: 40px 16px 60px;
  text-align: center;
  background: linear-gradient(180deg,
      rgba(232, 199, 208, 0.24),
      rgba(247, 233, 238, 1));
}

#cta h2 {
  margin-bottom: 12px;
}

#cta p {
  max-width: 520px;
  margin: 0 auto 20px;
}

@media (min-width: 1024px) {
  .cta-section {
    padding: 60px 0 80px;
  }

  #cta .container {
    text-align: center;
  }
}