/*
Theme Name: Soweeloc
Theme URI: https://soweeloc.example
Author: Soweeloc
Author URI: https://soweeloc.example
Description: Thème élégant et responsive pour Soweeloc — location professionnelle sécurisée. Palette beige chaleureuse, accents or & rose, typographie serif premium.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soweeloc
Tags: one-column, custom-menu, featured-images, threaded-comments, translation-ready, blog, portfolio, business
*/

:root {
  --beige: #ECE3D4;
  --beige-soft: #F5EFE3;
  --beige-dark: #DCD0BB;
  --navy: #1B2540;
  --navy-soft: #4A5168;
  --pink: #C97A85;
  --pink-soft: #E1ADB3;
  --gold: #C9A86A;
  --gold-soft: #DBC290;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --max-w: 1200px;
  --shadow-soft: 0 30px 80px -40px rgba(20, 30, 60, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
}
p { margin: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--pink);
}
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  border-radius: 999px; padding: 16px 28px; font-weight: 500;
  transition: background-color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--navy); color: var(--beige-soft); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-soft); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(236, 227, 212, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 208, 187, 0.7);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--pink); }
.brand-tagline { font-size: 12px; color: var(--navy-soft); margin-top: 2px; }
.primary-nav { display: none; gap: 28px; }
.primary-nav a { font-size: 14px; color: var(--pink); transition: color .2s; }
.primary-nav a:hover { color: var(--navy); }
.header-cta { display: none; }
.hamburger {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.hamburger svg { width: 24px; height: 24px; stroke: var(--navy); }
.mobile-nav {
  display: none;
  border-top: 1px solid rgba(220, 208, 187, 0.7);
  background: var(--beige);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 16px 24px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav a { color: var(--pink); padding: 8px 0; font-size: 16px; }
.mobile-nav .btn { margin-top: 12px; justify-content: center; }

@media (min-width: 1024px) {
  .primary-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }
}

/* SECTIONS */
section { scroll-margin-top: 90px; }
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }

.section-head { text-align: center; margin-bottom: 48px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 48px); }

/* HERO */
.hero { padding: 56px 0 64px; }
.hero .grid { display: grid; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; margin-bottom: 8px; }
.hero-title em { color: var(--navy-soft); font-style: italic; }
.hero-lead { color: var(--navy-soft); font-size: 17px; max-width: 36rem; margin-top: 12px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(27, 37, 64, 0.15);
  background: var(--beige-soft);
  padding: 6px 14px; border-radius: 999px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--navy-soft); width: fit-content;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--gold); }
.hero-text { display: flex; flex-direction: column; gap: 24px; }

.framed { position: relative; padding: 14px; }
.framed::before {
  content: ""; position: absolute; inset: 0;
  border: 1px dashed rgba(27, 37, 64, 0.25);
  border-radius: 40px; pointer-events: none;
}
.framed img {
  width: 100%; aspect-ratio: 5/6; object-fit: cover;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-soft);
}
.framed.tall img { aspect-ratio: 4/5; }

@media (min-width: 1024px) {
  .hero .grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* STATS */
.stats-pill {
  background: var(--beige-soft);
  border: 1px solid rgba(220, 208, 187, 0.7);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: grid; gap: 32px;
}
.stat { text-align: center; display: flex; flex-direction: column; gap: 12px; }
.stat-value { font-family: 'Playfair Display', serif; font-size: clamp(40px, 5vw, 64px); color: var(--gold); line-height: 1; }
.stat-label { font-size: 14px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--navy-soft); }

@media (min-width: 768px) {
  .stats-pill { grid-template-columns: repeat(3, 1fr); border-radius: 999px; padding: 36px 56px; }
  .stat + .stat { border-left: 1px solid rgba(27, 37, 64, 0.1); }
}

/* SPLIT (about / clientele) */
.split { display: grid; gap: 48px; align-items: center; }
.split .copy { display: flex; flex-direction: column; gap: 20px; }
.split h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.1; }
.split .copy p { color: var(--navy-soft); }
.split .copy .stack { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.split.reverse .img-wrap { order: -1; }
@media (min-width: 1024px) {
  .split.reverse .img-wrap { order: 0; }
}

/* ADVANTAGES */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--beige-soft);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  padding: 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: 0 20px 50px -30px rgba(20, 30, 60, 0.35); transform: translateY(-2px); }
.card-icon {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--beige);
  border: 1px solid rgba(27, 37, 64, 0.1);
  display: inline-flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--gold); }
.card h3 { font-size: 24px; }
.card p { color: var(--navy-soft); font-size: 15px; }

/* PROCESS */
.process { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step { display: flex; flex-direction: column; gap: 16px; }
.step-n { font-family: 'Playfair Display', serif; font-size: clamp(40px, 5vw, 56px); color: var(--gold); line-height: 1; }
.step-rule { height: 1px; width: 48px; background: rgba(27, 37, 64, 0.15); }
.step h3 { font-size: 22px; }
.step p { color: var(--navy-soft); font-size: 15px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(27, 37, 64, 0.15); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px 0; text-align: left;
  font-family: 'Playfair Display', serif; font-size: 20px; color: var(--navy);
}
.faq-toggle {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--beige-soft);
  border: 1px solid rgba(27, 37, 64, 0.15);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.faq-toggle svg { width: 16px; height: 16px; stroke: var(--navy); transition: transform .3s; }
.faq-item.open .faq-toggle svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--navy-soft); font-size: 16px;
}
.faq-item.open .faq-a { padding-bottom: 22px; }

/* CONTACT */
.contact-card {
  background: var(--beige-soft);
  border: 1px solid rgba(220, 208, 187, 0.7);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.contact-card h2 { font-size: clamp(28px, 4vw, 48px); }
.contact-card p { color: var(--navy-soft); max-width: 36rem; }
.contact-methods {
  display: grid; gap: 16px; grid-template-columns: 1fr; width: 100%; max-width: 600px; margin-top: 8px;
}
@media (min-width: 640px) { .contact-methods { grid-template-columns: 1fr 1fr; } }
.contact-method {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--beige); border: 1px solid rgba(27, 37, 64, 0.1);
  padding: 18px 20px; border-radius: 18px;
  transition: background-color .2s;
}
.contact-method:hover { background: var(--beige-dark); }
.contact-method svg { width: 20px; height: 20px; stroke: var(--gold); }
.contact-method span { font-weight: 500; color: var(--navy); }

/* FOOTER */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(220, 208, 187, 0.7);
}
.footer-grid {
  display: grid; gap: 32px; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--pink); font-size: 14px; }
.footer-links a:hover { color: var(--navy); }
.footer-contact { font-size: 14px; color: var(--navy-soft); display: flex; flex-direction: column; gap: 4px; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(27, 37, 64, 0.1);
  font-size: 12px; color: var(--navy-soft);
  display: flex; flex-direction: column; gap: 6px; justify-content: space-between;
}
@media (min-width: 768px) {
  .footer-grid > div:last-child { text-align: right; }
  .footer-grid > div:nth-child(2) { justify-self: center; }
  .footer-bottom { flex-direction: row; }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.brand-logo{height:44px;width:auto;display:block;}
@media(max-width:640px){.brand-logo{height:36px;}}
