/* ═══════════════════════════════════════════
   Rudy Artisant — Main Stylesheet
   ═══════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --cream:           #F4EFE6;
  --warm-white:      #FDFAF5;
  --terracotta:      #B85C38;
  --terracotta-dark: #8E3D22;
  --slate:           #2D3A3A;
  --slate-light:     #4A5757;
  --stone:           #9C8C7E;
  --stone-light:     #C8BAB0;
  --gold:            #C4A35A;
  --shadow:          rgba(45, 58, 58, 0.12);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Barlow', sans-serif;
  background: var(--warm-white);
  color: var(--slate);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
}
img { display: block; max-width: 100%; }

/* ─── UTILITY ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  display: block;
  margin-bottom: 14px;
}

/* ════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 163, 90, 0.18);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 32px var(--shadow); }

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-svg    { width: 44px; height: 44px; flex-shrink: 0; }
.logo-text   { display: flex; flex-direction: column; }
.logo-name   {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo-tagline {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 400;
  margin-top: 3px;
}

/* Desktop links */
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--slate-light);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--terracotta); }

.nav-right { display: flex; align-items: center; gap: 16px; }

/* Language toggle */
.lang-toggle {
  display: flex;
  border: 1px solid var(--stone-light);
  border-radius: 20px;
  overflow: hidden;
}
.lang-btn {
  padding: 5px 11px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--stone);
  transition: all 0.2s;
}
.lang-btn.active { background: var(--slate); color: #fff; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--warm-white);
  border-top: 1px solid var(--stone-light);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 16px 40px var(--shadow);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(196, 186, 176, 0.3);
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.00); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(45,58,58,0.15) 0%,
    rgba(45,58,58,0.55) 60%,
    rgba(45,58,58,0.78) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 680px;
  animation: fadeUp 0.9s 0.2s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.05;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1);   opacity: 0.3; }
  50%       { transform: scaleY(0.4); opacity: 0.8; }
}

/* ════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--terracotta);
  color: #fff;
  border: none;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ════════════════════════════════════════════
   TRUST STRIP
   ════════════════════════════════════════════ */
.strip { background: var(--slate); padding: 20px 0; }
.strip-inner {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 24px;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}
.strip-item svg { color: var(--gold); }

/* ════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════ */
.services { padding: 110px 0 100px; background: var(--warm-white); }

.section-header { margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  color: var(--slate);
  max-width: 560px;
}
.section-header p {
  font-size: 15px;
  color: var(--stone);
  max-width: 480px;
  margin-top: 16px;
  line-height: 1.7;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover img { transform: scale(1.06); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(45,58,58,0.88) 0%, rgba(45,58,58,0.10) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background 0.3s;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(0deg, rgba(184,92,56,0.88) 0%, rgba(184,92,56,0.15) 70%);
}
.service-number {
  position: absolute;
  top: 20px; right: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
}
.service-icon {
  width: 38px; height: 38px;
  background: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(255,255,255,0.25); }
.service-card h3 { font-size: 22px; color: #fff; font-weight: 600; margin-bottom: 8px; }
.service-card p  { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.6; max-width: 360px; font-weight: 300; }

/* ════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════ */
.about { padding: 100px 0; background: var(--cream); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images { position: relative; height: 520px; }
.about-img-main {
  position: absolute;
  top: 0; left: 0;
  width: 78%; height: 85%;
  object-fit: cover;
}
.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 52%; height: 52%;
  object-fit: cover;
  border: 5px solid var(--cream);
}
.about-badge {
  position: absolute;
  top: 48%; left: 68%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  background: var(--terracotta);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 2;
  border: 3px solid var(--cream);
}
.about-badge-num   { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; line-height: 1; }
.about-badge-label { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; margin-top: 2px; }

.about-text h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin-bottom: 20px; }
.about-text p  { font-size: 15px; color: var(--slate-light); line-height: 1.75; margin-bottom: 16px; font-weight: 300; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--stone-light);
}
.stat-num   { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 700; color: var(--terracotta); line-height: 1; }
.stat-label { font-size: 12px; color: var(--stone); letter-spacing: 0.06em; margin-top: 5px; }

