/* IB Agence : vitrine. Thème clair premium, zéro dépendance. */

@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/fraunces-600-italic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #f7f3ec;
  --bg-soft: #efe8db;
  --surface: #ffffff;
  --ink: #1c2230;
  --ink-soft: #39404f;
  --muted: #6b6354;
  --line: #e3dccd;
  --accent: #a06a1f;
  --accent-bright: #e8b05c;
  --accent-deep: #c98e35;
  --dark: #171b23;
  --dark-text: #ece9e1;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --wrap: 1160px;
  --radius: 18px;
  --shadow: 0 10px 35px rgba(28, 34, 48, .08);
  --shadow-soft: 0 4px 18px rgba(28, 34, 48, .06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.22rem; }
h1 em { font-style: italic; color: var(--accent); }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #8d5d1b; margin-bottom: 14px;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; }
.section-sub { color: var(--muted); margin-top: 10px; max-width: 60ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  color: #221703; box-shadow: 0 6px 20px rgba(201, 142, 53, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201, 142, 53, .45); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent-deep); color: var(--accent); }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-big { padding: 17px 34px; font-size: 1.08rem; }
.btn:active { transform: translateY(1px) scale(.985); box-shadow: var(--shadow-soft); }
a, button { -webkit-tap-highlight-color: rgba(201, 142, 53, .15); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(247, 243, 236, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { height: 40px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--ink-soft); transition: color .15s ease; }
.nav a:hover { color: var(--accent); }
.nav .btn { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 12px 10px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.header-cta { display: none; }
.lang-switch { font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.lang-switch:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 158px 0 80px; position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 82% 8%, rgba(232, 176, 92, .22), transparent 65%),
    radial-gradient(520px 380px at 6% 92%, rgba(201, 142, 53, .12), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero-copy .lead { margin: 22px 0 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); aspect-ratio: 11 / 10;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.chip {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px; font-size: .85rem; font-weight: 600;
  box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 8px;
}
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-deep); }
.chip-a { top: 16px; left: -18px; }
.chip-b { bottom: 14px; right: -12px; }

/* ---------- Bande repères ---------- */
.band { background: var(--dark); color: var(--dark-text); padding: 34px 0; }
.band-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--accent-bright); }
.stat span { font-size: .9rem; opacity: .78; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; scroll-margin-top: 80px; }
.section-tight { padding: 70px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { margin-bottom: 48px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin: 16px 0 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card p.o-prix { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--ink); line-height: 1; margin-top: 4px; }
.card p.o-prix small { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--muted); }
.card-star { border: 2px solid var(--accent-deep); box-shadow: var(--shadow); }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(232, 176, 92, .22), rgba(201, 142, 53, .14));
  color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }

/* ---------- Méthode ---------- */
.methode-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: center; }
.methode-photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); aspect-ratio: 4 / 5;
}
.methode-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; display: grid; gap: 26px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep)); color: #221703;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .96rem; }
.includes {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 54px;
}
.includes li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  display: flex; align-items: center; gap: 9px;
}
.includes li::before { content: ''; flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--accent-deep); }

/* ---------- Réalisations ---------- */
.realisation { text-decoration: none; display: block; }
.realisation .shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease;
  aspect-ratio: 16 / 11; background: var(--bg-soft);
}
.realisation .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.realisation:hover .shot { transform: translateY(-5px); box-shadow: var(--shadow); }
.realisation:active .shot { transform: scale(.985); }
.realisation figcaption { margin-top: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.realisation .r-nom { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.realisation .r-voir { font-size: .88rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.realisations-note { margin-top: 26px; color: var(--muted); font-size: .9rem; }

/* ---------- Offres ---------- */
.offres-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.offre {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; display: flex; flex-direction: column;
}
.offre-star { border: 2px solid var(--accent-deep); box-shadow: var(--shadow); position: relative; }
.offre-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep)); color: #221703;
  font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.offre h3 { font-size: 1.3rem; }
.offre .o-cible { color: var(--muted); font-size: .92rem; margin: 6px 0 22px; }
.o-prix { font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; line-height: 1; }
.o-prix small { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--muted); }
.o-prix-sub { color: var(--accent); font-weight: 700; font-size: 1rem; margin-top: 6px; }
.o-liste { list-style: none; margin: 24px 0 30px; display: grid; gap: 11px; flex: 1; }
.o-liste li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-soft); }
.o-liste li::before {
  content: ''; flex: 0 0 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background-color: rgba(232, 176, 92, .2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a06a1f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
  border: 1px solid rgba(201, 142, 53, .45);
}
.offre .btn { width: 100%; }
.offres-note { margin-top: 30px; color: var(--muted); font-size: .92rem; max-width: 70ch; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 22px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 1.02rem; padding: 18px 0;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:active { color: var(--accent); }
.faq summary::after { content: '+'; font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; font-size: .97rem; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact .wrap-narrow { background: var(--dark); color: var(--dark-text); border-radius: var(--radius); padding: 56px 28px; }
.contact h2 { margin-bottom: 14px; }
.contact .lead { margin: 0 auto 32px; color: rgba(236, 233, 225, .85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-text); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 14px; font-size: .9rem; opacity: .85; }
.footer-logo { height: 34px; width: auto; }
.site-footer .btn-ghost { border: 0; background: none; color: var(--dark-text); font-size: .8rem; font-weight: 400; opacity: .5; padding: 8px; }
.site-footer .btn-ghost:hover { opacity: 1; color: var(--accent-bright); }

/* ---------- Reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .realisation .shot { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .methode-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .offres-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .includes { grid-template-columns: 1fr 1fr; }
  .band-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 108px 0 56px; }
  .hero-inner { gap: 28px; }
  .hero-copy .lead { margin: 16px 0 22px; }
  .grid-3, .grid-4, .offres-grid { grid-template-columns: 1fr; }
  .grid-4 { gap: 14px; }
  .offre-star { order: -1; }
  .cta-row .btn { width: 100%; }
  .offres-note .btn { width: 100%; }
  .chip-a { left: 8px; } .chip-b { right: 8px; }
  .header-cta { display: inline-flex; margin-left: auto; margin-right: 4px; }
  .card { padding: 22px 20px; }
  .card h3 { margin: 8px 0 10px; }
  .card-icon { width: 40px; height: 40px; float: left; margin-right: 14px; }
  .contact .wrap-narrow { padding: 44px 22px; margin: 0 4px; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 18px 24px 24px; gap: 4px;
    box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; font-size: 1.05rem; }
  .nav .btn { margin-top: 10px; justify-content: center; }
  .nav-toggle { display: block; }
  .footer-inner { flex-direction: column; text-align: center; }
}
