:root {
  --royal: #070380;
  --royal-dark: #05025e;
  --royal-deeper: #030140;
  --gold: #F9A806;
  --gold-light: #FBB93A;
  --gold-pale: #FFF3D6;
  --cream: #FFFEF8;
  --text-dark: #1a1a2e;
  --text-light: #e8e8f0;
  --text-muted: #8888aa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--royal);
  color: var(--text-light);
  overflow-x: hidden;
}

/* ═══════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════ */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(3,1,64,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(249,168,6,0.12);
  transition: background 0.3s, box-shadow 0.3s;
}

.main-nav.scrolled {
  background: rgba(3,1,64,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.nav-brand img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1) brightness(2);
  opacity: 1;
}

.nav-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-brand-text em {
  color: var(--gold);
  font-style: normal;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.3rem;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  transition: color 0.3s, background 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(249,168,6,0.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(3,1,64,0.98);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    border-bottom: 2px solid rgba(249,168,6,0.15);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; font-size: 1rem; }
}

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,185,46,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(255,185,46,0.05) 0%, transparent 50%),
              linear-gradient(170deg, var(--royal) 0%, var(--royal-dark) 60%, var(--royal-deeper) 100%);
  text-align: center;
  padding: 2rem;
  padding-top: 90px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFB92E' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo-container {
  width: 220px;
  height: 220px;
  margin: 0 auto 2rem;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--gold), 0 0 60px rgba(255,185,46,0.2), 0 20px 60px rgba(0,0,0,0.3);
  animation: fadeUp 1s ease-out 0.2s both;
}

.logo-container img {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.5rem;
  animation: fadeUp 1s ease-out 0.4s both;
}

.hero h1 span { color: var(--gold); }

.hero-tagline {
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  animation: fadeUp 1s ease-out 0.6s both;
}

.hero-subtitle {
  font-size: 0.98rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  max-width: 660px;
  margin: 0 auto 2.5rem;
  line-height: 1.9;
  animation: fadeUp 1s ease-out 0.7s both;
}

.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--royal-deeper);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeUp 1s ease-out 0.85s both;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249,168,6,0.35);
}

.gold-line {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
  animation: fadeUp 1s ease-out 0.5s both;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--gold);
  opacity: 0.6;
  font-size: 1.5rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ═══════════════════════════════════
   ACCUEIL — VALEURS
   ═══════════════════════════════════ */
.valeurs-section {
  background: var(--cream);
  color: var(--text-dark);
  padding: 5rem 2rem;
}

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.valeur-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,80,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--gold);
}

.valeur-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,80,0.12);
}

.valeur-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(7,3,128,0.07), rgba(249,168,6,0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.valeur-icon svg {
  width: 36px;
  height: 36px;
}

.valeur-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--royal);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.valeur-card p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: #555;
}

/* ═══════════════════════════════════
   ACCUEIL — STRUCTURE / LA PROPRIÉTÉ
   ═══════════════════════════════════ */
.structure-section {
  background: linear-gradient(170deg, var(--royal-dark) 0%, var(--royal-deeper) 100%);
  padding: 5rem 2rem;
  position: relative;
}

.structure-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFB92E' fill-opacity='0.02'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2l4 3.5-4 3z'/%3E%3C/g%3E%3C/svg%3E");
}

.structure-section .container { position: relative; z-index: 1; }
.structure-section .section-title { color: #fff; }

.structure-content {
  max-width: 750px;
  margin: 2rem auto 0;
  font-size: 1rem;
  line-height: 2;
  color: rgba(255,255,255,0.75);
  text-align: center;
}

/* ═══════════════════════════════════
   PRESTATIONS — INTRO SECTION
   ═══════════════════════════════════ */
.intro {
  background: var(--cream);
  color: var(--text-dark);
  padding: 5rem 2rem;
  position: relative;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.intro-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 20px rgba(0,0,80,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.intro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,80,0.1);
}

.intro-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--royal);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.intro-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #555;
}

/* ═══════════════════════════════════
   PRICING SECTIONS
   ═══════════════════════════════════ */
.pricing-section { padding: 5rem 2rem; }

.pricing-section.dark {
  background: linear-gradient(170deg, var(--royal-dark) 0%, var(--royal-deeper) 100%);
  position: relative;
}

.pricing-section.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FFB92E' fill-opacity='0.02'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2l4 3.5-4 3z'/%3E%3C/g%3E%3C/svg%3E");
}

