@import url("./navbar.css");
@import url("./footer.css");

/* =========================================
   DESIGN TOKENS
   ========================================= */
:root {
  /* Colors — palette éditoriale : écru · encre · sauge · terracotta */
  --color-bg:           #F5F2EE;   /* lin chaud */
  --color-surface:      #FFFFFF;
  --color-navy:         #1C1C1A;   /* encre quasi-noire — plus éditorial que bleu corporate */
  --color-navy-mid:     #3A3835;
  --color-gold:         #6D8F7E;   /* vert sauge — remplace l'or bling */
  --color-gold-light:   #9BB5A9;   /* sauge clair */
  --color-terra:        #B8724E;   /* terracotta — pour les CTA chauds */
  --color-text:         #2A2825;
  --color-text-muted:   #7A7370;
  --color-text-on-dark: #EDE9E4;
  --color-border:       #DDD8D0;

  /* Typography — Playfair pour les titres, Montserrat pour les labels */
  --font-body:    'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;   /* titres éditoriaux */
  --font-label:   'Montserrat', sans-serif;    /* eyebrows, nav, boutons */
  --font-serif:   'Playfair Display', serif;

  /* Shadows — plus douces, teinte chaude */
  --shadow-sm:   0 1px 4px rgba(28,28,26,0.06);
  --shadow-md:   0 4px 20px rgba(28,28,26,0.08);
  --shadow-lg:   0 8px 40px rgba(28,28,26,0.11);
  --shadow-gold: 0 4px 20px rgba(109,143,126,0.18);

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.45s ease;

  /* Layout */
  --container-max:  1100px;
  --section-pad-h:  clamp(1.25rem, 4vw, 3rem);
  --section-pad-v:  clamp(2rem, 5vw, 4rem);
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html:has(.unscrollable) {
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  line-height: 1.6;
}

.unscrollable {
  overflow: hidden !important;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);  /* Playfair Display — éditorial */
}

h3, h4, h5 {
  font-family: var(--font-label);    /* sous-titres en Montserrat */
}

strong {
  font-weight: 600;
}

.special {
  font-family: var(--font-serif);
}

/* =========================================
   SECTION BASE
   ========================================= */
section {
  width: min(90%, var(--container-max));
  margin: 0 auto;
  padding: var(--section-pad-v) var(--section-pad-h);
}

section h2,
section h1 {
  position: relative;
  color: var(--color-navy);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-style: italic;          /* Playfair italic = signature artistique */
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 28px;
}

section h2::after,
section h1::after {
  content: "";
  display: block;
  height: 2px;
  width: 32px;
  background: var(--color-gold);  /* sauge */
  margin-top: 10px;
}

section p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--color-text);
}

/* =========================================
   CTA BUTTONS (section-level links)
   ========================================= */
section a:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):not(ul a):not(.service-card):not(.faq-preview a) {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--color-navy);
  color: var(--color-text-on-dark);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  transition: var(--transition-base);
  cursor: pointer;
  margin-top: 12px;
  width: fit-content;
}

section a:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):not(ul a):not(.service-card):not(.faq-preview a) span {
  color: var(--color-text-on-dark);
  font-weight: 700;
}

section a:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):not(ul a):not(.service-card):not(.faq-preview a):hover {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

section a:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out):not(ul a):not(.service-card):not(.faq-preview a):hover span {
  color: var(--color-navy);
}

/* =========================================
   FIGURES
   ========================================= */
section figure {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 1050px) {
  section figure {
    flex-direction: column-reverse;
    align-items: center;
  }
}

section figure figcaption {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

@media (max-width: 1050px) {
  section figure figcaption {
    width: 100%;
  }
}

section figure img {
  max-height: 380px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

@media (max-width: 1050px) {
  section figure img {
    width: 100%;
    max-height: 260px;
  }
}

/* =========================================
   SECTION UL (nav-style lists)
   ========================================= */
section ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 80%;
  margin: auto;
}

section ul li a {
  list-style: none;
  border: 1px solid var(--color-navy);
  color: var(--color-navy) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  width: 280px;
  height: 90px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-base);
}

section ul li a:hover {
  background: var(--color-navy);
  color: var(--color-text-on-dark) !important;
}

section b {
  display: block;
  font-size: 1.2rem;
  text-align: center;
  width: 100%;
  color: var(--color-gold);
}

/* =========================================
   PAGE TITLE
   ========================================= */
h1.page-title {
  width: min(90%, var(--container-max));
  margin: 0 auto;
  padding: 3rem var(--section-pad-h) 1rem;
  color: var(--color-navy);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

h1.page-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-gold);
  margin-top: 10px;
}

/* =========================================
   SECTION EYEBROW
   ========================================= */
.section-eyebrow {
  display: block;
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);          /* sauge */
  margin-bottom: 10px;
  font-weight: 600;
}

/* =========================================
   BUTTON UTILITIES
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  border: 1.5px solid transparent;
  transition: var(--transition-base);
  cursor: pointer;
  width: fit-content;
}

/* Terracotta — CTA chaud, moins bling que l'or */
.btn-gold {
  background: var(--color-terra);
  color: #FFFFFF;
  border-color: var(--color-terra);
}

.btn-gold:hover {
  background: #A66340;
  border-color: #A66340;
}

.btn-navy {
  background: var(--color-navy);
  color: var(--color-text-on-dark);
  border-color: var(--color-navy);
}

.btn-navy:hover {
  background: var(--color-navy-mid);
  border-color: var(--color-navy-mid);
}

.btn-outline-light {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
}

.btn-navy-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-navy-outline:hover {
  background: var(--color-navy);
  color: var(--color-text-on-dark);
}

/* =========================================
   UTILITIES
   ========================================= */
.flex {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.justify-content-center {
  justify-content: center;
}

.gap-10 {
  gap: 10px;
}
