/* =========================================================
   HORIZON — design tokens
   Palette : bordeaux profond / terracotta / sable chaud / orangé
   Display : Fraunces (serif à caractère, optical size variable)
   Body    : Work Sans
   Signature : "ligne d'horizon" — trait dégradé animé, utilisé
   comme séparateur de section
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Work+Sans:wght@300;400;500;600&family=Cormorant+Garamond:wght@500;600&display=swap');

:root{
  --ink:        #2a1f1c;
  --ink-soft:   #6b5a51;
  --wine: #5c1f25;
  --rust:      #a8442e;
  --rust-soft: #d98a5f;
  --sand:       #f0e0c8;
  --sand-light: #faf3e6;
  --clay:       #d97b2e;
  --line:       rgba(42,31,28,0.12);

  --display: 'Fraunces', serif;
  --body: 'Work Sans', sans-serif;

  --max: 1240px;
  --pad: clamp(24px, 5vw, 72px);
}

*{ box-sizing:border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

body{
  font-family:var(--body);
  color:var(--ink);
  background:var(--sand-light);
  font-weight:400;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }

.wrap{ max-width:var(--max); margin:0 auto; padding-left:var(--pad); padding-right:var(--pad); }

::selection{ background:var(--clay); color:var(--sand-light); }

:focus-visible{
  outline:2px solid var(--clay);
  outline-offset:3px;
}

/* -------- eyebrow / labels -------- */
.eyebrow{
  font-family:var(--body);
  font-size:0.72rem;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--rust);
  font-weight:600;
}

/* -------- header -------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:50;
  background:transparent;
  border-bottom:1px solid transparent;
  transition:background .35s ease, border-color .35s ease;
}
.site-header.solid{
  background:rgba(248,243,232,0.9);
  backdrop-filter:blur(10px);
  border-bottom-color:var(--line);
}
body{ padding-top:78px; }
.site-header .wrap{
  display:grid; grid-template-columns:1fr auto 1fr;
  align-items:center; column-gap:6rem;
  height:78px;
}
.logo-center{ justify-self:center; display:flex; align-items:center; }
.logo-mark{ height:34px; width:auto; display:block; }
.nav-links{ display:flex; list-style:none; gap:2.2rem; }
.nav-links.left{ justify-content:flex-end; }
.nav-links.right{ justify-content:flex-start; }
.nav-links a{
  font-family:'Cormorant Garamond', serif; font-weight:500;
  font-size:0.8rem; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--sand-light);
  position:relative; padding-bottom:4px;
  transition:color .25s ease;
  white-space:nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color:var(--clay); }
.nav-links a[aria-current="page"]::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:1px; background:var(--clay);
}
.logo-mark{ filter:brightness(0) invert(1); transition:filter .3s ease; }
.site-header.solid .nav-links a{ color:var(--ink-soft); }
.site-header.solid .nav-links a:hover, .site-header.solid .nav-links a[aria-current="page"]{ color:var(--wine); }
.site-header.solid .logo-mark{ filter:none; }
.nav-toggle span{ background:var(--sand-light); }
.site-header.solid .nav-toggle span{ background:var(--ink); }
.logo{
  font-family:var(--display);
  font-size:1.35rem;
  letter-spacing:0.04em;
  font-weight:500;
  color:var(--wine);
}
.logo span{ color:var(--clay); }

.nav-toggle{ display:none; width:32px; height:22px; position:relative; z-index:5; }
.nav-toggle span{
  position:absolute; left:0; right:0; height:1.5px;
  transition:transform .3s ease, opacity .3s ease, background .3s ease;
}
.nav-toggle span:nth-child(1){ top:0; }
.nav-toggle span:nth-child(2){ top:10px; }
.nav-toggle span:nth-child(3){ top:20px; }
.nav-toggle.open span:nth-child(1){ transform:translateY(10px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-10px) rotate(-45deg); }

@media (max-width:880px){
  .site-header .wrap{ grid-template-columns:auto 1fr auto; column-gap:1rem; }
  .nav-links{
    position:fixed; inset:78px 0 0 0; background:var(--sand-light);
    flex-direction:column; justify-content:flex-start; align-items:flex-start;
    padding:3rem var(--pad); gap:1.6rem;
    transform:translateX(100%); transition:transform .4s ease;
    z-index:4;
  }
  .nav-links.left{ transform:translateX(-100%); }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ font-size:1.1rem; color:var(--ink-soft) !important; }
  .nav-toggle{ display:block; order:3; justify-self:end; }
  .logo-center{ order:2; }
}


/* -------- horizon line : signature element -------- */
.horizon{
  position:relative;
  height:2px;
  margin:0;
  background:linear-gradient(90deg, transparent 0%, var(--rust-soft) 20%, var(--clay) 50%, var(--rust-soft) 80%, transparent 100%);
  background-size:200% 100%;
  animation:horizon-drift 14s ease-in-out infinite;
  opacity:0.55;
}
@keyframes horizon-drift{
  0%,100%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
}
.horizon.thick{ height:1px; opacity:0.35; }