.pricing-section.light { background: var(--cream); color: var(--text-dark); }
.pricing-section .container { position: relative; z-index: 1; }
.pricing-section.light .section-title { color: var(--royal); }
.pricing-section.dark .section-title { color: #fff; }
.pricing-section.dark .section-subtitle { color: rgba(255,255,255,0.5); }

.pricing-notice {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
}

.pricing-section.light .pricing-notice { color: var(--royal); opacity: 0.7; }

/* ─── PRICING CARDS ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.price-card { border-radius: 16px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; position: relative; }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.price-card.royal { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,185,46,0.15); backdrop-filter: blur(10px); }
.price-card.white { background: #fff; border: 1px solid rgba(7,3,128,0.08); box-shadow: 0 4px 20px rgba(0,0,80,0.06); }
.price-card.featured { border: 2px solid var(--gold); background: linear-gradient(135deg, rgba(255,185,46,0.08), rgba(255,255,255,0.04)); }
.price-card.featured-white { border: 2px solid var(--royal); box-shadow: 0 4px 30px rgba(7,3,128,0.12); }

.price-header { padding: 2rem 2rem 1.2rem; text-align: center; }
.price-header h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; margin-bottom: 0.8rem; }
.royal .price-header h3 { color: #fff; }
.white .price-header h3, .featured-white .price-header h3 { color: var(--royal); }

.price-amount { font-size: 2.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.price-amount small { font-size: 0.45em; font-weight: 400; opacity: 0.7; display: block; margin-top: 0.3rem; }

.price-body { padding: 1rem 2rem 2rem; }
.price-body ul { list-style: none; }
.price-body li { padding: 0.55rem 0; font-size: 0.9rem; line-height: 1.5; display: flex; align-items: flex-start; gap: 0.6rem; }
.royal .price-body li { color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.06); }
.white .price-body li, .featured-white .price-body li { color: #555; border-bottom: 1px solid rgba(0,0,0,0.05); }
.price-body li::before { content: '✦'; color: var(--gold); font-size: 0.7rem; flex-shrink: 0; margin-top: 0.25rem; }
.price-body .note { font-size: 0.8rem; font-style: italic; opacity: 0.6; margin-top: 1rem; padding: 0; border: none; }
.price-body .note::before { content: none; }

.badge { position: absolute; top: 1rem; right: 1rem; background: var(--gold); color: var(--royal-dark); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 20px; }

/* ─── OPTIONS TABLE ─── */
.options-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 2rem; border-radius: 12px; overflow: hidden; }
.dark .options-table { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,185,46,0.1); }
.light .options-table { background: #fff; border: 1px solid rgba(7,3,128,0.08); box-shadow: 0 4px 20px rgba(0,0,80,0.06); }
.options-table th { font-family: 'Playfair Display', serif; text-align: left; padding: 1.2rem 1.5rem; font-size: 1.05rem; }
.dark .options-table th { color: #fff; border-bottom: 2px solid rgba(255,185,46,0.2); }
.light .options-table th { color: var(--royal); border-bottom: 2px solid var(--royal); background: rgba(7,3,128,0.02); }
.options-table td { padding: 1rem 1.5rem; font-size: 0.92rem; }
.dark .options-table td { color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.06); }
.light .options-table td { color: #555; border-bottom: 1px solid rgba(0,0,0,0.05); }
.options-table td:last-child { text-align: right; font-weight: 600; color: var(--gold); white-space: nowrap; }
.options-table tr:last-child td { border-bottom: none; }

/* ─── INFO TEXT ─── */
.info-block { margin-top: 3rem; padding: 2rem; border-radius: 12px; font-size: 0.85rem; line-height: 1.8; }
.dark .info-block { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,185,46,0.08); color: rgba(255,255,255,0.5); }
.light .info-block { background: rgba(7,3,128,0.02); border: 1px solid rgba(7,3,128,0.06); color: #888; }

/* ═══════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════ */
.contact-section {
  background: var(--cream);
  color: var(--text-dark);
  padding: 5rem 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 30px rgba(0,0,80,0.07);
}

/* ── Form elements ── */
.mld-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 550px) {
  .mld-form .form-row { grid-template-columns: 1fr; }
}

.mld-form .form-group {
  margin-bottom: 1.4rem;
}

.mld-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.mld-form .required {
  color: var(--gold);
}

.mld-form input[type="text"],
.mld-form input[type="email"],
.mld-form input[type="tel"],
.mld-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(7,3,128,0.1);
  border-radius: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: rgba(7,3,128,0.02);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.mld-form input:focus,
.mld-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(249,168,6,0.12);
}

.mld-form input::placeholder,
.mld-form textarea::placeholder {
  color: #aaa;
  font-weight: 300;
}

.mld-form textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── Checkboxes ── */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin-top: 0.5rem;
}

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: #444;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: background 0.2s;
  font-weight: 400;
}

.checkbox-label:hover {
  background: rgba(249,168,6,0.06);
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(7,3,128,0.2);
  border-radius: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

/* ── Submit button ── */
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--royal-deeper);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249,168,6,0.35);
  background: var(--gold-light);
}

.form-submit:active {
  transform: translateY(0);
}

/* ── Contact info sidebar ── */
.contact-info-card {
  background: linear-gradient(160deg, var(--royal) 0%, var(--royal-dark) 100%);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  color: var(--text-light);
}

.contact-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #fff;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(249,168,6,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item strong {
  color: #fff;
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-map-placeholder {
  margin-top: 2rem;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(249,168,6,0.1);
  border-radius: 12px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-map-placeholder svg {
  margin-bottom: 0.8rem;
}

.contact-map-placeholder small {
  color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
footer { background: var(--royal-deeper); padding: 3rem 2rem; text-align: center; border-top: 3px solid var(--gold); }
footer .footer-logo { width: 80px; margin-bottom: 1rem; opacity: 0.8; }
footer p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
footer a { color: var(--gold); text-decoration: none; }

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .valeurs-grid { grid-template-columns: 1fr; }
  .logo-container { width: 160px; height: 160px; }
  .logo-container img { width: 120px; }
  .options-table td, .options-table th { padding: 0.8rem 1rem; }
  .hero { padding-top: 80px; }
}
