/* ============================================================
   Ticquai — feuille de style commune
   ============================================================ */

:root {
  --cream: #eeeae2;
  --cream-2: #f6f3ed;
  --ink: #17140f;
  --olive: #5b6a4c;
  --olive-dark: #4a5740;
  --navy: #1d2a4d;
  --maroon: #7c2a2a;
  --white: #f8f6f1;
  --card-shadow: 0 18px 40px -18px rgba(23, 20, 15, 0.35);

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Lora", Georgia, serif;
  --font-nav: "Oswald", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------------------------------------------------- */
/* Navigation                                                  */
/* ---------------------------------------------------------- */

.site-header {
  background: var(--ink);
  color: var(--white);
  position: relative;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 32px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 16px;
}

.nav__links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav__links a {
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
  opacity: 0.88;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  opacity: 1;
  border-bottom: 1px solid var(--white);
  padding-bottom: 3px;
}

.nav__logo {
  flex: 1;
  text-align: center;
  white-space: nowrap;
}

.nav__logo img {
  height: 20px;
  width: auto;
  display: inline-block;
}

.nav__cta {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.btn-outline {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 9px 20px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--ink);
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
}

/* ---------------------------------------------------------- */
/* Hero                                                        */
/* ---------------------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  overflow: hidden;
  background: #d9d6cd;
  cursor: pointer;
}

.hero video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #d9d6cd;
  pointer-events: none;
}

.hero__play {
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 44px -14px rgba(10, 9, 7, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__play svg { width: 20px; height: 20px; margin-left: 3px; }

.hero:hover .hero__play {
  transform: scale(1.08);
  box-shadow: 0 22px 54px -14px rgba(10, 9, 7, 0.65);
}

/* ---------------------------------------------------------- */
/* Video lightbox                                              */
/* ---------------------------------------------------------- */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-lightbox[hidden] { display: none; }

.video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 7, 0.9);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.video-lightbox.is-open .video-lightbox__backdrop { opacity: 1; }

.video-lightbox__panel {
  position: relative;
  width: min(80vw, 960px);
  max-height: 85vh;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.video-lightbox.is-open .video-lightbox__panel {
  opacity: 1;
  transform: scale(1);
}

.video-lightbox__video {
  display: block;
  width: 100%;
  max-height: 85vh;
  background: #000;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

.video-lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

/* ---------------------------------------------------------- */
/* Collage grid (home)                                         */
/* ---------------------------------------------------------- */

.collage-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.5fr;
  aspect-ratio: 8.5 / 1;
}

.collage-row figure {
  margin: 0;
  overflow: hidden;
  height: 100%;
}

.collage-row figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.collage-tagline {
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 24px;
}

.collage-tagline p {
  margin: 0;
  font-family: var(--font-nav);
  font-size: clamp(20px, 3.4vw, 40px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.collage-tagline em {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--navy);
  font-size: 1.15em;
  text-transform: none;
}

.collage-row--2 {
  display: grid;
  grid-template-columns: 1fr 1.75fr;
  aspect-ratio: 3.6 / 1;
}

.collage-quote {
  background: var(--olive);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 40px;
}

.collage-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.3;
}

.collage-row--2 figure {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.collage-row--2 figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ---------------------------------------------------------- */
/* Brand lockup                                                */
/* ---------------------------------------------------------- */

.brand-lockup {
  text-align: center;
  padding: 90px 24px 40px;
}

.brand-lockup__logo {
  width: clamp(240px, 30vw, 440px);
  height: auto;
  margin: 0 auto;
}

.brand-lockup .subtitle {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: clamp(14px, 1.4vw, 18px);
}

/* ---------------------------------------------------------- */
/* Text / image split blocks                                   */
/* ---------------------------------------------------------- */

.split-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: start;
  gap: 48px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 32px 70px;
}

.split-block .thumb {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.split-block .thumb img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}

.product-card {
  max-width: 1160px;
  margin: 0 auto 40px;
  padding: 0;
  min-height: 414px;
}

.product-card .thumb {
  width: 310px;
  aspect-ratio: 338 / 451;
  height: auto;
  margin: 0 0 0 140px;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.product-card .text {
  position: relative;
  z-index: 2;
  margin-top: -344px;
  margin-left: 277px;
  background: var(--white);
  box-shadow: var(--card-shadow);
  padding: 48px 44px;
}

.product-card .text p {
  margin: 0 0 14px;
  font-size: 17px;
  text-align: justify;
}

.product-card .text p:last-child { margin-bottom: 0; }

.split-block p {
  margin: 0 0 14px;
  font-size: 17px;
  text-align: justify;
}

.split-block p:last-child { margin-bottom: 0; }

.split-band {
  background: var(--olive);
  color: var(--white);
}

.split-band .split-block {
  padding-top: 56px;
  padding-bottom: 56px;
  grid-template-columns: 1fr 340px;
}

.split-band .split-block .thumb {
  background: transparent;
  padding: 0;
  order: 2;
  position: relative;
  z-index: 3;
  margin-bottom: -150px;
  box-shadow: var(--card-shadow);
}

.split-band .split-block .thumb img {
  display: block;
  width: 100%;
  height: 370px;
  max-height: none;
  object-fit: cover;
  object-position: center top;
}

.split-band .split-block .text { order: 1; }

.split-band p { font-size: 17px; text-align: justify; }

/* ---------------------------------------------------------- */
/* Statement band with background photo                        */
/* ---------------------------------------------------------- */

.statement-band {
  position: relative;
  padding: 130px 24px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.statement-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.statement-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  z-index: 1;
}

.statement-band h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-nav);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.15;
}