/* -------- sections plein écran (défilement libre) -------- */
html{
  scroll-snap-type: none;
  scroll-padding-top: 78px; /* hauteur du header fixe, pour les ancres */
}
.vh-section{
  min-height:calc(100vh - 78px);
  display:flex;
  align-items:center;
  justify-content:center;
}
.vh-section .wrap{ width:100%; }
@media (max-width:880px){
  .vh-section{ min-height:auto; }
}

/* -------- brand hero (écran 1 : logotype géant + fond animé) -------- */
.brand-hero{
  position:relative;
  overflow:hidden;
  text-align:center;
  background:var(--wine);
  margin-top:-78px;
  min-height:100vh;
}
.brand-hero .bg-media{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
.brand-hero .bg-fallback{
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(circle at 20% 30%, var(--rust) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, var(--clay) 0%, transparent 55%),
    var(--wine);
  background-size:220% 220%;
  animation:bg-drift 22s ease-in-out infinite;
}
@keyframes bg-drift{
  0%,100%{ background-position:0% 0%, 100% 100%, 0 0; }
  50%{ background-position:100% 100%, 0% 0%, 0 0; }
}
.brand-hero::after{
  content:''; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(42,31,28,0.35), rgba(42,31,28,0.65));
}
.brand-hero .brand-content{ position:relative; z-index:2; }
.brand-word{
  font-family:var(--display); font-weight:300;
  font-size:clamp(1.1rem, 2.6vw, 1.8rem);
  letter-spacing:0.02em; line-height:1.1;
  color:var(--sand-light);
}
.brand-tagline{
  margin-top:1.4rem; font-size:0.85rem; letter-spacing:0.3em;
  text-transform:uppercase; color:var(--sand-light); opacity:0.85;
}
.scroll-cue{
  position:absolute; bottom:2.2rem; left:50%; transform:translateX(-50%); z-index:2;
  font-size:0.7rem; letter-spacing:0.2em; text-transform:uppercase; opacity:0.75;
  display:flex; flex-direction:column; align-items:center; gap:0.6rem;
  color:var(--sand-light);
}
.scroll-cue .line{
  width:1px; height:34px; background:currentColor;
  animation:cue-fall 1.8s ease-in-out infinite; transform-origin:top;
}
@keyframes cue-fall{
  0%{ transform:scaleY(0); }
  50%{ transform:scaleY(1); }
  100%{ transform:scaleY(0); }
}

/* -------- label screens (écrans 2-5 : un mot, plein écran) -------- */
.label-screen{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  padding:var(--pad);
}
.label-screen h2{
  font-family:var(--display); font-weight:400;
  font-size:clamp(2.8rem, 8vw, 6.4rem);
  line-height:1.02;
  margin-top:0.8rem;
}

