/* ============================================================
   AGENCE BC — Site complet responsive
   Palette : Marine #0F1E4A / Or #D4A865 / Crème #FBF6EC
             Corail #F5A78A / Rose #EBD3D3 / Sauge #B7C9A8
   ============================================================ */

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

:root {
  --marine:   #0F1E4A;
  --or:       #D4A865;
  --creme:    #FBF6EC;
  --corail:   #F5A78A;
  --rose:     #EBD3D3;
  --sauge:    #B7C9A8;
  --marine-2: #1A2A5E;
  --texte:    #2a2a2a;
  --texte-2:  #5a5a5a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--creme);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  color: var(--marine);
  font-weight: 500;
  letter-spacing: 0.5px;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.25; margin-bottom: 0.6em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); margin-bottom: 0.5em; }

p { margin-bottom: 1em; }

a { color: var(--marine); text-decoration: none; transition: color .2s; }
a:hover { color: var(--or); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(15,30,74,0.08);
  border-bottom: 1px solid rgba(212,168,101,0.25);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--marine);
  letter-spacing: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--marine);
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all .2s;
}

.nav-links a:hover {
  background: var(--creme);
  color: var(--or);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--marine);
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-inner { padding: 12px 18px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-burger { display: block; }
}

/* ============================================================
   HERO - photo Chérazad + logo intacts, jamais de texte dessus
   ============================================================ */
.hero {
  padding-top: 70px; /*补偿 fixed nav */
}

.hero-photo-wrap {
  width: 100%;
  /* La photo AVEC le logo déjà intégré est affichée entière */
  background: #0F1E4A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-wrap img {
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.hero-tag {
  background: var(--marine);
  color: var(--or);
  text-align: center;
  padding: 22px 24px;
  letter-spacing: 4px;
  font-size: clamp(0.7rem, 1.4vw, 0.95rem);
  font-weight: 500;
}

.hero-tag span {
  margin: 0 8px;
  color: rgba(212,168,101,0.6);
}

.hero-slogan {
  background: var(--creme);
  padding: 50px 24px 30px;
  text-align: center;
}

.hero-slogan h1 {
  max-width: 900px;
  margin: 0 auto;
  font-style: italic;
  color: var(--marine);
}

.hero-slogan h1 em {
  color: var(--or);
  font-style: italic;
}

@media (max-width: 600px) {
  .hero { padding-top: 56px; }
  .hero-tag { font-size: 0.65rem; letter-spacing: 2px; padding: 16px 12px; }
  .hero-slogan { padding: 36px 18px 22px; }
}

/* ============================================================
   SECTIONS GENERIQUES
   ============================================================ */
section {
  padding: 80px 0;
}

@media (max-width: 600px) {
  section { padding: 50px 0; }
}

.section-creme   { background: var(--creme); }
.section-marine  { background: var(--marine); color: #fff; }
.section-corail  { background: var(--corail); color: var(--marine); }
.section-rose    { background: var(--rose); color: var(--marine); }
.section-sauge   { background: var(--sauge); color: var(--marine); }

.section-marine h2,
.section-marine h3 { color: var(--or); }
.section-corail h2,
.section-rose h2,
.section-sauge h2 { color: var(--marine); }

.intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
  font-size: 1.1rem;
  color: var(--texte-2);
}

.section-marine .intro { color: rgba(255,255,255,0.85); }

.section-title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
}
.section-title-ornament::before,
.section-title-ornament::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--or);
  opacity: 0.6;
}
.section-marine .section-title-ornament::before,
.section-marine .section-title-ornament::after { background: var(--or); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid transparent;
}

.btn-corail {
  background: var(--corail);
  color: var(--marine);
  box-shadow: 0 6px 20px rgba(245,167,138,0.35);
}
.btn-corail:hover {
  background: var(--marine);
  color: var(--or);
  transform: translateY(-2px);
}

.btn-or {
  background: transparent;
  color: var(--or);
  border-color: var(--or);
}
.btn-or:hover {
  background: var(--or);
  color: var(--marine);
}

.btn-marine {
  background: var(--marine);
  color: var(--or);
}
.btn-marine:hover { background: var(--or); color: var(--marine); }

.btn-center { text-align: center; margin-top: 32px; }

/* ============================================================
   PAGE D'ACCUEIL - sections d'ancrage
   ============================================================ */

/* "Trois métiers, une exigence" */
.three-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.pillar-card {
  background: #fff;
  border: 1px solid rgba(212,168,101,0.3);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,30,74,0.12);
  border-color: var(--or);
}

.pillar-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
  display: block;
}

.pillar-card h3 { color: var(--marine); margin-bottom: 12px; }
.pillar-card p  { color: var(--texte-2); font-size: 0.95rem; }

.pillar-card .pillar-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--or);
  font-weight: 600;
  font-size: 0.9rem;
}
.pillar-card .pillar-link::after { content: ' →'; transition: margin .2s; }
.pillar-card .pillar-link:hover::after { content: ' →'; margin-left: 4px; }

@media (max-width: 900px) {
  .three-pillars { grid-template-columns: 1fr; gap: 22px; }
}

/* Bandeau dirigeante */
.dirigeante-band {
  background: var(--marine);
  color: #fff;
  padding: 70px 0;
}

.dirigeante-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.dirigeante-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.3);
  border: 2px solid var(--or);
}

.dirigeante-photo img {
  width: 100%; height: auto; display: block;
  filter: grayscale(100%) contrast(1.05);
}