/* ---------------------------------------------------------- */
/* Partner logos                                                */
/* ---------------------------------------------------------- */

.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(23, 20, 15, 0.08);
}

.partners .partner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 24px 50px;
  background: var(--cream-2);
}

.partners .partner img {
  max-height: 130px;
  width: auto;
  object-fit: contain;
}

/* ---------------------------------------------------------- */
/* Closing full-bleed image                                     */
/* ---------------------------------------------------------- */

.full-bleed-photo img {
  width: 100%;
  height: min(72vh, 640px);
  object-fit: cover;
}

/* ---------------------------------------------------------- */
/* 3D tilt cards                                                */
/* ---------------------------------------------------------- */

.tilt-card {
  position: relative;
  overflow: hidden;
}

.tilt-card__media {
  transform: perspective(900px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1);
  transition: transform 0.15s ease-out;
  will-change: transform;
}

@media (hover: none) {
  .tilt-card__media { transition: none; }
}

/* ---------------------------------------------------------- */
/* Footer                                                       */
/* ---------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding-top: 70px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(248, 246, 241, 0.15);
}

.footer__logo {
  display: block;
  height: 26px;
  width: auto;
  margin: 0 0 10px;
}

.footer__tagline {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--cream-2);
  opacity: 0.75;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

.footer__text {
  margin: 0;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.8;
}

.footer__heading {
  margin: 0 0 18px;
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-2);
  opacity: 0.6;
}

.footer__nav ul,
.footer__contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a,
.footer__contact a,
.footer__contact li {
  font-family: var(--font-body);
  font-size: 15px;
  opacity: 0.85;
}

.footer__nav a,
.footer__contact a {
  transition: opacity 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.footer__nav a:hover,
.footer__contact a:hover {
  opacity: 1;
  border-color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  font-family: var(--font-nav);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ============================================================
   Histoire page
   ============================================================ */

.histoire-hero {
  padding: 70px 24px 0;
  display: flex;
  justify-content: center;
}

.histoire-hero img {
  max-width: 460px;
  width: 100%;
  box-shadow: var(--card-shadow);
}

.histoire-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px 90px;
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 36px;
  align-items: start;
}

.histoire-card {
  background: var(--cream-2);
  box-shadow: var(--card-shadow);
  padding: 34px 30px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--olive-dark);
  font-size: clamp(21px, 2.2vw, 26px);
  line-height: 1.3;
  text-align: center;
}

.histoire-card--right { margin-top: 60px; }

.histoire-text p {
  margin: 0 0 20px;
  font-size: 17px;
  text-align: justify;
}

.histoire-text b { font-family: var(--font-display); font-weight: 700; }
.histoire-text em { font-style: italic; }

.histoire-founder {
  background: var(--olive);
  color: var(--white);
}

.histoire-founder .inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: stretch;
}

.histoire-founder .text {
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}

.histoire-founder p {
  margin: 0;
  font-size: 17px;
  text-align: justify;
}

.histoire-founder figure {
  margin: 0;
  overflow: hidden;
}

.histoire-founder figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 380px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .collage-row {
    grid-template-columns: repeat(2, 1fr);
    aspect-ratio: auto;
  }
  .collage-row figure { aspect-ratio: 1 / 1; height: auto; }
  .collage-tagline { grid-column: span 2; justify-content: center; text-align: center; padding: 30px; }
  .collage-row--2 {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }
  .collage-row--2 figure { aspect-ratio: 4 / 3; height: auto; }
  .split-band .split-block {
    grid-template-columns: 1fr;
  }
  .split-band .split-block .thumb {
    order: 1;
    margin-bottom: 0;
    z-index: auto;
  }
  .split-band .split-block .thumb img { height: 280px; }
  .split-band .split-block .text { order: 2; }
  .product-card {
    min-height: 0;
    padding: 0 24px 40px;
  }
  .product-card .thumb {
    position: static;
    width: 100%;
    height: 320px;
    aspect-ratio: auto;
    margin-left: 0;
  }
  .product-card .text {
    position: static;
    width: 100%;
    margin-top: -40px;
    margin-left: auto;
    margin-right: 24px;
    max-width: 420px;
  }
  .histoire-body {
    grid-template-columns: 1fr;
  }
  .histoire-card--right { margin-top: 0; }
  .histoire-founder .inner { grid-template-columns: 1fr; }
  .histoire-founder figure img { min-height: 260px; }
}

@media (max-width: 560px) {
  .product-card {
    grid-template-columns: 110px 1fr;
    gap: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  .product-card .thumb img { max-height: 220px; }
  .product-card .text { padding: 16px 18px; }
  .product-card .text p { font-size: 15px; }
}

@media (max-width: 700px) {
  .nav { flex-wrap: wrap; }
  .nav__links {
    order: 3;
    flex: 1 0 100%;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 14px;
  }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: block; order: 4; }
  .nav__logo { text-align: left; flex: none; }
  .nav__cta { flex: none; }
  .partners { grid-template-columns: 1fr; }
  .partners .partner { min-height: 220px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__text { max-width: none; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 6px; }
}
