@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* COLOR PALETTE - EXACT FROM MOCKUPS */
:root {
  --bleu-marine: #222D68;
  --rouge-bordeaux: #6C1010;
  --rouge-brique: #811C15;
  --vert-nature: #6F7C32;
  --noir-principal: #161615;
  --gris-moyen: #707070;
  --blanc-pur: #FFFFFF;
  --blanc-casse: #FAFAFC;
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font: 400 16px/1.6 'Open Sans', sans-serif;
  color: var(--noir-principal);
  background: var(--blanc-pur);
}

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

/* TYPOGRAPHY - EXACT FROM MOCKUPS */
h1 {
  font: 700 48px/1.2 'Open Sans';
  color: white;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h2 {
  font: 700 32px/1.3 'Open Sans';
  color: var(--bleu-marine);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 40px;
}

h3 {
  font: 600 20px/1.4 'Open Sans';
  color: var(--bleu-marine);
  margin-bottom: 15px;
}

/* BUTTONS - EXACT STYLE FROM MOCKUPS */
.btn-primary {
  background: var(--bleu-marine);
  color: white;
  padding: 16px 32px;
  border-radius: 25px;
  border: none;
  font: 600 14px 'Open Sans';
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-client {
  background: var(--rouge-brique);
  color: white;
  padding: 12px 24px;
  border-radius: 20px;
  border: none;
  font: 600 14px 'Open Sans';
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  cursor: pointer;
}

/* HEADER NAVIGATION - VISIBLE ON ALL MOCKUPS */
.header {
  background: var(--blanc-pur);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo-text {
  font: 700 24px 'Open Sans';
  color: var(--rouge-bordeaux);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: var(--noir-principal);
  font: 500 16px 'Open Sans';
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--bleu-marine);
}

.social .facebook-icon {
  background: #3b5998;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
}

/* HERO SECTIONS */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* CIRCLES SERVICES LAYOUT - EXACT FROM MOCKUP */
.services-circle {
  padding: 80px 0;
  background: var(--blanc-casse);
  position: relative;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}

.services-layout {
  display: flex;
  align-items: center;
  gap: 20px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.circle:hover {
  transform: scale(1.1);
}

.circle.blue {
  background: var(--bleu-marine);
}

.circle.red {
  background: var(--rouge-bordeaux);
}

.circle.large {
  width: 80px;
  height: 80px;
}

.service-label {
  background: var(--rouge-bordeaux);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 8px;
  white-space: nowrap;
}

.arrow-left,
.arrow-right {
  background: var(--bleu-marine);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.arrow-left:hover,
.arrow-right:hover {
  transform: scale(1.1);
}

/* CLIENT TYPES SECTION */
.client-types {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interior-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../design/Accueil.jpg') center/cover;
}

.interior-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
}

.client-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 30px;
}

/* PROCESS CARDS - 4 CARDS FROM MOCKUP */
.process {
  padding: 80px 0;
  background: var(--blanc-pur);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.process-card {
  background: var(--blanc-pur);
  padding: 40px 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.process-card:hover {
  transform: translateY(-5px);
}

.process-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bleu-marine);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-center {
  text-align: center;
}

/* FAMILY HISTORY SECTION - DIAMOND PHOTOS */
.family-history {
  padding: 80px 0;
  background: var(--blanc-casse);
}

.history-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.family-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
}

.diamond-photo {
  width: 100px;
  height: 100px;
  transform: rotate(45deg);
  overflow: hidden;
  border-radius: 4px;
  margin: 10px;
}

.diamond-photo img {
  transform: rotate(-45deg) scale(1.4);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-text blockquote {
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--gris-moyen);
}

/* FINAL CTA SECTION */
.final-cta {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jar-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../design/Accueil.jpg') center/cover;
}

.jar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.cta-content h2 {
  color: white;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* DECORATIVE DIAMONDS - VISIBLE ON ALL PAGES */
.decorative-diamonds {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.diamond-deco {
  position: absolute;
  background: var(--bleu-marine);
  opacity: 0.1;
  transform: rotate(45deg);
}

.diamond-deco.size-1 { width: 20px; height: 20px; }
.diamond-deco.size-2 { width: 40px; height: 40px; }
.diamond-deco.size-3 { width: 60px; height: 60px; }

.diamond-deco.light { background: var(--gris-moyen); }

/* Position decorative diamonds */
.diamond-deco:nth-child(1) { top: 10%; left: 5%; }
.diamond-deco:nth-child(2) { top: 15%; right: 10%; }
.diamond-deco:nth-child(3) { bottom: 20%; left: 8%; }
.diamond-deco:nth-child(4) { bottom: 10%; right: 15%; }

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 24px; }
  
  .nav-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  .main-nav {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .services-layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .history-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .client-buttons {
    flex-direction: column;
    gap: 20px;
  }
  
  .decorative-diamonds {
    display: none;
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
}