/* -------- hero -------- */
.hero{
  position:relative;
  padding:clamp(64px,10vw,120px) 0 clamp(48px,8vw,90px);
  overflow:hidden;
}
.hero .wrap{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:4rem; align-items:end; }
.hero-kicker{ margin-bottom:1.6rem; }
.hero h1{
  font-family:var(--display);
  font-weight:400;
  font-size:clamp(2.6rem, 5.6vw, 4.6rem);
  line-height:1.02;
  color:var(--wine);
  letter-spacing:-0.01em;
}
.hero h1 em{ font-style:italic; color:var(--clay); font-weight:300; }
.hero-sub{
  margin-top:1.6rem;
  font-size:1.08rem;
  color:var(--ink-soft);
  max-width:42ch;
}
.hero-actions{ margin-top:2.4rem; display:flex; gap:1rem; flex-wrap:wrap; }

.btn{
  display:inline-flex; align-items:center; gap:0.6rem;
  padding:0.95rem 1.8rem;
  border-radius:100px;
  font-size:0.8rem; letter-spacing:0.06em; text-transform:uppercase; font-weight:600;
  transition:transform .25s ease, background .25s ease, color .25s ease;
}
.btn-solid{ background:var(--wine); color:var(--sand-light); }
.btn-solid:hover{ transform:translateY(-2px); background:var(--clay); }
.btn-ghost{ border:1px solid var(--line); color:var(--ink); }
.btn-ghost:hover{ border-color:var(--wine); transform:translateY(-2px); }

.hero-mosaic{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding-top:2rem;
}
.hero-mosaic .cell{
  border-radius:2px;
  overflow:hidden;
  aspect-ratio:4/5;
  background:linear-gradient(160deg, var(--rust-soft), var(--wine));
}
.hero-mosaic .cell:nth-child(2){ margin-top:2.4rem; aspect-ratio:4/5.6; }
.hero-mosaic .cell:nth-child(1){ background:linear-gradient(160deg, var(--sand), var(--rust-soft)); }
.hero-mosaic .cell:nth-child(2){ background:linear-gradient(200deg, var(--clay), var(--wine)); }

@media (max-width:880px){
  .hero .wrap{ grid-template-columns:1fr; }
  .hero-mosaic{ display:none; }
}

/* -------- section base -------- */
section{ padding:clamp(56px,9vw,110px) 0; }
.section-head{ max-width:640px; margin-bottom:3.2rem; }
.section-head h2{
  font-family:var(--display); font-weight:400;
  font-size:clamp(1.9rem, 3.6vw, 2.7rem);
  color:var(--wine);
  margin-top:0.8rem;
  line-height:1.08;
}
.section-head p{ margin-top:1.1rem; color:var(--ink-soft); font-size:1.02rem; max-width:52ch; }

.dark{ background:var(--wine); color:var(--sand-light); }
.dark .eyebrow{ color:var(--clay); }
.dark .section-head h2{ color:var(--sand-light); }
.dark .section-head p{ color:rgba(248,243,232,0.72); }

/* -------- reveal on scroll -------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s ease, transform .8s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* -------- services grid -------- */
.services-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:0;
  border-top:1px solid var(--line);
}
.service-row{
  display:grid; grid-template-columns:80px 1fr 1fr;
  gap:2rem;
  padding:2.6rem 0;
  border-bottom:1px solid var(--line);
  align-items:baseline;
}
.service-row .num{ font-family:var(--display); font-size:1rem; color:var(--clay); }
.service-row h3{ font-family:var(--display); font-weight:500; font-size:1.5rem; color:var(--wine); }
.service-row p{ color:var(--ink-soft); font-size:0.98rem; }
@media (max-width:720px){
  .service-row{ grid-template-columns:1fr; gap:0.6rem; }
}

/* -------- cards -------- */
.card-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.card{
  background:var(--sand-light);
  border:1px solid var(--line);
  padding:2.2rem 1.8rem;
  border-radius:4px;
}
.card h3{ font-family:var(--display); font-size:1.3rem; color:var(--wine); margin-bottom:0.8rem; font-weight:500; }
.card p{ color:var(--ink-soft); font-size:0.95rem; }
@media (max-width:880px){ .card-grid{ grid-template-columns:1fr; } }

