/*
Theme Name: Laurence Vernet Architecte d'Intérieur
Theme URI: https://www.laurence-vernet-archi.com
Author: Migration Wix -> WordPress
Description: Reproduction fidele du site vitrine de Laurence Vernet, architecte d'interieur a Marseille. Page d'accueil single-page + blog editable via le CMS.
Version: 1.1.0
Text Domain: laurence-vernet
*/

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Raleway', Arial, Helvetica, sans-serif;
  color: #363636;
  background: #ffffff;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: #6aa9c0; text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }

:root {
  --ink: #363636;
  --muted: #bababa;
  --accent: #6aa9c0;
  --serif: 'Cormorant', 'GFS Didot', 'Didot', Georgia, serif;
  --geom: 'Nunito Sans', 'Avenir', Arial, sans-serif;
  --sans: 'Raleway', Arial, sans-serif;
  --maxw: 980px;
}

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

/* Section heading in grey Didot-style italic */
.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  font-size: 21px;
  letter-spacing: 2px;
  margin: 0 0 40px;
}

.vsep { width: 1px; height: 70px; background: #d9d9d9; margin: 40px auto; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}
.header-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 30px; gap: 20px;
}
.brand { line-height: 1.2; }
.brand .brand-name {
  font-family: var(--sans);
  font-size: 17px; font-weight: 500; letter-spacing: 1px;
  color: #2b2b2b; text-transform: uppercase;
}
.brand .brand-mail { font-size: 11px; color: var(--accent); }
.brand .brand-mail a { color: var(--accent); }