.dirigeante-text h2 { color: var(--or); }
.dirigeante-text .role {
  color: var(--corail);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

@media (max-width: 800px) {
  .dirigeante-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   QUI SOMMES-NOUS
   ============================================================ */
.bio-block {
  background: #fff;
  border-radius: 14px;
  padding: 50px;
  box-shadow: 0 12px 36px rgba(15,30,74,0.06);
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(212,168,101,0.2);
}
.bio-block p { font-size: 1.05rem; line-height: 1.8; }
.bio-block p + p { margin-top: 14px; }

.signature-line {
  margin-top: 30px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--marine);
  font-style: italic;
  border-top: 1px solid var(--or);
  padding-top: 20px;
}

@media (max-width: 700px) {
  .bio-block { padding: 30px 22px; }
}

/* ============================================================
   ÉVÉNEMENTIEL - galerie B&W
   ============================================================ */
.gallery-bw {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.gallery-bw .g1 { grid-column: span 7; }
.gallery-bw .g2 { grid-column: span 5; }
.gallery-bw .g3 { grid-column: span 5; }
.gallery-bw .g4 { grid-column: span 7; }
.gallery-bw .g5 { grid-column: span 4; }
.gallery-bw .g6 { grid-column: span 4; }
.gallery-bw .g7 { grid-column: span 4; }
.gallery-bw .g8 { grid-column: span 12; }

.gallery-bw .gbw-img {
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  position: relative;
  box-shadow: 0 6px 20px rgba(15,30,74,0.18);
}
.gallery-bw .g8 { height: 360px; }
.gallery-bw img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: transform .5s, filter .5s;
}
.gallery-bw .gbw-img:hover img { transform: scale(1.05); }

@media (max-width: 700px) {
  .gallery-bw .g1, .gallery-bw .g2, .gallery-bw .g3, .gallery-bw .g4,
  .gallery-bw .g5, .gallery-bw .g6, .gallery-bw .g7, .gallery-bw .g8 {
    grid-column: span 12;
  }
  .gallery-bw .gbw-img { height: 220px; }
}

/* ============================================================
   COMMUNICATION & PUBLICITÉ - 2 colonnes services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 12px;
  border-top: 4px solid var(--or);
  transition: all .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.08); }
.service-num {
  font-family: 'Cormorant Garamond', serif;
  color: var(--or);
  font-size: 2.2rem;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}
.service-card h3 { color: var(--marine); }
.service-card p  { color: var(--texte-2); font-size: 0.95rem; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RELATION MÉDICALE - rose poudré
   ============================================================ */
.medical-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.medical-block {
  background: rgba(255,255,255,0.7);
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid var(--marine);
}

.medical-block h3 { color: var(--marine); }
.medical-block p  { color: var(--texte); font-size: 0.95rem; }

.reassurance {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.reassurance-item {
  background: #fff;
  padding: 16px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--marine);
  border: 1px solid rgba(15,30,74,0.15);
}
.reassurance-item::before { content: '✓ '; color: var(--corail); font-weight: 700; }

@media (max-width: 800px) {
  .medical-blocks { grid-template-columns: 1fr; }
}

/* ============================================================
   NOTRE MÉTHODE - 4 étapes
   ============================================================ */
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  counter-reset: step;
}

.step {
  background: rgba(255,255,255,0.08);
  padding: 36px 28px;
  border-radius: 12px;
  border: 1px solid rgba(212,168,101,0.3);
  position: relative;
  counter-increment: step;
  transition: all .3s;
}

.step:hover {
  background: rgba(212,168,101,0.12);
  transform: translateY(-4px);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 500;
  color: var(--or);
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}

.step h3 { color: var(--or); margin-bottom: 10px; }
.step p  { color: rgba(255,255,255,0.85); font-size: 0.92rem; }

@media (max-width: 900px) {
  .method-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .method-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   ILS NOUS FONT CONFIANCE
   ============================================================ */
.trust-pictos {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.trust-picto {
  text-align: center;
}
.trust-picto-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}
.trust-picto-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--marine);
  font-style: italic;
}

@media (max-width: 600px) {
  .trust-pictos { gap: 30px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 0.85rem;
  color: var(--marine);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.form-row label span.req { color: var(--corail); }

.form-row input,
.form-row textarea,
.form-row select {
  padding: 12px 14px;
  border: 1px solid rgba(15,30,74,0.2);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--texte);
  transition: border-color .2s;
}
.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--or); }

.form-row textarea { min-height: 130px; resize: vertical; }

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--texte-2);
}
.form-check input { margin-top: 3px; }

.business-card {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border: 1px solid rgba(212,168,101,0.3);
}

.business-card-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.business-card-img img { width: 100%; height: auto; }

.business-card-contact {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--marine);
  margin-bottom: 6px;
  font-weight: 500;
}

.business-card-role {
  color: var(--or);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.business-card-info {
  font-size: 0.92rem;
  color: var(--texte-2);
  line-height: 1.8;
}
.business-card-info a { color: var(--marine); font-weight: 600; }

.map-wrap {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--or);
  background: #ddd;
  height: 360px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

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

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--marine);
  color: #fff;
  padding: 50px 0 30px;
  text-align: center;
}

footer .footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  letter-spacing: 6px;
  color: var(--or);
  margin-bottom: 18px;
}

footer .footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

footer .footer-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
footer .footer-links a:hover { color: var(--or); }

footer .footer-contact {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 22px;
  line-height: 1.7;
}

footer .footer-social { display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
footer .footer-social a {
  width: 40px; height: 40px;
  border: 1px solid var(--or);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--or);
  font-size: 0.9rem;
  transition: all .2s;
}
footer .footer-social a:hover { background: var(--or); color: var(--marine); }

footer .footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  margin-top: 20px;
}

/* ============================================================
   ANIMATIONS D'APPARITION AU SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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