/* ===== FONTS ===== */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/cormorant-garamond.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/cormorant-garamond-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/cormorant-garamond-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/source-serif-pro-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-serif-pro.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Serif Pro';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-serif-pro-600.woff2') format('woff2');
}

/* ===== PALETTE ===== */

:root {
  --bg: #f5f4f1;
  --bg-alt: #ffffff;
  --text: #111111;
  --muted: #6f6f6f;
  --border: #dcd7ce;
  --accent: #b8a98a; /* beige pierre */
}

/* ===== LANGUAGE SELECTOR ===== */

.lang-buttons {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  gap: 8px;
}

.lang-button {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: "Source Serif Pro", serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.lang-button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.lang-button.inactive {
  opacity: 0.5;
}

.lang-button:not(.inactive) {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

@media (max-width: 768px) {
  .lang-buttons {
    top: 10px;
    right: 10px;
  }

  .lang-button {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* ===== RESET ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Serif Pro", serif;
  line-height: 1.6;
}

/* ===== LINKS ===== */

a {
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #6f6f6f;
}

a:visited {
  font-weight: bold;
}

/* ===== LAYOUT ===== */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
}

.narrowtext {
 font-size: 0.8rem;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--bg-alt);
}

/* ===== HEADER ===== */

.site-header {
  background: #ffffffee;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  letter-spacing: 0.05em;
}

.logo-tagline {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

.main-nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  opacity: 0.8;
}

.main-nav a:hover {
  opacity: 1;
}

/* ===== MOBILE MENU ===== */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* z-index: 98; */
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--bg-alt);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 80px 30px 30px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav a {
    margin: 0;
    padding: 18px 0;
    font-size: 20px;
    font-family: "Cormorant Garamond", serif;
    border-bottom: 1px solid var(--border);
    opacity: 1;
    position: relative;
    overflow: hidden;
  }

  .main-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
  }

  .main-nav a:hover::before {
    width: 100%;
  }

  .main-nav a:first-child {
    border-top: 1px solid var(--border);
  }

  .logo-block {
    display: none;
  }
}

/* ===== HERO ===== */

.section-hero {
  background: #111;
  color: #f5f4f1;
  padding: 0;
  position: relative;
  min-height: 600px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 600px;
}

.hero-column {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left {
  background: #111;
  text-align: center;
  align-items: center;
}

.hero-center {
  background-image: url('../images/sculptures.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-right {
  background: #111;
  text-align: center;
  align-items: center;
}

.hero-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.section-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 54px;
  margin-bottom: 10px;
  margin-top: 0;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 14px;
  opacity: 0.9;
}

.hero-text {
  font-size: 16px;
  line-height: 1.7;
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto 300px auto;
  }

  .hero-column {
    padding: 40px 20px;
  }

  .hero-center {
    order: 2;
    min-height: 300px;
  }

  .hero-left {
    order: 1;
  }

  .hero-right {
    order: 3;
  }
}

/* ===== TITLES ===== */

h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  margin-bottom: 12px;
}

h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  margin-bottom: 6px;
}

.quote-centered {
  text-align: center;
  padding: 0 40px;
  margin: 30px auto;
  font-style: italic;
  font-weight: 400;
}

/* ===== PROJECTS ===== */

/* Accordion */
.accordion {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  background: var(--bg-alt);
  border: none;
  padding: 18px 24px;
  font-family: "Source Serif Pro", serif;
  font-size: 18px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  text-align: left;
  font-weight: 600;
  gap: 12px;
}

.accordion-header img.logo-image {
  height: 30px;
  width: auto;
  margin-right: 12px;
}

.accordion-header span:not(.accordion-icon) {
  flex: 0 0 auto;
  margin-right: auto;
}

.accordion-header:hover {
  background: rgba(184, 169, 138, 0.1);
}

.accordion-header.active {
  background: rgba(184, 169, 138, 0.15);
  color: var(--text);
}

.accordion-icon {
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
  margin-left: auto;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-content.active {
  max-height: 2000px;
}

.accordion-body {
  padding: 24px;
  background: var(--bg-alt);
}

.projects-list {
  margin-top: 20px;
}

.project-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.project-item:last-child {
  border-bottom: none;
}

.project-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
  display: block;
}

/* ===== FUNDING / TALENTS ===== */

.talent-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.talent-list li {
  margin-bottom: 20px;
  padding: 15px;
  background: #faf9f7;
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

.talent-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--text);
}

.section-note {
  margin-top: 30px;
  padding: 20px;
  background: rgba(184, 169, 138, 0.1);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

/* ===== FORMULAIRE ===== */

/* Accordion Toggle for Contact Form */
.accordion-toggle {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 24px;
  font-family: "Source Serif Pro", serif;
  font-size: 18px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  text-align: left;
  font-weight: 600;
  margin-bottom: 0;
}

.accordion-toggle:hover {
  background: rgba(184, 169, 138, 0.1);
}

.accordion-toggle[aria-expanded="true"] {
  background: rgba(184, 169, 138, 0.15);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.accordion-title {
  flex: 1;
}

.accordion-icon {
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.accordion-icon::before {
  content: "+";
}

.accordion-toggle[aria-expanded="true"] .accordion-icon::before {
  content: "−";
}

/* Contact Form Content */
.contact-form {
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.invite {
  margin-bottom: 20px;
  font-size: 16px;
  text-align: center;
}

.contact-form p {
  margin-bottom: 15px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #faf9f7;
  font-family: "Source Serif Pro", serif;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  display: inline-block;
  padding: 12px 30px;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: "Source Serif Pro", serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form button[type="submit"]:hover {
  background: var(--accent);
  color: var(--text);
}

.hidden {
  display: none;
}

.h3 {
  font-size: 20px;
  text-align: center;
  margin: 20px 0;
}

.tada {
  animation: tada 1s ease;
}

@keyframes tada {
  0% { transform: scale(1); }
  10%, 20% { transform: scale(0.9) rotate(-3deg); }
  30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
  40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}


/* ===== CONTACT ===== */

#contact {
  background: #f9f8f5;
}

.contact-info a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.contact-info a:hover {
  opacity: 0.7;
}

/* ===== FOOTER ===== */

.site-footer {
  padding: 20px 0;
  background: #eceae6;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ===== REVEAL ANIMATION ===== */

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
