/* ══════════════════════════════════════════════
   INDEX — Genea Vostra (page d'accueil)
   Hero, about, services, territory, process,
   testimonial, contact
   ══════════════════════════════════════════════ */

/* ── BASE PAGE ── */
body { background: var(--cream); }

/* ── NAV SURCHARGES (fixed + blur) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(27, 80, 104, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,0.25);
  transition: padding 0.4s;
}
nav.scrolled { padding: 0.7rem 3rem; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue-mid) 55%, #1e4d62 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 3rem 3rem;
}

/* fingerprint bg decoration */
.fp-bg {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.fp-bg-1 { width: 700px; height: 700px; top: -120px; right: -150px; }
.fp-bg-2 { width: 500px; height: 500px; bottom: -80px; left: -100px; opacity: 0.6; }

/* ring decorations */
.ring {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(201,169,110,0.12);
}
.ring-1 { width: 600px; height: 600px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: ringPulse 6s ease-in-out infinite; }
.ring-2 { width: 900px; height: 900px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: ringPulse 6s ease-in-out infinite 1.5s; }
.ring-3 { width: 1200px; height: 1200px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: ringPulse 6s ease-in-out infinite 3s; }
@keyframes ringPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 0.7; } }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center; max-width: 1100px; width: 100%;
}

.hero-text { animation: fadeUp 1s ease both; }
#hero .section-label {
  margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: 1rem;
}
#hero .section-label::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
h1 {
  font-family: 'Cinzel', serif; font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 500; color: var(--white); line-height: 1.1;
  letter-spacing: 0.06em; margin-bottom: 1.5rem;
}
h1 em { color: var(--gold-light); font-style: normal; display: block; }
.hero-sub {
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem;
  font-weight: 300; font-style: italic; color: var(--blue-pale);
  line-height: 1.7; margin-bottom: 2.5rem; max-width: 420px;
}
.hero-actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }

.hero-visual {
  display: flex; align-items: center; justify-content: center;
  animation: fadeUp 1s ease 0.3s both;
}
.logo-frame {
  width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.3);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.logo-frame::before {
  content: ''; position: absolute; inset: 12px; border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.15);
}
.logo-frame::after {
  content: ''; position: absolute; inset: 26px; border-radius: 50%;
  border: 1px dashed rgba(201,169,110,0.1);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.logo-frame img { width: 260px; height: 260px; object-fit: cover; border-radius: 50%; }

/* ── ABOUT ── */
#about {
  padding: 7rem 3rem;
  background: var(--cream);
  display: flex; justify-content: center;
}
.about-inner {
  max-width: 1100px; width: 100%;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: center;
}
/* .about-label → utilise .section-label (components.css) */
.about-title {
  font-family: 'Cinzel', serif; font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--blue-deep); line-height: 1.25; font-weight: 500;
}
.about-title em { font-style: italic; color: var(--blue-light); font-family: 'Cormorant Garamond', serif; font-size: 1.15em; }
.about-deco {
  width: 60px; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 1.8rem 0;
}
.about-text {
  font-size: 1.15rem; line-height: 1.9; color: #3a5060;
  font-style: italic; font-family: 'Cormorant Garamond', serif;
}
.about-citation {
  margin-top: 2.5rem;
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
  color: #3a5060;
}

.about-quote {
  background: var(--blue-deep); color: var(--white);
  padding: 3.5rem; position: relative; overflow: hidden;
}
.about-quote::before {
  content: '\201C'; position: absolute; top: -0.5rem; left: 1.5rem;
  font-family: 'Cormorant Garamond', serif; font-size: 8rem;
  color: rgba(201,169,110,0.2); line-height: 1;
}
.about-quote blockquote {
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem;
  font-style: italic; line-height: 1.7; color: var(--cream);
  position: relative; z-index: 1;
}
.about-quote cite {
  display: block; margin-top: 1.5rem; font-family: 'Cinzel', serif;
  font-size: 0.75rem; letter-spacing: 0.25em; color: var(--gold);
  font-style: normal;
}

