/* ============================================================
   fredericsabate.fr — style.css
   Palette : bleu #1a6fa8 · prune #5c1f62 · gris #eaebec
             abricot #ff9a3c · bleu nuit #003d5c
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;1,300&family=Saira+Extra+Condensed:wght@100;400&display=swap');

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #003d5c;
  background: #eaebec;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --bleu:    #1a6fa8;
  --prune:   #5c1f62;
  --gris:    #eaebec;
  --abricot: #ff9a3c;
  --nuit:    #003d5c;
  --blanc:   #ffffff;
}

/* ── Utilitaires ────────────────────────────────────────────── */
.label-section {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--abricot);
  display: block;
}

.separateur {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--abricot);
  margin: 10px 0 14px;
}

/* ── Navigation desktop ─────────────────────────────────────── */
.nav-desktop {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 3rem;
  background: rgba(0, 61, 92, 0.95);
  backdrop-filter: blur(6px);
}

.nav-desktop .nav-logo {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: 100;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.nav-desktop ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-desktop ul li a {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.nav-desktop ul li a:hover,
.nav-desktop ul li a.active {
  color: var(--abricot);
}

/* ── Navigation mobile ──────────────────────────────────────── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 61, 92, 0.95);
  backdrop-filter: blur(6px);
}

.nav-mobile-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 1.5rem;
}

.nav-mobile-logo {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: 100;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: rgba(255,255,255,0.7);
  transition: opacity 0.2s;
}

.nav-dropdown {
  display: none;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  background: #002a40;
}

.nav-dropdown.open {
  display: block;
}

.nav-dropdown a {
  display: block;
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 13px 1.5rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

.nav-dropdown a:last-child { border-bottom: none; }

.nav-dropdown a.active { color: var(--abricot); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 50vh;
  background: var(--bleu);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 5rem 3rem 5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-watermark {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 42vh;
  max-height: none;
  opacity: 0.1;
  filter: invert(1) brightness(2);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-nom {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: 100;
  font-size: clamp(3rem, 10vw, 7.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blanc);
  line-height: 0.95;
}

.hero-sous-titre {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: 100;
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.8rem;
}

.hero-accroche {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: rgba(255,255,255,0.88);
  margin-top: 1.8rem;
  max-width: 480px;
  line-height: 1.45;
}

/* ── CE QUE JE FAIS ─────────────────────────────────────────── */
.ce-que-je-fais {
  background: var(--gris);
  padding: 10rem 3rem;
}

.cqjf-inner { max-width: 800px; margin: 0 auto; }

.cqjf-intro {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  color: var(--nuit);
  line-height: 1.6;
  margin-bottom: 4rem;
}

.cqjf-intro em {
  font-style: italic;
  color: inherit;
}

.cqjf-intro em.accent {
  color: var(--abricot);
}

/* Nuage */
.nuage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: baseline;
  margin-bottom: 3.5rem;
  justify-content: center;
}

.nuage-mot {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  transition: opacity 0.2s;
}

.nuage-mot:hover { opacity: 0.7; }

.nuage-mot.taille-1 { font-size: 1rem; }
.nuage-mot.taille-2 { font-size: 1.5rem; font-weight: bold;}
.nuage-mot.taille-25 { font-size: 1.5rem;}
.nuage-mot.taille-3 { font-size: 2.1rem; }
.nuage-mot.taille-4 { font-size: 2.9rem; }

.nuage-mot.c-bleu1 { color: var(--bleu); }
.nuage-mot.c-bleu2 { color: var(--nuit); }
.nuage-mot.c-prune  { color: var(--prune); }

/* Bloc impression */
.bloc-impression {
  background: var(--blanc);
  border-left: 2px solid var(--abricot);
  padding: 1.6rem 1.8rem;
}

.bloc-impression .bloc-titre {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nuit);
  display: block;
  margin-bottom: 0.7rem;
}

.bloc-impression p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  color: var(--nuit);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; text-align: center; }

