/* ==============================================
   Rentabilite-Solaire.fr — Design System
   Orange/Yellow solar theme (NO Tailwind)
   ============================================== */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
}

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

a { color: #f97316; text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Variables --- */
:root {
  --orange: #f97316;
  --orange-dark: #ea6c0a;
  --orange-light: #fed7aa;
  --amber: #fbbf24;
  --amber-light: #fef3c7;
  --green: #16a34a;
  --green-light: #dcfce7;
  --blue: #1d4ed8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --radius: .75rem;
  --radius-sm: .5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

/* --- Typography --- */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.3; }
p  { margin-bottom: .75rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 3.5rem 0; }
.section--sm { padding: 2rem 0; }

/* --- Header --- */
.site-header {
  background: #fff;
  border-bottom: 2px solid var(--orange-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--gray-800);
  text-decoration: none;
}

.site-logo .logo-icon {
  font-size: 1.5rem;
}

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

.header-nav { display: flex; align-items: center; gap: 1.5rem; }
.header-nav a {
  color: var(--gray-600);
  font-size: .92rem;
  font-weight: 500;
  transition: color .2s;
}
.header-nav a:hover { color: var(--orange); text-decoration: none; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #25d366;
  color: #fff !important;
  padding: .5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s;
  text-decoration: none !important;
}
.btn-wa:hover { background: #1ebe5a; }
.btn-wa svg { width: 18px; height: 18px; fill: #fff; }

/* --- Hero / Simulator Section --- */
.hero {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 40%, #fff7ed 100%);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(251,191,36,.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.hero-text { padding-top: .5rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--orange);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 2rem;
  margin-bottom: 1.2rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.hero h1 { color: var(--gray-800); margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--orange); }

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 2rem;
  padding: .35rem .75rem;
  font-size: .82rem;
  color: var(--gray-600);
  font-weight: 500;
}

.trust-badge .icon { color: var(--green); font-size: 1rem; }

/* --- Simulator Card --- */
.simulator-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  border: 2px solid var(--amber);
}

.simulator-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.simulator-title .sun-icon { font-size: 2.5rem; display: block; margin-bottom: .5rem; }
.simulator-title h2 { font-size: 1.3rem; color: var(--gray-800); margin-bottom: .25rem; }
.simulator-title p { font-size: .88rem; color: var(--gray-500); margin: 0; }

/* --- Form Elements --- */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  color: var(--gray-800);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}

.form-group input::placeholder { color: var(--gray-400); }

.form-group .input-wrapper {
  position: relative;
}

.form-group .input-suffix {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .85rem;
  color: var(--gray-400);
  pointer-events: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
}

/* Slider */
.slider-group { margin-bottom: 1.1rem; }
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .4rem;
}
.slider-header label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-700);
}
.slider-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
}

input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--orange) 0%, var(--orange) 50%, var(--gray-200) 50%, var(--gray-200) 100%);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  padding: 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(249,115,22,.4);
  border: 2px solid #fff;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 2px solid #fff;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: .25rem;
}

/* Toggle group */
.toggle-group { margin-bottom: 1.1rem; }
.toggle-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .4rem;
}

.toggle-options {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}

.toggle-option {
  flex: 1;
  min-width: 70px;
  padding: .5rem .4rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all .2s;
  user-select: none;
}

.toggle-option:hover { border-color: var(--orange); color: var(--orange); }
.toggle-option.active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all .2s;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: var(--shadow); color: #fff; text-decoration: none; }

.btn-primary:active { transform: translateY(0); }

.btn-full { width: 100%; }

.btn-secondary {
  background: transparent;
  color: var(--gray-500);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem;
}
.btn-secondary:hover { color: var(--orange); text-decoration: none; }

/* --- Results Section --- */
.results-section {
  background: #fff;
  padding: 2rem 0 3rem;
  display: none;
}

.results-section.visible { display: block; }

.results-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.results-heading h2 { color: var(--gray-800); margin-bottom: .5rem; }
.results-heading p { color: var(--gray-500); font-size: .95rem; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.result-card {
  background: #fff;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all .3s;
  opacity: 0;
  transform: translateY(20px);
}

.result-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .4s ease, transform .4s ease;
}

