/* ============================================================
   Marie Isabelle Ginevra — Studio Photo Bien-être · Voiron
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Raleway:wght@300;400;500;600&display=swap');

/* === Variables === */
:root {
  --dark:       #3a4632;
  --dark-deep:  #2d3827;
  --cream:      #f5f0e7;
  --beige:      #e8e0d0;
  --beige-mid:  #d4c9b8;
  --accent:     #9a8c7a;
  --text:       #2c2c2c;
  --text-muted: #6b6358;
  --white:      #ffffff;
  --nav-h:      78px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--dark);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
}
.nav-logo img { height: calc(var(--nav-h) * 0.75); width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 38px;
}
.nav-links a {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.25s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }
.nav-btn {
  background: var(--cream) !important;
  color: var(--dark) !important;
  opacity: 1 !important;
  padding: 10px 24px;
  font-weight: 500;
  transition: background 0.25s, color 0.25s !important;
}
.nav-btn:hover { background: var(--white) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.nav-hamburger span { width: 24px; height: 1.5px; background: var(--cream); display: block; }

/* Page offset */
.page-body { padding-top: var(--nav-h); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 520px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.55);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.03); }
.hero-content {
  position: relative; z-index: 1;
  color: var(--white);
  padding: 24px;
  max-width: 820px;
}
.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0.75;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero-title em { font-style: italic; }
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  opacity: 0.9;
  max-width: 580px;
  margin: 0 auto 42px;
  line-height: 1.6;
}
.hero-divider {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.5);
  margin: 0 auto 38px;
}
.btn {
  display: inline-block;
  padding: 14px 38px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
  transition: all 0.3s;
  cursor: pointer;
  -webkit-appearance: none;
}
.btn-light { color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-light:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-dark { color: var(--dark); border-color: var(--dark); }
.btn-dark:hover { background: var(--dark); color: var(--cream); }
.btn-outline-cream { color: var(--cream); border-color: rgba(245,240,231,0.5); }
.btn-outline-cream:hover { background: var(--cream); color: var(--dark); }

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.section       { padding: 100px 48px; }
.section-sm    { padding: 70px 48px; }
.container     { max-width: 1120px; margin: 0 auto; }
.text-center   { text-align: center; }

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 22px;
}
.section-divider {
  width: 40px; height: 1px;
  background: var(--beige-mid);
  margin: 0 auto 30px;
}
.section-text {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 660px;
}
.text-center .section-text { margin: 0 auto; }

/* =========================================================
   HOMEPAGE — INTRO SPLIT
   ========================================================= */
.intro { background: var(--cream); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.intro-visual {
  position: relative;
}
.intro-img-main {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.intro-img-main img { width: 100%; height: 100%; object-fit: cover; }
.intro-img-accent {
  position: absolute;
  width: 45%;
  aspect-ratio: 1/1;
  bottom: -30px;
  right: -30px;
  overflow: hidden;
  border: 6px solid var(--cream);
}
.intro-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.intro-text { padding-left: 10px; }
.intro-text .section-text { margin-bottom: 18px; }
.intro-text .section-text + .section-text { margin-top: 0; }
.intro-cta { margin-top: 38px; }

/* =========================================================
   HOMEPAGE — PORTFOLIO PREVIEW
   ========================================================= */
.portfolio-preview { background: var(--beige); }
.preview-header { margin-bottom: 52px; }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
  align-items: start;
}
.preview-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.preview-item {
  overflow: hidden;
  cursor: pointer;
}
.preview-item img {
  width: 100%; height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.preview-item:hover img { transform: scale(1.04); }
.preview-cta { text-align: center; }

/* =========================================================
   HOMEPAGE — APPROACH (dark band)
   ========================================================= */
.approach { background: var(--dark); color: var(--cream); }
.approach .section-title { color: var(--cream); }
.approach .section-text { color: rgba(245,240,231,0.72); max-width: 700px; }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 60px;
}
.approach-item { text-align: center; }
.approach-icon {
  width: 48px; height: 1px;
  background: var(--accent);
  margin: 0 auto 22px;
}
.approach-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
}
.approach-item p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(245,240,231,0.65);
}

/* =========================================================
   HOMEPAGE — PRESTATIONS APERÇU
   ========================================================= */
.prestations-apercu { background: var(--cream); }
.prestations-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 58px;
  margin-bottom: 50px;
}
.apercu-card {
  border-top: 1.5px solid var(--dark);
  padding-top: 28px;
}
.apercu-card .a-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 500;
  color: var(--dark); display: block; margin-bottom: 10px;
}
.apercu-card .a-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400;
  margin-bottom: 6px;
}
.apercu-card .a-tagline {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 14px;
}
.apercu-card .a-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =========================================================
   PRESTATIONS PAGE
   ========================================================= */
