:root {
  color-scheme: light;
  --navy: #09233d;
  --blue: #006cda;
  --green: #61db76;
  --lime: #a8ef52;
  --blue-ink: #075c9c;
  --green-ink: #087557;
  --paper: #f3f7fb;
  --muted: #536b80;
  --line: #dce6ef;
  font-family: system-ui, sans-serif;
  color: var(--navy);
  background: white;
  scroll-padding-top: 1.25rem;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; padding: .8rem; background: white; z-index: 2; }

.top { background: white; border-bottom: 1px solid var(--line); box-shadow: 0 3px 18px #09233d08; }
.nav, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.nav { min-height: 86px; }
.logo { width: 214px; height: auto; display: block; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { padding-block: 1rem; text-decoration: none; font-weight: 650; font-size: .88rem; }
nav a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .4rem; }
.button {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .75rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: white;
  background: var(--blue);
  font-weight: 700;
  line-height: 1.3;
  font-size: .88rem;
  text-decoration: none;
}
.button:hover { background: var(--blue-ink); }
.button.outline { color: var(--navy); border-color: #b6c9db; background: white; }
.button.outline:hover { background: #e8f3fc; }

.hero { background: linear-gradient(135deg, #fbfdff, #edf5fb); border-bottom: 1px solid var(--line); }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 4.5rem);
  padding-block: clamp(2.75rem, 5vw, 5.25rem);
}
.eyebrow { font-size: .73rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; line-height: 1.45; }
.hero .eyebrow { display: flex; gap: .65rem; align-items: center; color: var(--muted); }
.hero .eyebrow span { width: 1.3rem; height: .2rem; background: var(--green); border-radius: 2px; }
h1 { font-size: clamp(2.45rem, 4.65vw, 4.5rem); font-weight: 800; line-height: 1.06; letter-spacing: -.05em; margin-block: .85rem 1rem; }
h1 em { color: var(--green-ink); font-style: normal; }
.intro { max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.13rem); color: var(--muted); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 25% center; border-radius: 16px; box-shadow: 0 12px 30px #09233d20; }
.hero-photo figcaption { color: var(--muted); font-size: .75rem; margin-top: .55rem; }

.services { padding-block: 2.75rem 3.2rem; }
.section-title { margin-bottom: 1.5rem; }
.section-title .eyebrow { color: var(--green-ink); margin-bottom: .5rem; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.55rem); letter-spacing: -.035em; line-height: 1.12; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
article { border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 5px 18px #09233d08; }
.services article:nth-child(even) .icon { background: #eaf7ef; color: var(--green-ink); }
.card-copy { padding: 1.25rem; }
.icon { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: 9px; background: #e7f4fc; color: #0875af; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
h3 { margin-block: .8rem .45rem; line-height: 1.25; font-size: 1.1rem; }
article p, .area p, .project p { line-height: 1.6; }
article p { font-size: .92rem; color: var(--muted); }

.area { background: linear-gradient(112deg, var(--navy) 45%, #0e4c77); color: white; border-top: 3px solid var(--lime); }
.area-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 2.2rem; }
.area .eyebrow { color: var(--green); margin-bottom: .5rem; }
.area-inner > p { max-width: 48ch; color: #dce8f4; }
.project { padding-block: 2rem; }
.project-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.1rem, 4vw, 2.65rem); }
.project-panel .eyebrow { color: var(--green-ink); margin-bottom: .5rem; }
.project-panel h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.project-panel p:not(.eyebrow) { max-width: 63ch; color: var(--muted); margin-top: .55rem; }
.project-panel .button { flex: none; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-inner { padding-block: 1rem; }
.footer-inner .logo { width: 135px; }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 48px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  :root { scroll-padding-top: 7.5rem; }
  .top { position: sticky; top: 0; z-index: 5; }
  .skip:focus { z-index: 6; }
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 .5rem; padding-block: .35rem; }
  .nav .logo { width: clamp(143px, 43vw, 188px); }
  .nav > nav:not(.languages) { grid-row: 2; grid-column: 1; justify-content: flex-start; gap: .4rem; }
  .nav > nav:not(.languages) a { display: flex; align-items: center; min-height: 44px; padding: .25rem .15rem; font-size: .76rem; line-height: 1.2; }
  .nav > nav:not(.languages) a[href="#accueil"], .nav > nav:not(.languages) a[href="index.html"] { display: none; }
  .nav-cta { grid-row: 2; grid-column: 2; justify-self: end; font-size: .78rem; min-height: 44px; padding-inline: .62rem; gap: .3rem; }
  .nav-cta span { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 1.85rem 1.4rem; gap: 1.15rem; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3.35rem); margin-block: .65rem .8rem; }
  .hero .intro { line-height: 1.55; }
  .actions { margin-top: 1.05rem; }
  .hero-photo img { aspect-ratio: 2 / 1; }
  .area-inner, .footer-inner { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .services { padding-block: 2rem 2.25rem; }
  .project { padding-block: 1.5rem; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
}

.nav-tools, .contact-links { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.nav-tools { justify-content: flex-end; }
.languages { display: flex; gap: .15rem; }
.languages a { display: grid; place-items: center; min-width: 40px; min-height: 44px; padding: .3rem; font-size: .76rem; border-radius: 7px; }
.languages a[aria-current="page"] { background: #e7f4fc; color: var(--navy); }
.project-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.2rem, 4vw, 3rem); }
.contact-links { margin-top: 1rem; }
.button.whatsapp { background: #087557; }
.button.whatsapp:hover { background: #065b43; }
.contact-copy .availability { font-size: .84rem; }
.contact-form { display: grid; gap: .8rem; min-width: 0; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.contact-form label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 650; }
.contact-form input:not([type="hidden"]), .contact-form textarea { width: 100%; font: inherit; font-size: 1rem; font-weight: 400; min-height: 46px; color: var(--navy); border: 1px solid #b6c9db; border-radius: 8px; padding: .65rem; background: white; }
.contact-form textarea { resize: vertical; }
.contact-form :is(input, textarea, button):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.contact-form button { justify-self: start; cursor: pointer; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.project-panel .contact-form p { margin: 0; font-size: .84rem; }
.project-panel .form-status:empty { display: none; }
.project-panel .form-status[data-state="success"] { color: var(--green-ink); }
.project-panel .form-status[data-state="error"] { color: #a02020; }
@media (max-width: 900px) {
  .project-panel { grid-template-columns: 1fr; }
  .nav > nav { gap: .65rem; }
}
@media (max-width: 760px) {
  .nav-tools { display: contents; }
  .nav-tools .languages { grid-row: 1; grid-column: 2; justify-self: end; }
  .contact-form button { width: 100%; }
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
  .actions, .contact-links { display: grid; grid-template-columns: 1fr; }
}
@media (max-height: 500px) and (orientation: landscape) {
  :root { scroll-padding-top: 1.25rem; }
  .top { position: static; }
}

.protection-page h1 { font-size: clamp(2rem, 4.3vw, 4rem); }
.protection-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.protection-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.protection-page .card-copy h3 { margin-top: 0; }
.protection-page .area h2 { max-width: 21ch; }
.protection-page .area-inner > p { max-width: 62ch; }
.protection-source { margin-top: 1.2rem; color: var(--muted); }
@media (max-width: 760px) {
  .protection-cases, .protection-faq { grid-template-columns: 1fr; }
}
