/* ============================================================
   ONYVA — Premium Design System
   Colors: #FF6900 (Orange Énergie) + #006633 (Vert Éco)
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* --- CSS Variables --- */
:root {
  --orange: #FF6900;
  --orange-light: #FF8A3D;
  --orange-dark: #E05E00;
  --orange-bg: #FFF4EC;
  --green: #006633;
  --green-light: #00894A;
  --green-dark: #004D26;
  --green-bg: #E8F5EE;
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --gray-50: #F7F7F5;
  --gray-100: #EFEFEC;
  --gray-200: #DEDED8;
  --gray-300: #C4C4BC;
  --gray-400: #9E9E94;
  --gray-500: #6E6E64;
  --gray-600: #4A4A42;
  --gray-700: #2E2E28;
  --gray-800: #1A1A16;
  --gray-900: #0D0D0A;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--gray-600); line-height: 1.75; }
.text-lg { font-size: 1.15rem; }
.text-sm { font-size: 0.9rem; }

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

section {
  padding: 100px 0;
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

/* --- Section Headers --- */
.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 12px;
  display: inline-block;
}

.section-label.green { color: var(--green); }

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 105, 0, 0.3);
}

.btn-secondary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-secondary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 51, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-lg {
  padding: 17px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  color: var(--orange);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--gray-600);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gray-900);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
}

@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-links, .nav-cta {
    display: none;
  }
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--gray-800);
  }
  .mobile-menu .btn { margin-top: 16px; }
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(160deg, var(--off-white) 0%, var(--orange-bg) 40%, var(--green-bg) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,105,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,102,51,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .highlight-orange { color: var(--orange); }
.hero h1 .highlight-green { color: var(--green); }

.hero-text {
  font-size: 1.15rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof-item .icon {
  width: 36px;
  height: 36px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 0.9rem;
}

.hero-proof-item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 570px;
  background: var(--gray-900);
  border-radius: 40px;
  position: relative;
  box-shadow: var(--shadow-xl), 0 0 0 2px var(--gray-700);
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: var(--gray-900);
  border-radius: 14px;
  z-index: 2;
}

.phone-screen {
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-light) 40%, var(--green-bg) 100%);
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px 20px;
  color: var(--white);
}

.phone-screen .app-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.phone-screen .app-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  width: 100%;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.phone-screen .app-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.phone-screen .app-card-sub {
  font-size: 0.72rem;
  color: var(--gray-400);
}

.phone-screen .app-card-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange);
  font-size: 0.9rem;
  margin-top: 6px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 60px;
  right: -20px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 80px;
  left: -30px;
  animation-delay: 1.5s;
}

.floating-card .fc-icon {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.floating-card .fc-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--gray-700);
}

.floating-card .fc-sub {
  font-size: 0.7rem;
  color: var(--gray-400);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-proof { justify-content: center; flex-wrap: wrap; }
  .hero-visual { margin-top: 32px; }
  .phone-mockup { width: 240px; height: 490px; }
  .floating-card { display: none; }
}

/* --- How it works --- */
.how-it-works { background: var(--white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  opacity: 0.2;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.step-number.orange { background: var(--orange); }
.step-number.green { background: var(--green); }

.step-card h3 {
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.95rem;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .steps-grid::before { display: none; }
}

/* --- Tab Switcher --- */
.tab-switcher {
  display: inline-flex;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--white);
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* --- Advantages --- */
.advantages { background: var(--gray-50); }

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.adv-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.adv-icon.orange { background: var(--orange-bg); }
.adv-icon.green { background: var(--green-bg); }

.adv-card h3 { margin-bottom: 8px; }
.adv-card p { font-size: 0.92rem; }

@media (max-width: 768px) {
  .adv-grid { grid-template-columns: 1fr; }
}

/* --- Categories --- */
.categories { background: var(--white); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.cat-card {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
  background: var(--white);
}

.cat-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.cat-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cat-card p {
  font-size: 0.78rem;
  color: var(--gray-400);
}

@media (max-width: 960px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 20px 12px; }
}

/* --- Testimonials --- */
.testimonials { background: var(--gray-50); }

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.test-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  position: relative;
}

.test-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.15;
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}

