/* =========================================================
   Studio Plein Cadre — feuille de style
   Charte : Bleu nuit / Terracotta / Crème · Fraunces + Inter
   ========================================================= */

:root {
  /* Palette charte */
  --bleu-nuit: #1B2A4A;
  --terracotta: #E26D5A;
  --terracotta-fonce: #C9543F;
  --creme: #F7F3EC;
  --creme-clair: #FBF9F4;
  --ardoise: #5A6472;
  --encre: #14181F;
  --blanc: #FFFFFF;

  --font-titre: 'Fraunces', Georgia, serif;
  --font-texte: 'Inter', system-ui, -apple-system, sans-serif;

  --maxw: 1140px;
  --maxw-narrow: 760px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 48px rgba(27, 42, 74, 0.10);
  --shadow-sm: 0 6px 20px rgba(27, 42, 74, 0.08);
  --space: clamp(64px, 9vw, 120px);
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 17px;
  line-height: 1.65;
  color: var(--encre);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta-fonce); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-titre); color: var(--bleu-nuit); line-height: 1.12; margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--maxw-narrow); }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--bleu-nuit); color: var(--creme); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Sur-titre / labels ---------- */
.surtitre {
  font-family: var(--font-texte);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-fonce);
  margin: 0 0 14px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-texte); font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn.full { width: 100%; }

.btn-primary { background: var(--bleu-nuit); color: var(--creme); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #16223c; color: var(--creme); }

.btn-accent { background: var(--terracotta); color: var(--bleu-nuit); }
.btn-accent:hover { background: var(--terracotta-fonce); color: var(--blanc); }

.btn-ghost { background: transparent; color: var(--bleu-nuit); border-color: rgba(27,42,74,.25); }
.btn-ghost:hover { border-color: var(--bleu-nuit); color: var(--bleu-nuit); background: rgba(27,42,74,.04); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 236, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(27,42,74,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.logo img { width: 190px; height: auto; }
.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-list a { color: var(--bleu-nuit); font-weight: 500; font-size: 15.5px; }
.nav-list a:hover { color: var(--terracotta-fonce); text-decoration: none; }
.nav-list .btn { color: var(--creme); }
.nav-list .btn:hover { color: var(--creme); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 8px; cursor: pointer;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--bleu-nuit); border-radius: 2px; transition: .25s; }

/* ---------- Coins viseur (motif récurrent) ---------- */
.coin {
  position: absolute; width: 22px; height: 22px;
  border: 3px solid var(--terracotta); pointer-events: none;
}
.coin.small { width: 16px; height: 16px; border-width: 2.5px; }
.coin-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
.coin-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; }
.coin-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; }
.coin-br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 66px); font-weight: 600; letter-spacing: -0.01em;
  margin: 8px 0 22px;
}
.accent-word { color: var(--terracotta); }
.hero-lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ardoise); max-width: 30em; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-baseline {
  font-family: var(--font-titre); font-style: italic; font-weight: 500;
  color: var(--bleu-nuit); font-size: 19px; margin: 0;
}

/* Visuel viseur du hero */
.hero-visual { display: flex; justify-content: center; }
.viseur {
  position: relative; width: min(360px, 80vw); aspect-ratio: 1; border-radius: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(226,109,90,.10), transparent 60%),
    var(--creme-clair);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.viseur .coin { width: 44px; height: 44px; border-width: 5px; }
.viseur .coin-tl, .viseur .coin-tr, .viseur .coin-bl, .viseur .coin-br { margin: 26px; }
.viseur-content { text-align: center; display: grid; gap: 16px; justify-items: center; }
.viseur .point {
  width: 56px; height: 56px; border-radius: 50%; background: var(--terracotta);
  box-shadow: 0 0 0 12px rgba(226,109,90,.16);
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 12px rgba(226,109,90,.16); }
  50% { box-shadow: 0 0 0 20px rgba(226,109,90,.07); }
}
.viseur-label {
  font-family: var(--font-titre); font-weight: 500; color: var(--bleu-nuit);
  font-size: 18px; margin: 0;
}

