/* ==========================================================================
   Page : Constructeur tiny house {Ville}
   Template géo-localisé — réutilisable pour chaque ville/département
   ========================================================================== */

/* --- Hero géo (2 colonnes : texte gauche + mini-formulaire droite) --- */
.geo-hero {
  padding: calc(clamp(14px, 2vw, 22px) + 110px) 0 clamp(56px, 8vw, 88px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.geo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .geo-hero-grid { grid-template-columns: 1fr; gap: clamp(36px, 6vw, 56px); }
}
.geo-hero-text .p-kicker { margin-bottom: 20px; }
.geo-hero-text h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.geo-hero-text h1 em { font-style: italic; color: var(--forest); font-weight: 400; }
.geo-hero-lead {
  margin-top: 22px;
  font-size: clamp(1.1rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 54ch;
}
.geo-hero-trust {
  margin-top: clamp(24px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.geo-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .98rem;
  color: var(--ink);
  font-weight: 500;
}
.geo-hero-trust svg {
  width: 18px; height: 18px;
  color: var(--forest);
  flex-shrink: 0;
}
.geo-hero-images {
  margin-top: clamp(28px, 4vw, 36px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  max-width: 100%;
}
.geo-hero-images img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* --- Formulaire rapide dans le hero --- */
.geo-hero-form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  position: relative;
}
.geo-hero-form-head { margin-bottom: 22px; }
.geo-hero-form-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.geo-hero-form-head p {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.5;
}
.geo-hero-form .form-group { margin-bottom: 12px; }
.geo-hero-form label {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.geo-hero-form label span { color: var(--forest); }
.geo-hero-form input,
.geo-hero-form textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
  appearance: none;
}
.geo-hero-form textarea { min-height: 90px; resize: vertical; line-height: 1.5; }
.geo-hero-form input:focus,
.geo-hero-form textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px oklch(48% 0.05 155 / .15);
}
.geo-hero-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.geo-hero-form-row .form-group { margin-bottom: 0; }
.geo-hero-form button {
  width: 100%;
  padding: 14px 24px;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--paper);
  background: var(--forest);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .18s, transform .18s;
}
.geo-hero-form button:hover:not(:disabled) {
  background: oklch(42% 0.05 155);
  transform: translateY(-1px);
}
.geo-hero-form button svg { width: 16px; height: 16px; }
.geo-hero-form-foot {
  margin-top: 12px;
  font-size: .85rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
}
.geo-hero-form-msg {
  display: none;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  font-size: .95rem;
  line-height: 1.5;
}
.geo-hero-form-msg.success {
  display: block;
  background: oklch(96% 0.03 155);
  color: var(--forest);
  border: 1px solid oklch(85% 0.06 155);
}
.geo-hero-form-msg.error {
  display: block;
  background: oklch(96% 0.03 30);
  color: oklch(45% 0.15 30);
  border: 1px solid oklch(85% 0.08 30);
}
.geo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Intro locale --- */
.geo-intro {
  padding-block: clamp(64px, 9vw, 110px);
  background: var(--paper);
}
.geo-intro-inner {
  max-width: 900px;
  margin-inline: auto;
}
.geo-intro h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: clamp(24px, 3vw, 32px);
  text-align: center;
}
.geo-intro p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.geo-intro p strong { color: var(--ink); font-weight: 600; }

/* --- Bénéfices --- */
.geo-benefits {
  padding-block: clamp(64px, 9vw, 110px);
  background: var(--cream-deep);
}
.geo-benefits-head { max-width: 780px; margin-inline: auto; text-align: center; }
.geo-benefits-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.geo-benefits-head p {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.geo-benefits-grid {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 3vw, 36px);
}
.geo-benefit {
  padding: clamp(28px, 3vw, 38px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.geo-benefit-icon {
  width: 44px; height: 44px;
  margin-bottom: 22px;
  color: var(--forest);
}
.geo-benefit-icon svg { width: 100%; height: 100%; }
.geo-benefit h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.geo-benefit p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --- Modèles --- */
.geo-models {
  padding-block: clamp(64px, 9vw, 110px);
  background: var(--paper);
}
.geo-models-head { max-width: 780px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 5vw, 56px); }
.geo-models-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.geo-models-head p { margin-top: 20px; font-size: 1.1rem; color: var(--ink-soft); line-height: 1.6; }
.geo-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 32px);
}
.geo-model {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .3s;
}
.geo-model:hover { transform: translateY(-3px); border-color: oklch(70% 0.05 130); }
.geo-model-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.geo-model-img img { width: 100%; height: 100%; object-fit: cover; }
.geo-model-body {
  padding: clamp(22px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.geo-model-body h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.geo-model-body .geo-model-surface {
  font-size: .95rem;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.geo-model-body p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 20px;
}
.geo-model-body a {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid oklch(85% 0.04 155);
  align-self: flex-start;
  padding-bottom: 2px;
  transition: border-color .18s;
}
.geo-model-body a:hover { border-bottom-color: var(--forest); }

/* --- Processus local --- */
.geo-process {
  padding-block: clamp(64px, 9vw, 110px);
  background: var(--cream-deep);
}
.geo-process-head { max-width: 780px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 5vw, 56px); }
.geo-process-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.geo-process-steps {
  display: grid;
  gap: clamp(20px, 2.4vw, 28px);
  max-width: 900px;
  margin-inline: auto;
}
.geo-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(24px, 3vw, 36px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.geo-step-num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--forest);
  line-height: 1;
  min-width: 60px;
}
.geo-step h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 10px;
}
.geo-step p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .geo-step { grid-template-columns: 1fr; gap: 10px; }
  .geo-step-num { font-size: 2.4rem; min-width: 0; }
}

/* --- Encadré réglementation --- */
.geo-legal {
  padding-block: clamp(56px, 8vw, 88px);
  background: var(--paper);
}
.geo-legal-card {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(30px, 4vw, 48px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.geo-legal-card .geo-legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 18px;
}
.geo-legal-card .geo-legal-kicker svg { width: 18px; height: 18px; }
.geo-legal-card h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.geo-legal-card p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.geo-legal-card p strong { color: var(--ink); font-weight: 600; }
.geo-legal-card a {
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid oklch(85% 0.04 155);
  font-weight: 500;
}

/* --- FAQ locale --- */
.geo-faq {
  padding-block: clamp(64px, 9vw, 110px);
  background: var(--cream-deep);
}
.geo-faq-inner { max-width: 900px; margin-inline: auto; }
.geo-faq h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: clamp(32px, 4vw, 44px);
  text-align: center;
}
.geo-faq details {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  padding: 0 clamp(22px, 3vw, 32px);
}
.geo-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.4;
  color: var(--ink);
  position: relative;
}
.geo-faq summary::-webkit-details-marker { display: none; }
.geo-faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 22px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--bark);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  line-height: 1;
}
.geo-faq details[open] summary::after { transform: rotate(45deg); }
.geo-faq .geo-faq-a {
  padding: 2px 0 22px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 68ch;
}
