
:root {
  --bg: #0b0b0b; 
  --fg: #ffffff;
  --content-bg: #ffffff;
  --text: #111;
  --muted: #777;
  --accent: #000000;
  --radius: 14px;
  --transition: 0.3s ease;
  --font: "neue-haas-grotesk-text", sans-serif;
}

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

html {
  font-family: var(--font);
  font-size: 16px;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--fg);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--muted);
}

header, footer {
  padding: 1rem;
  text-align: center;
  color: var(--fg);
}
footer {
  background: #f5f5f5;
  color: var(--text);
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.65rem;
  line-height: 1.6;
  border-top: 1px solid #e0e0e0;
}

footer .confidentiel {
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  font-size: 0.7em;
}

footer .signature {
  font-style: italic;
  opacity: 0.8;
  font-size: 0.6rem;
  margin-bottom: 0;
} 
#home-intro {
  width: 100%;
}

/* NAVIGATION BURGER */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1rem;
  /*! background-color: var(--bg); */
  position: relative;
  z-index: 1000;
}

.logo {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.burger {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 3000;
}

.burger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.burger span:nth-child(1) {
  transform: translateY(-6px);
}
.burger span:nth-child(2) {
  transform: translateY(0);
}
.burger span:nth-child(3) {
  transform: translateY(6px);
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.header-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  line-height: 1.2;
}

.header-title h1 {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg);
  white-space: nowrap;
}

.header-title .subtitle {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: none;
  font-weight: 400;
}


/* MENU FULLSCREEN */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.5s ease;
  overflow-y: auto;
}

.menu-overlay.open {
  transform: translateY(0);
  opacity: 1;
}

.menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  text-align: center;
  padding-top: 3rem;
}

.menu-links li {
  opacity: 0;
  transform: translateY(10px);
}

.menu-links a,
.menu-links button {
  font-size: 1.1rem;
  color: var(--fg);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.5;
  border: none;
  cursor: pointer;
}

.menu-links button {
  border: 1px solid var(--fg);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.menu-links button:hover {
  background: var(--fg);
  color: var(--bg);
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LOGIN */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  height: 100vh;
  background: var(--bg);
}

.login-box {
  background: #1a1a1a;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  width: 100%;
  max-width: 400px;
  animation: fadeIn 0.6s ease-out both;
}

.subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input {
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius);
  background: #2a2a2a;
  color: var(--fg);
  font-size: 1rem;
  transition: background var(--transition);
}

input:focus {
  outline: none;
  background: #3a3a3a;
}

button {
  padding: 0.75rem;
  background: var(--fg);
  color: var(--bg);
  font-weight: bold;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

button:hover {
  transform: scale(1.02);
  background: #e0e0e0;
  color: #000;
}

#error-message {
  color: #ff5f5f;
  font-size: 0.85rem;
  text-align: center;
  min-height: 1rem;
}

/* CONTENU PRINCIPAL */
main {
  flex: 1;
  background: var(--content-bg);
  color: var(--text);
  padding: 2.5rem 1.2rem;
}

main > section {
  max-width: 840px;
  margin: 0 auto 3rem auto;
}

section + section {
  margin-top: 4rem;
}

.center {
  text-align: center;
}

/* TYPOGRAPHIE */
h1, h2, h3 {
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

h1 {
  font-size: 1.7rem;
  text-align: center;
  position: relative;
}
main h1 {
  padding-bottom: 30px;
}
main h1:after {
  content: "";
  display: block;
  margin: auto;
  position: absolute;
  bottom: 0;
  width: 1px;
  background-color:black;
  height: 20px;
  left: 50%;
  
}

h2 {
  font-size: 1.3rem;
  margin-top: 3rem;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0rem 0 2rem;
  align-content: center; 
  justify-content: center;
}

.section-title h2 {
  font-size: 1.1rem;
  font-weight: 600;
  white-space: wrap;
  color: var(--text); 
  margin: 0;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 4px;
  background: rgba(153, 153, 153, 0.25); /* gris bleuté subtil */
  border-radius: 2px;
}

h3 {
  font-size: 1.1rem;
  margin-top: 3.5rem;
  padding-left: 1em;
  border-left: 3px solid silver;
  font-weight: 600;
  color:gray;
}

h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
    font-weight: 600;
  letter-spacing: 1px;
  padding-bottom: 10px;
  border-bottom: 1px solid ;

  margin-top: 5em;
}

