:root {
  --blue: #28b1d3;
  --green: #90df19;
  --ink: #153d45;
  --muted: #52686c;
  --pale: #f1f8f7;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.65 Arial, Helvetica, sans-serif;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #137b97;
  outline-offset: 5px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Barre supérieure et navigation */

.topbar {
  background: var(--ink);
  color: white;
  padding: 8px 6%;
  font-size: 11px;
  letter-spacing: 1.5px;
}

.topbar span {
  float: right;
  letter-spacing: 0.3px;
}

header {
  padding: 16px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #e8efed;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand img {
  width: 112px;
  height: 78px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
}

nav > a:hover,
.textlink:hover {
  color: #087c98;
}

/* Boutons et liens */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--green);
  color: #173b20;
  border-radius: 7px;
  font-size: 14px;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  background: #a6ed40;
}

.small {
  padding: 12px 18px;
}

.textlink {
  font-size: 14px;
}

/* Titres et textes */

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #18778a;
  margin: 0 0 20px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(40px, 4.5vw, 70px);
  line-height: 1.08;
  letter-spacing: -2.6px;
  margin-bottom: 26px;
  font-weight: 500;
}

h1 em,
h2 em {
  color: #168ba5;
  font-style: normal;
  display: block;
}

h2 {
  font-weight: 500;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
}

h3 {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
}

.lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
}

p {
  color: var(--muted);
}

/* Bloc principal */

.hero {
  padding: 70px 6% 65px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4%;
  max-width: 1600px;
  margin: auto;
}

.actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 32px;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  display: inline-block;
  border-radius: 50%;
  margin-right: 8px;
}

.hero-image {
  position: relative;
  padding: 0 0 50px 0;
}

.hero-image > img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: 70% center;
  border-radius: 80px 8px 8px 8px;
}

.image-label {
  position: absolute;
  bottom: 12px;
  right: 22px;
  background: #fff;
  padding: 20px 28px;
  box-shadow: 0 8px 40px #163d4515;
  border-left: 4px solid var(--green);
  font-size: 21px;
}

.image-label span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Bandeau */

.strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #deebe8;
  border-bottom: 1px solid #deebe8;
  padding: 23px 8%;
  font-size: 13px;
  letter-spacing: 0.6px;
}

/* Sections */

.section {
  padding: 85px 6%;
  max-width: 1600px;
  margin: auto;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading > p {
  max-width: 340px;
}

.pale {
  background: var(--pale);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
}

.narrow {
  max-width: 940px;
}

.narrow h1 {
  font-size: 54px;
}

/* Cartes */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: white;
  border: 1px solid #e3ece9;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px #153d4510;
}

.card img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

.card > div {
  padding: 22px;
}

.card h3 {
  font-size: 20px;
  min-height: 50px;
  margin-bottom: 15px;
}

.card span {
  font-size: 12px;
  color: #19788c;
}

/* Étapes */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #dbe8e4;
  padding: 0 0 20px;
  margin-bottom: 24px;
}

.steps li > span {
  font-size: 14px;
  color: #19859c;
}

.steps h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.steps p {
  font-size: 14px;
  margin: 0;
}

/* Villes */

.towns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 35px;
}

.towns > a {
  padding: 38px;
  background: #f1f8f7;
  border-radius: 10px;
  position: relative;
  border-top: 3px solid var(--blue);
}

.towns > a:nth-child(2) {
  border-top-color: var(--green);
}

.towns h3 {
  font-size: 43px;
  margin: 12px 0;
}

.towns span {
  font-size: 12px;
  color: #1c7587;
}

/* Questions fréquentes */

details {
  border-bottom: 1px solid #dfe9e6;
  padding: 20px 0;
}

summary {
  cursor: pointer;
  font-size: 18px;
}

details p {
  margin: 18px 0 4px;
}

/* Appel à l’action */

.cta {
  margin: 20px 6% 85px;
  padding: 50px;
  background: var(--green);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  gap: 30px;
}

.cta p,
.cta .eyebrow {
  color: #245027;
}

.cta h2 {
  margin-bottom: 12px;
}

.dark {
  background: var(--ink);
  color: #fff;
  white-space: nowrap;
}

.dark:hover {
  background: #25616b;
}

/* Pied de page */

footer {
  background: #143c44;
  color: white;
  padding: 58px 6% 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
}

footer img {
  background: #fff;
  border-radius: 7px;
  padding: 10px;
  width: 110px;
}

footer p {
  color: #bed2d4;
  font-size: 13px;
  margin-top: 22px;
}

footer h3 {
  font-size: 15px;
  margin-bottom: 22px;
}

footer a {
  display: block;
  color: #c5d8d9;
  font-size: 13px;
  margin: 9px 0;
}