.test-stars {
  color: var(--orange);
  font-size: 0.85rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.test-card p {
  font-size: 0.95rem;
  margin-bottom: 18px;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-bg), var(--green-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange);
  font-size: 0.85rem;
}

.test-author-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-800);
}

.test-author-role {
  font-size: 0.78rem;
  color: var(--gray-400);
}

@media (max-width: 768px) {
  .test-grid { grid-template-columns: 1fr; }
}

/* --- Impact Banner --- */
.impact-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
  color: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.impact-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.impact-item .impact-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 4px;
}

.impact-item .impact-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

@media (max-width: 768px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* --- FAQ --- */
.faq { background: var(--white); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gray-800);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover { color: var(--orange); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--gray-500);
}

.faq-item.open .faq-icon {
  background: var(--orange);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 0 22px;
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 32px;
}

.cta-banner .btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--gray-400);
  font-size: 0.88rem;
  padding: 5px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-bottom-links a:hover { color: var(--orange); }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, var(--off-white) 0%, var(--orange-bg) 50%, var(--green-bg) 100%);
  text-align: center;
  position: relative;
}

.page-hero h1 { margin-bottom: 16px; }
.page-hero p { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* --- Partner Page Specific --- */
.partner-benefits { background: var(--white); }

.pb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pb-card {
  display: flex;
  gap: 18px;
  padding: 28px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.pb-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.pb-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.pb-icon.orange { background: var(--orange-bg); }
.pb-icon.green { background: var(--green-bg); }

@media (max-width: 768px) {
  .pb-grid { grid-template-columns: 1fr; }
}

/* --- Form --- */
.form-section { background: var(--gray-50); }

.form-container {
  max-width: 740px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

@media (max-width: 600px) {
  .form-container { padding: 28px 20px; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group label .required {
  color: var(--orange);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.1);
}

.form-control.error {
  border-color: #E53E3E;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-error {
  font-size: 0.78rem;
  color: #E53E3E;
  margin-top: 4px;
  display: none;
}

.form-error.visible { display: block; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236E6E64' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  margin-bottom: 20px;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--gray-600);
  transition: var(--transition);
}

.checkbox-label:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.checkbox-label input { display: none; }

.checkbox-label.checked {
  background: var(--orange-bg);
  border-color: var(--orange);
  color: var(--orange);
  font-weight: 500;
}

.consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--orange);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.consent-label a {
  color: var(--orange);
  text-decoration: underline;
}

/* Honeypot */
.ohnohoney { position: absolute; left: -9999px; opacity: 0; }

/* --- Confirmation --- */
.confirmation {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.confirmation.visible { display: block; }

.confirmation-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.confirmation h3 {
  margin-bottom: 10px;
  color: var(--green);
}

.confirmation p {
  max-width: 480px;
  margin: 0 auto 24px;
}

.recap-box {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.88rem;
}

.recap-box .recap-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
}

.recap-box .recap-row:last-child { border-bottom: none; }
.recap-box .recap-label { color: var(--gray-400); font-weight: 500; }
.recap-box .recap-value { color: var(--gray-700); font-weight: 600; text-align: right; }

/* --- About Page --- */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission-grid.reverse { direction: rtl; }
.mission-grid.reverse > * { direction: ltr; }

.mission-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.mission-visual.orange-bg { background: linear-gradient(135deg, var(--orange-bg), var(--orange)); }
.mission-visual.green-bg { background: linear-gradient(135deg, var(--green-bg), var(--green)); }

.mission-content .section-label { margin-bottom: 8px; }
.mission-content h2 { margin-bottom: 16px; }
.mission-content p { margin-bottom: 16px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .mission-grid { grid-template-columns: 1fr; gap: 32px; }
  .mission-grid.reverse { direction: ltr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--orange-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Counter Animation --- */
.counter { display: inline-block; }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.gap-sm { gap: 8px; }
