/*
Theme Name: Lojona Studio
Theme URI: https://lojona.fr
Author: Yuna — Lojona Studio
Author URI: https://lojona.fr
Description: Thème bloc sur mesure pour Lojona Studio — Communication, Photographie & Création Visuelle. Palette Rubis, Lavande, Bleu pastel et Vanille.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lojona-studio
Tags: block-themes, portfolio, photography, creative
*/

/* ── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--wp--preset--font-family--dm-sans, 'DM Sans', Arial, sans-serif);
  color: var(--wp--preset--color--gris-texte);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHIE ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--wp--preset--font-family--fraunces, 'Fraunces', Georgia, serif);
  line-height: 1.2;
  margin-top: 0;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { line-height: 1.7; margin-top: 0; }

a {
  color: var(--wp--preset--color--rubis);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a:hover { opacity: 0.75; }

/* ── BOUTONS ────────────────────────────────────────────────── */
.wp-block-button__link,
.wp-element-button {
  font-family: 'DM Sans', Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  border-radius: 50px !important;
  padding: 14px 32px !important;
  transition: all 0.25s ease !important;
}

.wp-block-button.is-style-primary .wp-block-button__link {
  background: var(--wp--preset--color--rubis) !important;
  color: #ffffff !important;
  border: 2px solid var(--wp--preset--color--rubis) !important;
}
.wp-block-button.is-style-primary .wp-block-button__link:hover {
  background: var(--wp--preset--color--rubis-fonce) !important;
  border-color: var(--wp--preset--color--rubis-fonce) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(173, 20, 87, 0.25);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--wp--preset--color--rubis) !important;
  border: 2px solid var(--wp--preset--color--rubis) !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--wp--preset--color--rubis) !important;
  color: #ffffff !important;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
.wp-block-navigation {
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.wp-block-navigation-item__content {
  color: var(--wp--preset--color--noir) !important;
  transition: color 0.2s ease;
}
.wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--rubis) !important;
}

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(201, 184, 232, 0.3);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173,20,87,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,216,234,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── CARDS ──────────────────────────────────────────────────── */
.lojona-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(201, 184, 232, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lojona-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(123, 94, 167, 0.12);
}

.lojona-card-dark {
  background: #1A0A14;
  border-radius: 16px;
  padding: 32px;
  color: #ffffff;
}

/* ── SERVICE CARDS ──────────────────────────────────────────── */
.service-card {
  border-radius: 16px;
  padding: 28px;
  background: #F7F4FB;
  border-left: 4px solid var(--wp--preset--color--rubis);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(173, 20, 87, 0.1);
}

.service-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--wp--preset--color--rubis);
  font-family: 'DM Sans', Arial, sans-serif;
}

/* ── PORTFOLIO GRID ─────────────────────────────────────────── */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover img { transform: scale(1.05); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,10,20,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-tag {
  display: inline-block;
  background: var(--wp--preset--color--rubis);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}

/* ── ABOUT SECTION ──────────────────────────────────────────── */
.lo-jo-na-badge {
  display: inline-flex;
  gap: 12px;
  background: #1A0A14;
  color: #C9B8E8;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(201, 184, 232, 0.3);
}
.value-item:last-child { border-bottom: none; }

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

/* ── QUOTE BLOCK ────────────────────────────────────────────── */
.lojona-quote {
  text-align: center;
  padding: 60px 40px;
  position: relative;
}

.lojona-quote blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--wp--preset--color--rubis);
  margin: 0;
  line-height: 1.4;
}

.lojona-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #999;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-style: normal;
}

/* ── CONTACT FORM ───────────────────────────────────────────── */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select,
.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(201, 184, 232, 0.4);
  border-radius: 10px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 0.95rem;
  color: #1A1A1A;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpforms-field input:focus,
.wpforms-field textarea:focus {
  border-color: var(--wp--preset--color--rubis);
  box-shadow: 0 0 0 3px rgba(173, 20, 87, 0.1);
}

.wpcf7 input[type="submit"],
.wpforms-submit {
  background: var(--wp--preset--color--rubis) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 36px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
  width: auto !important;
}

.wpcf7 input[type="submit"]:hover,
.wpforms-submit:hover {
  background: #880E4F !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(173, 20, 87, 0.3) !important;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: #1A0A14;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.site-footer a {
  color: #C9B8E8;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: #ffffff; }

.footer-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.8rem;
  color: #ffffff;
  font-style: italic;
}

.footer-tagline {
  font-size: 0.8rem;
  color: #666;
  letter-spacing: 0.1em;
  font-style: italic;
}

/* ── WOOCOMMERCE ────────────────────────────────────────────── */
.woocommerce .button,
.woocommerce button.button {
  background: var(--wp--preset--color--rubis) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  padding: 12px 28px !important;
  transition: all 0.25s ease !important;
  font-family: 'DM Sans', Arial, sans-serif !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: #880E4F !important;
  transform: translateY(-2px);
}

.woocommerce ul.products li.product .price {
  color: var(--wp--preset--color--rubis) !important;
  font-weight: 800;
  font-size: 1.1rem;
}

.woocommerce ul.products li.product a img {
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.woocommerce ul.products li.product a img:hover { transform: scale(1.03); }

.woocommerce-product-gallery { border-radius: 16px; overflow: hidden; }

/* ── UTILITAIRES ────────────────────────────────────────────── */
.text-rubis { color: var(--wp--preset--color--rubis) !important; }
.text-violet { color: var(--wp--preset--color--violet) !important; }
.text-lavande { color: var(--wp--preset--color--lavande) !important; }
.bg-fonce { background: #1A0A14 !important; }
.bg-gris { background: #F7F4FB !important; }
.italic-serif { font-family: 'Fraunces', Georgia, serif; font-style: italic; }
.pill { border-radius: 50px; padding: 6px 18px; font-size: 0.8rem; font-weight: 700; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section { min-height: 70vh; }
  .lojona-card, .service-card { padding: 20px; }
  .lojona-quote { padding: 40px 20px; }
}
