
/*
Theme Name: Back2Value
Theme URI: https://back2value.com
Author: Back2Value
Description: Pro bilingual (EN/FR) landing theme with team section, Contact Form 7 and enhanced styling (no hero frame).
Version: 1.5
Text Domain: back2value
*/

:root {
  --primary: #1c8c5d;
  --primary-dark: #146344;
  --accent: #2b7bb9;
  --dark: #111827;
  --light: #f5f7fb;
  --border: #d1d5db;
  --max-width: 1100px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at top left, rgba(43,123,185,0.26), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(28,140,93,0.3), transparent 55%),
    linear-gradient(180deg, #050816 0%, #020617 45%, #020617 100%);
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid rgba(148,163,184,0.45);
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #e5e7eb;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.logo span:nth-child(1) {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.logo span:nth-child(2) {
  color: var(--accent);
  font-weight: 800;
}

.logo span:nth-child(3) {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
}

.lang-switch span {
  color: #cbd5f5;
}

.pill {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 0.25rem 0.75rem;
  cursor: pointer;
  background-color: transparent;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.pill.active {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  border-color: transparent;
}

main.site-main {
  max-width: var(--max-width);
  margin: 1.8rem auto 2.8rem;
  padding: 1.6rem 1.4rem 2.4rem;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.16), rgba(15,23,42,0.96)),
              radial-gradient(circle at bottom right, rgba(94,234,212,0.14), rgba(15,23,42,0.98));
  border-radius: 22px;
  box-shadow:
    0 24px 80px rgba(15,23,42,0.72),
    0 0 0 1px rgba(148,163,184,0.35);
  color: #e5e7eb;
}

section {
  padding: 2.6rem 0 1.4rem;
  border-bottom: 1px solid rgba(31,41,55,0.8);
}

section:last-of-type {
  border-bottom: none;
}

.section-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

h1, h2, h3 {
  margin-top: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.1rem, 3.1vw + 1rem, 2.9rem);
  margin-bottom: 0.85rem;
  color: #f9fafb;
}

h2 {
  font-size: 1.55rem;
  margin-bottom: 0.8rem;
  color: #f3f4f6;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  color: #e5e7eb;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
  gap: 2.1rem;
  align-items: center;
}

.hero-text p {
  font-size: 1.03rem;
  color: #d1d5db;
  max-width: 32rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 18px 45px rgba(15,23,42,0.85);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
}

.badge {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.7);
  color: #e5e7eb;
}

.hero-cta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(22,101,52,0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(22,101,52,0.7);
  text-decoration: none;
}

.btn-secondary {
  background: rgba(15,23,42,0.7);
  color: #e5e7eb;
  border-color: rgba(148,163,184,0.8);
}

.btn-secondary:hover {
  background: rgba(15,23,42,0.95);
  transform: translateY(-1px);
  text-decoration: none;
}

.hero-note {
  font-size: 0.82rem;
  color: #9ca3af;
  margin-top: 0.45rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(55,65,81,0.9);
  padding: 1.15rem 1.2rem 1.25rem;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.98), rgba(17,24,39,0.98));
  font-size: 0.9rem;
  box-shadow: 0 16px 35px rgba(15,23,42,0.75);
}

.muted {
  color: #9ca3af;
  font-size: 0.9rem;
}

.list-clean {
  list-style: none;
  padding-left: 0;
  margin: 0.3rem 0 0.7rem;
}

.list-clean li::before {
  content: "• ";
  color: var(--accent);
  font-weight: 700;
}

.impact-highlight {
  border-left: 4px solid var(--accent);
  padding-left: 0.9rem;
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.contact-block {
  border-radius: var(--radius);
  border: 1px solid rgba(55,65,81,0.9);
  padding: 1.25rem 1.3rem;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.98), rgba(17,24,39,0.98));
  font-size: 0.9rem;
  box-shadow: 0 16px 35px rgba(15,23,42,0.75);
}

.contact-block p {
  margin: 0.2rem 0;
}

.tagline {
  font-style: italic;
  color: #d1d5db;
  margin-top: 0.4rem;
}

.lang-anchor {
  scroll-margin-top: 4.5rem;
}

.lang-section {
  /* JS toggles visibility */
}

.site-footer {
  border-top: 1px solid rgba(30,41,59,0.95);
  background: radial-gradient(circle at top, rgba(15,23,42,1), rgba(15,23,42,0.98));
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links span {
  cursor: default;
}

@media (max-width: 800px) {
  main.site-main {
    margin: 1.2rem auto 2.2rem;
    padding: 1.2rem 1rem 2rem;
    border-radius: 18px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
