/* ============================================================
   Secondary pages — shared inner-page styles
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(8rem + 3vw) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(253,116,30,.12), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--text-xxl); max-width: 20ch; margin-bottom: 1rem; }
.page-hero .lead { font-size: var(--text-lg); }
.breadcrumb { color: var(--text-faint); font-size: var(--text-xs); margin-bottom: 1.2rem; letter-spacing: .04em; }
.breadcrumb a { color: var(--text-mut); }
.breadcrumb a:hover { color: var(--brand-bright); }

/* Offer cards */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.offer {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; display: flex; flex-direction: column;
  transition: border-color var(--t-int), transform var(--t-int);
}
.offer:hover { border-color: var(--border-2); transform: translateY(-4px); }
.offer .tag {
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-xs);
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
  margin-bottom: .8rem;
}
.offer h3 { font-size: var(--text-lg); margin-bottom: 1rem; }
.offer ul { list-style: none; display: grid; gap: .7rem; margin-top: auto; }
.offer li { display: flex; gap: .6rem; color: var(--text-mut); font-size: var(--text-sm); align-items: flex-start; }
.offer li svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 3px; }

/* Detail list */
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.detail {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
}
.highlight-detail {
  grid-column: 1 / -1;
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(253,116,30,.14), transparent 55%),
    linear-gradient(140deg, var(--surface-2), var(--surface));
  border-color: rgba(253,116,30,.32);
}
.highlight-detail p { max-width: 82ch; }
.detail h3 { font-size: var(--text-lg); margin-bottom: .5rem; display: flex; align-items: center; gap: .6rem; }
.detail h3 svg { width: 22px; height: 22px; color: var(--brand); }
.detail p { color: var(--text-mut); font-size: var(--text-sm); }

/* Aides — steps & callouts */
.aide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.aide {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.aide .amount {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--brand); letter-spacing: -.02em;
}
.aide h3 { font-size: var(--text-lg); margin: .3rem 0 .7rem; }
.aide p { color: var(--text-mut); font-size: var(--text-sm); }
.aide .src { font-size: var(--text-xs); color: var(--text-faint); margin-top: .9rem; }
.aide .src a { color: var(--text-mut); text-decoration: underline; text-underline-offset: 3px; }
.aide .src a:hover { color: var(--brand-bright); }

.callout {
  background: linear-gradient(140deg, rgba(253,116,30,.10), rgba(253,116,30,.02));
  border: 1px solid rgba(253,116,30,.28); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem); display: flex; gap: 1.2rem; align-items: flex-start;
}
.callout svg { width: 28px; height: 28px; color: var(--brand); flex: none; }
.callout h3 { font-size: var(--text-lg); margin-bottom: .4rem; }
.callout p { color: var(--text-mut); font-size: var(--text-sm); }
.callout p a { color: var(--brand-bright); }

/* Editorial SEO pages */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.article-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--t-int), border-color var(--t-int), box-shadow var(--t-int);
}
.article-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-md); }
.article-card .tag {
  display: inline-flex;
  color: var(--brand);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.article-card h3 { font-size: var(--text-lg); margin-bottom: .75rem; }
.article-card p { color: var(--text-mut); font-size: var(--text-sm); margin-bottom: 1.1rem; }
.text-link { color: var(--brand-bright); font-weight: 800; font-size: var(--text-sm); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.newsletter-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(253,116,30,.16), transparent 55%),
    linear-gradient(140deg, var(--surface-2), var(--surface));
  border: 1px solid rgba(253,116,30,.28);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
}
.newsletter-box h2 { font-size: var(--text-xl); margin-bottom: .8rem; }
.newsletter-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 800;
  margin-bottom: .6rem;
}
.newsletter-form div { display: flex; gap: .7rem; }
.newsletter-form input {
  min-width: 0;
  flex: 1;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: .8rem 1rem;
}
.newsletter-form p { color: var(--text-faint); font-size: var(--text-xs); margin-top: .8rem; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.article-content {
  max-width: 780px;
}
.article-content h2 {
  font-size: var(--text-xl);
  margin: 2.5rem 0 .8rem;
}
.article-content h2:first-child { margin-top: 0; }
.article-content p {
  color: var(--text-mut);
  margin-bottom: 1.1rem;
}
.article-content a { color: var(--brand-bright); text-decoration: underline; text-underline-offset: 3px; }
.article-aside {
  position: sticky;
  top: 7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}
.article-aside h3 { font-size: var(--text-lg); margin-bottom: .8rem; }
.article-aside ul { list-style: none; display: grid; gap: .7rem; }
.article-aside li {
  color: var(--text-mut);
  font-size: var(--text-sm);
  padding-left: 1rem;
  position: relative;
}
.article-aside li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
  position: absolute;
  left: 0;
  top: .65em;
}
.article-aside a { color: var(--text-mut); }
.article-aside a:hover { color: var(--brand-bright); }

/* Disclaimer */
.disclaimer {
  font-size: var(--text-xs); color: var(--text-faint);
  border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: 2.5rem;
  max-width: 80ch;
}
.disclaimer a { color: var(--text-mut); text-decoration: underline; text-underline-offset: 2px; }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 1.4rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-row .ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgba(253,116,30,.18), rgba(253,116,30,.04));
  border: 1px solid rgba(253,116,30,.28); color: var(--brand-bright);
}
.info-row .ic svg { width: 22px; height: 22px; }
.info-row h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); margin-bottom: .2rem; }
.info-row a, .info-row p { color: var(--text-mut); font-size: var(--text-sm); }
.info-row a:hover { color: var(--brand-bright); }

/* Form */
.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.4rem);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: var(--text-sm); font-weight: 500; margin-bottom: .45rem; }
.field label .req { color: var(--brand); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: var(--text-base);
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border-2); border-radius: 10px; padding: .8rem 1rem;
  transition: border-color var(--t-int), box-shadow var(--t-int);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(253,116,30,.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-status { margin-top: 1rem; font-size: var(--text-sm); border-radius: 8px; padding: .7rem .9rem; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--success); background: rgba(109,170,69,.12); border: 1px solid rgba(109,170,69,.3); }
.form-status.err { color: #FF9A6A; background: rgba(253,116,30,.12); border: 1px solid rgba(253,116,30,.3); }
.form-note { font-size: var(--text-xs); color: var(--text-faint); margin-top: 1rem; }

/* Map placeholder */
.map-embed {
  position: relative; display: block;
  margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 16/9; width: 100%;
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, rgba(253,116,30,.10), transparent 70%),
    var(--surface);
  transition: border-color var(--t-int);
}
.map-embed:hover { border-color: var(--brand); }
.map-embed iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.15) contrast(1.05); }
/* Fallback shown behind the iframe if the embed fails to load */
.map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  text-align: center; padding: 1rem;
  color: var(--text-mut); font-size: var(--text-sm); font-weight: 500;
}
.map-fallback svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* Responsive */
@media (max-width: 900px) {
  .offers { grid-template-columns: 1fr; }
  .detail-list, .aide-grid, .article-grid, .newsletter-box, .article-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .newsletter-form div { flex-direction: column; align-items: stretch; }
}