.tag {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nuit);
  border: 0.5px solid rgba(0,61,92,0.3);
  padding: 2px 7px;
}

/* ── RÉALISATIONS ────────────────────────────────────────────── */
.realisations {
  background: var(--prune);
  padding: 6rem 3rem;
}

.realisations-inner { max-width: 800px; margin: 0 auto; }

.realisations-header { margin-bottom: 2.5rem; }

.realisations-header h2 {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: 100;
  font-size: clamp(1rem, 6vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blanc);
  margin: 6px 0 4px;
  line-height: 1;
}

.realisations-intro {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
}

.realisation-item {
  border-top: 0.5px solid rgba(255,255,255,0.12);
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
  align-items: center;
}

.realisation-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.carousel-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s;
}

.carousel-dot.active {
  background: var(--abricot);
}

.realisation-numero {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--abricot);
  display: block;
  margin-bottom: 0.5rem;
}

.realisation-titre {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--blanc);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.realisation-desc {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.realisation-desc em {
  font-style: italic;
  color: var(--abricot);
}

.realisation-note {
  display: block;
  margin-top: 0.4rem;
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.btn-video {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--abricot);
  border: 0.5px solid rgba(255,154,60,0.4);
  padding: 2px 8px;
  transition: background 0.2s, color 0.2s;
}

.btn-video:hover {
  background: var(--abricot);
  color: var(--blanc);
}

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact {
  position: relative;
  background: var(--bleu);
  overflow: hidden;
}

.contact-watermark {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: 90%;
  max-height: 90%;
  opacity: 0.08;
  filter: invert(1) brightness(2);
  pointer-events: none;
  user-select: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 3rem;
}

.contact h2 {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: 100;
  font-size: clamp(2.5rem, 7vw, 5rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blanc);
  line-height: 0.9;
  margin: 6px 0 0;
}

.contact-punch {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.8);
  margin: 1rem 0 2rem;
  line-height: 1.45;
  border-left: 2px solid rgba(255,154,60,0.5);
  padding-left: 0.9rem;
}

.contact-coordonnees {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-ligne {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}

.contact-ligne .label-section { flex-shrink: 0; }

.contact-ligne a,
.contact-ligne span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--blanc);
  transition: color 0.2s;
}

.contact-ligne a:hover { color: var(--abricot); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--nuit);
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.6rem 3rem 1.2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-losanges {
  color: var(--abricot);
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  line-height: 1;
}

.footer-domaine {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  border-top: 0.5px solid rgba(255,255,255,0.12);
  padding-top: 0.9rem;
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.footer-legal a {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ── PAGES LÉGALES ───────────────────────────────────────────── */
.page-legale {
  background: var(--gris);
  min-height: 100svh;
  padding: 8rem 3rem 5rem;
}

.page-legale-inner {
  max-width: 720px;
  margin: 0 auto;
}

.page-legale h1 {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: 100;
  font-size: clamp(2rem, 6vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nuit);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.page-legale h2 {
  font-family: 'Saira Extra Condensed', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--abricot);
  margin: 2.5rem 0 0.6rem;
}

.page-legale p,
.page-legale address {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--nuit);
  line-height: 1.7;
  font-style: normal;
}

.page-legale a {
  color: var(--bleu);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bandeau-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.bandeau-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-mobile  { display: block; }

  .realisation-item {
    grid-template-columns: 1fr;
    gap: 1rem 0;
  }

  body { padding-top: 0; }

  .hero         { padding: 5rem 1.5rem 4rem; }
  .ce-que-je-fais { padding: 4rem 1.5rem; }
  .realisations   { padding: 4rem 1.5rem; }
  .contact        { padding: 4rem 1.5rem; }
  footer          { padding: 1.2rem 1.5rem 0.8rem; }
  .page-legale    { padding: 6rem 1.5rem 4rem; }
}

@media (min-width: 769px) {
  .nav-mobile { display: none; }
}