.page-header {
  background: var(--dark);
  padding: 70px 48px 60px;
  text-align: center;
}
.page-header .section-title { color: var(--cream); margin-bottom: 10px; }
.page-header .section-text  { color: rgba(245,240,231,0.65); margin: 0 auto; }
.page-header .section-label { color: var(--accent); margin-bottom: 10px; }

.prestations-full { background: var(--cream); }
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 10px;
}
.prestation-card {
  background: var(--white);
  padding: 50px 40px;
  border-top: 2px solid var(--dark);
  transition: box-shadow 0.3s;
}
.prestation-card:hover { box-shadow: 0 16px 50px rgba(0,0,0,0.07); }
.prestation-card .pc-nouveaute {
  display: inline-block;
  font-size: 0.58rem; letter-spacing: 0.25em; text-transform: uppercase;
  background: var(--dark); color: var(--cream);
  padding: 4px 12px; margin-bottom: 18px;
}
.prestation-card .pc-label {
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 10px;
}
.prestation-card .pc-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 400;
  line-height: 1.15;
  margin-bottom: 6px;
}
.prestation-card .pc-tagline {
  font-size: 0.85rem; font-style: italic;
  color: var(--accent); margin-bottom: 24px;
}
.prestation-card .pc-desc {
  font-size: 0.85rem; line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 28px;
  border-bottom: 1px solid var(--beige);
  padding-bottom: 24px;
}
.pc-inclus-title {
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px;
}
.pc-inclus li {
  font-size: 0.82rem; padding: 5px 0;
  color: var(--text); line-height: 1.5;
}
.pc-inclus li::before { content: "— "; color: var(--accent); }
.prestation-card .pc-footer {
  margin-top: 28px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.prestation-card .pc-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 500; color: var(--dark);
}

/* Options */
.options-section { background: var(--beige); }
.options-intro { margin-bottom: 45px; }
.options-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.option-item {
  background: var(--white);
  padding: 28px 20px;
  text-align: center;
  border-bottom: 2px solid var(--beige-mid);
}
.option-item .opt-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 400;
  color: var(--dark); display: block; margin-bottom: 8px;
}
.option-item .opt-label {
  font-size: 0.72rem; line-height: 1.5;
  color: var(--text-muted);
}

/* =========================================================
   PORTFOLIO PAGE
   ========================================================= */
.gallery-section { background: var(--cream); }

.gallery-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--beige-mid);
  margin-bottom: 52px;
}
.gallery-tab {
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 15px 32px; cursor: pointer;
  border: none; background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--text-muted);
  transition: all 0.25s;
}
.gallery-tab:hover { color: var(--dark); }
.gallery-tab.active { color: var(--dark); border-bottom-color: var(--dark); }

.gallery-pane { display: none; }
.gallery-pane.active { display: block; }

.gallery-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-style: italic;
  color: var(--text-muted); max-width: 600px;
  margin-bottom: 40px;
}

/* Masonry */
.masonry {
  columns: 3 280px;
  column-gap: 12px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s ease;
}
.masonry-item:hover img { transform: scale(1.03); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(15, 15, 15, 0.94);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img-wrap {
  max-width: 90vw; max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain;
}
.lb-close {
  position: fixed; top: 24px; right: 32px;
  color: rgba(255,255,255,0.75); font-size: 2rem;
  cursor: pointer; line-height: 1; background: none; border: none;
  font-family: 'Raleway', sans-serif; font-weight: 300;
  transition: color 0.2s;
}
.lb-close:hover { color: #fff; }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.6); font-size: 2.5rem;
  cursor: pointer; background: none; border: none;
  font-family: 'Cormorant Garamond', serif;
  padding: 20px; user-select: none;
  transition: color 0.2s;
}
.lb-prev:hover, .lb-next:hover { color: #fff; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-counter {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 0.68rem; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
}

/* =========================================================
   MODALE CALENDRIER
   ========================================================= */
.cal-modal {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15, 15, 15, 0.7);
  align-items: center; justify-content: center;
  padding: 24px;
}
.cal-modal.open { display: flex; }

.cal-modal-box {
  background: var(--cream);
  width: 100%; max-width: 820px;
  max-height: 90vh;
  display: flex; flex-direction: column;
  border-top: 3px solid var(--dark);
  overflow: hidden;
}
.cal-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--beige);
  flex-shrink: 0;
}
.cal-modal-label {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 6px;
}
.cal-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; color: var(--dark);
}
.cal-modal-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: var(--text-muted);
  padding: 4px 6px; line-height: 1;
  transition: color 0.2s; flex-shrink: 0;
  margin-top: 4px;
}
.cal-modal-close:hover { color: var(--dark); }

.cal-modal-body {
  flex: 1; overflow: hidden;
  min-height: 550px;
}
.cal-modal-body iframe {
  width: 100%; height: 100%; min-height: 550px;
  display: block;
}
.cal-modal-fallback {
  text-align: center; padding: 60px 20px;
}
.cal-modal-fallback p {
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px;
}

