/* ============ Philippe Sellier & Co — feuille de style unique ============ */


:root{
  --navy:#1c2b4a;
  --white:#ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #ffffff;
}


/* ---------- header ---------- */
body {
    font-family: 'Georgia', 'Times New Roman', serif;
    /* fond de page neutre pour visualiser la transparence du header */
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=60') center/cover no-repeat;
    min-height: 100vh;
  }

  .site-header {
    background: rgba(60, 58, 54, 0.55); /* gris transparent */
    backdrop-filter: blur(2px);
    color: #ffffff;
  }

  .header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 40px;
  }

  /* Bloc gauche : logo + services */
  .header-left {
    display: flex;
    align-items: center;
    gap: 48px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    flex-shrink: 0;
  }
  .brand svg { width: 24px; height: 24px; }
  .brand-name {
    font-family: 'Georgia', serif;
    font-size: 19px;
    font-weight: normal;
    letter-spacing: 0.3px;
    white-space: nowrap;
    color: #ffffff;
  }

  .nav-services {
    display: flex;
    gap: 32px;
    list-style: none;
  }
  .nav-services a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }
  .nav-services a:hover { opacity: 0.75; }

  /* Bloc droit */
  .nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav-right a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 15px;
    font-weight: normal;
    white-space: nowrap;
  }
  .nav-right a:hover { opacity: 0.75; }

  @media (max-width: 900px) {
    .nav-services { display: none; } /* menu burger à prévoir lors de l'assemblage final */
    .header-inner { padding: 0 20px; }
  }


/* ---------- hero ---------- */
/* ---------- HERO (vidéo plein écran) ---------- */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
    background: #14120f; /* couleur de secours pendant le chargement */
  }

  .hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: grayscale(15%);
  }

  /* voile sombre pour la lisibilité du header et du texte */
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
      rgba(10,10,10,0.55) 0%,
      rgba(10,10,10,0.15) 30%,
      rgba(10,10,10,0.25) 70%,
      rgba(10,10,10,0.65) 100%);
  }

  .hero-content {
    position: absolute;
    left: 0; right: 0; bottom: 14%;
    text-align: center;
    color: #ffffff;
    padding: 0 24px;
  }
  .hero-content h1 {
    font-family: 'Georgia', serif;
    font-weight: normal;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: 0.5px;
    line-height: 1.3;
  }

  /* ---------- HEADER (flottant sur la vidéo) ---------- */
  .site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    background: rgba(60, 58, 54, 0.55); /* gris transparent */
    backdrop-filter: blur(2px);
    color: #ffffff;
  }

  .header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 40px;
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 48px;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    flex-shrink: 0;
  }
  .brand svg { width: 24px; height: 24px; }
  .brand-name {
    font-family: 'Georgia', serif;
    font-size: 19px;
    font-weight: normal;
    letter-spacing: 0.3px;
    white-space: nowrap;
    color: #ffffff;
  }

  .nav-services {
    display: flex;
    gap: 32px;
    list-style: none;
  }
  .nav-services a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }
  .nav-services a:hover { opacity: 0.75; }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav-right a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-size: 15px;
    font-weight: normal;
    white-space: nowrap;
  }
  .nav-right a:hover { opacity: 0.75; }

  @media (max-width: 900px) {
    .nav-services { display: none; }
    .header-inner { padding: 0 20px; }
  }


/* ---------- presentation ---------- */
.presentation {
    background: #ffffff;
    padding: 130px 24px;
  }

  .presentation-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
  }

  .presentation p {
    color: #2b3542; /* bleu nuit gris */
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.5;
    font-weight: normal;
    letter-spacing: 0.2px;
  }

  .rule {
    width: 48px;
    height: 1px;
    background: #2b3542;
    opacity: 0.35;
    margin: 32px auto 0;
  }


/* ---------- expertise ---------- */
.expertise {
    background: #ffffff;
    padding: 90px 40px 120px;
  }

  .expertise-inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  .expertise-header {
    text-align: center;
    margin-bottom: 56px;
  }
  .eyebrow {
    color: #8a8f96;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
  }
  .expertise-header h2 {
    color: #1c2b4a; /* bleu nuit */
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: normal;
    letter-spacing: 0.2px;
  }

  .metiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 46px;
  }

  .metier-card { text-align: left; }

  .metier-image {
    width: 100%;
    aspect-ratio: 9 / 10;
    margin-bottom: 30px;
    overflow: hidden;
  }
  .metier-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .metier-card h3 {
    color: #1c2b4a;
    font-size: clamp(22px, 2vw, 26px);
    font-weight: normal;
    line-height: 1.25;
    margin-bottom: 18px;
  }
  .metier-card p {
    color: #3b3f45;
    font-family: 'Georgia', serif;
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .metier-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1c2b4a;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }
  .metier-link:hover { opacity: 0.7; }

  @media (max-width: 860px) {
    .metiers-grid { grid-template-columns: 1fr; gap: 48px; }
  }


/* ---------- chiffres-cles ---------- */
.approche {
    background: #ffffff;
    padding: 40px 40px 110px;
  }

  .approche-inner {
    max-width: 1280px;
    margin: 0 auto;
  }

  .approche-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .approche-card {
    background: #f5f2ee;
    border-left: 3px solid #1c2b4a;
    padding: 40px 36px;
  }

  .approche-title {
    color: #1c2b4a;
    font-family: 'Georgia', serif;
    font-size: 32px;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 22px;
  }

  .approche-caption {
    color: #3b3f45;
    font-family: 'Georgia', serif;
    font-size: 15px;
    line-height: 1.6;
  }

  @media (max-width: 860px) {
    .approche-grid { grid-template-columns: 1fr; gap: 24px; }
  }


