/* ─── VARIABLES ─────────────────────────────── */
:root {
  --sand:       #f5f0e8;
  --sand-dark:  #ede6d6;
  --cream:      #faf7f2;
  --teal:       #4ecdc4;
  --teal-dark:  #3ab8b0;
  --charcoal:   #2a2a2a;
  --warm-gray:  #8a8178;
  --brown:      #6b5c4e;
  --border:     rgba(107,92,78,0.2);
  --shadow:     rgba(42,42,42,0.08);
}

/* ─── RESET & BASE ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Tenor Sans', serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
}
img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ────────────────────────────── */
h1, h2, h3 {
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.serif { font-family: 'Cormorant Garamond', serif; }

/* ─── NAVIGATION ────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 3rem;
  width: 100%;
  display: flex; align-items: center; justify-content: flex-start; gap:4rem;
  height: 88px;
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px var(--shadow); }

.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .85rem; letter-spacing: .18em;
  color: var(--teal); text-transform: uppercase; line-height: 1.3;
}
.nav-logo img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; display: block; }

.nav-links { display: flex; gap: .5rem; align-items: center; width: 100%; justify-content: center; }

.nav-links a {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--charcoal);
  padding: 7px 14px;
  border-radius: 999px;
  border-bottom: 2px solid transparent;
  transition: background .25s, color .25s, border-color .25s;
  white-space: nowrap;
  position: relative;
}
.nav-links a::after { display: none; }

.nav-links a:not(.btn-devis):hover,
.nav-links a:not(.btn-devis).active {
  background: #f0ede7;
  border-bottom-color: var(--teal);
}

.nav-links .btn-devis {
  border: 1.5px solid var(--charcoal);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--charcoal);
  border-bottom-width: 1.5px;
  background: transparent;
}
.nav-links .btn-devis:hover,
.nav-links .btn-devis.active {
  background: var(--charcoal) !important;
  color: var(--cream) !important;
  border-color: var(--charcoal) !important;
  border-bottom-color: var(--charcoal) !important;
}

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--charcoal); transition: .3s; }
/* ─── PAGE WRAPPER ──────────────────────────── */
.page-content { padding-top: 72px; }

/* ─── SECTIONS GÉNÉRALES ────────────────────── */
section { padding: 7rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }
.section-tag {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .6rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: .75rem;
}
.section-title {
  font-size: 1.2rem; letter-spacing: .1em;
  margin-bottom: 2.5rem; color: var(--charcoal);
  text-transform: uppercase;
}


/* ─── BOUTONS ───────────────────────────────── */
.btn-outline {
  display: inline-block; margin-top: 1.5rem;
  border: 1.5px solid var(--charcoal);
  border-radius: 1.5rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .62rem; letter-spacing: .28em;
  text-transform: uppercase; padding: .8rem 2rem;
  transition: background .25s, color .25s;
  text-align: center;
  font-weight: bold;
}
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }
.btn-teal {
  border-radius: 2rem;
  display: inline-block;
  background: var(--teal); color: white;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.9rem; letter-spacing: .28em;
  text-transform: uppercase; padding: .85rem 2rem;
  transition: background .25s;
  text-align: center;
}
.btn-teal:hover { background: var(--teal-dark); }

/* ─── ANIMATIONS ────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links {
    display: none; flex-direction: column; gap: 1.5rem;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 2rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .container { padding: 0 1.5rem; }
  section { padding: 4rem 0; }
}

/* ─── FOOTER ─── */
#footer {
  background: var(--charcoal);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250,247,242,.1);
}

.footer-brand .footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .95rem;
  color: rgba(250,247,242,.5);
  margin: .5rem 0 1.2rem;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-nav-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .55rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .5rem;
}

.footer-nav a {
  font-size: .82rem;
  color: rgba(250,247,242,.6);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: .05em;
}

.footer-nav a:hover { color: var(--cream); }

.footer-contact { display: flex; flex-direction: column; gap: .2rem; }
.footer-contact .contact-label { color: var(--teal); }
.footer-contact .contact-value { color: rgba(250,247,242,.65); font-size: .85rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.footer-logo {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--teal);
}

.footer-credits {
  font-size: .75rem;
  color: rgba(250,247,242,.35);
  letter-spacing: .1em;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .8rem; text-align: center; }
}
