:root {
  --bg: #ffffff;
  --brand-1: #8b9b9d;
  --brand-2: #797063;
  --radius: 16px;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --max-w: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Alice", serif;
  background: var(--bg);
  color: var(--brand-2);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Alice", serif;
  color: var(--brand-2);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* ================================
       Header + Nav burger
       ================================ */
.header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 10;
}

.header_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.brand_logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
}

.brand_name {
  text-decoration: none;
  color: var(--brand-1);
  font-weight: 700;
  font-family: "Cedarville Cursive", cursive;
  font-size: 1.4rem;
}

/* Nav cachée par défaut en mobile */
.nav {
  display: none;
  gap: var(--space-2);
}

.nav a {
  text-decoration: none;
  color: var(--brand-2);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

.nav a:hover {
  background: #f3f4f6;
}

/* Bouton burger */
.nav-toggle {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.nav-toggle_bars {
  width: 18px;
  height: 12px;
  position: relative;
}

.nav-toggle_bars::before,
.nav-toggle_bars::after,
.nav-toggle_bars span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #797063;
  border-radius: 2px;
}

.nav-toggle_bars span {
  top: 5px;
}

.nav-toggle_bars::before {
  top: 0;
}

.nav-toggle_bars::after {
  bottom: 0;
}

/* Nav ouverte en mobile */
.nav.nav--open {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-2) 0 var(--space-3);
}

/* ================================
       Hero
       ================================ */
.hero {
  padding: var(--space-5) 0 var(--space-4);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--brand-1) 12%, white),
    white
  );
}

.hero_inner {
  display: grid;
  gap: var(--space-3);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.hero_title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.hero_text {
  color: var(--brand-1);
  max-width: 65ch;
}

.btn {
  display: inline-block;
  background: var(--brand-2);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.95;
}

/* ================================
       Sections
       ================================ */
.section {
  padding: var(--space-5) 0;
  text-align: center;
}

.section--alt {
  background: #f8fafc;
}

.section_title {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.section_lead {
  margin: 0 0 var(--space-3);
  color: var(--brand-1);
  max-width: 65ch;
  margin-inline: auto;
}

/* ================================
       Grilles & cartes
       ================================ */
.grid {
  display: grid;
  gap: var(--space-3);
}

.cards {
  grid-template-columns: 1fr;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-3);
  text-align: center;
}

.card_title {
  margin: 0.25rem 0;
  font-size: 1.1rem;
}

.card_text {
  margin: 0;
  color: var(--brand-1);
  font-family: "Cedarville Cursive", cursive;
}

.card_media {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: color-mix(in srgb, var(--brand-1) 10%, white);
  margin-inline: auto;
  margin-bottom: var(--space-2);
}

.card_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================
       À propos
       ================================ */
.about {
  display: grid;
  gap: var(--space-3);
  justify-items: center;
  text-align: center;
}

.about_box {
  background: #fff;
  border-left: 6px solid var(--brand-1);
  border-radius: 10px;
  padding: var(--space-3);
  box-shadow: var(--shadow);
  max-width: 65ch;
}

/* ================================
       Galerie
       ================================ */
.gallery {
  grid-template-columns: 1fr 1fr;
}

.gallery_item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ================================
       Planity
       ================================ */
.planity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: color-mix(in srgb, var(--brand-1) 10%, white);
  border: 1px solid color-mix(in srgb, var(--brand-1) 35%, white);
  padding: var(--space-3);
  border-radius: var(--radius);
  flex-wrap: wrap;
  text-align: center;
}

.planity_text {
  margin: 0;
}

/* ================================
       Contact
       ================================ */
li {
  list-style: none;
}

/* ================================
       Footer
       ================================ */
.footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: var(--space-4) 0;
}

.footer_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer_copy {
  margin: 0;
  color: var(--brand-1);
}

.footer_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer_nav a {
  text-decoration: none;
  color: inherit;
}

.footer_nav a:hover {
  text-decoration: underline;
}

/* ================================
       Desktop ≥ 768px : réalignements
       ================================ */
@media (min-width: 768px) {
  .header_inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .brand {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .brand_logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  /* Nav visible, burger caché */
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .hero_inner {
    grid-template-columns: 1.2fr 1fr;
    text-align: left;
    justify-items: stretch;
  }

  .section {
    text-align: left;
  }

  .section_lead {
    margin-inline: 0;
  }

  .cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .about {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    justify-items: stretch;
  }

  .footer_inner {
    justify-content: space-between;
    text-align: left;
  }
}

/* ================================
Mentions légales & 
Politique de confidentialité
================================ */
.section_intro {
  color: var(--brand-1);
  margin: 0 0 var(--space-3);
}
.content_block {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-3);
  margin: 0 0 var(--space-3);
}
.content_block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.content_block p,
.content_block li {
  color: var(--brand-2);
}

/* Listes claires et aérées */
.content_block ul {
  padding-left: 1.2rem;
  margin: 0.25rem 0 0;
}
.content_block ul li {
  list-style: disc;
}

/* Liens */
.main a {
  color: var(--brand-2);
}
.main a:hover {
  text-decoration: underline;
}

/* Tableau simple */
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.table th,
.table td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.table thead th {
  background: color-mix(in srgb, var(--brand-1) 12%, white);
  color: var(--brand-2);
}
.table tbody tr:last-child td {
  border-bottom: none;
}

/* Conteneur pour ces pages */
.main .container {
  display: grid;
  gap: var(--space-3);
}