/* ── SERVICES ── */
#services {
  background: var(--blue-deep);
  padding: 7rem 3rem;
  display: flex; justify-content: center;
  position: relative; overflow: hidden;
}
#services::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 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='%23ffffff' fill-opacity='0.02'%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");
}
.services-inner { max-width: 1100px; width: 100%; position: relative; z-index: 1; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: rgba(201,169,110,0.15); }
.service-card {
  background: rgba(21,60,80,0.85);
  padding: 2.8rem 2.2rem;
  transition: background 0.4s, transform 0.3s;
  cursor: default;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(to right, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.4s;
}
.service-card:hover { background: rgba(42, 112, 144, 0.5); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  font-size: 1.8rem; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(201,169,110,0.3); border-radius: 50%;
  color: var(--gold);
}
.service-name {
  font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 0.12em;
  color: var(--white); margin-bottom: 1rem; line-height: 1.4;
}
.service-desc {
  font-family: 'Cormorant Garamond', serif; font-size: 1rem;
  color: var(--blue-pale); line-height: 1.7; font-style: italic;
}

/* ── TERRITORY ── */
#territory {
  padding: 7rem 3rem; background: var(--cream);
  display: flex; justify-content: center;
}
.territory-inner { max-width: 1100px; width: 100%; }
.territory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.territory-card {
  text-align: center; padding: 2.5rem 1.5rem;
  border: 1px solid rgba(42,112,144,0.15);
  transition: all 0.3s; position: relative;
}
.territory-card::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.4s;
}
.territory-card:hover { border-color: rgba(201,169,110,0.4); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(27,80,104,0.1); }
.territory-card:hover::before { width: 100%; }
.territory-flag { font-size: 1.6rem; font-family: 'Cinzel', serif; font-weight: 600; letter-spacing: 0.15em; color: var(--blue-deep); margin-bottom: 1rem; display: block; }
.territory-name { font-family: 'Cinzel', serif; font-size: 0.9rem; letter-spacing: 0.15em; color: var(--blue-deep); margin-bottom: 0.5rem; }
.territory-desc { font-size: 0.9rem; color: var(--muted); font-style: italic; font-family: 'Cormorant Garamond', serif; }

/* ── PROCESS ── */
#process {
  padding: 7rem 3rem;
  background: linear-gradient(175deg, #f0ece2 0%, var(--cream) 100%);
  display: flex; justify-content: center;
}
.process-inner { max-width: 900px; width: 100%; }
.process-steps { margin-top: 3.5rem; display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 2rem;
  align-items: flex-start; padding: 2rem 0; border-bottom: 1px solid rgba(42,112,144,0.1);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Cinzel', serif; font-size: 2.5rem; color: var(--blue-pale);
  font-weight: 600; line-height: 1; text-align: right;
  padding-right: 1.5rem; border-right: 2px solid var(--gold);
}
.step-title { font-family: 'Cinzel', serif; font-size: 0.9rem; letter-spacing: 0.15em; color: var(--blue-deep); margin-bottom: 0.6rem; }
.step-desc { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: #4a6878; line-height: 1.7; font-style: italic; }

/* ── TESTIMONIAL ── */
#testimonial {
  background: var(--blue-mid); padding: 6rem 3rem;
  display: flex; justify-content: center; align-items: center;
  text-align: center; position: relative; overflow: hidden;
}
#testimonial::before {
  content: '\201C'; position: absolute; top: -2rem; left: 50%; transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif; font-size: 20rem; line-height: 1;
  color: rgba(255,255,255,0.05); pointer-events: none;
}
.testimonial-inner { max-width: 750px; position: relative; z-index: 1; }
.testimonial-text {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic; color: var(--cream); line-height: 1.65; margin-bottom: 2rem;
}
.testimonial-author { font-family: 'Cinzel', serif; font-size: 0.6rem; letter-spacing: 0.3em; color: var(--gold); }
.star-row { color: var(--gold); font-size: 0.9rem; letter-spacing: 0.3em; margin-bottom: 1.5rem; }

/* ── CONTACT ── */
#contact {
  padding: 8rem 3rem;
  background: var(--cream); display: flex; justify-content: center;
}
.contact-inner { max-width: 750px; width: 100%; text-align: center; }
.contact-inner .section-label { color: var(--gold); }
.contact-title { font-family: 'Cinzel', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--blue-deep); font-weight: 500; line-height: 1.2; margin-bottom: 1.5rem; }
.contact-title em { font-style: italic; color: var(--blue-light); font-family: 'Cormorant Garamond', serif; }
.contact-sub { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-style: italic; color: var(--muted); line-height: 1.7; margin-bottom: 2rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 2.5rem; }
.contact-info-item { display: flex; align-items: center; justify-content: center; gap: 0.8rem; font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--blue-deep); }
.contact-info-item a { color: var(--blue-mid); text-decoration: none; transition: color 0.3s; }
.contact-info-item a:hover { color: var(--gold); }
.contact-info-icon { font-size: 1rem; }
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; text-align: left; }
.form-field label { font-family: 'Cinzel', serif; font-size: 0.58rem; letter-spacing: 0.2em; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea {
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid rgba(42,112,144,0.3);
  padding: 0.7rem 0; outline: none; transition: border-color 0.3s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-submit { text-align: center; margin-top: 0.5rem; }
