/* ============================================================================
 * Architekte — Feuille de style
 * ----------------------------------------------------------------------------
 * Demo de prospection dediee aux studios d'architecture (France + Suisse
 * romande), site independant de Clairbaie (nouveau projet Netlify a part).
 * Palette "ciel & terracotta" : fond bleu ciel doux, accent orange/terracotta,
 * typo Space Grotesk (titres) + Work Sans (texte), coherente avec la maquette
 * validee sur le canvas de design.
 * ==========================================================================*/
:root {
  --bg: #EAF3F7;
  --paper: #FFFFFF;
  --ink: #17262D;
  --ink2: #1E2E36;
  --muted: #5B6B72;
  --muted2: #45575E;
  --accent: #E8622C;
  --accent2: #F0895C;
  --line: rgba(23,38,45,0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Work Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.ak-link:hover { color: var(--accent); }

/* --- Nav --- */
.ak-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 64px; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.ak-nav__mark { display: flex; align-items: center; gap: 10px; }
.ak-nav__mark span { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: 0.04em; }
.ak-nav__links { display: flex; align-items: center; gap: 40px; }
.ak-nav__links a.ak-link {
  position: relative; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted2); transition: color 0.2s ease; padding-bottom: 3px;
}
.ak-nav__links a.ak-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.2,0.7,0.2,1);
}
.ak-nav__links a.ak-link:hover { color: var(--ink); }
.ak-nav__links a.ak-link:hover::after { transform: scaleX(1); transform-origin: left; }
.ak-btn {
  display: inline-block; border: none; cursor: pointer;
  background: var(--accent); color: #fff;
  font-family: "Work Sans", sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em; padding: 12px 24px; border-radius: 2px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.ak-btn:hover { background: var(--accent2); transform: translateY(-1px); }
.ak-btn--lg { font-size: 14px; padding: 15px 30px; }
.ak-btn--ghost {
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  padding: 14px 6px; font-weight: 600; font-size: 14px;
}

/* --- Hero --- */
.ak-hero { padding: 96px 64px 0; }
.ak-hero__kicker { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.ak-hero__title {
  margin: 0 0 -40px; position: relative; z-index: 2;
  display: inline-block; padding: 6px 22px; border-radius: 6px;
  background: rgba(234,243,247,0.92); backdrop-filter: blur(3px);
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: 104px; line-height: 0.92; letter-spacing: -0.02em; color: var(--ink);
}
.ak-hero__frame { max-width: 1280px; margin: 0 auto; position: relative; }
.ak-hero__frame::before {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 100%; height: 560px;
  background: var(--accent); border-radius: 4px; transform: rotate(-1.2deg); z-index: 0;
}
.ak-hero__img {
  position: relative; z-index: 1; height: 560px; border-radius: 4px; overflow: hidden;
  box-shadow: 0 40px 60px -30px rgba(23,38,45,0.4);
}
.ak-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.ak-hero__bottom {
  max-width: 1280px; margin: 40px auto 0; display: flex; align-items: flex-end;
  justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 100px;
}
.ak-hero__tagline { margin: 0; font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: 26px; color: var(--accent); }
.ak-hero__sub { margin: 10px 0 0; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.ak-hero__cta { display: flex; gap: 16px; }

/* --- Studio --- */
.ak-studio { padding: 40px 64px 110px; max-width: 1280px; margin: 0 auto; }
.ak-studio__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.ak-studio__frame { position: relative; }
.ak-studio__frame::before {
  content: ""; position: absolute; left: -18px; top: 18px; width: 100%; height: 100%;
  background: var(--accent); border-radius: 4px; transform: rotate(1deg); z-index: 0;
}
.ak-studio__img { position: relative; z-index: 1; height: 420px; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 50px -25px rgba(23,38,45,0.35); }
.ak-studio__img img { width: 100%; height: 100%; object-fit: cover; }
.ak-kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.ak-h2 { margin: 0 0 22px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 38px; color: var(--ink); }
.ak-studio p { margin: 0 0 18px; font-size: 15px; line-height: 1.8; color: var(--muted2); }

/* --- Projects --- */
.ak-work { padding: 20px 64px 110px; max-width: 1280px; margin: 0 auto; }
.ak-work__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.ak-work__head h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 42px; color: var(--ink); }
.ak-card { transition: transform 0.35s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.35s ease; cursor: default; }
.ak-card:hover { transform: perspective(1000px) rotateX(2deg) rotateY(-3deg) translateY(-8px); box-shadow: 0 30px 50px -20px rgba(23,38,45,0.35); }
.ak-feature { position: relative; height: 480px; border-radius: 3px; overflow: hidden; margin-bottom: 32px; }
.ak-feature img { width: 100%; height: 100%; object-fit: cover; }
.ak-feature__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,38,45,0.75) 0%, rgba(23,38,45,0) 45%); }
.ak-feature__caption { position: absolute; left: 32px; bottom: 28px; color: #fff; }
.ak-feature__caption p:first-child { margin: 0 0 4px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 26px; }
.ak-feature__caption p:last-child { margin: 0; font-size: 13px; color: rgba(255,255,255,0.8); }
.ak-work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.ak-work__grid .ak-card__img { height: 340px; border-radius: 3px; overflow: hidden; margin-bottom: 20px; }
.ak-work__grid .ak-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ak-work__grid p:first-of-type { margin: 0 0 4px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 19px; }
.ak-work__grid p:last-of-type { margin: 0; font-size: 13px; color: var(--muted); }

/* --- Services --- */
.ak-services { background: var(--paper); padding: 110px 64px; }
.ak-services__inner { max-width: 1280px; margin: 0 auto; }
.ak-services h2 { text-align: center; }
.ak-services .ak-kicker { text-align: center; }
.ak-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.ak-service { position: relative; padding-top: 8px; }
.ak-service__num { position: absolute; top: -34px; left: -6px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 88px; color: rgba(23,38,45,0.06); z-index: 0; }
.ak-service svg, .ak-service p { position: relative; z-index: 1; }
.ak-service svg { margin-bottom: 20px; }
.ak-service p:first-of-type { margin: 0 0 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; }
.ak-service p:last-of-type { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* --- Footer --- */
.ak-footer { background: var(--ink); color: var(--bg); padding: 90px 64px 36px; }
.ak-footer__inner { max-width: 1280px; margin: 0 auto; }
.ak-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(234,243,247,0.14); }
.ak-footer__mark { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ak-footer__mark span { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 0.04em; }
.ak-footer p { margin: 0 0 8px; font-size: 14px; }
.ak-footer__label { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(234,243,247,0.5); }
.ak-footer__social { display: flex; gap: 14px; }
.ak-footer__bottom { margin: 28px 0 0; font-size: 12px; color: rgba(234,243,247,0.45); }

/* --- Bouton flottant agent IA --- */
.ak-fab {
  position: fixed; right: 32px; bottom: 32px; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--bg); padding: 16px 22px; border: none;
  border-radius: 40px; box-shadow: 0 20px 40px -15px rgba(23,38,45,0.5);
  cursor: pointer; font-family: "Work Sans", sans-serif; font-size: 14px; font-weight: 500;
  transition: transform 0.18s ease;
}
.ak-fab:hover { transform: translateY(-2px); }
.ak-fab__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }

