/* ============================================================
   CMotion · Carole Dussaix · Graphiste & Motion Designer
   Reproduction fidèle du site wixsite.com/cmotion2
   Polices : Jost (≈ Lulo Clean) · Barlow/Helvetica (≈ DIN Next)
   Couleurs : cyan #00A1EC · magenta #FF007F · navy #0B1B4D · bleu pâle #CCECFB
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Barlow:wght@300;400;500;600;700&display=swap');

:root {
  --cyan: #00A1EC;
  --cyan-dark: #0088CB;
  --magenta: #FF007F;
  --navy: #0B1B4D;
  --paleblue: #CCECFB;
  --ink: #1f1f1f;
  --grey: #8a8a8a;
  --cream: #fbf6ec;
  --white: #ffffff;

  --display: 'Jost', 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --max: 1180px;
  --track: .16em;            /* interlettrage des titres */
  --shadow: 0 18px 50px rgba(0, 0, 0, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* Titres Lulo Clean style : capitales, géométriques, larges interlettrages */
.title {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track);
  line-height: 1.25;
  color: var(--cyan);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 500; font-size: .98rem;
  padding: 13px 32px; border-radius: 50px; cursor: pointer;
  border: 1.5px solid currentColor; transition: all .22s ease; background: transparent;
}
.btn-cyan { color: var(--cyan); }
.btn-cyan:hover { background: var(--cyan); color: #fff; }
.btn-magenta { color: var(--magenta); }
.btn-magenta:hover { background: var(--magenta); color: #fff; }
.btn-white { color: #fff; }
.btn-white:hover { background: #fff; color: var(--magenta); }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #eef2f4; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding: 14px 0; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.brand img { height: 38px; width: auto; align-self: flex-start; }
.brand .brand-sub { font-family: var(--body); font-size: .68rem; color: #555; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-family: var(--body); font-weight: 500; font-size: .95rem;
  color: var(--cyan); transition: color .2s ease;
}
.nav-links a:hover { color: var(--cyan-dark); }
.nav-links a.active { color: var(--magenta); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--cyan); margin: 5px 0; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { background: #fff; padding: 70px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--track); line-height: 1.32; color: var(--cyan);
  font-size: clamp(1.9rem, 3.6vw, 3rem); }
.hero .sub { font-family: var(--display); text-transform: uppercase; letter-spacing: .22em;
  color: #b9b9b9; font-weight: 400; margin-top: 16px; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.hero .values { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; list-style: none; }
.hero .values li { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: #555; font-weight: 500; }
.hero .values .vico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paleblue); color: var(--cyan); flex: none; }

/* Bulle organique du hero */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-blob { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / .92; }
.hero-blob::before {
  content: ''; position: absolute; inset: 0;
  border: 1.5px solid var(--cyan);
  border-radius: 54% 46% 53% 47% / 58% 52% 48% 42%;
}
.hero-blob img, .hero-blob video {
  position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px);
  object-fit: cover; border-radius: 54% 46% 53% 47% / 58% 52% 48% 42%;
  -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
}
.hero-loc { display: flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: .86rem; color: var(--grey); }
.hero-loc svg { color: var(--cyan); flex: none; }

/* ---------------- Sections génériques ---------------- */
section { padding: 84px 0; }
.section-cyan { background: var(--cyan); color: #fff; }
.section-magenta { background: var(--magenta); color: #fff; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em;
  color: var(--cyan); font-size: .8rem; margin-bottom: 14px; }

/* ---------------- Spécialisation (cyan) ---------------- */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.spec-illus img { width: 100%; }
.spec-text h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--track); line-height: 1.3; color: var(--navy);
  font-size: clamp(1.4rem, 2.6vw, 2rem); }
.spec-text .lead { color: #fff; font-size: 1.25rem; margin-top: 24px; line-height: 1.7; max-width: 460px; }
.spec-text .lead b { font-weight: 700; }

/* ---------------- Prestations ---------------- */
.presta-head { text-align: left; margin-bottom: 44px; }
.presta-head h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--track); color: var(--cyan); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.presta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.presta-card .frame { border: 2px solid var(--magenta); border-radius: 6px; overflow: hidden;
  background: var(--cream); aspect-ratio: 1 / 1; }
.presta-card .frame img { width: 100%; height: 100%; object-fit: cover; }
.presta-card h3 { font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--cyan); font-size: 1.3rem; margin: 22px 0 14px; }
.presta-card ul { list-style: none; }
.presta-card li { position: relative; padding: 5px 0 5px 16px; color: #555; font-size: .96rem; }
.presta-card li::before { content: ''; position: absolute; left: 0; top: 13px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--magenta); }

/* ---------------- Mon travail / Brief / Témoignage (magenta) ---------------- */
.travail-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.travail-head h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--track); color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.brief-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; margin-top: 50px; align-items: stretch; }
.project-panel { position: relative; background: #0b1b4d; min-height: 380px;
  border-radius: 2px; overflow: hidden; display: flex; }
