/* ============================================================
   DROITIS — Feuille de styles partagée
   ============================================================ */

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

/* ---- Variables ---- */
:root {
  --c-navy:        #1A3A5C;
  --c-navy-dark:   #0F2640;
  --c-navy-mid:    #243F6A;
  --c-gold:        #C9A84C;
  --c-gold-light:  #DFC07E;
  --c-white:       #FFFFFF;
  --c-cream:       #F7F8FC;
  --c-bg:          #EEF1F8;
  --c-dark:        #0B1929;
  --c-text:        #1E293B;
  --c-muted:       #64748B;
  --c-border:      #E2E8F0;
  --c-green:       #10B981;
  --c-red:         #EF4444;
  --c-orange:      #F59E0B;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.12);
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Titres ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  color: var(--c-navy-dark);
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.1rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-navy {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}
.btn-navy:hover {
  background: var(--c-navy-dark);
  border-color: var(--c-navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26,58,92,0.35);
}

.btn-gold {
  background: var(--c-gold);
  color: var(--c-dark);
  border-color: var(--c-gold);
}
.btn-gold:hover {
  background: var(--c-gold-light);
  border-color: var(--c-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.btn-outline:hover {
  background: var(--c-navy);
  color: var(--c-white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--c-white);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1rem;
  border-radius: 10px;
}

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.badge-green  { background: #D1FAE5; color: #065F46; }
.badge-gold   { background: #FEF3C7; color: #92400E; }
.badge-navy   { background: #DBEAFE; color: #1E3A5F; }
.badge-red    { background: #FEE2E2; color: #991B1B; }
.badge-orange { background: #FEF3C7; color: #92400E; }

/* ---- Tags ---- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  background: #EFF6FF;
  color: var(--c-navy);
  font-size: 0.78rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  transition: all 0.18s ease;
}
.tag:hover {
  background: var(--c-navy);
  color: var(--c-white);
  cursor: pointer;
}

/* ---- Card ---- */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

/* ---- Label section ---- */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-gold);
  margin-bottom: 10px;
}

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Header ---- */
.site-header {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo span { color: var(--c-gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--c-gold); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--c-navy-dark);
  color: var(--c-white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--c-white);
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-col .logo { color: var(--c-white); margin-bottom: 14px; display: block; }
.footer-col .logo span { color: var(--c-gold); }

.footer-col p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.18s;
}
.footer-col ul li a:hover { color: var(--c-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ---- Stars ---- */
.stars {
  color: var(--c-gold);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* ---- Avatar ---- */
.avatar {
  border-radius: 50%;
  background: var(--c-navy);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- Form ---- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input,
.select {
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--c-text);
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  padding: 12px 16px;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  width: 100%;
}

.input:focus,
.select:focus {
  border-color: var(--c-navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}

.select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: var(--c-border);
  margin: 24px 0;
}

/* ---- Hamburger button ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 310;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile nav overlay ---- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-navy-dark);
  z-index: 300;
  flex-direction: column;
  padding: 88px 32px 48px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}
.mobile-nav-links a {
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.18s, padding-left 0.18s;
}
.mobile-nav-links a:hover { color: var(--c-gold); padding-left: 6px; }
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .nav-toggle { display: flex; }
  .nav-links, .nav-cta { display: none; }

  .site-header { padding: 0 16px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