/* -------- pricing -------- */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; }
.price-card{
  border:1px solid var(--line); padding:2.4rem 2rem; border-radius:4px;
  display:flex; flex-direction:column; gap:1.2rem;
  background:var(--sand-light);
}
.price-card.featured{ border-color:var(--wine); background:var(--sand); }
.price-card .tag{ font-family:var(--display); font-size:1.3rem; color:var(--wine); }
.price-card .amount{ font-family:var(--display); font-size:1.6rem; color:var(--clay); }
.price-card ul{ list-style:none; display:flex; flex-direction:column; gap:0.55rem; font-size:0.92rem; color:var(--ink-soft); }
.price-card li::before{ content:'▸ '; color:var(--clay); }
@media (max-width:880px){ .pricing-grid{ grid-template-columns:1fr; } }

/* -------- map / presence -------- */
.presence-list{ display:flex; flex-direction:column; }
.presence-item{
  display:flex; justify-content:space-between; align-items:baseline;
  padding:1.8rem 0; border-bottom:1px solid rgba(248,243,232,0.18);
  font-family:var(--display); font-size:1.6rem;
}
.presence-item span{ font-family:var(--body); font-size:0.8rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--clay); }

/* -------- quote / manifesto -------- */
.manifesto{ text-align:center; padding:clamp(70px,12vw,140px) 0; }
.manifesto p{
  font-family:var(--display); font-weight:400; font-style:italic;
  font-size:clamp(1.6rem, 3.4vw, 2.6rem);
  max-width:18ch; margin:0 auto; line-height:1.25;
  color:var(--wine);
}

/* -------- footer -------- */
footer{ background:var(--ink); color:var(--sand-light); padding:3.6rem 0 2rem; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:2rem; padding-bottom:2.4rem; }
.footer-grid h4{ font-size:0.78rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--rust-soft); margin-bottom:1rem; }
.footer-grid ul{ list-style:none; display:flex; flex-direction:column; gap:0.6rem; font-size:0.92rem; }
.footer-grid a:hover{ color:var(--clay); }
.footer-bottom{
  border-top:1px solid rgba(248,243,232,0.14);
  padding-top:1.6rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem;
  font-size:0.78rem; color:rgba(248,243,232,0.55);
}
@media (max-width:780px){ .footer-grid{ grid-template-columns:1fr 1fr; } }

/* -------- contact -------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:4rem; }
.contact-form{ display:flex; flex-direction:column; gap:1.2rem; }
.field{ display:flex; flex-direction:column; gap:0.5rem; }
.field label{ font-size:0.78rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink-soft); }
.field input, .field textarea, .field select{
  border:1px solid var(--line); background:transparent;
  padding:0.9rem 1rem; font-family:var(--body); font-size:0.98rem; color:var(--ink);
  border-radius:2px;
}
.field input:focus, .field textarea:focus{ border-color:var(--wine); }
.contact-info{ display:flex; flex-direction:column; gap:1.8rem; }
.contact-info .row{ display:flex; flex-direction:column; gap:0.3rem; }
.contact-info .row span.eyebrow{ margin-bottom:0.2rem; }
@media (max-width:880px){ .contact-grid{ grid-template-columns:1fr; gap:2.4rem; } }

/* -------- page hero (inner pages, video banner) -------- */
.media-page-hero{
  position:relative; overflow:hidden;
  min-height:100vh;
  margin-top:-78px;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  color:var(--sand-light);
}
.media-page-hero .bg-media{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
.media-page-hero .bg-fallback{
  position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(circle at 20% 30%, var(--rust) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, var(--clay) 0%, transparent 55%),
    var(--wine);
  background-size:220% 220%;
  animation:bg-drift 22s ease-in-out infinite;
}
.media-page-hero::after{
  content:''; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(42,31,28,0.2), rgba(42,31,28,0.72));
}
.media-page-hero .wrap{
  position:relative; z-index:2;
}
.media-page-hero .eyebrow{ color:var(--clay); }
.media-page-hero h1{
  font-family:var(--display); font-weight:300; font-size:clamp(1.4rem,3vw,2.2rem);
  color:var(--sand-light); margin-top:0.8rem;
}