.result-card.card-economies { border-color: var(--green); background: var(--green-light); }
.result-card.card-amortissement { border-color: var(--amber); background: var(--amber-light); }
.result-card.card-gain { border-color: var(--orange); background: #fff7ed; }
.result-card.card-co2 { border-color: #60a5fa; background: #eff6ff; }

.result-card .result-icon { font-size: 1.6rem; display: block; margin-bottom: .4rem; }
.result-card .result-label { font-size: .8rem; color: var(--gray-600); margin-bottom: .3rem; font-weight: 500; }
.result-card .result-value { font-size: 1.6rem; font-weight: 800; line-height: 1.1; margin-bottom: .15rem; }
.result-card .result-unit { font-size: .78rem; color: var(--gray-500); }

.result-card.card-economies .result-value { color: var(--green); }
.result-card.card-amortissement .result-value { color: #b45309; }
.result-card.card-gain .result-value { color: var(--orange); }
.result-card.card-co2 .result-value { color: var(--blue); }

/* Timeline */
.timeline-section {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.timeline-section h3 { font-size: 1rem; color: var(--gray-700); margin-bottom: 1rem; }

.timeline-bar {
  position: relative;
  height: 28px;
  background: var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: .5rem;
}

.timeline-fill {
  position: absolute;
  left: 0; top: 0; height: 100%;
  background: linear-gradient(90deg, var(--green), var(--amber));
  border-radius: 14px;
  width: 0;
  transition: width 1s ease;
}

.timeline-marker {
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: var(--orange);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .4rem;
  border-radius: .25rem;
  white-space: nowrap;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--gray-400);
}

/* Aides */
.aides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.aide-card {
  background: #fff;
  border: 2px solid var(--orange-light);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.aide-card .aide-icon { font-size: 1.5rem; flex-shrink: 0; }
.aide-card h4 { font-size: .9rem; color: var(--gray-800); margin-bottom: .2rem; }
.aide-card .aide-amount { font-size: 1.1rem; font-weight: 800; color: var(--green); }
.aide-card p { font-size: .78rem; color: var(--gray-500); margin: 0; }

/* --- Lead Form Section --- */
.lead-section {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin: 2rem auto;
  max-width: 680px;
  box-shadow: var(--shadow-lg);
  display: none;
}

.lead-section.visible { display: block; }

.lead-header { text-align: center; margin-bottom: 2rem; }
.lead-header .lead-icon { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.lead-header h2 { color: var(--gray-800); margin-bottom: .5rem; font-size: 1.6rem; }
.lead-header p { color: var(--gray-600); font-size: .95rem; }

/* Stepper */
.form-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2rem;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  background: var(--gray-200);
  color: var(--gray-500);
  transition: all .3s;
}

.step-dot.active {
  background: var(--orange);
  color: #fff;
}

.step-dot.done {
  background: var(--green);
  color: #fff;
}

.step-label {
  font-size: .82rem;
  color: var(--gray-500);
  font-weight: 500;
}

.step-label.active { color: var(--orange); font-weight: 700; }

.step-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  max-width: 80px;
}

.step-line.done { background: var(--green); }

/* Form Steps */
.form-step { display: none; }
.form-step.active { display: block; }

/* RGPD */
.rgpd-wrapper {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 1.25rem;
}

.rgpd-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: .1rem;
  accent-color: var(--orange);
}

.rgpd-wrapper label {
  font-size: .8rem;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1.5;
}

/* Success */
.success-state {
  text-align: center;
  padding: 2rem 1rem;
  display: none;
}

.success-state.visible { display: block; }
.success-state .success-icon { font-size: 4rem; display: block; margin-bottom: 1rem; }
.success-state h2 { color: var(--green); margin-bottom: .75rem; }
.success-state p { color: var(--gray-600); }

/* --- Guarantee Strip --- */
.guarantee-strip {
  background: var(--gray-800);
  color: #fff;
  padding: 1.5rem 0;
}

.guarantee-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  text-align: center;
}

.guarantee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}

.guarantee-item .g-icon { font-size: 1.6rem; }
.guarantee-item .g-label { font-size: .82rem; font-weight: 600; color: var(--amber); }
.guarantee-item .g-sub { font-size: .75rem; color: var(--gray-400); }

