*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #1a2744;
  --gold: #c8a84b;
  --gold-light: #e8c97a;
  --cream: #f8f5ef;
  --white: #ffffff;
  --text: #2d2d2d;
  --text-light: #666;
  --border: #e0d8cc;
}
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: var(--text); background: var(--white); }

/* NAV */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
}
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); font-weight: 600; line-height: 1.2; }
.logo-sub { font-size: 0.7rem; color: var(--text-light); font-family: 'Lato', sans-serif; font-weight: 400; letter-spacing: 0.05em; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  display: block; padding: 0.5rem 0.9rem;
  text-decoration: none; color: var(--text);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); border-bottom: 2px solid var(--gold); }
.nav-cta {
  background: var(--navy); color: var(--white) !important;
  padding: 0.5rem 1rem !important; border-radius: 4px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }
.burger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); }

/* PAGE SWITCHER */
.page { display: none; }
.page.active { display: block; }

/* ===== HOME PAGE ===== */
.hero {
  background: var(--navy);
  padding: 80px 2rem 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,168,75,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(200,168,75,0.08) 0%, transparent 60%);
}
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white); font-weight: 700;
  margin-bottom: 1rem; line-height: 1.25;
}
.hero h2 {
  font-size: 1rem; font-weight: 400;
  color: rgba(255,255,255,0.75);
  font-style: italic; margin-bottom: 0;
  font-family: 'Lato', sans-serif;
}
.hero em { color: var(--gold-light); font-style: normal; }

/* SERVICES GRID */
.section { padding: 70px 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy); margin-bottom: 3rem;
}

/* Home services */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; margin-bottom: 3rem;
}
.doc-category { display: flex; gap: 1.5rem; }
.doc-img { width: 130px; height: 130px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.doc-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--navy);
  margin-bottom: 0.5rem;
}
.doc-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }
.doc-body a { color: var(--gold); text-decoration: none; font-size: 0.82rem; font-weight: 700; }

.about-text {
  background: var(--cream);
  padding: 2.5rem; border-radius: 8px;
  max-width: 800px;
}
.about-text p { line-height: 1.8; color: var(--text); margin-bottom: 1rem; font-size: 0.95rem; }
.about-text p:last-child { margin-bottom: 0; }

.services-links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.services-links a {
  display: inline-block;
  background: var(--navy); color: var(--white);
  padding: 0.4rem 0.9rem; border-radius: 4px;
  text-decoration: none; font-size: 0.82rem; font-weight: 700;
  transition: background 0.2s;
}
.services-links a:hover { background: var(--gold); color: var(--navy); }

/* Contact form */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--navy); margin-bottom: 1rem;
}
.contact-info p { font-size: 0.88rem; line-height: 1.7; color: var(--text); margin-bottom: 0.5rem; }
.checkmark-list { list-style: none; margin: 1rem 0; }
.checkmark-list li { font-size: 0.88rem; padding: 0.3rem 0; color: var(--text); }
.checkmark-list li::before { content: '✔ '; color: var(--gold); }
form { display: flex; flex-direction: column; gap: 1rem; }
form input, form textarea, form select {
  border: 1px solid var(--border);
  border-radius: 4px; padding: 0.75rem 1rem;
  font-family: 'Lato', sans-serif; font-size: 0.9rem;
  background: var(--white); color: var(--text);
  outline: none; transition: border-color 0.2s;
  width: 100%;
}
form input:focus, form textarea:focus, form select:focus { border-color: var(--gold); }
form textarea { min-height: 100px; resize: vertical; }
.btn-submit {
  background: var(--navy); color: var(--white);
  border: none; border-radius: 4px;
  padding: 0.85rem 2rem; font-family: 'Lato', sans-serif;
  font-size: 0.9rem; font-weight: 700; cursor: pointer;
  letter-spacing: 0.05em; transition: background 0.2s;
}
.btn-submit:hover { background: var(--gold); color: var(--navy); }

