/* ============================================================
   BOUDEKOM — style.css
   Direction artistique inspirée de food2vous.com
   Charte graphique Boudekom (crème & charcoal)
   ============================================================ */

/* ─── IMPORTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500&display=swap');

/* ─── VARIABLES ─── */
:root {
  --cream:          #EAE7DC;
  --cream-dark:     #D8D4C8;
  --charcoal:       #3D3D3D;
  --charcoal-light: #5A5A5A;
  --warm-white:     #F7F5F0;
  --color-btn:      #CDA349;
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'DM Sans', sans-serif;
  --radius:         4px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }


/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  transition: background var(--transition), padding var(--transition);
}

header.scrolled {
  background: var(--cream);
  padding: 0.8rem 3rem;
  border-bottom: 1px solid var(--cream-dark);
}

.logo-wrap {
  display: flex;
  align-items: center;
}

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

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

nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: opacity var(--transition);
}

nav a:hover { opacity: 0.5; }

.nav-cta {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border: 1.5px solid var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: background var(--transition), color var(--transition);
}

.nav-cta:hover {
  background: var(--charcoal);
  color: var(--cream);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 300;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 250;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--charcoal);
}

.mobile-menu .mob-cta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  padding: 0.8rem 2rem;
  border: 1.5px solid var(--charcoal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ============================================================
   BOUTONS GLOBAUX
   ============================================================ */
.btn-dark {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--color-btn);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity var(--transition);
}

.btn-dark:hover { opacity: 0.75; }

.btn-text {
  font-size: 0.85rem;
  color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 2px;
  transition: opacity var(--transition);
}

.btn-text:hover { opacity: 0.5; }


/* ============================================================
   UTILITAIRES TYPOGRAPHIQUES
   ============================================================ */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--charcoal-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 65vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  padding-top: 80px;
}

.hero-left {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 3rem 3.5rem;
  position: relative;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 2.5rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.hero-right:hover img { transform: scale(1.05); }


/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--color-btn);
  overflow: hidden;
  padding: 1rem 0;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 22s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--charcoal);
  white-space: nowrap;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--charcoal);
  flex-shrink: 0;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 55vh;
}

.about-image {
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem;
}

.about-text {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.9;
  margin-bottom: 3rem;
  max-width: 480px;
}


/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--cream);
  padding: 8rem 3rem;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--cream-dark);
}

.service-card {
  padding: 3rem 2.5rem 3rem 0;
  border-bottom: 1px solid var(--cream-dark);
  transition: background var(--transition);
  cursor: default;
}

.service-card:nth-child(3n) {
  border-right: none;
  padding-right: 0;
}

.service-card:hover {
  background: rgba(61, 61, 61, 0.04);
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--charcoal-light);
  margin-bottom: 2rem;
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-list-items {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-list-items li {
  font-size: 0.8rem;
  color: var(--charcoal-light);
  padding-left: 1rem;
  position: relative;
}

.service-list-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--charcoal-light);
}


/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 400px 400px;
  gap: 4px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item.tall { grid-row: span 2; }

.gallery-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after { opacity: 1; }


/* ============================================================
   QUOTE BAND
   ============================================================ */
.quote-band {
  background: var(--charcoal);
  padding: 4rem 3rem;
  text-align: center;
}

.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3.5rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.quote-band cite {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(234, 231, 220, 0.5);
  font-style: normal;
}


/* ============================================================
   CLIENTS / PROJETS
   ============================================================ */
.clients {
  background: var(--warm-white);
  padding: 8rem 3rem;
}

.clients-header {
  max-width: 1200px;
  margin: 0 auto 6rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.clients-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem 8rem;
}

.client-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.client-item.reversed          { direction: rtl; }
.client-item.reversed > *      { direction: ltr; }

.client-img {
  overflow: hidden;
  aspect-ratio: 3/4;
}

.client-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-item:hover .client-img img { transform: scale(1.04); }

.client-info { padding-top: 1rem; }

.client-num {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--charcoal-light);
  margin-bottom: 1.5rem;
}

