/* ========================================
   CONSEIL RÉGIE – Design System
   Réplique fidèle du thème Lovable
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* --- CSS Variables (from Lovable theme) --- */
:root {
  --background: hsl(45 20% 97%);
  --foreground: hsl(150 10% 15%);
  --card: hsl(45 20% 99%);
  --card-foreground: hsl(150 10% 15%);
  --primary: hsl(152 45% 22%);
  --primary-foreground: hsl(45 20% 97%);
  --secondary: hsl(40 25% 92%);
  --secondary-foreground: hsl(150 10% 20%);
  --muted: hsl(45 15% 90%);
  --muted-foreground: hsl(150 8% 45%);
  --accent: hsl(25 55% 55%);
  --accent-foreground: hsl(45 20% 97%);
  --cta: hsl(38 70% 50%);
  --cta-foreground: hsl(150 10% 10%);
  --destructive: hsl(0 84% 60%);
  --border: hsl(45 20% 85%);
  --radius: 0.5rem;
  --shadow-soft: 0 4px 20px -4px hsl(150 10% 15% / 0.08);
  --shadow-elevated: 0 12px 40px -8px hsl(150 10% 15% / 0.12);
  --shadow-cta: 0 8px 24px -4px hsl(38 70% 50% / 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* --- Typography --- */
.heading-hero {
  font-size: 2.25rem;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .heading-hero { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1024px) {
  .heading-hero { font-size: 3.75rem; line-height: 1; }
}

.heading-section {
  font-size: 1.875rem;
  line-height: 1.25;
}
@media (min-width: 768px) {
  .heading-section { font-size: 2.25rem; }
}

.heading-subsection {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
@media (min-width: 768px) {
  .heading-subsection { font-size: 1.5rem; line-height: 2rem; }
}

.text-body {
  font-size: 1rem;
  line-height: 1.625;
}
@media (min-width: 768px) {
  .text-body { font-size: 1.125rem; }
}

/* --- Layout --- */
.container-section {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .container-section { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container-section { padding-left: 2rem; padding-right: 2rem; }
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .section-padding { padding-top: 6rem; padding-bottom: 6rem; }
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsl(45 20% 97% / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(45 20% 85% / 0.5);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.site-logo:hover .site-logo__img {
  transform: scale(1.05);
}
.site-logo__img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  transition: transform 0.3s;
}
.site-logo__text {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  display: none;
}
@media (min-width: 640px) {
  .site-logo__text { display: block; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .nav-cta-desktop { display: block; }
}

/* Mobile menu */
.mobile-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}
@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}
.mobile-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  display: none;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}
.mobile-menu.open {
  display: block;
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.3s;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--primary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius);
  padding: 0.625rem 1.25rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-cta {
  background-color: var(--cta);
  color: var(--cta-foreground);
  box-shadow: var(--shadow-cta);
}
.btn-cta:hover {
  filter: brightness(1.05);
  transform: scale(1.02);
}

.btn-cta-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-cta-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-hero {
  background-color: var(--cta);
  color: var(--cta-foreground);
  box-shadow: var(--shadow-cta);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}
.btn-hero:hover {
  filter: brightness(1.08);
  transform: scale(1.02);
}

.btn-hero-outline {
  background-color: transparent;
  color: var(--primary-foreground);
  border: 1.5px solid hsl(45 20% 97% / 0.3);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}
.btn-hero-outline:hover {
  background-color: hsl(45 20% 97% / 0.2);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn svg,
.btn .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* --- Cards --- */
.card {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
}
.card:hover {
  box-shadow: var(--shadow-elevated);
}

.card-bordered {
  border: 1px solid hsl(45 20% 85% / 0.5);
}

/* --- Icon Circle --- */
.icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-circle--primary {
  background-color: hsl(152 45% 22% / 0.1);
  color: var(--primary);
}
.icon-circle--accent {
  background-color: hsl(25 55% 55% / 0.2);
  color: var(--accent);
}
.icon-circle--large {
  width: 4rem;
  height: 4rem;
}
.icon-circle svg {
  width: 1.75rem;
  height: 1.75rem;
}

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

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsl(152 45% 18% / 0.95), hsl(152 45% 22% / 0.85), hsl(152 45% 22% / 0.6));
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 0;
}

.hero__title {
  color: var(--primary-foreground);
  margin-bottom: 2rem;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: hsl(45 20% 97% / 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
}
@media (min-width: 768px) {
  .hero__subtitle { font-size: 1.5rem; }
}

.hero__desc {
  color: hsl(45 20% 97% / 0.75);
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; }
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.page-hero .container-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .page-hero .container-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
.page-hero__title {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}
.page-hero__desc {
  font-size: 1.25rem;
  color: hsl(45 20% 97% / 0.8);
  max-width: 48rem;
}

/* --- Sections --- */
.bg-secondary { background-color: var(--secondary); }
.bg-muted { background-color: var(--muted); }
.bg-primary { background-color: var(--primary); color: var(--primary-foreground); }

/* --- Grid --- */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* --- Tags/Badges --- */
.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.badge {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-soft);
  font-weight: 500;
  color: var(--foreground);
}

/* --- Step Cards (Accompagnement) --- */
.step-card {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(45 20% 85% / 0.5);
  transition: all 0.3s;
}
.step-card:hover {
  box-shadow: var(--shadow-elevated);
}

.step-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-card__title {
  font-size: 1.25rem;
}

.step-card__items {
  list-style: none;
  padding-left: 0;
}
.step-card__items li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.25rem 0;
  color: hsl(150 10% 15% / 0.8);
}
.step-card__items li::before {
  content: '';
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  background-color: var(--primary);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 11 12 14 22 4'%3E%3C/polyline%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'%3E%3C/path%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 11 12 14 22 4'%3E%3C/polyline%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'%3E%3C/path%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
}

.step-card__objective {
  color: var(--primary);
  font-weight: 500;
  margin-top: 1rem;
}

/* --- Callout / Alert boxes --- */
.callout {
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
}
.callout--accent {
  background-color: hsl(25 55% 55% / 0.1);
  border-left: 4px solid var(--accent);
}
.callout--primary {
  background-color: hsl(152 45% 22% / 0.05);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
}
.callout--destructive {
  background-color: hsl(0 84% 60% / 0.1);
  border: 1px solid hsl(0 84% 60% / 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.callout--secondary {
  background-color: var(--secondary);
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.callout--muted {
  background-color: var(--muted);
  border-radius: 0.75rem;
  padding: 2rem;
  border-left: 4px solid var(--primary);
}

/* --- Bullet lists --- */
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.25rem 0;
  color: hsl(150 10% 15% / 0.8);
}
.bullet-list .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  margin-top: 0.5rem;
  flex-shrink: 0;
}
.dot--accent { background-color: var(--accent); }
.dot--primary { background-color: var(--primary); }
.dot--destructive { background-color: var(--destructive); }

/* --- Quote --- */
.quote-block {
  background-color: var(--muted);
  border-radius: 0.75rem;
  padding: 2rem;
  border-left: 4px solid var(--primary);
}
.quote-block p {
  font-style: italic;
  color: hsl(150 10% 15% / 0.9);
}

/* --- Contact Cards --- */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background-color: var(--card);
  border-radius: 1rem;
  border: 1px solid hsl(45 20% 85% / 0.5);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
  text-decoration: none;
}
.contact-card:hover {
  box-shadow: 0 4px 6px -1px hsl(0 0% 0% / 0.1);
  border-color: hsl(152 45% 22% / 0.3);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.875rem;
  color: hsl(45 20% 97% / 0.7);
  line-height: 1.625;
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--primary-foreground);
}

.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  padding: 0.25rem 0;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
}
.footer-contact svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  border-top: 1px solid hsl(45 20% 97% / 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(45 20% 97% / 0.5);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
}
.footer-bottom a {
  color: hsl(45 20% 97% / 0.5);
}
.footer-bottom a:hover {
  color: var(--primary-foreground);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-light { font-weight: 300; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.text-foreground-80 { color: hsl(150 10% 15% / 0.8); }
.leading-relaxed { line-height: 1.625; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.separator {
  height: 1px;
  background-color: var(--border);
  margin: 2rem 0;
}

/* --- Main content offset for fixed header --- */
main {
  padding-top: 73px;
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }

/* --- Legal page specific --- */
.legal-section {
  margin-bottom: 3rem;
}
.legal-section h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}
.legal-info {
  background-color: hsl(40 25% 92% / 0.5);
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.legal-info p {
  color: hsl(150 10% 15% / 0.8);
  padding: 0.25rem 0;
}
.legal-info strong {
  color: var(--foreground);
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}
.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Numbered grid items (article page) */
.numbered-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-soft);
}
.numbered-card__num {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: hsl(152 45% 22% / 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.numbered-card__text {
  font-size: 0.875rem;
  color: hsl(150 10% 15% / 0.8);
}

/* Result cards (article) */
.result-card {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
}
.result-card:hover {
  box-shadow: var(--shadow-elevated);
}
.result-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.result-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Roles cards on home page */
.role-card {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(45 20% 85% / 0.5);
  transition: all 0.3s;
  text-align: center;
}
.role-card:hover {
  box-shadow: var(--shadow-elevated);
}

/* Approach cards */
.approach-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: hsl(40 25% 92% / 0.5);
  border-radius: 0.75rem;
}
.approach-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background-color: hsl(152 45% 22% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.approach-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

/* Phase pills on home page */
.phase-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .phase-pills { grid-template-columns: repeat(4, 1fr); }
}
.phase-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: hsl(40 25% 92% / 0.5);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.phase-pill::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
}

/* CTA Banner section */
.cta-banner {
  text-align: center;
}
.cta-banner h2 {
  margin-bottom: 1.5rem;
}
.cta-banner p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn + .btn {
  margin-left: 0;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .cta-actions { flex-direction: row; }
}

/* ========================================
   LOT 3 — UX & CONVERSION
   ======================================== */

/* --- Trust Banner --- */
.trust-banner {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  overflow: hidden;
}
.trust-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .trust-banner__inner { gap: 3rem; }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.trust-item__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}
.trust-item__text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
}
@media (max-width: 640px) {
  .trust-banner__inner {
    gap: 1rem 1.5rem;
    justify-content: center;
  }
  .trust-item__text { font-size: 0.75rem; }
}

