/* ============================================
   GEORGI INVEST — Premium Website Stylesheet
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Raleway:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  --color-bg-dark: #0a0a0a;
  --color-bg-section: #111111;
  --color-bg-card: #1a1a1a;
  --color-bg-card-hover: #222222;
  --color-gold: #c6a057;
  --color-gold-light: #ded594;
  --color-gold-dark: #9a7a3a;
  --color-white: #ffffff;
  --color-text: #d4d4d4;
  --color-text-muted: #999999;
  --color-border: #2a2a2a;
  --color-border-gold: rgba(198, 160, 87, 0.3);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-gold);
  transition: var(--transition);
}

a:hover {
  color: var(--color-gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-white);
  line-height: 1.3;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 500; }

.section-subtitle {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.section-title {
  margin-bottom: 1rem;
}

.section-description {
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
  margin: 1.2rem auto 2rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: var(--color-bg-dark);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 160, 87, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-bg-dark);
  transform: translateY(-2px);
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 1px;
}

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

.logo-img {
  height: 55px;
  width: auto;
}

footer .logo-img {
  height: 60px;
  margin-bottom: 0.5rem;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav ul li a {
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 4px 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--color-gold);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.lang-switcher a {
  padding: 5px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: var(--transition);
  border-right: 1px solid var(--color-border);
}

.lang-switcher a:last-child {
  border-right: none;
}

.lang-switcher a:hover {
  color: var(--color-gold);
  background: rgba(198, 160, 87, 0.08);
}

.lang-switcher a.active-lang {
  color: var(--color-gold);
  background: rgba(198, 160, 87, 0.12);
}

.lang-switcher-mobile {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(
    170deg,
    var(--color-bg-dark) 0%,
    #0d0d0d 40%,
    #111 100%
  );
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(198, 160, 87, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(198, 160, 87, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-content .section-subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.2s both;
}

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

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 30px;
  border: 2px solid var(--color-gold);
  border-radius: 10px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}

/* --- Sections --- */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Alternating background */
.bg-dark { background-color: var(--color-bg-dark); }
.bg-section { background-color: var(--color-bg-section); }

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--color-border-gold);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--color-gold);
  border: 1px solid var(--color-border-gold);
  border-radius: 4px;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-card .btn {
  padding: 10px 24px;
  font-size: 0.75rem;
}

/* --- Stats / Chiffres --- */
.stats-section {
  background: linear-gradient(135deg, #0d0d0d, #151515);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
}

/* --- About / Pourquoi Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-bg-card), var(--color-bg-section));
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-gold);
  position: relative;
  overflow: hidden;
}

.about-image::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--color-gold);
  border-right: 2px solid var(--color-gold);
}

.about-image::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 60px;
  height: 60px;
  border-bottom: 2px solid var(--color-gold);
  border-left: 2px solid var(--color-gold);
}

.about-text .section-subtitle {
  text-align: left;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  color: var(--color-text-muted);
}

.about-text .btn {
  margin-top: 1rem;
}

/* --- Values / Points forts --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  transition: var(--transition);
}

.value-item:hover {
  border-color: var(--color-border-gold);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
}

.value-item h4 {
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
}

.value-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* --- Advantages list --- */
.advantages-list {
  margin-top: 1.5rem;
}

.advantages-list li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text);
}

.advantages-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 0.7rem;
  top: 0.75rem;
}

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(198, 160, 87, 0.15);
  display: block;
  margin-bottom: 1rem;
}

.process-step h4 {
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
}

.process-step p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-gold);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-white);
  font-size: 0.9rem;
}

.testimonial-role {
  color: var(--color-gold);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, #0d0d0d, #1a1510);
  text-align: center;
  padding: 5rem 0;
  border-top: 1px solid var(--color-border-gold);
  border-bottom: 1px solid var(--color-border-gold);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-text-muted);
  max-width: 550px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-gold);
  color: var(--color-gold);
  font-size: 1.1rem;
  border-radius: 2px;
}

.contact-info-item h4 {
  margin-bottom: 0.3rem;
}

.contact-info-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  border-radius: 2px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(198, 160, 87, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* --- Appointment Section --- */
.appointment-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-gold);
  padding: 3rem;
  text-align: center;
  margin-top: 3rem;
}

.appointment-card h3 {
  margin-bottom: 1rem;
}

.appointment-card p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.time-slot {
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  font-family: var(--font-body);
}

.time-slot:hover,
.time-slot.selected {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(198, 160, 87, 0.05);
}

/* --- Footer --- */
footer {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about .logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-about p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

footer h4 {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  position: relative;
  padding-bottom: 0.8rem;
}

footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1px;
  background: var(--color-gold);
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links li a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-contact p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  border-radius: 2px;
}

.social-links a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(198, 160, 87, 0.05);
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  background: linear-gradient(170deg, var(--color-bg-dark), var(--color-bg-section));
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(198, 160, 87, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header .section-subtitle {
  margin-bottom: 1rem;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Detail page content --- */
.detail-content {
  padding: 5rem 0;
}

.detail-content h2 {
  margin-bottom: 1.5rem;
}

.detail-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.detail-content p {
  margin-bottom: 1.2rem;
  color: var(--color-text);
}

.highlight-box {
  background: var(--color-bg-card);
  border-left: 3px solid var(--color-gold);
  padding: 2rem;
  margin: 2rem 0;
}

.highlight-box p {
  color: var(--color-text);
  font-style: italic;
  margin: 0;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scrollDot {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(8px); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }

  .hamburger { display: flex; }

  nav ul {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }

  nav ul.open {
    transform: translateY(0);
  }

  .lang-switcher {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  nav ul .lang-switcher-mobile {
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
  }

  .lang-switcher-desktop {
    display: none !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .btn { padding: 12px 28px; font-size: 0.8rem; }
}