p { 
  font-size: 0.9em; 
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

ul {
  padding-left: 1.2rem;
  margin-bottom: 1.6rem;
}

ul li {
  margin-bottom: 0.6rem;
}

blockquote {
  font-style: italic;
  border-left: 3px solid var(--muted);
  padding-left: 1rem;
  margin: 2rem 0;
  color: var(--muted);
  opacity: 0.85;
}

/* IMAGE */
img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* BOUTON GÉNÉRAL */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--text);
  color: var(--text);
  background: none;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  margin: 1em;
  width: 17em;
}

.btn:hover {
  background: var(--text);
  color: white;
}


/* ACCORDEONS */

/* Portraits */
.case-study img { 
  width: 100%;
  /*! max-width: 600px; */
  height: auto;
  display: block;
  /*! margin: 1rem auto; */
  border-radius: 0.5rem; 
}

/* Accordéon */
.accordion {
  margin-top: 1.5rem;
}

.accordion-trigger {
  display: block;
  width: 100%;
  text-align: left;
  background: #f4f4f4;
  color: #222;
  padding: 1rem;
  border: none;
  border-bottom: 1px solid #ddd;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top:10px;
}

.accordion-trigger:hover {
  background: #e8e8e8;
}

.accordion-content {
  display: none;
  padding: 1rem;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.accordion-content a {
  color: black;
  font-weight: bold;
}

.accordion-content p {
  margin-top: 0;
}


/* INDEX */

.index-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.5rem;
}

.index-blocks .entry-block {
  border: 1px solid #e0e0e0;
  /*! border-radius: 0.5rem; */
  overflow: hidden;
  background-color: #f9f9f9;
  /*! box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
  margin: 0 !important;
  text-align: center;
}


.index-blocks .entry-header {
  background-color: #000;
  color: #fff;
  padding: 1.2rem 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.2rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  height: 10rem;
}
.index-blocks .entry-header h2 {
  height: auto;
margin: 2em 0!important;
}

.index-blocks .entry-content {
  padding: 1.2rem 1.5rem;
}

.index-blocks .entry-content p {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 1.2rem;
}

.index-blocks .cta-button {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-weight: 500;
  border-radius: 0.3rem;
  transition: background-color 0.2s ease;
}

.index-blocks .cta-button:hover {
  background-color: #222;
}



@media (min-width: 868px) {
  .index-blocks {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .index-blocks .entry-block {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .index-blocks .entry-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}



/* LIENS PDF */
.pdf-link {
  display: inline-block;
  align-items: center;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  border: 1px solid #ccc;
  padding: 0.4rem 0.8rem;
  background-color: #f9f9f9;
  transition: background-color 0.2s ease;
  margin-top: 1em;
}

.pdf-link:hover {
  background-color: #eaeaea;
}

.pdf-icon {
  margin-left: 0.4rem;
  font-size: 1rem;
}


.breadcrumb {
  padding: 1rem 1.5rem;
  font-size: 0.575rem;
  background-color: #fff;
}

.breadcrumb ul {
  list-style: none;
  opacity: 0.7;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #666;
}

.breadcrumb a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .active {
  font-weight: 600;
  pointer-events: none;
  color: #000;
}
.button-nav {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.8em;
}

.button-nav:hover {
  background-color: #444;
}

.button-nav.active {
  background-color: #0070f3;
}

@media screen and (max-width:600px) {
  .button-nav {
    display: block;
  }
  
}