/* ============================
   Base
============================ */

:root {
  --color-text: #000;
}

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

html,
body {
  margin: 0;
  font-family: 'Spectral', serif;
  font-size: 16px;
  font-weight: 200;
  line-height: 1.6;
  color: var(--color-text);
}

/* ============================
   Typography
============================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Bellefair', serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em 0;
}

p {
  margin-bottom: 1rem;
}

em,
i {
  font-style: italic;
  font-weight: 300;
}

/* ============================
   Links
============================ */

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================
   Header
============================ */

.site-header {
  position: relative;
  padding: 2rem;
}

/* ============================
   Logo
============================ */

.site-logo {
  text-align: center;
}

.site-logo img {
  max-width: 260px;
  height: auto;
  display: inline-block;
}

/* ============================
   Language switcher
============================ */

#language_switcher {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 0.85rem;
}

#language_switcher a {
  font-weight: 500;
  color: #4f4e4e;
}

#language_switcher a.active {
  color: #000;
}

/* ============================
   Main container
============================ */

.site-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================
   Hero slider
============================ */

.hero-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-slider img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================
   Swiper pagination
============================ */

.swiper-pagination {
  bottom: 0;
  text-align: center;
  margin-top: 0.75em;
  position: relative;
}

.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  margin: 0 14px;
  background: transparent;
  border: 1px solid #00000030;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #00000030;
}

/* ============================
   Intro section
============================ */

.intro-section {
  max-width: 1020px;
  margin: 4rem auto;
  text-align: center;
}

.intro-title {
  font-size: 2.75em;
  letter-spacing: 0.08em;
}

.intro-title::after {
  content: '';
  display: block;
  width: 40%;
  height: 1px;
  background-color: #000;
  margin: 2rem auto 0;
}

.intro-text {
  font-size: 1.50em;
  font-style: italic;
  line-height: 1.4;
}

/* ============================
   Content blocs
============================ */

.content-bloc img {
  width: 100%;
  height: auto;
}

.content-bloc h2 {
  font-size: 2.75em;
}

.content-bloc h2::after {
  content: '';
  display: block;
  width: 40%;
  height: 1px;
  background-color: #000;
  margin: 1rem auto 0;
}

.content-bloc p {
  font-size: 1.25em;
}

/* ============================
   À propos
============================ */

.apropos {
  font-size: 1.15em;
  font-style: italic;
  margin-bottom: 4rem;
}

.apropos img.title {
  max-width: 200px;
  height: auto;
}

.apropos-title img {
  max-width: 200px;
  margin-top: 1rem;
  height: auto;
}

/* ============================
   Divider
============================ */

.divider {
  width: 100%;
  height: 1px;
  background-color: #000;
  margin: 4rem 0;
}

/* ============================
   Footer
============================ */

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  background: #000;
  color: #fff;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  padding: 0.75rem 1.5rem;
}

.footer-mail {
  grid-column: 2;
  justify-self: center;
  color: #fff;
}

.footer-socials {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 1rem;
}

.social-link {
  color: #fff;
}

.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-link:hover {
  opacity: 0.7;
}

/* ============================
   Footer responsive
============================ */

@media (max-width: 576px) {
  .site-footer {
    grid-template-columns: 1fr;
    row-gap: 0.5rem;
    text-align: center;
  }

  .footer-mail,
  .footer-socials {
    grid-column: 1;
    justify-self: center;
  }
}

/* ============================
   Footer compensation
============================ */

body {
  padding-bottom: 72px;
}

/* ============================
   Small screens
============================ */

@media (max-width: 480px) {
  #language_switcher {
    position: static;
    text-align: right;
    margin-bottom: 0.5rem;
  }
}

/* ============================
   Responsive typography – Mobile
   (à ajuster librement)
============================ */

@media (max-width: 576px) {

  /* Intro */
  .intro-title {
    font-size: 2.4em;      /* desktop: 3.75em */
  }

  .intro-text {
    font-size: 1.4em;      /* desktop: 2.25em */
  }

  /* Titres de sections */
  .content-bloc h2 {
    font-size: 2.2em;      /* desktop: 3.25em */
  }

  /* Paragraphes généraux */
  .content-bloc p,
  .apropos {
    font-size: 1.15em;     /* desktop: 1.5em */
  }

  /* Marges verticales plus compactes */
  .intro-section {
    margin: 2.5rem auto;
  }

  .divider {
    margin: 2.5rem 0;
  }
}