footer a:hover {
  color: var(--green);
}

.copyright {
  grid-column: 1/-1;
  border-top: 1px solid #36565d;
  padding-top: 22px;
  width: 100%;
  margin: 0;
}

/* Pages de services */

.service-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6%;
}

.service-hero h1 {
  font-size: 46px;
}

.service-hero img {
  border-radius: 12px;
  width: 100%;
}

.service-hero .lead {
  font-size: 24px;
}

.checks {
  list-style: none;
  padding: 0;
}

.checks li {
  padding: 18px 0 18px 30px;
  border-bottom: 1px solid #d9e6e1;
  position: relative;
}

.checks li:before {
  content: '✓';
  color: #238b53;
  position: absolute;
  left: 0;
}

/* Pages locales */

.town-hero {
  max-width: 1000px;
  text-align: center;
}

.town-hero .lead {
  margin: 0 auto 22px;
}

/* Contact et mentions légales */

.contact-note {
  padding: 30px;
  background: var(--pale);
  margin-top: 40px;
  border-radius: 10px;
}

.contact-note h2 {
  font-size: 28px;
}

.legal h2 {
  font-size: 25px;
  margin-top: 36px;
}

.legal a {
  text-decoration: underline;
}

.notice {
  background: #f1f8f7;
  padding: 20px;
  border-left: 3px solid var(--blue);
}

/* Lien d’évitement */

.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  background: white;
  padding: 15px;
  z-index: 20;
}

.skip:focus {
  top: 5px;
}

/* Tablettes : écrans de 900 px maximum */

@media (max-width: 900px) {
  nav {
    gap: 15px;
  }

  nav > a:nth-child(2),
  nav > a:nth-child(3) {
    display: none;
  }

  .hero,
  .service-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 45px;
  }

  .hero-image > img {
    height: auto;
    aspect-ratio: 16/10;
  }

  .hero {
    padding-bottom: 30px;
  }

  h1 {
    font-size: 54px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    display: block;
  }

  .split {
    gap: 7%;
  }

  .section {
    padding: 60px 6%;
  }

  .cta {
    padding: 32px;
    margin-bottom: 55px;
  }

  .service-hero img {
    max-width: 700px;
  }
}

/* Mobiles : écrans de 600 px maximum */