@media (max-width: 600px) {
  .cal-modal { padding: 0; align-items: flex-end; }
  .cal-modal-box { max-height: 95vh; border-radius: 0; }
  .cal-modal-header { padding: 20px; }
  .cal-modal-body { min-height: 480px; }
  .cal-modal-body iframe { min-height: 480px; }
}

/* =========================================================
   RÉSERVER PAGE
   ========================================================= */
.reserver-section { background: var(--cream); }
.reserver-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 90px;
  align-items: start;
}
.reserver-info {}
.reserver-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400;
  margin-bottom: 16px; margin-top: 36px;
}
.reserver-info h3:first-child { margin-top: 0; }
.reserver-info p {
  font-size: 0.85rem; line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.reserver-info .info-divider {
  width: 36px; height: 1px;
  background: var(--beige-mid); margin: 30px 0;
}

.form-group { margin-bottom: 26px; }
.form-group label {
  display: block;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--beige-mid);
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem; font-weight: 300;
  color: var(--text); outline: none;
  transition: border-color 0.25s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--dark);
}
.form-group textarea { resize: vertical; min-height: 150px; }
.form-group select { cursor: pointer; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-note {
  font-size: 0.75rem; color: var(--text-muted);
  margin-top: 16px; line-height: 1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--dark-deep);
  color: var(--cream);
  padding: 60px 48px 32px;
}
.footer-top {
  max-width: 1120px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand .footer-logo img { height: 50px; opacity: 0.8; }
.footer-brand p {
  font-size: 0.78rem; color: rgba(245,240,231,0.5);
  margin-top: 16px; line-height: 1.75; max-width: 220px;
}
.footer-nav-col { text-align: center; }
.footer-nav-col h5 {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(245,240,231,0.4); margin-bottom: 18px;
}
.footer-nav-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-col a {
  font-size: 0.8rem; color: rgba(245,240,231,0.65);
  transition: color 0.2s;
}
.footer-nav-col a:hover { color: var(--cream); }
.footer-contact { text-align: right; }
.footer-contact h5 {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(245,240,231,0.4); margin-bottom: 18px;
}
.footer-contact p {
  font-size: 0.8rem; color: rgba(245,240,231,0.65);
  margin-bottom: 6px; line-height: 1.6;
}
.footer-contact a {
  font-size: 0.8rem; color: rgba(245,240,231,0.65);
  display: block; margin-bottom: 6px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1120px; margin: 0 auto;
  border-top: 1px solid rgba(245,240,231,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.68rem; color: rgba(245,240,231,0.3);
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { background: var(--dark); padding: 80px 48px; text-align: center; }
.cta-band .section-title { color: var(--cream); margin-bottom: 14px; }
.cta-band .section-text { color: rgba(245,240,231,0.65); margin: 0 auto 38px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .prestations-grid  { grid-template-columns: 1fr; }
  .prestations-row   { grid-template-columns: repeat(2, 1fr); }
  .approach-grid     { grid-template-columns: 1fr; gap: 35px; }
  .options-grid      { grid-template-columns: repeat(3, 1fr); }
  .footer-top        { grid-template-columns: 1fr 1fr; }
  .footer-contact    { text-align: left; }
  .footer-nav-col    { text-align: left; }
}

@media (max-width: 780px) {
  .nav { padding: 0 24px; }
  .nav-links {
    display: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--dark);
    flex-direction: column; align-items: flex-start;
    padding: 28px 24px; gap: 22px;
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .section    { padding: 68px 24px; }
  .section-sm { padding: 50px 24px; }
  .page-header { padding: 55px 24px 50px; }
  .cta-band   { padding: 60px 24px; }
  .intro-grid      { grid-template-columns: 1fr; gap: 50px; }
  .intro-img-accent { display: none; }
  .preview-grid    { grid-template-columns: repeat(2, 1fr); }
  .preview-col:last-child { display: none; }
  .prestations-row { grid-template-columns: 1fr; }
  .approach-grid   { grid-template-columns: 1fr; }
  .reserver-grid   { grid-template-columns: 1fr; gap: 48px; }
  .form-row        { grid-template-columns: 1fr; }
  .options-grid    { grid-template-columns: repeat(2, 1fr); }
  .masonry         { columns: 2 200px; }
  .footer-top      { grid-template-columns: 1fr; }
  .footer-contact  { text-align: left; }
  .footer-bottom   { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title     { font-size: 2.2rem; }
  .preview-grid   { grid-template-columns: 1fr; }
  .preview-col:not(:first-child) { display: none; }
  .masonry        { columns: 1; }
  .options-grid   { grid-template-columns: 1fr 1fr; }
  .prestation-card { padding: 34px 24px; }
  footer { padding: 50px 24px 28px; }
}