@media (max-width: 900px) {
  .ak-nav__links a.ak-link { display: none; }
  .ak-hero__title { font-size: 64px; margin-bottom: -32px; }
  .ak-hero, .ak-studio, .ak-work, .ak-method, .ak-faq, .ak-services, .ak-footer { padding-left: 24px; padding-right: 24px; }
  .ak-studio__grid, .ak-work__grid, .ak-services__grid, .ak-footer__grid { grid-template-columns: 1fr; }
  .ak-hero__frame::before, .ak-studio__frame::before { display: none; }
}

/* --- Apparition douce des sections au scroll --- */
.ak-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.7,0.2,1); }
.ak-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --- Zoom doux sur les photos au survol --- */
.ak-feature img, .ak-work__grid .ak-card__img img { transition: transform 0.6s cubic-bezier(0.2,0.7,0.2,1); }
.ak-feature:hover img, .ak-card:hover .ak-card__img img { transform: scale(1.06); }

/* --- Methode --- */
.ak-method { padding: 30px 64px 110px; max-width: 1280px; margin: 0 auto; }
.ak-method__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
.ak-method__step { position: relative; padding-top: 6px; border-top: 2px solid var(--accent); }
.ak-method__num { display: block; margin: 14px 0 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 15px; color: var(--accent); letter-spacing: 0.04em; }
.ak-method__title { margin: 0 0 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; color: var(--ink); }
.ak-method__text { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted2); }

/* --- FAQ --- */
.ak-faq { background: var(--paper); padding: 100px 64px; }
.ak-faq > .ak-kicker, .ak-faq > .ak-h2 { max-width: 780px; margin-left: auto; margin-right: auto; text-align: left; }
.ak-faq__list { max-width: 780px; margin: 36px auto 0; }
.ak-faq__item { border-bottom: 1px solid var(--line); }
.ak-faq__q {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 22px 0; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 17px; color: var(--ink);
}
.ak-faq__q::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--accent); transition: transform 0.25s ease; }
.ak-faq__item.is-open .ak-faq__q::after { transform: rotate(45deg); }
.ak-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.ak-faq__item.is-open .ak-faq__a { max-height: 220px; padding-bottom: 22px; }
.ak-faq__a p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--muted2); max-width: 640px; }

/* Les styles des pages internes (architekte-dossier.html, architekte-chantier.html)
 * sont dans css/interne.css depuis la refonte du 30/09/2026. */

/* ============================================================================
 * Assistant de qualification + RDV (ecran plein, une question a la fois)
 * Meme grammaire que js/qualif-vermont.js : rupture avec toute logique de
 * chat, une question par ecran, overlay plein ecran ouvert depuis le bouton
 * flottant ci-dessus.
 * ==========================================================================*/
