/* ==========================================================================
   Alex le Potier - V2 Styles
   Style minimaliste premium
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variables & Reset
   -------------------------------------------------------------------------- */
:root {
  --color-bg: #faf9f7;
  --color-bg-alt: #f5f3f0;
  --color-text: #2c2c2c;
  --color-text-light: #666;
  --color-accent: #8b7355;
  --color-border: #e5e2dd;
  --font-primary: 'Georgia', 'Times New Roman', serif;
  --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1000px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

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

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

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1 {
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.2;
}

h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 700px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 140px 20px;
}

.section-small {
  padding: 80px 20px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
  object-position: center;
  margin-bottom: -8px;
}

.nav-list {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-light);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-social {
  display: flex;
  align-items: center;
}

.nav-social svg {
  width: 22px;
  height: 22px;
}

.nav-social::after {
  display: none;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  letter-spacing: 1px;
}

.nav-lang .nav-link {
  padding: 0 4px;
}

.nav-lang .nav-link::after {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 0 20px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  color: white;
  font-size: 76px;
  letter-spacing: -1.5px;
  line-height: 1.02;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 480px;
  margin: 20px 0 2rem;
  font-size: 20px;
  line-height: 1.8;
}

.hero .signature-word {
  font-family: var(--font-secondary);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-tag {
  margin-top: 20px;
  font-family: var(--font-secondary);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   CTA Button
   -------------------------------------------------------------------------- */
.cta {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 28px;
  border: 1px solid white;
  color: white;
  font-family: var(--font-secondary);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
}

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

.cta-dark {
  border-color: var(--color-text);
  color: var(--color-text);
}

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

/* --------------------------------------------------------------------------
   Démarche Section
   -------------------------------------------------------------------------- */
.demarche {
  margin-top: 40px;
  margin-bottom: 30px;
  background-color: var(--color-bg);
  padding: 60px 20px;
}

.demarche .container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
}

.demarche h2 {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 24px;
}

.demarche p {
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text);
  text-align: justify;
  margin-bottom: 30px;
}

.arguments {
  margin-top: 35px;
  margin-bottom: 40px;
}

.arguments-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.argument {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.photo-piece {
  margin: 40px 0 30px 0;
}

.photo-piece img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   Commandes Section
   -------------------------------------------------------------------------- */
.commandes {
  margin: 60px 0 50px 0;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.6;
}

.commandes h2 {
  margin-bottom: 16px;
  font-weight: 600;
}

.commandes p {
  margin-bottom: 16px;
  color: var(--color-text);
}

.commandes p + p {
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   CTA Final Section
   -------------------------------------------------------------------------- */
.cta-final {
  margin: 60px 0 40px 0;
  text-align: center;
}

.cta-final-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-final h2 {
  margin-bottom: 20px;
  font-weight: 600;
}

.cta-button {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--color-text);
}

.cta-button:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.cta-final-minimal {
  margin: 70px 0 40px 0;
  text-align: center;
}

.cta-final-minimal-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-final-minimal a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  font-size: 1rem;
  color: var(--color-text);
}

.cta-final-minimal a:hover {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Pieces Page
   -------------------------------------------------------------------------- */
.pieces-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
  padding: 140px 20px 0 20px;
}

.pieces-header h1 {
  margin-bottom: 6px;
  font-size: 2rem;
  letter-spacing: -0.5px;
}

.pieces-header p {
  line-height: 1.6;
}

.pieces-note {
  text-align: center;
  max-width: 520px;
  margin: 20px auto 70px auto;
  padding: 0 20px;
  line-height: 1.6;
  opacity: 0.9;
}

.pieces-cta {
  display: inline-block;
  margin-top: 14px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  font-size: 0.95rem;
  color: var(--color-text);
  opacity: 1;
}

