/* ============================================================
   HOME THEME — noir / or
   Page: / (Animal Coat Production — présentation)
   ============================================================ */
:root {
  --bg:             #0a0a0a;
  --surface:        rgba(12, 12, 12, 0.90);
  --surface-raised: rgba(20, 18, 12, 0.96);
  --border:         rgba(60, 52, 30, 0.55);
  --text:           #f2edd8;
  --text-muted:     #a89e88;
  --accent:         #c9a84c;
  --accent-warm:    #e8c86a;
  --accent-glow:    rgba(201, 168, 76, 0.22);
  --nav-height:     64px;
  --font:           'Space Grotesk', system-ui, sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav__logo-img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
}

.nav__logo-text {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
}

.nav__brand:hover .nav__logo-text { color: var(--accent); }

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  padding: 0.3rem 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__link.active::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

/* ---- FIXED BACKGROUND ---- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('/background/IMG_4918.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.18)  0%,
    rgba(10, 10, 10, 0.28) 30%,
    rgba(10, 10, 10, 0.45) 65%,
    rgba(10, 10, 10, 0.58) 100%
  );
}

/* ---- PAGE OFFSET ---- */
.page-content {
  padding-top: var(--nav-height);
  position: relative;
}

/* ---- HERO ---- */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero__logo {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: cover;
  margin: 0 auto 2.5rem;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  filter: drop-shadow(0 0 32px rgba(201, 168, 76, 0.30));
}

.hero__text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 3rem;
  text-align: center;
}

.hero__eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(0, 0, 0, 0.60);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
}

.hero__title {
  display: inline-block;
  width: fit-content;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.80);
  background: rgba(0, 0, 0, 0.60);
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
}

.hero__title span {
  color: var(--accent);
}

.hero__tagline {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  background: rgba(0, 0, 0, 0.62);
  padding: 0.5rem 0.875rem;
  border-radius: 4px;
}

.hero__cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__cta-row .btn {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero__cta-row .btn:hover {
  background: var(--accent);
}

/* ---- GOLD DIVIDER ---- */
.gold-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent-warm));
  margin: 1.5rem auto 0;
}

.gold-line--left {
  margin-left: 0;
}

/* ---- SECTIONS ---- */
.section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--border);
}

/* Zone de lecture : fond sombre uniquement derrière le contenu texte */
.section > .container {
  background-color: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2rem 1.75rem;
  border-radius: 8px;
}

.section__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.section__heading {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.section__text {
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 600px;
  font-size: 0.97rem;
}

/* ---- BRANCHES GRID ---- */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2.5rem;
}

.branch-card {
  background: var(--surface);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.branch-card:hover {
  background: var(--surface-raised);
}

.branch-card__tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.branch-card__name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0;
}

.branch-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.branch-card__arrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}

.branch-card:hover .branch-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---- HISTOIRE — fond plus sombre ---- */
#histoire > .container {
  background-color: rgba(0, 0, 0, 0.88);
}

/* ---- HISTORY TIMELINE ---- */
.timeline {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  display: flex;
  gap: 1.75rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}

.timeline-dot--dim {
  border-color: var(--border);
}

.timeline-body {
  flex: 1;
}

.timeline-year {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.timeline-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 3px;
  transition: all 0.22s ease;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}

.btn:hover {
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 0 28px var(--accent-glow);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text-muted);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
  background: transparent;
  box-shadow: none;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 3rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.footer__link {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.footer__link:hover { color: var(--accent); }

/* ---- LANG TOGGLE ---- */
.lang-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.45rem 0.875rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 200;
  transition: all 0.2s;
  font-family: inherit;
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav__links { gap: 1.25rem; }
  .nav__link { font-size: 0.65rem; }
  .hero { padding: 4rem 0 3rem; }
  .hero__logo { width: 100px; height: 100px; }
  .branches-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav__links { gap: 0.875rem; }
  .nav__logo-text { display: none; }
  .hero__title { font-size: 2.6rem; }
}