/* ---------- nous-connaitre ---------- */
.nous-connaitre {
    background: #ffffff;
    padding: 100px 40px;
  }

  .nc-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .nc-image {
    width: 100%;
    aspect-ratio: 1.28 / 1;
    overflow: hidden;
  }
  .nc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .nc-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
  }
  .nc-eyebrow .line {
    width: 40px;
    height: 1px;
    background: #1c2b4a;
  }
  .nc-eyebrow span {
    color: #1c2b4a;
    font-family: 'Georgia', serif;
    font-size: 17px;
  }

  .nc-text h2 {
    color: #1c2b4a;
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: normal;
    line-height: 1.25;
    margin-bottom: 30px;
  }

  .nc-text p {
    color: #3b3f45;
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 560px;
  }

  .nc-cta {
    display: inline-block;
    margin-top: 20px;
    background: #1c2b4a;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .nc-cta:hover { background: #12203a; }

  @media (max-width: 900px) {
    .nc-inner { grid-template-columns: 1fr; gap: 40px; }
  }


/* ---------- ressources ---------- */
.ressources {
    background: #f5f2ee;
    padding: 90px 40px 110px;
  }

  .ressources-inner {
    max-width: 1400px;
    margin: 0 auto;
  }

  .ressources-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
  }
  .ressources-header h2 {
    color: #1c2b4a;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: normal;
  }

  .ressources-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 40px;
  }

  .ressource-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    color: rgba(255,255,255,0.85);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 0.3px;
  }
  .ressource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  /* c4 n'a pas encore de photo fournie — degrade conserve en attendant */
  .ressource-card.c4 .ressource-image { background: linear-gradient(160deg, #40434a 0%, #202226 100%); }

  .ressource-tag {
    color: #1c2b4a;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
  }

  .ressource-card h3 {
    color: #1c2b4a;
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 14px;
  }
  .ressource-card.featured h3 { font-size: 28px; }
  .ressource-card:not(.featured) h3 { font-size: 18px; }

  .ressource-card p {
    color: #3b3f45;
    font-family: 'Georgia', serif;
    line-height: 1.6;
  }
  .ressource-card.featured p { font-size: 16px; }
  .ressource-card:not(.featured) p { font-size: 14px; }

  @media (max-width: 1100px) {
    .ressources-grid { grid-template-columns: 1fr 1fr; }
    .ressource-card.featured { grid-column: span 2; }
  }
  @media (max-width: 640px) {
    .ressources-grid { grid-template-columns: 1fr; }
    .ressource-card.featured { grid-column: span 1; }
  }


/* ---------- contact-banner ---------- */
.contact-banner-wrap {
    padding: 60px 40px;
    background: #ffffff;
  }

  .contact-banner {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    min-height: 320px;
    overflow: hidden;
    background: url('assets/img/contact-texture.jpg') center/cover no-repeat;
  }

  .contact-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
  }

  .contact-panel {
    position: relative;
    z-index: 2;
    margin: 40px;
    padding: 48px 56px;
    background: rgba(20, 18, 15, 0.6);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }

  .contact-panel-text h2 {
    color: #ffffff;
    font-weight: normal;
    font-size: clamp(28px, 3vw, 38px);
    margin-bottom: 18px;
  }
  .contact-panel-text p {
    color: rgba(255,255,255,0.9);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 620px;
  }

  .contact-panel-cta {
    flex-shrink: 0;
    display: inline-block;
    background: #ffffff;
    color: #1c2b4a;
    text-decoration: none;
    padding: 18px 34px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .contact-panel-cta:hover { background: #eeeeee; }

  @media (max-width: 700px) {
    .contact-panel { margin: 20px; padding: 36px 28px; }
  }


/* ---------- footer ---------- */
.site-footer {
    background: #1c2b4a;
    color: #ffffff;
    padding: 60px 40px 0;
  }

  .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
  }

  .footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 50px;
    flex-wrap: wrap;
  }

  .footer-logo svg { width: 30px; height: 30px; }

  .footer-columns {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
  }
  .footer-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .footer-col a {
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
  }
  .footer-col a:hover { opacity: 0.75; }

  .footer-top-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    height: fit-content;
  }
  .footer-top-link .circle {
    width: 34px;
    height: 34px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-top-link svg { width: 15px; height: 15px; }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 26px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-legal {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
  }
  .footer-legal a {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
  }
  .footer-legal a:hover { color: #ffffff; }

  .footer-social {
    display: flex;
    gap: 18px;
  }
  .footer-social a {
    color: #ffffff;
    display: flex;
  }
  .footer-social svg { width: 20px; height: 20px; }

  @media (max-width: 900px) {
    .footer-top { flex-direction: column; gap: 40px; }
    .footer-columns { gap: 40px; }
  }


/* ---------- header (variante page interieure, fond plein) ---------- */
.site-header.solid {
  position: relative;
  background: var(--navy);
  backdrop-filter: none;
}
.page-hero {
  background: var(--navy);
  color: #ffffff;
  padding: 70px 40px;
  text-align: left;
}
.page-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Georgia', serif;
  font-weight: normal;
  font-size: clamp(30px, 4vw, 46px);
}
