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

:root {
  --brown-dark:  #5a3210;
  --brown-mid:   #8b5e2e;
  --brown-light: #c48a4e;
  --cream:       #f5f0e8;
  --cream-light: #faf7f2;
  --white:       #ffffff;
  --text-dark:   #3a2008;
  --text-mid:    #6b4226;

  --font-head:   'Oswald', sans-serif;
  --font-body:   'Lato', sans-serif;

  --radius:      12px;
  --radius-pill: 50px;
  --shadow:      0 4px 24px rgba(90,50,16,.15);
  --shadow-lg:   0 8px 40px rgba(90,50,16,.22);
  --header-h:    74px;
  --transition:  .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--cream-light);
  box-shadow: 0 2px 16px rgba(90,50,16,.10);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 20px;
  position: relative;
}

.header__brand { display: flex; align-items: center; text-decoration: none; z-index: 2; }

.header__logo { height: 52px; width: auto; object-fit: contain; }

/* ─── BURGER ─── */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 300;
  flex-shrink: 0;
}

.burger__bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--brown-mid);
  border-radius: 3px;
  transition: transform .35s ease, opacity .25s ease;
  transform-origin: center;
}

/* Burger open state — X animation */
.burger.is-open .burger__bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger.is-open .burger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open .burger__bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ─── MOBILE NAV (dropdown) ─── */
.nav {
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--cream-light);
  box-shadow: 0 8px 24px rgba(90,50,16,.12);
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
  z-index: 199;
}

.nav.is-open { max-height: 320px; }

.nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 12px 0 20px;
}

.nav__link {
  display: block;
  padding: 14px 24px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: .07em;
  color: var(--brown-mid);
  text-decoration: none;
  border-bottom: 1px solid rgba(139,94,46,.08);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--brown-dark); background: rgba(139,94,46,.06); }


/* ─── DESKTOP NAV ─── */
@media (min-width: 768px) {
  .burger { display: none; }

  .nav {
    position: static;
    max-height: none !important;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
  }

  .nav__link {
    border-bottom: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: .95rem;
  }

  .nav__link--cta {
    border: 2px solid var(--brown-light);
    border-radius: var(--radius-pill);
    padding: 8px 20px;
    color: var(--brown-light);
  }
  .nav__link--cta:hover {
    background: var(--brown-light);
    color: var(--white);
  }
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  letter-spacing: .07em;
  text-decoration: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  border: none;
}
.btn--outline {
  padding: 10px 30px;
  border: 2px solid var(--brown-light);
  color: var(--brown-mid);
  background: transparent;
}
.btn--outline:hover { background: var(--brown-light); color: var(--white); box-shadow: var(--shadow); }
.btn--solid { padding: 16px 36px; background: var(--brown-mid); color: var(--white); }
.btn--solid:hover { background: var(--brown-dark); box-shadow: var(--shadow-lg); }
.btn--full { width: 100%; text-align: center; }

/* ═══════════════════════════════════════════════
   SECTION TITLE
═══════════════════════════════════════════════ */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 6vw, 3rem);
  color: var(--brown-dark);
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  min-height: 800px;
   height: 100vh;
  background: url("img/arriere_plan_accueil.png") center center / cover no-repeat !important;
  padding-top: var(--header-h);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__text {
  position: relative;
  z-index: 2;
  padding: 60px 24px 40px;
  max-width: 520px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 9vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--brown-dark);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.hero__sub {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 4vw, 1.6rem);
  color: var(--brown-mid);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero__visuals {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 340px;
}

.hero__bg-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  margin-left: auto;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@media (min-width: 768px) {
  .hero { flex-direction: row; align-items: center; }
  .hero::after { width: 50%; height: 80%; clip-path: ellipse(85% 100% at 100% 100%); }
  .hero__text { padding: 0 60px; flex: 1; }
  .hero__visuals { flex: 1; align-items: center; justify-content: center; min-height: unset; padding-bottom: 40px; }
  .hero__bg-img { max-width: 420px; }
}
@media (min-width: 1100px) {
  .hero__bg-img { max-width: 540px; }
  .hero__text { padding: 0 80px; }
}

/* ═══════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════ */
.services { background: var(--white); padding: 80px 24px; }
.services__inner {
  max-width: 700px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
}
.services__list { list-style: none; display: flex; flex-direction: column; gap: 14px; width: 100%; }
.services__item {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(.95rem, 3vw, 1.15rem);
  color: var(--text-mid);
  padding: 14px 20px;
  background: var(--cream-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--brown-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.services__item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.check { color: var(--brown-mid); font-size: 1.2rem; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   GALERIE
═══════════════════════════════════════════════ */
.galerie { background: var(--cream); padding: 80px 24px; }
.galerie__inner { max-width: 1000px; margin: 0 auto; }
.galerie__sub {
  text-align: center;
  color: var(--text-mid);
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.6;
}
.galerie__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) { .galerie__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .galerie__grid { grid-template-columns: repeat(3, 1fr); } }

.galerie__item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  cursor: pointer;
}
.galerie__img {
  width: 100%; height: 220px;
  object-fit: cover;
  transition: transform .4s ease;
}
.galerie__item:hover .galerie__img { transform: scale(1.05); }
.galerie__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(90,50,16,.75);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .9rem;
  letter-spacing: .06em;
  padding: 10px 16px;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.galerie__item:hover .galerie__caption { transform: translateY(0); }

/* ─── LIGHTBOX ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  cursor: zoom-out;
}
.lightbox.active { display: flex; }

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 60px rgba(0,0,0,.6);
  cursor: default;
  user-select: none;
}

.lightbox__caption {
  margin-top: 14px;
  color: rgba(255,255,255,.85);
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: .08em;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  background: none; border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 50%;
  transition: background var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,.15); }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  font-size: 2.8rem;
  line-height: 1;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,.28); }

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
.contact{
	    padding: 80px 24px;
}

.contact-right {
    width: 100%;
	padding-top: 10px;
	padding-top: 15px;
}

.contact-right form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Deux colonnes */
.form-row {
    display: flex;
    gap: 25px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Labels */

.form-group label {
    font-size: 1.2rem;
    font-weight: 500;
    color: #4B2A18;
    margin-bottom: 10px;
}

/* Inputs */

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 22px;
    border: 1px solid #6B3F22;
    border-radius: 20px;
    background: #fff;
    font-size: 1rem;
    color: #4B2A18;
    outline: none;
    transition: .25s;
    box-sizing: border-box;
}

/* Placeholder */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #D4C3A8;
}

/* Focus */

.form-group input:focus,
.form-group textarea:focus {
    border-color: #9C5F2D;
    box-shadow: 0 0 0 4px rgba(156,95,45,.12);
}

/* Textarea */

.form-group textarea {
    min-height: 220px;
    resize: vertical;
    font-family: inherit;
}

/* Bouton */

.contact-right button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    background-color: rgb(90, 50, 16);
    transition: .3s;
}

.contact-right button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

/* Responsive */

@media (max-width:900px){

    .form-row{
        flex-direction:column;
        gap:25px;
    }

    .form-group label{
        font-size:1rem;
    }

    .form-group input,
    .form-group textarea{
        padding:15px;
        font-size:1rem;
        border-radius:18px;
    }

    .contact-right button{
        font-size:1.4rem;
    }

}
/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 24px 20px;
  font-size: .85rem;
  letter-spacing: .03em;
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); text-align: center; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
