/* Okazo Agency — V1 */

:root {
  --navy: #1F2A4A;
  --navy-soft: #2C3759;
  --cream: #FBF4DA;
  --butter: #F4E4A8;
  --blue: #C4DAEF;
  --pale: #E7F0F7;

  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --script: "Sacramento", cursive;

  --radius: 22px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 11vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Motifs à rayures */
.stripes--butter {
  background: repeating-linear-gradient(90deg, var(--butter) 0 22px, var(--cream) 22px 44px);
}
.stripes--blue {
  background: repeating-linear-gradient(90deg, var(--blue) 0 22px, var(--pale) 22px 44px);
}

/* Typographie */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow--center { text-align: center; }
.eyebrow--butter { color: var(--butter); }

.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.title--center { text-align: center; }

.lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: clamp(17px, 1.6vw, 20px);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 42, 74, 0.18); }
.btn--small { padding: 11px 20px; font-size: 12px; }
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--blue { background: var(--blue); color: var(--navy); }
.btn--butter { background: var(--butter); color: var(--navy); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 244, 218, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 42, 74, 0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.logo {
  font-family: var(--script);
  font-size: 40px;
  line-height: 1;
  padding-top: 6px;
}
.logo--light { color: var(--butter); font-size: 56px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
}
.nav__menu a:not(.btn) { position: relative; padding: 6px 0; }
.nav__menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__menu a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 110px) clamp(64px, 10vw, 120px); }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__card {
  width: min(100%, 720px);
  padding: clamp(36px, 7vw, 76px) 24px clamp(32px, 6vw, 60px);
  background: var(--cream);
  border-radius: clamp(24px, 4vw, 40px);
}
.hero__logo {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(96px, 22vw, 220px);
  line-height: 0.9;
}
.hero__agency {
  display: block;
  margin-top: clamp(12px, 2vw, 22px);
  font-family: var(--sans);
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
}
.hero__tagline {
  margin-top: 28px;
  padding: 10px 26px;
  background: var(--cream);
  border-radius: 18px;
  font-family: var(--serif);
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.2;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* Sections */
.section { padding-block: var(--section); }
.section--blue { background: var(--blue); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy .title em { color: var(--butter); }
.section--navy .lead { color: var(--blue); }
.section--cream { background: var(--cream); }
.section--pale { background: var(--pale); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
}

/* Cartes */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { padding: 26px 24px 28px; border-radius: var(--radius); }
.card--cream { background: var(--cream); }
.card--butter { background: var(--butter); }
.card__icon { width: 38px; height: 38px; margin-bottom: 22px; }
.card h3, .tile h3, .row h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.2;
}
.card p, .row p { margin-top: 6px; font-size: 15px; }

.bullets { display: grid; gap: 12px; }
.bullets li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--navy-soft);
  border-radius: 14px;
  font-weight: 500;
}
.bullets li::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--butter);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 6vw, 72px);
}
.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  padding: 26px 24px;
  border-radius: var(--radius);
  transition: transform 0.25s ease;
}
.tile:hover { transform: translateY(-6px); }
.tile h3 { font-size: 27px; font-weight: 400; }
.tile p { font-size: 15px; }
.tile--butter { background: var(--butter); }
.tile--blue { background: var(--blue); }
.tile--navy { background: var(--navy); color: var(--cream); }

.aside {
  margin-top: clamp(36px, 5vw, 56px);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 23px);
}

.stack { display: grid; gap: 12px; }
.row { padding: 22px 24px; border-radius: 16px; }
.row--cream { background: var(--cream); }
.row--butter { background: var(--butter); }
.row--navy { background: var(--navy); color: var(--cream); }

/* Réalisations (emplacements) */
.shot {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 9 / 16;
  padding: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
}
.shot--wide { aspect-ratio: 16 / 9; margin-top: clamp(40px, 6vw, 72px); }
/* Rangée de reels verticaux, défilement horizontal si l'écran est étroit */
.reels {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 16px;
  margin-top: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reels::-webkit-scrollbar { display: none; }
.shot span {
  position: relative;
  padding: 7px 14px;
  background: var(--cream);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.shot img, .shot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.contact__card {
  width: min(100%, 820px);
  padding: clamp(44px, 7vw, 84px) clamp(24px, 5vw, 64px);
  background: var(--navy);
  color: var(--blue);
  border-radius: clamp(24px, 4vw, 40px);
  text-align: center;
}
.contact__card .title { color: var(--cream); margin-bottom: 26px; }
.contact__card .title em { color: var(--butter); }
.contact__word {
  margin-block: 6px 2px;
  font-family: var(--script);
  font-size: clamp(84px, 13vw, 132px);
  line-height: 1;
  color: var(--butter);
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.pill {
  padding: 11px 24px;
  background: var(--cream);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
}

/* Pied de page */
.footer { padding-block: 56px 40px; background: var(--navy); color: var(--cream); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer__inner em { font-family: var(--serif); font-size: 19px; }
.footer__legal { margin-top: 20px; font-size: 13px; color: var(--blue); }

/* Apparition au défilement (seulement si le JS est actif) */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .tile { transition: none; }
}

/* Tablette */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; align-items: start; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px var(--gutter) 30px;
    background: var(--cream);
    border-bottom: 1px solid rgba(31, 42, 74, 0.08);
    font-size: 18px;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
}

@media (max-width: 520px) {
  .duo { grid-template-columns: 1fr; }
  .tile { min-height: 170px; }
  .tile h3 { font-size: 23px; }
}