/* --- Trust Section --- */
.trust-section {
  background: var(--gray-50);
  padding: 3rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.trust-card .t-icon { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.trust-card h3 { font-size: 1rem; color: var(--gray-800); margin-bottom: .5rem; }
.trust-card p { font-size: .88rem; color: var(--gray-500); }

/* --- FAQ Section --- */
.faq-section { padding: 3.5rem 0; }
.faq-section .section-header { text-align: center; margin-bottom: 2.5rem; }
.faq-section .section-header h2 { margin-bottom: .5rem; }
.faq-section .section-header p { color: var(--gray-500); }

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

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}

.faq-question-wrap { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  background: #fff;
  font-weight: 600;
  color: var(--gray-800);
  font-size: .97rem;
  transition: background .2s;
  user-select: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.faq-question:hover { background: var(--gray-50); }
.faq-question.open { background: var(--amber-light); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--orange);
  transition: transform .25s;
}

.faq-question.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: #fff;
}

.faq-answer-inner {
  padding: 1rem 1.25rem;
  font-size: .93rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
}

/* --- Footer --- */
.site-footer {
  background: var(--gray-800);
  color: var(--gray-400);
  padding: 2.5rem 0 1.5rem;
  font-size: .88rem;
}

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

.footer-brand .logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
}

.footer-brand p { line-height: 1.6; }

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul li a { color: var(--gray-400); transition: color .2s; }
.footer-col ul li a:hover { color: var(--amber); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--amber); }

/* --- WhatsApp Float --- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.55);
  text-decoration: none;
}

.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* Chatbot trigger */
.chatbot-trigger {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 200;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: .55rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: background .2s;
  font-family: inherit;
}
.chatbot-trigger:hover { background: var(--orange-dark); }

/* --- Chatbot Widget --- */
.chatbot-widget {
  position: fixed;
  bottom: 9rem;
  right: 1.5rem;
  z-index: 300;
  width: 320px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-widget.open { display: flex; }

.chatbot-header {
  background: var(--orange);
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.chatbot-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chatbot-title { font-weight: 700; font-size: .95rem; }
.chatbot-subtitle { font-size: .78rem; opacity: .85; }

.chatbot-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  padding: .2rem;
}

.chatbot-messages {
  flex: 1;
  max-height: 260px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.chat-bubble {
  max-width: 85%;
  padding: .65rem .9rem;
  border-radius: 1rem;
  font-size: .88rem;
  line-height: 1.5;
}

.chat-bubble.bot {
  background: var(--gray-100);
  color: var(--gray-800);
  border-bottom-left-radius: .25rem;
  align-self: flex-start;
}

.chat-bubble.user {
  background: var(--orange);
  color: #fff;
  border-bottom-right-radius: .25rem;
  align-self: flex-end;
}

.chatbot-options {
  padding: .75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  border-top: 1px solid var(--gray-100);
}

.chat-option {
  background: #fff;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  border-radius: 2rem;
  padding: .45rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all .2s;
}

.chat-option:hover {
  background: var(--orange);
  color: #fff;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.text-gray { color: var(--gray-500); }
.font-bold { font-weight: 700; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.hidden { display: none !important; }

/* Error / notice */
.error-msg {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  font-size: .88rem;
  margin-bottom: 1rem;
  display: none;
}

.error-msg.show { display: block; }

/* Notice banner below hero */
.notice-bar {
  background: var(--amber-light);
  border-bottom: 1px solid var(--amber);
  text-align: center;
  padding: .6rem 1rem;
  font-size: .85rem;
  color: #92400e;
}

/* === Responsive === */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-text { text-align: center; }
  .hero-trust { justify-content: center; }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .aides-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 2rem 0 1.5rem; }
  .simulator-card { padding: 1.5rem 1.25rem; }
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .result-card .result-value { font-size: 1.3rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .guarantee-inner { gap: 1.5rem; }
  .lead-section { padding: 1.75rem 1.25rem; }
  .header-nav .hide-mobile { display: none; }
  .chatbot-widget { width: calc(100vw - 2rem); right: 1rem; bottom: 8rem; }
}