.pieces-cta:hover {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery {
  padding: 40px 20px 80px;
  margin-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-item {
  display: block;
  overflow: hidden;
}

.gallery-item:nth-child(3n) {
  grid-column: span 2;
  margin-top: 20px;
  margin-bottom: 40px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  margin-bottom: 0;
  transition: transform 0.4s ease, opacity var(--transition);
}

.gallery-item:hover img {
  opacity: 0.9;
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   About Short (ancrage humain)
   -------------------------------------------------------------------------- */
.about-short {
  max-width: 600px;
  margin: 120px auto;
  text-align: center;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */
.page-header {
  padding: calc(70px + 80px) 20px 80px;
  text-align: center;
  background-color: var(--color-bg-alt);
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--color-text-light);
  font-style: italic;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about {
  padding: 120px 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text em {
  color: var(--color-accent);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Editorial / À propos (style magazine)
   -------------------------------------------------------------------------- */
.quote-hero {
  padding: calc(70px + 100px) 20px 100px;
  background-color: var(--color-bg-alt);
  text-align: center;
}

.quote-hero blockquote {
  max-width: 800px;
  margin: 0 auto;
}

.quote-hero .quote-main {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
  max-width: none;
  margin-bottom: 1.5rem;
}

.quote-hero .quote-sub {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.8;
  max-width: none;
}

.editorial-section {
  padding: 80px 20px;
  background-color: var(--color-bg);
}

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

.editorial-content {
  max-width: 680px;
  margin: 0 auto;
}

.editorial-content h2 {
  font-size: 14px;
  font-family: var(--font-secondary);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2rem;
}

.editorial-content p {
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  max-width: none;
  text-align: justify;
}

.editorial-content p:last-child {
  margin-bottom: 0;
}

.editorial-content .highlight {
  font-style: italic;
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.6;
  margin-top: 2rem;
}

.editorial-image {
  padding: 40px 20px;
  background-color: var(--color-bg);
}

.editorial-image .container {
  max-width: 500px;
}

.editorial-image img {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}

.editorial-signature {
  padding: 100px 20px;
  background-color: var(--color-bg-alt);
  text-align: center;
}

.editorial-signature blockquote {
  max-width: 700px;
  margin: 0 auto;
}

.editorial-signature blockquote p:first-child {
  font-size: 28px;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  max-width: none;
}

.editorial-signature blockquote p:last-child {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.8;
  max-width: none;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-header {
  text-align: center;
  margin: 140px auto 30px auto;
  padding: 0 20px;
}

.faq-header h1 {
  font-size: 2rem;
  letter-spacing: -0.5px;
}

.faq-container {
  max-width: 650px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.faq-item {
  margin-bottom: 28px;
}

.faq-item h2 {
  font-size: 14px;
  font-family: var(--font-secondary);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.faq-item p {
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 0.5rem;
  text-align: justify;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.faq-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}

.faq-cta p {
  margin-bottom: 12px;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Philosophy
   -------------------------------------------------------------------------- */
.philosophy {
  padding: 120px 20px;
  background-color: var(--color-bg-alt);
  text-align: center;
}

.philosophy h2 {
  margin-bottom: 2rem;
}

.philosophy p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  padding: 120px 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.contact-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: 14px;
}

.contact-social:hover {
  color: var(--color-accent);
}

.contact-map {
  margin-top: 1.5rem;
}

.contact-map iframe {
  width: 100%;
  max-width: 400px;
  height: 250px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  filter: grayscale(100%) contrast(0.9);
}

.contact-map-label {
  margin-top: 0.5rem;
  font-size: 14px;
  color: var(--color-text-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-primary);
  font-size: 16px;
  padding: 1rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-text);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  transition: opacity var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 0.7;
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-family: var(--font-secondary);
  font-size: 14px;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 50px 20px;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  text-align: left;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-name {
  font-family: var(--font-primary);
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-family: var(--font-secondary);
  font-size: 13px;
  color: var(--color-text-light);
  letter-spacing: 0.5px;
}

.footer-center {
  text-align: center;
}

.footer-contact {
  font-family: var(--font-secondary);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text);
}

.footer-contact:hover {
  color: var(--color-accent);
}

.footer-right {
  text-align: right;
}

.footer p {
  font-family: var(--font-secondary);
  font-size: 14px;
  color: var(--color-text-light);
}

.footer-copyright {
  margin-top: 0.5rem;
  font-size: 12px !important;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-links a {
  color: var(--color-text-light);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
}

.social-link:hover {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Legal
   -------------------------------------------------------------------------- */
.legal {
  padding: 80px 20px 120px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.legal h2 {
  font-size: 24px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.legal a {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Responsive - Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  section {
    padding: 80px 20px;
  }

  .header .container {
    height: 60px;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: 100vh;
    justify-content: center;
  }

  .hero-content {
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 18px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gallery-item:nth-child(3n) {
    grid-column: span 1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quote-hero blockquote p {
    font-size: 28px;
  }

  .editorial-section {
    padding: 60px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    align-items: center;
  }

  .footer-brand,
  .footer-right {
    text-align: center;
    align-items: center;
  }

  .footer-logo {
    margin: 0 auto 0.75rem;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .footer-links a {
    display: inline-block;
  }

  .social-link {
    margin-top: 0.5rem;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive - Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  p {
    font-size: 16px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta {
    padding: 10px 24px;
    font-size: 13px;
  }

  .demarche p {
    font-size: 16px;
  }

  .arguments-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .photo-piece img {
    max-height: 360px;
  }
}