.client-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.client-desc {
  font-size: 0.85rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.client-link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 2px;
  transition: opacity var(--transition);
}

.client-link:hover { opacity: 0.5; }


/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: var(--cream);
  padding: 4rem 3rem;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 3rem;
}

.cta-title em {
  font-style: italic;
  font-weight: 400;
}

.cta-text {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 420px;
}

.cta-img {
  overflow: hidden;
  aspect-ratio: 3/4;
}

.cta-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--charcoal);
  padding: 5rem 3rem 2.5rem;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(234, 231, 220, 0.15);
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 75px;
  width: auto;
  margin-bottom: 2rem;
  filter: brightness(1) invert(0) opacity(0);
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(234, 231, 220, 0.5);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgb(205, 163, 73);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.footer-socials a:hover {
  border-color: #CDA349;
  background: rgba(205, 163, 73, 0.15);
}

.footer-socials a:hover svg,
.footer-socials a:hover svg path,
.footer-socials a:hover svg rect,
.footer-socials a:hover svg line,
.footer-socials a:hover svg circle {
  stroke: #CDA349 !important;
  fill: #CDA349 !important;
}

.footer-socials svg {
  width: 14px;
  height: 14px;
  fill: rgba(234, 231, 220, 0.6);
}

.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(205, 163, 73);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: rgba(234, 231, 220, 0.7);
  transition: color var(--transition);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.75rem;
  color: rgba(234, 231, 220, 0.35);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: rgba(234, 231, 220, 0.7); }

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}


/* ============================================================
   RESPONSIVE — TABLETTE (≤ 1024px)
   ============================================================ */
@media (max-width: 768px) {
  .mobile-hidden { display: none; }
  header,
  header.scrolled { padding-left: 2rem; padding-right: 2rem; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 5rem 2rem 4rem; min-height: 60vh; }
  .hero-right { height: 55vw; min-height: 300px; }

  /* About */
  .about { grid-template-columns: 1fr; }
  .about-image { height: 60vw; min-height: 320px; }
  .about-content { padding: 4rem 2rem; }

  /* Services */
  .services { padding: 5rem 2rem; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 2rem; margin-bottom: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--cream-dark); padding-right: 2.5rem; }
  .service-card:nth-child(2n) { border-right: none; padding-right: 0; }

  /* Gallery */
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 300px 300px; }
  .gallery-item.tall { grid-row: span 1; }

  /* Clients */
  .clients { padding: 5rem 2rem; }
  .clients-header { flex-direction: column; align-items: flex-start; gap: 2rem; margin-bottom: 4rem; }
  .clients-grid { grid-template-columns: 1fr; gap: 4rem; }

  /* CTA */
  .cta { padding: 5rem 2rem; }
  .cta-inner { grid-template-columns: 1fr; gap: 4rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
}


/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  header,
  header.scrolled { padding-left: 1.25rem; padding-right: 1.25rem; }

  nav, .nav-cta { display: none; }
  .hamburger    { display: flex; }

  /* Hero */
  .hero-left  { padding: 5rem 1.25rem 3.5rem; }
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); }

  /* About */
  .about-content { padding: 3rem 1.25rem; }

  /* Services */
  .services { padding: 4rem 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; padding-right: 0 !important; }

  /* Gallery */
  .gallery { grid-template-columns: 1fr; grid-template-rows: repeat(6, 260px); }
  .gallery-item.tall { grid-row: span 1; }

  /* Quote */
  .quote-band { padding: 5rem 1.25rem; }
  .quote-band blockquote { font-size: clamp(1.4rem, 7vw, 2rem); }

  /* Clients */
  .clients { padding: 4rem 1.25rem; }
  .client-item,
  .client-item.reversed { grid-template-columns: 1fr; direction: ltr; }
  .client-img {  aspect-ratio: 16/9;  width: 100%;  margin: 0 auto;}

  /* CTA */
  .cta { padding: 4rem 1.25rem; }
  .cta-title { font-size: clamp(2rem, 10vw, 3rem); }

  /* Footer */
  footer { padding: 4rem 1.25rem 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom-links { flex-direction: column; gap: 0.5rem; }
}
