/* ─── POLICE ─── */
/* Remplace le chemin ci-dessous par le chemin vers ton fichier de police */
@font-face {
  font-family: 'Montserrat-light';
  src: url('asset/Typo/Montserrat-light.ttf') format('ttf');
  font-weight: 300 600;
  font-style: normal italic;
  font-display: swap;
}

@font-face {
  font-family: 'BigCaslon';
  src: url('asset/Typo/BigCaslon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* Google Fonts — à remplacer par @font-face si police locale 
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap');
*/
/* ─── VARIABLES ─── */
:root {
  --beige: #f8f5f2;
  --marron: #321911;
  --vert: #cae3cd;

  --brown-dark: #321911;
  --brown-mid: #5a3020;
  --brown-light: #8B6B5A;
  --cream: #f8f5f2;
  --cream-dark: #ede8e2;
  --white: #FFFFFF;
  --text-primary: #321911;
  --text-secondary: #321911;
  --border-color: #D4C8BE;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
}

/* ─── RESET ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat-light', sans-serif;
  color: var(--text-primary);
  background: var(--beige);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p {
  font-size: 16px;
}

h1 {
  font-family: 'BigCaslon', Georgia, serif;
  font-size: 28px;
  font-weight: normal;
  font-style: italic;
}

h2, h3 {
  font-family: 'Montserrat-light', sans-serif;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition: background 0.3s;
}

nav.scrolled {
  background: rgba(50,25,17,0.95);
}

nav.scrolled .nav-brand img {
  height: 168px;
}

nav.scrolled .nav-contact {
  color: var(--white);
}

nav.scrolled .nav-contact:hover {
  color: var(--cream-dark);
}

nav.scrolled .nav-hamburger span {
  background: var(--white);
}

.nav-hamburger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 1px;
  transition: 0.3s;
}


.nav-brand {
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-brand img {
  height: 56px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.nav-contact {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-contact:hover { color: var(--brown-light); }

/* ─── HERO ─── */
.hero {
  margin-top: 0;
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  background: var(--cream-dark);
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248,245,242,0.25) 0%, rgba(248,245,242,0.65) 70%, rgba(248,245,242,0.85) 100%),
    url('asset/photo_banniere_index.png');
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.hero-content .btn-primary {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-quote {
  font-family: 'BigCaslon', Georgia, serif;
  font-weight: 300;
  color: var(--brown-dark);
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 3rem;
  background: var(--brown-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
  background: var(--brown-mid);
}

.hero-content .btn-primary:hover {
  transform: translateX(-50%) translateY(-1px);
}

/* ─── SECTION: LA MAISON ─── */
.section {
  padding: 5rem 3rem;
  max-width: 960px;
  margin: 0 auto;
}

.section-intro {
  padding: 5rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.section-intro p {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-primary);
  text-align: left;
}

.section-intro strong {
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ─── NOS SERVICES ─── */
.section-title {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

.services-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  padding-top: 0;
}

.services-left {
  flex: 1;
}

.services-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-list {
  list-style: none;
}

.services-list li {
  border-bottom: 1px solid var(--border-color);
  padding: 1.3rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.services-list li:first-child {
  border-top: 1px solid var(--border-color);
}

.service-name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.service-desc {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ─── MANIFESTO BANNER ─── */
.manifesto {
  background: var(--brown-dark);
  padding: 2.25rem 1.5rem;
  text-align: center;
  margin: 0 16px;
}

.manifesto p {
  max-width: 1200px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  line-height: 2;
  color: var(--cream);
  letter-spacing: 0.02em;
}

/* ─── NOS SECTEURS ─── */
.secteurs {
  padding: 5rem 3rem;
  max-width: 1060px;
  margin: 0 auto;
}

.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.secteur-card {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2.5rem 1.8rem 2rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  background: var(--white);
}

.secteur-card:hover {
  border-color: var(--brown-light);
  box-shadow: 0 8px 30px rgba(50,25,17,0.08);
  transform: translateY(-3px);
}

.secteur-icon {
  width: 252px;
  height: 252px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.secteur-icon img {
  width: 252px;
  height: 252px;
  object-fit: contain;
}

.secteur-card h3 {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.secteur-card p {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
}

.secteur-card p strong {
  font-weight: 500;
  color: var(--text-primary);
}

/* ─── DIAGNOSTIC ─── */
.diagnostic {
  padding: 5rem 3rem;
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.diagnostic-text h2 {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.diagnostic-text p {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
}

.diagnostic-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.diagnostic-buttons .btn-outline {
  flex: 1;
  text-align: center;
}

.btn-outline {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 1px solid var(--brown-dark);
  color: var(--brown-dark);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
  background: var(--brown-dark);
  color: var(--white);
}

.diagnostic-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagnostic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 3rem;
  text-align: center;
}

footer p {
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover { color: var(--brown-dark); }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-brand h1 { }

  .hero { height: 55vh; min-height: 380px; }
  .hero-quote { font-size: 1.2rem; padding: 0 1.5rem; }

  .section, .section-intro, .secteurs { padding: 3.5rem 1.5rem; }

  .secteurs-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .diagnostic {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.5rem;
    gap: 2rem;
  }

  .diagnostic-image { order: -1; }

  .manifesto { padding: 1.5rem 0.75rem; }
  .services-section { grid-template-columns: 1fr; }
  .services-right { justify-content: flex-start; }
  .manifesto p { }

  footer { padding: 1.5rem; }
}