.project-video { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; background: #0b1b4d; }
.brief-text { padding: 0 0 0 48px; color: #fff; }
.brief-text h3 { font-family: var(--body); font-weight: 700; font-size: 1.25rem; letter-spacing: .02em;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.5); }
.brief-text p { color: #fff; margin-top: 18px; font-size: 1.02rem; }
.brief-quote { margin-top: 30px; }
.brief-quote .qauthor { text-align: right; font-weight: 700; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.5); }
.brief-quote blockquote { text-align: center; font-size: .98rem; margin-top: 16px; line-height: 1.7; }
.brief-quote .eutelmed { height: 30px; width: auto; margin: 22px 0 0 auto; display: block; }

/* ---------------- CTA contact ---------------- */
.cta { background: #fff; text-align: center; padding-bottom: 0; }
.cta h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--track); color: var(--cyan); line-height: 1.4;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem); }
.cta .btn { margin-top: 26px; }
.cta-illus { margin-top: 40px; }
.cta-illus img { width: 100%; max-width: 880px; margin: 0 auto; }

/* ---------------- Footer (blanc) ---------------- */
.site-footer { background: #fff; border-top: 1px solid #eef2f4; padding: 40px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-top .brand img { height: 34px; }
.footer-top .brand .brand-sub { font-size: .68rem; }
.footer-links { display: flex; flex-direction: column; gap: 6px; text-align: center; font-size: .85rem; }
.footer-links a { color: #444; text-decoration: underline; }
.footer-links a:hover { color: var(--cyan); }
.footer-right { text-align: right; }
.footer-right a { font-weight: 600; text-decoration: underline; }
.footer-copy { text-align: center; margin-top: 26px; font-family: var(--display);
  text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); font-size: .78rem; }

/* ---------------- Page Portfolio ---------------- */
.page-portfolio { background: var(--paleblue); }
.portfolio-hero { text-align: center; padding: 70px 0 30px; }
.portfolio-hero h1 { font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--cyan); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.2; }
.portfolio-hero p { max-width: 560px; margin: 20px auto 0; color: #2a4a5e; }
.gallery { padding: 30px 0 90px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 30px; align-items: center; }
.gallery-grid figure { display: grid; place-items: center; }
.gallery-grid img { width: 100%; max-width: 220px; height: auto; object-fit: contain; transition: transform .3s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .wide img { max-width: 300px; }

/* ---------------- Page Contact ---------------- */
.contact-bio { background: var(--paleblue); }
.contact-bio-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; align-items: stretch; }
.contact-bio .bio-text { padding: 80px 40px 80px 0; }
.contact-bio h1 { font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--cyan); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.contact-bio p { margin-top: 22px; color: #213b49; font-size: 1.05rem; }
.contact-bio .uc { text-transform: uppercase; }
.contact-bio .portrait { min-height: 360px; }
.contact-bio .portrait img { width: 100%; height: 100%; object-fit: cover; }

.form-section { background: #fff; }
.form-section h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: var(--track); color: var(--cyan); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.form-section .form-intro { color: #555; margin-bottom: 28px; }
.contactForm { max-width: 880px; }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.field { margin-top: 22px; }
.field label { display: block; font-size: .82rem; color: var(--cyan); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 10px 2px; border: 0; border-bottom: 1.5px solid var(--cyan);
  background: transparent; font-family: var(--body); font-size: 1rem; color: var(--ink); transition: border-color .2s ease; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--magenta); }
.field textarea { resize: vertical; min-height: 120px; }
.form-actions { margin-top: 30px; text-align: right; }
.form-msg { margin-top: 14px; font-weight: 600; text-align: right; display: none; }
.form-msg.ok { display: block; color: var(--cyan); }
.form-msg.err { display: block; color: var(--magenta); }

/* ---------------- Liens projets (portfolio) ---------------- */
.proj-link { display: grid; place-items: center; gap: 14px; padding: 10px; border-radius: 10px;
  transition: transform .3s ease; }
.proj-link img { width: 100%; max-width: 220px; height: auto; object-fit: contain; }
.proj-link .proj-name { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em;
  font-size: .8rem; color: var(--cyan-dark); opacity: 0; transition: opacity .25s ease; text-align: center; }
.proj-link:hover { transform: translateY(-6px); }
.proj-link:hover .proj-name { opacity: 1; }
.proj-link.wide { grid-column: span 2; }
.proj-link.wide img { max-width: 300px; }

/* ---------------- Page projet ---------------- */
.page-project { background: var(--paleblue); }
.project { padding: 0; }
.project-inner { background: #fff; max-width: 1040px; padding: 64px 60px 54px; margin: 0 auto; }
.project-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.project-left h1 { font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--cyan); font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.25; }
.project-label { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em;
  color: var(--cyan); font-weight: 600; font-size: .95rem; margin-top: 28px; }
.project-type { color: #333; margin-top: 6px; }
.project-quote { color: #333; margin-top: 8px; font-style: italic; line-height: 1.6; }
.project-objectif { color: #333; margin-top: 8px; line-height: 1.7; }
.project-media-wrap { margin-top: 44px; }
.project-media-frame { background: #0b1b4d; border-radius: 2px; overflow: hidden; }
.project-media { width: 100%; display: block; background: #0b1b4d; aspect-ratio: 16/9; }
.project-gallery { display: grid; gap: 22px; }
.project-gallery img { width: 100%; border: 1px solid #e7eef3; border-radius: 4px; }
.project-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px;
  padding-top: 22px; border-top: 1px solid #eef2f4; }
.project-nav a { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em;
  font-size: .82rem; color: var(--cyan); font-weight: 600; }
.project-nav a:hover { color: var(--magenta); }

/* ---------------- Pages légales ---------------- */
.legal { padding: 64px 0; }
.legal .wrap { max-width: 840px; }
.legal h1 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: var(--cyan); font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 14px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin: 32px 0 10px; color: var(--magenta); }
.legal p, .legal li { color: #444; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--cyan); text-decoration: underline; }
.legal .updated { color: var(--grey); font-size: .9rem; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .hero-grid, .spec-grid, .brief-grid, .contact-bio-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .spec-illus { order: -1; max-width: 380px; margin: 0 auto; }
  .presta-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 44px; }
  .brief-text { padding: 36px 0 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-bio .bio-text { padding: 60px 0 30px; }
  .contact-bio .portrait { min-height: 300px; }
  .footer-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-top .brand { align-items: center; }
  .footer-right { text-align: center; }
  .project-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-inner { padding: 48px 30px 40px; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .nav-links { position: fixed; inset: 88px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid #eef2f4; padding: 8px 0;
    transform: translateY(-130%); transition: transform .35s ease; box-shadow: var(--shadow); }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 15px 0; }
  .burger { display: block; }
  .travail-head { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .wide { grid-column: span 1; }
  .proj-link.wide { grid-column: span 1; }
  .project-inner { padding: 40px 20px 32px; }
}
