/* ============================================
   DESINVOLTES.COM — CSS GLOBAL
   Aesthetic: Editorial magazine, dark & refined
   ============================================ */

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

:root {
  --bg: #0e0c0a;
  --bg2: #161310;
  --bg3: #1e1a16;
  --surface: #231f1a;
  --border: #2e2820;
  --accent: #c8923a;
  --accent2: #e8b86d;
  --text: #e8e0d4;
  --text-muted: #8a7f72;
  --text-light: #b8ad9e;
  --white: #f5f0e8;
  --radius: 3px;
  --max-width: 1100px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ─── */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--white);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 2.5rem 0 1rem; color: var(--accent2); }
h3 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; }

p { margin-bottom: 1.25rem; color: var(--text-light); }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent2); }
strong { color: var(--white); font-weight: 500; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
li { color: var(--text-light); margin-bottom: 0.4rem; }

/* ─── HEADER ─── */

header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.logo span { color: var(--accent); }

nav { display: flex; gap: 0.25rem; align-items: center; }

nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

nav a:hover, nav a.active {
  color: var(--accent2);
  background: rgba(200, 146, 58, 0.08);
}

/* ─── HERO ─── */

.hero {
  position: relative;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(200,146,58,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

.hero h1 { max-width: 700px; }

.hero p.lead {
  font-size: 1.1rem;
  max-width: 580px;
  color: var(--text-muted);
  margin-top: 1.25rem;
}

/* ─── LAYOUT ─── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.page-content {
  padding: 4rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  nav { display: none; }
  .hero { padding: 3rem 1.5rem; }
  .page-content { padding: 2.5rem 1.5rem; }
}

/* ─── ARTICLE ─── */

article p { font-size: 1rem; }

article .intro {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
  font-family: var(--serif);
}

/* ─── CARDS ─── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.card-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.card h3 { margin-top: 0; font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; margin-bottom: 0; color: var(--text-muted); }

/* ─── CTA BOX ─── */

.cta-box {
  background: linear-gradient(135deg, var(--surface) 0%, #1a1510 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(200,146,58,0.06) 0%, transparent 70%);
}

.cta-box h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  position: relative;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  position: relative;
}

.btn:hover {
  background: var(--accent2);
  color: var(--bg);
  transform: translateY(-1px);
}

/* ─── SIDEBAR ─── */

.sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-box h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.sidebar-box ul { padding-left: 0; list-style: none; }
.sidebar-box li { margin-bottom: 0; border-bottom: 1px solid var(--border); }
.sidebar-box li:last-child { border-bottom: none; }
.sidebar-box li a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
}
.sidebar-box li a:hover { color: var(--accent2); }

/* ─── DIVIDER ─── */

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

/* ─── INFO BOX ─── */

.info-box {
  background: rgba(200,146,58,0.06);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}

.info-box p { margin-bottom: 0; color: var(--text-light); font-size: 0.95rem; }

/* ─── BREADCRUMB ─── */

.breadcrumb {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 2rem;
}

.breadcrumb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb-inner a { color: var(--text-muted); }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner span { margin: 0 0.4rem; }

/* ─── FOOTER ─── */

footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  margin-top: 5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand .logo { display: block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { font-size: 0.9rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--accent2); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ─── HOMEPAGE SPECIFIC ─── */

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.section { padding: 4rem 2rem; }
.section:nth-child(even) { background: var(--bg2); }

.section-inner { max-width: var(--max-width); margin: 0 auto; }

/* ─── CONTACT FORM ─── */

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { height: 150px; resize: vertical; }

/* ─── SITEMAP ─── */

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.sitemap-section {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.sitemap-section h3 {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent2);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.sitemap-section ul { list-style: none; padding: 0; }
.sitemap-section li a { font-size: 0.9rem; color: var(--text-muted); }
.sitemap-section li a:hover { color: var(--accent); }
