/* =========================================================
   STAR Assurances – Agence Marwen Jerbi
   Design system & styles
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --accent: #00873E;
  --accent-dark: #006A30;
  --accent-light: #5FD08A;
  --deep: #0A2E22;
  --deep-2: #134231;
  --deep-soft: #3D5A4D;
  --ink: #0F1A15;
  --muted: #59675F;
  --line: #E0E7E2;
  --grey: #F2F6F3;
  --white: #FFFFFF;
  --wa: #1FAF5B;

  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(88px, 11vw, 160px);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -30px rgba(10,46,34, .35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, blockquote, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--deep); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--grey { background: var(--grey); }
.section--deep { background: var(--deep); color: #fff; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--deep-soft);
  margin-bottom: 28px;
}
.eyebrow--light { color: rgba(255,255,255,.78); }
.eyebrow__dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.eyebrow__num {
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0; color: var(--accent);
  padding-right: 12px; border-right: 1px solid currentColor; border-color: var(--line);
}
.section--deep .eyebrow__num { border-color: rgba(255,255,255,.2); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--deep);
}
.section-title em, .hero__title em { font-style: italic; color: var(--accent); }
.section--deep .section-title { color: #fff; }

.section-head {
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px;
  margin-bottom: clamp(56px, 7vw, 96px);
}
.section-intro { color: var(--muted); font-size: 18px; max-width: 420px; justify-self: end; }
.section-head--light .section-intro { color: rgba(255,255,255,.7); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--deep); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 28px;
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  overflow: hidden; isolation: isolate;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { --bg: var(--accent); }
.btn--accent:hover { --bg: var(--accent-dark); }
.btn--deep:hover { --bg: var(--deep-2); }
.btn--ghost-light { --bg: transparent; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--deep); border-color: #fff; }
.btn--whatsapp { --bg: var(--wa); width: 100%; }
.btn--whatsapp svg { fill: currentColor; stroke: none; width: 22px; height: 22px; }
.btn--whatsapp:hover { --bg: #189a4f; }
.btn--whatsapp:hover svg { transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--deep);
  padding-bottom: 4px;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat,
              linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  background-size: 0 1px, 100% 1px;
  transition: background-size .45s var(--ease), color .3s;
}
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--accent); background-size: 100% 1px, 100% 1px; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--sm { font-size: 14px; margin-top: 10px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--accent); border-radius: var(--radius);
}
.brand__mark svg { width: 22px; height: 22px; fill: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 600; font-size: 20px; letter-spacing: .16em; color: var(--deep); }
.brand__sub { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: rgba(255,255,255,.6); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 88px; transition: height .4s var(--ease); }
.header .brand__name { color: #fff; }
.header .brand__sub { color: rgba(255,255,255,.7); }
.header.is-scrolled { background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .header__inner { height: 72px; }
.header.is-scrolled .brand__name { color: var(--deep); }
.header.is-scrolled .brand__sub { color: var(--muted); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 32px; }
.nav__link { position: relative; font-size: 15px; color: rgba(255,255,255,.88); padding: 6px 0; transition: color .3s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover { color: #fff; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #fff; font-weight: 500; }
.nav__phone svg { width: 16px; height: 16px; fill: var(--accent); }
.header.is-scrolled .nav__link { color: var(--ink); }
.header.is-scrolled .nav__link:hover { color: var(--accent); }
.header.is-scrolled .nav__phone { color: var(--deep); }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease), background .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.header.is-scrolled .burger span, .header.menu-open .burger span { background: var(--deep); }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero (cinematic, centered editorial) ---------- */
.hero {
  --cream: #F2EBDD;
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--deep); color: var(--cream); overflow: hidden;
  text-align: center;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.08); animation: heroZoom 2.8s var(--ease) forwards; }
