/* =========================================================
   VARIABLES
   ========================================================= */
:root {
  --color-bg: #000000;
  --color-text: #ffffff;
  --color-btn-bg: #d4d4d4;
  --color-dark: #121212;

  --font-serif: 'Fraunces', serif;      /* titre du hero */
  --font-display: 'Limelight', serif;   /* titres décoratifs (About, CTA, bouton) */
  --font-sans: 'Inter', sans-serif;     /* texte courant */
  
  --container-max: 1440px;
  --container-padding: 50px;
}

/* =========================================================
   RESET DE BASE
   ========================================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 25px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  container: center;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.site-header {
  background: var(--color-bg);
  position: relative;
  z-index: 10;
}

.header-inner {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}

.logo img {
  height: 35px;
  width: auto;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 25px;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 20px;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

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

#lang {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  cursor: pointer;
}

#lang option {
  color: #000000;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 80vh;
  min-height: 480px;
  max-height: 1920px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.hero-tag {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 40px;
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.55);
  padding: 0px 6px;
  border-radius: 10px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 80px;
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.55);
  padding: 0px 20px;
  border-radius: 12px;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  display: flex;
  flex-direction: column;
  gap: 70px;
  padding-top: 100px;
  padding-bottom: 100px;
}

.about-text {
  width: auto;
  height: auto;
}

.about-text h2 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 25px;
  text-align: center;
  margin-bottom: 32px;
}

.about-text p {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 16px;
  width: auto;
  height: auto;
}

.about-image {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

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

/* =========================================================
   CALL TO ACTION
   ========================================================= */
.cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 90px;
  padding-bottom: 100px;
}

.cta-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.3;
}

.btn {
  width: auto;
  height: auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.3;
  color: #000000;
  background: var(--color-btn-bg);
  border-radius: 14px;
  padding: 20px 30px;
  text-align: center;
  white-space: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #ffffff;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-credit {
  font-size: 20px;
}

.social-links {
  display: flex;
  gap: 32px;
  font-size: 20px;
}

.social-links a:hover {
  opacity: 0.7;
}

/* =========================================================
   RESPONSIVE — GRAND ECRAN (>= 1500px)
   Seul palier où About passe en 2 colonnes cote a cote,
   comme dans la maquette Framer.
   ========================================================= */
@media (min-width: 1500px) {
  .about {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 80px;
  }

  .about-text {
    flex: 0 0 auto;
    width: 580px;
    max-width: 580px;
    margin: 0;
  }

  .about-image {
    flex: 0 0 auto;
    width: 580px;
    max-width: 580px;
    margin: 0;
  }
}

/* =========================================================
   RESPONSIVE — TELEPHONE (< 768px)
   ========================================================= */
@media (max-width: 767px) {
  :root {
    --container-padding: 24px;
  }

  .menu-toggle {
    display: block;
  }


  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: var(--color-bg);
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .main-nav.open {
    max-height: 300px;
    padding: 20px 24px 30px;
  }

  .cta {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }

  .cta-text {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
  }

  .btn {
    width: auto;
    height: auto;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: #000000;
    background: var(--color-btn-bg);
    border-radius: 14px;
    padding: 20px 30px;
    text-align: center;
    white-space: center;
    flex-shrink: 0;
  }

}

* /*=========================================================
   PAGE PROJECTS — titre + grille
   ========================================================= */
.projects-hero {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}
 
.projects-hero h1 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 45px;
  padding-bottom: 75px;
}
 
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 40px;
  padding-bottom: 200px;
}
 
.project-card {
  display: block;
  color: inherit;
}
 
.project-thumb {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 16px;
  background: #111111;
}
 
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
 

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}
 
.project-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 4px;
}
 
.project-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
 
/* =========================================================
   RESPONSIVE — PROJECTS GRID
   2 colonnes des la tablette, 3 colonnes a partir de 1432px
   (memes paliers que la maquette Framer).
   ========================================================= */
@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
 
@media (min-width: 1432px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
 
@media (max-width: 767px) {
  .projects-hero h1 {
    font-size: 40px;
  }
}

/* =========================================================
   PAGE PROJET INDIVIDUEL (ex: audemars-piguet-x-swatch)
   ========================================================= */
.project-header {
  padding-top: 25px;
  padding-bottom: 24px;
}
 
.project-header h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 48px;
  margin-bottom: 12px;
}
 
.project-meta {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
}
 
.project-hero {
  display: flex;
  justify-content: center;
  padding-top: 25px;
  padding-bottom: 25px;
}
 

.project-hero img {
  height: auto;
  width: 75%;
  border-radius: 25px;
}
 
.project-info {
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding-bottom: 55px;
}
 
.project-info h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  flex-shrink: 0;
}
 
.project-info-text p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 640px;
}

.img-render {
  display: flex;
  justify-content: center;
  padding-top: 0px;
  padding-bottom: 25px;
}

.img-render img {
  width: 75%;
}

.img-render-portrait {
  display: flex;
  justify-content: center;
  padding-top: 0px;
  padding-bottom: 25px;
}

.img-render-portrait img{
  width: 25%;
}
 
.project-info-text p:last-child {
  margin-bottom: 0;
}
 
@media (min-width: 900px) {
  .project-info {
    flex-direction: row;
    gap: 60px;
  }
 
  .project-info h2 {
    flex: 0 0 220px;
  }
}
 
@media (max-width: 767px) {
  .project-header h1 {
    font-size: 32px;
  }

  .project-hero img,
  .img-render img {
    width: 100%;
  }

  .img-render-portrait img {
    width: 60%;
  }

  .hero-tag {
    font-size: 20px;
  }

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

  .about {
    gap: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.vid {
  display: flex;
  justify-content: center;
  padding-bottom: 25px;
}

/* =========================================================
   PAGE CONTACT
   ========================================================= */
.contact-hero {
  padding-top: 75px;
  display: flex;
  justify-content: center;
}
 
.para {
  font-size: 20px;
  display: flex;
  justify-content: center;
  padding-bottom: 35px;
}

.contact-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 60px;
  margin-bottom: 20px;
}
 
.contact-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
}
 
.contact-grid {
  align-items: center;
  justify-items: center;
}
 
/* --- Formulaire --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
}
 
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: auto;
}
 
.form-group label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
 
.form-group input,
.form-group textarea {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 15px;
  resize: vertical;
}
 
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
}
 
.contact-form .btn {
  border: none;
  cursor: pointer;
  align-self: flex-start;
}
 
.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
 
.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
 
.form-status {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 35px;
  line-height: 1.3;
}
 
.form-status--success {
  color: #7CD992;
}
 
.form-status--error {
  color: #E27D7D;
}
 
/* --- Coordonnées directes --- */
.contact-direct h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 8px;
}
 
.contact-direct a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}
 
.contact-direct a:hover {
  color: #ffffff;
  border-color: #ffffff;
}
 
@media (min-width: 900px) {
  .contact-grid {
    flex-direction: row;
    justify-content: space-between;
  }
 
  .contact-form {
    flex: 1;
  }
 
  .contact-direct {
    flex: 0 0 280px;
  }
}
 
@media (max-width: 767px) {
  .contact-hero h1 {
    font-size: 40px;
  }
}