@media (max-width: 600px) {
  .topbar span {
    display: none;
  }

  header {
    padding: 12px 5%;
  }

  .brand img {
    width: 86px;
    height: 63px;
  }

  nav > a:first-child {
    display: none;
  }

  .small {
    padding: 10px 12px;
    font-size: 12px;
  }

  .hero {
    padding: 38px 5% 20px;
  }

  h1,
  .narrow h1 {
    font-size: 44px;
    letter-spacing: -1.8px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-image > img {
    border-top-left-radius: 45px;
  }

  .image-label {
    padding: 15px 20px;
    font-size: 18px;
    right: 10px;
  }

  .strip {
    font-size: 10px;
    gap: 15px;
    padding: 18px 5%;
    align-items: center;
  }

  .section {
    padding: 50px 5%;
  }

  .cards,
  .split,
  .towns {
    grid-template-columns: 1fr;
  }

  .cards {
    gap: 22px;
  }

  .card h3 {
    min-height: 0;
  }

  .section-heading {
    margin-bottom: 25px;
  }

  .split {
    gap: 35px;
  }

  .cta {
    display: block;
    margin: 10px 5% 50px;
    padding: 30px 24px;
  }

  .cta .btn {
    margin-top: 15px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 5% 24px;
  }

  footer > div:first-child {
    grid-column: 1/-1;
  }

  .service-hero h1 {
    font-size: 38px;
  }

  .actions {
    gap: 20px;
  }

  .town-hero {
    text-align: left;
  }

  .town-hero .lead {
    margin-left: 0;
  }

  .eyebrow {
    font-size: 10px;
  }

  h2 {
    font-size: 33px;
  }
}

/* Accessibilité : réduction des animations */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* Ajustements finaux de l’image principale */

.hero-image > img {
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  border-radius: 12px;
}

.hero-image {
  padding-bottom: 45px;
}

/* Réduire l’espace au-dessus du bloc de présentation */
.service-hero {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* Services à la personne */
.sap-banner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px clamp(22px,6vw,90px);background:#eef8dc;color:#082e49}.sap-banner strong{font-size:clamp(1.2rem,2.3vw,1.7rem);line-height:1.3}.sap-banner p{margin:8px 0}.sap-banner small{display:block;max-width:760px;line-height:1.5}.sap-banner .btn{flex-shrink:0}header nav{flex-wrap:wrap}@media(max-width:850px){.sap-banner{display:block}.sap-banner .btn{display:inline-block;margin-top:20px}header nav{gap:12px}}

/* Extension locale SEO — réutilise les couleurs et la typographie du site. */
.seo-breadcrumb{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px;padding:25px 6%;font-size:12px;color:var(--muted)}.seo-breadcrumb a{text-decoration:underline;text-underline-offset:3px}.seo-hero{padding-bottom:50px}.seo-hero h1{font-size:clamp(36px,4.5vw,64px);overflow-wrap:break-word}.seo-hero .lead{font-size:21px}.seo-small{font-size:12px;margin:15px 0 0}.seo-visual{position:relative;padding-bottom:30px}.seo-visual img{aspect-ratio:16/9;object-fit:cover}.seo-visual-label{position:relative;margin:-24px 18px 0;padding:22px;background:white;border-left:4px solid var(--green);border-radius:6px;box-shadow:0 12px 34px #153d4510}.seo-visual-label span{display:block;font-size:12px;color:var(--muted);margin-top:4px}.seo-task-grid,.seo-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.seo-task-grid article{border:1px solid #dce9e5;border-radius:12px;padding:28px;background:white}.seo-task-grid h3{min-height:54px}.seo-num{font-size:12px;color:#18778a;display:block;margin-bottom:22px}.seo-scope{padding:20px;border-left:3px solid var(--blue);background:var(--pale);font-size:14px}.seo-check-card{background:white;border-radius:12px;border-top:3px solid var(--green);padding:32px;align-self:start}.seo-town-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-top:28px}.seo-town{display:flex;flex-direction:column;gap:9px;background:white;border:1px solid #dce9e5;border-top:3px solid var(--blue);padding:23px 19px;border-radius:9px;transition:transform .2s,box-shadow .2s;min-width:0}.seo-town:nth-child(even){border-top-color:var(--green)}.seo-town span{font-size:12px;color:var(--muted)}.seo-town strong{font-size:19px;line-height:1.3;font-weight:500}.seo-town:hover{transform:translateY(-3px);box-shadow:0 12px 28px #153d4512}.seo-related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.seo-home-directory .seo-related{grid-template-columns:repeat(3,minmax(0,1fr))}.seo-source{font-size:11px;margin-top:32px}.seo-source a{text-decoration:underline}.seo-service{border:1px solid #dce9e5;background:white;border-radius:12px;overflow:hidden;transition:transform .2s}.seo-service:hover{transform:translateY(-4px)}.seo-service img{width:100%;aspect-ratio:16/9;object-fit:cover}.seo-service>div{padding:24px}.seo-service h3{font-size:21px}.seo-service p{font-size:14px}.seo-service span{font-size:12px;color:#18778a}.seo-call{display:block;font-size:13px;margin-top:15px;text-decoration:underline}.seo-footer-map{grid-column:1/-1;border-top:1px solid #36565d;padding-top:18px;margin-top:0}.seo-mobile-cta{display:none}.seo-directory:target{scroll-margin-top:130px}.seo-directory .actions{margin-top:28px}.cta .btn{max-width:100%;text-align:center}.seo-mobile-cta .btn{width:100%;font-weight:600}.seo-hero .btn,.seo-check-card .btn{font-weight:600}
@media(min-width:1500px){.seo-town-grid{gap:20px}}
@media(max-width:1100px){.seo-town-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.seo-task-grid,.seo-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-task-grid article:last-child{grid-column:1/-1}.seo-hero{padding-top:22px!important}}
@media(max-width:600px){.seo-town-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.seo-task-grid,.seo-service-grid,.seo-related,.seo-home-directory .seo-related{grid-template-columns:1fr}.seo-town{padding:20px 15px}.seo-town strong{font-size:18px}.seo-task-grid h3{min-height:0}.seo-hero .lead{font-size:18px}.seo-hero{gap:25px}.seo-hero .actions{gap:16px}.seo-check-card{padding:25px}.seo-breadcrumb{font-size:11px;padding:20px 5%;gap:7px}.seo-mobile-cta{display:block;position:fixed;bottom:0;left:0;right:0;z-index:12;background:#fffffff5;border-top:1px solid #dce9e5;padding:10px 5% calc(10px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #153d4510}body:has(.seo-mobile-cta){padding-bottom:84px}body:has(.seo-mobile-cta) a:focus-visible{scroll-margin-bottom:100px}.seo-visual-label{margin:-15px 10px 0;padding:18px}.seo-task-grid article{padding:25px}.seo-hero h1{font-size:38px}.strip{flex-wrap:wrap;justify-content:flex-start}.seo-directory .actions .btn{width:100%}.cta .btn{white-space:normal}}

.seo-hero .btn,.seo-check-card .btn,.seo-mobile-cta .btn,.cta .btn,.seo-directory .btn{gap:8px}
