/* =========================================================
   Sun' Bar — feuille de style
   Palette et typographies reprises de la version d'origine :
   gris #949494, anthracite #222, fond clair #f5f5f5,
   titres Lobster, textes Montserrat.
   ========================================================= */

:root {
  --gris:          #949494;
  --gris-fonce:    #6c757d;
  --anthracite:    #222222;
  --noir:          #1c1c1c;
  --clair:         #f5f5f5;
  --blanc:         #ffffff;
  --texte:         #222222;
  --texte-doux:    #5a5a5a;

  --voile:         rgba(0, 0, 0, .55);
  --ombre:         0 4px 20px rgba(0, 0, 0, .1);
  --ombre-forte:   0 10px 30px rgba(0, 0, 0, .25);

  --rayon:         12px;
  --rayon-petit:   8px;

  --largeur:       1100px;
  --gouttiere:     20px;

  --police-titre:  "Lobster", cursive;
  --police-texte:  "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */

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

body,
h1, h2, h3, p, ul, figure, address { margin: 0; }

ul { padding: 0; list-style: none; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--police-texte);
  color: var(--texte);
  background-color: var(--clair);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gris-fonce); }

:focus-visible {
  outline: 3px solid var(--gris);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.muted { color: var(--texte-doux); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--noir);
  color: var(--blanc);
  padding: 12px 18px;
  border-radius: 0 0 var(--rayon-petit) 0;
  text-decoration: none;
}

.skip-link:focus { left: 0; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 28, 28, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.nav__inner {
  max-width: var(--largeur);
  margin-inline: auto;
  padding: 14px var(--gouttiere);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nav__brand {
  font-family: var(--police-titre);
  font-size: 1.6rem;
  color: var(--blanc);
  text-decoration: none;
  line-height: 1;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}

.nav__links a {
  color: #e6e6e6;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: color .25s ease;
}

.nav__links a:hover { color: var(--blanc); }

.nav__cta {
  border: 1px solid var(--gris);
  border-radius: var(--rayon-petit);
  padding: 8px 16px;
  transition: background-color .25s ease, color .25s ease;
}

.nav__cta:hover {
  background-color: var(--gris);
  color: var(--noir);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px var(--gouttiere);
  background-image: url("fond-header.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, .65));
}

.hero__overlay {
  position: relative;
  max-width: 640px;
  padding: 44px 40px;
  border-radius: var(--rayon);
  background: rgba(0, 0, 0, .45);
  box-shadow: var(--ombre-forte);
  color: var(--blanc);
}

.hero__title {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 2px solid var(--gris);
  border-radius: var(--rayon-petit);
  background-color: var(--gris);
  color: var(--blanc);
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.btn:hover {
  background-color: #7f7f7f;
  border-color: #7f7f7f;
  transform: translateY(-2px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--blanc);
}

.btn--ghost:hover {
  background-color: var(--blanc);
  border-color: var(--blanc);
  color: var(--anthracite);
}

/* ---------- Sections ---------- */

.section { padding: 80px 0; }

.section--light {
  background-color: var(--blanc);
  border-top: 4px solid var(--gris);
  border-bottom: 4px solid var(--gris);
  text-align: center;
}

.section__title {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  color: #444;
  margin-bottom: 10px;
}

.section__intro {
  color: var(--texte-doux);
  margin-bottom: 32px;
}

.section__link { margin-top: 18px; }

.section__link a {
  color: var(--gris-fonce);
  font-weight: 600;
  text-decoration: none;
  transition: color .25s ease;
}

.section__link a:hover {
  color: var(--gris);
  text-decoration: underline;
}

/* ---------- Carte Google ---------- */

.map {
  max-width: 800px;
  margin-inline: auto;
  border: 4px solid var(--gris);
  border-radius: var(--rayon);
  overflow: hidden;
  line-height: 0;
}

.map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ---------- Infos pratiques ---------- */

.section--photo {
  position: relative;
  background-image: url("fond-header.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--voile);
}

.section--photo > .container { position: relative; }

.infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.infos__card {
  background: rgba(255, 255, 255, .9);
  padding: 32px 30px;
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}

.infos__card h2 {
  font-family: var(--police-titre);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--anthracite);
  margin-bottom: 10px;
}

.infos__card address { font-style: normal; }

.infos__card a {
  color: var(--gris-fonce);
  font-weight: 600;
  text-decoration: none;
}

.infos__card a:hover {
  color: var(--gris);
  text-decoration: underline;
}

/* ---------- Pied de page ---------- */

.footer {
  background-color: var(--anthracite);
  color: #cccccc;
  padding: 40px 0;
  text-align: center;
  font-size: .9rem;
}

.footer__inner { display: grid; gap: 10px; }

.footer__brand {
  font-family: var(--police-titre);
  font-size: 1.6rem;
  color: var(--blanc);
}

.footer a {
  color: #cccccc;
  text-decoration: none;
  transition: color .25s ease;
}

.footer a:hover {
  color: var(--blanc);
  text-decoration: underline;
}

.footer__legal { color: #8f8f8f; font-size: .82rem; }

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .section { padding: 60px 0; }

  .hero {
    min-height: 78vh;
    padding: 80px var(--gouttiere);
  }

  .hero__overlay { padding: 32px 24px; }

  .hero__actions { flex-direction: column; }

  .btn { width: 100%; text-align: center; }

  .map iframe { height: 300px; }

  .nav__inner {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 12px var(--gouttiere);
  }

  .nav__brand { font-size: 1.4rem; }

  .nav__links {
    justify-content: center;
    gap: 8px 16px;
  }

  .nav__links a { font-size: .88rem; }

  .nav__cta { padding: 6px 14px; }
}

/* ---------- Accessibilité : animations réduites ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after { transition: none !important; }

  .btn:hover { transform: none; }
}
