/* ============================================
   PARKVIEW — Charte graphique
   ovalie34.com
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

/* === VARIABLES === */
:root {
  --navy:        #0f1f35;
  --navy-light:  #1a3352;
  --gold:        #c9a84c;
  --gold-light:  #f0e6c8;
  --cream:       #f8f5f0;
  --white:       #ffffff;
  --ink:         #1a1a1a;
  --muted:       #6b7280;
  --border:      #e5e0d8;
  --sage:        #6b8f71;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   24px;
  --shadow:      0 4px 24px rgba(15,31,53,0.08);
  --shadow-lg:   0 12px 48px rgba(15,31,53,0.14);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;
  --max-width:    1200px;
  --nav-height:   72px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* === NAVIGATION === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-height);
  display: flex; align-items: center;
  padding: 0 2.5rem;
  background: rgba(15,31,53,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.nav-inner {
  width: 100%; max-width: var(--max-width);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  display: flex; align-items: center; gap: 0.6rem;
}
.nav-logo .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.nav-links {
  display: flex; align-items: center;
  gap: 0.25rem; list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--gold); }

.nav-extranet {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-extranet:hover { background: #b8963d; transform: translateY(-1px); }
.nav-extranet svg { width: 13px; height: 13px; }

.nav-mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--white); font-size: 1.4rem;
}

/* === PAGE HEADER (bannière de page intérieure) === */
.page-header {
  padding: calc(var(--nav-height) + 4rem) 2.5rem 3.5rem;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 90% at 100% 50%, rgba(201,168,76,0.12) 0%, transparent 60%);
}
.page-header-inner {
  max-width: var(--max-width); margin: 0 auto;
  position: relative; z-index: 1;
}
.page-header .breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.page-header .breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.page-header .breadcrumb a:hover { color: var(--gold); }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.page-header h1 em {
  font-style: italic;
  color: var(--gold);
}
.page-header p {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
  font-weight: 300;
}

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}
.section { padding: 5rem 2.5rem; }
.section-sm { padding: 3rem 2.5rem; }
.section-dark { background: var(--navy); color: var(--white); }
.section-alt { background: var(--white); }

/* === TYPOGRAPHIE === */
.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.label-dark { color: rgba(201,168,76,0.8); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h2 em { font-style: italic; color: var(--gold); }

h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.3;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 560px;
  margin-top: 0.75rem;
  line-height: 1.8;
}
.lead-dark { color: rgba(255,255,255,0.55); }

/* === BOUTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  border: none; cursor: pointer;
  transition: all 0.22s;
  text-decoration: none;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: #b8963d; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,168,76,0.35); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* === CARTES === */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

/* === GRILLES === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* === SÉPARATEUR DÉCORATIF === */
.divider {
  display: flex; align-items: center; gap: 1.5rem;
  margin: 3rem 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1;
  height: 1px; background: var(--border);
}
.divider span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* === ALERTE / INFO BOX === */
.alert {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.6;
}
.alert-info {
  background: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.4);
  color: #7a5c1e;
}
.alert-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.05rem; }

/* === FOOTER === */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 4rem 2.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-logo .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); display: inline-block;
}
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.25); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-fadeup  { animation: fadeUp  0.7s ease both; }
.anim-fadein  { animation: fadeIn  0.5s ease both; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-links, .nav-extranet { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: var(--navy);
    padding: 1rem 2rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav.open .nav-extranet {
    display: flex;
    margin: 0 2rem 1.5rem;
    position: absolute;
    top: calc(var(--nav-height) + 11rem);
    left: 0; right: 0;
    justify-content: center;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 3.5rem 1.5rem; }
  .page-header { padding: calc(var(--nav-height) + 2.5rem) 1.5rem 2.5rem; }
}