/* ---------- Bandeau confiance ---------- */
.trust { background: var(--bleu-nuit); color: var(--creme); padding: 26px 0; }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 32px; }
.trust-intro { margin: 0; font-weight: 500; opacity: .85; }
.trust-list { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.trust-list li {
  font-family: var(--font-titre); font-weight: 500; font-size: 18px; position: relative; padding-left: 22px;
}
.trust-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta);
}

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section-alt { background: var(--creme-clair); }
.section-titre { font-size: clamp(30px, 4vw, 42px); font-weight: 600; }
.section-intro { color: var(--ardoise); font-size: 19px; max-width: 40em; margin: 18px auto 0; }
.center.section-intro { margin-left: auto; margin-right: auto; }
.surtitre.center { text-align: center; }

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; }
.card {
  background: var(--blanc); border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(27,42,74,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.card p { color: var(--ardoise); margin: 0; }
.card-icon { position: relative; width: 48px; height: 48px; margin-bottom: 22px; }

/* ---------- Étapes (méthode) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 52px; counter-reset: none; }
.step {
  background: var(--blanc); border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(27,42,74,.06); position: relative;
}
.step-num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--bleu-nuit); color: var(--creme); font-family: var(--font-titre);
  font-weight: 600; font-size: 20px; margin-bottom: 18px;
}
.step h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--ardoise); margin: 0; }

/* ---------- Forfaits ---------- */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan-name { font-size: 28px; font-weight: 600; }
.plan-tag { color: var(--terracotta-fonce); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 6px 0 16px; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; }
.price-amount { font-family: var(--font-titre); font-weight: 600; font-size: 40px; line-height: 1; color: var(--bleu-nuit); }
.price-from { font-size: 13px; font-weight: 500; color: var(--ardoise); text-transform: uppercase; letter-spacing: .06em; }
.plan-monthly { font-size: 16px; color: var(--ardoise); margin: 0 0 6px; }
.plan-monthly strong { color: var(--terracotta-fonce); font-weight: 700; }
.plan-format { font-weight: 600; color: var(--bleu-nuit); margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(27,42,74,.08); }
.plan-block-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ardoise); margin: 0 0 14px; }
.plan-sub {
  background: var(--creme); border-radius: var(--radius-sm); padding: 20px 22px;
  margin: 0 0 26px; border: 1px solid rgba(27,42,74,.08);
}
.plan-sub .plan-block-title { color: var(--terracotta-fonce); }
.plan-features.sub { margin-bottom: 0; gap: 10px; }
.plan-features.sub li { font-size: 15px; }
.plan-features { display: grid; gap: 12px; margin-bottom: 28px; }
.plan-features li { position: relative; padding-left: 28px; color: var(--encre); }
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
  border: 3px solid var(--terracotta); border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }
.plan.featured { border-color: var(--bleu-nuit); box-shadow: var(--shadow); }
.plan.featured { outline: 2px solid var(--bleu-nuit); outline-offset: -2px; }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--terracotta); color: var(--bleu-nuit); font-weight: 600; font-size: 13px;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.plans-note { color: var(--ardoise); margin-top: 36px; }

/* ---------- Réalisations ---------- */
.work-grid { grid-template-columns: repeat(3, 1fr); }
.work {
  background: var(--blanc); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(27,42,74,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work-media {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 50% 40%, rgba(226,109,90,.08), transparent 65%),
    var(--creme-clair);
  overflow: hidden;
}
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.work-media .coin { width: 26px; height: 26px; margin: 18px; z-index: 2; }
.work-placeholder {
  font-family: var(--font-titre); font-weight: 500; font-size: 17px; color: var(--ardoise);
}
.work-body { padding: 28px 30px; }
.work-body h3 { font-size: 23px; font-weight: 600; margin: 0; }
.work-sector {
  color: var(--terracotta-fonce); font-weight: 600; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; margin: 8px 0 12px;
}
.work-body p { color: var(--ardoise); margin: 0; }
.work-link { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--bleu-nuit); }
.work-link:hover { color: var(--terracotta-fonce); text-decoration: none; }