.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a {
  font-family: var(--sans);
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  color: #2b2b2b; font-weight: 400;
  white-space: nowrap;
}
.main-nav li { white-space: nowrap; }
.main-nav a:hover { color: var(--accent); text-decoration: none; }
.main-nav a.active { color: var(--accent); }
.header-phone { font-size: 15px; letter-spacing: 1px; color: #2b2b2b; white-space: nowrap; }

/* "More" dropdown */
.main-nav .has-sub { position: relative; }
.more-toggle {
  font-family: var(--sans); font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  color: #2b2b2b; cursor: pointer; white-space: nowrap; user-select: none;
}
.more-toggle:hover { color: var(--accent); }
.more-toggle .caret { font-size: 10px; }
.main-nav .sub-menu {
  display: none; position: absolute; top: 100%; right: 0; margin: 0; padding: 10px 0;
  min-width: 150px; list-style: none; background: #fff; border: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0,0,0,.10); z-index: 200; flex-direction: column; gap: 0;
}
.main-nav .has-sub:hover .sub-menu,
.main-nav .has-sub.open .sub-menu { display: flex; }
.main-nav .sub-menu li { white-space: nowrap; }
.main-nav .sub-menu a { display: block; padding: 8px 22px; }

/* mobile menu */
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 816px; max-height: 90vh;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.hero-caption { text-align: center; }
.hero-caption h1 {
  font-family: var(--sans);
  font-weight: 400; font-size: 30px; letter-spacing: 6px;
  color: #f3efe7; margin: 0 0 14px; text-transform: uppercase;
  text-shadow: 0 1px 20px rgba(0,0,0,.35);
}
.hero-caption p {
  font-family: var(--geom);
  font-weight: 300; font-size: 20px; letter-spacing: 8px;
  color: #f3efe7; margin: 0; text-transform: uppercase;
  text-shadow: 0 1px 20px rgba(0,0,0,.35);
}
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; gap: 12px; justify-content: center; }
.hero-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.65); }
.hero-dots span.on { background: #fff; }

/* ============ SOCIAL ROW ============ */
.social-row { display: flex; gap: 26px; justify-content: center; align-items: center; padding: 26px 0; }
.social-row a { color: #111; font-size: 22px; }
.social-row a:hover { color: var(--accent); }

/* ============ AWARDS BADGES ============ */
.awards {
  display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; align-items: center;
  padding: 20px 20px 6px;
}
.awards img { height: auto; }
.awards .badge { max-height: 105px; width: auto; }
.houzz-link { text-align: center; padding: 6px 0 40px; }
.houzz-link a { font-size: 13px; color: var(--accent); }
.houzz-link .arrow { display: block; font-size: 22px; color: #999; margin: 8px auto 0; }

/* ============ GENERIC SECTION ============ */
.section { padding: 60px 0; }
.section.alt { background: #fbfbfb; }
.lead { text-align: center; max-width: 620px; margin: 0 auto; }
.lead p { font-size: 18px; }
.lead .first { color: var(--accent); }

.more-link { display: inline-block; margin-top: 8px; color: #363636; font-size: 14px; letter-spacing:.5px;}
.more-link:hover { color: var(--accent); }

/* Portrait block */
.portrait { width: 300px; max-width: 80%; margin: 40px auto 0; }

/* ============ VALUES CARDS ============ */
.quote-big { text-align:center; font-size: 27px; color: var(--ink); margin: 40px 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.value-card {
  position: relative; height: 210px; border-radius: 4px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-size: cover; background-position: center;
}
.value-card::after { content:''; position:absolute; inset:0; background: rgba(20,30,40,.42); }
.value-card span {
  position: relative; z-index: 1; color: #fff; font-size: 20px; padding: 0 16px; line-height: 1.35;
}

/* signature intro row (two small imgs) */
.signature-imgs { display:flex; gap: 22px; justify-content:center; flex-wrap: wrap; margin-bottom: 34px; }
.signature-imgs img { width: 270px; height: 180px; object-fit: cover; border-radius: 3px; }

/* ============ POUR VOUS ============ */
.vous-hero { width: 600px; max-width: 92%; margin: 0 auto 34px; border-radius: 3px; }
.vous-cols { display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 980px; margin: 34px auto 0; }
.vous-cols img { width: 100%; height: 200px; object-fit: cover; border-radius: 3px; }
.vous-text b { color: var(--ink); }

/* ============ PORTFOLIO GALLERY ============ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 1040px; margin: 0 auto; }
.gallery figure { margin: 0; position: relative; overflow: hidden; aspect-ratio: 3/2; background:#eee; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position:absolute; inset:auto 0 0 0; background: linear-gradient(transparent, rgba(0,0,0,.6));
  color:#fff; font-size: 12px; padding: 22px 10px 8px; opacity: 0; transition: opacity .3s;
}
.gallery figure:hover figcaption { opacity: 1; }
.gallery figure.project { cursor: pointer; }
.gallery figure.project:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
/* petite loupe au survol pour signaler que c'est cliquable */
.gallery figure.project::after {
  content: '⤢'; position: absolute; top: 10px; right: 12px; z-index: 2;
  color: #fff; font-size: 18px; opacity: 0; transition: opacity .3s; text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.gallery figure.project:hover::after { opacity: .9; }

/* ============ LIGHTBOX (visionneuse portfolio) ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(15,18,22,.94); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox .lb-stage {
  max-width: 90vw; max-height: 82vh; display: flex; align-items: center; justify-content: center;
}
.lightbox .lb-img {
  max-width: 90vw; max-height: 82vh; width: auto; height: auto;
  object-fit: contain; border-radius: 2px; box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.lightbox .lb-caption {
  position: absolute; bottom: 24px; left: 0; right: 0; text-align: center;
  color: #f3efe7; font-family: var(--sans); font-size: 15px; letter-spacing: 1px;
}
.lightbox .lb-caption .lb-count { color: #b9b9b9; margin-left: 8px; font-size: 13px; }
.lightbox .lb-close {
  position: absolute; top: 18px; right: 26px; background: none; border: 0;
  color: #fff; font-size: 40px; line-height: 1; cursor: pointer; opacity: .8;
}
.lightbox .lb-close:hover { opacity: 1; }
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.25); border: 0; color: #fff; font-size: 48px; line-height: 1;
  width: 64px; height: 90px; cursor: pointer; opacity: .75; transition: opacity .2s;
}
.lightbox .lb-nav:hover { opacity: 1; }
.lightbox .lb-prev { left: 12px; }
.lightbox .lb-next { right: 12px; }
@media (max-width: 640px) {
  .lightbox .lb-nav { width: 48px; height: 70px; font-size: 34px; }
  .lightbox .lb-close { font-size: 34px; top: 12px; right: 16px; }
}

/* ============ SERVICES / PARTENAIRES ============ */
.services { display:grid; grid-template-columns: repeat(3,1fr); gap: 40px 30px; max-width: 900px; margin: 0 auto; }
.service { text-align:center; }
.service .ico { color: var(--accent); margin: 0 auto 14px; width: 58px; height: 58px; }
.service .ico svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 4; }
.service h3 { font-family: var(--geom); font-weight: 400; font-size: 17px; letter-spacing: 1px; color: var(--ink); margin: 0 0 8px; text-transform: uppercase;}
.service p { font-family: var(--geom); font-weight: 300; font-size: 15px; color: #555; margin: 0; }

/* ============ TEMOIGNAGES ============ */
.reviews { max-width: 820px; margin: 0 auto; }
.review { border-top: 1px solid #eee; padding: 22px 0; }
.review:first-child { border-top: 0; }
.review .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 8px; }
.review .meta { font-size: 13px; color: #999; margin-top: 6px; }
.review p { font-size: 15px; }

/* ============ TARIFS ============ */
.tarifs-circles { display:flex; gap: 40px; justify-content:center; flex-wrap: wrap; margin: 30px 0 50px; }
.tarif-circle { text-align:center; width: 230px; }
.tarif-circle .img {
  width: 200px; height: 200px; border-radius: 50%; margin: 0 auto 14px; background-size: cover; background-position:center;
  position: relative; display:flex; align-items:center; justify-content:center;
}
.tarif-circle .img::after { content:''; position:absolute; inset:0; border-radius:50%; background: rgba(20,30,40,.4); }
.tarif-circle .img span { position: relative; z-index:1; color:#fff; font-size: 15px; letter-spacing:1px; }
.tarif-block { max-width: 640px; margin: 0 auto 26px; text-align:center; }
.tarif-block h3 { font-weight: 400; color: #6b6b6b; font-size: 20px; margin: 0 0 4px; }

/* ============ CONTACT ============ */
.contact { max-width: 620px; margin: 0 auto; }
.contact .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact .field { margin-bottom: 26px; }
.contact label { display:block; font-family: var(--serif); font-style: italic; font-size: 16px; color: #444; margin-bottom: 4px; }
.contact input, .contact textarea {
  width: 100%; border: 0; border-bottom: 1px solid #333; background: transparent;
  padding: 6px 2px; font-size: 15px; font-family: var(--sans); color: #333;
}
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--accent); }
.contact textarea { min-height: 80px; resize: vertical; }
.contact .submit { text-align: center; margin-top: 10px; }
.contact button {
  font-family: var(--serif); font-style: italic; font-size: 17px; background: none; border: 0;
  cursor: pointer; color: #222; padding: 8px 20px;
}
.contact button:hover { color: var(--accent); }
.form-note { text-align:center; font-size: 14px; margin-bottom: 20px; }
.form-note.ok { color: #2e7d32; }
.form-note.err { color: #c62828; }

/* ============ FOOTER ============ */
.site-footer { padding: 40px 0 60px; text-align: center; }
.site-footer .social-row { padding: 10px 0 20px; }
.site-footer .legal { font-size: 12px; color: #aaa; }

/* ============ BLOG ============ */
.page-head { text-align:center; padding: 60px 20px 20px; }
.page-head h1 { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); font-size: 40px; margin: 0; }
.blog-list { max-width: 900px; margin: 20px auto 60px; padding: 0 20px; display: grid; gap: 46px; }
.post-card { display: grid; grid-template-columns: 1fr; gap: 14px; }
.post-card .thumb img { width:100%; height: 340px; object-fit: cover; border-radius: 3px; }
.post-card h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; margin: 0; }
.post-card h2 a { color: var(--ink); }
.post-card .post-meta { font-size: 13px; color: #999; }
.post-card .excerpt { font-size: 16px; color: #444; }
.read-more { font-size: 14px; letter-spacing: .5px; }

.single-post { max-width: 760px; margin: 20px auto 70px; padding: 0 20px; }
.single-post h1 { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1.2; }
.single-post .post-meta { font-size: 13px; color: #999; margin-bottom: 26px; }
.single-post .featured img { width: 100%; border-radius: 3px; margin-bottom: 30px; }
.single-post .content { font-size: 17px; line-height: 1.8; }
.single-post .content img { border-radius: 3px; margin: 20px 0; }
.pagination { max-width: 900px; margin: 0 auto 60px; padding: 0 20px; display:flex; justify-content: space-between; font-size: 14px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding: 12px 18px; }
  .main-nav { order: 3; width: 100%; }
  .main-nav ul { display: none; flex-direction: column; gap: 14px; padding: 14px 0; }
  .main-nav.open ul { display: flex; }
  .nav-toggle { display: block; }
  .header-phone { font-size: 13px; }
  /* Dropdown shown inline (static) inside the stacked mobile menu */
  .main-nav .sub-menu { position: static; display: flex; border: 0; box-shadow: none; padding: 6px 0 0; min-width: 0; }
  .main-nav .sub-menu a { padding: 8px 0 8px 18px; }
  .more-toggle .caret { display: none; }
  .values, .services, .vous-cols, .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact .form-row { grid-template-columns: 1fr; }
  .hero { height: 60vh; }
  .hero-caption h1 { font-size: 22px; letter-spacing: 4px; }
}
@media (max-width: 560px) {
  .values, .services, .vous-cols, .gallery { grid-template-columns: 1fr; }
}