/* ===== LEGALIZATION PAGE ===== */
.legaliz-hero {
  background: var(--navy);
  padding: 80px 2rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.legaliz-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,168,75,0.12) 0%, transparent 60%);
}
.legaliz-hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.legaliz-tag {
  display: inline-block;
  background: rgba(200,168,75,0.15); color: var(--gold-light);
  border: 1px solid rgba(200,168,75,0.3);
  padding: 0.3rem 0.8rem; border-radius: 20px;
  font-size: 0.75rem; letter-spacing: 0.1em; font-weight: 700;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.legaliz-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white); line-height: 1.2;
  margin-bottom: 1.2rem;
}
.legaliz-hero h1 em { color: var(--gold-light); font-style: italic; }
.legaliz-hero p {
  color: rgba(255,255,255,0.78); font-size: 1rem;
  margin-bottom: 2rem; line-height: 1.6;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 0.9rem 2rem; border-radius: 6px;
  text-decoration: none; font-weight: 700; font-size: 0.92rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-secondary {
  background: rgba(255,255,255,0.1); color: var(--white);
  padding: 0.9rem 2rem; border-radius: 6px;
  text-decoration: none; font-weight: 700; font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); }
.hero-badges { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.badge { color: rgba(255,255,255,0.7); font-size: 0.8rem; display: flex; align-items: center; gap: 0.4rem; }
.badge::before { content: '✓'; color: var(--gold); }

/* Service cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  border: 1px solid var(--border); border-radius: 10px;
  padding: 2rem; transition: box-shadow 0.2s, border-color 0.2s;
  background: var(--white);
}
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); border-color: var(--gold); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; color: var(--navy); margin-bottom: 0.75rem;
}
.card p { font-size: 0.87rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1rem; }
.card-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tag {
  background: var(--cream); color: var(--navy);
  padding: 0.25rem 0.6rem; border-radius: 4px;
  font-size: 0.75rem; font-weight: 700;
}

/* Countries */
.countries-section { background: var(--cream); }
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
}
.country {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.75rem 1rem;
  font-size: 0.85rem; color: var(--text);
  display: flex; align-items: center; gap: 0.5rem;
  transition: border-color 0.2s;
}
.country:hover { border-color: var(--gold); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.step { text-align: center; padding: 1.5rem; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy); margin-bottom: 0.6rem; font-size: 1rem;
}
.step p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* Devis */
.devis-section { background: var(--cream); }
.devis-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
.devis-info { }
.devis-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: var(--navy); margin-bottom: 1.5rem;
}
.devis-bullet { margin-bottom: 1.2rem; }
.devis-bullet strong { display: block; color: var(--navy); font-size: 0.9rem; margin-bottom: 0.2rem; }
.devis-bullet span { font-size: 0.85rem; color: var(--text-light); }
.devis-privacy {
  font-size: 0.78rem; color: var(--text-light); margin-top: 0.5rem;
  text-align: center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* FAQ */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 1.2rem 0;
  font-weight: 700; font-size: 0.92rem; color: var(--navy);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--gold); transition: transform 0.2s; }
.faq-q.open::after { content: '−'; }
.faq-a {
  font-size: 0.87rem; color: var(--text-light);
  line-height: 1.7; padding-bottom: 1.2rem;
  display: none;
}
.faq-a.open { display: block; }

/* FOOTER */
footer {
  background: var(--navy); color: rgba(255,255,255,0.65);
  text-align: center; padding: 2.5rem 2rem;
  font-size: 0.83rem; line-height: 1.8;
}
footer a { color: var(--gold-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .contact-grid, .devis-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--border); padding: 1rem; z-index: 200; }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
}
@media (max-width: 600px) {
  .hero-badges { flex-direction: column; gap: 0.5rem; align-items: center; }
  .doc-img { width: 90px; height: 90px; }
}
