/*AMIRAL — Stylesheet Global Identité visuelle : Noir & Or*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

/* ---- VARIABLES ---- */
:root {
  --or:         #C9A84C;
  --or-clair:   #E8C97A;
  --or-sombre:  #9A7A2E;
  --noir:       #0A0A0A;
  --sombre:     #111111;
  --sombre2:    #1A1A1A;
  --blanc:      #F5F0E8;
  --gris:       #888888;
  --gris-clair: #CCCCCC;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--noir);
  color: var(--blanc);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/*NAVIGATION*/
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 22px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10,10,10,0.97) 0%, transparent 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--or);
  text-decoration: none;
  line-height: 1;
}

.logo-sub {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.45rem;
  font-weight: 500;
  letter-spacing: 0.7em;
  color: var(--gris);
  text-align: center;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  color: var(--gris-clair);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--or);
}

.nav-switch {
  font-size: 0.6rem !important;
  letter-spacing: 0.2em !important;
  border: 1px solid var(--or) !important;
  padding: 9px 22px;
  color: var(--or) !important;
  transition: all 0.3s ease !important;
}

.nav-switch:hover {
  background: var(--or) !important;
  color: var(--noir) !important;
}

/*HERO*/
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 80px 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10,10,10,0.92) 0%,
    rgba(10,10,10,0.6) 50%,
    rgba(10,10,10,0.85) 100%
  );
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 20%);
  animation: glow-pulse 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.15); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  color: var(--or);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  width: 45px;
  height: 1px;
  background: var(--or);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}

.hero h1 strong {
  color: var(--or);
  font-weight: 600;
  display: block;
}

.hero-desc {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--gris);
  line-height: 2.2;
  max-width: 420px;
  margin-bottom: 45px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--or);
  color: var(--noir);
  padding: 16px 42px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--or-clair);
  transform: translateY(-2px);
}

.btn-secondary {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gris);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gris);
  transition: all 0.3s;
}

.btn-secondary:hover {
  color: var(--or);
  border-color: var(--or);
}

.hero-scroll {
  position: absolute;
  right: 60px;
  bottom: 90px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--gris);
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, var(--or), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/*SECTION TITRE*/
.section-header {
  padding: 80px 80px 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.section-title em {
  color: var(--or);
  font-style: italic;
}

.section-count {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--gris);
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 80px;
  margin-bottom: 50px;
}

.section-divider span {
  font-size: 0.55rem;
  letter-spacing: 0.6em;
  color: var(--or);
  white-space: nowrap;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(201,168,76,0.5), transparent);
}

.section-divider::after {
  background: linear-gradient(to left, rgba(201,168,76,0.5), transparent);
}

/*GRILLE PRODUITS*/
.products-grid {
  padding: 0 60px 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.products-grid .card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--sombre2);
  cursor: pointer;
  animation: card-appear 0.7s ease both;
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.19s; }
.card:nth-child(4) { animation-delay: 0.26s; }
.card:nth-child(5) { animation-delay: 0.33s; }
.card:nth-child(6) { animation-delay: 0.40s; }

@keyframes card-appear {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.5s ease;
  filter: brightness(0.8) saturate(0.85);
}

.products-grid .card:nth-child(1) .card-img {
  height: 603px;
}

.card:hover .card-img {
  transform: scale(1.06);
  filter: brightness(0.9) saturate(1.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.92) 0%,
    rgba(10,10,10,0.3) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--or);
  color: var(--noir);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding: 5px 12px;
}

.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.card-sub {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--gris-clair);
  margin-bottom: 16px;
}

.card-price {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--or);
  margin-bottom: 18px;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--or);
  color: var(--or);
  padding: 10px 24px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
  width: fit-content;
}

.card-btn:hover {
  background: var(--or);
  color: var(--noir);
}

/*BANDEAU PROMO*/
.promo-banner {
  background: var(--or);
  padding: 18px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.promo-banner span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--noir);
  text-transform: uppercase;
}

.promo-dots {
  display: flex;
  gap: 15px;
}

.promo-dots span {
  font-size: 1.2rem;
  letter-spacing: 0;
}

/*FOOTER*/
footer {
  background: var(--sombre);
  padding: 60px 80px 40px;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 0.65rem;
  color: var(--gris);
  line-height: 2;
  max-width: 280px;
  letter-spacing: 0.1em;
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--or);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.62rem;
  color: var(--gris);
  text-decoration: none;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--blanc); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.58rem;
  color: var(--gris);
  letter-spacing: 0.2em;
}

/*RESPONSIVE*/
@media (max-width: 1024px) {
  nav { padding: 18px 30px; }
  .hero { padding: 0 40px 80px; }
  .hero h1 { font-size: 4rem; }
  .section-header { padding: 60px 40px 40px; }
  .section-divider { padding: 0 40px; }
  .products-grid { padding: 0 20px 80px; grid-template-columns: repeat(2, 1fr); }
  .products-grid .card:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .products-grid .card:nth-child(1) .card-img { height: 300px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  nav { padding: 15px 20px; }
  .nav-links { gap: 15px; }
  .hero { padding: 0 24px 70px; }
  .products-grid { grid-template-columns: 1fr; padding: 0 15px 60px; }
  .section-header { padding: 50px 24px 30px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-divider { padding: 0 24px; }
  footer { padding: 40px 24px 30px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .promo-banner { padding: 15px 24px; flex-direction: column; gap: 10px; }
}