.ak-overlay {
  position: fixed; inset: 0; z-index: 100; background: var(--ink2); color: var(--bg);
  overflow-y: auto;
}
.ak-overlay[hidden] { display: none; }
.ak-overlay__close {
  position: fixed; top: 28px; right: 36px; z-index: 110; background: none; border: none;
  color: var(--bg); font-size: 28px; line-height: 1; cursor: pointer; opacity: 0.7;
}
.ak-overlay__close:hover { opacity: 1; }
.ak-mark { position: fixed; top: 32px; left: 40px; z-index: 105; font-size: 12px; letter-spacing: 0.24em; color: var(--accent); font-weight: 600; }
.ak-progress { position: fixed; top: 34px; right: 92px; z-index: 105; display: flex; align-items: center; gap: 12px; }
.ak-progress__label { font-size: 11px; letter-spacing: 0.1em; color: rgba(234,243,247,0.6); text-transform: uppercase; white-space: nowrap; }
.ak-progress__track { width: 120px; height: 2px; background: rgba(232,98,44,0.28); border-radius: 2px; overflow: hidden; }
.ak-progress__bar { height: 100%; width: 0%; background: var(--accent); transition: width 0.4s ease; }

.ak-screen { min-height: 100vh; width: 100%; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 100px 40px 64px; gap: 26px; animation: akFade 0.4s ease; }
@keyframes akFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.ak-w-kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.14em; color: rgba(234,243,247,0.6); text-transform: uppercase; }
.ak-w-kicker--intro { font-size: 13px; letter-spacing: 0.16em; color: var(--accent); }
.ak-w-h1 { margin: 0; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 48px; line-height: 1.08; color: var(--bg); letter-spacing: -0.01em; }
.ak-w-h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 29px; color: var(--bg); }
.ak-w-sub { margin: 10px 0 0; font-size: 15px; line-height: 1.7; color: rgba(234,243,247,0.65); max-width: 460px; }

.ak-w-btn { border: none; background: var(--accent); color: #fff; font-family: "Work Sans", sans-serif; font-weight: 600; font-size: 14px; padding: 14px 28px; border-radius: 2px; cursor: pointer; transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease; }
.ak-w-btn:hover:not(:disabled) { background: var(--accent2); transform: translateY(-1px); }
.ak-w-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.ak-w-link { font-size: 13px; color: rgba(234,243,247,0.6); background: none; border: none; cursor: pointer; font-family: "Work Sans", sans-serif; padding: 0; }
.ak-w-link:hover { opacity: 0.7; }
.ak-w-link--accent { color: var(--accent); letter-spacing: 0.04em; }

.ak-w-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ak-w-cards--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; }
.ak-w-card { display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(232,98,44,0.28); background: rgba(234,243,247,0.04); border-radius: 3px; padding: 18px 16px; cursor: pointer; color: var(--bg); font-family: inherit; text-align: left; transition: border-color 0.15s ease, transform 0.15s ease; }
.ak-w-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.ak-w-card.is-on { border-color: var(--accent); background: rgba(232,98,44,0.1); }
.ak-w-card__label { font-size: 13.5px; font-weight: 500; line-height: 1.3; }

.ak-w-scale { display: flex; justify-content: space-between; position: relative; padding: 0 20px; }
.ak-w-scale::before { content: ""; position: absolute; left: 20px; right: 20px; top: 7px; height: 1px; background: rgba(232,98,44,0.28); }
.ak-w-scale__item { display: flex; flex-direction: column; align-items: center; gap: 16px; background: none; border: none; cursor: pointer; width: 33%; font-family: inherit; }
.ak-w-scale__dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--accent); background: var(--ink2); box-sizing: border-box; }
.ak-w-scale__item.is-on .ak-w-scale__dot { background: var(--accent); }
.ak-w-scale__label { font-size: 13.5px; color: rgba(234,243,247,0.6); text-align: center; line-height: 1.4; }
.ak-w-scale__item.is-on .ak-w-scale__label { color: var(--bg); }

.ak-w-field { width: 100%; max-width: 420px; background: rgba(234,243,247,0.04); border: 1px solid rgba(232,98,44,0.28); color: var(--bg); font-family: "Work Sans", sans-serif; font-size: 15px; padding: 14px 16px; border-radius: 2px; }
.ak-w-field:focus { outline: none; border-color: var(--accent); }
.ak-w-field::placeholder { color: rgba(234,243,247,0.4); }

.ak-w-drop { position: relative; display: block; width: 100%; max-width: 460px; border: 1px dashed rgba(232,98,44,0.28); border-radius: 3px; padding: 30px 20px; text-align: center; cursor: pointer; color: rgba(234,243,247,0.6); font-size: 13.5px; transition: border-color 0.15s ease, color 0.15s ease; }
.ak-w-drop:hover { border-color: var(--accent); color: var(--bg); }
.ak-w-drop__filename { color: var(--accent); font-weight: 500; margin-top: 8px; }

.ak-w-recap__line { margin: 0 0 9px; font-size: 14.5px; color: rgba(234,243,247,0.65); }
.ak-w-recap__line b { color: var(--bg); font-weight: 500; }

.ak-w-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.ak-w-nav--end { justify-content: flex-end; }
.ak-w-check { width: 42px; height: 42px; }