/* --- Contact Form --- */
.contact-form {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid hsl(45 20% 85% / 0.5);
  box-shadow: var(--shadow-soft);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(152 45% 22% / 0.1);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-note {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success.show {
  display: block;
}
.form-success svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(45 20% 85% / 0.5);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: hsl(152 45% 22% / 0.15);
  position: absolute;
  top: 0.25rem;
  left: 1rem;
  line-height: 1;
}
.testimonial-card__text {
  font-style: italic;
  color: hsl(150 10% 15% / 0.85);
  line-height: 1.625;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}
.testimonial-card__source {
  font-size: 0.8rem;
  color: var(--muted-foreground);
}
.testimonial-card__source strong {
  color: var(--foreground);
  font-weight: 600;
}

/* --- Responsive Fixes --- */
@media (max-width: 480px) {
  .heading-hero { font-size: 1.75rem; line-height: 1.2; }
  .heading-section { font-size: 1.5rem; }
  .hero { min-height: 70vh; }
  .hero__subtitle { font-size: 1rem; }
  .hero__desc { font-size: 0.9rem; }
  .btn-hero, .btn-hero-outline { font-size: 0.875rem; padding: 0.625rem 1.25rem; }
  .page-hero .container-section { padding-top: 3rem; padding-bottom: 3rem; }
  .section-padding { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .card { padding: 1.25rem; }
  .step-card { padding: 1.25rem; }
  .footer-grid { gap: 1.5rem; }
}

@media (max-width: 768px) {
  .hero__actions { align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .cta-actions { align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
  .role-card { padding: 1.5rem; }
  .approach-card { flex-direction: column; text-align: center; }
  .approach-card__icon { margin: 0 auto; }
}

/* Fix icon-circle centering */
.icon-circle.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