/* Carte invitation */
.work-invite {
  position: relative; background: var(--bleu-nuit); color: var(--creme);
  display: grid; place-items: center; text-align: center; padding: 40px 32px;
}
.work-invite .coin { margin: 18px; }
.work-invite-body { display: grid; gap: 14px; justify-items: center; }
.work-invite h3 { color: var(--creme); font-size: 23px; font-weight: 600; margin: 0; }
.work-invite p { color: rgba(247,243,236,.82); margin: 0; }
.work-invite .btn { margin-top: 6px; }

/* ---------- Section sombre (pourquoi) ---------- */
.section-dark { background: var(--bleu-nuit); color: var(--creme); }
.section-dark .section-titre { color: var(--creme); }
.section-dark .surtitre { color: var(--terracotta); }
.section-dark p { color: rgba(247,243,236,.82); }
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.why-text .btn { margin-top: 26px; }
.why-stats { display: grid; gap: 18px; }
.why-stats li {
  background: rgba(247,243,236,.06); border: 1px solid rgba(247,243,236,.12);
  border-radius: var(--radius-sm); padding: 22px 26px;
  display: flex; align-items: baseline; gap: 16px;
}
.stat-num { font-family: var(--font-titre); font-weight: 600; font-size: 30px; color: var(--terracotta); white-space: nowrap; }
.stat-label { color: rgba(247,243,236,.82); }

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; display: grid; gap: 14px; }
.faq-item {
  background: var(--blanc); border-radius: var(--radius-sm); border: 1px solid rgba(27,42,74,.08);
  padding: 4px 24px; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative;
  font-family: var(--font-titre); font-weight: 500; font-size: 20px; color: var(--bleu-nuit);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: var(--terracotta); font-family: var(--font-texte); transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--ardoise); margin: 0 0 20px; }

/* ---------- Contact / CTA ---------- */
.cta { background: var(--creme); }
.cta-card {
  position: relative; background: var(--blanc); border-radius: var(--radius);
  padding: clamp(36px, 5vw, 64px); box-shadow: var(--shadow); border: 1px solid rgba(27,42,74,.06);
}
.cta-card > .coin { width: 30px; height: 30px; margin: 22px; }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 38px; text-align: left;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; color: var(--bleu-nuit); }
.field input, .field textarea {
  font-family: var(--font-texte); font-size: 16px; color: var(--encre);
  padding: 13px 16px; border: 1.5px solid rgba(27,42,74,.16); border-radius: var(--radius-sm);
  background: var(--creme-clair); transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(226,109,90,.18);
}
.form-note { font-size: 14px; color: var(--ardoise); text-align: center; margin: 14px 0 0; }

/* Champ piège anti-spam (invisible) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Message de confirmation d'envoi */
#form-success { display: none; margin-top: 38px; padding: 22px 24px; text-align: center;
  background: var(--creme-clair); border: 1.5px solid var(--terracotta);
  border-radius: var(--radius-sm); color: var(--bleu-nuit); font-weight: 600; }
#form-success.is-visible { display: block; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--encre); color: var(--creme); padding: 56px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: center; }
.footer-brand img { width: 190px; }
.footer-baseline { font-family: var(--font-titre); font-style: italic; color: rgba(247,243,236,.8); margin: 14px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a { color: rgba(247,243,236,.82); font-size: 15px; }
.footer-nav a:hover { color: var(--terracotta); text-decoration: none; }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(247,243,236,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 14px; color: rgba(247,243,236,.6);
}
.footer-bottom p { margin: 0; }

/* ---------- Animations au scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .cards, .steps, .work-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--creme); border-bottom: 1px solid rgba(27,42,74,.1);
    padding: 8px 24px 20px; box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(27,42,74,.06); }
  .nav-list .btn { margin-top: 12px; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Préférence mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