/* ════════════════════════════════════════════
   RÉALISATIONS
   ════════════════════════════════════════════ */
.realisations { padding: 100px 0; background: var(--warm-white); }
.real-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 24px;
}
.real-header-note {
  font-size: 14px;
  color: var(--stone);
  max-width: 300px;
  text-align: right;
  font-weight: 300;
  line-height: 1.6;
}

.real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.real-item { position: relative; overflow: hidden; background: var(--cream); }
.real-item:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.real-item:not(:first-child):not(:last-child) { aspect-ratio: 1; }
.real-item:last-child  { grid-column: span 2; aspect-ratio: 16 / 9; }

.real-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.real-item:hover img { transform: scale(1.05); }

.real-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 20px 16px;
  background: linear-gradient(0deg, rgba(45,58,58,0.85) 0%, transparent 100%);
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.real-item:hover .real-caption { transform: translateY(0); }
.real-caption h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.real-caption p  { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* ════════════════════════════════════════════
   PROCESS
   ════════════════════════════════════════════ */
.process { padding: 100px 0; background: var(--slate); color: #fff; }
.process .section-label { color: var(--gold); }
.process h2 { color: #fff; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 1px;
  background: rgba(255,255,255,0.15);
}
.step { padding: 0 24px; text-align: center; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.step h4 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.step p  { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.65; font-weight: 300; }

/* ════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════ */
.contact { padding: 100px 0; background: var(--cream); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-bottom: 20px; }
.contact-info > p { font-size: 15px; color: var(--slate-light); font-weight: 300; line-height: 1.7; margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item    { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon    {
  width: 40px; height: 40px;
  background: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-icon svg { color: #fff; }
.contact-item-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); font-weight: 500; margin-bottom: 3px; }
.contact-item-val   { font-size: 15px; color: var(--slate); line-height: 1.5; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group   { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 12px 14px;
  border: 1px solid var(--stone-light);
  background: var(--warm-white);
  color: var(--slate);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--terracotta); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--slate);
  color: #fff;
  border: none;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.form-submit:hover { background: var(--terracotta); }

/* ════════════════════════════════════════════
   MAP
   ════════════════════════════════════════════ */
.map-section { height: 340px; background: var(--stone-light); overflow: hidden; }
.map-section iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer {
  background: var(--slate);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-logo .logo-name    { color: #fff; }
.footer-logo .logo-tagline { color: rgba(255,255,255,0.4); }

.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
  font-family: 'Barlow', sans-serif;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p       { font-size: 12px; }
.footer-bottom .siret  { font-size: 11px; color: rgba(255,255,255,0.3); }

/* ════════════════════════════════════════════
   TOAST
   ════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--slate);
  color: #fff;
  padding: 12px 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 999;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ════════════════════════════════════════════
   SCROLL REVEAL (JS-driven)
   ════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .about-inner   { grid-template-columns: 1fr; gap: 48px; }
  .about-images  { height: 380px; }
  .real-grid {
    grid-template-columns: 1fr 1fr;
  }
  .real-item:first-child,
  .real-item:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
  .real-item:not(:first-child):not(:last-child) { aspect-ratio: 1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 600px) {
  .hero h1        { font-size: 36px; }
  .hero p         { font-size: 14px; }
  .service-card   { aspect-ratio: 5 / 4; }
  .real-grid      { grid-template-columns: 1fr; }
  .real-item,
  .real-item:first-child,
  .real-item:last-child { grid-column: span 1; aspect-ratio: 4 / 3; }
  .about-stats    { grid-template-columns: repeat(3, 1fr); }
  .form-row       { grid-template-columns: 1fr; }
  .footer-inner   { flex-direction: column; }
  .hero-scroll    { display: none; }
  .process-steps  { grid-template-columns: 1fr; }
  .real-header    { flex-direction: column; align-items: flex-start; }
  .real-header-note { text-align: left; }
}