.hero__media::before { /* cinematic vignette */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(6,31,23,.55) 0%, rgba(6,31,23,.2) 60%, transparent 100%),
    linear-gradient(180deg, rgba(6,31,23,.75) 0%, rgba(6,31,23,.35) 30%, rgba(6,31,23,.45) 65%, rgba(6,31,23,.95) 100%);
}
.hero__media::after { /* film grain-like fine lines */
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.015) 0 1px, transparent 1px 3px);
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__center {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 130px; padding-bottom: 40px;
}
.hero__ornament { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.hero__ornament-line { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, rgba(242,235,221,.6)); }
.hero__ornament-line:last-child { transform: scaleX(-1); }
.hero__ornament-star {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(242,235,221,.45);
  display: grid; place-items: center;
}
.hero__ornament-star svg { width: 16px; height: 16px; fill: var(--accent-light); }
.hero__kicker {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: rgba(242,235,221,.75);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.hero__kicker span { color: var(--accent-light); margin: 0 .4em; }

.hero__title {
  font-family: "Bodoni Moda", var(--font-display); font-weight: 400;
  display: flex; flex-direction: column; align-items: center;
  line-height: .9; margin-bottom: clamp(24px, 3vw, 36px);
}
.hero__caps {
  font-size: clamp(30px, 5.4vw, 84px); letter-spacing: .14em; text-transform: uppercase;
  font-variation-settings: "opsz" 96;
}
.hero__script {
  font-family: "Bodoni Moda", var(--font-display); font-style: italic;
  font-size: clamp(64px, 12.5vw, 196px); letter-spacing: -.02em; line-height: .95;
  color: var(--cream);
  margin: -.08em 0 -.04em;
  background: linear-gradient(100deg, #F2EBDD 20%, #BFE9CF 50%, #F2EBDD 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding: 0 .1em .08em;
}
.hero__caps--sub { font-size: clamp(18px, 2.4vw, 34px); letter-spacing: .42em; margin-top: .3em; color: rgba(242,235,221,.9); padding-left: .42em; }

.hero__lead { font-size: clamp(16px, 1.3vw, 19px); color: rgba(242,235,221,.78); max-width: 460px; margin: 0 auto clamp(32px, 4vw, 44px); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Pill buttons */
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  height: 58px; padding: 0 10px 0 28px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.pill--light { background: var(--cream, #F2EBDD); color: var(--deep); }
.pill--light:hover { background: #fff; transform: translateY(-2px); }
.pill__icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; transition: transform .45s var(--ease);
}
.pill__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pill:hover .pill__icon { transform: rotate(45deg); }
.pill--ghost { padding: 0 28px; color: var(--cream, #F2EBDD); border-color: rgba(242,235,221,.38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(242,235,221,.04); }
.pill--ghost:hover { border-color: var(--cream, #F2EBDD); background: rgba(242,235,221,.1); }

/* Bottom meta row */
.hero__meta {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end;
  padding-bottom: 28px; text-align: left;
}
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-item--right { text-align: right; align-items: flex-end; }
.hero__meta-label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(242,235,221,.55); }
.hero__meta-value { font-family: "Bodoni Moda", var(--font-display); font-size: 20px; color: var(--cream); transition: color .3s; }
.hero__meta-item:hover .hero__meta-value { color: var(--accent-light); }
.hero__scroll { width: 26px; height: 42px; border: 1px solid rgba(242,235,221,.45); border-radius: 13px; position: relative; justify-self: center; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; border-radius: 1px; background: var(--cream); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.hero__strip { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.14); background: rgba(10,46,34,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__strip-inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 22px; font-size: 14px; color: rgba(255,255,255,.75); letter-spacing: .02em; }
.hero__strip-inner span { display: inline-flex; align-items: center; gap: 10px; }
.hero__strip-inner span::before { content: ""; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }

/* ---------- Solutions (editorial index) ---------- */
.solutions__layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.solutions__visual { position: sticky; top: 112px; }
.solutions__frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--grey);
}
.solutions__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.solutions__frame img.is-active { opacity: 1; transform: scale(1); }
.solutions__frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--accent); z-index: 2; }
.solutions__caption { display: flex; align-items: center; gap: 16px; margin-top: 20px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.solutions__caption-num { font-family: var(--font-display); font-size: 28px; color: var(--deep); letter-spacing: 0; }
.solutions__caption-line { flex: 1; height: 1px; background: var(--line); }

.solutions__list { border-top: 1px solid var(--line); counter-reset: s; }
.solution {
  position: relative; border-bottom: 1px solid var(--line);
  padding: 28px 0; cursor: default;
  transition: padding .5s var(--ease);
}
.solution::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--deep);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.solution.is-active::before { transform: scaleX(1); }
.solution__thumb { display: none; }
.solution__head { display: flex; align-items: baseline; gap: 24px; }
.solution__num { font-family: var(--font-display); font-size: 18px; color: var(--muted); min-width: 28px; transition: color .4s; }
.solution__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; color: var(--deep);
  transition: color .4s, transform .5s var(--ease);
}
.solution__brand { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent); vertical-align: middle; margin-left: 8px; padding: 4px 8px; border: 1px solid rgba(0,135,62,.3); border-radius: 2px; transform: translateY(-4px); }
.solution__body {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  padding-left: 52px;
  transition: grid-template-rows .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease);
}
.solution__body > * { min-height: 0; overflow: hidden; }
.solution__body { grid-template-rows: 0fr 0fr; }
.solution__body p { color: var(--muted); max-width: 520px; }
.solution.is-active .solution__body { grid-template-rows: 1fr 1fr; opacity: 1; margin-top: 14px; }
.solution.is-active .solution__body .link-arrow { margin-top: 18px; }
.solution.is-active .solution__num { color: var(--accent); }
.solution:not(.is-active):hover .solution__title { transform: translateX(6px); }

/* ---------- Agency ---------- */
.agency__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.agency__media { position: relative; }
.agency__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.agency__badge {
  position: absolute; right: -28px; bottom: 48px;
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; background: var(--deep); color: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.75);
}
.agency__badge strong { color: #fff; font-weight: 600; font-size: 15px; }
.agency__badge svg { width: 30px; height: 30px; fill: var(--accent); flex: none; }
.agency__lead { font-size: 19px; color: var(--muted); margin: 32px 0 40px; max-width: 540px; }

.pillars { border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.pillar:hover { padding-left: 8px; }
.pillar__k { font-weight: 600; color: var(--deep); font-size: 16px; display: flex; align-items: center; gap: 12px; }
.pillar__k::before { content: ""; width: 14px; height: 1px; background: var(--accent); flex: none; }
.pillar__v { color: var(--muted); font-size: 15px; }

.team { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-top: clamp(72px, 9vw, 120px); }
.person {
  display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: center;
  background: #fff; padding: 36px; border-radius: var(--radius); border: 1px solid var(--line);
}
.person__portrait {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, var(--deep-2), var(--deep));
  display: grid; place-items: center; position: relative;
}
.person__portrait::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 2px; }
.person__portrait span { font-family: var(--font-display); font-size: 64px; color: #fff; font-style: italic; }
.person__portrait img { width: 100%; height: 100%; object-fit: cover; }
.person__role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.person__name { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--deep); margin-bottom: 16px; }
.person__quote { color: var(--muted); font-size: 16px; }
.team__note { background: var(--deep); color: rgba(255,255,255,.75); padding: 36px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; }
.team__title { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: #fff; line-height: 1.1; }
.team__note .link-arrow { color: #fff; margin-top: auto; align-self: flex-start; }
.team__note .link-arrow:hover { color: #fff; }

/* ---------- Why ---------- */
.why { position: relative; overflow: hidden; }
.why::before { /* large discreet star watermark */
  content: ""; position: absolute; right: -8%; top: -10%; width: 620px; height: 620px; opacity: .04;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M16 2.5l3.9 8.6 9.4 1-7 6.4 2 9.2L16 22.9l-8.3 4.8 2-9.2-7-6.4 9.4-1z'/%3E%3C/svg%3E");
  pointer-events: none;
}
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); position: relative; }
.why__item { padding: 40px 32px 8px 0; position: relative; }
.why__item + .why__item { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.16); }
.why__item::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .7s var(--ease);
}
.why__item:hover::before { width: 100%; }
.why__num { display: block; font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--accent); margin-bottom: 32px; font-style: italic; }
.why__item h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.15; margin-bottom: 14px; color: #fff; }
.why__item p { color: rgba(255,255,255,.66); font-size: 15px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.coords { border-top: 1px solid var(--line); margin-bottom: 28px; }
.coords__row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.coords dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.coords dd { color: var(--deep); font-size: 16px; }
.coords dd > a:not(.link-arrow) { transition: color .3s; word-break: break-word; }
.coords dd > a:not(.link-arrow):hover { color: var(--accent); }
.coords dd > a[href^="tel"] { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.social { display: inline-flex; align-items: center; gap: 10px; }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.map { margin-top: 28px; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--grey); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter .6s var(--ease); }
.map:hover iframe { filter: none; }

.form {
  position: relative; background: var(--grey); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}
.form__title { font-family: var(--font-display); font-weight: 400; font-size: 36px; color: var(--deep); line-height: 1.1; }
.form__hint { color: var(--muted); font-size: 15px; margin: 10px 0 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--deep); margin-bottom: 8px; letter-spacing: .01em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA2B1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C9CED8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 3px rgba(10,46,34,.08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--accent); }
.field__error { font-size: 13px; color: var(--accent); min-height: 0; margin-top: 6px; }
.field__error:empty { display: none; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--deep); border-bottom: 1.5px solid var(--deep); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.select select:invalid { color: #9AA2B1; }

.form__submit { margin-top: 8px; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.form.is-loading .spinner { display: inline-block; }
.form.is-loading .form__submit { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__legal { font-size: 12px; color: var(--muted); margin-top: 14px; }
.form__legal a { text-decoration: underline; text-underline-offset: 2px; }

.form__success {
  position: absolute; inset: 0; z-index: 2; background: var(--grey); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px;
  padding: clamp(28px, 4vw, 48px);
  animation: fadeUp .6s var(--ease);
}
.form__success[hidden] { display: none; }
.form__success h3 { font-family: var(--font-display); font-weight: 400; font-size: 36px; color: var(--deep); line-height: 1.1; }
.form__success p { color: var(--muted); max-width: 420px; }
.form__actions { display: grid; gap: 10px; width: 100%; max-width: 360px; margin: 6px 0 4px; }
.form__success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--deep); display: grid; place-items: center; }
.form__success-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.footer { background: #061F17; color: rgba(255,255,255,.65); padding-top: 88px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 48px; padding-bottom: 64px; }
.footer__brand p { margin-top: 24px; max-width: 360px; }
.footer__col h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 20px; }
.footer__col li + li { margin-top: 10px; }
.footer__col a { transition: color .3s; word-break: break-word; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-block: 28px; font-size: 13px; }
.footer__bottom a:hover { color: #fff; }


/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__phone { display: none; }
  .hero__strip-inner span:nth-child(4) { display: none; }
  .pillar { grid-template-columns: 1fr; gap: 4px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: #fff; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 40px; padding: 100px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .header.menu-open .nav { opacity: 1; visibility: visible; }
  .header.menu-open .brand__name { color: var(--deep); }
  .header.menu-open .brand__sub { color: var(--muted); }
  .header .brand { position: relative; z-index: 2; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { font-family: var(--font-display); font-size: 44px; color: var(--deep); line-height: 1.2; }
  .nav__phone { display: inline-flex; color: var(--deep); font-size: 18px; }
  .nav__cta { height: 56px; padding: 0 28px; font-size: 15px; }

  .hero__center { padding-top: 120px; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
  .hero__meta-value { font-size: 17px; }
  .hero__strip-inner { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .hero__strip-inner span { white-space: nowrap; }

  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-intro { justify-self: start; }

  .solutions__layout { grid-template-columns: 1fr; }
  .solutions__visual { display: none; }
  .solution { padding: 24px 0 28px; }
  .solution__thumb {
    display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px;
  }
  .solution__body, .solution.is-active .solution__body { grid-template-rows: 1fr 1fr; opacity: 1; margin-top: 12px; padding-left: 0; }
  .solution__body .link-arrow { margin-top: 16px; }
  .solution__head { gap: 14px; }

  .agency__grid { grid-template-columns: 1fr; }
  .agency__media img { aspect-ratio: 4 / 3; }
  .agency__badge { right: 16px; bottom: 16px; }
  .team { grid-template-columns: 1fr; }

  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .why__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }

  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero__actions { flex-direction: column; width: 100%; max-width: 340px; }
  .pill { justify-content: space-between; }
  .pill--ghost { justify-content: center; }
  .hero__kicker { letter-spacing: .2em; font-size: 11px; }
  .hero__kicker span { display: block; height: 0; overflow: hidden; }
  .hero__caps--sub { letter-spacing: .28em; padding-left: .28em; }
  .person { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .person__portrait { width: 120px; }
  .person__portrait span { font-size: 44px; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item + .why__item { padding: 32px 0 16px; border-left: 0; }
  .why__item + .why__item { border-top: 1px solid rgba(255,255,255,.16); }
  .why__num { font-size: 48px; margin-bottom: 18px; }
  .coords__row { grid-template-columns: 1fr; gap: 6px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .solution__brand { margin: 8px 0 0; display: table; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Green palette: accents on dark backgrounds ---------- */
.section--deep .section-title em { color: var(--accent-light); }
.why__num { color: var(--accent-light); }
.agency__badge svg { fill: var(--accent-light); }
.nav__phone svg { fill: var(--accent-light); }
.header.is-scrolled .nav__phone svg { fill: var(--accent); }
.person__portrait img { position: absolute; inset: 0; z-index: 1; }


/* ---------- Real agency photos ---------- */
.person__portrait img { object-position: center 12%; }
.agency__media img { object-position: 60% center; }

.awards { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 24px; }
.awards__media { border-radius: var(--radius); overflow: hidden; background: #111; }
.awards__media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.awards__media:hover img { transform: scale(1.03); }
.awards__title { color: var(--deep); font-size: clamp(30px, 3vw, 42px); margin-bottom: 16px; }
.awards__title em { font-style: italic; color: var(--accent); }
.awards__text p:last-child { color: var(--muted); }

.facade { margin: 28px 0 0; }
.facade img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.facade figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.facade figcaption::before { content: ""; width: 14px; height: 1px; background: var(--accent); flex: none; }

@media (max-width: 900px) {
  .awards { grid-template-columns: 1fr; }
}

/* ---------- Extra contact details & Google rating ---------- */
.coords__more { font-size: 14px; color: var(--muted); margin-top: 8px; }
.coords__more a { color: var(--deep); transition: color .3s; white-space: nowrap; }
.coords__more a:hover, .coords__mail:hover { color: var(--accent); }
.coords__mail { display: inline-block; margin-top: 8px; font-size: 15px; word-break: break-word; transition: color .3s; }

.rating { display: inline-flex; align-items: center; gap: 10px; color: var(--deep); }
.rating__score { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.rating__stars { color: #E8B33A; letter-spacing: 2px; font-size: 15px; }
.rating__count { font-size: 14px; color: var(--muted); transition: color .3s; }
.rating:hover .rating__count { color: var(--accent); }
.rating--block { margin: -16px 0 36px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }

.footer__place { display: block; color: #fff; font-weight: 500; font-size: 13px; letter-spacing: .06em; margin-bottom: 2px; }

/* Solution illustrations on mobile: taller crop centred on the drawing */
@media (max-width: 900px) {
  .solution__thumb { aspect-ratio: 4 / 3; object-position: center; }
}

/* ---------- Two agency maps (tabs) ---------- */
.maps { margin-top: 28px; }
.maps__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--grey); border-radius: 999px; margin-bottom: 12px; }
.maps__tab {
  display: flex; flex-direction: column; align-items: center; line-height: 1.2;
  padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--deep);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.maps__tab span { font-size: 12px; font-weight: 400; color: var(--muted); transition: color .35s; }
.maps__tab:hover { background: rgba(0,135,62,.08); }
.maps__tab.is-active { background: var(--deep); color: #fff; }
.maps__tab.is-active span { color: rgba(255,255,255,.7); }
.maps .map { margin-top: 0; }
.maps .map[hidden] { display: none; }
.maps__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 4px; }
.facade figcaption { display: block; }
.facade figcaption::before { display: inline-block; vertical-align: middle; margin-right: 10px; }

/* =========================================================
   Quick contact: "Appelez-nous" + WhatsApp
   ========================================================= */
.quick {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.show-wa .quick { opacity: 1; transform: none; pointer-events: auto; }
.quick__btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 22px 0 18px; border-radius: 999px;
  color: #fff; font-weight: 500; font-size: 15px;
  box-shadow: 0 14px 30px -12px rgba(6,31,23,.55);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.quick__btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.quick__btn--call { background: var(--deep); }
.quick__btn--wa { background: var(--wa); }
@media (hover: hover) {
  .quick__btn:hover { transform: translateY(-3px); }
  .quick__btn--call:hover { background: var(--accent); }
  .quick__btn--wa:hover { background: #128C4A; }
}
.quick__btn--call:active { background: var(--accent); transform: scale(.96); }
.quick__btn--wa:active { background: #128C4A; transform: scale(.96); }

@media (max-width: 900px) {
  /* Mobile: always-visible bottom bar with two big buttons */
  .quick {
    left: 0; right: 0; bottom: 0; flex-direction: row; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    opacity: 1; transform: none; pointer-events: auto;
  }
  .quick__btn { flex: 1; justify-content: center; height: 50px; padding: 0 12px; box-shadow: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .hero__meta { display: none; }
  .hero__center { padding-bottom: 64px; }
}

/* =========================================================
   Photos react to hover (desktop) and touch (mobile)
   ========================================================= */
.solution__thumb, .solutions__frame, .agency__media img, .awards__media,
.facade img, .person__portrait {
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), filter .45s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .solution__thumb:hover, .agency__media img:hover, .facade img:hover, .person__portrait:hover {
    transform: translateY(-6px); box-shadow: 0 28px 50px -24px rgba(6,31,23,.55); filter: saturate(1.12) brightness(1.04);
  }
  .solutions__frame:hover { box-shadow: 0 28px 50px -24px rgba(6,31,23,.55); }
  .solutions__frame:hover img.is-active { transform: scale(1.04); }
}
.is-pressed {
  transform: scale(.97) !important;
  filter: saturate(1.15) brightness(1.06);
  box-shadow: 0 0 0 3px var(--accent), 0 18px 36px -18px rgba(6,31,23,.5) !important;
}

/* =========================================================
   Buttons change colour on hover / tap
   ========================================================= */
.btn, .pill, .maps__tab { -webkit-tap-highlight-color: transparent; }
.btn:active, .pill:active, .maps__tab:active { transform: scale(.96); }

.btn--accent:active { --bg: var(--deep); }
.btn--deep:active { --bg: var(--accent); }
.pill--light:active { background: var(--accent); color: #fff; }
.pill--light:active .pill__icon { background: var(--cream, #F2EBDD); color: var(--deep); }
.pill--ghost:active { background: var(--cream, #F2EBDD); color: var(--deep); border-color: var(--cream, #F2EBDD); }
.btn--whatsapp:active { --bg: #128C4A; }

@media (hover: hover) {
  .btn--accent:hover { --bg: var(--deep); }
  .btn--deep:hover { --bg: var(--accent); }
  .pill--light:hover { background: var(--accent); color: #fff; }
  .pill--light:hover .pill__icon { background: var(--cream, #F2EBDD); color: var(--deep); }
  .pill--ghost:hover { background: var(--cream, #F2EBDD); color: var(--deep); border-color: var(--cream, #F2EBDD); }
  .btn--whatsapp:hover { --bg: #128C4A; }
}
.hero .pill--light:active .pill__icon, .hero .pill--light:hover .pill__icon { color: var(--deep); }
